iotexplorer-ui-dev-config
Advanced tools
Comparing version 1.7.11 to 1.7.12
@@ -59,3 +59,3 @@ import { BindingBootConfigConfig, BleHardwareGuideConfig } from './UiDevTypes'; | ||
LLSync: { | ||
confirmRequired: number; | ||
confirmRequired: 0; | ||
message: string; | ||
@@ -62,0 +62,0 @@ userConfirmText: string; |
@@ -23,2 +23,4 @@ export interface ProductUIDevConfig { | ||
IconUrlGrid?: string; | ||
ManufacturerName?: string; | ||
ProductModel?: string; | ||
ProductDisplayName?: string; | ||
@@ -55,2 +57,12 @@ IconUrlAdvertise?: string; | ||
} | ||
export declare enum StandardPanelWidgetType { | ||
BoolNormal = "bool-normal", | ||
BoolSmall = "bool-small", | ||
NumBtn = "num-btn", | ||
NumSlider = "num-slider", | ||
EnumBtn = "enum-btn", | ||
EnumSlider = "enum-slider", | ||
EnumPopup = "enum-popup", | ||
EnumTitle = "enum-title" | ||
} | ||
export declare enum StandardPanelPropertyBtnType { | ||
@@ -61,6 +73,9 @@ BtnBig = "btn-big", | ||
BtnCol3 = "btn-col-3", | ||
BtnSwitch = "btn-switch", | ||
BtnGroup = "btn-group" | ||
} | ||
export declare type TemplateDataType = 'bool' | 'int' | 'string' | 'float' | 'enum' | 'stringenum' | 'timestamp' | 'struct' | 'array'; | ||
export interface StandardPanelPropertyConfig { | ||
id: string; | ||
dataType?: TemplateDataType; | ||
ui: StandardPanelPropertyUIConfig; | ||
@@ -71,2 +86,4 @@ } | ||
icon?: string; | ||
enumIcons?: Record<string, string>; | ||
visible?: boolean; | ||
} | ||
@@ -96,3 +113,5 @@ export interface StandardPanelNavBarConfig { | ||
powerSwitch: string; | ||
powerSwitchIcon?: string; | ||
shortcut: StandardPanelPropertyConfig[]; | ||
showStatus?: any[]; | ||
} | ||
@@ -169,3 +188,3 @@ export interface ProductUIDevAppAutomationConfig { | ||
export interface BleHardwareGuideConfig extends DeviceConfigurationHardwareGuideConfig { | ||
confirmRequired: number; | ||
confirmRequired: 0 | 1; | ||
userConfirmText: string; | ||
@@ -172,0 +191,0 @@ failText: string; |
@@ -1,2 +0,2 @@ | ||
"use strict";var PanelType,StandardPanelPropertyBtnType,WifiConfSoftApNameType,WifiConfType,BleProtocolType;Object.defineProperty(exports,"__esModule",{value:!0}),exports.BleProtocolType=exports.WifiConfType=exports.WifiConfSoftApNameType=exports.StandardPanelPropertyBtnType=exports.PanelType=void 0,function(e){e.standard="standard",e.h5="h5",e.weapp="weapp",e.free="free",e.custom="custom"}(PanelType=exports.PanelType||(exports.PanelType={})),function(e){e.BtnBig="btn-big",e.BtnCol1="btn-col-1",e.BtnCol2="btn-col-2",e.BtnCol3="btn-col-3",e.BtnGroup="btn-group"}(StandardPanelPropertyBtnType=exports.StandardPanelPropertyBtnType||(exports.StandardPanelPropertyBtnType={})),function(e){e.Random="Random",e.FixWhole="FixWhole"}(WifiConfSoftApNameType=exports.WifiConfSoftApNameType||(exports.WifiConfSoftApNameType={})),function(e){e.SoftAp="softap",e.SmartConfig="smartconfig",e.SimpleConfig="simpleconfig",e.AirKiss="airkiss",e.BLEComboEsp="ble",e.BLEComboLLSync="llsyncble",e.DualMode="dualmode",e.SubDevice="sub_device",e.GreeSoftAp="greesoftap",e.GreeBle="greeble",e.GreeSubDevice="greesubdevice",e.GreeMatching="greematching"}(WifiConfType=exports.WifiConfType||(exports.WifiConfType={})),function(e){e.undetermined="",e.standard="standard",e.standardAdvert="standardAdvert",e.custom="custom"}(BleProtocolType=exports.BleProtocolType||(exports.BleProtocolType={})); | ||
"use strict";var PanelType,StandardPanelWidgetType,StandardPanelPropertyBtnType,WifiConfSoftApNameType,WifiConfType,BleProtocolType;Object.defineProperty(exports,"__esModule",{value:!0}),exports.BleProtocolType=exports.WifiConfType=exports.WifiConfSoftApNameType=exports.StandardPanelPropertyBtnType=exports.StandardPanelWidgetType=exports.PanelType=void 0,function(e){e.standard="standard",e.h5="h5",e.weapp="weapp",e.free="free",e.custom="custom"}(PanelType=exports.PanelType||(exports.PanelType={})),function(e){e.BoolNormal="bool-normal",e.BoolSmall="bool-small",e.NumBtn="num-btn",e.NumSlider="num-slider",e.EnumBtn="enum-btn",e.EnumSlider="enum-slider",e.EnumPopup="enum-popup",e.EnumTitle="enum-title"}(StandardPanelWidgetType=exports.StandardPanelWidgetType||(exports.StandardPanelWidgetType={})),function(e){e.BtnBig="btn-big",e.BtnCol1="btn-col-1",e.BtnCol2="btn-col-2",e.BtnCol3="btn-col-3",e.BtnSwitch="btn-switch",e.BtnGroup="btn-group"}(StandardPanelPropertyBtnType=exports.StandardPanelPropertyBtnType||(exports.StandardPanelPropertyBtnType={})),function(e){e.Random="Random",e.FixWhole="FixWhole"}(WifiConfSoftApNameType=exports.WifiConfSoftApNameType||(exports.WifiConfSoftApNameType={})),function(e){e.SoftAp="softap",e.SmartConfig="smartconfig",e.SimpleConfig="simpleconfig",e.AirKiss="airkiss",e.BLEComboEsp="ble",e.BLEComboLLSync="llsyncble",e.DualMode="dualmode",e.SubDevice="sub_device",e.GreeSoftAp="greesoftap",e.GreeBle="greeble",e.GreeSubDevice="greesubdevice",e.GreeMatching="greematching"}(WifiConfType=exports.WifiConfType||(exports.WifiConfType={})),function(e){e.undetermined="",e.standard="standard",e.standardAdvert="standardAdvert",e.custom="custom"}(BleProtocolType=exports.BleProtocolType||(exports.BleProtocolType={})); | ||
//# sourceMappingURL=UiDevTypes.js.map |
{ | ||
"name": "iotexplorer-ui-dev-config", | ||
"version": "1.7.11", | ||
"version": "1.7.12", | ||
"description": "", | ||
@@ -22,3 +22,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "d38861b70471a853178bc29822126af7a29b94a6" | ||
"gitHead": "c28162a3c5c94ddd80b55fbd846a5aae84b2ee4b" | ||
} |
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
29597
335