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
|
@@ -282,7 +282,11 @@ export declare const DatePicker: {
|
|
|
282
282
|
handleBlur: (ev: FocusEvent) => void;
|
|
283
283
|
handleEsc: () => void;
|
|
284
284
|
handleFocusedIndexChange: (index: number) => void;
|
|
285
|
-
openPanel: () => void;
|
|
285
|
+
openPanel: (event?: KeyboardEvent) => void;
|
|
286
|
+
popupRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
287
|
+
panelId: string;
|
|
288
|
+
handlePanelKeydown: (event: KeyboardEvent) => void;
|
|
289
|
+
handlePopupFocusout: (event: FocusEvent) => void;
|
|
286
290
|
focus: () => void;
|
|
287
291
|
blur: () => void;
|
|
288
292
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -479,8 +483,8 @@ export declare const DatePicker: {
|
|
|
479
483
|
resize: () => true;
|
|
480
484
|
}, import('vue').PublicProps, {
|
|
481
485
|
disabled: boolean;
|
|
482
|
-
animationName: string;
|
|
483
486
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
487
|
+
animationName: string;
|
|
484
488
|
autoFitPosition: boolean;
|
|
485
489
|
popupVisible: boolean;
|
|
486
490
|
defaultPopupVisible: boolean;
|
|
@@ -667,8 +671,8 @@ export declare const DatePicker: {
|
|
|
667
671
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
668
672
|
}>, () => any, {}, {}, {}, {
|
|
669
673
|
disabled: boolean;
|
|
670
|
-
animationName: string;
|
|
671
674
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
675
|
+
animationName: string;
|
|
672
676
|
autoFitPosition: boolean;
|
|
673
677
|
popupVisible: boolean;
|
|
674
678
|
defaultPopupVisible: boolean;
|
|
@@ -855,8 +859,8 @@ export declare const DatePicker: {
|
|
|
855
859
|
resize: () => true;
|
|
856
860
|
}, string, {
|
|
857
861
|
disabled: boolean;
|
|
858
|
-
animationName: string;
|
|
859
862
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
863
|
+
animationName: string;
|
|
860
864
|
autoFitPosition: boolean;
|
|
861
865
|
popupVisible: boolean;
|
|
862
866
|
defaultPopupVisible: boolean;
|
|
@@ -925,6 +929,10 @@ export declare const DatePicker: {
|
|
|
925
929
|
required: true;
|
|
926
930
|
};
|
|
927
931
|
}>, {
|
|
932
|
+
wrapperAttrs: import('vue').ComputedRef<Omit<{
|
|
933
|
+
[x: string]: unknown;
|
|
934
|
+
}, string>>;
|
|
935
|
+
formControlAttrs: import('vue').ComputedRef<Record<string, unknown>>;
|
|
928
936
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
929
937
|
feedback: import('vue').Ref<string | undefined, string | undefined>;
|
|
930
938
|
className: {
|
|
@@ -1128,11 +1136,11 @@ export declare const DatePicker: {
|
|
|
1128
1136
|
};
|
|
1129
1137
|
}>> & Readonly<{}>, {
|
|
1130
1138
|
name: string;
|
|
1139
|
+
title: string;
|
|
1131
1140
|
size: string | number;
|
|
1132
1141
|
rotate: number;
|
|
1133
1142
|
spin: boolean;
|
|
1134
1143
|
color: string;
|
|
1135
|
-
title: string;
|
|
1136
1144
|
ariaLabel: string;
|
|
1137
1145
|
strokeWidth: string | number;
|
|
1138
1146
|
fillColor: unknown[];
|
|
@@ -1224,11 +1232,11 @@ export declare const DatePicker: {
|
|
|
1224
1232
|
};
|
|
1225
1233
|
}>> & Readonly<{}>, {
|
|
1226
1234
|
name: string;
|
|
1235
|
+
title: string;
|
|
1227
1236
|
size: string | number;
|
|
1228
1237
|
rotate: number;
|
|
1229
1238
|
spin: boolean;
|
|
1230
1239
|
color: string;
|
|
1231
|
-
title: string;
|
|
1232
1240
|
ariaLabel: string;
|
|
1233
1241
|
strokeWidth: string | number;
|
|
1234
1242
|
fillColor: unknown[];
|
|
@@ -1309,11 +1317,11 @@ export declare const DatePicker: {
|
|
|
1309
1317
|
};
|
|
1310
1318
|
}>> & Readonly<{}>, {
|
|
1311
1319
|
name: string;
|
|
1320
|
+
title: string;
|
|
1312
1321
|
size: string | number;
|
|
1313
1322
|
rotate: number;
|
|
1314
1323
|
spin: boolean;
|
|
1315
1324
|
color: string;
|
|
1316
|
-
title: string;
|
|
1317
1325
|
ariaLabel: string;
|
|
1318
1326
|
strokeWidth: string | number;
|
|
1319
1327
|
fillColor: unknown[];
|
|
@@ -1394,11 +1402,11 @@ export declare const DatePicker: {
|
|
|
1394
1402
|
};
|
|
1395
1403
|
}>> & Readonly<{}>, {
|
|
1396
1404
|
name: string;
|
|
1405
|
+
title: string;
|
|
1397
1406
|
size: string | number;
|
|
1398
1407
|
rotate: number;
|
|
1399
1408
|
spin: boolean;
|
|
1400
1409
|
color: string;
|
|
1401
|
-
title: string;
|
|
1402
1410
|
ariaLabel: string;
|
|
1403
1411
|
strokeWidth: string | number;
|
|
1404
1412
|
fillColor: unknown[];
|
|
@@ -1479,11 +1487,11 @@ export declare const DatePicker: {
|
|
|
1479
1487
|
};
|
|
1480
1488
|
}>> & Readonly<{}>, {
|
|
1481
1489
|
name: string;
|
|
1490
|
+
title: string;
|
|
1482
1491
|
size: string | number;
|
|
1483
1492
|
rotate: number;
|
|
1484
1493
|
spin: boolean;
|
|
1485
1494
|
color: string;
|
|
1486
|
-
title: string;
|
|
1487
1495
|
ariaLabel: string;
|
|
1488
1496
|
strokeWidth: string | number;
|
|
1489
1497
|
fillColor: unknown[];
|
|
@@ -1533,6 +1541,11 @@ export declare const DatePicker: {
|
|
|
1533
1541
|
required: true;
|
|
1534
1542
|
};
|
|
1535
1543
|
}>, {
|
|
1544
|
+
wrapperAttrs: import('vue').ComputedRef<Omit<{
|
|
1545
|
+
[x: string]: unknown;
|
|
1546
|
+
}, string>>;
|
|
1547
|
+
formControlAttrs0: import('vue').ComputedRef<Record<string, unknown>>;
|
|
1548
|
+
formControlAttrs1: import('vue').ComputedRef<Record<string, unknown>>;
|
|
1536
1549
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
1537
1550
|
className: {
|
|
1538
1551
|
block: string;
|
|
@@ -1559,7 +1572,6 @@ export declare const DatePicker: {
|
|
|
1559
1572
|
onFocus: (e: Event) => void;
|
|
1560
1573
|
onBlur: (e: Event) => void;
|
|
1561
1574
|
onPressEnter: () => void;
|
|
1562
|
-
onPressTab: (e: Event) => void;
|
|
1563
1575
|
onClear: (e: Event) => void;
|
|
1564
1576
|
feedback: import('vue').Ref<string | undefined, string | undefined>;
|
|
1565
1577
|
}, {}, {}, {
|
|
@@ -1756,11 +1768,11 @@ export declare const DatePicker: {
|
|
|
1756
1768
|
};
|
|
1757
1769
|
}>> & Readonly<{}>, {
|
|
1758
1770
|
name: string;
|
|
1771
|
+
title: string;
|
|
1759
1772
|
size: string | number;
|
|
1760
1773
|
rotate: number;
|
|
1761
1774
|
spin: boolean;
|
|
1762
1775
|
color: string;
|
|
1763
|
-
title: string;
|
|
1764
1776
|
ariaLabel: string;
|
|
1765
1777
|
strokeWidth: string | number;
|
|
1766
1778
|
fillColor: unknown[];
|
|
@@ -1852,11 +1864,11 @@ export declare const DatePicker: {
|
|
|
1852
1864
|
};
|
|
1853
1865
|
}>> & Readonly<{}>, {
|
|
1854
1866
|
name: string;
|
|
1867
|
+
title: string;
|
|
1855
1868
|
size: string | number;
|
|
1856
1869
|
rotate: number;
|
|
1857
1870
|
spin: boolean;
|
|
1858
1871
|
color: string;
|
|
1859
|
-
title: string;
|
|
1860
1872
|
ariaLabel: string;
|
|
1861
1873
|
strokeWidth: string | number;
|
|
1862
1874
|
fillColor: unknown[];
|
|
@@ -1937,11 +1949,11 @@ export declare const DatePicker: {
|
|
|
1937
1949
|
};
|
|
1938
1950
|
}>> & Readonly<{}>, {
|
|
1939
1951
|
name: string;
|
|
1952
|
+
title: string;
|
|
1940
1953
|
size: string | number;
|
|
1941
1954
|
rotate: number;
|
|
1942
1955
|
spin: boolean;
|
|
1943
1956
|
color: string;
|
|
1944
|
-
title: string;
|
|
1945
1957
|
ariaLabel: string;
|
|
1946
1958
|
strokeWidth: string | number;
|
|
1947
1959
|
fillColor: unknown[];
|
|
@@ -2022,11 +2034,11 @@ export declare const DatePicker: {
|
|
|
2022
2034
|
};
|
|
2023
2035
|
}>> & Readonly<{}>, {
|
|
2024
2036
|
name: string;
|
|
2037
|
+
title: string;
|
|
2025
2038
|
size: string | number;
|
|
2026
2039
|
rotate: number;
|
|
2027
2040
|
spin: boolean;
|
|
2028
2041
|
color: string;
|
|
2029
|
-
title: string;
|
|
2030
2042
|
ariaLabel: string;
|
|
2031
2043
|
strokeWidth: string | number;
|
|
2032
2044
|
fillColor: unknown[];
|
|
@@ -2107,11 +2119,11 @@ export declare const DatePicker: {
|
|
|
2107
2119
|
};
|
|
2108
2120
|
}>> & Readonly<{}>, {
|
|
2109
2121
|
name: string;
|
|
2122
|
+
title: string;
|
|
2110
2123
|
size: string | number;
|
|
2111
2124
|
rotate: number;
|
|
2112
2125
|
spin: boolean;
|
|
2113
2126
|
color: string;
|
|
2114
|
-
title: string;
|
|
2115
2127
|
ariaLabel: string;
|
|
2116
2128
|
strokeWidth: string | number;
|
|
2117
2129
|
fillColor: unknown[];
|
|
@@ -2181,6 +2193,11 @@ export declare const DatePicker: {
|
|
|
2181
2193
|
is: (className: string) => string;
|
|
2182
2194
|
};
|
|
2183
2195
|
cells: import('vue').ComputedRef<import('./interface').DatePickerCell[]>;
|
|
2196
|
+
cellRows: import('vue').ComputedRef<import('./interface').DatePickerCell[][]>;
|
|
2197
|
+
panelRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2198
|
+
activeTitle: import('vue').Ref<string, string>;
|
|
2199
|
+
activeCell: import('vue').ComputedRef<import('./interface').DatePickerCell>;
|
|
2200
|
+
handleCellKeydown: (event: KeyboardEvent, cell: import('./interface').DatePickerCell) => void;
|
|
2184
2201
|
headerLabel: import('vue').ComputedRef<string>;
|
|
2185
2202
|
todayLabel: import('vue').ComputedRef<string>;
|
|
2186
2203
|
weekdayLabels: import('vue').ComputedRef<string[]>;
|
|
@@ -2380,6 +2397,9 @@ export declare const DatePicker: {
|
|
|
2380
2397
|
handleSelect: (item: import('../time-picker/interface').TimePickerColumnItem) => void;
|
|
2381
2398
|
moveActive: (offset: number) => void;
|
|
2382
2399
|
selectActive: () => void;
|
|
2400
|
+
activeItem: import('vue').ComputedRef<import('../time-picker/interface').TimePickerColumnItem | undefined>;
|
|
2401
|
+
getItemId: (item: import('../time-picker/interface').TimePickerColumnItem) => string;
|
|
2402
|
+
moveBoundary: (end: boolean) => void;
|
|
2383
2403
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2384
2404
|
select: (_type: import('../time-picker/interface').TimePickerColumnType, _value: import('../time-picker/interface').TimePickerColumnItem["value"]) => true;
|
|
2385
2405
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -3033,11 +3053,11 @@ export declare const DatePicker: {
|
|
|
3033
3053
|
};
|
|
3034
3054
|
}>> & Readonly<{}>, {
|
|
3035
3055
|
name: string;
|
|
3056
|
+
title: string;
|
|
3036
3057
|
size: string | number;
|
|
3037
3058
|
rotate: number;
|
|
3038
3059
|
spin: boolean;
|
|
3039
3060
|
color: string;
|
|
3040
|
-
title: string;
|
|
3041
3061
|
ariaLabel: string;
|
|
3042
3062
|
strokeWidth: string | number;
|
|
3043
3063
|
fillColor: unknown[];
|
|
@@ -3330,7 +3350,11 @@ export declare const DatePicker: {
|
|
|
3330
3350
|
handleBlur: (ev: FocusEvent) => void;
|
|
3331
3351
|
handleEsc: () => void;
|
|
3332
3352
|
handleFocusedIndexChange: (index: number) => void;
|
|
3333
|
-
openPanel: () => void;
|
|
3353
|
+
openPanel: (event?: KeyboardEvent) => void;
|
|
3354
|
+
popupRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
3355
|
+
panelId: string;
|
|
3356
|
+
handlePanelKeydown: (event: KeyboardEvent) => void;
|
|
3357
|
+
handlePopupFocusout: (event: FocusEvent) => void;
|
|
3334
3358
|
focus: () => void;
|
|
3335
3359
|
blur: () => void;
|
|
3336
3360
|
}, {}, {}, {}, {
|
|
@@ -3637,7 +3661,11 @@ export declare const DatePicker: {
|
|
|
3637
3661
|
handleBlur: (ev: FocusEvent) => void;
|
|
3638
3662
|
handleEsc: () => void;
|
|
3639
3663
|
handleFocusedIndexChange: (index: number) => void;
|
|
3640
|
-
openPanel: () => void;
|
|
3664
|
+
openPanel: (event?: KeyboardEvent) => void;
|
|
3665
|
+
popupRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
3666
|
+
panelId: string;
|
|
3667
|
+
handlePanelKeydown: (event: KeyboardEvent) => void;
|
|
3668
|
+
handlePopupFocusout: (event: FocusEvent) => void;
|
|
3641
3669
|
focus: () => void;
|
|
3642
3670
|
blur: () => void;
|
|
3643
3671
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -3834,8 +3862,8 @@ export declare const DatePicker: {
|
|
|
3834
3862
|
resize: () => true;
|
|
3835
3863
|
}, import('vue').PublicProps, {
|
|
3836
3864
|
disabled: boolean;
|
|
3837
|
-
animationName: string;
|
|
3838
3865
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
3866
|
+
animationName: string;
|
|
3839
3867
|
autoFitPosition: boolean;
|
|
3840
3868
|
popupVisible: boolean;
|
|
3841
3869
|
defaultPopupVisible: boolean;
|
|
@@ -4022,8 +4050,8 @@ export declare const DatePicker: {
|
|
|
4022
4050
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
4023
4051
|
}>, () => any, {}, {}, {}, {
|
|
4024
4052
|
disabled: boolean;
|
|
4025
|
-
animationName: string;
|
|
4026
4053
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
4054
|
+
animationName: string;
|
|
4027
4055
|
autoFitPosition: boolean;
|
|
4028
4056
|
popupVisible: boolean;
|
|
4029
4057
|
defaultPopupVisible: boolean;
|
|
@@ -4210,8 +4238,8 @@ export declare const DatePicker: {
|
|
|
4210
4238
|
resize: () => true;
|
|
4211
4239
|
}, string, {
|
|
4212
4240
|
disabled: boolean;
|
|
4213
|
-
animationName: string;
|
|
4214
4241
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
4242
|
+
animationName: string;
|
|
4215
4243
|
autoFitPosition: boolean;
|
|
4216
4244
|
popupVisible: boolean;
|
|
4217
4245
|
defaultPopupVisible: boolean;
|
|
@@ -4280,6 +4308,10 @@ export declare const DatePicker: {
|
|
|
4280
4308
|
required: true;
|
|
4281
4309
|
};
|
|
4282
4310
|
}>, {
|
|
4311
|
+
wrapperAttrs: import('vue').ComputedRef<Omit<{
|
|
4312
|
+
[x: string]: unknown;
|
|
4313
|
+
}, string>>;
|
|
4314
|
+
formControlAttrs: import('vue').ComputedRef<Record<string, unknown>>;
|
|
4283
4315
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
4284
4316
|
feedback: import('vue').Ref<string | undefined, string | undefined>;
|
|
4285
4317
|
className: {
|
|
@@ -4483,11 +4515,11 @@ export declare const DatePicker: {
|
|
|
4483
4515
|
};
|
|
4484
4516
|
}>> & Readonly<{}>, {
|
|
4485
4517
|
name: string;
|
|
4518
|
+
title: string;
|
|
4486
4519
|
size: string | number;
|
|
4487
4520
|
rotate: number;
|
|
4488
4521
|
spin: boolean;
|
|
4489
4522
|
color: string;
|
|
4490
|
-
title: string;
|
|
4491
4523
|
ariaLabel: string;
|
|
4492
4524
|
strokeWidth: string | number;
|
|
4493
4525
|
fillColor: unknown[];
|
|
@@ -4579,11 +4611,11 @@ export declare const DatePicker: {
|
|
|
4579
4611
|
};
|
|
4580
4612
|
}>> & Readonly<{}>, {
|
|
4581
4613
|
name: string;
|
|
4614
|
+
title: string;
|
|
4582
4615
|
size: string | number;
|
|
4583
4616
|
rotate: number;
|
|
4584
4617
|
spin: boolean;
|
|
4585
4618
|
color: string;
|
|
4586
|
-
title: string;
|
|
4587
4619
|
ariaLabel: string;
|
|
4588
4620
|
strokeWidth: string | number;
|
|
4589
4621
|
fillColor: unknown[];
|
|
@@ -4664,11 +4696,11 @@ export declare const DatePicker: {
|
|
|
4664
4696
|
};
|
|
4665
4697
|
}>> & Readonly<{}>, {
|
|
4666
4698
|
name: string;
|
|
4699
|
+
title: string;
|
|
4667
4700
|
size: string | number;
|
|
4668
4701
|
rotate: number;
|
|
4669
4702
|
spin: boolean;
|
|
4670
4703
|
color: string;
|
|
4671
|
-
title: string;
|
|
4672
4704
|
ariaLabel: string;
|
|
4673
4705
|
strokeWidth: string | number;
|
|
4674
4706
|
fillColor: unknown[];
|
|
@@ -4749,11 +4781,11 @@ export declare const DatePicker: {
|
|
|
4749
4781
|
};
|
|
4750
4782
|
}>> & Readonly<{}>, {
|
|
4751
4783
|
name: string;
|
|
4784
|
+
title: string;
|
|
4752
4785
|
size: string | number;
|
|
4753
4786
|
rotate: number;
|
|
4754
4787
|
spin: boolean;
|
|
4755
4788
|
color: string;
|
|
4756
|
-
title: string;
|
|
4757
4789
|
ariaLabel: string;
|
|
4758
4790
|
strokeWidth: string | number;
|
|
4759
4791
|
fillColor: unknown[];
|
|
@@ -4834,11 +4866,11 @@ export declare const DatePicker: {
|
|
|
4834
4866
|
};
|
|
4835
4867
|
}>> & Readonly<{}>, {
|
|
4836
4868
|
name: string;
|
|
4869
|
+
title: string;
|
|
4837
4870
|
size: string | number;
|
|
4838
4871
|
rotate: number;
|
|
4839
4872
|
spin: boolean;
|
|
4840
4873
|
color: string;
|
|
4841
|
-
title: string;
|
|
4842
4874
|
ariaLabel: string;
|
|
4843
4875
|
strokeWidth: string | number;
|
|
4844
4876
|
fillColor: unknown[];
|
|
@@ -4888,6 +4920,11 @@ export declare const DatePicker: {
|
|
|
4888
4920
|
required: true;
|
|
4889
4921
|
};
|
|
4890
4922
|
}>, {
|
|
4923
|
+
wrapperAttrs: import('vue').ComputedRef<Omit<{
|
|
4924
|
+
[x: string]: unknown;
|
|
4925
|
+
}, string>>;
|
|
4926
|
+
formControlAttrs0: import('vue').ComputedRef<Record<string, unknown>>;
|
|
4927
|
+
formControlAttrs1: import('vue').ComputedRef<Record<string, unknown>>;
|
|
4891
4928
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
4892
4929
|
className: {
|
|
4893
4930
|
block: string;
|
|
@@ -4914,7 +4951,6 @@ export declare const DatePicker: {
|
|
|
4914
4951
|
onFocus: (e: Event) => void;
|
|
4915
4952
|
onBlur: (e: Event) => void;
|
|
4916
4953
|
onPressEnter: () => void;
|
|
4917
|
-
onPressTab: (e: Event) => void;
|
|
4918
4954
|
onClear: (e: Event) => void;
|
|
4919
4955
|
feedback: import('vue').Ref<string | undefined, string | undefined>;
|
|
4920
4956
|
}, {}, {}, {
|
|
@@ -5111,11 +5147,11 @@ export declare const DatePicker: {
|
|
|
5111
5147
|
};
|
|
5112
5148
|
}>> & Readonly<{}>, {
|
|
5113
5149
|
name: string;
|
|
5150
|
+
title: string;
|
|
5114
5151
|
size: string | number;
|
|
5115
5152
|
rotate: number;
|
|
5116
5153
|
spin: boolean;
|
|
5117
5154
|
color: string;
|
|
5118
|
-
title: string;
|
|
5119
5155
|
ariaLabel: string;
|
|
5120
5156
|
strokeWidth: string | number;
|
|
5121
5157
|
fillColor: unknown[];
|
|
@@ -5207,11 +5243,11 @@ export declare const DatePicker: {
|
|
|
5207
5243
|
};
|
|
5208
5244
|
}>> & Readonly<{}>, {
|
|
5209
5245
|
name: string;
|
|
5246
|
+
title: string;
|
|
5210
5247
|
size: string | number;
|
|
5211
5248
|
rotate: number;
|
|
5212
5249
|
spin: boolean;
|
|
5213
5250
|
color: string;
|
|
5214
|
-
title: string;
|
|
5215
5251
|
ariaLabel: string;
|
|
5216
5252
|
strokeWidth: string | number;
|
|
5217
5253
|
fillColor: unknown[];
|
|
@@ -5292,11 +5328,11 @@ export declare const DatePicker: {
|
|
|
5292
5328
|
};
|
|
5293
5329
|
}>> & Readonly<{}>, {
|
|
5294
5330
|
name: string;
|
|
5331
|
+
title: string;
|
|
5295
5332
|
size: string | number;
|
|
5296
5333
|
rotate: number;
|
|
5297
5334
|
spin: boolean;
|
|
5298
5335
|
color: string;
|
|
5299
|
-
title: string;
|
|
5300
5336
|
ariaLabel: string;
|
|
5301
5337
|
strokeWidth: string | number;
|
|
5302
5338
|
fillColor: unknown[];
|
|
@@ -5377,11 +5413,11 @@ export declare const DatePicker: {
|
|
|
5377
5413
|
};
|
|
5378
5414
|
}>> & Readonly<{}>, {
|
|
5379
5415
|
name: string;
|
|
5416
|
+
title: string;
|
|
5380
5417
|
size: string | number;
|
|
5381
5418
|
rotate: number;
|
|
5382
5419
|
spin: boolean;
|
|
5383
5420
|
color: string;
|
|
5384
|
-
title: string;
|
|
5385
5421
|
ariaLabel: string;
|
|
5386
5422
|
strokeWidth: string | number;
|
|
5387
5423
|
fillColor: unknown[];
|
|
@@ -5462,11 +5498,11 @@ export declare const DatePicker: {
|
|
|
5462
5498
|
};
|
|
5463
5499
|
}>> & Readonly<{}>, {
|
|
5464
5500
|
name: string;
|
|
5501
|
+
title: string;
|
|
5465
5502
|
size: string | number;
|
|
5466
5503
|
rotate: number;
|
|
5467
5504
|
spin: boolean;
|
|
5468
5505
|
color: string;
|
|
5469
|
-
title: string;
|
|
5470
5506
|
ariaLabel: string;
|
|
5471
5507
|
strokeWidth: string | number;
|
|
5472
5508
|
fillColor: unknown[];
|
|
@@ -5536,6 +5572,11 @@ export declare const DatePicker: {
|
|
|
5536
5572
|
is: (className: string) => string;
|
|
5537
5573
|
};
|
|
5538
5574
|
cells: import('vue').ComputedRef<import('./interface').DatePickerCell[]>;
|
|
5575
|
+
cellRows: import('vue').ComputedRef<import('./interface').DatePickerCell[][]>;
|
|
5576
|
+
panelRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
5577
|
+
activeTitle: import('vue').Ref<string, string>;
|
|
5578
|
+
activeCell: import('vue').ComputedRef<import('./interface').DatePickerCell>;
|
|
5579
|
+
handleCellKeydown: (event: KeyboardEvent, cell: import('./interface').DatePickerCell) => void;
|
|
5539
5580
|
headerLabel: import('vue').ComputedRef<string>;
|
|
5540
5581
|
todayLabel: import('vue').ComputedRef<string>;
|
|
5541
5582
|
weekdayLabels: import('vue').ComputedRef<string[]>;
|
|
@@ -5735,6 +5776,9 @@ export declare const DatePicker: {
|
|
|
5735
5776
|
handleSelect: (item: import('../time-picker/interface').TimePickerColumnItem) => void;
|
|
5736
5777
|
moveActive: (offset: number) => void;
|
|
5737
5778
|
selectActive: () => void;
|
|
5779
|
+
activeItem: import('vue').ComputedRef<import('../time-picker/interface').TimePickerColumnItem | undefined>;
|
|
5780
|
+
getItemId: (item: import('../time-picker/interface').TimePickerColumnItem) => string;
|
|
5781
|
+
moveBoundary: (end: boolean) => void;
|
|
5738
5782
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5739
5783
|
select: (_type: import('../time-picker/interface').TimePickerColumnType, _value: import('../time-picker/interface').TimePickerColumnItem["value"]) => true;
|
|
5740
5784
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -6388,11 +6432,11 @@ export declare const DatePicker: {
|
|
|
6388
6432
|
};
|
|
6389
6433
|
}>> & Readonly<{}>, {
|
|
6390
6434
|
name: string;
|
|
6435
|
+
title: string;
|
|
6391
6436
|
size: string | number;
|
|
6392
6437
|
rotate: number;
|
|
6393
6438
|
spin: boolean;
|
|
6394
6439
|
color: string;
|
|
6395
|
-
title: string;
|
|
6396
6440
|
ariaLabel: string;
|
|
6397
6441
|
strokeWidth: string | number;
|
|
6398
6442
|
fillColor: unknown[];
|
|
@@ -175,9 +175,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
175
175
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
176
176
|
}>, {
|
|
177
177
|
top: string | number;
|
|
178
|
+
title: string;
|
|
178
179
|
center: boolean;
|
|
179
180
|
disabled: boolean;
|
|
180
|
-
title: string;
|
|
181
181
|
mask: boolean;
|
|
182
182
|
fullscreen: boolean;
|
|
183
183
|
height: string | number;
|
|
@@ -92,9 +92,9 @@ export declare const Dialog: {
|
|
|
92
92
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
93
93
|
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "open" | "closed" | "opened" | "update:modelValue")[], import('vue').PublicProps, {
|
|
94
94
|
top: string | number;
|
|
95
|
+
title: string;
|
|
95
96
|
center: boolean;
|
|
96
97
|
disabled: boolean;
|
|
97
|
-
title: string;
|
|
98
98
|
mask: boolean;
|
|
99
99
|
fullscreen: boolean;
|
|
100
100
|
height: string | number;
|
|
@@ -214,9 +214,9 @@ export declare const Dialog: {
|
|
|
214
214
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
215
215
|
}>, () => VNode, {}, {}, {}, {
|
|
216
216
|
top: string | number;
|
|
217
|
+
title: string;
|
|
217
218
|
center: boolean;
|
|
218
219
|
disabled: boolean;
|
|
219
|
-
title: string;
|
|
220
220
|
mask: boolean;
|
|
221
221
|
fullscreen: boolean;
|
|
222
222
|
height: string | number;
|
|
@@ -329,9 +329,9 @@ export declare const Dialog: {
|
|
|
329
329
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
330
330
|
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "open" | "closed" | "opened" | "update:modelValue")[], "close" | "open" | "closed" | "opened" | "update:modelValue", {
|
|
331
331
|
top: string | number;
|
|
332
|
+
title: string;
|
|
332
333
|
center: boolean;
|
|
333
334
|
disabled: boolean;
|
|
334
|
-
title: string;
|
|
335
335
|
mask: boolean;
|
|
336
336
|
fullscreen: boolean;
|
|
337
337
|
height: string | number;
|
|
@@ -130,8 +130,8 @@ export declare const Drawer: {
|
|
|
130
130
|
cancel: boolean;
|
|
131
131
|
};
|
|
132
132
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "cancel" | "ok" | "open" | "closed" | "opened" | "update:modelValue")[], import('vue').PublicProps, {
|
|
133
|
-
disabled: boolean;
|
|
134
133
|
title: string;
|
|
134
|
+
disabled: boolean;
|
|
135
135
|
mask: boolean;
|
|
136
136
|
okText: string;
|
|
137
137
|
cancelText: string;
|
|
@@ -938,8 +938,8 @@ export declare const Drawer: {
|
|
|
938
938
|
cancel: boolean;
|
|
939
939
|
};
|
|
940
940
|
}, {}, {}, {}, {
|
|
941
|
-
disabled: boolean;
|
|
942
941
|
title: string;
|
|
942
|
+
disabled: boolean;
|
|
943
943
|
mask: boolean;
|
|
944
944
|
okText: string;
|
|
945
945
|
cancelText: string;
|
|
@@ -1091,8 +1091,8 @@ export declare const Drawer: {
|
|
|
1091
1091
|
cancel: boolean;
|
|
1092
1092
|
};
|
|
1093
1093
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "cancel" | "ok" | "open" | "closed" | "opened" | "update:modelValue")[], "close" | "cancel" | "ok" | "open" | "closed" | "opened" | "update:modelValue", {
|
|
1094
|
-
disabled: boolean;
|
|
1095
1094
|
title: string;
|
|
1095
|
+
disabled: boolean;
|
|
1096
1096
|
mask: boolean;
|
|
1097
1097
|
okText: string;
|
|
1098
1098
|
cancelText: string;
|
|
@@ -224,8 +224,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
224
224
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
225
225
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
226
226
|
}>, {
|
|
227
|
-
disabled: boolean;
|
|
228
227
|
title: string;
|
|
228
|
+
disabled: boolean;
|
|
229
229
|
mask: boolean;
|
|
230
230
|
okText: string;
|
|
231
231
|
cancelText: string;
|
|
@@ -90,6 +90,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
90
90
|
default: boolean;
|
|
91
91
|
};
|
|
92
92
|
}>, {
|
|
93
|
+
renderTrigger: (attrs: Record<string, unknown>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
}>[];
|
|
93
96
|
className: {
|
|
94
97
|
block: string;
|
|
95
98
|
element: (className: string) => string;
|
|
@@ -100,6 +103,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
100
103
|
handlePopupVisibleChange: (visible: boolean) => void;
|
|
101
104
|
handleScroll: (ev: Event) => void;
|
|
102
105
|
handleReachBottom: (ev: Event) => void;
|
|
106
|
+
panelRef: import('vue').Ref<import('./context').DropdownPanelRef | undefined, import('./context').DropdownPanelRef | undefined>;
|
|
107
|
+
handleShow: () => void;
|
|
108
|
+
handleTriggerKeydown: (ev: KeyboardEvent) => void;
|
|
109
|
+
handleTriggerFocus: (ev: FocusEvent) => void;
|
|
110
|
+
handleClose: () => void;
|
|
111
|
+
handleKeyboardSelect: (ev: Event) => void;
|
|
103
112
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
104
113
|
'update:popupVisible': (visible: boolean) => true;
|
|
105
114
|
/**
|
|
@@ -391,8 +400,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
391
400
|
resize: () => true;
|
|
392
401
|
}, import('vue').PublicProps, {
|
|
393
402
|
disabled: boolean;
|
|
394
|
-
animationName: string;
|
|
395
403
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
404
|
+
animationName: string;
|
|
396
405
|
autoFitPosition: boolean;
|
|
397
406
|
popupVisible: boolean;
|
|
398
407
|
defaultPopupVisible: boolean;
|
|
@@ -579,8 +588,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
579
588
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
580
589
|
}>, () => any, {}, {}, {}, {
|
|
581
590
|
disabled: boolean;
|
|
582
|
-
animationName: string;
|
|
583
591
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
592
|
+
animationName: string;
|
|
584
593
|
autoFitPosition: boolean;
|
|
585
594
|
popupVisible: boolean;
|
|
586
595
|
defaultPopupVisible: boolean;
|
|
@@ -767,8 +776,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
767
776
|
resize: () => true;
|
|
768
777
|
}, string, {
|
|
769
778
|
disabled: boolean;
|
|
770
|
-
animationName: string;
|
|
771
779
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
780
|
+
animationName: string;
|
|
772
781
|
autoFitPosition: boolean;
|
|
773
782
|
popupVisible: boolean;
|
|
774
783
|
defaultPopupVisible: boolean;
|
|
@@ -801,6 +810,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
801
810
|
install(app: import('vue').App): void;
|
|
802
811
|
};
|
|
803
812
|
DropdownPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
813
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
804
814
|
loading: {
|
|
805
815
|
type: BooleanConstructor;
|
|
806
816
|
default: boolean;
|
|
@@ -831,9 +841,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
831
841
|
})[]>;
|
|
832
842
|
style: import('vue').ComputedRef<import('vue').CSSProperties | undefined>;
|
|
833
843
|
wrapperRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
844
|
+
panelElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
845
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
834
846
|
handleScroll: (e: Event) => void;
|
|
835
847
|
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
836
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("scroll" | "reachBottom")[], "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
848
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "scroll" | "reachBottom")[], "close" | "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
849
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
837
850
|
loading: {
|
|
838
851
|
type: BooleanConstructor;
|
|
839
852
|
default: boolean;
|
|
@@ -853,10 +866,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
853
866
|
type: PropType<import('../../_hooks/_types.ts').EmitType<(ev: Event) => void>>;
|
|
854
867
|
};
|
|
855
868
|
}>> & Readonly<{
|
|
869
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
856
870
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
857
871
|
onReachBottom?: ((...args: any[]) => any) | undefined;
|
|
858
872
|
}>, {
|
|
859
873
|
loading: boolean;
|
|
874
|
+
closeOnArrowLeft: boolean;
|
|
860
875
|
isEmpty: boolean;
|
|
861
876
|
bottomOffset: number;
|
|
862
877
|
}, {}, {
|
|
@@ -1315,5 +1330,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1315
1330
|
install(app: import('vue').App): void;
|
|
1316
1331
|
};
|
|
1317
1332
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1333
|
+
RenderFunction: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1334
|
+
renderFunc: {
|
|
1335
|
+
type: PropType<import('../../_container/render-function').RenderFunc>;
|
|
1336
|
+
required: true;
|
|
1337
|
+
};
|
|
1338
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1339
|
+
renderFunc: {
|
|
1340
|
+
type: PropType<import('../../_container/render-function').RenderFunc>;
|
|
1341
|
+
required: true;
|
|
1342
|
+
};
|
|
1343
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1318
1344
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1319
1345
|
export default _default;
|