x-next 1.1.0 → 1.2.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/CHANGELOG.md +26 -0
- package/dist/_hooks/use-form-item.d.ts +5 -0
- package/dist/_hooks/use-picker-focus.d.ts +17 -0
- package/dist/components/_components/feedback-icon/index.vue.d.ts +4 -4
- package/dist/components/_components/picker/input-range.vue.d.ts +10 -6
- package/dist/components/_components/picker/input.vue.d.ts +9 -5
- package/dist/components/alert/Alert.vue.d.ts +5 -5
- package/dist/components/alert/index.d.ts +10 -10
- package/dist/components/date-picker/DatePanel.vue.d.ts +5 -0
- package/dist/components/date-picker/DatePicker.vue.d.ts +36 -16
- package/dist/components/date-picker/index.d.ts +77 -33
- package/dist/components/dialog/Dialog.d.ts +1 -1
- package/dist/components/dialog/index.d.ts +3 -3
- package/dist/components/drawer/index.d.ts +3 -3
- package/dist/components/drawer/src/Drawer.vue.d.ts +1 -1
- package/dist/components/dropdown/Dropdown.vue.d.ts +3 -3
- package/dist/components/dropdown/DropdownButton.vue.d.ts +4 -4
- package/dist/components/dropdown/DropdownSubmenu.vue.d.ts +4 -4
- package/dist/components/dropdown/index.d.ts +22 -22
- package/dist/components/form/FormItem.vue.d.ts +12 -4
- package/dist/components/form/context.d.ts +6 -0
- package/dist/components/form/form-item-label.vue.d.ts +4 -4
- package/dist/components/form/form-item-message.vue.d.ts +2 -0
- package/dist/components/form/index.d.ts +30 -8
- package/dist/components/form/interface.d.ts +2 -2
- package/dist/components/form-input/InputPassword.vue.d.ts +20 -2
- package/dist/components/form-input/index.d.ts +22 -4
- package/dist/components/form-select/Select.d.ts +3 -3
- package/dist/components/form-select/index.d.ts +6 -6
- package/dist/components/form-slider/Slider.vue.d.ts +10 -3
- package/dist/components/form-slider/index.d.ts +26 -6
- package/dist/components/form-slider/slider-button.vue.d.ts +4 -3
- package/dist/components/form-switch/Switch.vue.d.ts +2 -1
- package/dist/components/form-switch/index.d.ts +5 -2
- package/dist/components/form-textarea/Textarea.vue.d.ts +2 -2
- package/dist/components/form-textarea/index.d.ts +5 -5
- package/dist/components/image/Image.vue.d.ts +10 -9
- package/dist/components/image/ImagePreview.vue.d.ts +8 -7
- package/dist/components/image/ImagePreviewAction.d.ts +3 -3
- package/dist/components/image/ImagePreviewGroup.vue.d.ts +8 -7
- package/dist/components/image/index.d.ts +59 -52
- package/dist/components/image/preview-arrow.vue.d.ts +2 -2
- package/dist/components/image/preview-toolbar.vue.d.ts +3 -3
- package/dist/components/layout/LayoutSidebar.vue.d.ts +2 -2
- package/dist/components/layout/index.d.ts +4 -4
- package/dist/components/link/Link.vue.d.ts +2 -2
- package/dist/components/link/index.d.ts +4 -4
- package/dist/components/menu/Menu.d.ts +2 -2
- package/dist/components/menu/base-menu.vue.d.ts +2 -2
- package/dist/components/menu/index.d.ts +4 -4
- package/dist/components/menu/sub-menu-pop.vue.d.ts +5 -5
- package/dist/components/message/index.d.ts +17 -17
- package/dist/components/message/message.vue.d.ts +8 -8
- package/dist/components/notification/Notification.d.ts +1 -1
- package/dist/components/notification/index.d.ts +3 -3
- package/dist/components/pagination/page-item-ellipsis.vue.d.ts +1 -1
- package/dist/components/pagination/page-item-step.vue.d.ts +2 -2
- package/dist/components/pagination/page-options.vue.d.ts +6 -6
- package/dist/components/popconfirm/src/popup.vue.d.ts +1 -1
- package/dist/components/popover/Popover.d.ts +1 -1
- package/dist/components/popover/index.d.ts +3 -3
- package/dist/components/popup/Popup.d.ts +1 -1
- package/dist/components/popup/index.d.ts +3 -3
- package/dist/components/progress/Progress.vue.d.ts +4 -4
- package/dist/components/progress/circle.vue.d.ts +2 -2
- package/dist/components/progress/index.d.ts +8 -8
- package/dist/components/progress/line.vue.d.ts +1 -1
- package/dist/components/progress/steps.vue.d.ts +1 -1
- package/dist/components/steps/Step.vue.d.ts +2 -2
- package/dist/components/steps/index.d.ts +4 -4
- package/dist/components/tabs/Tabs.d.ts +1 -1
- package/dist/components/tabs/index.d.ts +3 -3
- package/dist/components/tabs/tabs-tab.vue.d.ts +1 -1
- package/dist/components/tag/Tag.vue.d.ts +2 -2
- package/dist/components/tag/index.d.ts +4 -4
- package/dist/components/time-picker/TimeColumn.vue.d.ts +3 -0
- package/dist/components/time-picker/TimePanel.vue.d.ts +3 -0
- package/dist/components/time-picker/TimePicker.vue.d.ts +33 -17
- package/dist/components/time-picker/index.d.ts +73 -36
- package/dist/components/time-range-selector/TimeRangeSelector.vue.d.ts +8 -0
- package/dist/components/time-range-selector/index.d.ts +22 -0
- package/dist/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/dist/components/tooltip/index.d.ts +3 -3
- package/dist/components/trigger/Trigger.d.ts +1 -1
- package/dist/components/trigger/index.d.ts +3 -3
- package/dist/es/_hooks/use-form-item.js +36 -10
- package/dist/es/_hooks/use-picker-focus.js +57 -0
- package/dist/es/_utils/constant.js +17 -5
- package/dist/es/components/_components/picker/input-range.vue.js +45 -55
- package/dist/es/components/_components/picker/input-range.vue2.js +105 -70
- package/dist/es/components/_components/picker/input.vue.js +22 -25
- package/dist/es/components/_components/picker/input.vue2.js +58 -43
- package/dist/es/components/_components/select-view/select-view.js +67 -66
- package/dist/es/components/date-picker/DatePanel.vue.js +102 -94
- package/dist/es/components/date-picker/DatePanel.vue2.js +97 -44
- package/dist/es/components/date-picker/DatePicker.vue.js +71 -58
- package/dist/es/components/date-picker/DatePicker.vue2.js +285 -231
- package/dist/es/components/dialog/Dialog.js +154 -132
- package/dist/es/components/form/Form.vue2.js +113 -101
- package/dist/es/components/form/FormItem.vue.js +26 -22
- package/dist/es/components/form/FormItem.vue2.js +162 -125
- package/dist/es/components/form/form-item-message.vue.js +31 -24
- package/dist/es/components/form/form-item-message.vue2.js +4 -2
- package/dist/es/components/form-checkbox/Checkbox.js +75 -71
- package/dist/es/components/form-checkbox/CheckboxGroup.js +43 -38
- package/dist/es/components/form-input/Input.js +83 -79
- package/dist/es/components/form-input/InputPassword.vue.js +19 -16
- package/dist/es/components/form-input/InputPassword.vue2.js +39 -29
- package/dist/es/components/form-input/InputSearch.js +47 -37
- package/dist/es/components/form-input-number/InputNumber.js +134 -133
- package/dist/es/components/form-input-tag/InputTag.js +173 -162
- package/dist/es/components/form-radio/Radio.js +74 -71
- package/dist/es/components/form-radio/RadioGroup.js +55 -49
- package/dist/es/components/form-select/Select.js +99 -98
- package/dist/es/components/form-slider/Slider.vue.js +28 -28
- package/dist/es/components/form-slider/Slider.vue2.js +139 -132
- package/dist/es/components/form-slider/slider-button.vue.js +6 -6
- package/dist/es/components/form-slider/slider-button.vue2.js +39 -34
- package/dist/es/components/form-switch/Switch.vue.js +9 -9
- package/dist/es/components/form-switch/Switch.vue2.js +81 -74
- package/dist/es/components/form-textarea/Textarea.vue2.js +123 -108
- package/dist/es/components/image/Image.vue2.js +77 -76
- package/dist/es/components/image/ImagePreview.vue.js +13 -12
- package/dist/es/components/image/ImagePreview.vue2.js +141 -136
- package/dist/es/components/image/ImagePreviewGroup.vue.js +1 -1
- package/dist/es/components/image/ImagePreviewGroup.vue2.js +82 -83
- package/dist/es/components/rate/Rate.js +106 -103
- package/dist/es/components/time-picker/TimeColumn.vue.js +34 -23
- package/dist/es/components/time-picker/TimeColumn.vue2.js +37 -28
- package/dist/es/components/time-picker/TimePicker.vue.js +83 -64
- package/dist/es/components/time-picker/TimePicker.vue2.js +192 -156
- package/dist/es/components/time-range-selector/TimeRangeSelector.vue.js +327 -193
- package/dist/es/locale/en-US.js +6 -0
- package/dist/es/locale/zh-CN.js +6 -0
- package/dist/es/style.css +1 -1
- package/dist/icons/_self/down.d.ts +1 -1
- package/dist/icons/_self/dropdown/more.d.ts +1 -1
- package/dist/icons/_self/empty-better.d.ts +1 -1
- package/dist/icons/_self/empty.d.ts +1 -1
- package/dist/icons/_self/eye-invisible.d.ts +1 -1
- package/dist/icons/_self/eye.d.ts +1 -1
- package/dist/icons/_self/full-screen.d.ts +1 -1
- package/dist/icons/_self/left.d.ts +1 -1
- package/dist/icons/_self/menu/down.d.ts +1 -1
- package/dist/icons/_self/minus.d.ts +1 -1
- package/dist/icons/_self/more-dot.d.ts +1 -1
- package/dist/icons/_self/next.d.ts +1 -1
- package/dist/icons/_self/original-size.d.ts +1 -1
- package/dist/icons/_self/plus.d.ts +1 -1
- package/dist/icons/_self/prev.d.ts +1 -1
- package/dist/icons/_self/question-message.d.ts +1 -1
- package/dist/icons/_self/right.d.ts +1 -1
- package/dist/icons/_self/rotate-left.d.ts +1 -1
- package/dist/icons/_self/rotate-right.d.ts +1 -1
- package/dist/icons/_self/search.d.ts +1 -1
- package/dist/icons/_self/up.d.ts +1 -1
- package/dist/icons/_self/zoom-in.d.ts +1 -1
- package/dist/icons/_self/zoom-out.d.ts +1 -1
- package/dist/icons/_ui/alone-left.d.ts +1 -1
- package/dist/icons/_ui/alone-margin-left.d.ts +1 -1
- package/dist/icons/_ui/alone-margin-right.d.ts +1 -1
- package/dist/icons/_ui/alone-right.d.ts +1 -1
- package/dist/icons/_ui/calendar.d.ts +1 -1
- package/dist/icons/_ui/time.d.ts +1 -1
- package/dist/icons/animation/animation-loading.d.ts +1 -1
- package/dist/icons/default/check-circle-fill.d.ts +1 -1
- package/dist/icons/default/check.d.ts +1 -1
- package/dist/icons/default/close-circle-fill.d.ts +1 -1
- package/dist/icons/default/close.d.ts +1 -1
- package/dist/icons/default/exclamation-circle-fill.d.ts +1 -1
- package/dist/icons/default/exclamation.d.ts +1 -1
- package/dist/icons/default/filter.d.ts +1 -1
- package/dist/icons/default/info-circle-fill.d.ts +1 -1
- package/dist/icons/default/link.d.ts +1 -1
- package/dist/icons/default/logo-simple.d.ts +1 -1
- package/dist/icons/default/minus-circle-fill.d.ts +1 -1
- package/dist/icons/icon.d.ts +2 -2
- package/dist/icons/index.d.ts +3 -3
- package/dist/index.cjs +4 -4
- package/dist/index.umd.js +4 -4
- package/dist/locale/interface.d.ts +6 -0
- package/dist/style/base.css +1 -1
- package/dist/style/date-picker.css +1 -1
- package/dist/style/form.css +1 -1
- package/dist/style/image.css +1 -1
- package/dist/style/time-range-selector.css +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -308,8 +308,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
308
308
|
resize: () => true;
|
|
309
309
|
}, import('vue').PublicProps, {
|
|
310
310
|
disabled: boolean;
|
|
311
|
-
animationName: string;
|
|
312
311
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
312
|
+
animationName: string;
|
|
313
313
|
autoFitPosition: boolean;
|
|
314
314
|
popupVisible: boolean;
|
|
315
315
|
defaultPopupVisible: boolean;
|
|
@@ -496,8 +496,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
496
496
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
497
497
|
}>, () => any, {}, {}, {}, {
|
|
498
498
|
disabled: boolean;
|
|
499
|
-
animationName: string;
|
|
500
499
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
500
|
+
animationName: string;
|
|
501
501
|
autoFitPosition: boolean;
|
|
502
502
|
popupVisible: boolean;
|
|
503
503
|
defaultPopupVisible: boolean;
|
|
@@ -684,8 +684,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
684
684
|
resize: () => true;
|
|
685
685
|
}, string, {
|
|
686
686
|
disabled: boolean;
|
|
687
|
-
animationName: string;
|
|
688
687
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
688
|
+
animationName: string;
|
|
689
689
|
autoFitPosition: boolean;
|
|
690
690
|
popupVisible: boolean;
|
|
691
691
|
defaultPopupVisible: boolean;
|
|
@@ -1350,11 +1350,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1350
1350
|
};
|
|
1351
1351
|
}>> & Readonly<{}>, {
|
|
1352
1352
|
name: string;
|
|
1353
|
+
title: string;
|
|
1353
1354
|
size: string | number;
|
|
1354
1355
|
rotate: number;
|
|
1355
1356
|
spin: boolean;
|
|
1356
1357
|
color: string;
|
|
1357
|
-
title: string;
|
|
1358
1358
|
ariaLabel: string;
|
|
1359
1359
|
strokeWidth: string | number;
|
|
1360
1360
|
fillColor: unknown[];
|
|
@@ -236,8 +236,8 @@ export declare const Dropdown: {
|
|
|
236
236
|
resize: () => true;
|
|
237
237
|
}, import('vue').PublicProps, {
|
|
238
238
|
disabled: boolean;
|
|
239
|
-
animationName: string;
|
|
240
239
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
240
|
+
animationName: string;
|
|
241
241
|
autoFitPosition: boolean;
|
|
242
242
|
popupVisible: boolean;
|
|
243
243
|
defaultPopupVisible: boolean;
|
|
@@ -424,8 +424,8 @@ export declare const Dropdown: {
|
|
|
424
424
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
425
425
|
}>, () => any, {}, {}, {}, {
|
|
426
426
|
disabled: boolean;
|
|
427
|
-
animationName: string;
|
|
428
427
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
428
|
+
animationName: string;
|
|
429
429
|
autoFitPosition: boolean;
|
|
430
430
|
popupVisible: boolean;
|
|
431
431
|
defaultPopupVisible: boolean;
|
|
@@ -612,8 +612,8 @@ export declare const Dropdown: {
|
|
|
612
612
|
resize: () => true;
|
|
613
613
|
}, string, {
|
|
614
614
|
disabled: boolean;
|
|
615
|
-
animationName: string;
|
|
616
615
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
616
|
+
animationName: string;
|
|
617
617
|
autoFitPosition: boolean;
|
|
618
618
|
popupVisible: boolean;
|
|
619
619
|
defaultPopupVisible: boolean;
|
|
@@ -1480,8 +1480,8 @@ export declare const Dropdown: {
|
|
|
1480
1480
|
resize: () => true;
|
|
1481
1481
|
}, import('vue').PublicProps, {
|
|
1482
1482
|
disabled: boolean;
|
|
1483
|
-
animationName: string;
|
|
1484
1483
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1484
|
+
animationName: string;
|
|
1485
1485
|
autoFitPosition: boolean;
|
|
1486
1486
|
popupVisible: boolean;
|
|
1487
1487
|
defaultPopupVisible: boolean;
|
|
@@ -1668,8 +1668,8 @@ export declare const Dropdown: {
|
|
|
1668
1668
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
1669
1669
|
}>, () => any, {}, {}, {}, {
|
|
1670
1670
|
disabled: boolean;
|
|
1671
|
-
animationName: string;
|
|
1672
1671
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1672
|
+
animationName: string;
|
|
1673
1673
|
autoFitPosition: boolean;
|
|
1674
1674
|
popupVisible: boolean;
|
|
1675
1675
|
defaultPopupVisible: boolean;
|
|
@@ -1856,8 +1856,8 @@ export declare const Dropdown: {
|
|
|
1856
1856
|
resize: () => true;
|
|
1857
1857
|
}, string, {
|
|
1858
1858
|
disabled: boolean;
|
|
1859
|
-
animationName: string;
|
|
1860
1859
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1860
|
+
animationName: string;
|
|
1861
1861
|
autoFitPosition: boolean;
|
|
1862
1862
|
popupVisible: boolean;
|
|
1863
1863
|
defaultPopupVisible: boolean;
|
|
@@ -2763,8 +2763,8 @@ export declare const DropdownSubmenu: {
|
|
|
2763
2763
|
resize: () => true;
|
|
2764
2764
|
}, import('vue').PublicProps, {
|
|
2765
2765
|
disabled: boolean;
|
|
2766
|
-
animationName: string;
|
|
2767
2766
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
2767
|
+
animationName: string;
|
|
2768
2768
|
autoFitPosition: boolean;
|
|
2769
2769
|
popupVisible: boolean;
|
|
2770
2770
|
defaultPopupVisible: boolean;
|
|
@@ -2951,8 +2951,8 @@ export declare const DropdownSubmenu: {
|
|
|
2951
2951
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
2952
2952
|
}>, () => any, {}, {}, {}, {
|
|
2953
2953
|
disabled: boolean;
|
|
2954
|
-
animationName: string;
|
|
2955
2954
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
2955
|
+
animationName: string;
|
|
2956
2956
|
autoFitPosition: boolean;
|
|
2957
2957
|
popupVisible: boolean;
|
|
2958
2958
|
defaultPopupVisible: boolean;
|
|
@@ -3139,8 +3139,8 @@ export declare const DropdownSubmenu: {
|
|
|
3139
3139
|
resize: () => true;
|
|
3140
3140
|
}, string, {
|
|
3141
3141
|
disabled: boolean;
|
|
3142
|
-
animationName: string;
|
|
3143
3142
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
3143
|
+
animationName: string;
|
|
3144
3144
|
autoFitPosition: boolean;
|
|
3145
3145
|
popupVisible: boolean;
|
|
3146
3146
|
defaultPopupVisible: boolean;
|
|
@@ -3805,11 +3805,11 @@ export declare const DropdownSubmenu: {
|
|
|
3805
3805
|
};
|
|
3806
3806
|
}>> & Readonly<{}>, {
|
|
3807
3807
|
name: string;
|
|
3808
|
+
title: string;
|
|
3808
3809
|
size: string | number;
|
|
3809
3810
|
rotate: number;
|
|
3810
3811
|
spin: boolean;
|
|
3811
3812
|
color: string;
|
|
3812
|
-
title: string;
|
|
3813
3813
|
ariaLabel: string;
|
|
3814
3814
|
strokeWidth: string | number;
|
|
3815
3815
|
fillColor: unknown[];
|
|
@@ -4077,8 +4077,8 @@ export declare const DropdownSubmenu: {
|
|
|
4077
4077
|
resize: () => true;
|
|
4078
4078
|
}, import('vue').PublicProps, {
|
|
4079
4079
|
disabled: boolean;
|
|
4080
|
-
animationName: string;
|
|
4081
4080
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
4081
|
+
animationName: string;
|
|
4082
4082
|
autoFitPosition: boolean;
|
|
4083
4083
|
popupVisible: boolean;
|
|
4084
4084
|
defaultPopupVisible: boolean;
|
|
@@ -4265,8 +4265,8 @@ export declare const DropdownSubmenu: {
|
|
|
4265
4265
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
4266
4266
|
}>, () => any, {}, {}, {}, {
|
|
4267
4267
|
disabled: boolean;
|
|
4268
|
-
animationName: string;
|
|
4269
4268
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
4269
|
+
animationName: string;
|
|
4270
4270
|
autoFitPosition: boolean;
|
|
4271
4271
|
popupVisible: boolean;
|
|
4272
4272
|
defaultPopupVisible: boolean;
|
|
@@ -4453,8 +4453,8 @@ export declare const DropdownSubmenu: {
|
|
|
4453
4453
|
resize: () => true;
|
|
4454
4454
|
}, string, {
|
|
4455
4455
|
disabled: boolean;
|
|
4456
|
-
animationName: string;
|
|
4457
4456
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
4457
|
+
animationName: string;
|
|
4458
4458
|
autoFitPosition: boolean;
|
|
4459
4459
|
popupVisible: boolean;
|
|
4460
4460
|
defaultPopupVisible: boolean;
|
|
@@ -5119,11 +5119,11 @@ export declare const DropdownSubmenu: {
|
|
|
5119
5119
|
};
|
|
5120
5120
|
}>> & Readonly<{}>, {
|
|
5121
5121
|
name: string;
|
|
5122
|
+
title: string;
|
|
5122
5123
|
size: string | number;
|
|
5123
5124
|
rotate: number;
|
|
5124
5125
|
spin: boolean;
|
|
5125
5126
|
color: string;
|
|
5126
|
-
title: string;
|
|
5127
5127
|
ariaLabel: string;
|
|
5128
5128
|
strokeWidth: string | number;
|
|
5129
5129
|
fillColor: unknown[];
|
|
@@ -5278,11 +5278,11 @@ export declare const DropdownButton: {
|
|
|
5278
5278
|
};
|
|
5279
5279
|
}>> & Readonly<{}>, {
|
|
5280
5280
|
name: string;
|
|
5281
|
+
title: string;
|
|
5281
5282
|
size: string | number;
|
|
5282
5283
|
rotate: number;
|
|
5283
5284
|
spin: boolean;
|
|
5284
5285
|
color: string;
|
|
5285
|
-
title: string;
|
|
5286
5286
|
ariaLabel: string;
|
|
5287
5287
|
strokeWidth: string | number;
|
|
5288
5288
|
fillColor: unknown[];
|
|
@@ -5891,8 +5891,8 @@ export declare const DropdownButton: {
|
|
|
5891
5891
|
resize: () => true;
|
|
5892
5892
|
}, import('vue').PublicProps, {
|
|
5893
5893
|
disabled: boolean;
|
|
5894
|
-
animationName: string;
|
|
5895
5894
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
5895
|
+
animationName: string;
|
|
5896
5896
|
autoFitPosition: boolean;
|
|
5897
5897
|
popupVisible: boolean;
|
|
5898
5898
|
defaultPopupVisible: boolean;
|
|
@@ -6079,8 +6079,8 @@ export declare const DropdownButton: {
|
|
|
6079
6079
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
6080
6080
|
}>, () => any, {}, {}, {}, {
|
|
6081
6081
|
disabled: boolean;
|
|
6082
|
-
animationName: string;
|
|
6083
6082
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
6083
|
+
animationName: string;
|
|
6084
6084
|
autoFitPosition: boolean;
|
|
6085
6085
|
popupVisible: boolean;
|
|
6086
6086
|
defaultPopupVisible: boolean;
|
|
@@ -6267,8 +6267,8 @@ export declare const DropdownButton: {
|
|
|
6267
6267
|
resize: () => true;
|
|
6268
6268
|
}, string, {
|
|
6269
6269
|
disabled: boolean;
|
|
6270
|
-
animationName: string;
|
|
6271
6270
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
6271
|
+
animationName: string;
|
|
6272
6272
|
autoFitPosition: boolean;
|
|
6273
6273
|
popupVisible: boolean;
|
|
6274
6274
|
defaultPopupVisible: boolean;
|
|
@@ -7037,11 +7037,11 @@ export declare const DropdownButton: {
|
|
|
7037
7037
|
};
|
|
7038
7038
|
}>> & Readonly<{}>, {
|
|
7039
7039
|
name: string;
|
|
7040
|
+
title: string;
|
|
7040
7041
|
size: string | number;
|
|
7041
7042
|
rotate: number;
|
|
7042
7043
|
spin: boolean;
|
|
7043
7044
|
color: string;
|
|
7044
|
-
title: string;
|
|
7045
7045
|
ariaLabel: string;
|
|
7046
7046
|
strokeWidth: string | number;
|
|
7047
7047
|
fillColor: unknown[];
|
|
@@ -7650,8 +7650,8 @@ export declare const DropdownButton: {
|
|
|
7650
7650
|
resize: () => true;
|
|
7651
7651
|
}, import('vue').PublicProps, {
|
|
7652
7652
|
disabled: boolean;
|
|
7653
|
-
animationName: string;
|
|
7654
7653
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
7654
|
+
animationName: string;
|
|
7655
7655
|
autoFitPosition: boolean;
|
|
7656
7656
|
popupVisible: boolean;
|
|
7657
7657
|
defaultPopupVisible: boolean;
|
|
@@ -7838,8 +7838,8 @@ export declare const DropdownButton: {
|
|
|
7838
7838
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
7839
7839
|
}>, () => any, {}, {}, {}, {
|
|
7840
7840
|
disabled: boolean;
|
|
7841
|
-
animationName: string;
|
|
7842
7841
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
7842
|
+
animationName: string;
|
|
7843
7843
|
autoFitPosition: boolean;
|
|
7844
7844
|
popupVisible: boolean;
|
|
7845
7845
|
defaultPopupVisible: boolean;
|
|
@@ -8026,8 +8026,8 @@ export declare const DropdownButton: {
|
|
|
8026
8026
|
resize: () => true;
|
|
8027
8027
|
}, string, {
|
|
8028
8028
|
disabled: boolean;
|
|
8029
|
-
animationName: string;
|
|
8030
8029
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8030
|
+
animationName: string;
|
|
8031
8031
|
autoFitPosition: boolean;
|
|
8032
8032
|
popupVisible: boolean;
|
|
8033
8033
|
defaultPopupVisible: boolean;
|
|
@@ -218,6 +218,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
218
218
|
[x: string]: boolean;
|
|
219
219
|
})[]>;
|
|
220
220
|
mergedWrapperStyle: import('vue').ComputedRef<any>;
|
|
221
|
+
mergedLabelAttrs: import('vue').ComputedRef<{
|
|
222
|
+
id: string | undefined;
|
|
223
|
+
for: string | undefined;
|
|
224
|
+
}>;
|
|
225
|
+
messageId: string;
|
|
226
|
+
extraId: string;
|
|
221
227
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
222
228
|
/**
|
|
223
229
|
* @zh 表单元素在数据对象中的path(数据项必填)
|
|
@@ -968,8 +974,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
968
974
|
}, import('vue').PublicProps, {
|
|
969
975
|
mini: boolean;
|
|
970
976
|
disabled: boolean;
|
|
971
|
-
animationName: string;
|
|
972
977
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
978
|
+
animationName: string;
|
|
973
979
|
autoFitPosition: boolean;
|
|
974
980
|
popupVisible: boolean;
|
|
975
981
|
defaultPopupVisible: boolean;
|
|
@@ -1154,8 +1160,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1154
1160
|
}>, () => VNode, {}, {}, {}, {
|
|
1155
1161
|
mini: boolean;
|
|
1156
1162
|
disabled: boolean;
|
|
1157
|
-
animationName: string;
|
|
1158
1163
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1164
|
+
animationName: string;
|
|
1159
1165
|
autoFitPosition: boolean;
|
|
1160
1166
|
popupVisible: boolean;
|
|
1161
1167
|
defaultPopupVisible: boolean;
|
|
@@ -1343,8 +1349,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1343
1349
|
}, string, {
|
|
1344
1350
|
mini: boolean;
|
|
1345
1351
|
disabled: boolean;
|
|
1346
|
-
animationName: string;
|
|
1347
1352
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1353
|
+
animationName: string;
|
|
1348
1354
|
autoFitPosition: boolean;
|
|
1349
1355
|
popupVisible: boolean;
|
|
1350
1356
|
defaultPopupVisible: boolean;
|
|
@@ -1447,17 +1453,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1447
1453
|
};
|
|
1448
1454
|
}>> & Readonly<{}>, {
|
|
1449
1455
|
name: string;
|
|
1456
|
+
title: string;
|
|
1450
1457
|
size: string | number;
|
|
1451
1458
|
rotate: number;
|
|
1452
1459
|
spin: boolean;
|
|
1453
1460
|
color: string;
|
|
1454
|
-
title: string;
|
|
1455
1461
|
ariaLabel: string;
|
|
1456
1462
|
strokeWidth: string | number;
|
|
1457
1463
|
fillColor: unknown[];
|
|
1458
1464
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1459
1465
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1460
1466
|
FormItemMessage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1467
|
+
id: StringConstructor;
|
|
1461
1468
|
error: {
|
|
1462
1469
|
type: PropType<string[]>;
|
|
1463
1470
|
default: () => never[];
|
|
@@ -1471,6 +1478,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1471
1478
|
is: (className: string) => string;
|
|
1472
1479
|
};
|
|
1473
1480
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1481
|
+
id: StringConstructor;
|
|
1474
1482
|
error: {
|
|
1475
1483
|
type: PropType<string[]>;
|
|
1476
1484
|
default: () => never[];
|
|
@@ -29,6 +29,12 @@ export interface FormItemContext {
|
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
error: boolean;
|
|
31
31
|
feedback: string | undefined;
|
|
32
|
+
labelId?: string;
|
|
33
|
+
describedBy?: string;
|
|
34
|
+
errorId?: string;
|
|
35
|
+
required?: boolean;
|
|
36
|
+
registerControl?: (key: string, id: string, labelable: boolean) => void;
|
|
37
|
+
unregisterControl?: (key: string) => void;
|
|
32
38
|
updateValidateState: (field: string, { status, message }: {
|
|
33
39
|
status: ValidateStatus | '';
|
|
34
40
|
message: string;
|
|
@@ -227,8 +227,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
227
227
|
}, import('vue').PublicProps, {
|
|
228
228
|
mini: boolean;
|
|
229
229
|
disabled: boolean;
|
|
230
|
-
animationName: string;
|
|
231
230
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
231
|
+
animationName: string;
|
|
232
232
|
autoFitPosition: boolean;
|
|
233
233
|
popupVisible: boolean;
|
|
234
234
|
defaultPopupVisible: boolean;
|
|
@@ -413,8 +413,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
413
413
|
}>, () => VNode, {}, {}, {}, {
|
|
414
414
|
mini: boolean;
|
|
415
415
|
disabled: boolean;
|
|
416
|
-
animationName: string;
|
|
417
416
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
417
|
+
animationName: string;
|
|
418
418
|
autoFitPosition: boolean;
|
|
419
419
|
popupVisible: boolean;
|
|
420
420
|
defaultPopupVisible: boolean;
|
|
@@ -602,8 +602,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
602
602
|
}, string, {
|
|
603
603
|
mini: boolean;
|
|
604
604
|
disabled: boolean;
|
|
605
|
-
animationName: string;
|
|
606
605
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
606
|
+
animationName: string;
|
|
607
607
|
autoFitPosition: boolean;
|
|
608
608
|
popupVisible: boolean;
|
|
609
609
|
defaultPopupVisible: boolean;
|
|
@@ -706,11 +706,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
706
706
|
};
|
|
707
707
|
}>> & Readonly<{}>, {
|
|
708
708
|
name: string;
|
|
709
|
+
title: string;
|
|
709
710
|
size: string | number;
|
|
710
711
|
rotate: number;
|
|
711
712
|
spin: boolean;
|
|
712
713
|
color: string;
|
|
713
|
-
title: string;
|
|
714
714
|
ariaLabel: string;
|
|
715
715
|
strokeWidth: string | number;
|
|
716
716
|
fillColor: unknown[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
id: StringConstructor;
|
|
3
4
|
error: {
|
|
4
5
|
type: PropType<string[]>;
|
|
5
6
|
default: () => never[];
|
|
@@ -13,6 +14,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
13
14
|
is: (className: string) => string;
|
|
14
15
|
};
|
|
15
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
id: StringConstructor;
|
|
16
18
|
error: {
|
|
17
19
|
type: PropType<string[]>;
|
|
18
20
|
default: () => never[];
|
|
@@ -390,6 +390,12 @@ export declare const FormItem: {
|
|
|
390
390
|
[x: string]: boolean;
|
|
391
391
|
})[]>;
|
|
392
392
|
mergedWrapperStyle: import('vue').ComputedRef<any>;
|
|
393
|
+
mergedLabelAttrs: import('vue').ComputedRef<{
|
|
394
|
+
id: string | undefined;
|
|
395
|
+
for: string | undefined;
|
|
396
|
+
}>;
|
|
397
|
+
messageId: string;
|
|
398
|
+
extraId: string;
|
|
393
399
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
394
400
|
required: boolean;
|
|
395
401
|
disabled: boolean;
|
|
@@ -945,8 +951,8 @@ export declare const FormItem: {
|
|
|
945
951
|
}, import('vue').PublicProps, {
|
|
946
952
|
mini: boolean;
|
|
947
953
|
disabled: boolean;
|
|
948
|
-
animationName: string;
|
|
949
954
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
955
|
+
animationName: string;
|
|
950
956
|
autoFitPosition: boolean;
|
|
951
957
|
popupVisible: boolean;
|
|
952
958
|
defaultPopupVisible: boolean;
|
|
@@ -1131,8 +1137,8 @@ export declare const FormItem: {
|
|
|
1131
1137
|
}>, () => VNode, {}, {}, {}, {
|
|
1132
1138
|
mini: boolean;
|
|
1133
1139
|
disabled: boolean;
|
|
1134
|
-
animationName: string;
|
|
1135
1140
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1141
|
+
animationName: string;
|
|
1136
1142
|
autoFitPosition: boolean;
|
|
1137
1143
|
popupVisible: boolean;
|
|
1138
1144
|
defaultPopupVisible: boolean;
|
|
@@ -1320,8 +1326,8 @@ export declare const FormItem: {
|
|
|
1320
1326
|
}, string, {
|
|
1321
1327
|
mini: boolean;
|
|
1322
1328
|
disabled: boolean;
|
|
1323
|
-
animationName: string;
|
|
1324
1329
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1330
|
+
animationName: string;
|
|
1325
1331
|
autoFitPosition: boolean;
|
|
1326
1332
|
popupVisible: boolean;
|
|
1327
1333
|
defaultPopupVisible: boolean;
|
|
@@ -1424,17 +1430,18 @@ export declare const FormItem: {
|
|
|
1424
1430
|
};
|
|
1425
1431
|
}>> & Readonly<{}>, {
|
|
1426
1432
|
name: string;
|
|
1433
|
+
title: string;
|
|
1427
1434
|
size: string | number;
|
|
1428
1435
|
rotate: number;
|
|
1429
1436
|
spin: boolean;
|
|
1430
1437
|
color: string;
|
|
1431
|
-
title: string;
|
|
1432
1438
|
ariaLabel: string;
|
|
1433
1439
|
strokeWidth: string | number;
|
|
1434
1440
|
fillColor: unknown[];
|
|
1435
1441
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1436
1442
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1437
1443
|
FormItemMessage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1444
|
+
id: StringConstructor;
|
|
1438
1445
|
error: {
|
|
1439
1446
|
type: import('vue').PropType<string[]>;
|
|
1440
1447
|
default: () => never[];
|
|
@@ -1448,6 +1455,7 @@ export declare const FormItem: {
|
|
|
1448
1455
|
is: (className: string) => string;
|
|
1449
1456
|
};
|
|
1450
1457
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1458
|
+
id: StringConstructor;
|
|
1451
1459
|
error: {
|
|
1452
1460
|
type: import('vue').PropType<string[]>;
|
|
1453
1461
|
default: () => never[];
|
|
@@ -1558,6 +1566,12 @@ export declare const FormItem: {
|
|
|
1558
1566
|
[x: string]: boolean;
|
|
1559
1567
|
})[]>;
|
|
1560
1568
|
mergedWrapperStyle: import('vue').ComputedRef<any>;
|
|
1569
|
+
mergedLabelAttrs: import('vue').ComputedRef<{
|
|
1570
|
+
id: string | undefined;
|
|
1571
|
+
for: string | undefined;
|
|
1572
|
+
}>;
|
|
1573
|
+
messageId: string;
|
|
1574
|
+
extraId: string;
|
|
1561
1575
|
}, {}, {}, {}, {
|
|
1562
1576
|
required: boolean;
|
|
1563
1577
|
disabled: boolean;
|
|
@@ -1670,6 +1684,12 @@ export declare const FormItem: {
|
|
|
1670
1684
|
[x: string]: boolean;
|
|
1671
1685
|
})[]>;
|
|
1672
1686
|
mergedWrapperStyle: import('vue').ComputedRef<any>;
|
|
1687
|
+
mergedLabelAttrs: import('vue').ComputedRef<{
|
|
1688
|
+
id: string | undefined;
|
|
1689
|
+
for: string | undefined;
|
|
1690
|
+
}>;
|
|
1691
|
+
messageId: string;
|
|
1692
|
+
extraId: string;
|
|
1673
1693
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
1674
1694
|
required: boolean;
|
|
1675
1695
|
disabled: boolean;
|
|
@@ -2225,8 +2245,8 @@ export declare const FormItem: {
|
|
|
2225
2245
|
}, import('vue').PublicProps, {
|
|
2226
2246
|
mini: boolean;
|
|
2227
2247
|
disabled: boolean;
|
|
2228
|
-
animationName: string;
|
|
2229
2248
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
2249
|
+
animationName: string;
|
|
2230
2250
|
autoFitPosition: boolean;
|
|
2231
2251
|
popupVisible: boolean;
|
|
2232
2252
|
defaultPopupVisible: boolean;
|
|
@@ -2411,8 +2431,8 @@ export declare const FormItem: {
|
|
|
2411
2431
|
}>, () => VNode, {}, {}, {}, {
|
|
2412
2432
|
mini: boolean;
|
|
2413
2433
|
disabled: boolean;
|
|
2414
|
-
animationName: string;
|
|
2415
2434
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
2435
|
+
animationName: string;
|
|
2416
2436
|
autoFitPosition: boolean;
|
|
2417
2437
|
popupVisible: boolean;
|
|
2418
2438
|
defaultPopupVisible: boolean;
|
|
@@ -2600,8 +2620,8 @@ export declare const FormItem: {
|
|
|
2600
2620
|
}, string, {
|
|
2601
2621
|
mini: boolean;
|
|
2602
2622
|
disabled: boolean;
|
|
2603
|
-
animationName: string;
|
|
2604
2623
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
2624
|
+
animationName: string;
|
|
2605
2625
|
autoFitPosition: boolean;
|
|
2606
2626
|
popupVisible: boolean;
|
|
2607
2627
|
defaultPopupVisible: boolean;
|
|
@@ -2704,17 +2724,18 @@ export declare const FormItem: {
|
|
|
2704
2724
|
};
|
|
2705
2725
|
}>> & Readonly<{}>, {
|
|
2706
2726
|
name: string;
|
|
2727
|
+
title: string;
|
|
2707
2728
|
size: string | number;
|
|
2708
2729
|
rotate: number;
|
|
2709
2730
|
spin: boolean;
|
|
2710
2731
|
color: string;
|
|
2711
|
-
title: string;
|
|
2712
2732
|
ariaLabel: string;
|
|
2713
2733
|
strokeWidth: string | number;
|
|
2714
2734
|
fillColor: unknown[];
|
|
2715
2735
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2716
2736
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2717
2737
|
FormItemMessage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2738
|
+
id: StringConstructor;
|
|
2718
2739
|
error: {
|
|
2719
2740
|
type: import('vue').PropType<string[]>;
|
|
2720
2741
|
default: () => never[];
|
|
@@ -2728,6 +2749,7 @@ export declare const FormItem: {
|
|
|
2728
2749
|
is: (className: string) => string;
|
|
2729
2750
|
};
|
|
2730
2751
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2752
|
+
id: StringConstructor;
|
|
2731
2753
|
error: {
|
|
2732
2754
|
type: import('vue').PropType<string[]>;
|
|
2733
2755
|
default: () => never[];
|
|
@@ -119,9 +119,9 @@ export interface FieldRule<FieldValue = any> {
|
|
|
119
119
|
* @zh 自定义校验规则
|
|
120
120
|
* @en Custom verification rules
|
|
121
121
|
* @param value
|
|
122
|
-
* @param callback
|
|
122
|
+
* @param callback 通过 callback(message) 添加错误;异步校验返回 Promise 并在完成后 resolve
|
|
123
123
|
*/
|
|
124
|
-
validator?: (value: FieldValue | undefined, callback: (error?: string) => void) => void
|
|
124
|
+
validator?: (value: FieldValue | undefined, callback: (error?: string) => void) => void | Promise<void>;
|
|
125
125
|
}
|
|
126
126
|
export interface FieldData {
|
|
127
127
|
/**
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
/**
|
|
3
|
+
* @zh 是否禁用输入和显隐按钮
|
|
4
|
+
* @en Whether to disable the input and visibility button
|
|
5
|
+
*/
|
|
6
|
+
disabled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
2
10
|
/**
|
|
3
11
|
* @zh 是否可见,受控属性
|
|
4
12
|
* @en Whether is visible
|
|
@@ -27,12 +35,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
27
35
|
}>, {
|
|
28
36
|
inputRef: import('vue').Ref<any, any>;
|
|
29
37
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
38
|
+
mergedDisabled: import('vue').ComputedRef<boolean>;
|
|
30
39
|
handleInvisible: () => void;
|
|
31
40
|
t: (key: import('../../locale').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
32
41
|
}, {}, {}, {
|
|
33
42
|
focus(): void;
|
|
34
43
|
blur(): void;
|
|
35
44
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("visibility-change" | "update:visibility")[], "visibility-change" | "update:visibility", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
45
|
+
/**
|
|
46
|
+
* @zh 是否禁用输入和显隐按钮
|
|
47
|
+
* @en Whether to disable the input and visibility button
|
|
48
|
+
*/
|
|
49
|
+
disabled: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
36
53
|
/**
|
|
37
54
|
* @zh 是否可见,受控属性
|
|
38
55
|
* @en Whether is visible
|
|
@@ -62,6 +79,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
62
79
|
"onVisibility-change"?: ((...args: any[]) => any) | undefined;
|
|
63
80
|
"onUpdate:visibility"?: ((...args: any[]) => any) | undefined;
|
|
64
81
|
}>, {
|
|
82
|
+
disabled: boolean;
|
|
65
83
|
visibility: boolean;
|
|
66
84
|
defaultVisibility: boolean;
|
|
67
85
|
invisibleButton: boolean;
|
|
@@ -142,11 +160,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
142
160
|
};
|
|
143
161
|
}>> & Readonly<{}>, {
|
|
144
162
|
name: string;
|
|
163
|
+
title: string;
|
|
145
164
|
size: string | number;
|
|
146
165
|
rotate: number;
|
|
147
166
|
spin: boolean;
|
|
148
167
|
color: string;
|
|
149
|
-
title: string;
|
|
150
168
|
ariaLabel: string;
|
|
151
169
|
strokeWidth: string | number;
|
|
152
170
|
fillColor: unknown[];
|
|
@@ -227,11 +245,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
227
245
|
};
|
|
228
246
|
}>> & Readonly<{}>, {
|
|
229
247
|
name: string;
|
|
248
|
+
title: string;
|
|
230
249
|
size: string | number;
|
|
231
250
|
rotate: number;
|
|
232
251
|
spin: boolean;
|
|
233
252
|
color: string;
|
|
234
|
-
title: string;
|
|
235
253
|
ariaLabel: string;
|
|
236
254
|
strokeWidth: string | number;
|
|
237
255
|
fillColor: unknown[];
|