x-next 1.1.0 → 1.3.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 +38 -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 +30 -4
- package/dist/components/dropdown/DropdownButton.vue.d.ts +31 -5
- package/dist/components/dropdown/DropdownOption.vue.d.ts +2 -0
- package/dist/components/dropdown/DropdownSubmenu.vue.d.ts +162 -5
- package/dist/components/dropdown/context.d.ts +14 -1
- package/dist/components/dropdown/dropdown-panel.vue.d.ts +7 -1
- package/dist/components/dropdown/index.d.ts +610 -28
- package/dist/components/dropdown/use-keyboard.d.ts +10 -0
- 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/hooks/use-select.d.ts +2 -1
- 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-overflow.js +45 -40
- 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 +61 -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 +159 -128
- package/dist/es/components/dropdown/Dropdown.vue.js +18 -15
- package/dist/es/components/dropdown/Dropdown.vue2.js +52 -31
- package/dist/es/components/dropdown/DropdownOption.vue.js +22 -21
- package/dist/es/components/dropdown/DropdownOption.vue2.js +23 -19
- package/dist/es/components/dropdown/DropdownSubmenu.vue.js +49 -36
- package/dist/es/components/dropdown/DropdownSubmenu.vue2.js +45 -24
- package/dist/es/components/dropdown/context.js +3 -2
- package/dist/es/components/dropdown/dropdown-panel.vue.js +24 -21
- package/dist/es/components/dropdown/dropdown-panel.vue2.js +83 -31
- package/dist/es/components/dropdown/use-keyboard.js +45 -0
- 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 +80 -76
- 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 +116 -114
- package/dist/es/components/form-select/hooks/use-select.js +128 -128
- 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.d.ts +1 -1
- 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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { DropdownPanelRef } from './context';
|
|
3
|
+
export declare const useDropdownKeyboard: (visible: Readonly<Ref<boolean>>, changeVisible: (visible: boolean) => void, triggerElement: Ref<HTMLElement | undefined>, disabled?: () => boolean) => {
|
|
4
|
+
panelRef: Ref<DropdownPanelRef | undefined, DropdownPanelRef | undefined>;
|
|
5
|
+
handleShow: () => void;
|
|
6
|
+
handleTriggerKeydown: (ev: KeyboardEvent) => void;
|
|
7
|
+
handleTriggerFocus: (ev: FocusEvent) => void;
|
|
8
|
+
handleClose: () => void;
|
|
9
|
+
handleKeyboardSelect: (ev: Event) => void;
|
|
10
|
+
};
|
|
@@ -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[];
|
|
@@ -380,6 +380,10 @@ export declare const InputSearch: {
|
|
|
380
380
|
};
|
|
381
381
|
export declare const InputPassword: {
|
|
382
382
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
383
|
+
disabled: {
|
|
384
|
+
type: BooleanConstructor;
|
|
385
|
+
default: boolean;
|
|
386
|
+
};
|
|
383
387
|
visibility: {
|
|
384
388
|
type: BooleanConstructor;
|
|
385
389
|
default: undefined;
|
|
@@ -398,12 +402,14 @@ export declare const InputPassword: {
|
|
|
398
402
|
}>, {
|
|
399
403
|
inputRef: import('vue').Ref<any, any>;
|
|
400
404
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
405
|
+
mergedDisabled: import('vue').ComputedRef<boolean>;
|
|
401
406
|
handleInvisible: () => void;
|
|
402
407
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
403
408
|
}, {}, {}, {
|
|
404
409
|
focus(): void;
|
|
405
410
|
blur(): void;
|
|
406
411
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("visibility-change" | "update:visibility")[], import('vue').PublicProps, {
|
|
412
|
+
disabled: boolean;
|
|
407
413
|
visibility: boolean;
|
|
408
414
|
defaultVisibility: boolean;
|
|
409
415
|
invisibleButton: boolean;
|
|
@@ -484,11 +490,11 @@ export declare const InputPassword: {
|
|
|
484
490
|
};
|
|
485
491
|
}>> & Readonly<{}>, {
|
|
486
492
|
name: string;
|
|
493
|
+
title: string;
|
|
487
494
|
size: string | number;
|
|
488
495
|
rotate: number;
|
|
489
496
|
spin: boolean;
|
|
490
497
|
color: string;
|
|
491
|
-
title: string;
|
|
492
498
|
ariaLabel: string;
|
|
493
499
|
strokeWidth: string | number;
|
|
494
500
|
fillColor: unknown[];
|
|
@@ -569,11 +575,11 @@ export declare const InputPassword: {
|
|
|
569
575
|
};
|
|
570
576
|
}>> & Readonly<{}>, {
|
|
571
577
|
name: string;
|
|
578
|
+
title: string;
|
|
572
579
|
size: string | number;
|
|
573
580
|
rotate: number;
|
|
574
581
|
spin: boolean;
|
|
575
582
|
color: string;
|
|
576
|
-
title: string;
|
|
577
583
|
ariaLabel: string;
|
|
578
584
|
strokeWidth: string | number;
|
|
579
585
|
fillColor: unknown[];
|
|
@@ -776,6 +782,10 @@ export declare const InputPassword: {
|
|
|
776
782
|
M: {};
|
|
777
783
|
Defaults: {};
|
|
778
784
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
785
|
+
disabled: {
|
|
786
|
+
type: BooleanConstructor;
|
|
787
|
+
default: boolean;
|
|
788
|
+
};
|
|
779
789
|
visibility: {
|
|
780
790
|
type: BooleanConstructor;
|
|
781
791
|
default: undefined;
|
|
@@ -794,12 +804,14 @@ export declare const InputPassword: {
|
|
|
794
804
|
}>, {
|
|
795
805
|
inputRef: import('vue').Ref<any, any>;
|
|
796
806
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
807
|
+
mergedDisabled: import('vue').ComputedRef<boolean>;
|
|
797
808
|
handleInvisible: () => void;
|
|
798
809
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
799
810
|
}, {}, {}, {
|
|
800
811
|
focus(): void;
|
|
801
812
|
blur(): void;
|
|
802
813
|
}, {
|
|
814
|
+
disabled: boolean;
|
|
803
815
|
visibility: boolean;
|
|
804
816
|
defaultVisibility: boolean;
|
|
805
817
|
invisibleButton: boolean;
|
|
@@ -808,6 +820,10 @@ export declare const InputPassword: {
|
|
|
808
820
|
__isTeleport?: never;
|
|
809
821
|
__isSuspense?: never;
|
|
810
822
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
823
|
+
disabled: {
|
|
824
|
+
type: BooleanConstructor;
|
|
825
|
+
default: boolean;
|
|
826
|
+
};
|
|
811
827
|
visibility: {
|
|
812
828
|
type: BooleanConstructor;
|
|
813
829
|
default: undefined;
|
|
@@ -826,12 +842,14 @@ export declare const InputPassword: {
|
|
|
826
842
|
}>, {
|
|
827
843
|
inputRef: import('vue').Ref<any, any>;
|
|
828
844
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
845
|
+
mergedDisabled: import('vue').ComputedRef<boolean>;
|
|
829
846
|
handleInvisible: () => void;
|
|
830
847
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
831
848
|
}, {}, {}, {
|
|
832
849
|
focus(): void;
|
|
833
850
|
blur(): void;
|
|
834
851
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("visibility-change" | "update:visibility")[], "visibility-change" | "update:visibility", {
|
|
852
|
+
disabled: boolean;
|
|
835
853
|
visibility: boolean;
|
|
836
854
|
defaultVisibility: boolean;
|
|
837
855
|
invisibleButton: boolean;
|
|
@@ -912,11 +930,11 @@ export declare const InputPassword: {
|
|
|
912
930
|
};
|
|
913
931
|
}>> & Readonly<{}>, {
|
|
914
932
|
name: string;
|
|
933
|
+
title: string;
|
|
915
934
|
size: string | number;
|
|
916
935
|
rotate: number;
|
|
917
936
|
spin: boolean;
|
|
918
937
|
color: string;
|
|
919
|
-
title: string;
|
|
920
938
|
ariaLabel: string;
|
|
921
939
|
strokeWidth: string | number;
|
|
922
940
|
fillColor: unknown[];
|
|
@@ -997,11 +1015,11 @@ export declare const InputPassword: {
|
|
|
997
1015
|
};
|
|
998
1016
|
}>> & Readonly<{}>, {
|
|
999
1017
|
name: string;
|
|
1018
|
+
title: string;
|
|
1000
1019
|
size: string | number;
|
|
1001
1020
|
rotate: number;
|
|
1002
1021
|
spin: boolean;
|
|
1003
1022
|
color: string;
|
|
1004
|
-
title: string;
|
|
1005
1023
|
ariaLabel: string;
|
|
1006
1024
|
strokeWidth: string | number;
|
|
1007
1025
|
fillColor: unknown[];
|
|
@@ -845,8 +845,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
845
845
|
resize: () => true;
|
|
846
846
|
}, import('vue').PublicProps, {
|
|
847
847
|
disabled: boolean;
|
|
848
|
-
animationName: string;
|
|
849
848
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
849
|
+
animationName: string;
|
|
850
850
|
autoFitPosition: boolean;
|
|
851
851
|
popupVisible: boolean;
|
|
852
852
|
defaultPopupVisible: boolean;
|
|
@@ -1033,8 +1033,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1033
1033
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
1034
1034
|
}>, () => any, {}, {}, {}, {
|
|
1035
1035
|
disabled: boolean;
|
|
1036
|
-
animationName: string;
|
|
1037
1036
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1037
|
+
animationName: string;
|
|
1038
1038
|
autoFitPosition: boolean;
|
|
1039
1039
|
popupVisible: boolean;
|
|
1040
1040
|
defaultPopupVisible: boolean;
|
|
@@ -1221,8 +1221,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1221
1221
|
resize: () => true;
|
|
1222
1222
|
}, string, {
|
|
1223
1223
|
disabled: boolean;
|
|
1224
|
-
animationName: string;
|
|
1225
1224
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1225
|
+
animationName: string;
|
|
1226
1226
|
autoFitPosition: boolean;
|
|
1227
1227
|
popupVisible: boolean;
|
|
1228
1228
|
defaultPopupVisible: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentPublicInstance, Ref } from 'vue';
|
|
2
2
|
import { FilterOption, SelectOption, SelectFieldNames } from '../interface';
|
|
3
3
|
import { VirtualListRef } from '../../virtual-list-v2/interface';
|
|
4
|
-
export declare const useSelect: ({ multiple, options, extraOptions, inputValue, filterOption, showExtraOptions, component, valueKey, fieldNames, loading, popupVisible, valueKeys, dropdownRef, optionRefs, virtualListRef, onSelect, onPopupVisibleChange, getOptionId, enterToOpen, defaultActiveFirstOption, }: {
|
|
4
|
+
export declare const useSelect: ({ multiple, options, extraOptions, inputValue, filterOption, showExtraOptions, component, valueKey, fieldNames, loading, disabled, popupVisible, valueKeys, dropdownRef, optionRefs, virtualListRef, onSelect, onPopupVisibleChange, getOptionId, enterToOpen, defaultActiveFirstOption, }: {
|
|
5
5
|
multiple?: Ref<boolean>;
|
|
6
6
|
options?: Ref<SelectOption[]>;
|
|
7
7
|
extraOptions?: Ref<SelectOption[]>;
|
|
@@ -12,6 +12,7 @@ export declare const useSelect: ({ multiple, options, extraOptions, inputValue,
|
|
|
12
12
|
valueKey?: Ref<string>;
|
|
13
13
|
fieldNames?: Ref<SelectFieldNames | undefined>;
|
|
14
14
|
loading?: Ref<boolean>;
|
|
15
|
+
disabled?: Ref<boolean>;
|
|
15
16
|
popupVisible: Ref<boolean>;
|
|
16
17
|
valueKeys: Ref<string[]>;
|
|
17
18
|
dropdownRef?: Ref<ComponentPublicInstance | undefined>;
|
|
@@ -348,8 +348,8 @@ export declare const Select: {
|
|
|
348
348
|
resize: () => true;
|
|
349
349
|
}, import('vue').PublicProps, {
|
|
350
350
|
disabled: boolean;
|
|
351
|
-
animationName: string;
|
|
352
351
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
352
|
+
animationName: string;
|
|
353
353
|
autoFitPosition: boolean;
|
|
354
354
|
popupVisible: boolean;
|
|
355
355
|
defaultPopupVisible: boolean;
|
|
@@ -536,8 +536,8 @@ export declare const Select: {
|
|
|
536
536
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
537
537
|
}>, () => any, {}, {}, {}, {
|
|
538
538
|
disabled: boolean;
|
|
539
|
-
animationName: string;
|
|
540
539
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
540
|
+
animationName: string;
|
|
541
541
|
autoFitPosition: boolean;
|
|
542
542
|
popupVisible: boolean;
|
|
543
543
|
defaultPopupVisible: boolean;
|
|
@@ -724,8 +724,8 @@ export declare const Select: {
|
|
|
724
724
|
resize: () => true;
|
|
725
725
|
}, string, {
|
|
726
726
|
disabled: boolean;
|
|
727
|
-
animationName: string;
|
|
728
727
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
728
|
+
animationName: string;
|
|
729
729
|
autoFitPosition: boolean;
|
|
730
730
|
popupVisible: boolean;
|
|
731
731
|
defaultPopupVisible: boolean;
|
|
@@ -1446,8 +1446,8 @@ export declare const Select: {
|
|
|
1446
1446
|
resize: () => true;
|
|
1447
1447
|
}, import('vue').PublicProps, {
|
|
1448
1448
|
disabled: boolean;
|
|
1449
|
-
animationName: string;
|
|
1450
1449
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1450
|
+
animationName: string;
|
|
1451
1451
|
autoFitPosition: boolean;
|
|
1452
1452
|
popupVisible: boolean;
|
|
1453
1453
|
defaultPopupVisible: boolean;
|
|
@@ -1634,8 +1634,8 @@ export declare const Select: {
|
|
|
1634
1634
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
1635
1635
|
}>, () => any, {}, {}, {}, {
|
|
1636
1636
|
disabled: boolean;
|
|
1637
|
-
animationName: string;
|
|
1638
1637
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1638
|
+
animationName: string;
|
|
1639
1639
|
autoFitPosition: boolean;
|
|
1640
1640
|
popupVisible: boolean;
|
|
1641
1641
|
defaultPopupVisible: boolean;
|
|
@@ -1822,8 +1822,8 @@ export declare const Select: {
|
|
|
1822
1822
|
resize: () => true;
|
|
1823
1823
|
}, string, {
|
|
1824
1824
|
disabled: boolean;
|
|
1825
|
-
animationName: string;
|
|
1826
1825
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1826
|
+
animationName: string;
|
|
1827
1827
|
autoFitPosition: boolean;
|
|
1828
1828
|
popupVisible: boolean;
|
|
1829
1829
|
defaultPopupVisible: boolean;
|