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

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.eac5ad9a.chunk.js +2 -0
  3. package/dist/364.eac5ad9a.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
@@ -3,243 +3,753 @@ declare const THEME_TYPE = "CHANGE THEME";
3
3
  export declare const themeSubscribe: {
4
4
  subscribe: (cb: (type: typeof THEME_TYPE, value: Antd5ThemeConfig) => void, callImmediately: boolean) => () => void;
5
5
  getValue: () => {
6
- themeMode: import("./base").Theme;
7
- cssVar: boolean;
8
- hashed: boolean;
9
- algorithm: import("@ant-design/cssinjs").DerivativeFunc<import("antd/es/theme/internal").SeedToken, import("antd/es/theme/interface").MapToken>;
10
- components: {
11
- Menu: {
12
- darkItemBg: string;
13
- darkItemHoverBg: string;
14
- darkItemSelectedBg: string;
15
- darkSubMenuItemBg: string;
16
- darkItemColor: string;
17
- darkItemHoverColor: string;
18
- darkItemSelectedColor: string;
19
- darkPopupBg: string;
6
+ theme: {
7
+ themeMode: import("./base").Theme;
8
+ cssVar: boolean;
9
+ hashed: boolean;
10
+ algorithm: (seedTokens: any, mapTokens: any) => any;
11
+ components: {
12
+ Alert: {
13
+ lineType: string;
14
+ };
15
+ Menu: {
16
+ itemHeight: number;
17
+ };
18
+ Tooltip: {
19
+ colorBgSpotlight: string;
20
+ borderRadius: string;
21
+ };
22
+ Button: {
23
+ defaultBg: string;
24
+ defaultHoverBg: string;
25
+ defaultActiveBg: string;
26
+ colorBgContainerDisabled: string;
27
+ defaultBorderColor: string;
28
+ defaultHoverBorderColor: string;
29
+ defaultActiveBorderColor: string;
30
+ borderColorDisabled: string;
31
+ defaultHoverColor: string;
32
+ boxShadow: string;
33
+ defaultShadow: string;
34
+ primaryShadow: string;
35
+ dangerShadow: string;
36
+ borderRadius: string;
37
+ };
38
+ Input: {
39
+ colorBorder: string;
40
+ colorBgContainer: string;
41
+ hoverBg: string;
42
+ activeBg: string;
43
+ colorBgContainerDisabled: string;
44
+ colorTextPlaceholder: string;
45
+ activeShadow: string;
46
+ addonBg: string;
47
+ };
48
+ InputNumber: {
49
+ handleBg: string;
50
+ handleActiveBg: string;
51
+ filledHandleBg: string;
52
+ hoverBg: string;
53
+ activeBg: string;
54
+ };
55
+ Select: {
56
+ colorBorder: string;
57
+ colorBgContainer: string;
58
+ hoverBg: string;
59
+ activeBg: string;
60
+ colorBgContainerDisabled: string;
61
+ colorTextPlaceholder: string;
62
+ activeShadow: string;
63
+ multipleItemBg: string;
64
+ };
65
+ Checkbox: {
66
+ controlInteractiveSize: number;
67
+ borderRadiusSM: number;
68
+ colorBgContainerDisabled: string;
69
+ colorBorder: string;
70
+ colorTextDisabled: string;
71
+ };
72
+ Radio: {
73
+ radioSize: number;
74
+ };
75
+ DatePicker: {
76
+ colorBorder: string;
77
+ colorBgContainer: string;
78
+ hoverBg: string;
79
+ activeBg: string;
80
+ colorBgContainerDisabled: string;
81
+ colorTextPlaceholder: string;
82
+ activeShadow: string;
83
+ };
84
+ Table: {
85
+ colorSplit: string;
86
+ headerBg: string;
87
+ headerColor: string;
88
+ headerSplitColor: string;
89
+ borderColor: string;
90
+ cellPaddingInlineMD: number;
91
+ colorText: string;
92
+ };
93
+ Tag: {
94
+ defaultBg: string;
95
+ defaultColor: string;
96
+ fontSizeSM: number;
97
+ lineHeightSM: number;
98
+ };
99
+ Form: {
100
+ labelColor: string;
101
+ };
102
+ Tree: {
103
+ colorText: string;
104
+ borderRadiusSM: number;
105
+ };
106
+ Tabs: {
107
+ horizontalItemPadding: number;
108
+ };
109
+ Descriptions: {
110
+ labelColor: string;
111
+ contentColor: string;
112
+ };
113
+ } | {
114
+ Alert: {
115
+ lineType: string;
116
+ };
117
+ Menu: {
118
+ darkItemBg: string;
119
+ darkItemHoverBg: string;
120
+ darkItemSelectedBg: string;
121
+ darkSubMenuItemBg: string;
122
+ darkItemColor: string;
123
+ darkItemHoverColor: string;
124
+ darkItemSelectedColor: string;
125
+ darkPopupBg: string;
126
+ itemHeight: number;
127
+ };
128
+ Dropdown: {
129
+ colorBgElevated: string;
130
+ };
131
+ Button: {
132
+ borderRadius: number;
133
+ defaultBg: string;
134
+ defaultHoverBg: string;
135
+ defaultActiveBorderColor: string;
136
+ defaultBorderColor: string;
137
+ colorText: string;
138
+ colorTextDisabled: string;
139
+ defaultHoverColor: string;
140
+ defaultHoverBorderColor: string;
141
+ defaultActiveColor: string;
142
+ defaultActiveBg: string;
143
+ borderColorDisabled: string;
144
+ colorBgContainerDisabled: string;
145
+ textTextHoverColor: string;
146
+ textTextColor: string;
147
+ textHoverBg: string;
148
+ boxShadow: string;
149
+ defaultShadow: string;
150
+ primaryShadow: string;
151
+ dangerShadow: string;
152
+ };
153
+ Input: {
154
+ colorBorder: string;
155
+ colorBgContainer: string;
156
+ hoverBg: string;
157
+ activeBg: string;
158
+ colorBgContainerDisabled: string;
159
+ colorTextPlaceholder: string;
160
+ activeShadow: string;
161
+ };
162
+ Checkbox: {
163
+ controlInteractiveSize: number;
164
+ borderRadiusSM: number;
165
+ lineWidth: number;
166
+ colorBorder: string;
167
+ };
168
+ Radio: {
169
+ radioSize: number;
170
+ };
171
+ DatePicker: {
172
+ colorBorder: string;
173
+ colorBgContainer: string;
174
+ hoverBg: string;
175
+ activeBg: string;
176
+ colorBgContainerDisabled: string;
177
+ activeShadow: string;
178
+ };
179
+ Select: {
180
+ colorBorder: string;
181
+ colorBgContainer: string;
182
+ hoverBg: string;
183
+ colorText: string;
184
+ activeBg: string;
185
+ colorBgContainerDisabled: string;
186
+ colorTextPlaceholder: string;
187
+ optionActiveBg: string;
188
+ optionSelectedBg: string;
189
+ optionSelectedColor: string;
190
+ colorBgElevated: string;
191
+ };
192
+ Cascader: {
193
+ optionSelectedBg: string;
194
+ colorText: string;
195
+ };
196
+ Modal: {
197
+ headerBg: string;
198
+ contentBg: string;
199
+ footerBg: string;
200
+ colorBgElevated: string;
201
+ };
202
+ Drawer: {
203
+ colorBgElevated: string;
204
+ };
205
+ Divider: {
206
+ colorSplit: string;
207
+ };
208
+ Segmented: {
209
+ trackBg: string;
210
+ colorTextDisabled: string;
211
+ itemColor: string;
212
+ itemHoverBg: string;
213
+ itemSelectedColor: string;
214
+ itemSelectedBg: string;
215
+ borderRadius: number;
216
+ };
217
+ Pagination: {
218
+ itemBg: string;
219
+ itemActiveBg: string;
220
+ trackBg: string;
221
+ };
222
+ Table: {
223
+ headerBg: string;
224
+ footerBg: string;
225
+ headerColor: string;
226
+ footerColor: string;
227
+ borderColor: string;
228
+ headerSplitColor: string;
229
+ colorText: string;
230
+ };
231
+ Tag: {
232
+ defaultBg: string;
233
+ fontSizeSM: number;
234
+ lineHeightSM: number;
235
+ };
236
+ Form: {
237
+ labelColor: string;
238
+ };
239
+ Tree: {
240
+ colorText: string;
241
+ borderRadiusSM: number;
242
+ };
243
+ Tabs: {
244
+ horizontalItemPadding: number;
245
+ };
246
+ Descriptions: {
247
+ labelColor: string;
248
+ contentColor: string;
249
+ };
20
250
  };
21
- Dropdown: {
251
+ token: {
252
+ controlHeight: number;
253
+ colorPrimary: string;
254
+ colorLink: string;
255
+ colorInfo: string;
256
+ colorBgBase: string;
257
+ colorBgContainer: string;
22
258
  colorBgElevated: string;
23
- };
24
- Button: {
25
- borderRadius: number;
26
- defaultBg: string;
27
- defaultHoverBg: string;
28
- defaultActiveBorderColor: string;
29
- defaultBorderColor: string;
259
+ colorBgLayout: string;
260
+ colorBgSpotlight: string;
261
+ colorBgSmall: string;
262
+ colorBgSpecial: string;
263
+ colorBgMask: string;
264
+ colorFill: string;
265
+ colorFillSecondary: string;
266
+ colorFillTertiary: string;
267
+ colorFillQuaternary: string;
268
+ colorTextBase: string;
30
269
  colorText: string;
31
- colorTextDisabled: string;
32
- defaultHoverColor: string;
33
- defaultHoverBorderColor: string;
34
- defaultActiveColor: string;
35
- defaultActiveBg: string;
36
- borderColorDisabled: string;
37
- colorBgContainerDisabled: string;
38
- textTextHoverColor: string;
39
- textTextColor: string;
40
- textHoverBg: string;
41
- };
42
- Input: {
43
- colorBorder: string;
44
- colorBgContainer: string;
45
- activeBg: string;
46
- colorTextPlaceholder: string;
47
- };
48
- Select: {
270
+ colorTextSecondary: string;
271
+ colorTextTertiary: string;
272
+ colorTextTransitional: string;
273
+ colorTextQuaternary: string;
49
274
  colorBorder: string;
275
+ colorBorderSecondary: string;
276
+ colorErrorBg: string;
277
+ colorErrorBgHover: string;
278
+ colorErrorBorder: string;
279
+ colorErrorBorderHover: string;
280
+ colorErrorHover: string;
281
+ colorErrorActive: string;
282
+ colorErrorTextActive: string;
283
+ colorError: string;
284
+ colorErrorText: string;
285
+ colorErrorTextHover: string;
286
+ colorSuccessBg: string;
287
+ colorSuccessBgHover: string;
288
+ colorSuccessBorder: string;
289
+ colorSuccessBorderHover: string;
290
+ colorSuccessHover: string;
291
+ colorSuccessActive: string;
292
+ colorSuccessTextActive: string;
293
+ colorSuccess: string;
294
+ colorSuccessText: string;
295
+ colorSuccessTextHover: string;
296
+ colorWarningBg: string;
297
+ colorWarningBgHover: string;
298
+ colorWarningBorder: string;
299
+ colorWarningBorderHover: string;
300
+ colorWarningHover: string;
301
+ colorWarningActive: string;
302
+ colorWarningTextActive: string;
303
+ colorWarning: string;
304
+ colorWarningText: string;
305
+ colorWarningTextHover: string;
306
+ defaultRadius: number;
307
+ borderRadius: number;
308
+ boxShadow: string;
309
+ boxShadowSecondary: string;
310
+ } | {
311
+ controlHeight: number;
312
+ colorPrimary: string;
313
+ colorLink: string;
314
+ colorInfo: string;
315
+ colorBgBase: string;
50
316
  colorBgContainer: string;
51
- colorText: string;
52
- activeBg: string;
53
- colorTextPlaceholder: string;
54
- optionActiveBg: string;
55
- optionSelectedBg: string;
56
- optionSelectedColor: string;
57
317
  colorBgElevated: string;
58
- };
59
- Cascader: {
60
- optionSelectedBg: string;
318
+ colorBgLayout: string;
319
+ colorBgSpotlight: string;
320
+ colorBgMask: string;
321
+ colorBgSmall: string;
322
+ colorBgSpecial: string;
323
+ colorFill: string;
324
+ colorFillSecondary: string;
325
+ colorFillTertiary: string;
326
+ colorFillQuaternary: string;
327
+ colorTextBase: string;
61
328
  colorText: string;
62
- };
63
- Modal: {
64
- colorBgElevated: string;
65
- };
66
- Segmented: {
67
- itemSelectedBg: string;
68
- itemActiveBg: string;
329
+ colorTextSecondary: string;
330
+ colorTextTertiary: string;
331
+ colorTextTransitional: string;
332
+ colorTextQuaternary: string;
333
+ colorBorder: string;
334
+ colorBorderSecondary: string;
335
+ colorErrorBg: string;
336
+ colorErrorBgHover: string;
337
+ colorErrorBorder: string;
338
+ colorErrorBorderHover: string;
339
+ colorErrorHover: string;
340
+ colorErrorActive: string;
341
+ colorErrorTextActive: string;
342
+ colorError: string;
343
+ colorErrorText: string;
344
+ colorErrorTextHover: string;
345
+ colorSuccessBg: string;
346
+ colorSuccessBgHover: string;
347
+ colorSuccessBorder: string;
348
+ colorSuccessBorderHover: string;
349
+ colorSuccessHover: string;
350
+ colorSuccessActive: string;
351
+ colorSuccessTextActive: string;
352
+ colorSuccess: string;
353
+ colorSuccessText: string;
354
+ colorSuccessTextHover: string;
355
+ colorWarningBg: string;
356
+ colorWarningBgHover: string;
357
+ colorWarningBorder: string;
358
+ colorWarningBorderHover: string;
359
+ colorWarningHover: string;
360
+ colorWarningActive: string;
361
+ colorWarningTextActive: string;
362
+ colorWarning: string;
363
+ colorWarningText: string;
364
+ colorWarningTextHover: string;
365
+ boxShadow: string;
366
+ boxShadowSecondary: string;
367
+ defaultRadius: number;
69
368
  borderRadius: number;
70
- itemSelectedColor: string;
71
- itemColor: string;
72
- };
73
- Pagination: {
74
- itemBg: string;
75
- itemActiveBg: string;
76
- trackBg: string;
77
- };
78
- Table: {
79
- headerBg: string;
80
- footerBg: string;
81
- headerColor: string;
82
- footerColor: string;
83
- borderColor: string;
369
+ colorTransparent: string;
84
370
  };
85
371
  };
86
- token: {
87
- colorPrimary: string;
88
- colorLink: string;
89
- colorBgBase?: string;
90
- colorBgContainer?: string;
91
- colorBgElevated?: string;
92
- colorBgLayout?: string;
93
- colorBgSpotlight?: string;
94
- colorBgSmall?: string;
95
- colorBgSpecial?: string;
96
- colorBgMask?: string;
97
- colorFill?: string;
98
- colorFillSecondary?: string;
99
- colorFillTertiary?: string;
100
- colorFillQuaternary?: string;
101
- colorTextBase?: string;
102
- colorText?: string;
103
- colorTextSecondary?: string;
104
- colorTextTertiary?: string;
105
- colorTextTransitional?: string;
106
- colorTextQuaternary?: string;
107
- colorBorder?: string;
108
- colorBorderSecondary?: string;
109
- boxShadow?: string;
110
- boxShadowSecondary?: string;
111
- colorErrorBg?: string;
112
- colorErrorBgHover?: string;
113
- colorErrorBorder?: string;
114
- colorErrorBorderHover?: string;
115
- colorErrorHover?: string;
116
- colorErrorActive?: string;
117
- colorErrorTextActive?: string;
118
- colorError?: string;
119
- colorErrorText?: string;
120
- colorErrorTextHover?: string;
121
- defaultRadius?: number;
122
- colorTransparent?: string;
372
+ modal: {
373
+ styles: {
374
+ header: {
375
+ marginBottom: number;
376
+ };
377
+ };
123
378
  };
124
379
  };
125
380
  publish: (value: {
126
- themeMode: import("./base").Theme;
127
- cssVar: boolean;
128
- hashed: boolean;
129
- algorithm: import("@ant-design/cssinjs").DerivativeFunc<import("antd/es/theme/internal").SeedToken, import("antd/es/theme/interface").MapToken>;
130
- components: {
131
- Menu: {
132
- darkItemBg: string;
133
- darkItemHoverBg: string;
134
- darkItemSelectedBg: string;
135
- darkSubMenuItemBg: string;
136
- darkItemColor: string;
137
- darkItemHoverColor: string;
138
- darkItemSelectedColor: string;
139
- darkPopupBg: string;
381
+ theme: {
382
+ themeMode: import("./base").Theme;
383
+ cssVar: boolean;
384
+ hashed: boolean;
385
+ algorithm: (seedTokens: any, mapTokens: any) => any;
386
+ components: {
387
+ Alert: {
388
+ lineType: string;
389
+ };
390
+ Menu: {
391
+ itemHeight: number;
392
+ };
393
+ Tooltip: {
394
+ colorBgSpotlight: string;
395
+ borderRadius: string;
396
+ };
397
+ Button: {
398
+ defaultBg: string;
399
+ defaultHoverBg: string;
400
+ defaultActiveBg: string;
401
+ colorBgContainerDisabled: string;
402
+ defaultBorderColor: string;
403
+ defaultHoverBorderColor: string;
404
+ defaultActiveBorderColor: string;
405
+ borderColorDisabled: string;
406
+ defaultHoverColor: string;
407
+ boxShadow: string;
408
+ defaultShadow: string;
409
+ primaryShadow: string;
410
+ dangerShadow: string;
411
+ borderRadius: string;
412
+ };
413
+ Input: {
414
+ colorBorder: string;
415
+ colorBgContainer: string;
416
+ hoverBg: string;
417
+ activeBg: string;
418
+ colorBgContainerDisabled: string;
419
+ colorTextPlaceholder: string;
420
+ activeShadow: string;
421
+ addonBg: string;
422
+ };
423
+ InputNumber: {
424
+ handleBg: string;
425
+ handleActiveBg: string;
426
+ filledHandleBg: string;
427
+ hoverBg: string;
428
+ activeBg: string;
429
+ };
430
+ Select: {
431
+ colorBorder: string;
432
+ colorBgContainer: string;
433
+ hoverBg: string;
434
+ activeBg: string;
435
+ colorBgContainerDisabled: string;
436
+ colorTextPlaceholder: string;
437
+ activeShadow: string;
438
+ multipleItemBg: string;
439
+ };
440
+ Checkbox: {
441
+ controlInteractiveSize: number;
442
+ borderRadiusSM: number;
443
+ colorBgContainerDisabled: string;
444
+ colorBorder: string;
445
+ colorTextDisabled: string;
446
+ };
447
+ Radio: {
448
+ radioSize: number;
449
+ };
450
+ DatePicker: {
451
+ colorBorder: string;
452
+ colorBgContainer: string;
453
+ hoverBg: string;
454
+ activeBg: string;
455
+ colorBgContainerDisabled: string;
456
+ colorTextPlaceholder: string;
457
+ activeShadow: string;
458
+ };
459
+ Table: {
460
+ colorSplit: string;
461
+ headerBg: string;
462
+ headerColor: string;
463
+ headerSplitColor: string;
464
+ borderColor: string;
465
+ cellPaddingInlineMD: number;
466
+ colorText: string;
467
+ };
468
+ Tag: {
469
+ defaultBg: string;
470
+ defaultColor: string;
471
+ fontSizeSM: number;
472
+ lineHeightSM: number;
473
+ };
474
+ Form: {
475
+ labelColor: string;
476
+ };
477
+ Tree: {
478
+ colorText: string;
479
+ borderRadiusSM: number;
480
+ };
481
+ Tabs: {
482
+ horizontalItemPadding: number;
483
+ };
484
+ Descriptions: {
485
+ labelColor: string;
486
+ contentColor: string;
487
+ };
488
+ } | {
489
+ Alert: {
490
+ lineType: string;
491
+ };
492
+ Menu: {
493
+ darkItemBg: string;
494
+ darkItemHoverBg: string;
495
+ darkItemSelectedBg: string;
496
+ darkSubMenuItemBg: string;
497
+ darkItemColor: string;
498
+ darkItemHoverColor: string;
499
+ darkItemSelectedColor: string;
500
+ darkPopupBg: string;
501
+ itemHeight: number;
502
+ };
503
+ Dropdown: {
504
+ colorBgElevated: string;
505
+ };
506
+ Button: {
507
+ borderRadius: number;
508
+ defaultBg: string;
509
+ defaultHoverBg: string;
510
+ defaultActiveBorderColor: string;
511
+ defaultBorderColor: string;
512
+ colorText: string;
513
+ colorTextDisabled: string;
514
+ defaultHoverColor: string;
515
+ defaultHoverBorderColor: string;
516
+ defaultActiveColor: string;
517
+ defaultActiveBg: string;
518
+ borderColorDisabled: string;
519
+ colorBgContainerDisabled: string;
520
+ textTextHoverColor: string;
521
+ textTextColor: string;
522
+ textHoverBg: string;
523
+ boxShadow: string;
524
+ defaultShadow: string;
525
+ primaryShadow: string;
526
+ dangerShadow: string;
527
+ };
528
+ Input: {
529
+ colorBorder: string;
530
+ colorBgContainer: string;
531
+ hoverBg: string;
532
+ activeBg: string;
533
+ colorBgContainerDisabled: string;
534
+ colorTextPlaceholder: string;
535
+ activeShadow: string;
536
+ };
537
+ Checkbox: {
538
+ controlInteractiveSize: number;
539
+ borderRadiusSM: number;
540
+ lineWidth: number;
541
+ colorBorder: string;
542
+ };
543
+ Radio: {
544
+ radioSize: number;
545
+ };
546
+ DatePicker: {
547
+ colorBorder: string;
548
+ colorBgContainer: string;
549
+ hoverBg: string;
550
+ activeBg: string;
551
+ colorBgContainerDisabled: string;
552
+ activeShadow: string;
553
+ };
554
+ Select: {
555
+ colorBorder: string;
556
+ colorBgContainer: string;
557
+ hoverBg: string;
558
+ colorText: string;
559
+ activeBg: string;
560
+ colorBgContainerDisabled: string;
561
+ colorTextPlaceholder: string;
562
+ optionActiveBg: string;
563
+ optionSelectedBg: string;
564
+ optionSelectedColor: string;
565
+ colorBgElevated: string;
566
+ };
567
+ Cascader: {
568
+ optionSelectedBg: string;
569
+ colorText: string;
570
+ };
571
+ Modal: {
572
+ headerBg: string;
573
+ contentBg: string;
574
+ footerBg: string;
575
+ colorBgElevated: string;
576
+ };
577
+ Drawer: {
578
+ colorBgElevated: string;
579
+ };
580
+ Divider: {
581
+ colorSplit: string;
582
+ };
583
+ Segmented: {
584
+ trackBg: string;
585
+ colorTextDisabled: string;
586
+ itemColor: string;
587
+ itemHoverBg: string;
588
+ itemSelectedColor: string;
589
+ itemSelectedBg: string;
590
+ borderRadius: number;
591
+ };
592
+ Pagination: {
593
+ itemBg: string;
594
+ itemActiveBg: string;
595
+ trackBg: string;
596
+ };
597
+ Table: {
598
+ headerBg: string;
599
+ footerBg: string;
600
+ headerColor: string;
601
+ footerColor: string;
602
+ borderColor: string;
603
+ headerSplitColor: string;
604
+ colorText: string;
605
+ };
606
+ Tag: {
607
+ defaultBg: string;
608
+ fontSizeSM: number;
609
+ lineHeightSM: number;
610
+ };
611
+ Form: {
612
+ labelColor: string;
613
+ };
614
+ Tree: {
615
+ colorText: string;
616
+ borderRadiusSM: number;
617
+ };
618
+ Tabs: {
619
+ horizontalItemPadding: number;
620
+ };
621
+ Descriptions: {
622
+ labelColor: string;
623
+ contentColor: string;
624
+ };
140
625
  };
141
- Dropdown: {
626
+ token: {
627
+ controlHeight: number;
628
+ colorPrimary: string;
629
+ colorLink: string;
630
+ colorInfo: string;
631
+ colorBgBase: string;
632
+ colorBgContainer: string;
142
633
  colorBgElevated: string;
143
- };
144
- Button: {
145
- borderRadius: number;
146
- defaultBg: string;
147
- defaultHoverBg: string;
148
- defaultActiveBorderColor: string;
149
- defaultBorderColor: string;
634
+ colorBgLayout: string;
635
+ colorBgSpotlight: string;
636
+ colorBgSmall: string;
637
+ colorBgSpecial: string;
638
+ colorBgMask: string;
639
+ colorFill: string;
640
+ colorFillSecondary: string;
641
+ colorFillTertiary: string;
642
+ colorFillQuaternary: string;
643
+ colorTextBase: string;
150
644
  colorText: string;
151
- colorTextDisabled: string;
152
- defaultHoverColor: string;
153
- defaultHoverBorderColor: string;
154
- defaultActiveColor: string;
155
- defaultActiveBg: string;
156
- borderColorDisabled: string;
157
- colorBgContainerDisabled: string;
158
- textTextHoverColor: string;
159
- textTextColor: string;
160
- textHoverBg: string;
161
- };
162
- Input: {
163
- colorBorder: string;
164
- colorBgContainer: string;
165
- activeBg: string;
166
- colorTextPlaceholder: string;
167
- };
168
- Select: {
645
+ colorTextSecondary: string;
646
+ colorTextTertiary: string;
647
+ colorTextTransitional: string;
648
+ colorTextQuaternary: string;
169
649
  colorBorder: string;
650
+ colorBorderSecondary: string;
651
+ colorErrorBg: string;
652
+ colorErrorBgHover: string;
653
+ colorErrorBorder: string;
654
+ colorErrorBorderHover: string;
655
+ colorErrorHover: string;
656
+ colorErrorActive: string;
657
+ colorErrorTextActive: string;
658
+ colorError: string;
659
+ colorErrorText: string;
660
+ colorErrorTextHover: string;
661
+ colorSuccessBg: string;
662
+ colorSuccessBgHover: string;
663
+ colorSuccessBorder: string;
664
+ colorSuccessBorderHover: string;
665
+ colorSuccessHover: string;
666
+ colorSuccessActive: string;
667
+ colorSuccessTextActive: string;
668
+ colorSuccess: string;
669
+ colorSuccessText: string;
670
+ colorSuccessTextHover: string;
671
+ colorWarningBg: string;
672
+ colorWarningBgHover: string;
673
+ colorWarningBorder: string;
674
+ colorWarningBorderHover: string;
675
+ colorWarningHover: string;
676
+ colorWarningActive: string;
677
+ colorWarningTextActive: string;
678
+ colorWarning: string;
679
+ colorWarningText: string;
680
+ colorWarningTextHover: string;
681
+ defaultRadius: number;
682
+ borderRadius: number;
683
+ boxShadow: string;
684
+ boxShadowSecondary: string;
685
+ } | {
686
+ controlHeight: number;
687
+ colorPrimary: string;
688
+ colorLink: string;
689
+ colorInfo: string;
690
+ colorBgBase: string;
170
691
  colorBgContainer: string;
171
- colorText: string;
172
- activeBg: string;
173
- colorTextPlaceholder: string;
174
- optionActiveBg: string;
175
- optionSelectedBg: string;
176
- optionSelectedColor: string;
177
692
  colorBgElevated: string;
178
- };
179
- Cascader: {
180
- optionSelectedBg: string;
693
+ colorBgLayout: string;
694
+ colorBgSpotlight: string;
695
+ colorBgMask: string;
696
+ colorBgSmall: string;
697
+ colorBgSpecial: string;
698
+ colorFill: string;
699
+ colorFillSecondary: string;
700
+ colorFillTertiary: string;
701
+ colorFillQuaternary: string;
702
+ colorTextBase: string;
181
703
  colorText: string;
182
- };
183
- Modal: {
184
- colorBgElevated: string;
185
- };
186
- Segmented: {
187
- itemSelectedBg: string;
188
- itemActiveBg: string;
704
+ colorTextSecondary: string;
705
+ colorTextTertiary: string;
706
+ colorTextTransitional: string;
707
+ colorTextQuaternary: string;
708
+ colorBorder: string;
709
+ colorBorderSecondary: string;
710
+ colorErrorBg: string;
711
+ colorErrorBgHover: string;
712
+ colorErrorBorder: string;
713
+ colorErrorBorderHover: string;
714
+ colorErrorHover: string;
715
+ colorErrorActive: string;
716
+ colorErrorTextActive: string;
717
+ colorError: string;
718
+ colorErrorText: string;
719
+ colorErrorTextHover: string;
720
+ colorSuccessBg: string;
721
+ colorSuccessBgHover: string;
722
+ colorSuccessBorder: string;
723
+ colorSuccessBorderHover: string;
724
+ colorSuccessHover: string;
725
+ colorSuccessActive: string;
726
+ colorSuccessTextActive: string;
727
+ colorSuccess: string;
728
+ colorSuccessText: string;
729
+ colorSuccessTextHover: string;
730
+ colorWarningBg: string;
731
+ colorWarningBgHover: string;
732
+ colorWarningBorder: string;
733
+ colorWarningBorderHover: string;
734
+ colorWarningHover: string;
735
+ colorWarningActive: string;
736
+ colorWarningTextActive: string;
737
+ colorWarning: string;
738
+ colorWarningText: string;
739
+ colorWarningTextHover: string;
740
+ boxShadow: string;
741
+ boxShadowSecondary: string;
742
+ defaultRadius: number;
189
743
  borderRadius: number;
190
- itemSelectedColor: string;
191
- itemColor: string;
192
- };
193
- Pagination: {
194
- itemBg: string;
195
- itemActiveBg: string;
196
- trackBg: string;
197
- };
198
- Table: {
199
- headerBg: string;
200
- footerBg: string;
201
- headerColor: string;
202
- footerColor: string;
203
- borderColor: string;
744
+ colorTransparent: string;
204
745
  };
205
746
  };
206
- token: {
207
- colorPrimary: string;
208
- colorLink: string;
209
- colorBgBase?: string;
210
- colorBgContainer?: string;
211
- colorBgElevated?: string;
212
- colorBgLayout?: string;
213
- colorBgSpotlight?: string;
214
- colorBgSmall?: string;
215
- colorBgSpecial?: string;
216
- colorBgMask?: string;
217
- colorFill?: string;
218
- colorFillSecondary?: string;
219
- colorFillTertiary?: string;
220
- colorFillQuaternary?: string;
221
- colorTextBase?: string;
222
- colorText?: string;
223
- colorTextSecondary?: string;
224
- colorTextTertiary?: string;
225
- colorTextTransitional?: string;
226
- colorTextQuaternary?: string;
227
- colorBorder?: string;
228
- colorBorderSecondary?: string;
229
- boxShadow?: string;
230
- boxShadowSecondary?: string;
231
- colorErrorBg?: string;
232
- colorErrorBgHover?: string;
233
- colorErrorBorder?: string;
234
- colorErrorBorderHover?: string;
235
- colorErrorHover?: string;
236
- colorErrorActive?: string;
237
- colorErrorTextActive?: string;
238
- colorError?: string;
239
- colorErrorText?: string;
240
- colorErrorTextHover?: string;
241
- defaultRadius?: number;
242
- colorTransparent?: string;
747
+ modal: {
748
+ styles: {
749
+ header: {
750
+ marginBottom: number;
751
+ };
752
+ };
243
753
  };
244
754
  }) => void;
245
755
  };