x-next 1.3.1 → 1.4.0
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/AI_USAGE.md +2 -2
- package/CHANGELOG.md +36 -0
- package/dist/_utils/constant.d.ts +1 -1
- package/dist/_utils/palette.d.ts +6 -14
- package/dist/components/alert/Alert.vue.d.ts +9 -9
- package/dist/components/alert/index.d.ts +6 -6
- package/dist/components/button/ButtonGroup.vue.d.ts +22 -18
- package/dist/components/date-picker/DatePanel.vue.d.ts +342 -1
- package/dist/components/date-picker/DatePicker.vue.d.ts +343 -2
- package/dist/components/date-picker/index.d.ts +1765 -1083
- package/dist/components/form-input-tag/index.d.ts +26 -25
- package/dist/components/form-input-tag/interface.d.ts +8 -0
- package/dist/components/link/Link.vue.d.ts +4 -4
- package/dist/components/link/index.d.ts +6 -6
- package/dist/components/message/index.d.ts +3 -3
- package/dist/components/message/message.vue.d.ts +1 -1
- package/dist/components/notification/Notification.d.ts +1 -1
- package/dist/components/notification/index.d.ts +3 -3
- package/dist/components/popconfirm/src/types.d.ts +1 -1
- package/dist/components/progress/Progress.vue.d.ts +3 -3
- package/dist/components/progress/index.d.ts +3 -3
- package/dist/components/tag/Tag.vue.d.ts +14 -0
- package/dist/components/tag/index.d.ts +9 -0
- package/dist/components/tag/interface.d.ts +5 -0
- package/dist/components/trend-chart/components/TrendChart.d.ts +127 -17
- package/dist/components/trend-chart/components/trend-chart-curve.d.ts +27 -7
- package/dist/components/trend-chart/components/trend-chart-labels.d.ts +4 -0
- package/dist/components/trend-chart/helpers/getPadding.d.ts +3 -2
- package/dist/components/trend-chart/index.d.ts +223 -28
- package/dist/components/trend-chart/props.d.ts +63 -5
- package/dist/es/_styles/palette-aliases.js +182 -127
- package/dist/es/_utils/palette.js +49 -43
- package/dist/es/components/_components/picker/input-range.vue2.js +10 -10
- package/dist/es/components/_components/picker/input.vue2.js +20 -20
- package/dist/es/components/_components/select-view/select-view.js +2 -2
- package/dist/es/components/alert/Alert.vue.js +2 -2
- package/dist/es/components/alert/Alert.vue2.js +21 -20
- package/dist/es/components/button/Button.js +17 -17
- package/dist/es/components/button/ButtonGroup.vue2.js +11 -9
- package/dist/es/components/date-picker/DatePanel.vue.js +71 -62
- package/dist/es/components/date-picker/DatePanel.vue2.js +50 -40
- package/dist/es/components/date-picker/DatePicker.vue2.js +1 -1
- package/dist/es/components/form/form-item-label.vue.js +25 -22
- package/dist/es/components/form/form-item-label.vue2.js +1 -1
- package/dist/es/components/form-checkbox/icon-check.js +12 -43
- package/dist/es/components/form-input/InputPassword.vue2.js +2 -2
- package/dist/es/components/form-input/InputSearch.js +1 -1
- package/dist/es/components/form-input-number/InputNumber.js +4 -4
- package/dist/es/components/form-input-tag/InputTag.js +168 -147
- package/dist/es/components/form-input-tag/utils.js +21 -19
- package/dist/es/components/form-textarea/Textarea.vue2.js +1 -1
- package/dist/es/components/link/Link.vue2.js +1 -1
- package/dist/es/components/popconfirm/src/popup.vue.js +1 -1
- package/dist/es/components/progress/Progress.vue2.js +1 -1
- package/dist/es/components/table/Table.js +1 -1
- package/dist/es/components/table/table-th.js +2 -2
- package/dist/es/components/tabs/tabs-button.js +2 -2
- package/dist/es/components/tabs/tabs-nav.js +1 -1
- package/dist/es/components/tag/Tag.vue.js +20 -20
- package/dist/es/components/tag/Tag.vue2.js +35 -28
- package/dist/es/components/time-picker/TimePanel.vue.js +30 -29
- package/dist/es/components/time-picker/TimePicker.vue2.js +1 -1
- package/dist/es/components/time-picker/TimeRangePanel.js +26 -23
- package/dist/es/components/trend-chart/components/TrendChart.js +208 -142
- package/dist/es/components/trend-chart/components/trend-chart-curve.js +124 -59
- package/dist/es/components/trend-chart/components/trend-chart-labels.js +43 -41
- package/dist/es/components/trend-chart/helpers/getPadding.js +3 -3
- package/dist/es/components/trend-chart/props.js +101 -33
- package/dist/es/components/trend-chart/themes.js +15 -15
- package/dist/es/components/watermark/controller.js +40 -40
- package/dist/es/icons/default/calendar.js +15 -0
- package/dist/es/icons/default/clock-circle.js +15 -0
- package/dist/es/icons/default/double-left.js +15 -0
- package/dist/es/icons/default/double-right.js +15 -0
- package/dist/es/icons/default/down.js +16 -0
- package/dist/es/icons/default/eye-invisible.js +20 -0
- package/dist/es/icons/default/eye.js +18 -0
- package/dist/es/icons/default/left.js +15 -0
- package/dist/es/icons/default/minus.js +16 -0
- package/dist/es/icons/default/plus.js +16 -0
- package/dist/es/icons/default/question-circle.js +18 -0
- package/dist/es/icons/default/right.js +15 -0
- package/dist/es/icons/default/search.js +16 -0
- package/dist/es/icons/default/up.js +16 -0
- package/dist/es/icons/icon.js +26 -25
- package/dist/es/icons/public/boxicons/basic.js +1893 -0
- package/dist/es/icons/public/boxicons/brands.js +304 -0
- package/dist/es/icons/public/boxicons/filled.js +1893 -0
- package/dist/es/icons/public/boxicons/index.js +24 -0
- package/dist/es/icons/public/boxicons/names.js +4082 -0
- package/dist/es/icons/registry.js +15 -15
- package/dist/es/style.css +1 -1
- package/dist/icons/default/calendar.d.ts +93 -0
- package/dist/icons/default/clock-circle.d.ts +93 -0
- package/dist/icons/{_self/down.d.ts → default/double-left.d.ts} +6 -0
- package/dist/icons/{_self/eye-invisible.d.ts → default/double-right.d.ts} +6 -0
- package/dist/icons/default/down.d.ts +93 -0
- package/dist/icons/default/eye-invisible.d.ts +93 -0
- package/dist/icons/default/eye.d.ts +93 -0
- package/dist/icons/{_self/eye.d.ts → default/left.d.ts} +7 -0
- package/dist/icons/default/minus.d.ts +93 -0
- package/dist/icons/{_self → default}/plus.d.ts +7 -0
- package/dist/icons/default/question-circle.d.ts +93 -0
- package/dist/icons/{_self/minus.d.ts → default/right.d.ts} +7 -0
- package/dist/icons/{_self → default}/search.d.ts +7 -0
- package/dist/icons/{_self → default}/up.d.ts +7 -0
- package/dist/icons/public/boxicons/basic.cjs +1 -0
- package/dist/icons/public/boxicons/basic.d.ts +2 -0
- package/dist/icons/public/boxicons/brands.cjs +1 -0
- package/dist/icons/public/boxicons/brands.d.ts +2 -0
- package/dist/icons/public/boxicons/filled.cjs +1 -0
- package/dist/icons/public/boxicons/filled.d.ts +2 -0
- package/dist/icons/public/boxicons/index.cjs +1 -0
- package/dist/icons/public/boxicons/index.d.ts +10 -0
- package/dist/icons/public/boxicons/names.d.ts +10 -0
- package/dist/icons/registry.d.ts +5 -0
- package/dist/index.cjs +4 -4
- package/dist/index.umd.js +4 -4
- package/dist/style/alert.css +1 -1
- package/dist/style/base.css +1 -1
- package/dist/style/button.css +1 -1
- package/dist/style/date-picker.css +1 -1
- package/dist/style/dialog.css +1 -1
- package/dist/style/drawer.css +1 -1
- package/dist/style/dropdown.css +1 -1
- package/dist/style/form-input-number.css +1 -1
- package/dist/style/form-input-tag.css +1 -1
- package/dist/style/form-input.css +1 -1
- package/dist/style/form-radio.css +1 -1
- package/dist/style/form-select.css +1 -1
- package/dist/style/form-textarea.css +1 -1
- package/dist/style/form.css +1 -1
- package/dist/style/link.css +1 -1
- package/dist/style/menu.css +1 -1
- package/dist/style/message-box.css +1 -1
- package/dist/style/network.css +1 -1
- package/dist/style/popconfirm.css +1 -1
- package/dist/style/popover.css +1 -1
- package/dist/style/popup.css +1 -1
- package/dist/style/progress.css +1 -1
- package/dist/style/rate.css +1 -1
- package/dist/style/spin.css +1 -1
- package/dist/style/steps.css +1 -1
- package/dist/style/table.css +1 -1
- package/dist/style/tag.css +1 -1
- package/dist/style/time-picker.css +1 -1
- package/dist/style/time-range-selector.css +1 -1
- package/dist/style.css +1 -1
- package/package.json +30 -4
- package/dist/es/icons/_self/down.js +0 -16
- package/dist/es/icons/_self/eye-invisible.js +0 -13
- package/dist/es/icons/_self/eye.js +0 -13
- package/dist/es/icons/_self/minus.js +0 -13
- package/dist/es/icons/_self/plus.js +0 -12
- package/dist/es/icons/_self/question-message.js +0 -12
- package/dist/es/icons/_self/search.js +0 -13
- package/dist/es/icons/_self/up.js +0 -16
- package/dist/es/icons/_ui/calendar.js +0 -13
- package/dist/es/icons/_ui/time.js +0 -12
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const InputTag: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
3
|
modelValue: {
|
|
4
|
-
type: import('vue').PropType<(string | number | import('./interface
|
|
4
|
+
type: import('vue').PropType<(string | number | import('./interface').TagData)[]>;
|
|
5
5
|
};
|
|
6
6
|
defaultValue: {
|
|
7
|
-
type: import('vue').PropType<(string | number | import('./interface
|
|
7
|
+
type: import('vue').PropType<(string | number | import('./interface').TagData)[]>;
|
|
8
8
|
default: () => never[];
|
|
9
9
|
};
|
|
10
10
|
inputValue: StringConstructor;
|
|
@@ -44,14 +44,14 @@ export declare const InputTag: {
|
|
|
44
44
|
default: boolean;
|
|
45
45
|
};
|
|
46
46
|
formatTag: {
|
|
47
|
-
type: import('vue').PropType<(data: import('./interface
|
|
47
|
+
type: import('vue').PropType<(data: import('./interface').TagData) => string>;
|
|
48
48
|
};
|
|
49
49
|
uniqueValue: {
|
|
50
50
|
type: BooleanConstructor;
|
|
51
51
|
default: boolean;
|
|
52
52
|
};
|
|
53
53
|
fieldNames: {
|
|
54
|
-
type: import('vue').PropType<import('./interface
|
|
54
|
+
type: import('vue').PropType<import('./interface').InputTagFieldNames>;
|
|
55
55
|
};
|
|
56
56
|
tagNowrap: {
|
|
57
57
|
type: BooleanConstructor;
|
|
@@ -68,8 +68,8 @@ export declare const InputTag: {
|
|
|
68
68
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
|
69
69
|
onRemove?: ((removed: string | number, ev: Event) => any) | undefined;
|
|
70
70
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
71
|
-
onChange?: ((value: (string | number | import('./interface
|
|
72
|
-
"onUpdate:modelValue"?: ((value: (string | number | import('./interface
|
|
71
|
+
onChange?: ((value: (string | number | import('./interface').TagData)[], ev: Event) => any) | undefined;
|
|
72
|
+
"onUpdate:modelValue"?: ((value: (string | number | import('./interface').TagData)[]) => any) | undefined;
|
|
73
73
|
onPressEnter?: ((inputValue: string, ev: KeyboardEvent) => any) | undefined;
|
|
74
74
|
"onUpdate:inputValue"?: ((inputValue: string) => any) | undefined;
|
|
75
75
|
onInputValueChange?: ((inputValue: string, ev: Event) => any) | undefined;
|
|
@@ -80,9 +80,9 @@ export declare const InputTag: {
|
|
|
80
80
|
focus(): void;
|
|
81
81
|
blur(): void;
|
|
82
82
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
83
|
-
'update:modelValue': (value: (string | number | import('./interface
|
|
83
|
+
'update:modelValue': (value: (string | number | import('./interface').TagData)[]) => true;
|
|
84
84
|
'update:inputValue': (inputValue: string) => true;
|
|
85
|
-
change: (value: (string | number | import('./interface
|
|
85
|
+
change: (value: (string | number | import('./interface').TagData)[], ev: Event) => true;
|
|
86
86
|
inputValueChange: (inputValue: string, ev: Event) => true;
|
|
87
87
|
pressEnter: (inputValue: string, ev: KeyboardEvent) => true;
|
|
88
88
|
remove: (removed: string | number, ev: Event) => true;
|
|
@@ -94,7 +94,7 @@ export declare const InputTag: {
|
|
|
94
94
|
error: boolean;
|
|
95
95
|
readonly: boolean;
|
|
96
96
|
disabled: boolean;
|
|
97
|
-
defaultValue: (string | number | import('./interface
|
|
97
|
+
defaultValue: (string | number | import('./interface').TagData)[];
|
|
98
98
|
focused: boolean;
|
|
99
99
|
allowClear: boolean;
|
|
100
100
|
disabledInput: boolean;
|
|
@@ -116,10 +116,10 @@ export declare const InputTag: {
|
|
|
116
116
|
Defaults: {};
|
|
117
117
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
118
118
|
modelValue: {
|
|
119
|
-
type: import('vue').PropType<(string | number | import('./interface
|
|
119
|
+
type: import('vue').PropType<(string | number | import('./interface').TagData)[]>;
|
|
120
120
|
};
|
|
121
121
|
defaultValue: {
|
|
122
|
-
type: import('vue').PropType<(string | number | import('./interface
|
|
122
|
+
type: import('vue').PropType<(string | number | import('./interface').TagData)[]>;
|
|
123
123
|
default: () => never[];
|
|
124
124
|
};
|
|
125
125
|
inputValue: StringConstructor;
|
|
@@ -159,14 +159,14 @@ export declare const InputTag: {
|
|
|
159
159
|
default: boolean;
|
|
160
160
|
};
|
|
161
161
|
formatTag: {
|
|
162
|
-
type: import('vue').PropType<(data: import('./interface
|
|
162
|
+
type: import('vue').PropType<(data: import('./interface').TagData) => string>;
|
|
163
163
|
};
|
|
164
164
|
uniqueValue: {
|
|
165
165
|
type: BooleanConstructor;
|
|
166
166
|
default: boolean;
|
|
167
167
|
};
|
|
168
168
|
fieldNames: {
|
|
169
|
-
type: import('vue').PropType<import('./interface
|
|
169
|
+
type: import('vue').PropType<import('./interface').InputTagFieldNames>;
|
|
170
170
|
};
|
|
171
171
|
tagNowrap: {
|
|
172
172
|
type: BooleanConstructor;
|
|
@@ -183,8 +183,8 @@ export declare const InputTag: {
|
|
|
183
183
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
|
184
184
|
onRemove?: ((removed: string | number, ev: Event) => any) | undefined;
|
|
185
185
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
186
|
-
onChange?: ((value: (string | number | import('./interface
|
|
187
|
-
"onUpdate:modelValue"?: ((value: (string | number | import('./interface
|
|
186
|
+
onChange?: ((value: (string | number | import('./interface').TagData)[], ev: Event) => any) | undefined;
|
|
187
|
+
"onUpdate:modelValue"?: ((value: (string | number | import('./interface').TagData)[]) => any) | undefined;
|
|
188
188
|
onPressEnter?: ((inputValue: string, ev: KeyboardEvent) => any) | undefined;
|
|
189
189
|
"onUpdate:inputValue"?: ((inputValue: string) => any) | undefined;
|
|
190
190
|
onInputValueChange?: ((inputValue: string, ev: Event) => any) | undefined;
|
|
@@ -198,7 +198,7 @@ export declare const InputTag: {
|
|
|
198
198
|
error: boolean;
|
|
199
199
|
readonly: boolean;
|
|
200
200
|
disabled: boolean;
|
|
201
|
-
defaultValue: (string | number | import('./interface
|
|
201
|
+
defaultValue: (string | number | import('./interface').TagData)[];
|
|
202
202
|
focused: boolean;
|
|
203
203
|
allowClear: boolean;
|
|
204
204
|
disabledInput: boolean;
|
|
@@ -217,10 +217,10 @@ export declare const InputTag: {
|
|
|
217
217
|
__isSuspense?: never;
|
|
218
218
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
219
219
|
modelValue: {
|
|
220
|
-
type: import('vue').PropType<(string | number | import('./interface
|
|
220
|
+
type: import('vue').PropType<(string | number | import('./interface').TagData)[]>;
|
|
221
221
|
};
|
|
222
222
|
defaultValue: {
|
|
223
|
-
type: import('vue').PropType<(string | number | import('./interface
|
|
223
|
+
type: import('vue').PropType<(string | number | import('./interface').TagData)[]>;
|
|
224
224
|
default: () => never[];
|
|
225
225
|
};
|
|
226
226
|
inputValue: StringConstructor;
|
|
@@ -260,14 +260,14 @@ export declare const InputTag: {
|
|
|
260
260
|
default: boolean;
|
|
261
261
|
};
|
|
262
262
|
formatTag: {
|
|
263
|
-
type: import('vue').PropType<(data: import('./interface
|
|
263
|
+
type: import('vue').PropType<(data: import('./interface').TagData) => string>;
|
|
264
264
|
};
|
|
265
265
|
uniqueValue: {
|
|
266
266
|
type: BooleanConstructor;
|
|
267
267
|
default: boolean;
|
|
268
268
|
};
|
|
269
269
|
fieldNames: {
|
|
270
|
-
type: import('vue').PropType<import('./interface
|
|
270
|
+
type: import('vue').PropType<import('./interface').InputTagFieldNames>;
|
|
271
271
|
};
|
|
272
272
|
tagNowrap: {
|
|
273
273
|
type: BooleanConstructor;
|
|
@@ -284,8 +284,8 @@ export declare const InputTag: {
|
|
|
284
284
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
|
285
285
|
onRemove?: ((removed: string | number, ev: Event) => any) | undefined;
|
|
286
286
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
287
|
-
onChange?: ((value: (string | number | import('./interface
|
|
288
|
-
"onUpdate:modelValue"?: ((value: (string | number | import('./interface
|
|
287
|
+
onChange?: ((value: (string | number | import('./interface').TagData)[], ev: Event) => any) | undefined;
|
|
288
|
+
"onUpdate:modelValue"?: ((value: (string | number | import('./interface').TagData)[]) => any) | undefined;
|
|
289
289
|
onPressEnter?: ((inputValue: string, ev: KeyboardEvent) => any) | undefined;
|
|
290
290
|
"onUpdate:inputValue"?: ((inputValue: string) => any) | undefined;
|
|
291
291
|
onInputValueChange?: ((inputValue: string, ev: Event) => any) | undefined;
|
|
@@ -296,9 +296,9 @@ export declare const InputTag: {
|
|
|
296
296
|
focus(): void;
|
|
297
297
|
blur(): void;
|
|
298
298
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
299
|
-
'update:modelValue': (value: (string | number | import('./interface
|
|
299
|
+
'update:modelValue': (value: (string | number | import('./interface').TagData)[]) => true;
|
|
300
300
|
'update:inputValue': (inputValue: string) => true;
|
|
301
|
-
change: (value: (string | number | import('./interface
|
|
301
|
+
change: (value: (string | number | import('./interface').TagData)[], ev: Event) => true;
|
|
302
302
|
inputValueChange: (inputValue: string, ev: Event) => true;
|
|
303
303
|
pressEnter: (inputValue: string, ev: KeyboardEvent) => true;
|
|
304
304
|
remove: (removed: string | number, ev: Event) => true;
|
|
@@ -310,7 +310,7 @@ export declare const InputTag: {
|
|
|
310
310
|
error: boolean;
|
|
311
311
|
readonly: boolean;
|
|
312
312
|
disabled: boolean;
|
|
313
|
-
defaultValue: (string | number | import('./interface
|
|
313
|
+
defaultValue: (string | number | import('./interface').TagData)[];
|
|
314
314
|
focused: boolean;
|
|
315
315
|
allowClear: boolean;
|
|
316
316
|
disabledInput: boolean;
|
|
@@ -327,3 +327,4 @@ export declare const InputTag: {
|
|
|
327
327
|
install(app: import('vue').App): void;
|
|
328
328
|
};
|
|
329
329
|
export { InputTag as default };
|
|
330
|
+
export type { TagData, InputTagFieldNames, InputTagInstance } from './interface';
|
|
@@ -26,7 +26,15 @@ export interface TagData {
|
|
|
26
26
|
export type InputTagFieldNames = FieldString<TagData>;
|
|
27
27
|
export interface TagDataInfo extends TagData {
|
|
28
28
|
raw: Record<string, unknown>;
|
|
29
|
+
originalIndex: number;
|
|
29
30
|
value: string | number;
|
|
30
31
|
label: string;
|
|
31
32
|
closable: boolean;
|
|
32
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* InputTag 实例暴露的方法
|
|
36
|
+
*/
|
|
37
|
+
export interface InputTagInstance {
|
|
38
|
+
focus: () => void;
|
|
39
|
+
blur: () => void;
|
|
40
|
+
}
|
|
@@ -9,7 +9,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
9
9
|
/**
|
|
10
10
|
* @zh 链接的状态
|
|
11
11
|
* @en Link status
|
|
12
|
-
* @values 'normal','warning','success','danger'
|
|
12
|
+
* @values 'normal','warning','success','danger','strong'
|
|
13
13
|
*/
|
|
14
14
|
status: {
|
|
15
15
|
type: PropType<Status>;
|
|
@@ -79,7 +79,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
79
79
|
/**
|
|
80
80
|
* @zh 链接的状态
|
|
81
81
|
* @en Link status
|
|
82
|
-
* @values 'normal','warning','success','danger'
|
|
82
|
+
* @values 'normal','warning','success','danger','strong'
|
|
83
83
|
*/
|
|
84
84
|
status: {
|
|
85
85
|
type: PropType<Status>;
|
|
@@ -119,11 +119,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
119
119
|
}>> & Readonly<{
|
|
120
120
|
onClick?: ((ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
121
121
|
}>, {
|
|
122
|
+
strong: boolean;
|
|
122
123
|
disabled: boolean;
|
|
123
124
|
icon: boolean;
|
|
124
125
|
loading: boolean;
|
|
125
|
-
|
|
126
|
-
status: "normal" | "success" | "warning" | "danger";
|
|
126
|
+
status: "normal" | "success" | "warning" | "strong" | "danger";
|
|
127
127
|
hoverable: boolean;
|
|
128
128
|
}, {}, {
|
|
129
129
|
IconLink: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -35,11 +35,11 @@ export declare const Link: {
|
|
|
35
35
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
36
|
click: (ev: MouseEvent | KeyboardEvent) => true;
|
|
37
37
|
}, import('vue').PublicProps, {
|
|
38
|
+
strong: boolean;
|
|
38
39
|
disabled: boolean;
|
|
39
40
|
icon: boolean;
|
|
40
41
|
loading: boolean;
|
|
41
|
-
|
|
42
|
-
status: "normal" | "success" | "warning" | "danger";
|
|
42
|
+
status: "normal" | "success" | "warning" | "strong" | "danger";
|
|
43
43
|
hoverable: boolean;
|
|
44
44
|
}, true, {}, {}, {
|
|
45
45
|
IconLink: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -253,11 +253,11 @@ export declare const Link: {
|
|
|
253
253
|
handleClick: (ev: MouseEvent) => void;
|
|
254
254
|
handleKeyDown: (ev: KeyboardEvent) => void;
|
|
255
255
|
}, {}, {}, {}, {
|
|
256
|
+
strong: boolean;
|
|
256
257
|
disabled: boolean;
|
|
257
258
|
icon: boolean;
|
|
258
259
|
loading: boolean;
|
|
259
|
-
|
|
260
|
-
status: "normal" | "success" | "warning" | "danger";
|
|
260
|
+
status: "normal" | "success" | "warning" | "strong" | "danger";
|
|
261
261
|
hoverable: boolean;
|
|
262
262
|
}>;
|
|
263
263
|
__isFragment?: never;
|
|
@@ -299,11 +299,11 @@ export declare const Link: {
|
|
|
299
299
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
300
300
|
click: (ev: MouseEvent | KeyboardEvent) => true;
|
|
301
301
|
}, string, {
|
|
302
|
+
strong: boolean;
|
|
302
303
|
disabled: boolean;
|
|
303
304
|
icon: boolean;
|
|
304
305
|
loading: boolean;
|
|
305
|
-
|
|
306
|
-
status: "normal" | "success" | "warning" | "danger";
|
|
306
|
+
status: "normal" | "success" | "warning" | "strong" | "danger";
|
|
307
307
|
hoverable: boolean;
|
|
308
308
|
}, {}, string, {}, {
|
|
309
309
|
IconLink: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -81,7 +81,7 @@ export declare const Message: {
|
|
|
81
81
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
82
82
|
id: string | number;
|
|
83
83
|
center: boolean;
|
|
84
|
-
type: "normal" | "success" | "warning" | "
|
|
84
|
+
type: "normal" | "success" | "warning" | "strong" | "info" | "error" | "loading";
|
|
85
85
|
showIcon: boolean;
|
|
86
86
|
onClose: (id?: string | number) => void;
|
|
87
87
|
duration: number;
|
|
@@ -834,7 +834,7 @@ export declare const Message: {
|
|
|
834
834
|
}, {}, {}, {}, {
|
|
835
835
|
id: string | number;
|
|
836
836
|
center: boolean;
|
|
837
|
-
type: "normal" | "success" | "warning" | "
|
|
837
|
+
type: "normal" | "success" | "warning" | "strong" | "info" | "error" | "loading";
|
|
838
838
|
showIcon: boolean;
|
|
839
839
|
onClose: (id?: string | number) => void;
|
|
840
840
|
duration: number;
|
|
@@ -933,7 +933,7 @@ export declare const Message: {
|
|
|
933
933
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
934
934
|
id: string | number;
|
|
935
935
|
center: boolean;
|
|
936
|
-
type: "normal" | "success" | "warning" | "
|
|
936
|
+
type: "normal" | "success" | "warning" | "strong" | "info" | "error" | "loading";
|
|
937
937
|
showIcon: boolean;
|
|
938
938
|
onClose: (id?: string | number) => void;
|
|
939
939
|
duration: number;
|
|
@@ -141,7 +141,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
141
141
|
}>> & Readonly<{}>, {
|
|
142
142
|
id: string | number;
|
|
143
143
|
center: boolean;
|
|
144
|
-
type: "normal" | "success" | "warning" | "
|
|
144
|
+
type: "normal" | "success" | "warning" | "strong" | "info" | "error" | "loading";
|
|
145
145
|
showIcon: boolean;
|
|
146
146
|
onClose: (id?: string | number) => void;
|
|
147
147
|
duration: number;
|
|
@@ -133,7 +133,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
133
133
|
onDestroy?: ((...args: any[]) => any) | undefined;
|
|
134
134
|
}>, {
|
|
135
135
|
title: import('./props').NotificationContent;
|
|
136
|
-
type: "success" | "warning" | "
|
|
136
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
|
137
137
|
showIcon: boolean;
|
|
138
138
|
onClose: () => void;
|
|
139
139
|
duration: number;
|
|
@@ -69,7 +69,7 @@ export declare const Notification: {
|
|
|
69
69
|
onDestroy?: ((...args: any[]) => any) | undefined;
|
|
70
70
|
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("click" | "close" | "destroy")[], import('vue').PublicProps, {
|
|
71
71
|
title: import('./props').NotificationContent;
|
|
72
|
-
type: "success" | "warning" | "
|
|
72
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
|
73
73
|
showIcon: boolean;
|
|
74
74
|
onClose: () => void;
|
|
75
75
|
duration: number;
|
|
@@ -157,7 +157,7 @@ export declare const Notification: {
|
|
|
157
157
|
onDestroy?: ((...args: any[]) => any) | undefined;
|
|
158
158
|
}>, () => VNode, {}, {}, {}, {
|
|
159
159
|
title: import('./props').NotificationContent;
|
|
160
|
-
type: "success" | "warning" | "
|
|
160
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
|
161
161
|
showIcon: boolean;
|
|
162
162
|
onClose: () => void;
|
|
163
163
|
duration: number;
|
|
@@ -242,7 +242,7 @@ export declare const Notification: {
|
|
|
242
242
|
onDestroy?: ((...args: any[]) => any) | undefined;
|
|
243
243
|
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("click" | "close" | "destroy")[], "click" | "close" | "destroy", {
|
|
244
244
|
title: import('./props').NotificationContent;
|
|
245
|
-
type: "success" | "warning" | "
|
|
245
|
+
type: "success" | "warning" | "strong" | "info" | "error";
|
|
246
246
|
showIcon: boolean;
|
|
247
247
|
onClose: () => void;
|
|
248
248
|
duration: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const positions: readonly ["top", "tl", "tr", "bottom", "bl", "br", "left", "lt", "lb", "right", "rt", "rb"];
|
|
2
2
|
export type Position = (typeof positions)[number];
|
|
3
|
-
export type PopconfirmTypes = 'primary' | 'success' | 'warning' | 'strong' | 'danger';
|
|
3
|
+
export type PopconfirmTypes = 'primary' | 'success' | 'warning' | 'strong' | 'danger' | 'info';
|
|
@@ -85,14 +85,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
85
85
|
/**
|
|
86
86
|
* @zh 进度条状态
|
|
87
87
|
* @en Progress bar status
|
|
88
|
-
* @values 'normal', 'success', 'warning', 'danger'
|
|
88
|
+
* @values 'normal', 'success', 'warning', 'strong', 'danger'
|
|
89
89
|
*/
|
|
90
90
|
status: {
|
|
91
91
|
type: PropType<Status>;
|
|
92
92
|
};
|
|
93
93
|
}>, {
|
|
94
94
|
cls: import('vue').ComputedRef<string[]>;
|
|
95
|
-
computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "danger">;
|
|
95
|
+
computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "strong" | "danger">;
|
|
96
96
|
circleWidth: import('vue').ComputedRef<number | undefined>;
|
|
97
97
|
mergedSize: import('vue').ComputedRef<"mini" | "small" | "medium" | "large">;
|
|
98
98
|
safePercent: import('vue').ComputedRef<number>;
|
|
@@ -179,7 +179,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
179
179
|
/**
|
|
180
180
|
* @zh 进度条状态
|
|
181
181
|
* @en Progress bar status
|
|
182
|
-
* @values 'normal', 'success', 'warning', 'danger'
|
|
182
|
+
* @values 'normal', 'success', 'warning', 'strong', 'danger'
|
|
183
183
|
*/
|
|
184
184
|
status: {
|
|
185
185
|
type: PropType<Status>;
|
|
@@ -41,7 +41,7 @@ export declare const Progress: {
|
|
|
41
41
|
};
|
|
42
42
|
}>> & Readonly<{}>, {
|
|
43
43
|
cls: import('vue').ComputedRef<string[]>;
|
|
44
|
-
computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "danger">;
|
|
44
|
+
computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "strong" | "danger">;
|
|
45
45
|
circleWidth: import('vue').ComputedRef<number | undefined>;
|
|
46
46
|
mergedSize: import('vue').ComputedRef<"mini" | "small" | "medium" | "large">;
|
|
47
47
|
safePercent: import('vue').ComputedRef<number>;
|
|
@@ -740,7 +740,7 @@ export declare const Progress: {
|
|
|
740
740
|
};
|
|
741
741
|
}>> & Readonly<{}>, {
|
|
742
742
|
cls: import('vue').ComputedRef<string[]>;
|
|
743
|
-
computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "danger">;
|
|
743
|
+
computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "strong" | "danger">;
|
|
744
744
|
circleWidth: import('vue').ComputedRef<number | undefined>;
|
|
745
745
|
mergedSize: import('vue').ComputedRef<"mini" | "small" | "medium" | "large">;
|
|
746
746
|
safePercent: import('vue').ComputedRef<number>;
|
|
@@ -796,7 +796,7 @@ export declare const Progress: {
|
|
|
796
796
|
};
|
|
797
797
|
}>> & Readonly<{}>, {
|
|
798
798
|
cls: import('vue').ComputedRef<string[]>;
|
|
799
|
-
computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "danger">;
|
|
799
|
+
computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "strong" | "danger">;
|
|
800
800
|
circleWidth: import('vue').ComputedRef<number | undefined>;
|
|
801
801
|
mergedSize: import('vue').ComputedRef<"mini" | "small" | "medium" | "large">;
|
|
802
802
|
safePercent: import('vue').ComputedRef<number>;
|
|
@@ -95,6 +95,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
95
95
|
type: BooleanConstructor;
|
|
96
96
|
default: boolean;
|
|
97
97
|
};
|
|
98
|
+
/**
|
|
99
|
+
* @zh 关闭按钮的无障碍名称,默认“关闭标签”
|
|
100
|
+
* @en Accessible name of the close button, defaults to "关闭标签"
|
|
101
|
+
*/
|
|
102
|
+
closeAriaLabel: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
};
|
|
98
105
|
}>, {
|
|
99
106
|
className: {
|
|
100
107
|
block: string;
|
|
@@ -222,6 +229,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
222
229
|
type: BooleanConstructor;
|
|
223
230
|
default: boolean;
|
|
224
231
|
};
|
|
232
|
+
/**
|
|
233
|
+
* @zh 关闭按钮的无障碍名称,默认“关闭标签”
|
|
234
|
+
* @en Accessible name of the close button, defaults to "关闭标签"
|
|
235
|
+
*/
|
|
236
|
+
closeAriaLabel: {
|
|
237
|
+
type: StringConstructor;
|
|
238
|
+
};
|
|
225
239
|
}>> & Readonly<{
|
|
226
240
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
|
227
241
|
onCheck?: ((checked: boolean, ev: MouseEvent) => any) | undefined;
|
|
@@ -43,6 +43,9 @@ export declare const Tag: {
|
|
|
43
43
|
type: BooleanConstructor;
|
|
44
44
|
default: boolean;
|
|
45
45
|
};
|
|
46
|
+
closeAriaLabel: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
};
|
|
46
49
|
}>> & Readonly<{
|
|
47
50
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
|
48
51
|
onCheck?: ((checked: boolean, ev: MouseEvent) => any) | undefined;
|
|
@@ -357,6 +360,9 @@ export declare const Tag: {
|
|
|
357
360
|
type: BooleanConstructor;
|
|
358
361
|
default: boolean;
|
|
359
362
|
};
|
|
363
|
+
closeAriaLabel: {
|
|
364
|
+
type: StringConstructor;
|
|
365
|
+
};
|
|
360
366
|
}>> & Readonly<{
|
|
361
367
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
|
362
368
|
onCheck?: ((checked: boolean, ev: MouseEvent) => any) | undefined;
|
|
@@ -437,6 +443,9 @@ export declare const Tag: {
|
|
|
437
443
|
type: BooleanConstructor;
|
|
438
444
|
default: boolean;
|
|
439
445
|
};
|
|
446
|
+
closeAriaLabel: {
|
|
447
|
+
type: StringConstructor;
|
|
448
|
+
};
|
|
440
449
|
}>> & Readonly<{
|
|
441
450
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
|
442
451
|
onCheck?: ((checked: boolean, ev: MouseEvent) => any) | undefined;
|