Socket
Socket
Sign inDemoInstall

iotexplorer-ui-dev-config

Package Overview
Dependencies
Maintainers
4
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iotexplorer-ui-dev-config - npm Package Compare versions

Comparing version 1.8.6 to 1.8.8

2

lib/initializeUIDevConfig.js

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initializeUIDevConfig=void 0;var tslib_1=require("tslib"),UiDevTypes_1=require("./UiDevTypes"),defaultConfigs_1=require("./defaultConfigs"),utils_1=require("./utils");exports.initializeUIDevConfig=function(i){void 0===i&&(i={});var e=tslib_1.__assign({},i);return e.Panel||(e.Panel={}),e.Panel.type||(e.Panel.type=UiDevTypes_1.PanelType.standard),"h5"===e.Panel.type&&(e.Panel.h5&&(!e.Panel.h5||e.Panel.h5.url||e.Panel.h5.release)||(e.Panel.type=UiDevTypes_1.PanelType.standard)),"free"!==e.Panel.type||e.Panel.free||(e.Panel.free={}),"standard"!==e.Panel.type||e.Panel.standard||(e.Panel.standard={theme:"standard",properties:[],bgImgId:"Default",navBar:{visible:!1},timingProject:!1}),e.Global||(e.Global={customizeControl:!1}),e.WifiSoftAP=utils_1.fillWithDefaults(e.WifiSoftAP,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.SoftAp,connectApGuide:defaultConfigs_1.DEFAULT_CONNECT_AP_GUIDE}),e.WifiSmartConfig=utils_1.fillWithDefaults(e.WifiSmartConfig,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.SmartConfig}),e.WifiSimpleConfig=utils_1.fillWithDefaults(e.WifiSimpleConfig,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.SimpleConfig}),e.WifiAirkiss=utils_1.fillWithDefaults(e.WifiAirkiss,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.AirKiss}),e.WifiBle=utils_1.fillWithDefaults(e.WifiBle,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.BleCombo}),e.SubDeviceBinding=utils_1.fillWithDefaults(e.SubDeviceBinding,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.SubDeviceBinding}),e.WifiLLSyncBle=utils_1.fillWithDefaults(e.WifiLLSyncBle,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.BleComboLLSync}),e.WiFiQRCode=utils_1.fillWithDefaults(e.WiFiQRCode,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.Qrcode,qrcodeDisplayGuide:defaultConfigs_1.DEFAULT_QRCODE_DISPLAY_GUIDE}),e.BleConfig||(e.BleConfig={}),e.BleConfig.protocolType||(e.BleConfig.protocolType=UiDevTypes_1.BleProtocolType.standard),!e.BleConfig.hardwareGuide&&e.BleConfig.bindingBootConfig&&(e.BleConfig.hardwareGuide=defaultConfigs_1.bindingBootConfig2BleHardwareGuideConfig(e.BleConfig.bindingBootConfig)),e.BleConfig.hardwareGuide=utils_1.fillWithDefaults(e.BleConfig.hardwareGuide,defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.LLSync),e.BleConfig.bindingBootConfig=utils_1.fillWithDefaults(e.BleConfig.bindingBootConfig,defaultConfigs_1.bleHardwareGuideConfig2BindingBootConfig(e.BleConfig.hardwareGuide)),e.CellularConfig=utils_1.fillWithDefaults(e.CellularConfig,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.CellularConfig}),Array.isArray(e.WifiConfTypeList)||(e.WifiConfTypeList=[UiDevTypes_1.WifiConfType.SmartConfig,UiDevTypes_1.WifiConfType.SoftAp,UiDevTypes_1.WifiConfType.AirKiss]),e.ShortCut||(e.ShortCut={powerSwitch:"",shortcut:[]}),e.AppAutomation||(e.AppAutomation={conditions:[],actions:[]}),e};
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initializeUIDevConfig=void 0;var tslib_1=require("tslib"),UiDevTypes_1=require("./UiDevTypes"),defaultConfigs_1=require("./defaultConfigs"),utils_1=require("./utils");exports.initializeUIDevConfig=function(i){void 0===i&&(i={});var e=tslib_1.__assign({},i);return e.Panel||(e.Panel={}),e.Panel.type||(e.Panel.type=UiDevTypes_1.PanelType.standard),"h5"===e.Panel.type&&(e.Panel.h5&&(!e.Panel.h5||e.Panel.h5.url||e.Panel.h5.release)||(e.Panel.type=UiDevTypes_1.PanelType.standard)),"free"!==e.Panel.type||e.Panel.free||(e.Panel.free={}),"standard"!==e.Panel.type||e.Panel.standard||(e.Panel.standard={theme:"standard",properties:[],bgImgId:"Default",navBar:{visible:!1},timingProject:!1}),e.Global||(e.Global={customizeControl:!1}),e.WifiSoftAP=utils_1.fillWithDefaults(e.WifiSoftAP,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.SoftAp,connectApGuide:defaultConfigs_1.DEFAULT_CONNECT_AP_GUIDE}),e.WifiSmartConfig=utils_1.fillWithDefaults(e.WifiSmartConfig,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.SmartConfig}),e.WifiSimpleConfig=utils_1.fillWithDefaults(e.WifiSimpleConfig,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.SimpleConfig}),e.WifiAirkiss=utils_1.fillWithDefaults(e.WifiAirkiss,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.AirKiss}),e.WifiBle=utils_1.fillWithDefaults(e.WifiBle,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.BleCombo}),e.SubDeviceBinding=utils_1.fillWithDefaults(e.SubDeviceBinding,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.SubDeviceBinding}),e.WifiLLSyncBle=utils_1.fillWithDefaults(e.WifiLLSyncBle,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.BleComboLLSync}),e.WiFiQRCode=utils_1.fillWithDefaults(e.WiFiQRCode,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.Qrcode,qrcodeDisplayGuide:defaultConfigs_1.DEFAULT_QRCODE_DISPLAY_GUIDE}),e.BleConfig||(e.BleConfig={}),e.BleConfig.protocolType||(e.BleConfig.protocolType=UiDevTypes_1.BleProtocolType.standard),!e.BleConfig.hardwareGuide&&e.BleConfig.bindingBootConfig&&(e.BleConfig.hardwareGuide=defaultConfigs_1.bindingBootConfig2BleHardwareGuideConfig(e.BleConfig.bindingBootConfig)),e.BleConfig.hardwareGuide=utils_1.fillWithDefaults(e.BleConfig.hardwareGuide,defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.LLSync),e.BleConfig.bindingBootConfig=utils_1.fillWithDefaults(e.BleConfig.bindingBootConfig,defaultConfigs_1.bleHardwareGuideConfig2BindingBootConfig(e.BleConfig.hardwareGuide)),e.CellularConfig=utils_1.fillWithDefaults(e.CellularConfig,{hardwareGuide:defaultConfigs_1.DEFAULT_HARDWARE_GUIDE.CellularConfig}),Array.isArray(e.WifiConfTypeList)||(e.WifiConfTypeList=[UiDevTypes_1.WifiConfType.SmartConfig,UiDevTypes_1.WifiConfType.SoftAp,UiDevTypes_1.WifiConfType.AirKiss]),e.ShortCut||(e.ShortCut={powerSwitch:"",shortcut:[]}),e.AppAutomation||(e.AppAutomation={conditions:[],actions:[],conditionsStructMap:{},actionsStructMap:{}}),e};
//# sourceMappingURL=initializeUIDevConfig.js.map

@@ -119,4 +119,6 @@ export interface ProductUIDevConfig {

export interface ProductUIDevAppAutomationConfig {
conditions: [];
actions: [];
conditions: string[];
actions: string[];
actionsStructMap: Record<string, string[]>;
conditionsStructMap: Record<string, string[]>;
}

@@ -123,0 +125,0 @@ export interface FreePanelConfig {

{
"name": "iotexplorer-ui-dev-config",
"version": "1.8.6",
"version": "1.8.8",
"description": "",

@@ -22,3 +22,3 @@ "main": "lib/index.js",

},
"gitHead": "4284f470b86457ab13a09b59ee682c7d33b43baa"
"gitHead": "0a942a41d7af740506ec232e56904d3e91481641"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc