Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.10 to 1.8.11

3

lib/defaultConfigs.d.ts

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

import { BindingBootConfigConfig, BleHardwareGuideConfig } from './UiDevTypes';
import { BindingBootConfigConfig, BleHardwareGuideConfig, QRCodeCorrectLevel } from './UiDevTypes';
export declare const DEFAULT_PRODUCT_ICON = "https://main.qcloudimg.com/raw/5692deb2b43bdd5c8c7768b1205d526d.png";

@@ -101,2 +101,3 @@ export declare const DEFAULT_HARDWARE_GUIDE_IMAGE = "https://main.qcloudimg.com/raw/9bd7b9e866201e2cac1006c3ccb4c002.jpg";

message: string;
correctLevel: QRCodeCorrectLevel;
};

@@ -103,0 +104,0 @@ export declare const getProductIconUrl: (somethingInfo: any, fillWithDefault?: boolean) => string;

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

"use strict";function bindingBootConfig2BleHardwareGuideConfig(e){return e||(e={}),{message:e.resetTooltip,bgImg:e.bgImg,btnText:"",guide:e.guideTooltip,confirmRequired:+e.confirmRequired,userConfirmText:e.confirmTooltip,failText:e.failTooltip}}function bleHardwareGuideConfig2BindingBootConfig(e){return e||(e={}),{confirmRequired:String(e.confirmRequired),guideTooltip:e.guide,resetTooltip:e.message,confirmTooltip:e.userConfirmText,failTooltip:e.failText,bgImg:e.bgImg}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.bleHardwareGuideConfig2BindingBootConfig=exports.bindingBootConfig2BleHardwareGuideConfig=exports.getProductIconUrl=exports.DEFAULT_QRCODE_DISPLAY_GUIDE=exports.DEFAULT_CONNECT_AP_GUIDE=exports.EMPTY_CONNECT_AP_GUIDE=exports.EMPTY_BIND_BOOT_CONFIG=exports.DEFAULT_HARDWARE_GUIDE=exports.EMPTY_HARDWARE_GUIDE=exports.DEFAULT_HARDWARE_GUIDE_IMAGE=exports.DEFAULT_PRODUCT_ICON=void 0,exports.DEFAULT_PRODUCT_ICON="https://main.qcloudimg.com/raw/5692deb2b43bdd5c8c7768b1205d526d.png",exports.DEFAULT_HARDWARE_GUIDE_IMAGE="https://main.qcloudimg.com/raw/9bd7b9e866201e2cac1006c3ccb4c002.jpg",exports.EMPTY_HARDWARE_GUIDE={message:"",btnText:"",bgImg:"",guide:""},exports.DEFAULT_HARDWARE_GUIDE={SmartConfig:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯快闪。\n3. 点击“下一步”开始一键配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,将设备设置为一键配网模式,直到指示灯闪烁"},SimpleConfig:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯快闪。\n3. 点击“下一步”开始一键配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,将设备设置为一键配网模式,直到指示灯闪烁"},SoftAp:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯慢闪。\n3. 点击“下一步”开始热点配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,将设备设置为热点配网模式,直到指示灯闪烁。"},AirKiss:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯慢闪。\n3. 点击“下一步”开始微信一键配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,将设备设置为微信一键配网模式,直到指示灯闪烁。"},BleCombo:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯慢闪。\n3. 点击“下一步”开始蓝牙辅助配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,将设备设置为蓝牙辅助配网模式,直到指示灯闪烁。"},BleComboLLSync:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯慢闪。\n3. 点击“下一步”开始蓝牙辅助配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,将设备设置为蓝牙辅助配网模式,直到指示灯闪烁。"},SubDeviceBinding:{message:"请长按开关键5秒以上,直到蓝灯快速闪烁后松开。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE},CellularConfig:{guide:"请确保设备已正常供电",message:"1.接通设备电源。\n2.长按复位键(开关),直到指示灯闪烁",btnText:"扫描二维码",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE},CellularQRCodeConfig:{guide:"设备连通电源后,通过电源键将设备设置为二维码配网模式,直到指示灯闪烁。",message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯快闪。\n3. 点击“下一步”开始二维码配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE},LLSync:{confirmRequired:0,message:"请打开手机蓝牙功能,并将待绑定的BLE设备置于可发现状态。",userConfirmText:"请根据BLE设备提示完成绑定确认操作。",guide:"1.设备保持电量充足。\n2.长按复位键(开关),重新进入配对。",failText:"1. 请确认蓝牙设备电量是否充足。\n2. 请确认手机蓝牙功能已开启。\n3. 如仍未成功,请尝试重启手机与设备蓝牙。",bgImg:"https://main.qcloudimg.com/raw/2751e7f5d9fb349099b017a0359d30ed.png",btnText:"下一步"},Qrcode:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯快闪。\n3. 点击“下一步”开始二维码配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,通过电源键将设备设置为二维码配网模式,直到指示灯闪烁。"}},exports.EMPTY_BIND_BOOT_CONFIG={confirmRequired:"0",guideTooltip:"",confirmTooltip:"",failTooltip:"",bgImg:""},exports.EMPTY_CONNECT_AP_GUIDE={message:"",btnText:"",apName:"",showPasswordBox:!0},exports.DEFAULT_CONNECT_AP_GUIDE={message:"1. 将手机WiFi连接到如下图所示名称的设备热点。\n2. 点击“下一步”在小程序内进行连接。",btnText:"下一步",apName:"",showPasswordBox:!0},exports.DEFAULT_QRCODE_DISPLAY_GUIDE={message:"请将二维码正对摄像机镜头,并保持15cm左右距离"},exports.getProductIconUrl=function(e,o){void 0===o&&(o=!0),e||(e={});var i=e.IconUrlGrid||e.IconUrl;return!i&&o?exports.DEFAULT_PRODUCT_ICON:i},exports.bindingBootConfig2BleHardwareGuideConfig=bindingBootConfig2BleHardwareGuideConfig,exports.bleHardwareGuideConfig2BindingBootConfig=bleHardwareGuideConfig2BindingBootConfig;
"use strict";function bindingBootConfig2BleHardwareGuideConfig(e){return e||(e={}),{message:e.resetTooltip,bgImg:e.bgImg,btnText:"",guide:e.guideTooltip,confirmRequired:+e.confirmRequired,userConfirmText:e.confirmTooltip,failText:e.failTooltip}}function bleHardwareGuideConfig2BindingBootConfig(e){return e||(e={}),{confirmRequired:String(e.confirmRequired),guideTooltip:e.guide,resetTooltip:e.message,confirmTooltip:e.userConfirmText,failTooltip:e.failText,bgImg:e.bgImg}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.bleHardwareGuideConfig2BindingBootConfig=exports.bindingBootConfig2BleHardwareGuideConfig=exports.getProductIconUrl=exports.DEFAULT_QRCODE_DISPLAY_GUIDE=exports.DEFAULT_CONNECT_AP_GUIDE=exports.EMPTY_CONNECT_AP_GUIDE=exports.EMPTY_BIND_BOOT_CONFIG=exports.DEFAULT_HARDWARE_GUIDE=exports.EMPTY_HARDWARE_GUIDE=exports.DEFAULT_HARDWARE_GUIDE_IMAGE=exports.DEFAULT_PRODUCT_ICON=void 0,exports.DEFAULT_PRODUCT_ICON="https://main.qcloudimg.com/raw/5692deb2b43bdd5c8c7768b1205d526d.png",exports.DEFAULT_HARDWARE_GUIDE_IMAGE="https://main.qcloudimg.com/raw/9bd7b9e866201e2cac1006c3ccb4c002.jpg",exports.EMPTY_HARDWARE_GUIDE={message:"",btnText:"",bgImg:"",guide:""},exports.DEFAULT_HARDWARE_GUIDE={SmartConfig:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯快闪。\n3. 点击“下一步”开始一键配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,将设备设置为一键配网模式,直到指示灯闪烁"},SimpleConfig:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯快闪。\n3. 点击“下一步”开始一键配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,将设备设置为一键配网模式,直到指示灯闪烁"},SoftAp:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯慢闪。\n3. 点击“下一步”开始热点配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,将设备设置为热点配网模式,直到指示灯闪烁。"},AirKiss:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯慢闪。\n3. 点击“下一步”开始微信一键配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,将设备设置为微信一键配网模式,直到指示灯闪烁。"},BleCombo:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯慢闪。\n3. 点击“下一步”开始蓝牙辅助配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,将设备设置为蓝牙辅助配网模式,直到指示灯闪烁。"},BleComboLLSync:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯慢闪。\n3. 点击“下一步”开始蓝牙辅助配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,将设备设置为蓝牙辅助配网模式,直到指示灯闪烁。"},SubDeviceBinding:{message:"请长按开关键5秒以上,直到蓝灯快速闪烁后松开。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE},CellularConfig:{guide:"请确保设备已正常供电",message:"1.接通设备电源。\n2.长按复位键(开关),直到指示灯闪烁",btnText:"扫描二维码",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE},CellularQRCodeConfig:{guide:"设备连通电源后,通过电源键将设备设置为二维码配网模式,直到指示灯闪烁。",message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯快闪。\n3. 点击“下一步”开始二维码配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE},LLSync:{confirmRequired:0,message:"请打开手机蓝牙功能,并将待绑定的BLE设备置于可发现状态。",userConfirmText:"请根据BLE设备提示完成绑定确认操作。",guide:"1.设备保持电量充足。\n2.长按复位键(开关),重新进入配对。",failText:"1. 请确认蓝牙设备电量是否充足。\n2. 请确认手机蓝牙功能已开启。\n3. 如仍未成功,请尝试重启手机与设备蓝牙。",bgImg:"https://main.qcloudimg.com/raw/2751e7f5d9fb349099b017a0359d30ed.png",btnText:"下一步"},Qrcode:{message:"1. 接通设备电源。\n2. 长按复位键(开关),指示灯快闪。\n3. 点击“下一步”开始二维码配网。",btnText:"下一步",bgImg:exports.DEFAULT_HARDWARE_GUIDE_IMAGE,guide:"设备连通电源后,通过电源键将设备设置为二维码配网模式,直到指示灯闪烁。"}},exports.EMPTY_BIND_BOOT_CONFIG={confirmRequired:"0",guideTooltip:"",confirmTooltip:"",failTooltip:"",bgImg:""},exports.EMPTY_CONNECT_AP_GUIDE={message:"",btnText:"",apName:"",showPasswordBox:!0},exports.DEFAULT_CONNECT_AP_GUIDE={message:"1. 将手机WiFi连接到如下图所示名称的设备热点。\n2. 点击“下一步”在小程序内进行连接。",btnText:"下一步",apName:"",showPasswordBox:!0},exports.DEFAULT_QRCODE_DISPLAY_GUIDE={message:"请将二维码正对摄像机镜头,并保持15cm左右距离",correctLevel:2},exports.getProductIconUrl=function(e,o){void 0===o&&(o=!0),e||(e={});var i=e.IconUrlGrid||e.IconUrl;return!i&&o?exports.DEFAULT_PRODUCT_ICON:i},exports.bindingBootConfig2BleHardwareGuideConfig=bindingBootConfig2BleHardwareGuideConfig,exports.bleHardwareGuideConfig2BindingBootConfig=bleHardwareGuideConfig2BindingBootConfig;
//# sourceMappingURL=defaultConfigs.js.map

@@ -161,2 +161,3 @@ export interface ProductUIDevConfig {

message: string;
correctLevel: QRCodeCorrectLevel;
}

@@ -220,2 +221,8 @@ export interface ProductUIDevWiFiQRCodeConf extends DeviceConfConfig {

}
export declare const enum QRCodeCorrectLevel {
L = 1,
M = 0,
Q = 3,
H = 2
}
export {};
{
"name": "iotexplorer-ui-dev-config",
"version": "1.8.10",
"version": "1.8.11",
"description": "",

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

},
"gitHead": "4b4f69174010b60d484f08efd80f616ffcf0ffd6"
"gitHead": "e1b02894801073047c2e678957d12e7c44959da2"
}

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