All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.dirigible.dev-tools.emulation.module.json Maven / Gradle / Ivy

There is a newer version: 10.6.27
Show newest version
{
    "extensions": [
        {
            "type": "@Common.AppProvider",
            "condition": "can_dock",
            "className": "Emulation.AdvancedAppProvider",
            "order": 0
        },
        {
            "type": "action",
            "category": "Mobile",
            "actionId": "emulation.toggle-device-mode",
            "toggleable": true,
            "className": "Emulation.DeviceModeWrapper.ActionDelegate",
            "condition": "can_dock",
            "title": "Toggle device toolbar",
            "iconClass": "largeicon-phone",
            "bindings": [
                {
                    "platform": "windows,linux",
                    "shortcut": "Shift+Ctrl+M"
                },
                {
                    "platform": "mac",
                    "shortcut": "Shift+Meta+M"
                }
            ]
        },
        {
            "type": "action",
            "actionId": "emulation.capture-screenshot",
            "category": "Screenshot",
            "className": "Emulation.DeviceModeWrapper.ActionDelegate",
            "title": "Capture screenshot"
        },
        {
            "type": "context-menu-item",
            "location": "deviceModeMenu/save",
            "order": 12,
            "actionId": "emulation.capture-screenshot"
        },
        {
            "type": "@UI.ToolbarItem.Provider",
            "actionId": "emulation.toggle-device-mode",
            "condition": "can_dock",
            "location": "main-toolbar-left",
            "order": 1
        },
        {
            "type": "action",
            "actionId": "emulation.capture-full-height-screenshot",
            "category": "Screenshot",
            "className": "Emulation.DeviceModeWrapper.ActionDelegate",
            "title": "Capture full size screenshot"
        },
        {
            "type": "action",
            "actionId": "emulation.capture-node-screenshot",
            "category": "Screenshot",
            "className": "Emulation.DeviceModeWrapper.ActionDelegate",
            "title": "Capture node screenshot"
        },
        {
            "type": "context-menu-item",
            "location": "deviceModeMenu/save",
            "order": 13,
            "actionId": "emulation.capture-full-height-screenshot"
        },
        {
            "type": "setting",
            "category": "Mobile",
            "settingName": "showMediaQueryInspector",
            "settingType": "boolean",
            "defaultValue": false,
            "options": [
                {
                    "value": true,
                    "title": "Show media queries"
                },
                {
                    "value": false,
                    "title": "Hide media queries"
                }
            ],
            "tags": "device"
        },
        {
            "type": "setting",
            "category": "Mobile",
            "settingName": "emulation.showRulers",
            "settingType": "boolean",
            "defaultValue": false,
            "options": [
                {
                    "value": true,
                    "title": "Show rulers"
                },
                {
                    "value": false,
                    "title": "Hide rulers"
                }
            ],
            "tags": "device"
        },
        {
            "type": "setting",
            "category": "Mobile",
            "settingName": "emulation.showDeviceOutline",
            "settingType": "boolean",
            "defaultValue": false,
            "options": [
                {
                    "value": true,
                    "title": "Show device frame"
                },
                {
                    "value": false,
                    "title": "Hide device frame"
                }
            ],
            "tags": "device"
        },
        {
            "type": "view",
            "location": "settings-view",
            "id": "devices",
            "title": "Devices",
            "order": 30,
            "className": "Emulation.DevicesSettingsTab",
            "settings": [
                "standardEmulatedDeviceList",
                "customEmulatedDeviceList"
            ]
        },
        {
            "type": "action",
            "actionId": "emulation.show-sensors",
            "category": "Sensors",
            "title": "Sensors",
            "className": "Emulation.SensorsView.ShowActionDelegate"
        },
        {
            "type": "view",
            "location": "drawer-view",
            "id": "sensors",
            "title": "Sensors",
            "persistence": "closeable",
            "order": 100,
            "className": "Emulation.SensorsView",
            "tags": "geolocation, timezones, locale, locales, accelerometer, device orientation"
        },
        {
            "type": "setting",
            "settingName": "emulation.locations",
            "settingType": "array",
            "defaultValue": [
                {"title": "Berlin", "lat": 52.520007, "long": 13.404954, "timezoneId": "Europe/Berlin", "locale": "de_DE"},
                {"title": "London", "lat": 51.507351, "long": -0.127758, "timezoneId": "Europe/London", "locale": "en_GB"},
                {"title": "Moscow", "lat": 55.755826, "long": 37.617300, "timezoneId": "Europe/Moscow", "locale": "ru_RU"},
                {"title": "Mountain View", "lat": 37.386052, "long": -122.083851, "timezoneId": "US/Pacific", "locale": "en_US"},
                {"title": "Mumbai", "lat": 19.075984, "long": 72.877656, "timezoneId": "Asia/Kolkata", "locale": "mr_IN"},
                {"title": "San Francisco", "lat": 37.774929, "long": -122.419416, "timezoneId": "US/Pacific", "locale": "en_US"},
                {"title": "Shanghai", "lat": 31.230416, "long": 121.473701, "timezoneId": "Asia/Shanghai", "locale": "zh_Hans_CN"},
                {"title": "São Paulo", "lat": -23.550520, "long": -46.633309, "timezoneId": "America/Sao_Paulo", "locale": "pt_BR"},
                {"title": "Tokyo", "lat": 35.689487, "long": 139.691706, "timezoneId": "Asia/Tokyo", "locale": "ja_JP"}
          ]
      },
      {
            "type": "view",
            "location": "settings-view",
            "id": "emulation-locations",
            "title": "Locations",
            "order": 40,
            "className": "Emulation.LocationsSettingsTab",
            "settings": [
                "emulation.locations"
            ]
        }
    ],
    "dependencies": [
        "bindings",
        "components",
        "platform",
        "ui",
        "mobile_throttling"
    ],
    "scripts": [],
    "modules": [
        "emulation.js",
        "emulation-legacy.js",
        "AdvancedApp.js",
        "DeviceModeModel.js",
        "DeviceModeToolbar.js",
        "DeviceModeView.js",
        "DeviceModeWrapper.js",
        "DevicesSettingsTab.js",
        "EmulatedDevices.js",
        "InspectedPagePlaceholder.js",
        "LocationsSettingsTab.js",
        "MediaQueryInspector.js",
        "SensorsView.js"
    ],
    "resources": [
        "deviceModeToolbar.css",
        "deviceModeView.css",
        "devicesSettingsTab.css",
        "inspectedPagePlaceholder.css",
        "locationsSettingsTab.css",
        "mediaQueryInspector.css",
        "sensors.css"
    ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy