iotexplorer-ui-dev-config
Advanced tools
Comparing version 1.8.0-alpha.0 to 1.8.0
@@ -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:[]}),e}; | ||
//# sourceMappingURL=initializeUIDevConfig.js.map |
@@ -10,3 +10,3 @@ export interface ProductUIDevConfig { | ||
WifiLLSyncBle: ProductUIDevWifiBleConfig; | ||
WifiQrcode: ProductUIDevWifiQrcodeConf; | ||
WiFiQRCode: ProductUIDevWiFiQRCodeConf; | ||
SubDeviceBinding: ProductUIDevSubDeviceBindingConfig; | ||
@@ -153,3 +153,3 @@ WifiConfTypeList: WifiConfType[]; | ||
} | ||
export interface ProductUIDevWifiQrcodeConf extends DeviceConfConfig { | ||
export interface ProductUIDevWiFiQRCodeConf extends DeviceConfConfig { | ||
qrcodeDisplayGuide: WifiConfigurationQrcodeDisplayGuide; | ||
@@ -156,0 +156,0 @@ } |
{ | ||
"name": "iotexplorer-ui-dev-config", | ||
"version": "1.8.0-alpha.0", | ||
"version": "1.8.0", | ||
"description": "", | ||
@@ -22,3 +22,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "3839c2912657ddc5404f57b0b90f85db231f205e" | ||
"gitHead": "2521e5f3f2e3f7882fcbd994303c325f5d28a93c" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3
31161