@tuya-sat/sdf-main-sdk 2.0.0-alpha.21 → 2.0.0-alpha.210

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +83 -2
  2. package/dist/364.5460d578.chunk.js +2 -0
  3. package/dist/364.5460d578.chunk.js.map +1 -0
  4. package/dist/api/index.d.ts +7 -7
  5. package/dist/api/urls.d.ts +27 -0
  6. package/dist/components/403/index.d.ts +4 -1
  7. package/dist/components/BLayout/components/Logo.d.ts +4 -1
  8. package/dist/components/BLogin/component/UserName/index.d.ts +6 -3
  9. package/dist/components/BLogin/component/VerifyCode/VerifyCodeInput.d.ts +6 -0
  10. package/dist/components/BLogin/component/VerifyCode/index.d.ts +1 -1
  11. package/dist/components/IconFont/index.d.ts +7 -0
  12. package/dist/components/ImageUpload/index.d.ts +4 -0
  13. package/dist/components/ImageUpload/utils.d.ts +1 -0
  14. package/dist/components/Layout/antd/Header/index.d.ts +11 -1
  15. package/dist/components/Layout/antd/Menu/BaseMenu.d.ts +1 -1
  16. package/dist/components/Layout/antd/Menu/HorizontalMenu/index.d.ts +2 -0
  17. package/dist/components/Layout/antd/Menu/index.d.ts +3 -0
  18. package/dist/components/Layout/antd/Sider/index.d.ts +2 -0
  19. package/dist/components/Layout/antd/components/AppDownload/index.d.ts +2 -6
  20. package/dist/components/Layout/antd/components/DynamicNavs/index.d.ts +1 -0
  21. package/dist/components/Layout/antd/components/NavItem/index.d.ts +2 -1
  22. package/dist/components/Layout/antd/components/ProjectSelect/index.d.ts +4 -0
  23. package/dist/components/Layout/antd/components/ProjectSelect/useProjectInfo.d.ts +12 -0
  24. package/dist/components/Layout/antd/components/SwitchTheme/index.d.ts +8 -0
  25. package/dist/components/Layout/antd/components/UserAccount/UserAvatar.d.ts +9 -0
  26. package/dist/components/Layout/antd/components/UserAccount/index.d.ts +1 -0
  27. package/dist/components/Layout/antd/index.d.ts +2 -0
  28. package/dist/components/Layout/interface.d.ts +12 -28
  29. package/dist/components/MessageNotification/index.d.ts +13 -0
  30. package/dist/components/MessageNotification/manager.d.ts +13 -0
  31. package/dist/components/MessageNotification/messageNotificationManager.d.ts +3 -0
  32. package/dist/components/MicroComponent/Header/index.d.ts +17 -2
  33. package/dist/components/PEnterprise/EnterpriseList.d.ts +3 -0
  34. package/dist/components/PEnterprise/index.d.ts +1 -0
  35. package/dist/components/PSetting/AccountSetting.d.ts +11 -0
  36. package/dist/components/PSetting/index.d.ts +1 -2
  37. package/dist/components/Register/components/CountryRegionCascader/RegionCascader.d.ts +19 -0
  38. package/dist/components/Register/components/CountryRegionCascader/index.d.ts +10 -0
  39. package/dist/components/Register/components/CountryRegionCascader/services.d.ts +9 -0
  40. package/dist/components/Register/components/RegisterForm/AccountForm.d.ts +23 -0
  41. package/dist/components/Register/components/RegisterForm/EnterpriseForm.d.ts +2 -0
  42. package/dist/components/Register/components/RegisterForm/index.d.ts +7 -0
  43. package/dist/components/Register/components/RegisterResult/index.d.ts +3 -0
  44. package/dist/components/Register/index.d.ts +1 -0
  45. package/dist/constant/index.d.ts +9 -0
  46. package/dist/en.json +108 -8
  47. package/dist/hooks/index.d.ts +9 -4
  48. package/dist/hooks/useMultiLanguages.d.ts +8 -0
  49. package/dist/index.d.ts +20 -0
  50. package/dist/lang/utils.d.ts +1 -1
  51. package/dist/main.bundle.js +1 -1
  52. package/dist/main.bundle.js.LICENSE.txt +51 -11
  53. package/dist/main.bundle.js.map +1 -1
  54. package/dist/main.css +1393 -348
  55. package/dist/main.css.map +1 -1
  56. package/dist/manifest.json +7 -2
  57. package/dist/mqtt/business.d.ts +35 -0
  58. package/dist/pages/403.d.ts +4 -1
  59. package/dist/pages/home/enterprise/index.d.ts +5 -0
  60. package/dist/pages/home/notice/ConfirmCloseModal.d.ts +13 -0
  61. package/dist/pages/home/notice/MessageDetailModal.d.ts +37 -0
  62. package/dist/pages/home/notice/hooks.d.ts +14 -3
  63. package/dist/pages/home/notice/tools/index.d.ts +2 -1
  64. package/dist/qiankun/globalState.d.ts +6 -5
  65. package/dist/qiankun/index.d.ts +1 -2
  66. package/dist/qiankun/utils/index.d.ts +7 -5
  67. package/dist/static/img/7d9900e808e2197745be.png +0 -0
  68. package/dist/static/img/a10132bbdef90aa7baaf.png +0 -0
  69. package/dist/static/img/a20c372b6039996ba351.png +0 -0
  70. package/dist/static/img/b765d4caa82d7e5eae80.png +0 -0
  71. package/dist/static/img/f110c37284312f4d2af6.png +0 -0
  72. package/dist/utils/checkPass.d.ts +4 -0
  73. package/dist/utils/common.d.ts +10 -0
  74. package/dist/utils/index.d.ts +48 -7
  75. package/dist/utils/soundManager.d.ts +12 -0
  76. package/dist/utils/theme/antd5/InjectCssVariable.d.ts +3 -1
  77. package/dist/utils/theme/antd5/index.d.ts +362 -107
  78. package/dist/utils/theme/antd5/token.d.ts +275 -6
  79. package/dist/utils/theme/base.d.ts +2 -2
  80. package/dist/utils/theme/changeMenuCssVariable.d.ts +1 -1
  81. package/dist/utils/theme/index.d.ts +12 -6
  82. package/dist/utils/theme/store.d.ts +724 -214
  83. package/dist/zh.json +108 -6
  84. package/new-translations.json +68 -0
  85. package/package.json +16 -6
  86. package/webpack.config.js +1 -0
  87. package/dist/131.9ff515a6.chunk.js +0 -2
  88. package/dist/131.9ff515a6.chunk.js.map +0 -1
@@ -1,9 +1,3 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
-
7
1
  /*!
8
2
  Copyright (c) 2018 Jed Watson.
9
3
  Licensed under the MIT License (MIT), see
@@ -32,16 +26,60 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
32
26
  PERFORMANCE OF THIS SOFTWARE.
33
27
  ***************************************************************************** */
34
28
 
35
- /*! https://mths.be/punycode v1.3.2 by @mathias */
29
+ /*! https://mths.be/punycode v1.4.1 by @mathias */
36
30
 
37
31
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
38
32
 
39
- /*! js-cookie v3.0.1 | MIT */
33
+ /*! js-cookie v3.0.5 | MIT */
40
34
 
41
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
35
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
42
36
 
43
37
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
44
38
 
39
+ /**
40
+ * @license
41
+ * Lodash <https://lodash.com/>
42
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
43
+ * Released under MIT license <https://lodash.com/license>
44
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
45
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
46
+ */
47
+
48
+ /**
49
+ * @license React
50
+ * react-is.production.min.js
51
+ *
52
+ * Copyright (c) Facebook, Inc. and its affiliates.
53
+ *
54
+ * This source code is licensed under the MIT license found in the
55
+ * LICENSE file in the root directory of this source tree.
56
+ */
57
+
58
+ /**
59
+ * @license React
60
+ * react-jsx-runtime.production.min.js
61
+ *
62
+ * Copyright (c) Facebook, Inc. and its affiliates.
63
+ *
64
+ * This source code is licensed under the MIT license found in the
65
+ * LICENSE file in the root directory of this source tree.
66
+ */
67
+
68
+ /**
69
+ * Checks if an event is supported in the current execution environment.
70
+ *
71
+ * NOTE: This will not work correctly for non-generic events such as `change`,
72
+ * `reset`, `load`, `error`, and `select`.
73
+ *
74
+ * Borrows from Modernizr.
75
+ *
76
+ * @param {string} eventNameSuffix Event name, e.g. "click".
77
+ * @param {?boolean} capture Check if the capture phase is supported.
78
+ * @return {boolean} True if the event is supported.
79
+ * @internal
80
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
81
+ */
82
+
45
83
  /**
46
84
  * [js-sha256]{@link https://github.com/emn178/js-sha256}
47
85
  *
@@ -51,11 +89,13 @@ PERFORMANCE OF THIS SOFTWARE.
51
89
  * @license MIT
52
90
  */
53
91
 
54
- /** @license React v17.0.2
55
- * react-jsx-runtime.production.min.js
92
+ /** @license React v16.13.1
93
+ * react-is.production.min.js
56
94
  *
57
95
  * Copyright (c) Facebook, Inc. and its affiliates.
58
96
  *
59
97
  * This source code is licensed under the MIT license found in the
60
98
  * LICENSE file in the root directory of this source tree.
61
99
  */
100
+
101
+ /**![loading](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk4OCA1NDhjLTE5LjkgMC0zNi0xNi4xLTM2LTM2IDAtNTkuNC0xMS42LTExNy0zNC42LTE3MS4zYTQ0MC40NSA0NDAuNDUgMCAwMC05NC4zLTEzOS45IDQzNy43MSA0MzcuNzEgMCAwMC0xMzkuOS05NC4zQzYyOSA4My42IDU3MS40IDcyIDUxMiA3MmMtMTkuOSAwLTM2LTE2LjEtMzYtMzZzMTYuMS0zNiAzNi0zNmM2OS4xIDAgMTM2LjIgMTMuNSAxOTkuMyA0MC4zQzc3Mi4zIDY2IDgyNyAxMDMgODc0IDE1MGM0NyA0NyA4My45IDEwMS44IDEwOS43IDE2Mi43IDI2LjcgNjMuMSA0MC4yIDEzMC4yIDQwLjIgMTk5LjMuMSAxOS45LTE2IDM2LTM1LjkgMzZ6IiAvPjwvc3ZnPg==) */