gant-core 0.0.1

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.
package/lib/index.d.ts ADDED
@@ -0,0 +1,2278 @@
1
+ import * as connect_history_api_fallback from 'connect-history-api-fallback';
2
+ import { Configuration } from 'webpack';
3
+ import { Configuration as Configuration$1 } from 'webpack-dev-server';
4
+ import * as axios from 'axios';
5
+ import { AxiosRequestConfig, AxiosRequestHeaders, AxiosInterceptorManager, AxiosResponse } from 'axios';
6
+ export * from 'axios';
7
+ import * as mitt from 'mitt';
8
+ import * as i18next from 'i18next';
9
+ import { InitOptions, Callback } from 'i18next';
10
+
11
+ declare const PresetColors: readonly ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"];
12
+ type PresetColorKey = (typeof PresetColors)[number];
13
+ type PresetColorType = Record<PresetColorKey, string>;
14
+ type ColorPaletteKeyIndex = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
15
+ type LegacyColorPalettes = {
16
+ [key in `${keyof PresetColorType}-${ColorPaletteKeyIndex}`]: string;
17
+ };
18
+ type ColorPalettes = {
19
+ [key in `${keyof PresetColorType}${ColorPaletteKeyIndex}`]: string;
20
+ };
21
+
22
+ interface SeedToken extends PresetColorType {
23
+ /**
24
+ * @nameZH 品牌主色
25
+ * @nameEN Brand Color
26
+ * @desc 品牌色是体现产品特性和传播理念最直观的视觉元素之一。在你完成品牌主色的选取之后,我们会自动帮你生成一套完整的色板,并赋予它们有效的设计语义
27
+ * @descEN Brand color is one of the most direct visual elements to reflect the characteristics and communication of the product. After you have selected the brand color, we will automatically generate a complete color palette and assign it effective design semantics.
28
+ */
29
+ colorPrimary: string;
30
+ /**
31
+ * @nameZH 成功色
32
+ * @nameEN Success Color
33
+ * @desc 用于表示操作成功的 Token 序列,如 Result、Progress 等组件会使用该组梯度变量。
34
+ * @descEN Used to represent the token sequence of operation success, such as Result, Progress and other components will use these map tokens.
35
+ */
36
+ colorSuccess: string;
37
+ /**
38
+ * @nameZH 警戒色
39
+ * @nameEN Warning Color
40
+ * @desc 用于表示操作警告的 Token 序列,如 Notification、 Alert等警告类组件或 Input 输入类等组件会使用该组梯度变量。
41
+ * @descEN Used to represent the warning map token, such as Notification, Alert, etc. Alert or Control component(like Input) will use these map tokens.
42
+ */
43
+ colorWarning: string;
44
+ /**
45
+ * @nameZH 错误色
46
+ * @nameEN Error Color
47
+ * @desc 用于表示操作失败的 Token 序列,如失败按钮、错误状态提示(Result)组件等。
48
+ * @descEN Used to represent the visual elements of the operation failure, such as the error Button, error Result component, etc.
49
+ */
50
+ colorError: string;
51
+ /**
52
+ * @nameZH 信息色
53
+ * @nameEN Info Color
54
+ * @desc 用于表示操作信息的 Token 序列,如 Alert 、Tag、 Progress 等组件都有用到该组梯度变量。
55
+ * @descEN Used to represent the operation information of the Token sequence, such as Alert, Tag, Progress, and other components use these map tokens.
56
+ */
57
+ colorInfo: string;
58
+ /**
59
+ * @nameZH 基础文本色
60
+ * @nameEN Seed Text Color
61
+ * @desc 用于派生文本色梯度的基础变量,v5 中我们添加了一层文本色的派生算法可以产出梯度明确的文本色的梯度变量。但请不要在代码中直接使用该 Seed Token !
62
+ * @descEN Used to derive the base variable of the text color gradient. In v5, we added a layer of text color derivation algorithm to produce gradient variables of text color gradient. But please do not use this Seed Token directly in the code!
63
+ */
64
+ colorTextBase: string;
65
+ /**
66
+ * @nameZH 基础背景色
67
+ * @nameEN Seed Background Color
68
+ * @desc 用于派生背景色梯度的基础变量,v5 中我们添加了一层背景色的派生算法可以产出梯度明确的背景色的梯度变量。但请不要在代码中直接使用该 Seed Token !
69
+ * @descEN Used to derive the base variable of the background color gradient. In v5, we added a layer of background color derivation algorithm to produce map token of background color. But PLEASE DO NOT USE this Seed Token directly in the code!
70
+ */
71
+ colorBgBase: string;
72
+ /**
73
+ * @nameZH 超链接颜色
74
+ * @nameEN Hyperlink color
75
+ * @desc 控制超链接的颜色。
76
+ * @descEN Control the color of hyperlink.
77
+ */
78
+ colorLink: string;
79
+ /**
80
+ * @nameZH 字体
81
+ * @nameEN Font family for default text
82
+ * @desc Ant Design 的字体家族中优先使用系统默认的界面字体,同时提供了一套利于屏显的备用字体库,来维护在不同平台以及浏览器的显示下,字体始终保持良好的易读性和可读性,体现了友好、稳定和专业的特性。
83
+ * @descEN The font family of Ant Design prioritizes the default interface font of the system, and provides a set of alternative font libraries that are suitable for screen display to maintain the readability and readability of the font under different platforms and browsers, reflecting the friendly, stable and professional characteristics.
84
+ */
85
+ fontFamily: string;
86
+ /**
87
+ * @nameZH 代码字体
88
+ * @nameEN Font family for code text
89
+ * @desc 代码字体,用于 Typography 内的 code、pre 和 kbd 类型的元素
90
+ * @descEN Code font, used for code, pre and kbd elements in Typography
91
+ */
92
+ fontFamilyCode: string;
93
+ /**
94
+ * @nameZH 默认字号
95
+ * @nameEN Default Font Size
96
+ * @desc 设计系统中使用最广泛的字体大小,文本梯度也将基于该字号进行派生。
97
+ * @descEN The most widely used font size in the design system, from which the text gradient will be derived.
98
+ * @default 14
99
+ */
100
+ fontSize: number;
101
+ /**
102
+ * @nameZH 基础线宽
103
+ * @nameEN Base Line Width
104
+ * @desc 用于控制组件边框、分割线等的宽度
105
+ * @descEN Border width of base components
106
+ */
107
+ lineWidth: number;
108
+ /**
109
+ * @nameZH 线条样式
110
+ * @nameEN Line Style
111
+ * @desc 用于控制组件边框、分割线等的样式,默认是实线
112
+ * @descEN Border style of base components
113
+ */
114
+ lineType: string;
115
+ /**
116
+ * @nameZH 基础圆角
117
+ * @nameEN Base Border Radius
118
+ * @descEN Border radius of base components
119
+ * @desc 基础组件的圆角大小,例如按钮、输入框、卡片等
120
+ */
121
+ borderRadius: number;
122
+ /**
123
+ * @nameZH 尺寸变化单位
124
+ * @nameEN Size Change Unit
125
+ * @desc 用于控制组件尺寸的变化单位,在 Ant Design 中我们的基础单位为 4 ,便于更加细致地控制尺寸梯度
126
+ * @descEN The unit of size change, in Ant Design, our base unit is 4, which is more fine-grained control of the size step
127
+ * @default 4
128
+ */
129
+ sizeUnit: number;
130
+ /**
131
+ * @nameZH 尺寸步长
132
+ * @nameEN Size Base Step
133
+ * @desc 用于控制组件尺寸的基础步长,尺寸步长结合尺寸变化单位,就可以派生各种尺寸梯度。通过调整步长即可得到不同的布局模式,例如 V5 紧凑模式下的尺寸步长为 2
134
+ * @descEN The base step of size change, the size step combined with the size change unit, can derive various size steps. By adjusting the step, you can get different layout modes, such as the size step of the compact mode of V5 is 2
135
+ * @default 4
136
+ */
137
+ sizeStep: number;
138
+ /**
139
+ * @nameZH 组件箭头尺寸
140
+ * @desc 组件箭头的尺寸
141
+ * @descEN The size of the component arrow
142
+ */
143
+ sizePopupArrow: number;
144
+ /**
145
+ * @nameZH 基础高度
146
+ * @nameEN Base Control Height
147
+ * @desc Ant Design 中按钮和输入框等基础控件的高度
148
+ * @descEN The height of the basic controls such as buttons and input boxes in Ant Design
149
+ * @default 32
150
+ */
151
+ controlHeight: number;
152
+ /**
153
+ * @nameZH 基础 zIndex
154
+ * @nameEN Base zIndex
155
+ * @desc 所有组件的基础 Z 轴值,用于一些悬浮类的组件的可以基于该值 Z 轴控制层级,例如 BackTop、 Affix 等
156
+ * @descEN The base Z axis value of all components, which can be used to control the level of some floating components based on the Z axis value, such as BackTop, Affix, etc.
157
+ *
158
+ * @default 0
159
+ */
160
+ zIndexBase: number;
161
+ /**
162
+ * @nameZH 浮层基础 zIndex
163
+ * @nameEN popup base zIndex
164
+ * @desc 浮层类组件的基础 Z 轴值,用于一些悬浮类的组件的可以基于该值 Z 轴控制层级,例如 FloatButton、 Affix、Modal 等
165
+ * @descEN Base zIndex of component like FloatButton, Affix which can be cover by large popup
166
+ * @default 1000
167
+ */
168
+ zIndexPopupBase: number;
169
+ /**
170
+ * @nameZH 不透明度
171
+ * @nameEN Define default opacity. Useful when in dark-like theme
172
+ */
173
+ opacity: number;
174
+ /**
175
+ * @nameZH 动画时长变化单位
176
+ * @nameEN Animation Duration Unit
177
+ * @desc 用于控制动画时长的变化单位
178
+ * @descEN The unit of animation duration change
179
+ * @default 100ms
180
+ */
181
+ motionUnit: number;
182
+ /**
183
+ * @nameZH 动画基础时长。
184
+ * @nameEN Animation Base Duration.
185
+ */
186
+ motionBase: number;
187
+ /**
188
+ * @desc 预设动效曲率
189
+ * @descEN Preset motion curve.
190
+ */
191
+ motionEaseOutCirc: string;
192
+ /**
193
+ * @desc 预设动效曲率
194
+ * @descEN Preset motion curve.
195
+ */
196
+ motionEaseInOutCirc: string;
197
+ /**
198
+ * @desc 预设动效曲率
199
+ * @descEN Preset motion curve.
200
+ */
201
+ motionEaseInOut: string;
202
+ /**
203
+ * @desc 预设动效曲率
204
+ * @descEN Preset motion curve.
205
+ */
206
+ motionEaseOutBack: string;
207
+ /**
208
+ * @desc 预设动效曲率
209
+ * @descEN Preset motion curve.
210
+ */
211
+ motionEaseInBack: string;
212
+ /**
213
+ * @desc 预设动效曲率
214
+ * @descEN Preset motion curve.
215
+ */
216
+ motionEaseInQuint: string;
217
+ /**
218
+ * @desc 预设动效曲率
219
+ * @descEN Preset motion curve.
220
+ */
221
+ motionEaseOutQuint: string;
222
+ /**
223
+ * @desc 预设动效曲率
224
+ * @descEN Preset motion curve.
225
+ */
226
+ motionEaseOut: string;
227
+ /**
228
+ * @nameZH 线框风格
229
+ * @nameEN Wireframe Style
230
+ * @desc 用于将组件的视觉效果变为线框化,如果需要使用 V4 的效果,需要开启配置项
231
+ * @descEN Used to change the visual effect of the component to wireframe, if you need to use the V4 effect, you need to enable the configuration item
232
+ * @default false
233
+ */
234
+ wireframe: boolean;
235
+ /**
236
+ * @nameZH 动画风格
237
+ * @nameEN Motion Style
238
+ * @desc 用于配置动画效果,为 `false` 时则关闭动画
239
+ * @descEN Used to configure the motion effect, when it is `false`, the motion is turned off
240
+ * @default false
241
+ */
242
+ motion: boolean;
243
+ /**
244
+ * @nameZH 头部高度
245
+ * @default 50
246
+ */
247
+ layoutHeaderHeight: number;
248
+ /**
249
+ * @nameZH 菜单宽度
250
+ * @default 200
251
+ */
252
+ layoutSiderWidth: number;
253
+ }
254
+
255
+ interface ColorNeutralMapToken {
256
+ /**
257
+ * @internal
258
+ */
259
+ colorTextBase: string;
260
+ /**
261
+ * @internal
262
+ */
263
+ colorBgBase: string;
264
+ /**
265
+ * @nameZH 一级文本色
266
+ * @nameEN Text Color
267
+ * @desc 最深的文本色。为了符合W3C标准,默认的文本颜色使用了该色,同时这个颜色也是最深的中性色。
268
+ * @descEN Default text color which comply with W3C standards, and this color is also the darkest neutral color.
269
+ */
270
+ colorText: string;
271
+ /**
272
+ * @nameZH 二级文本色
273
+ * @nameEN Secondary Text Color
274
+ * @desc 作为第二梯度的文本色,一般用在不那么需要强化文本颜色的场景,例如 Label 文本、Menu 的文本选中态等场景。
275
+ * @descEN The second level of text color is generally used in scenarios where text color is not emphasized, such as label text, menu text selection state, etc.
276
+ */
277
+ colorTextSecondary: string;
278
+ /**
279
+ * @nameZH 三级文本色
280
+ * @desc 第三级文本色一般用于描述性文本,例如表单的中的补充说明文本、列表的描述性文本等场景。
281
+ * @descEN The third level of text color is generally used for descriptive text, such as form supplementary explanation text, list descriptive text, etc.
282
+ */
283
+ colorTextTertiary: string;
284
+ /**
285
+ * @nameZH 四级文本色
286
+ * @desc 第四级文本色是最浅的文本色,例如表单的输入提示文本、禁用色文本等。
287
+ * @descEN The fourth level of text color is the lightest text color, such as form input prompt text, disabled color text, etc.
288
+ */
289
+ colorTextQuaternary: string;
290
+ /**
291
+ * @nameZH 一级边框色
292
+ * @nameEN Default Border Color
293
+ * @desc 默认使用的边框颜色, 用于分割不同的元素,例如:表单的分割线、卡片的分割线等。
294
+ * @descEN Default border color, used to separate different elements, such as: form separator, card separator, etc.
295
+ */
296
+ colorBorder: string;
297
+ /**
298
+ * @nameZH 二级边框色
299
+ * @nameEN Secondary Border Color
300
+ * @desc 比默认使用的边框色要浅一级,此颜色和 colorSplit 的颜色一致。使用的是实色。
301
+ * @descEN Slightly lighter than the default border color, this color is the same as `colorSplit`. Solid color is used.
302
+ */
303
+ colorBorderSecondary: string;
304
+ /**
305
+ * @nameZH 一级填充色
306
+ * @desc 最深的填充色,用于拉开与二、三级填充色的区分度,目前只用在 Slider 的 hover 效果。
307
+ * @descEN The darkest fill color is used to distinguish between the second and third level of fill color, and is currently only used in the hover effect of Slider.
308
+ */
309
+ colorFill: string;
310
+ /**
311
+ * @nameZH 二级填充色
312
+ * @desc 二级填充色可以较为明显地勾勒出元素形体,如 Rate、Skeleton 等。也可以作为三级填充色的 Hover 状态,如 Table 等。
313
+ * @descEN The second level of fill color can outline the shape of the element more clearly, such as Rate, Skeleton, etc. It can also be used as the Hover state of the third level of fill color, such as Table, etc.
314
+ */
315
+ colorFillSecondary: string;
316
+ /**
317
+ * @nameZH 三级填充色
318
+ * @desc 三级填充色用于勾勒出元素形体的场景,如 Slider、Segmented 等。如无强调需求的情况下,建议使用三级填色作为默认填色。
319
+ * @descEN The third level of fill color is used to outline the shape of the element, such as Slider, Segmented, etc. If there is no emphasis requirement, it is recommended to use the third level of fill color as the default fill color.
320
+ */
321
+ colorFillTertiary: string;
322
+ /**
323
+ * @nameZH 四级填充色
324
+ * @desc 最弱一级的填充色,适用于不易引起注意的色块,例如斑马纹、区分边界的色块等。
325
+ * @descEN The weakest level of fill color is suitable for color blocks that are not easy to attract attention, such as zebra stripes, color blocks that distinguish boundaries, etc.
326
+ */
327
+ colorFillQuaternary: string;
328
+ /**
329
+ * @nameZH 布局背景色
330
+ * @nameEN Layout Background Color
331
+ * @desc 该色用于页面整体布局的背景色,只有需要在页面中处于 B1 的视觉层级时才会使用该 token,其他用法都是错误的
332
+ * @descEN This color is used for the background color of the overall layout of the page. This token will only be used when it is necessary to be at the B1 visual level in the page. Other usages are wrong.
333
+ */
334
+ colorBgLayout: string;
335
+ /**
336
+ * @nameZH 组件容器背景色
337
+ * @desc 组件的容器背景色,例如:默认按钮、输入框等。务必不要将其与 `colorBgElevated` 混淆。
338
+ * @descEN Container background color, e.g: default button, input box, etc. Be sure not to confuse this with `colorBgElevated`.
339
+ */
340
+ colorBgContainer: string;
341
+ /**
342
+ * @nameZH 浮层容器背景色
343
+ * @desc 浮层容器背景色,在暗色模式下该 token 的色值会比 `colorBgContainer` 要亮一些。例如:模态框、弹出框、菜单等。
344
+ * @descEN Container background color of the popup layer, in dark mode the color value of this token will be a little brighter than `colorBgContainer`. E.g: modal, pop-up, menu, etc.
345
+ */
346
+ colorBgElevated: string;
347
+ /**
348
+ * @nameZH 引起注意的背景色
349
+ * @desc 该色用于引起用户强烈关注注意的背景色,目前只用在 Tooltip 的背景色上。
350
+ * @descEN This color is used to draw the user's strong attention to the background color, and is currently only used in the background color of Tooltip.
351
+ */
352
+ colorBgSpotlight: string;
353
+ }
354
+ /**
355
+ * 品牌色梯度变量
356
+ */
357
+ interface ColorPrimaryMapToken {
358
+ /**
359
+ * @nameZH 品牌主色
360
+ * @nameEN Primary color of the brand
361
+ * @desc 品牌色是体现产品特性和传播理念最直观的视觉元素之一,用于产品的主色调、主按钮、主图标、主文本等
362
+ * @descEN The brand color is one of the most intuitive visual elements that reflects product characteristics and communication concepts, and is used for the main color tone, main buttons, main icons, main text, etc. of the product.
363
+ */
364
+ colorPrimary: string;
365
+ /**
366
+ * @nameZH 主色浅色背景色
367
+ * @nameEN Light background color of primary color
368
+ * @desc 主色浅色背景颜色,一般用于视觉层级较弱的选中状态。
369
+ * @descEN Light background color of primary color, usually used for weak visual level selection state.
370
+ */
371
+ colorPrimaryBg: string;
372
+ /**
373
+ * @nameZH 主色浅色背景悬浮态
374
+ * @nameEN Hover state of light background color of primary color
375
+ * @desc 与主色浅色背景颜色相对应的悬浮态颜色。
376
+ * @descEN The hover state color corresponding to the light background color of the primary color.
377
+ */
378
+ colorPrimaryBgHover: string;
379
+ /**
380
+ * @nameZH 主色描边色
381
+ * @nameEN Border color of primary color
382
+ * @desc 主色梯度下的描边用色,用在 Slider 等组件的描边上。
383
+ * @descEN The stroke color under the main color gradient, used on the stroke of components such as Slider.
384
+ */
385
+ colorPrimaryBorder: string;
386
+ /**
387
+ * @nameZH 主色描边色悬浮态
388
+ * @nameEN Hover state of border color of primary color
389
+ * @desc 主色梯度下的描边用色的悬浮态,Slider 、Button 等组件的描边 Hover 时会使用。
390
+ * @descEN The hover state of the stroke color under the main color gradient, which will be used when the stroke Hover of components such as Slider and Button.
391
+ */
392
+ colorPrimaryBorderHover: string;
393
+ /**
394
+ * @nameZH 主色悬浮态
395
+ * @nameEN Hover state of primary color
396
+ * @desc 主色梯度下的悬浮态。
397
+ * @descEN Hover state under the main color gradient.
398
+ */
399
+ colorPrimaryHover: string;
400
+ /**
401
+ * @nameZH 主色激活态
402
+ * @nameEN Active state of primary color
403
+ * @desc 主色梯度下的深色激活态。
404
+ * @descEN Dark active state under the main color gradient.
405
+ */
406
+ colorPrimaryActive: string;
407
+ /**
408
+ * @nameZH 主色文本悬浮态
409
+ * @nameEN Hover state of text color of primary color
410
+ * @desc 主色梯度下的文本悬浮态。
411
+ * @descEN Hover state of text color under the main color gradient.
412
+ */
413
+ colorPrimaryTextHover: string;
414
+ /**
415
+ * @nameZH 主色文本
416
+ * @nameEN Text color of primary color
417
+ * @desc 主色梯度下的文本颜色。
418
+ * @descEN Text color under the main color gradient.
419
+ */
420
+ colorPrimaryText: string;
421
+ /**
422
+ * @nameZH 主色文本激活态
423
+ * @nameEN Active state of text color of primary color
424
+ * @desc 主色梯度下的文本激活态。
425
+ * @descEN Active state of text color under the main color gradient.
426
+ */
427
+ colorPrimaryTextActive: string;
428
+ }
429
+ interface ColorSuccessMapToken {
430
+ /**
431
+ * @nameZH 成功色的浅色背景颜色
432
+ * @nameEN Light Background Color of Success Color
433
+ * @desc 成功色的浅色背景颜色,用于 Tag 和 Alert 的成功态背景色
434
+ * @descEN Light background color of success color, used for Tag and Alert success state background color
435
+ */
436
+ colorSuccessBg: string;
437
+ /**
438
+ * @nameZH 成功色的浅色背景色悬浮态
439
+ * @nameEN Hover State Color of Light Success Background
440
+ * @desc 成功色浅色背景颜色,一般用于视觉层级较弱的选中状态,不过 antd 目前没有使用到该 token
441
+ * @descEN Light background color of success color, but antd does not use this token currently
442
+ */
443
+ colorSuccessBgHover: string;
444
+ /**
445
+ * @nameZH 成功色的描边色
446
+ * @nameEN Border Color of Success Color
447
+ * @desc 成功色的描边色,用于 Tag 和 Alert 的成功态描边色
448
+ * @descEN Border color of success color, used for Tag and Alert success state border color
449
+ */
450
+ colorSuccessBorder: string;
451
+ /**
452
+ * @nameZH 成功色的描边色悬浮态
453
+ * @nameEN Hover State Color of Success Border
454
+ * @desc 成功色的描边色悬浮态
455
+ * @descEN Hover state color of success color border
456
+ */
457
+ colorSuccessBorderHover: string;
458
+ /**
459
+ * @nameZH 成功色的深色悬浮态
460
+ * @nameEN Hover State Color of Dark Success
461
+ * @desc 成功色的深色悬浮态
462
+ * @descEN Hover state color of dark success color
463
+ */
464
+ colorSuccessHover: string;
465
+ /**
466
+ * @nameZH 成功色
467
+ * @nameEN Success Color
468
+ * @desc 默认的成功色,如 Result、Progress 等组件中都有使用该颜色
469
+ * @descEN Default success color, used in components such as Result and Progress
470
+ */
471
+ colorSuccess: string;
472
+ /**
473
+ * @nameZH 成功色的深色激活态
474
+ * @nameEN Active State Color of Dark Success
475
+ * @desc 成功色的深色激活态
476
+ * @descEN Active state color of dark success color
477
+ */
478
+ colorSuccessActive: string;
479
+ /**
480
+ * @nameZH 成功色的文本悬浮态
481
+ * @nameEN Hover State Color of Success Text
482
+ * @desc 成功色的文本悬浮态
483
+ * @descEN Hover state color of success color text
484
+ */
485
+ colorSuccessTextHover: string;
486
+ /**
487
+ * @nameZH 成功色的文本默认态
488
+ * @nameEN Default State Color of Success Text
489
+ * @desc 成功色的文本默认态
490
+ * @descEN Default state color of success color text
491
+ */
492
+ colorSuccessText: string;
493
+ /**
494
+ * @nameZH 成功色的文本激活态
495
+ * @nameEN Active State Color of Success Text
496
+ * @desc 成功色的文本激活态
497
+ * @descEN Active state color of success color text
498
+ */
499
+ colorSuccessTextActive: string;
500
+ }
501
+ interface ColorWarningMapToken {
502
+ /**
503
+ * @nameZH 警戒色的浅色背景颜色
504
+ * @nameEN Warning background color
505
+ * @desc 警戒色的浅色背景颜色
506
+ * @descEN The background color of the warning state.
507
+ */
508
+ colorWarningBg: string;
509
+ /**
510
+ * @nameZH 警戒色的浅色背景色悬浮态
511
+ * @nameEN Warning background color hover state
512
+ * @desc 警戒色的浅色背景色悬浮态
513
+ * @descEN The hover state background color of the warning state.
514
+ */
515
+ colorWarningBgHover: string;
516
+ /**
517
+ * @nameZH 警戒色的描边色
518
+ * @nameEN Warning border color
519
+ * @desc 警戒色的描边色
520
+ * @descEN The border color of the warning state.
521
+ */
522
+ colorWarningBorder: string;
523
+ /**
524
+ * @nameZH 警戒色的描边色悬浮态
525
+ * @nameEN Warning border color hover state
526
+ * @desc 警戒色的描边色悬浮态
527
+ * @descEN The hover state border color of the warning state.
528
+ */
529
+ colorWarningBorderHover: string;
530
+ /**
531
+ * @nameZH 警戒色的深色悬浮态
532
+ * @nameEN Warning hover color
533
+ * @desc 警戒色的深色悬浮态
534
+ * @descEN The hover state of the warning color.
535
+ */
536
+ colorWarningHover: string;
537
+ /**
538
+ * @nameZH 警戒色
539
+ * @nameEN Warning color
540
+ * @desc 最常用的警戒色,例如 Notification、 Alert等警告类组件或 Input 输入类等组件会使用该颜色
541
+ * @descEN The most commonly used warning color, used for warning components such as Notification, Alert, or input components.
542
+ */
543
+ colorWarning: string;
544
+ /**
545
+ * @nameZH 警戒色的深色激活态
546
+ * @nameEN Warning active color
547
+ * @desc 警戒色的深色激活态
548
+ * @descEN The active state of the warning color.
549
+ */
550
+ colorWarningActive: string;
551
+ /**
552
+ * @nameZH 警戒色的文本悬浮态
553
+ * @nameEN Warning text hover state
554
+ * @desc 警戒色的文本悬浮态
555
+ * @descEN The hover state of the text in the warning color.
556
+ */
557
+ colorWarningTextHover: string;
558
+ /**
559
+ * @nameZH 警戒色的文本默认态
560
+ * @nameEN Warning text default state
561
+ * @desc 警戒色的文本默认态
562
+ * @descEN The default state of the text in the warning color.
563
+ */
564
+ colorWarningText: string;
565
+ /**
566
+ * @nameZH 警戒色的文本激活态
567
+ * @nameEN Warning text active state
568
+ * @desc 警戒色的文本激活态
569
+ * @descEN The active state of the text in the warning color.
570
+ */
571
+ colorWarningTextActive: string;
572
+ }
573
+ interface ColorInfoMapToken {
574
+ /**
575
+ * @nameZH 信息色的浅色背景颜色
576
+ * @nameEN Light background color of information color
577
+ * @desc 信息色的浅色背景颜色。
578
+ * @descEN Light background color of information color.
579
+ */
580
+ colorInfoBg: string;
581
+ /**
582
+ * @nameZH 信息色的浅色背景色悬浮态
583
+ * @nameEN Hover state of light background color of information color
584
+ * @desc 信息色的浅色背景色悬浮态。
585
+ * @descEN Hover state of light background color of information color.
586
+ */
587
+ colorInfoBgHover: string;
588
+ /**
589
+ * @nameZH 信息色的描边色
590
+ * @nameEN Border color of information color
591
+ * @desc 信息色的描边色。
592
+ * @descEN Border color of information color.
593
+ */
594
+ colorInfoBorder: string;
595
+ /**
596
+ * @nameZH 信息色的描边色悬浮态
597
+ * @nameEN Hover state of border color of information color
598
+ * @desc 信息色的描边色悬浮态。
599
+ * @descEN Hover state of border color of information color.
600
+ */
601
+ colorInfoBorderHover: string;
602
+ /**
603
+ * @nameZH 信息色的深色悬浮态
604
+ * @nameEN Hover state of dark color of information color
605
+ * @desc 信息色的深色悬浮态。
606
+ * @descEN Hover state of dark color of information color.
607
+ */
608
+ colorInfoHover: string;
609
+ /**
610
+ * @nameZH 信息色
611
+ * @nameEN Information color
612
+ * @desc 信息色。
613
+ * @descEN Information color.
614
+ */
615
+ colorInfo: string;
616
+ /**
617
+ * @nameZH 信息色的深色激活态
618
+ * @nameEN Active state of dark color of information color
619
+ * @desc 信息色的深色激活态。
620
+ * @descEN Active state of dark color of information color.
621
+ */
622
+ colorInfoActive: string;
623
+ /**
624
+ * @nameZH 信息色的文本悬浮态
625
+ * @nameEN Hover state of text color of information color
626
+ * @desc 信息色的文本悬浮态。
627
+ * @descEN Hover state of text color of information color.
628
+ */
629
+ colorInfoTextHover: string;
630
+ /**
631
+ * @nameZH 信息色的文本默认态
632
+ * @nameEN Default state of text color of information color
633
+ * @desc 信息色的文本默认态。
634
+ * @descEN Default state of text color of information color.
635
+ */
636
+ colorInfoText: string;
637
+ /**
638
+ * @nameZH 信息色的文本激活态
639
+ * @nameEN Active state of text color of information color
640
+ * @desc 信息色的文本激活态。
641
+ * @descEN Active state of text color of information color.
642
+ */
643
+ colorInfoTextActive: string;
644
+ }
645
+ interface ColorErrorMapToken {
646
+ /**
647
+ * @nameZH 错误色的浅色背景颜色
648
+ * @nameEN Error background color
649
+ * @desc 错误色的浅色背景颜色
650
+ * @descEN The background color of the error state.
651
+ */
652
+ colorErrorBg: string;
653
+ /**
654
+ * @nameZH 错误色的浅色背景色悬浮态
655
+ * @nameEN Error background color hover state
656
+ * @desc 错误色的浅色背景色悬浮态
657
+ * @descEN The hover state background color of the error state.
658
+ */
659
+ colorErrorBgHover: string;
660
+ /**
661
+ * @nameZH 错误色的描边色
662
+ * @nameEN Error border color
663
+ * @desc 错误色的描边色
664
+ * @descEN The border color of the error state.
665
+ */
666
+ colorErrorBorder: string;
667
+ /**
668
+ * @nameZH 错误色的描边色悬浮态
669
+ * @nameEN Error border color hover state
670
+ * @desc 错误色的描边色悬浮态
671
+ * @descEN The hover state border color of the error state.
672
+ */
673
+ colorErrorBorderHover: string;
674
+ /**
675
+ * @nameZH 错误色的深色悬浮态
676
+ * @nameEN Error hover color
677
+ * @desc 错误色的深色悬浮态
678
+ * @descEN The hover state of the error color.
679
+ */
680
+ colorErrorHover: string;
681
+ /**
682
+ * @nameZH 错误色
683
+ * @nameEN Error color
684
+ * @desc 错误色
685
+ * @descEN The color of the error state.
686
+ */
687
+ colorError: string;
688
+ /**
689
+ * @nameZH 错误色的深色激活态
690
+ * @nameEN Error active color
691
+ * @desc 错误色的深色激活态
692
+ * @descEN The active state of the error color.
693
+ */
694
+ colorErrorActive: string;
695
+ /**
696
+ * @nameZH 错误色的文本悬浮态
697
+ * @nameEN Error text hover state
698
+ * @desc 错误色的文本悬浮态
699
+ * @descEN The hover state of the text in the error color.
700
+ */
701
+ colorErrorTextHover: string;
702
+ /**
703
+ * @nameZH 错误色的文本默认态
704
+ * @nameEN Error text default state
705
+ * @desc 错误色的文本默认态
706
+ * @descEN The default state of the text in the error color.
707
+ */
708
+ colorErrorText: string;
709
+ /**
710
+ * @nameZH 错误色的文本激活态
711
+ * @nameEN Error text active state
712
+ * @desc 错误色的文本激活态
713
+ * @descEN The active state of the text in the error color.
714
+ */
715
+ colorErrorTextActive: string;
716
+ }
717
+ interface ColorLinkMapToken {
718
+ /**
719
+ * @nameZH 超链接颜色
720
+ * @nameEN Hyperlink color
721
+ * @desc 控制超链接的颜色。
722
+ * @descEN Control the color of hyperlink.
723
+ */
724
+ colorLink: string;
725
+ /**
726
+ * @nameZH 超链接悬浮颜色
727
+ * @nameEN Hyperlink hover color
728
+ * @desc 控制超链接悬浮时的颜色。
729
+ * @descEN Control the color of hyperlink when hovering.
730
+ */
731
+ colorLinkHover: string;
732
+ /**
733
+ * @nameZH 超链接激活颜色
734
+ * @nameEN Hyperlink active color
735
+ * @desc 控制超链接被点击时的颜色。
736
+ * @descEN Control the color of hyperlink when clicked.
737
+ */
738
+ colorLinkActive: string;
739
+ }
740
+ interface ColorMapToken extends ColorNeutralMapToken, ColorPrimaryMapToken, ColorSuccessMapToken, ColorWarningMapToken, ColorErrorMapToken, ColorInfoMapToken, ColorLinkMapToken {
741
+ /**
742
+ * @nameZH 纯白色
743
+ * @desc 不随主题变化的纯白色
744
+ * @descEN Pure white color don't changed by theme
745
+ * @default #FFFFFF
746
+ */
747
+ colorWhite: string;
748
+ /**
749
+ * @nameZH 浮层的背景蒙层颜色
750
+ * @nameEN Background color of the mask
751
+ * @desc 浮层的背景蒙层颜色,用于遮罩浮层下面的内容,Modal、Drawer 等组件的蒙层使用的是该 token
752
+ * @descEN The background color of the mask, used to cover the content below the mask, Modal, Drawer and other components use this token
753
+ */
754
+ colorBgMask: string;
755
+ }
756
+
757
+ interface FontMapToken {
758
+ /**
759
+ * @desc 小号字体大小
760
+ * @descEN Small font size
761
+ */
762
+ fontSizeSM: number;
763
+ /**
764
+ * @desc 标准字体大小
765
+ * @descEN Standard font size
766
+ */
767
+ fontSize: number;
768
+ /**
769
+ * @desc 大号字体大小
770
+ * @descEN Large font size
771
+ */
772
+ fontSizeLG: number;
773
+ /**
774
+ * @desc 超大号字体大小
775
+ * @descEN Super large font size
776
+ */
777
+ fontSizeXL: number;
778
+ /**
779
+ * @nameZH 一级标题字号
780
+ * @nameEN Font size of heading level 1
781
+ * @desc H1 标签所使用的字号
782
+ * @descEN Font size of h1 tag.
783
+ * @default 38
784
+ */
785
+ fontSizeHeading1: number;
786
+ /**
787
+ * @nameZH 二级标题字号
788
+ * @nameEN Font size of heading level 2
789
+ * @desc h2 标签所使用的字号
790
+ * @descEN Font size of h2 tag.
791
+ * @default 30
792
+ */
793
+ fontSizeHeading2: number;
794
+ /**
795
+ * @nameZH 三级标题字号
796
+ * @nameEN Font size of heading level 3
797
+ * @desc h3 标签使用的字号
798
+ * @descEN Font size of h3 tag.
799
+ * @default 24
800
+ */
801
+ fontSizeHeading3: number;
802
+ /**
803
+ * @nameZH 四级标题字号
804
+ * @nameEN Font size of heading level 4
805
+ * @desc h4 标签使用的字号
806
+ * @descEN Font size of h4 tag.
807
+ * @default 20
808
+ */
809
+ fontSizeHeading4: number;
810
+ /**
811
+ * @nameZH 五级标题字号
812
+ * @nameEN Font size of heading level 5
813
+ * @desc h5 标签使用的字号
814
+ * @descEN Font size of h5 tag.
815
+ * @default 16
816
+ */
817
+ fontSizeHeading5: number;
818
+ /**
819
+ * @desc 文本行高
820
+ * @descEN Line height of text.
821
+ */
822
+ lineHeight: number;
823
+ /**
824
+ * @desc 大型文本行高
825
+ * @descEN Line height of large text.
826
+ */
827
+ lineHeightLG: number;
828
+ /**
829
+ * @desc 小型文本行高
830
+ * @descEN Line height of small text.
831
+ */
832
+ lineHeightSM: number;
833
+ /**
834
+ * @nameZH 一级标题行高
835
+ * @nameEN Line height of heading level 1
836
+ * @desc H1 标签所使用的行高
837
+ * @descEN Line height of h1 tag.
838
+ * @default 1.4
839
+ */
840
+ lineHeightHeading1: number;
841
+ /**
842
+ * @nameZH 二级标题行高
843
+ * @nameEN Line height of heading level 2
844
+ * @desc h2 标签所使用的行高
845
+ * @descEN Line height of h2 tag.
846
+ * @default 1.35
847
+ */
848
+ lineHeightHeading2: number;
849
+ /**
850
+ * @nameZH 三级标题行高
851
+ * @nameEN Line height of heading level 3
852
+ * @desc h3 标签所使用的行高
853
+ * @descEN Line height of h3 tag.
854
+ * @default 1.3
855
+ */
856
+ lineHeightHeading3: number;
857
+ /**
858
+ * @nameZH 四级标题行高
859
+ * @nameEN Line height of heading level 4
860
+ * @desc h4 标签所使用的行高
861
+ * @descEN Line height of h4 tag.
862
+ * @default 1.25
863
+ */
864
+ lineHeightHeading4: number;
865
+ /**
866
+ * @nameZH 五级标题行高
867
+ * @nameEN Line height of heading level 5
868
+ * @desc h5 标签所使用的行高
869
+ * @descEN Line height of h5 tag.
870
+ * @default 1.2
871
+ */
872
+ lineHeightHeading5: number;
873
+ }
874
+
875
+ interface SizeMapToken {
876
+ /**
877
+ * @nameZH XXL
878
+ * @default 48
879
+ */
880
+ sizeXXL: number;
881
+ /**
882
+ * @nameZH XL
883
+ * @default 32
884
+ */
885
+ sizeXL: number;
886
+ /**
887
+ * @nameZH LG
888
+ * @default 24
889
+ */
890
+ sizeLG: number;
891
+ /**
892
+ * @nameZH MD
893
+ * @default 20
894
+ */
895
+ sizeMD: number;
896
+ /** Same as size by default, but could be larger in compact mode */
897
+ sizeMS: number;
898
+ /**
899
+ * @nameZH 默认
900
+ * @desc 默认尺寸
901
+ * @default 16
902
+ */
903
+ size: number;
904
+ /**
905
+ * @nameZH SM
906
+ * @default 12
907
+ */
908
+ sizeSM: number;
909
+ /**
910
+ * @nameZH XS
911
+ * @default 8
912
+ */
913
+ sizeXS: number;
914
+ /**
915
+ * @nameZH XXS
916
+ * @default 4
917
+ */
918
+ sizeXXS: number;
919
+ }
920
+ interface HeightMapToken {
921
+ /** Only Used for control inside component like Multiple Select inner selection item */
922
+ /**
923
+ * @nameZH 更小的组件高度
924
+ * @nameEN XS component height
925
+ * @desc 更小的组件高度
926
+ * @descEN XS component height
927
+ */
928
+ controlHeightXS: number;
929
+ /**
930
+ * @nameZH 较小的组件高度
931
+ * @nameEN SM component height
932
+ * @desc 较小的组件高度
933
+ * @descEN SM component height
934
+ */
935
+ controlHeightSM: number;
936
+ /**
937
+ * @nameZH 较高的组件高度
938
+ * @nameEN LG component height
939
+ * @desc 较高的组件高度
940
+ * @descEN LG component height
941
+ */
942
+ controlHeightLG: number;
943
+ }
944
+
945
+ interface StyleMapToken {
946
+ /**
947
+ * @nameZH 线宽
948
+ * @nameEN Line Width
949
+ * @desc 描边类组件的默认线宽,如 Button、Input、Select 等输入类控件。
950
+ * @descEN The default line width of the outline class components, such as Button, Input, Select, etc.
951
+ * @default 1
952
+ */
953
+ lineWidthBold: number;
954
+ /**
955
+ * @nameZH XS号圆角
956
+ * @nameEN XS Border Radius
957
+ * @desc XS号圆角,用于组件中的一些小圆角,如 Segmented 、Arrow 等一些内部圆角的组件样式中。
958
+ * @descEN XS size border radius, used in some small border radius components, such as Segmented, Arrow and other components with small border radius.
959
+ * @default 2
960
+ */
961
+ borderRadiusXS: number;
962
+ /**
963
+ * @nameZH SM号圆角
964
+ * @nameEN SM Border Radius
965
+ * @desc SM号圆角,用于组件小尺寸下的圆角,如 Button、Input、Select 等输入类控件在 small size 下的圆角
966
+ * @descEN SM size border radius, used in small size components, such as Button, Input, Select and other input components in small size
967
+ * @default 4
968
+ */
969
+ borderRadiusSM: number;
970
+ /**
971
+ * @nameZH LG号圆角
972
+ * @nameEN LG Border Radius
973
+ * @desc LG号圆角,用于组件中的一些大圆角,如 Card、Modal 等一些组件样式。
974
+ * @descEN LG size border radius, used in some large border radius components, such as Card, Modal and other components.
975
+ * @default 8
976
+ */
977
+ borderRadiusLG: number;
978
+ /**
979
+ * @nameZH 外部圆角
980
+ * @nameEN Outer Border Radius
981
+ * @default 4
982
+ * @desc 外部圆角
983
+ * @descEN Outer border radius
984
+ */
985
+ borderRadiusOuter: number;
986
+ }
987
+
988
+ interface OpacityMapToken {
989
+ /**
990
+ * @desc 图片透明度
991
+ */
992
+ opacityImage: number;
993
+ opacity1: number;
994
+ opacity2: number;
995
+ }
996
+
997
+ interface CommonMapToken extends StyleMapToken, OpacityMapToken {
998
+ /**
999
+ * @desc 动效播放速度,快速。用于小型元素动画交互
1000
+ * @descEN Motion speed, fast speed. Used for small element animation interaction.
1001
+ */
1002
+ motionDurationFast: string;
1003
+ /**
1004
+ * @desc 动效播放速度,中速。用于中型元素动画交互
1005
+ * @descEN Motion speed, medium speed. Used for medium element animation interaction.
1006
+ */
1007
+ motionDurationMid: string;
1008
+ /**
1009
+ * @desc 动效播放速度,慢速。用于大型元素如面板动画交互
1010
+ * @descEN Motion speed, slow speed. Used for large element animation interaction.
1011
+ */
1012
+ motionDurationSlow: string;
1013
+ }
1014
+ interface MapToken extends SeedToken, LegacyColorPalettes, ColorPalettes, ColorMapToken, SizeMapToken, HeightMapToken, StyleMapToken, FontMapToken, OpacityMapToken, CommonMapToken {
1015
+ }
1016
+
1017
+ type TextDecorationType = 'none' | 'underline' | 'overline' | 'line-through' | 'blink';
1018
+ interface AliasToken extends MapToken {
1019
+ /**
1020
+ * @nameZH 内容区域背景色(悬停)
1021
+ * @nameEN Background color of content area (hover)
1022
+ * @desc 控制内容区域背景色在鼠标悬停时的样式。
1023
+ * @descEN Control the style of background color of content area when mouse hovers over it.
1024
+ */
1025
+ colorFillContentHover: string;
1026
+ /**
1027
+ * @nameZH 替代背景色
1028
+ * @nameEN Alternative background color
1029
+ * @desc 控制元素替代背景色。
1030
+ * @descEN Control the alternative background color of element.
1031
+ */
1032
+ colorFillAlter: string;
1033
+ /**
1034
+ * @nameZH 内容区域背景色
1035
+ * @nameEN Background color of content area
1036
+ * @desc 控制内容区域的背景色。
1037
+ * @descEN Control the background color of content area.
1038
+ */
1039
+ colorFillContent: string;
1040
+ /**
1041
+ * @nameZH 容器禁用态下的背景色
1042
+ * @nameEN Disabled container background color
1043
+ * @desc 控制容器在禁用状态下的背景色。
1044
+ * @descEN Control the background color of container in disabled state.
1045
+ */
1046
+ colorBgContainerDisabled: string;
1047
+ /**
1048
+ * @nameZH 文本悬停态背景色
1049
+ * @nameEN Text hover background color
1050
+ * @desc 控制文本在悬停状态下的背景色。
1051
+ * @descEN Control the background color of text in hover state.
1052
+ */
1053
+ colorBgTextHover: string;
1054
+ /**
1055
+ * @nameZH 文本激活态背景色
1056
+ * @nameEN Text active background color
1057
+ * @desc 控制文本在激活状态下的背景色。
1058
+ * @descEN Control the background color of text in active state.
1059
+ */
1060
+ colorBgTextActive: string;
1061
+ /**
1062
+ * @nameZH 背景边框颜色
1063
+ * @nameEN Background border color
1064
+ * @desc 控制元素背景边框的颜色。
1065
+ * @descEN Control the color of background border of element.
1066
+ */
1067
+ colorBorderBg: string;
1068
+ /**
1069
+ * @nameZH 分割线颜色
1070
+ * @nameEN Separator Color
1071
+ * @desc 用于作为分割线的颜色,此颜色和 colorBorderSecondary 的颜色一致,但是用的是透明色。
1072
+ * @descEN Used as the color of separator, this color is the same as colorBorderSecondary but with transparency.
1073
+ */
1074
+ colorSplit: string;
1075
+ /**
1076
+ * @nameZH 占位文本颜色
1077
+ * @nameEN Placeholder Text Color
1078
+ * @desc 控制占位文本的颜色。
1079
+ * @descEN Control the color of placeholder text.
1080
+ */
1081
+ colorTextPlaceholder: string;
1082
+ /**
1083
+ * @nameZH 禁用字体颜色
1084
+ * @nameEN Disabled Text Color
1085
+ * @desc 控制禁用状态下的字体颜色。
1086
+ * @descEN Control the color of text in disabled state.
1087
+ */
1088
+ colorTextDisabled: string;
1089
+ /**
1090
+ * @nameZH 标题字体颜色
1091
+ * @nameEN Heading Text Color
1092
+ * @desc 控制标题字体颜色。
1093
+ * @descEN Control the font color of heading.
1094
+ */
1095
+ colorTextHeading: string;
1096
+ /**
1097
+ * @nameZH 文本标签字体颜色
1098
+ * @nameEN Text label font color
1099
+ * @desc 控制文本标签字体颜色。
1100
+ * @descEN Control the font color of text label.
1101
+ */
1102
+ colorTextLabel: string;
1103
+ /**
1104
+ * @nameZH 文本描述字体颜色
1105
+ * @nameEN Text description font color
1106
+ * @desc 控制文本描述字体颜色。
1107
+ * @descEN Control the font color of text description.
1108
+ */
1109
+ colorTextDescription: string;
1110
+ /**
1111
+ * @nameZH 固定文本高亮颜色
1112
+ * @nameEN Fixed text highlight color
1113
+ * @desc 控制带背景色的文本,例如 Primary Button 组件中的文本高亮颜色。
1114
+ * @descEN Control the highlight color of text with background color, such as the text in Primary Button components.
1115
+ */
1116
+ colorTextLightSolid: string;
1117
+ /**
1118
+ /**
1119
+ * @nameZH 弱操作图标颜色
1120
+ * @nameEN Weak action icon color
1121
+ * @desc 控制弱操作图标的颜色,例如 allowClear 或 Alert 关闭按钮。
1122
+ * @descEN Weak action. Such as `allowClear` or Alert close button
1123
+ */
1124
+ colorIcon: string;
1125
+ /** */
1126
+ /**
1127
+ * @nameZH 弱操作图标悬浮态颜色
1128
+ * @nameEN Weak action icon hover color
1129
+ * @desc 控制弱操作图标在悬浮状态下的颜色,例如 allowClear 或 Alert 关闭按钮。
1130
+ * @descEN Weak action hover color. Such as `allowClear` or Alert close button
1131
+ */
1132
+ colorIconHover: string;
1133
+ /**
1134
+ * @nameZH 高亮颜色
1135
+ * @nameEN Highlight color
1136
+ * @desc 控制页面元素高亮时的颜色。
1137
+ * @descEN Control the color of page element when highlighted.
1138
+ */
1139
+ colorHighlight: string;
1140
+ /**
1141
+ * @nameZH 输入组件的 Outline 颜色
1142
+ * @nameEN Input component outline color
1143
+ * @desc 控制输入组件的外轮廓线颜色。
1144
+ * @descEN Control the outline color of input component.
1145
+ */
1146
+ controlOutline: string;
1147
+ /**
1148
+ * @nameZH 警告状态下的 Outline 颜色
1149
+ * @nameEN Warning outline color
1150
+ * @desc 控制输入组件警告状态下的外轮廓线颜色。
1151
+ * @descEN Control the outline color of input component in warning state.
1152
+ */
1153
+ colorWarningOutline: string;
1154
+ /**
1155
+ * @nameZH 错误状态下的 Outline 颜色
1156
+ * @nameEN Error outline color
1157
+ * @desc 控制输入组件错误状态下的外轮廓线颜色。
1158
+ * @descEN Control the outline color of input component in error state.
1159
+ */
1160
+ colorErrorOutline: string;
1161
+ /**
1162
+ * @nameZH 选择器、级联选择器等中的操作图标字体大小
1163
+ * @nameEN Operation icon font size in Select, Cascader, etc.
1164
+ * @desc 控制选择器、级联选择器等中的操作图标字体大小。正常情况下与 fontSizeSM 相同。
1165
+ * @descEN Control the font size of operation icon in Select, Cascader, etc. Normally same as fontSizeSM.
1166
+ */
1167
+ fontSizeIcon: number;
1168
+ /**
1169
+ * @nameZH 标题类组件(如 h1、h2、h3)或选中项的字体粗细
1170
+ * @nameEN Font weight for heading components (such as h1, h2, h3) or selected item
1171
+ * @desc 控制标题类组件(如 h1、h2、h3)或选中项的字体粗细。
1172
+ * @descEN Control the font weight of heading components (such as h1, h2, h3) or selected item.
1173
+ */
1174
+ fontWeightStrong: number;
1175
+ /**
1176
+ * @nameZH 输入组件的外轮廓线宽度
1177
+ * @nameEN Input component outline width
1178
+ * @desc 控制输入组件的外轮廓线宽度。
1179
+ * @descEN Control the outline width of input component.
1180
+ */
1181
+ controlOutlineWidth: number;
1182
+ /**
1183
+ * @nameZH 控制组件项在鼠标悬浮时的背景颜色
1184
+ * @nameEN Background color of control component item when hovering
1185
+ * @desc 控制组件项在鼠标悬浮时的背景颜色。
1186
+ * @descEN Control the background color of control component item when hovering.
1187
+ */
1188
+ controlItemBgHover: string;
1189
+ /**
1190
+ * @nameZH 控制组件项在激活状态下的背景颜色
1191
+ * @nameEN Background color of control component item when active
1192
+ * @desc 控制组件项在激活状态下的背景颜色。
1193
+ * @descEN Control the background color of control component item when active.
1194
+ */
1195
+ controlItemBgActive: string;
1196
+ /**
1197
+ * @nameZH 控制组件项在鼠标悬浮且激活状态下的背景颜色
1198
+ * @nameEN Background color of control component item when hovering and active
1199
+ * @desc 控制组件项在鼠标悬浮且激活状态下的背景颜色。
1200
+ * @descEN Control the background color of control component item when hovering and active.
1201
+ */
1202
+ controlItemBgActiveHover: string;
1203
+ /**
1204
+ * @nameZH 控制组件的交互大小
1205
+ * @nameEN Interactive size of control component
1206
+ * @desc 控制组件的交互大小。
1207
+ * @descEN Control the interactive size of control component.
1208
+ */
1209
+ controlInteractiveSize: number;
1210
+ /**
1211
+ * @nameZH 控制组件项在禁用状态下的激活背景颜色
1212
+ * @nameEN Background color of control component item when active and disabled
1213
+ * @desc 控制组件项在禁用状态下的激活背景颜色。
1214
+ * @descEN Control the background color of control component item when active and disabled.
1215
+ */
1216
+ controlItemBgActiveDisabled: string;
1217
+ /**
1218
+ * @nameZH 线条宽度(聚焦态)
1219
+ * @nameEN Line width(focus state)
1220
+ * @desc 控制线条的宽度,当组件处于聚焦态时。
1221
+ * @descEN Control the width of the line when the component is in focus state.
1222
+ */
1223
+ lineWidthFocus: number;
1224
+ /**
1225
+ * @nameZH 极小内间距
1226
+ * @nameEN Extra extra small padding
1227
+ * @desc 控制元素的极小内间距。
1228
+ * @descEN Control the extra extra small padding of the element.
1229
+ */
1230
+ paddingXXS: number;
1231
+ /**
1232
+ * @nameZH 特小内间距
1233
+ * @nameEN Extra small padding
1234
+ * @desc 控制元素的特小内间距。
1235
+ * @descEN Control the extra small padding of the element.
1236
+ */
1237
+ paddingXS: number;
1238
+ /**
1239
+ * @nameZH 小内间距
1240
+ * @nameEN Small padding
1241
+ * @desc 控制元素的小内间距。
1242
+ * @descEN Control the small padding of the element.
1243
+ */
1244
+ paddingSM: number;
1245
+ /**
1246
+ * @nameZH 内间距
1247
+ * @nameEN Padding
1248
+ * @desc 控制元素的内间距。
1249
+ * @descEN Control the padding of the element.
1250
+ */
1251
+ padding: number;
1252
+ /**
1253
+ * @nameZH 中等内间距
1254
+ * @nameEN Medium padding
1255
+ * @desc 控制元素的中等内间距。
1256
+ * @descEN Control the medium padding of the element.
1257
+ */
1258
+ paddingMD: number;
1259
+ /**
1260
+ * @nameZH 大内间距
1261
+ * @nameEN Large padding
1262
+ * @desc 控制元素的大内间距。
1263
+ * @descEN Control the large padding of the element.
1264
+ */
1265
+ paddingLG: number;
1266
+ /**
1267
+ * @nameZH 特大内间距
1268
+ * @nameEN Extra large padding
1269
+ * @desc 控制元素的特大内间距。
1270
+ * @descEN Control the extra large padding of the element.
1271
+ */
1272
+ paddingXL: number;
1273
+ /**
1274
+ * @nameZH 内容水平内间距(LG)
1275
+ * @nameEN Content horizontal padding (LG)
1276
+ * @desc 控制内容元素水平内间距,适用于大屏幕设备。
1277
+ * @descEN Control the horizontal padding of content element, suitable for large screen devices.
1278
+ */
1279
+ paddingContentHorizontalLG: number;
1280
+ /**
1281
+ * @nameZH 内容水平内间距
1282
+ * @nameEN Content horizontal padding
1283
+ * @desc 控制内容元素水平内间距。
1284
+ * @descEN Control the horizontal padding of content element.
1285
+ */
1286
+ paddingContentHorizontal: number;
1287
+ /**
1288
+ * @nameZH 内容水平内间距(SM)
1289
+ * @nameEN Content horizontal padding (SM)
1290
+ * @desc 控制内容元素水平内间距,适用于小屏幕设备。
1291
+ * @descEN Control the horizontal padding of content element, suitable for small screen devices.
1292
+ */
1293
+ paddingContentHorizontalSM: number;
1294
+ /**
1295
+ * @nameZH 内容垂直内间距(LG)
1296
+ * @nameEN Content vertical padding (LG)
1297
+ * @desc 控制内容元素垂直内间距,适用于大屏幕设备。
1298
+ * @descEN Control the vertical padding of content element, suitable for large screen devices.
1299
+ */
1300
+ paddingContentVerticalLG: number;
1301
+ /**
1302
+ * @nameZH 内容垂直内间距
1303
+ * @nameEN Content vertical padding
1304
+ * @desc 控制内容元素垂直内间距。
1305
+ * @descEN Control the vertical padding of content element.
1306
+ */
1307
+ paddingContentVertical: number;
1308
+ /**
1309
+ * @nameZH 内容垂直内间距(SM)
1310
+ * @nameEN Content vertical padding (SM)
1311
+ * @desc 控制内容元素垂直内间距,适用于小屏幕设备。
1312
+ * @descEN Control the vertical padding of content element, suitable for small screen devices.
1313
+ */
1314
+ paddingContentVerticalSM: number;
1315
+ /**
1316
+ * @nameZH 外边距 XXS
1317
+ * @nameEN Margin XXS
1318
+ * @desc 控制元素外边距,最小尺寸。
1319
+ * @descEN Control the margin of an element, with the smallest size.
1320
+ */
1321
+ marginXXS: number;
1322
+ /**
1323
+ * @nameZH 外边距 XS
1324
+ * @nameEN Margin XS
1325
+ * @desc 控制元素外边距,小尺寸。
1326
+ * @descEN Control the margin of an element, with a small size.
1327
+ */
1328
+ marginXS: number;
1329
+ /**
1330
+ * @nameZH 外边距 SM
1331
+ * @nameEN Margin SM
1332
+ * @desc 控制元素外边距,中小尺寸。
1333
+ * @descEN Control the margin of an element, with a medium-small size.
1334
+ */
1335
+ marginSM: number;
1336
+ /**
1337
+ * @nameZH 外边距
1338
+ * @nameEN Margin
1339
+ * @desc 控制元素外边距,中等尺寸。
1340
+ * @descEN Control the margin of an element, with a medium size.
1341
+ */
1342
+ margin: number;
1343
+ /**
1344
+ * @nameZH 外边距 MD
1345
+ * @nameEN Margin MD
1346
+ * @desc 控制元素外边距,中大尺寸。
1347
+ * @descEN Control the margin of an element, with a medium-large size.
1348
+ */
1349
+ marginMD: number;
1350
+ /**
1351
+ * @nameZH 外边距 LG
1352
+ * @nameEN Margin LG
1353
+ * @desc 控制元素外边距,大尺寸。
1354
+ * @descEN Control the margin of an element, with a large size.
1355
+ */
1356
+ marginLG: number;
1357
+ /**
1358
+ * @nameZH 外边距 XL
1359
+ * @nameEN Margin XL
1360
+ * @desc 控制元素外边距,超大尺寸。
1361
+ * @descEN Control the margin of an element, with an extra-large size.
1362
+ */
1363
+ marginXL: number;
1364
+ /**
1365
+ * @nameZH 外边距 XXL
1366
+ * @nameEN Margin XXL
1367
+ * @desc 控制元素外边距,最大尺寸。
1368
+ * @descEN Control the margin of an element, with the largest size.
1369
+ */
1370
+ marginXXL: number;
1371
+ /**
1372
+ * @nameZH 加载状态透明度
1373
+ * @nameEN Loading opacity
1374
+ * @desc 控制加载状态的透明度。
1375
+ * @descEN Control the opacity of the loading state.
1376
+ */
1377
+ opacityLoading: number;
1378
+ /**
1379
+ * @nameZH 一级阴影
1380
+ * @nameEN Box shadow
1381
+ * @desc 控制元素阴影样式。
1382
+ * @descEN Control the box shadow style of an element.
1383
+ */
1384
+ boxShadow: string;
1385
+ /**
1386
+ * @nameZH 二级阴影
1387
+ * @nameEN Secondary box shadow
1388
+ * @desc 控制元素二级阴影样式。
1389
+ * @descEN Control the secondary box shadow style of an element.
1390
+ */
1391
+ boxShadowSecondary: string;
1392
+ /**
1393
+ * @nameZH 三级阴影
1394
+ * @nameEN Tertiary box shadow
1395
+ * @desc 控制元素三级盒子阴影样式。
1396
+ * @descEN Control the tertiary box shadow style of an element.
1397
+ */
1398
+ boxShadowTertiary: string;
1399
+ /**
1400
+ * @nameZH 链接文本装饰
1401
+ * @nameEN Link text decoration
1402
+ * @desc 控制链接文本的装饰样式。
1403
+ * @descEN Control the text decoration style of a link.
1404
+ */
1405
+ linkDecoration: TextDecorationType;
1406
+ /**
1407
+ * @nameZH 链接鼠标悬浮时文本装饰
1408
+ * @nameEN Link text decoration on mouse hover
1409
+ * @desc 控制链接鼠标悬浮时文本的装饰样式。
1410
+ * @descEN Control the text decoration style of a link on mouse hover.
1411
+ */
1412
+ linkHoverDecoration: TextDecorationType;
1413
+ /**
1414
+ * @nameZH 链接聚焦时文本装饰
1415
+ * @nameEN Link text decoration on focus
1416
+ * @desc 控制链接聚焦时文本的装饰样式。
1417
+ * @descEN Control the text decoration style of a link on focus.
1418
+ */
1419
+ linkFocusDecoration: TextDecorationType;
1420
+ /**
1421
+ * @nameZH 控制水平内间距
1422
+ * @nameEN Control horizontal padding
1423
+ * @desc 控制元素水平内间距。
1424
+ * @descEN Control the horizontal padding of an element.
1425
+ */
1426
+ controlPaddingHorizontal: number;
1427
+ /**
1428
+ * @nameZH 控制中小尺寸水平内间距
1429
+ * @nameEN Control horizontal padding with a small-medium size
1430
+ * @desc 控制元素中小尺寸水平内间距。
1431
+ * @descEN Control the horizontal padding of an element with a small-medium size.
1432
+ */
1433
+ controlPaddingHorizontalSM: number;
1434
+ /**
1435
+ * @nameZH 屏幕宽度(像素) - 超小屏幕
1436
+ * @nameEN Screen width (pixels) - Extra small screens
1437
+ * @desc 控制超小屏幕的屏幕宽度。
1438
+ * @descEN Control the screen width of extra small screens.
1439
+ */
1440
+ screenXS: number;
1441
+ /**
1442
+ * @nameZH 屏幕宽度(像素) - 超小屏幕最小值
1443
+ * @nameEN Screen width (pixels) - Extra small screens minimum value
1444
+ * @desc 控制超小屏幕的最小宽度。
1445
+ * @descEN Control the minimum width of extra small screens.
1446
+ */
1447
+ screenXSMin: number;
1448
+ /**
1449
+ * @nameZH 屏幕宽度(像素) - 超小屏幕最大值
1450
+ * @nameEN Screen width (pixels) - Extra small screens maximum value
1451
+ * @desc 控制超小屏幕的最大宽度。
1452
+ * @descEN Control the maximum width of extra small screens.
1453
+ */
1454
+ screenXSMax: number;
1455
+ /**
1456
+ * @nameZH 屏幕宽度(像素) - 小屏幕
1457
+ * @nameEN Screen width (pixels) - Small screens
1458
+ * @desc 控制小屏幕的屏幕宽度。
1459
+ * @descEN Control the screen width of small screens.
1460
+ */
1461
+ screenSM: number;
1462
+ /**
1463
+ * @nameZH 屏幕宽度(像素) - 小屏幕最小值
1464
+ * @nameEN Screen width (pixels) - Small screens minimum value
1465
+ * @desc 控制小屏幕的最小宽度。
1466
+ * @descEN Control the minimum width of small screens.
1467
+ */
1468
+ screenSMMin: number;
1469
+ /**
1470
+ * @nameZH 屏幕宽度(像素) - 小屏幕最大值
1471
+ * @nameEN Screen width (pixels) - Small screens maximum value
1472
+ * @desc 控制小屏幕的最大宽度。
1473
+ * @descEN Control the maximum width of small screens.
1474
+ */
1475
+ screenSMMax: number;
1476
+ /**
1477
+ * @nameZH 屏幕宽度(像素) - 中等屏幕
1478
+ * @nameEN Screen width (pixels) - Medium screens
1479
+ * @desc 控制中等屏幕的屏幕宽度。
1480
+ * @descEN Control the screen width of medium screens.
1481
+ */
1482
+ screenMD: number;
1483
+ /**
1484
+ * @nameZH 屏幕宽度(像素) - 中等屏幕最小值
1485
+ * @nameEN Screen width (pixels) - Medium screens minimum value
1486
+ * @desc 控制中等屏幕的最小宽度。
1487
+ * @descEN Control the minimum width of medium screens.
1488
+ */
1489
+ screenMDMin: number;
1490
+ /**
1491
+ * @nameZH 屏幕宽度(像素) - 中等屏幕最大值
1492
+ * @nameEN Screen width (pixels) - Medium screens maximum value
1493
+ * @desc 控制中等屏幕的最大宽度。
1494
+ * @descEN Control the maximum width of medium screens.
1495
+ */
1496
+ screenMDMax: number;
1497
+ /**
1498
+ * @nameZH 屏幕宽度(像素) - 大屏幕
1499
+ * @nameEN Screen width (pixels) - Large screens
1500
+ * @desc 控制大屏幕的屏幕宽度。
1501
+ * @descEN Control the screen width of large screens.
1502
+ */
1503
+ screenLG: number;
1504
+ /**
1505
+ * @nameZH 屏幕宽度(像素) - 大屏幕最小值
1506
+ * @nameEN Screen width (pixels) - Large screens minimum value
1507
+ * @desc 控制大屏幕的最小宽度。
1508
+ * @descEN Control the minimum width of large screens.
1509
+ */
1510
+ screenLGMin: number;
1511
+ /**
1512
+ * @nameZH 屏幕宽度(像素) - 大屏幕最大值
1513
+ * @nameEN Screen width (pixels) - Large screens maximum value
1514
+ * @desc 控制大屏幕的最大宽度。
1515
+ * @descEN Control the maximum width of large screens.
1516
+ */
1517
+ screenLGMax: number;
1518
+ /**
1519
+ * @nameZH 屏幕宽度(像素) - 超大屏幕
1520
+ * @nameEN Screen width (pixels) - Extra large screens
1521
+ * @desc 控制超大屏幕的屏幕宽度。
1522
+ * @descEN Control the screen width of extra large screens.
1523
+ */
1524
+ screenXL: number;
1525
+ /**
1526
+ * @nameZH 屏幕宽度(像素) - 超大屏幕最小值
1527
+ * @nameEN Screen width (pixels) - Extra large screens minimum value
1528
+ * @desc 控制超大屏幕的最小宽度。
1529
+ * @descEN Control the minimum width of extra large screens.
1530
+ */
1531
+ screenXLMin: number;
1532
+ /**
1533
+ * @nameZH 屏幕宽度(像素) - 超大屏幕最大值
1534
+ * @nameEN Screen width (pixels) - Extra large screens maximum value
1535
+ * @desc 控制超大屏幕的最大宽度。
1536
+ * @descEN Control the maximum width of extra large screens.
1537
+ */
1538
+ screenXLMax: number;
1539
+ /**
1540
+ * @nameZH 屏幕宽度(像素) - 超超大屏幕
1541
+ * @nameEN Screen width (pixels) - Extra extra large screens
1542
+ * @desc 控制超超大屏幕的屏幕宽度。
1543
+ * @descEN Control the screen width of extra extra large screens.
1544
+ */
1545
+ screenXXL: number;
1546
+ /**
1547
+ * @nameZH 屏幕宽度(像素) - 超超大屏幕最小值
1548
+ * @nameEN Screen width (pixels) - Extra extra large screens minimum value
1549
+ * @desc 控制超超大屏幕的最小宽度。
1550
+ * @descEN Control the minimum width of extra extra large screens.
1551
+ */
1552
+ screenXXLMin: number;
1553
+ /**
1554
+ * @deprecated
1555
+ * Used for DefaultButton, Switch which has default outline
1556
+ * @desc 默认样式的 Outline 颜色
1557
+ * @descEN Default style outline color.
1558
+ */
1559
+ controlTmpOutline: string;
1560
+ /** @internal */
1561
+ boxShadowPopoverArrow: string;
1562
+ /** @internal */
1563
+ boxShadowCard: string;
1564
+ /** @internal */
1565
+ boxShadowDrawerRight: string;
1566
+ /** @internal */
1567
+ boxShadowDrawerLeft: string;
1568
+ /** @internal */
1569
+ boxShadowDrawerUp: string;
1570
+ /** @internal */
1571
+ boxShadowDrawerDown: string;
1572
+ /** @internal */
1573
+ boxShadowTabsOverflowLeft: string;
1574
+ /** @internal */
1575
+ boxShadowTabsOverflowRight: string;
1576
+ /** @internal */
1577
+ boxShadowTabsOverflowTop: string;
1578
+ /** @internal */
1579
+ boxShadowTabsOverflowBottom: string;
1580
+ }
1581
+
1582
+ type TokenType = object;
1583
+ type DerivativeFunc<DesignToken extends TokenType, DerivativeToken extends TokenType> = (designToken: DesignToken, derivativeToken?: DerivativeToken) => DerivativeToken;
1584
+ type MappingAlgorithm = DerivativeFunc<SeedToken, MapToken>;
1585
+ type GlobalToken = AliasToken;
1586
+
1587
+ type ThemeType = 'default' | 'dark' | 'compact';
1588
+
1589
+ declare const getAliasToken: (seed?: SeedToken, type?: ThemeType) => AliasToken;
1590
+
1591
+ declare const seedToken: SeedToken;
1592
+
1593
+ declare function derivative$2(token: SeedToken): MapToken;
1594
+
1595
+ declare const derivative$1: DerivativeFunc<SeedToken, MapToken>;
1596
+
1597
+ declare const derivative: DerivativeFunc<SeedToken, MapToken>;
1598
+
1599
+ /** Raw merge of `@ant-design/cssinjs` token. Which need additional process */
1600
+ type RawMergedToken = MapToken & {
1601
+ override: Partial<AliasToken>;
1602
+ };
1603
+ /**
1604
+ * Seed (designer) > Derivative (designer) > Alias (developer).
1605
+ *
1606
+ * Merge seed & derivative & override token and generate alias token for developer.
1607
+ */
1608
+ declare function formatToken(derivativeToken: RawMergedToken): AliasToken;
1609
+
1610
+ /**
1611
+ * Lightens a 6 char HEX color according to the passed percentage
1612
+ * @param {string} color The color to change
1613
+ * @param {number} amount The amount to change the color by
1614
+ * @returns {string} The processed color represented as HEX
1615
+ */
1616
+ declare function lighten(color: string, amount: number): string;
1617
+ declare function mapTheme(data: any): any;
1618
+ declare function setCssVar(data: any, prefix?: string): void;
1619
+ declare function restCssVar(): void;
1620
+
1621
+ declare const token: AliasToken;
1622
+
1623
+ interface Route {
1624
+ path: string;
1625
+ title: string;
1626
+ mpaKey?: string;
1627
+ children?: Route[];
1628
+ [name: string]: any;
1629
+ }
1630
+ interface ConfigMPAS {
1631
+ index?: boolean;
1632
+ template?: string;
1633
+ pages?: {
1634
+ name: string;
1635
+ entryPath: string;
1636
+ template?: string;
1637
+ }[];
1638
+ }
1639
+ interface GantCustomConfig {
1640
+ name?: string;
1641
+ base?: string;
1642
+ mpas?: ConfigMPAS;
1643
+ packages?: {
1644
+ [name: string]: string;
1645
+ };
1646
+ routes?: Route | Route[];
1647
+ outputPathDir?: string;
1648
+ microServiceMap?: any;
1649
+ customHistoryApiFallback?: boolean | connect_history_api_fallback.Options | undefined;
1650
+ define?: any;
1651
+ setting?: CONFIG_TYPE;
1652
+ vue?: boolean;
1653
+ }
1654
+ interface GantUserConfig extends Configuration, GantCustomConfig {
1655
+ devServer?: Configuration$1;
1656
+ }
1657
+ type CONFIG_TYPE = {
1658
+ BASE_CONFIG?: BASE_CONFIG_TYPE;
1659
+ MAIN_CONFIG?: MAIN_CONFIG_TYPE;
1660
+ SYSMGMT_CONFIG?: SYSMGMT_CONFIG_TYPE;
1661
+ WATER_MARK_CONFIG?: WATER_MARK_CONFIG_TYPE;
1662
+ THEME_CONFIG?: THEME_CONFIG_TYPE;
1663
+ };
1664
+ type BASE_CONFIG_TYPE = {
1665
+ title?: {
1666
+ [name: string]: string;
1667
+ };
1668
+ slogan?: {
1669
+ [name: string]: string;
1670
+ };
1671
+ copyright?: string;
1672
+ };
1673
+ type LOGIN_CONFIG = {
1674
+ loginPathname?: string;
1675
+ noCheckPermissionsPath?: string[];
1676
+ sso?: boolean;
1677
+ ssoUrlSearchParams?: string[];
1678
+ ssoSuccessUrlkey?: string;
1679
+ ssoCheckTokenUrl?: string;
1680
+ ssoLoginUrl?: string;
1681
+ ssologinOutUrl?: string;
1682
+ };
1683
+ type MAIN_CONFIG_TYPE = {
1684
+ requestTimeout?: number;
1685
+ siderMenuCollapsed?: boolean;
1686
+ navType?: 'breadcrumb' | 'tabs';
1687
+ menuHistory?: boolean;
1688
+ initialDashboardLayout?: any[];
1689
+ homePath?: string;
1690
+ loginConfig?: LOGIN_CONFIG;
1691
+ functionsConfig?: {
1692
+ notification?: boolean;
1693
+ websocket?: boolean;
1694
+ globalSearch?: boolean;
1695
+ locale?: boolean;
1696
+ transformTool?: boolean;
1697
+ hotKey?: boolean;
1698
+ menuCollection?: boolean;
1699
+ version?: boolean;
1700
+ autoDetectVersion?: boolean;
1701
+ indexDbCrypt?: boolean;
1702
+ agentSuggest?: boolean;
1703
+ delegate?: boolean;
1704
+ };
1705
+ dateConfig?: {
1706
+ year: string;
1707
+ month: string;
1708
+ day: string;
1709
+ hour: string;
1710
+ date: string;
1711
+ dateTime: string;
1712
+ time: string;
1713
+ customTimeZone?: boolean;
1714
+ };
1715
+ fileConfig?: {
1716
+ uploadFileSize?: number;
1717
+ };
1718
+ };
1719
+ type SYSMGMT_CONFIG_TYPE = {
1720
+ accountConfig: {
1721
+ genderCodeType: string;
1722
+ ediable?: boolean;
1723
+ updatePassword?: boolean;
1724
+ storageClear?: boolean;
1725
+ staffNumberFormat: RegExp;
1726
+ };
1727
+ workflowConfig?: {
1728
+ onStartAutoSelectOwner?: boolean;
1729
+ onStartAutoSelectSkipStep?: boolean;
1730
+ onApproveAutoSelectOwner?: boolean;
1731
+ onApproveAutoSelectSkipStep?: boolean;
1732
+ showWorkingKeepTime?: boolean;
1733
+ todoUserTemplate?: 'multiple' | 'single';
1734
+ showActionOrder?: string[];
1735
+ showSkipTask?: boolean;
1736
+ showUndoTaskBtn?: boolean;
1737
+ showStopTaskBtn?: boolean;
1738
+ };
1739
+ microservicenodes?: {
1740
+ isShowJFR?: boolean;
1741
+ isShowCheck?: boolean;
1742
+ isShowJar?: boolean;
1743
+ isShowDruid?: boolean;
1744
+ };
1745
+ approveRouteMap?: {
1746
+ [name: string]: string;
1747
+ };
1748
+ };
1749
+ type WATER_MARK_CONFIG_TYPE = {
1750
+ fontSize?: number;
1751
+ lightColor?: string;
1752
+ darkColor?: string;
1753
+ alpha?: number;
1754
+ rotate?: number;
1755
+ text?: string;
1756
+ padding?: number;
1757
+ showTime?: boolean;
1758
+ status?: 'none' | 'guest' | 'company' | 'custom';
1759
+ };
1760
+ type THEME_CONFIG_TYPE = {
1761
+ theme?: string;
1762
+ themeType?: 'light' | 'drak';
1763
+ token?: AliasToken;
1764
+ };
1765
+
1766
+ interface GantAxiosRequestConfig extends AxiosRequestConfig {
1767
+ serviceId?: string;
1768
+ }
1769
+ interface InternalAxiosRequestConfig extends GantAxiosRequestConfig {
1770
+ headers: AxiosRequestHeaders;
1771
+ }
1772
+ interface GantServerOptions {
1773
+ serviceId?: string;
1774
+ showSuccess?: boolean;
1775
+ successMessage?: string;
1776
+ showWarning?: boolean;
1777
+ showError?: boolean;
1778
+ getParams?: boolean;
1779
+ isStream?: boolean;
1780
+ dangerParse?: boolean;
1781
+ }
1782
+
1783
+ declare class InterceptorManager<V> {
1784
+ handlers: any[];
1785
+ constructor();
1786
+ /**
1787
+ * Add a new interceptor to the stack
1788
+ *
1789
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
1790
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
1791
+ *
1792
+ * @return {Number} An ID used to remove interceptor later
1793
+ */
1794
+ use(fulfilled?: ((value: V, options?: GantServerOptions) => V | Promise<V>) | null, rejected?: ((error: any, options?: GantServerOptions) => any) | null): number;
1795
+ /**
1796
+ * Remove an interceptor from the stack
1797
+ *
1798
+ * @param {Number} id The ID that was returned by `use`
1799
+ *
1800
+ * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
1801
+ */
1802
+ eject(id: number): void;
1803
+ /**
1804
+ * Clear all interceptors from the stack
1805
+ *
1806
+ * @returns {void}
1807
+ */
1808
+ clear(): void;
1809
+ /**
1810
+ * Iterate over all the registered interceptors
1811
+ *
1812
+ * This method is particularly useful for skipping over any
1813
+ * interceptors that may have become `null` calling `eject`.
1814
+ *
1815
+ * @param {Function} fn The function to call for each interceptor
1816
+ *
1817
+ * @returns {void}
1818
+ */
1819
+ forEach(fn: any): void;
1820
+ }
1821
+
1822
+ type RequestMethodType = <T = any>(url: string, config?: GantAxiosRequestConfig, options?: GantServerOptions) => Promise<T>;
1823
+ type Request = {
1824
+ <T = any>(url: string, config: GantAxiosRequestConfig, options?: GantServerOptions): Promise<T>;
1825
+ } & {
1826
+ post: RequestMethodType;
1827
+ get: RequestMethodType;
1828
+ put: RequestMethodType;
1829
+ delete: RequestMethodType;
1830
+ };
1831
+ declare const request: Request;
1832
+
1833
+ declare const requestInstance: {
1834
+ interceptors: {
1835
+ request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
1836
+ response: InterceptorManager<AxiosResponse<any, any>>;
1837
+ };
1838
+ defaults: Omit<axios.AxiosDefaults<any>, "headers"> & {
1839
+ headers: axios.HeadersDefaults & {
1840
+ [key: string]: axios.AxiosHeaderValue;
1841
+ };
1842
+ };
1843
+ };
1844
+
1845
+ declare class CacheItem {
1846
+ constructor(namespace: string);
1847
+ private cache;
1848
+ get(key: string): any;
1849
+ set(key: string, value: any): any;
1850
+ }
1851
+ declare class proxyCacheConstructor {
1852
+ private static instance;
1853
+ private store;
1854
+ static getInstance(): proxyCacheConstructor;
1855
+ namespace(namespace: string): CacheItem;
1856
+ }
1857
+ declare const expireCache: proxyCacheConstructor;
1858
+
1859
+ declare const emitter: mitt.Emitter<Record<mitt.EventType, unknown>>;
1860
+
1861
+ interface ServerMenu {
1862
+ key: string;
1863
+ id: string;
1864
+ name: string;
1865
+ path: string;
1866
+ icon: string;
1867
+ countKey?: number;
1868
+ parentResourceId: string;
1869
+ type?: string;
1870
+ leaf: boolean;
1871
+ children?: ServerMenu[];
1872
+ }
1873
+ type ServerMenuData = ServerMenu[];
1874
+ type ServerMenuMap = {
1875
+ [name: string]: ServerMenu;
1876
+ };
1877
+ interface UserIdentityType {
1878
+ delegateMode: boolean;
1879
+ locale: string;
1880
+ loginType: string;
1881
+ userLoginName: string;
1882
+ userToken: string;
1883
+ }
1884
+ interface User {
1885
+ extOrganizationIds?: string[];
1886
+ extOrganizationIdsDisplayName?: string[];
1887
+ id: string;
1888
+ isActive: boolean;
1889
+ userLoginName: string;
1890
+ userName: string;
1891
+ pictureId?: string;
1892
+ }
1893
+ type SSOConfigType = {
1894
+ sso?: boolean;
1895
+ ssoUrlSearchParams?: string[];
1896
+ ssoSuccessUrlkey?: string;
1897
+ ssoCheckTokenUrl?: string;
1898
+ ssoLoginUrl?: string;
1899
+ ssologinOutUrl?: string;
1900
+ };
1901
+ type LoginResultData = {
1902
+ traceId?: string;
1903
+ EnableAuthenticator?: boolean;
1904
+ userLoginName: string;
1905
+ Qrcode: string;
1906
+ secondAuthSystemDto: Object;
1907
+ };
1908
+ interface Language {
1909
+ isDefault: boolean;
1910
+ locale: string;
1911
+ name: string;
1912
+ }
1913
+ interface ProductInfo {
1914
+ isProdEnv: boolean;
1915
+ productName: string;
1916
+ }
1917
+
1918
+ declare const MENU_HISTORY_UPDATE = "MENU_HISTORY_UPDATE";
1919
+ declare const MENU_BREADCRUMBS_UPDATE = "MENU_BREADCRUMBS_UPDATE";
1920
+ declare class MenuStore {
1921
+ menuDataMaps: ServerMenuMap;
1922
+ menuData: ServerMenuData;
1923
+ menuMaps: {
1924
+ [name: string]: any;
1925
+ };
1926
+ breadcrumbs: any[];
1927
+ menuHistorys: {
1928
+ pathname: string;
1929
+ name: string;
1930
+ }[];
1931
+ userId?: string;
1932
+ constructor();
1933
+ addListenerMenuHistorys: (listener: (...args: any[]) => void) => void;
1934
+ removeListenerMenuHistorys: (listener: (...args: any[]) => void) => void;
1935
+ addListenerBreadcrumbs: (listener: (...args: any[]) => void) => void;
1936
+ removeListenerBreadcrumbs: (listener: (...args: any[]) => void) => void;
1937
+ menuAuth: (pathname: string) => boolean;
1938
+ getTreeMenuData: (data: ServerMenuData, childrenGroup: {
1939
+ [name: string]: ServerMenuData;
1940
+ }, parentPath?: string) => ServerMenu[];
1941
+ init: (menuData: ServerMenuData, userId: string) => void;
1942
+ updateMenuMaps: (menuMaps: any) => void;
1943
+ updatehistory: (historys: {
1944
+ pathname: string;
1945
+ name: string;
1946
+ }[]) => void;
1947
+ initMenuHistorys: (userId: string) => void;
1948
+ liseterBreadcrumbs: (pathname: string) => void;
1949
+ updateBreadcrumbs: (breadcrumbs: any[]) => void;
1950
+ }
1951
+
1952
+ type LoginMethodType = 'NORMAL_LOGIN' | 'IMAGE_VERIFICATION_CODE_LOGIN' | 'SLIDER_VERIFICATION_LOGIN';
1953
+ interface BaseLoginParams {
1954
+ userLoginName: string;
1955
+ password: string;
1956
+ loginMethod: LoginMethodType;
1957
+ }
1958
+ interface BeforeLoginCheckCodeParams extends BaseLoginParams {
1959
+ code: string;
1960
+ traceId: string;
1961
+ }
1962
+ interface CaptchaCheckParams {
1963
+ uniqueId?: string;
1964
+ xpos?: number;
1965
+ }
1966
+ interface GetValidateCodeParams {
1967
+ codeCount: number;
1968
+ imageHeight?: number;
1969
+ imageWidth?: number;
1970
+ }
1971
+
1972
+ type LoginErrorType = 'passwordError' | 'validateError' | 'passwordExpiration' | 'SLIDER_VERIFICATION_LOGIN';
1973
+ declare class BaseLogin {
1974
+ loginPathname?: string;
1975
+ BASE: string;
1976
+ get baseLoginPathname(): string;
1977
+ tokenValue: string;
1978
+ get isLoginPathname(): boolean;
1979
+ getRealPath: (pathname: string) => string;
1980
+ chekToken: () => Promise<any>;
1981
+ getLoginMethod: () => Promise<any>;
1982
+ redirectBaseLogin: () => Promise<void>;
1983
+ checkPassword: () => Promise<boolean>;
1984
+ refactorToken: () => Promise<void>;
1985
+ login: (params: BaseLoginParams) => Promise<{
1986
+ error?: LoginErrorType | undefined;
1987
+ data?: LoginResultData | undefined;
1988
+ } | undefined>;
1989
+ private baseLogin;
1990
+ loginSuccess: () => void;
1991
+ baseLoginOut: () => Promise<void>;
1992
+ }
1993
+
1994
+ declare class SSOLogin {
1995
+ init(ssoConfig?: SSOConfigType): void;
1996
+ private ssoConfig;
1997
+ isSso: () => Promise<boolean | undefined>;
1998
+ ssoLogin: () => boolean;
1999
+ ssoLoginOut: () => void;
2000
+ }
2001
+
2002
+ declare class ValidateLogin {
2003
+ getValidateCodeImage: (params: GetValidateCodeParams) => Promise<any>;
2004
+ sliderVerificationCodeImage: () => Promise<any>;
2005
+ checkCaptcha: (params: CaptchaCheckParams) => Promise<any>;
2006
+ }
2007
+
2008
+ declare class LoginStore extends BaseLogin {
2009
+ ssoLogin: SSOLogin;
2010
+ validate: ValidateLogin;
2011
+ noCheckPermissionsPath?: string[];
2012
+ constructor();
2013
+ init: (loginConfig?: LOGIN_CONFIG, base?: string) => void;
2014
+ isNoLoginRequiredPage: () => boolean;
2015
+ loginOut: () => Promise<void>;
2016
+ loginAuthentication: (params: BeforeLoginCheckCodeParams) => Promise<void>;
2017
+ redirectLogin: () => Promise<void>;
2018
+ }
2019
+
2020
+ declare class UserStore {
2021
+ userIdentity: UserIdentityType;
2022
+ currentUser: User;
2023
+ isSuperAdmin: boolean;
2024
+ roles: string[];
2025
+ functions: string[];
2026
+ delegations: any[];
2027
+ userSetting: {
2028
+ [type: string]: any;
2029
+ };
2030
+ getUserIdentity(): UserIdentityType;
2031
+ setUserIdentity(identity: Partial<UserIdentityType>): UserIdentityType;
2032
+ clearUserIdentity(): void;
2033
+ setUserAggregateInfo: ({ delegations, roles, functions, isSuperAdmin, currentUser, }: any) => void;
2034
+ getUserSettingType: (dataType: string) => string;
2035
+ getUserSetting: (dataType: string) => Promise<any>;
2036
+ updateUserSetting: (dataType: string, data: any) => Promise<any>;
2037
+ removeUserSetting: (dataType: string) => Promise<void>;
2038
+ getUserInfo: (userId: string) => Promise<any>;
2039
+ }
2040
+
2041
+ interface ParameterItem {
2042
+ catalog: string;
2043
+ description: string;
2044
+ id: string;
2045
+ name: string;
2046
+ optCounter: number;
2047
+ type: string;
2048
+ value: string;
2049
+ }
2050
+ type ParameterList = ParameterItem[];
2051
+ type ParameterMaps = {
2052
+ [name: string]: ParameterItem;
2053
+ };
2054
+
2055
+ interface CodeTypeGroup {
2056
+ codeTypeId: string;
2057
+ id: string;
2058
+ isGroup: boolean;
2059
+ name: string;
2060
+ type: string;
2061
+ typeName: string;
2062
+ value: string;
2063
+ }
2064
+ interface CodeTypeChild extends CodeTypeGroup {
2065
+ groupId: string;
2066
+ }
2067
+ type CodeTypeItem = CodeTypeChild | CodeTypeGroup;
2068
+ type CodeList = CodeTypeItem[];
2069
+ type CodeMaps = {
2070
+ [name: string]: CodeList;
2071
+ };
2072
+
2073
+ interface WEBSOCKETRECROD {
2074
+ id: string;
2075
+ recipientType: string;
2076
+ recipientCode: string;
2077
+ title?: string;
2078
+ status?: '01' | '00';
2079
+ senderName?: string;
2080
+ senderTime?: string;
2081
+ content: string;
2082
+ linkUri?: string;
2083
+ linkName?: string;
2084
+ progress?: number;
2085
+ }
2086
+ declare const WS_CONTENT_SUCCESS = "WS_CONTENT_SUCCESS";
2087
+ declare const WS_CONTENT_ERROR = "WS_CONTENT_ERROR";
2088
+ declare const WS_CONTENT_CLOSE = "WS_CONTENT_CLOSE";
2089
+ type GantWebSocketOptions = {
2090
+ disReconnect?: boolean;
2091
+ repeatLimit?: null | undefined | number;
2092
+ };
2093
+ declare class GantWebSocket {
2094
+ RECIPIENT_TYPE_ALL: string;
2095
+ RECIPIENT_TYPE_USER: string;
2096
+ RECIPIENT_TYPE_OBSERVER: string;
2097
+ RECIPIENT_TYPE_CONNECTION: string;
2098
+ private webSocketUrl;
2099
+ private ws;
2100
+ private repeat;
2101
+ private connectLoading;
2102
+ private disReconnect;
2103
+ private pingTimeoutFn;
2104
+ private pongTimeoutFn;
2105
+ private reconnectFn;
2106
+ private repeatLimit;
2107
+ connectionId: string;
2108
+ private userLoginName;
2109
+ private eventStack;
2110
+ constructor();
2111
+ init: (userLoginName: string, options?: GantWebSocketOptions) => void;
2112
+ createWebSocket: () => void;
2113
+ reconnect: () => void;
2114
+ heartCheck: () => void;
2115
+ heartReset: () => void;
2116
+ disconnect: () => void;
2117
+ registerEvent: () => void;
2118
+ addTypeListener: (type: string | string[], event: (data: WEBSOCKETRECROD) => void) => string;
2119
+ removeListener: (id: string | string[]) => void;
2120
+ }
2121
+ declare const websocket: GantWebSocket;
2122
+
2123
+ declare const PROGRESS_UPDEDATE = "PROGRESS_UPDEDATE";
2124
+ declare class GantProgress {
2125
+ websocketId: string;
2126
+ private progressObserver;
2127
+ constructor();
2128
+ progressEvent(data: WEBSOCKETRECROD): void;
2129
+ updedataProgress(): void;
2130
+ addProgressListener(type: string, options?: any): string;
2131
+ removeProgressListener(id: string): void;
2132
+ requestProgress(url: string, options?: {
2133
+ params?: any;
2134
+ success?: (params: any) => void;
2135
+ error?: (error: any) => void;
2136
+ headers?: any;
2137
+ getParams?: boolean;
2138
+ }): Promise<void>;
2139
+ }
2140
+ declare const Progress: GantProgress;
2141
+
2142
+ declare class GlobalStoreClass {
2143
+ userStore: UserStore;
2144
+ menuStore: MenuStore;
2145
+ loginStore: LoginStore;
2146
+ isSuperAdmin: boolean;
2147
+ loginCallback?: () => void;
2148
+ constructor();
2149
+ platformLanguages: Language[];
2150
+ productInfo: ProductInfo;
2151
+ get isPrd(): boolean;
2152
+ get userInfo(): User;
2153
+ get menuData(): ServerMenuData;
2154
+ findPlantform: () => Promise<void>;
2155
+ getAggregateInfo: () => Promise<void>;
2156
+ init: (options: {
2157
+ loginConfig?: LOGIN_CONFIG;
2158
+ base?: string;
2159
+ }) => Promise<boolean>;
2160
+ }
2161
+ declare const globalStore: GlobalStoreClass;
2162
+
2163
+ declare class CompanyData {
2164
+ data: any;
2165
+ getCompanyDataType: (dataType: string) => string;
2166
+ getCompanyData: (dataType: string) => Promise<any>;
2167
+ updateCompanyData: (dataType: string, data: any) => Promise<any>;
2168
+ removeCompanyData: (dataType: string) => Promise<void>;
2169
+ }
2170
+ declare const _default$1: CompanyData;
2171
+
2172
+ declare const storage: {
2173
+ storage: Storage;
2174
+ prefixKey?: string | undefined;
2175
+ getKey(key: string): string;
2176
+ /**
2177
+ * @description 设置缓存
2178
+ * @param {string} key 缓存键
2179
+ * @param {*} value 缓存值
2180
+ * @param expire
2181
+ */
2182
+ set(key: string, value: any, expire?: number | null): void;
2183
+ /**
2184
+ * 读取缓存
2185
+ * @param {string} key 缓存键
2186
+ * @param {*=} def 默认值
2187
+ */
2188
+ get(key: string, def?: any): any;
2189
+ /**
2190
+ * 从缓存删除某项
2191
+ * @param {string} key
2192
+ */
2193
+ remove(key: string): void;
2194
+ /**
2195
+ * 清空所有缓存
2196
+ * @memberOf Cache
2197
+ */
2198
+ clear(): void;
2199
+ /**
2200
+ * 设置cookie
2201
+ * @param {string} name cookie 名称
2202
+ * @param {*} value cookie 值
2203
+ * @param {number=} expire 过期时间
2204
+ * 如果过期时间未设置,默认关闭浏览器自动删除
2205
+ * @example
2206
+ */
2207
+ setCookie(name: string, value: any, expire?: number | null): void;
2208
+ /**
2209
+ * 根据名字获取cookie值
2210
+ * @param name
2211
+ */
2212
+ getCookie(name: string): string;
2213
+ /**
2214
+ * 根据名字删除指定的cookie
2215
+ * @param {string} key
2216
+ */
2217
+ removeCookie(key: string): void;
2218
+ /**
2219
+ * 清空cookie,使所有cookie失效
2220
+ */
2221
+ clearCookie(): void;
2222
+ };
2223
+
2224
+ declare const codeListStore: {
2225
+ codeLists: CodeList;
2226
+ codeMaps: CodeMaps;
2227
+ findAllCodeList(): Promise<void>;
2228
+ getCodeLocaleList: (codeType: string) => CodeTypeItem[];
2229
+ getCodeLocaleName: (codeType: string, value: string) => string;
2230
+ };
2231
+ declare const parameterStore: {
2232
+ parameterList: ParameterList;
2233
+ parameterMap: ParameterMaps;
2234
+ findAllParameters(): Promise<void>;
2235
+ getSystemParameterByName(name: string | string[]): ParameterItem | Pick<ParameterMaps, string>;
2236
+ };
2237
+ declare const userStore: UserStore;
2238
+ declare const loginStore: LoginStore;
2239
+ declare const menuStore: MenuStore;
2240
+
2241
+ declare function toBase64(key: string): string;
2242
+ declare function getMaskHeaderKey(): string;
2243
+ declare function getSecretKey(hexStr: string): string;
2244
+ /**
2245
+ * AES加密
2246
+ * @param plainText 明文
2247
+ * @param keyInBase64Str base64编码后的key
2248
+ * @param ivInBase64Str base64编码后的初始化向量(只有CBC模式下才支持)
2249
+ * @return base64编码后的密文
2250
+ */
2251
+ declare function encryptByAES(plainText: any, keyInBase64Str: string, ivInBase64Str: string): string;
2252
+ /**
2253
+ * AES解密
2254
+ * @param cipherText 密文
2255
+ * @param keyInBase64Str base64编码后的key
2256
+ * @param ivInBase64Str base64编码后的初始化向量(只有CBC模式下才支持)
2257
+ * @return 明文
2258
+ */
2259
+ declare function decryptByAES(cipherText: string, keyInBase64Str: string, ivInBase64Str: string): string;
2260
+
2261
+ declare const initDynamicLang: (language: string, options?: {
2262
+ i18n?: boolean;
2263
+ i18nInitOptions?: InitOptions;
2264
+ i18nCallback?: Callback;
2265
+ }) => Promise<i18next.i18n | null>;
2266
+ declare const tr: (key: string, agrs?: string[], type?: 'fe' | 'workflow') => any;
2267
+ declare const getLocaleKey: () => any;
2268
+ declare const setLocaleKey: (locale: string) => string;
2269
+
2270
+ declare const _default: ({ microServiceMap, secret, loginConfig, getLocaleKey, }: {
2271
+ microServiceMap?: any;
2272
+ secret?: boolean | undefined;
2273
+ locale?: string | undefined;
2274
+ loginConfig?: LOGIN_CONFIG | undefined;
2275
+ getLocaleKey: () => string;
2276
+ }) => Promise<boolean>;
2277
+
2278
+ export { type AliasToken, type BASE_CONFIG_TYPE, type CONFIG_TYPE, type ColorMapToken, type ColorNeutralMapToken, type ColorPalettes, type CommonMapToken, type DerivativeFunc, type FontMapToken, type GantAxiosRequestConfig, type GantServerOptions, type GlobalToken, type HeightMapToken, type InternalAxiosRequestConfig, type LegacyColorPalettes, type MAIN_CONFIG_TYPE, MENU_BREADCRUMBS_UPDATE, MENU_HISTORY_UPDATE, type MapToken, type MappingAlgorithm, PROGRESS_UPDEDATE, type PresetColorKey, type PresetColorType, PresetColors, type SYSMGMT_CONFIG_TYPE, type SeedToken, type SizeMapToken, type StyleMapToken, type THEME_CONFIG_TYPE, type ThemeType, type TokenType, type GantUserConfig as UserConfig, WS_CONTENT_CLOSE, WS_CONTENT_ERROR, WS_CONTENT_SUCCESS, codeListStore, derivative as compactAlgorithm, _default$1 as companydataStore, derivative$1 as darkAlgorithm, decryptByAES, derivative$2 as defaultAlgorithm, emitter, encryptByAES, expireCache, formatToken as formatAliasToken, getAliasToken, getLocaleKey, getMaskHeaderKey, getSecretKey, globalStore, _default as init, initDynamicLang, lighten, loginStore, mapTheme, menuStore, parameterStore, Progress as progress, request as requeset, requestInstance, restCssVar, seedToken as seed, setCssVar, setLocaleKey, storage as storageStore, toBase64, token, tr, userStore, websocket };