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
|
@@ -50,6 +50,9 @@ export declare const Dropdown: {
|
|
|
50
50
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
51
51
|
onReachBottom?: ((ev: Event) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
+
renderTrigger: (attrs: Record<string, unknown>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
}>[];
|
|
53
56
|
className: {
|
|
54
57
|
block: string;
|
|
55
58
|
element: (className: string) => string;
|
|
@@ -60,6 +63,12 @@ export declare const Dropdown: {
|
|
|
60
63
|
handlePopupVisibleChange: (visible: boolean) => void;
|
|
61
64
|
handleScroll: (ev: Event) => void;
|
|
62
65
|
handleReachBottom: (ev: Event) => void;
|
|
66
|
+
panelRef: import('vue').Ref<import('./context').DropdownPanelRef | undefined, import('./context').DropdownPanelRef | undefined>;
|
|
67
|
+
handleShow: () => void;
|
|
68
|
+
handleTriggerKeydown: (ev: KeyboardEvent) => void;
|
|
69
|
+
handleTriggerFocus: (ev: FocusEvent) => void;
|
|
70
|
+
handleClose: () => void;
|
|
71
|
+
handleKeyboardSelect: (ev: Event) => void;
|
|
63
72
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
64
73
|
'update:popupVisible': (visible: boolean) => true;
|
|
65
74
|
popupVisibleChange: (visible: boolean) => true;
|
|
@@ -236,8 +245,8 @@ export declare const Dropdown: {
|
|
|
236
245
|
resize: () => true;
|
|
237
246
|
}, import('vue').PublicProps, {
|
|
238
247
|
disabled: boolean;
|
|
239
|
-
animationName: string;
|
|
240
248
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
249
|
+
animationName: string;
|
|
241
250
|
autoFitPosition: boolean;
|
|
242
251
|
popupVisible: boolean;
|
|
243
252
|
defaultPopupVisible: boolean;
|
|
@@ -424,8 +433,8 @@ export declare const Dropdown: {
|
|
|
424
433
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
425
434
|
}>, () => any, {}, {}, {}, {
|
|
426
435
|
disabled: boolean;
|
|
427
|
-
animationName: string;
|
|
428
436
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
437
|
+
animationName: string;
|
|
429
438
|
autoFitPosition: boolean;
|
|
430
439
|
popupVisible: boolean;
|
|
431
440
|
defaultPopupVisible: boolean;
|
|
@@ -612,8 +621,8 @@ export declare const Dropdown: {
|
|
|
612
621
|
resize: () => true;
|
|
613
622
|
}, string, {
|
|
614
623
|
disabled: boolean;
|
|
615
|
-
animationName: string;
|
|
616
624
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
625
|
+
animationName: string;
|
|
617
626
|
autoFitPosition: boolean;
|
|
618
627
|
popupVisible: boolean;
|
|
619
628
|
defaultPopupVisible: boolean;
|
|
@@ -646,6 +655,7 @@ export declare const Dropdown: {
|
|
|
646
655
|
install(app: import('vue').App): void;
|
|
647
656
|
};
|
|
648
657
|
DropdownPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
658
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
649
659
|
loading: {
|
|
650
660
|
type: BooleanConstructor;
|
|
651
661
|
default: boolean;
|
|
@@ -676,9 +686,12 @@ export declare const Dropdown: {
|
|
|
676
686
|
})[]>;
|
|
677
687
|
style: import('vue').ComputedRef<import('vue').CSSProperties | undefined>;
|
|
678
688
|
wrapperRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
689
|
+
panelElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
690
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
679
691
|
handleScroll: (e: Event) => void;
|
|
680
692
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
681
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("scroll" | "reachBottom")[], "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
693
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "scroll" | "reachBottom")[], "close" | "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
694
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
682
695
|
loading: {
|
|
683
696
|
type: BooleanConstructor;
|
|
684
697
|
default: boolean;
|
|
@@ -698,10 +711,12 @@ export declare const Dropdown: {
|
|
|
698
711
|
type: import('vue').PropType<import('../../_hooks/_types').EmitType<(ev: Event) => void>>;
|
|
699
712
|
};
|
|
700
713
|
}>> & Readonly<{
|
|
714
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
701
715
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
702
716
|
onReachBottom?: ((...args: any[]) => any) | undefined;
|
|
703
717
|
}>, {
|
|
704
718
|
loading: boolean;
|
|
719
|
+
closeOnArrowLeft: boolean;
|
|
705
720
|
isEmpty: boolean;
|
|
706
721
|
bottomOffset: number;
|
|
707
722
|
}, {}, {
|
|
@@ -1160,6 +1175,17 @@ export declare const Dropdown: {
|
|
|
1160
1175
|
install(app: import('vue').App): void;
|
|
1161
1176
|
};
|
|
1162
1177
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1178
|
+
RenderFunction: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1179
|
+
renderFunc: {
|
|
1180
|
+
type: import('vue').PropType<import('../../_container/render-function').RenderFunc>;
|
|
1181
|
+
required: true;
|
|
1182
|
+
};
|
|
1183
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1184
|
+
renderFunc: {
|
|
1185
|
+
type: import('vue').PropType<import('../../_container/render-function').RenderFunc>;
|
|
1186
|
+
required: true;
|
|
1187
|
+
};
|
|
1188
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1163
1189
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1164
1190
|
P: {};
|
|
1165
1191
|
B: {};
|
|
@@ -1218,6 +1244,9 @@ export declare const Dropdown: {
|
|
|
1218
1244
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
1219
1245
|
onReachBottom?: ((ev: Event) => any) | undefined;
|
|
1220
1246
|
}>, {
|
|
1247
|
+
renderTrigger: (attrs: Record<string, unknown>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
1248
|
+
[key: string]: any;
|
|
1249
|
+
}>[];
|
|
1221
1250
|
className: {
|
|
1222
1251
|
block: string;
|
|
1223
1252
|
element: (className: string) => string;
|
|
@@ -1228,6 +1257,12 @@ export declare const Dropdown: {
|
|
|
1228
1257
|
handlePopupVisibleChange: (visible: boolean) => void;
|
|
1229
1258
|
handleScroll: (ev: Event) => void;
|
|
1230
1259
|
handleReachBottom: (ev: Event) => void;
|
|
1260
|
+
panelRef: import('vue').Ref<import('./context').DropdownPanelRef | undefined, import('./context').DropdownPanelRef | undefined>;
|
|
1261
|
+
handleShow: () => void;
|
|
1262
|
+
handleTriggerKeydown: (ev: KeyboardEvent) => void;
|
|
1263
|
+
handleTriggerFocus: (ev: FocusEvent) => void;
|
|
1264
|
+
handleClose: () => void;
|
|
1265
|
+
handleKeyboardSelect: (ev: Event) => void;
|
|
1231
1266
|
}, {}, {}, {}, {
|
|
1232
1267
|
loading: boolean;
|
|
1233
1268
|
position: import('./interface').DropdownPosition;
|
|
@@ -1294,6 +1329,9 @@ export declare const Dropdown: {
|
|
|
1294
1329
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
1295
1330
|
onReachBottom?: ((ev: Event) => any) | undefined;
|
|
1296
1331
|
}>, {
|
|
1332
|
+
renderTrigger: (attrs: Record<string, unknown>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
1333
|
+
[key: string]: any;
|
|
1334
|
+
}>[];
|
|
1297
1335
|
className: {
|
|
1298
1336
|
block: string;
|
|
1299
1337
|
element: (className: string) => string;
|
|
@@ -1304,6 +1342,12 @@ export declare const Dropdown: {
|
|
|
1304
1342
|
handlePopupVisibleChange: (visible: boolean) => void;
|
|
1305
1343
|
handleScroll: (ev: Event) => void;
|
|
1306
1344
|
handleReachBottom: (ev: Event) => void;
|
|
1345
|
+
panelRef: import('vue').Ref<import('./context').DropdownPanelRef | undefined, import('./context').DropdownPanelRef | undefined>;
|
|
1346
|
+
handleShow: () => void;
|
|
1347
|
+
handleTriggerKeydown: (ev: KeyboardEvent) => void;
|
|
1348
|
+
handleTriggerFocus: (ev: FocusEvent) => void;
|
|
1349
|
+
handleClose: () => void;
|
|
1350
|
+
handleKeyboardSelect: (ev: Event) => void;
|
|
1307
1351
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1308
1352
|
'update:popupVisible': (visible: boolean) => true;
|
|
1309
1353
|
popupVisibleChange: (visible: boolean) => true;
|
|
@@ -1480,8 +1524,8 @@ export declare const Dropdown: {
|
|
|
1480
1524
|
resize: () => true;
|
|
1481
1525
|
}, import('vue').PublicProps, {
|
|
1482
1526
|
disabled: boolean;
|
|
1483
|
-
animationName: string;
|
|
1484
1527
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1528
|
+
animationName: string;
|
|
1485
1529
|
autoFitPosition: boolean;
|
|
1486
1530
|
popupVisible: boolean;
|
|
1487
1531
|
defaultPopupVisible: boolean;
|
|
@@ -1668,8 +1712,8 @@ export declare const Dropdown: {
|
|
|
1668
1712
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
1669
1713
|
}>, () => any, {}, {}, {}, {
|
|
1670
1714
|
disabled: boolean;
|
|
1671
|
-
animationName: string;
|
|
1672
1715
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1716
|
+
animationName: string;
|
|
1673
1717
|
autoFitPosition: boolean;
|
|
1674
1718
|
popupVisible: boolean;
|
|
1675
1719
|
defaultPopupVisible: boolean;
|
|
@@ -1856,8 +1900,8 @@ export declare const Dropdown: {
|
|
|
1856
1900
|
resize: () => true;
|
|
1857
1901
|
}, string, {
|
|
1858
1902
|
disabled: boolean;
|
|
1859
|
-
animationName: string;
|
|
1860
1903
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1904
|
+
animationName: string;
|
|
1861
1905
|
autoFitPosition: boolean;
|
|
1862
1906
|
popupVisible: boolean;
|
|
1863
1907
|
defaultPopupVisible: boolean;
|
|
@@ -1890,6 +1934,7 @@ export declare const Dropdown: {
|
|
|
1890
1934
|
install(app: import('vue').App): void;
|
|
1891
1935
|
};
|
|
1892
1936
|
DropdownPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1937
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
1893
1938
|
loading: {
|
|
1894
1939
|
type: BooleanConstructor;
|
|
1895
1940
|
default: boolean;
|
|
@@ -1920,9 +1965,12 @@ export declare const Dropdown: {
|
|
|
1920
1965
|
})[]>;
|
|
1921
1966
|
style: import('vue').ComputedRef<import('vue').CSSProperties | undefined>;
|
|
1922
1967
|
wrapperRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
1968
|
+
panelElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
1969
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
1923
1970
|
handleScroll: (e: Event) => void;
|
|
1924
1971
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
1925
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("scroll" | "reachBottom")[], "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1972
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "scroll" | "reachBottom")[], "close" | "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1973
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
1926
1974
|
loading: {
|
|
1927
1975
|
type: BooleanConstructor;
|
|
1928
1976
|
default: boolean;
|
|
@@ -1942,10 +1990,12 @@ export declare const Dropdown: {
|
|
|
1942
1990
|
type: import('vue').PropType<import('../../_hooks/_types').EmitType<(ev: Event) => void>>;
|
|
1943
1991
|
};
|
|
1944
1992
|
}>> & Readonly<{
|
|
1993
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1945
1994
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
1946
1995
|
onReachBottom?: ((...args: any[]) => any) | undefined;
|
|
1947
1996
|
}>, {
|
|
1948
1997
|
loading: boolean;
|
|
1998
|
+
closeOnArrowLeft: boolean;
|
|
1949
1999
|
isEmpty: boolean;
|
|
1950
2000
|
bottomOffset: number;
|
|
1951
2001
|
}, {}, {
|
|
@@ -2404,6 +2454,17 @@ export declare const Dropdown: {
|
|
|
2404
2454
|
install(app: import('vue').App): void;
|
|
2405
2455
|
};
|
|
2406
2456
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2457
|
+
RenderFunction: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2458
|
+
renderFunc: {
|
|
2459
|
+
type: import('vue').PropType<import('../../_container/render-function').RenderFunc>;
|
|
2460
|
+
required: true;
|
|
2461
|
+
};
|
|
2462
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2463
|
+
renderFunc: {
|
|
2464
|
+
type: import('vue').PropType<import('../../_container/render-function').RenderFunc>;
|
|
2465
|
+
required: true;
|
|
2466
|
+
};
|
|
2467
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2407
2468
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
2408
2469
|
install(app: import('vue').App): void;
|
|
2409
2470
|
};
|
|
@@ -2431,6 +2492,8 @@ export declare const DropdownOption: {
|
|
|
2431
2492
|
[x: string]: boolean;
|
|
2432
2493
|
})[]>;
|
|
2433
2494
|
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2495
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
2496
|
+
handleFocus: () => void | undefined;
|
|
2434
2497
|
handleClick: (ev: Event) => void;
|
|
2435
2498
|
handleKeydown: (ev: KeyboardEvent) => void;
|
|
2436
2499
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -2469,6 +2532,8 @@ export declare const DropdownOption: {
|
|
|
2469
2532
|
[x: string]: boolean;
|
|
2470
2533
|
})[]>;
|
|
2471
2534
|
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2535
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
2536
|
+
handleFocus: () => void | undefined;
|
|
2472
2537
|
handleClick: (ev: Event) => void;
|
|
2473
2538
|
handleKeydown: (ev: KeyboardEvent) => void;
|
|
2474
2539
|
}, {}, {}, {}, {
|
|
@@ -2502,6 +2567,8 @@ export declare const DropdownOption: {
|
|
|
2502
2567
|
[x: string]: boolean;
|
|
2503
2568
|
})[]>;
|
|
2504
2569
|
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2570
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
2571
|
+
handleFocus: () => void | undefined;
|
|
2505
2572
|
handleClick: (ev: Event) => void;
|
|
2506
2573
|
handleKeydown: (ev: KeyboardEvent) => void;
|
|
2507
2574
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -2587,6 +2654,149 @@ export declare const DropdownSubmenu: {
|
|
|
2587
2654
|
"onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined;
|
|
2588
2655
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
2589
2656
|
}>, {
|
|
2657
|
+
optionRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
2658
|
+
value: {
|
|
2659
|
+
type: (StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
2660
|
+
};
|
|
2661
|
+
disabled: {
|
|
2662
|
+
type: BooleanConstructor;
|
|
2663
|
+
default: boolean;
|
|
2664
|
+
};
|
|
2665
|
+
active: BooleanConstructor;
|
|
2666
|
+
uninjectContext: BooleanConstructor;
|
|
2667
|
+
}>> & Readonly<{
|
|
2668
|
+
onClick?: ((ev: Event) => any) | undefined;
|
|
2669
|
+
}>, {
|
|
2670
|
+
className: {
|
|
2671
|
+
block: string;
|
|
2672
|
+
element: (className: string) => string;
|
|
2673
|
+
modifier: (className: string) => string;
|
|
2674
|
+
is: (className: string) => string;
|
|
2675
|
+
};
|
|
2676
|
+
cls: import('vue').ComputedRef<(string | {
|
|
2677
|
+
[x: string]: boolean;
|
|
2678
|
+
})[]>;
|
|
2679
|
+
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2680
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
2681
|
+
handleFocus: () => void | undefined;
|
|
2682
|
+
handleClick: (ev: Event) => void;
|
|
2683
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
2684
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2685
|
+
click: (ev: Event) => true;
|
|
2686
|
+
}, import('vue').PublicProps, {
|
|
2687
|
+
disabled: boolean;
|
|
2688
|
+
active: boolean;
|
|
2689
|
+
uninjectContext: boolean;
|
|
2690
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
2691
|
+
P: {};
|
|
2692
|
+
B: {};
|
|
2693
|
+
D: {};
|
|
2694
|
+
C: {};
|
|
2695
|
+
M: {};
|
|
2696
|
+
Defaults: {};
|
|
2697
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
2698
|
+
value: {
|
|
2699
|
+
type: (StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
2700
|
+
};
|
|
2701
|
+
disabled: {
|
|
2702
|
+
type: BooleanConstructor;
|
|
2703
|
+
default: boolean;
|
|
2704
|
+
};
|
|
2705
|
+
active: BooleanConstructor;
|
|
2706
|
+
uninjectContext: BooleanConstructor;
|
|
2707
|
+
}>> & Readonly<{
|
|
2708
|
+
onClick?: ((ev: Event) => any) | undefined;
|
|
2709
|
+
}>, {
|
|
2710
|
+
className: {
|
|
2711
|
+
block: string;
|
|
2712
|
+
element: (className: string) => string;
|
|
2713
|
+
modifier: (className: string) => string;
|
|
2714
|
+
is: (className: string) => string;
|
|
2715
|
+
};
|
|
2716
|
+
cls: import('vue').ComputedRef<(string | {
|
|
2717
|
+
[x: string]: boolean;
|
|
2718
|
+
})[]>;
|
|
2719
|
+
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2720
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
2721
|
+
handleFocus: () => void | undefined;
|
|
2722
|
+
handleClick: (ev: Event) => void;
|
|
2723
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
2724
|
+
}, {}, {}, {}, {
|
|
2725
|
+
disabled: boolean;
|
|
2726
|
+
active: boolean;
|
|
2727
|
+
uninjectContext: boolean;
|
|
2728
|
+
}> | undefined, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
2729
|
+
value: {
|
|
2730
|
+
type: (StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
2731
|
+
};
|
|
2732
|
+
disabled: {
|
|
2733
|
+
type: BooleanConstructor;
|
|
2734
|
+
default: boolean;
|
|
2735
|
+
};
|
|
2736
|
+
active: BooleanConstructor;
|
|
2737
|
+
uninjectContext: BooleanConstructor;
|
|
2738
|
+
}>> & Readonly<{
|
|
2739
|
+
onClick?: ((ev: Event) => any) | undefined;
|
|
2740
|
+
}>, {
|
|
2741
|
+
className: {
|
|
2742
|
+
block: string;
|
|
2743
|
+
element: (className: string) => string;
|
|
2744
|
+
modifier: (className: string) => string;
|
|
2745
|
+
is: (className: string) => string;
|
|
2746
|
+
};
|
|
2747
|
+
cls: import('vue').ComputedRef<(string | {
|
|
2748
|
+
[x: string]: boolean;
|
|
2749
|
+
})[]>;
|
|
2750
|
+
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2751
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
2752
|
+
handleFocus: () => void | undefined;
|
|
2753
|
+
handleClick: (ev: Event) => void;
|
|
2754
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
2755
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2756
|
+
click: (ev: Event) => true;
|
|
2757
|
+
}, import('vue').PublicProps, {
|
|
2758
|
+
disabled: boolean;
|
|
2759
|
+
active: boolean;
|
|
2760
|
+
uninjectContext: boolean;
|
|
2761
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
2762
|
+
P: {};
|
|
2763
|
+
B: {};
|
|
2764
|
+
D: {};
|
|
2765
|
+
C: {};
|
|
2766
|
+
M: {};
|
|
2767
|
+
Defaults: {};
|
|
2768
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
2769
|
+
value: {
|
|
2770
|
+
type: (StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
2771
|
+
};
|
|
2772
|
+
disabled: {
|
|
2773
|
+
type: BooleanConstructor;
|
|
2774
|
+
default: boolean;
|
|
2775
|
+
};
|
|
2776
|
+
active: BooleanConstructor;
|
|
2777
|
+
uninjectContext: BooleanConstructor;
|
|
2778
|
+
}>> & Readonly<{
|
|
2779
|
+
onClick?: ((ev: Event) => any) | undefined;
|
|
2780
|
+
}>, {
|
|
2781
|
+
className: {
|
|
2782
|
+
block: string;
|
|
2783
|
+
element: (className: string) => string;
|
|
2784
|
+
modifier: (className: string) => string;
|
|
2785
|
+
is: (className: string) => string;
|
|
2786
|
+
};
|
|
2787
|
+
cls: import('vue').ComputedRef<(string | {
|
|
2788
|
+
[x: string]: boolean;
|
|
2789
|
+
})[]>;
|
|
2790
|
+
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2791
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
2792
|
+
handleFocus: () => void | undefined;
|
|
2793
|
+
handleClick: (ev: Event) => void;
|
|
2794
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
2795
|
+
}, {}, {}, {}, {
|
|
2796
|
+
disabled: boolean;
|
|
2797
|
+
active: boolean;
|
|
2798
|
+
uninjectContext: boolean;
|
|
2799
|
+
}> | undefined>;
|
|
2590
2800
|
className: {
|
|
2591
2801
|
block: string;
|
|
2592
2802
|
element: (className: string) => string;
|
|
@@ -2595,6 +2805,12 @@ export declare const DropdownSubmenu: {
|
|
|
2595
2805
|
};
|
|
2596
2806
|
computedPopupVisible: import('vue').ComputedRef<boolean>;
|
|
2597
2807
|
handlePopupVisibleChange: (visible: boolean) => void;
|
|
2808
|
+
handleTriggerKeydown: (ev: KeyboardEvent) => void;
|
|
2809
|
+
panelRef: import('vue').Ref<import('./context').DropdownPanelRef | undefined, import('./context').DropdownPanelRef | undefined>;
|
|
2810
|
+
handleShow: () => void;
|
|
2811
|
+
handleTriggerFocus: (ev: FocusEvent) => void;
|
|
2812
|
+
handleClose: () => void;
|
|
2813
|
+
handleKeyboardSelect: (ev: Event) => void;
|
|
2598
2814
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2599
2815
|
'update:popupVisible': (visible: boolean) => true;
|
|
2600
2816
|
popupVisibleChange: (visible: boolean) => true;
|
|
@@ -2763,8 +2979,8 @@ export declare const DropdownSubmenu: {
|
|
|
2763
2979
|
resize: () => true;
|
|
2764
2980
|
}, import('vue').PublicProps, {
|
|
2765
2981
|
disabled: boolean;
|
|
2766
|
-
animationName: string;
|
|
2767
2982
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
2983
|
+
animationName: string;
|
|
2768
2984
|
autoFitPosition: boolean;
|
|
2769
2985
|
popupVisible: boolean;
|
|
2770
2986
|
defaultPopupVisible: boolean;
|
|
@@ -2951,8 +3167,8 @@ export declare const DropdownSubmenu: {
|
|
|
2951
3167
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
2952
3168
|
}>, () => any, {}, {}, {}, {
|
|
2953
3169
|
disabled: boolean;
|
|
2954
|
-
animationName: string;
|
|
2955
3170
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
3171
|
+
animationName: string;
|
|
2956
3172
|
autoFitPosition: boolean;
|
|
2957
3173
|
popupVisible: boolean;
|
|
2958
3174
|
defaultPopupVisible: boolean;
|
|
@@ -3139,8 +3355,8 @@ export declare const DropdownSubmenu: {
|
|
|
3139
3355
|
resize: () => true;
|
|
3140
3356
|
}, string, {
|
|
3141
3357
|
disabled: boolean;
|
|
3142
|
-
animationName: string;
|
|
3143
3358
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
3359
|
+
animationName: string;
|
|
3144
3360
|
autoFitPosition: boolean;
|
|
3145
3361
|
popupVisible: boolean;
|
|
3146
3362
|
defaultPopupVisible: boolean;
|
|
@@ -3173,6 +3389,7 @@ export declare const DropdownSubmenu: {
|
|
|
3173
3389
|
install(app: import('vue').App): void;
|
|
3174
3390
|
};
|
|
3175
3391
|
DropdownPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3392
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
3176
3393
|
loading: {
|
|
3177
3394
|
type: BooleanConstructor;
|
|
3178
3395
|
default: boolean;
|
|
@@ -3203,9 +3420,12 @@ export declare const DropdownSubmenu: {
|
|
|
3203
3420
|
})[]>;
|
|
3204
3421
|
style: import('vue').ComputedRef<import('vue').CSSProperties | undefined>;
|
|
3205
3422
|
wrapperRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
3423
|
+
panelElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
3424
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
3206
3425
|
handleScroll: (e: Event) => void;
|
|
3207
3426
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
3208
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("scroll" | "reachBottom")[], "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3427
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "scroll" | "reachBottom")[], "close" | "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3428
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
3209
3429
|
loading: {
|
|
3210
3430
|
type: BooleanConstructor;
|
|
3211
3431
|
default: boolean;
|
|
@@ -3225,10 +3445,12 @@ export declare const DropdownSubmenu: {
|
|
|
3225
3445
|
type: import('vue').PropType<import('../../_hooks/_types').EmitType<(ev: Event) => void>>;
|
|
3226
3446
|
};
|
|
3227
3447
|
}>> & Readonly<{
|
|
3448
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
3228
3449
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
3229
3450
|
onReachBottom?: ((...args: any[]) => any) | undefined;
|
|
3230
3451
|
}>, {
|
|
3231
3452
|
loading: boolean;
|
|
3453
|
+
closeOnArrowLeft: boolean;
|
|
3232
3454
|
isEmpty: boolean;
|
|
3233
3455
|
bottomOffset: number;
|
|
3234
3456
|
}, {}, {
|
|
@@ -3708,6 +3930,8 @@ export declare const DropdownSubmenu: {
|
|
|
3708
3930
|
[x: string]: boolean;
|
|
3709
3931
|
})[]>;
|
|
3710
3932
|
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
3933
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
3934
|
+
handleFocus: () => void | undefined;
|
|
3711
3935
|
handleClick: (ev: Event) => void;
|
|
3712
3936
|
handleKeydown: (ev: KeyboardEvent) => void;
|
|
3713
3937
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -3805,11 +4029,11 @@ export declare const DropdownSubmenu: {
|
|
|
3805
4029
|
};
|
|
3806
4030
|
}>> & Readonly<{}>, {
|
|
3807
4031
|
name: string;
|
|
4032
|
+
title: string;
|
|
3808
4033
|
size: string | number;
|
|
3809
4034
|
rotate: number;
|
|
3810
4035
|
spin: boolean;
|
|
3811
4036
|
color: string;
|
|
3812
|
-
title: string;
|
|
3813
4037
|
ariaLabel: string;
|
|
3814
4038
|
strokeWidth: string | number;
|
|
3815
4039
|
fillColor: unknown[];
|
|
@@ -3852,6 +4076,149 @@ export declare const DropdownSubmenu: {
|
|
|
3852
4076
|
"onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined;
|
|
3853
4077
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
3854
4078
|
}>, {
|
|
4079
|
+
optionRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4080
|
+
value: {
|
|
4081
|
+
type: (StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
4082
|
+
};
|
|
4083
|
+
disabled: {
|
|
4084
|
+
type: BooleanConstructor;
|
|
4085
|
+
default: boolean;
|
|
4086
|
+
};
|
|
4087
|
+
active: BooleanConstructor;
|
|
4088
|
+
uninjectContext: BooleanConstructor;
|
|
4089
|
+
}>> & Readonly<{
|
|
4090
|
+
onClick?: ((ev: Event) => any) | undefined;
|
|
4091
|
+
}>, {
|
|
4092
|
+
className: {
|
|
4093
|
+
block: string;
|
|
4094
|
+
element: (className: string) => string;
|
|
4095
|
+
modifier: (className: string) => string;
|
|
4096
|
+
is: (className: string) => string;
|
|
4097
|
+
};
|
|
4098
|
+
cls: import('vue').ComputedRef<(string | {
|
|
4099
|
+
[x: string]: boolean;
|
|
4100
|
+
})[]>;
|
|
4101
|
+
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
4102
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
4103
|
+
handleFocus: () => void | undefined;
|
|
4104
|
+
handleClick: (ev: Event) => void;
|
|
4105
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
4106
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4107
|
+
click: (ev: Event) => true;
|
|
4108
|
+
}, import('vue').PublicProps, {
|
|
4109
|
+
disabled: boolean;
|
|
4110
|
+
active: boolean;
|
|
4111
|
+
uninjectContext: boolean;
|
|
4112
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
4113
|
+
P: {};
|
|
4114
|
+
B: {};
|
|
4115
|
+
D: {};
|
|
4116
|
+
C: {};
|
|
4117
|
+
M: {};
|
|
4118
|
+
Defaults: {};
|
|
4119
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
4120
|
+
value: {
|
|
4121
|
+
type: (StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
4122
|
+
};
|
|
4123
|
+
disabled: {
|
|
4124
|
+
type: BooleanConstructor;
|
|
4125
|
+
default: boolean;
|
|
4126
|
+
};
|
|
4127
|
+
active: BooleanConstructor;
|
|
4128
|
+
uninjectContext: BooleanConstructor;
|
|
4129
|
+
}>> & Readonly<{
|
|
4130
|
+
onClick?: ((ev: Event) => any) | undefined;
|
|
4131
|
+
}>, {
|
|
4132
|
+
className: {
|
|
4133
|
+
block: string;
|
|
4134
|
+
element: (className: string) => string;
|
|
4135
|
+
modifier: (className: string) => string;
|
|
4136
|
+
is: (className: string) => string;
|
|
4137
|
+
};
|
|
4138
|
+
cls: import('vue').ComputedRef<(string | {
|
|
4139
|
+
[x: string]: boolean;
|
|
4140
|
+
})[]>;
|
|
4141
|
+
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
4142
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
4143
|
+
handleFocus: () => void | undefined;
|
|
4144
|
+
handleClick: (ev: Event) => void;
|
|
4145
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
4146
|
+
}, {}, {}, {}, {
|
|
4147
|
+
disabled: boolean;
|
|
4148
|
+
active: boolean;
|
|
4149
|
+
uninjectContext: boolean;
|
|
4150
|
+
}> | undefined, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4151
|
+
value: {
|
|
4152
|
+
type: (StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
4153
|
+
};
|
|
4154
|
+
disabled: {
|
|
4155
|
+
type: BooleanConstructor;
|
|
4156
|
+
default: boolean;
|
|
4157
|
+
};
|
|
4158
|
+
active: BooleanConstructor;
|
|
4159
|
+
uninjectContext: BooleanConstructor;
|
|
4160
|
+
}>> & Readonly<{
|
|
4161
|
+
onClick?: ((ev: Event) => any) | undefined;
|
|
4162
|
+
}>, {
|
|
4163
|
+
className: {
|
|
4164
|
+
block: string;
|
|
4165
|
+
element: (className: string) => string;
|
|
4166
|
+
modifier: (className: string) => string;
|
|
4167
|
+
is: (className: string) => string;
|
|
4168
|
+
};
|
|
4169
|
+
cls: import('vue').ComputedRef<(string | {
|
|
4170
|
+
[x: string]: boolean;
|
|
4171
|
+
})[]>;
|
|
4172
|
+
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
4173
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
4174
|
+
handleFocus: () => void | undefined;
|
|
4175
|
+
handleClick: (ev: Event) => void;
|
|
4176
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
4177
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4178
|
+
click: (ev: Event) => true;
|
|
4179
|
+
}, import('vue').PublicProps, {
|
|
4180
|
+
disabled: boolean;
|
|
4181
|
+
active: boolean;
|
|
4182
|
+
uninjectContext: boolean;
|
|
4183
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
4184
|
+
P: {};
|
|
4185
|
+
B: {};
|
|
4186
|
+
D: {};
|
|
4187
|
+
C: {};
|
|
4188
|
+
M: {};
|
|
4189
|
+
Defaults: {};
|
|
4190
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
4191
|
+
value: {
|
|
4192
|
+
type: (StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
4193
|
+
};
|
|
4194
|
+
disabled: {
|
|
4195
|
+
type: BooleanConstructor;
|
|
4196
|
+
default: boolean;
|
|
4197
|
+
};
|
|
4198
|
+
active: BooleanConstructor;
|
|
4199
|
+
uninjectContext: BooleanConstructor;
|
|
4200
|
+
}>> & Readonly<{
|
|
4201
|
+
onClick?: ((ev: Event) => any) | undefined;
|
|
4202
|
+
}>, {
|
|
4203
|
+
className: {
|
|
4204
|
+
block: string;
|
|
4205
|
+
element: (className: string) => string;
|
|
4206
|
+
modifier: (className: string) => string;
|
|
4207
|
+
is: (className: string) => string;
|
|
4208
|
+
};
|
|
4209
|
+
cls: import('vue').ComputedRef<(string | {
|
|
4210
|
+
[x: string]: boolean;
|
|
4211
|
+
})[]>;
|
|
4212
|
+
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
4213
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
4214
|
+
handleFocus: () => void | undefined;
|
|
4215
|
+
handleClick: (ev: Event) => void;
|
|
4216
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
4217
|
+
}, {}, {}, {}, {
|
|
4218
|
+
disabled: boolean;
|
|
4219
|
+
active: boolean;
|
|
4220
|
+
uninjectContext: boolean;
|
|
4221
|
+
}> | undefined>;
|
|
3855
4222
|
className: {
|
|
3856
4223
|
block: string;
|
|
3857
4224
|
element: (className: string) => string;
|
|
@@ -3860,6 +4227,12 @@ export declare const DropdownSubmenu: {
|
|
|
3860
4227
|
};
|
|
3861
4228
|
computedPopupVisible: import('vue').ComputedRef<boolean>;
|
|
3862
4229
|
handlePopupVisibleChange: (visible: boolean) => void;
|
|
4230
|
+
handleTriggerKeydown: (ev: KeyboardEvent) => void;
|
|
4231
|
+
panelRef: import('vue').Ref<import('./context').DropdownPanelRef | undefined, import('./context').DropdownPanelRef | undefined>;
|
|
4232
|
+
handleShow: () => void;
|
|
4233
|
+
handleTriggerFocus: (ev: FocusEvent) => void;
|
|
4234
|
+
handleClose: () => void;
|
|
4235
|
+
handleKeyboardSelect: (ev: Event) => void;
|
|
3863
4236
|
}, {}, {}, {}, {
|
|
3864
4237
|
disabled: boolean;
|
|
3865
4238
|
position: "lt" | "rt";
|
|
@@ -3901,6 +4274,149 @@ export declare const DropdownSubmenu: {
|
|
|
3901
4274
|
"onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined;
|
|
3902
4275
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
3903
4276
|
}>, {
|
|
4277
|
+
optionRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4278
|
+
value: {
|
|
4279
|
+
type: (StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
4280
|
+
};
|
|
4281
|
+
disabled: {
|
|
4282
|
+
type: BooleanConstructor;
|
|
4283
|
+
default: boolean;
|
|
4284
|
+
};
|
|
4285
|
+
active: BooleanConstructor;
|
|
4286
|
+
uninjectContext: BooleanConstructor;
|
|
4287
|
+
}>> & Readonly<{
|
|
4288
|
+
onClick?: ((ev: Event) => any) | undefined;
|
|
4289
|
+
}>, {
|
|
4290
|
+
className: {
|
|
4291
|
+
block: string;
|
|
4292
|
+
element: (className: string) => string;
|
|
4293
|
+
modifier: (className: string) => string;
|
|
4294
|
+
is: (className: string) => string;
|
|
4295
|
+
};
|
|
4296
|
+
cls: import('vue').ComputedRef<(string | {
|
|
4297
|
+
[x: string]: boolean;
|
|
4298
|
+
})[]>;
|
|
4299
|
+
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
4300
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
4301
|
+
handleFocus: () => void | undefined;
|
|
4302
|
+
handleClick: (ev: Event) => void;
|
|
4303
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
4304
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4305
|
+
click: (ev: Event) => true;
|
|
4306
|
+
}, import('vue').PublicProps, {
|
|
4307
|
+
disabled: boolean;
|
|
4308
|
+
active: boolean;
|
|
4309
|
+
uninjectContext: boolean;
|
|
4310
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
4311
|
+
P: {};
|
|
4312
|
+
B: {};
|
|
4313
|
+
D: {};
|
|
4314
|
+
C: {};
|
|
4315
|
+
M: {};
|
|
4316
|
+
Defaults: {};
|
|
4317
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
4318
|
+
value: {
|
|
4319
|
+
type: (StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
4320
|
+
};
|
|
4321
|
+
disabled: {
|
|
4322
|
+
type: BooleanConstructor;
|
|
4323
|
+
default: boolean;
|
|
4324
|
+
};
|
|
4325
|
+
active: BooleanConstructor;
|
|
4326
|
+
uninjectContext: BooleanConstructor;
|
|
4327
|
+
}>> & Readonly<{
|
|
4328
|
+
onClick?: ((ev: Event) => any) | undefined;
|
|
4329
|
+
}>, {
|
|
4330
|
+
className: {
|
|
4331
|
+
block: string;
|
|
4332
|
+
element: (className: string) => string;
|
|
4333
|
+
modifier: (className: string) => string;
|
|
4334
|
+
is: (className: string) => string;
|
|
4335
|
+
};
|
|
4336
|
+
cls: import('vue').ComputedRef<(string | {
|
|
4337
|
+
[x: string]: boolean;
|
|
4338
|
+
})[]>;
|
|
4339
|
+
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
4340
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
4341
|
+
handleFocus: () => void | undefined;
|
|
4342
|
+
handleClick: (ev: Event) => void;
|
|
4343
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
4344
|
+
}, {}, {}, {}, {
|
|
4345
|
+
disabled: boolean;
|
|
4346
|
+
active: boolean;
|
|
4347
|
+
uninjectContext: boolean;
|
|
4348
|
+
}> | undefined, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4349
|
+
value: {
|
|
4350
|
+
type: (StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
4351
|
+
};
|
|
4352
|
+
disabled: {
|
|
4353
|
+
type: BooleanConstructor;
|
|
4354
|
+
default: boolean;
|
|
4355
|
+
};
|
|
4356
|
+
active: BooleanConstructor;
|
|
4357
|
+
uninjectContext: BooleanConstructor;
|
|
4358
|
+
}>> & Readonly<{
|
|
4359
|
+
onClick?: ((ev: Event) => any) | undefined;
|
|
4360
|
+
}>, {
|
|
4361
|
+
className: {
|
|
4362
|
+
block: string;
|
|
4363
|
+
element: (className: string) => string;
|
|
4364
|
+
modifier: (className: string) => string;
|
|
4365
|
+
is: (className: string) => string;
|
|
4366
|
+
};
|
|
4367
|
+
cls: import('vue').ComputedRef<(string | {
|
|
4368
|
+
[x: string]: boolean;
|
|
4369
|
+
})[]>;
|
|
4370
|
+
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
4371
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
4372
|
+
handleFocus: () => void | undefined;
|
|
4373
|
+
handleClick: (ev: Event) => void;
|
|
4374
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
4375
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4376
|
+
click: (ev: Event) => true;
|
|
4377
|
+
}, import('vue').PublicProps, {
|
|
4378
|
+
disabled: boolean;
|
|
4379
|
+
active: boolean;
|
|
4380
|
+
uninjectContext: boolean;
|
|
4381
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
4382
|
+
P: {};
|
|
4383
|
+
B: {};
|
|
4384
|
+
D: {};
|
|
4385
|
+
C: {};
|
|
4386
|
+
M: {};
|
|
4387
|
+
Defaults: {};
|
|
4388
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
4389
|
+
value: {
|
|
4390
|
+
type: (StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
4391
|
+
};
|
|
4392
|
+
disabled: {
|
|
4393
|
+
type: BooleanConstructor;
|
|
4394
|
+
default: boolean;
|
|
4395
|
+
};
|
|
4396
|
+
active: BooleanConstructor;
|
|
4397
|
+
uninjectContext: BooleanConstructor;
|
|
4398
|
+
}>> & Readonly<{
|
|
4399
|
+
onClick?: ((ev: Event) => any) | undefined;
|
|
4400
|
+
}>, {
|
|
4401
|
+
className: {
|
|
4402
|
+
block: string;
|
|
4403
|
+
element: (className: string) => string;
|
|
4404
|
+
modifier: (className: string) => string;
|
|
4405
|
+
is: (className: string) => string;
|
|
4406
|
+
};
|
|
4407
|
+
cls: import('vue').ComputedRef<(string | {
|
|
4408
|
+
[x: string]: boolean;
|
|
4409
|
+
})[]>;
|
|
4410
|
+
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
4411
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
4412
|
+
handleFocus: () => void | undefined;
|
|
4413
|
+
handleClick: (ev: Event) => void;
|
|
4414
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
4415
|
+
}, {}, {}, {}, {
|
|
4416
|
+
disabled: boolean;
|
|
4417
|
+
active: boolean;
|
|
4418
|
+
uninjectContext: boolean;
|
|
4419
|
+
}> | undefined>;
|
|
3904
4420
|
className: {
|
|
3905
4421
|
block: string;
|
|
3906
4422
|
element: (className: string) => string;
|
|
@@ -3909,6 +4425,12 @@ export declare const DropdownSubmenu: {
|
|
|
3909
4425
|
};
|
|
3910
4426
|
computedPopupVisible: import('vue').ComputedRef<boolean>;
|
|
3911
4427
|
handlePopupVisibleChange: (visible: boolean) => void;
|
|
4428
|
+
handleTriggerKeydown: (ev: KeyboardEvent) => void;
|
|
4429
|
+
panelRef: import('vue').Ref<import('./context').DropdownPanelRef | undefined, import('./context').DropdownPanelRef | undefined>;
|
|
4430
|
+
handleShow: () => void;
|
|
4431
|
+
handleTriggerFocus: (ev: FocusEvent) => void;
|
|
4432
|
+
handleClose: () => void;
|
|
4433
|
+
handleKeyboardSelect: (ev: Event) => void;
|
|
3912
4434
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3913
4435
|
'update:popupVisible': (visible: boolean) => true;
|
|
3914
4436
|
popupVisibleChange: (visible: boolean) => true;
|
|
@@ -4077,8 +4599,8 @@ export declare const DropdownSubmenu: {
|
|
|
4077
4599
|
resize: () => true;
|
|
4078
4600
|
}, import('vue').PublicProps, {
|
|
4079
4601
|
disabled: boolean;
|
|
4080
|
-
animationName: string;
|
|
4081
4602
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
4603
|
+
animationName: string;
|
|
4082
4604
|
autoFitPosition: boolean;
|
|
4083
4605
|
popupVisible: boolean;
|
|
4084
4606
|
defaultPopupVisible: boolean;
|
|
@@ -4265,8 +4787,8 @@ export declare const DropdownSubmenu: {
|
|
|
4265
4787
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
4266
4788
|
}>, () => any, {}, {}, {}, {
|
|
4267
4789
|
disabled: boolean;
|
|
4268
|
-
animationName: string;
|
|
4269
4790
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
4791
|
+
animationName: string;
|
|
4270
4792
|
autoFitPosition: boolean;
|
|
4271
4793
|
popupVisible: boolean;
|
|
4272
4794
|
defaultPopupVisible: boolean;
|
|
@@ -4453,8 +4975,8 @@ export declare const DropdownSubmenu: {
|
|
|
4453
4975
|
resize: () => true;
|
|
4454
4976
|
}, string, {
|
|
4455
4977
|
disabled: boolean;
|
|
4456
|
-
animationName: string;
|
|
4457
4978
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
4979
|
+
animationName: string;
|
|
4458
4980
|
autoFitPosition: boolean;
|
|
4459
4981
|
popupVisible: boolean;
|
|
4460
4982
|
defaultPopupVisible: boolean;
|
|
@@ -4487,6 +5009,7 @@ export declare const DropdownSubmenu: {
|
|
|
4487
5009
|
install(app: import('vue').App): void;
|
|
4488
5010
|
};
|
|
4489
5011
|
DropdownPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5012
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
4490
5013
|
loading: {
|
|
4491
5014
|
type: BooleanConstructor;
|
|
4492
5015
|
default: boolean;
|
|
@@ -4517,9 +5040,12 @@ export declare const DropdownSubmenu: {
|
|
|
4517
5040
|
})[]>;
|
|
4518
5041
|
style: import('vue').ComputedRef<import('vue').CSSProperties | undefined>;
|
|
4519
5042
|
wrapperRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
5043
|
+
panelElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
5044
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
4520
5045
|
handleScroll: (e: Event) => void;
|
|
4521
5046
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
4522
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("scroll" | "reachBottom")[], "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5047
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "scroll" | "reachBottom")[], "close" | "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5048
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
4523
5049
|
loading: {
|
|
4524
5050
|
type: BooleanConstructor;
|
|
4525
5051
|
default: boolean;
|
|
@@ -4539,10 +5065,12 @@ export declare const DropdownSubmenu: {
|
|
|
4539
5065
|
type: import('vue').PropType<import('../../_hooks/_types').EmitType<(ev: Event) => void>>;
|
|
4540
5066
|
};
|
|
4541
5067
|
}>> & Readonly<{
|
|
5068
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
4542
5069
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
4543
5070
|
onReachBottom?: ((...args: any[]) => any) | undefined;
|
|
4544
5071
|
}>, {
|
|
4545
5072
|
loading: boolean;
|
|
5073
|
+
closeOnArrowLeft: boolean;
|
|
4546
5074
|
isEmpty: boolean;
|
|
4547
5075
|
bottomOffset: number;
|
|
4548
5076
|
}, {}, {
|
|
@@ -5022,6 +5550,8 @@ export declare const DropdownSubmenu: {
|
|
|
5022
5550
|
[x: string]: boolean;
|
|
5023
5551
|
})[]>;
|
|
5024
5552
|
liRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
5553
|
+
tabIndex: import('vue').ComputedRef<0 | -1>;
|
|
5554
|
+
handleFocus: () => void | undefined;
|
|
5025
5555
|
handleClick: (ev: Event) => void;
|
|
5026
5556
|
handleKeydown: (ev: KeyboardEvent) => void;
|
|
5027
5557
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -5119,11 +5649,11 @@ export declare const DropdownSubmenu: {
|
|
|
5119
5649
|
};
|
|
5120
5650
|
}>> & Readonly<{}>, {
|
|
5121
5651
|
name: string;
|
|
5652
|
+
title: string;
|
|
5122
5653
|
size: string | number;
|
|
5123
5654
|
rotate: number;
|
|
5124
5655
|
spin: boolean;
|
|
5125
5656
|
color: string;
|
|
5126
|
-
title: string;
|
|
5127
5657
|
ariaLabel: string;
|
|
5128
5658
|
strokeWidth: string | number;
|
|
5129
5659
|
fillColor: unknown[];
|
|
@@ -5278,11 +5808,11 @@ export declare const DropdownButton: {
|
|
|
5278
5808
|
};
|
|
5279
5809
|
}>> & Readonly<{}>, {
|
|
5280
5810
|
name: string;
|
|
5811
|
+
title: string;
|
|
5281
5812
|
size: string | number;
|
|
5282
5813
|
rotate: number;
|
|
5283
5814
|
spin: boolean;
|
|
5284
5815
|
color: string;
|
|
5285
|
-
title: string;
|
|
5286
5816
|
ariaLabel: string;
|
|
5287
5817
|
strokeWidth: string | number;
|
|
5288
5818
|
fillColor: unknown[];
|
|
@@ -5655,6 +6185,9 @@ export declare const DropdownButton: {
|
|
|
5655
6185
|
default: boolean;
|
|
5656
6186
|
};
|
|
5657
6187
|
}>, {
|
|
6188
|
+
renderTrigger: (attrs: Record<string, unknown>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
6189
|
+
[key: string]: any;
|
|
6190
|
+
}>[];
|
|
5658
6191
|
className: {
|
|
5659
6192
|
block: string;
|
|
5660
6193
|
element: (className: string) => string;
|
|
@@ -5665,6 +6198,12 @@ export declare const DropdownButton: {
|
|
|
5665
6198
|
handlePopupVisibleChange: (visible: boolean) => void;
|
|
5666
6199
|
handleScroll: (ev: Event) => void;
|
|
5667
6200
|
handleReachBottom: (ev: Event) => void;
|
|
6201
|
+
panelRef: import('vue').Ref<import('./context').DropdownPanelRef | undefined, import('./context').DropdownPanelRef | undefined>;
|
|
6202
|
+
handleShow: () => void;
|
|
6203
|
+
handleTriggerKeydown: (ev: KeyboardEvent) => void;
|
|
6204
|
+
handleTriggerFocus: (ev: FocusEvent) => void;
|
|
6205
|
+
handleClose: () => void;
|
|
6206
|
+
handleKeyboardSelect: (ev: Event) => void;
|
|
5668
6207
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5669
6208
|
'update:popupVisible': (visible: boolean) => true;
|
|
5670
6209
|
popupVisibleChange: (visible: boolean) => true;
|
|
@@ -5891,8 +6430,8 @@ export declare const DropdownButton: {
|
|
|
5891
6430
|
resize: () => true;
|
|
5892
6431
|
}, import('vue').PublicProps, {
|
|
5893
6432
|
disabled: boolean;
|
|
5894
|
-
animationName: string;
|
|
5895
6433
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
6434
|
+
animationName: string;
|
|
5896
6435
|
autoFitPosition: boolean;
|
|
5897
6436
|
popupVisible: boolean;
|
|
5898
6437
|
defaultPopupVisible: boolean;
|
|
@@ -6079,8 +6618,8 @@ export declare const DropdownButton: {
|
|
|
6079
6618
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
6080
6619
|
}>, () => any, {}, {}, {}, {
|
|
6081
6620
|
disabled: boolean;
|
|
6082
|
-
animationName: string;
|
|
6083
6621
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
6622
|
+
animationName: string;
|
|
6084
6623
|
autoFitPosition: boolean;
|
|
6085
6624
|
popupVisible: boolean;
|
|
6086
6625
|
defaultPopupVisible: boolean;
|
|
@@ -6267,8 +6806,8 @@ export declare const DropdownButton: {
|
|
|
6267
6806
|
resize: () => true;
|
|
6268
6807
|
}, string, {
|
|
6269
6808
|
disabled: boolean;
|
|
6270
|
-
animationName: string;
|
|
6271
6809
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
6810
|
+
animationName: string;
|
|
6272
6811
|
autoFitPosition: boolean;
|
|
6273
6812
|
popupVisible: boolean;
|
|
6274
6813
|
defaultPopupVisible: boolean;
|
|
@@ -6301,6 +6840,7 @@ export declare const DropdownButton: {
|
|
|
6301
6840
|
install(app: import('vue').App): void;
|
|
6302
6841
|
};
|
|
6303
6842
|
DropdownPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6843
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
6304
6844
|
loading: {
|
|
6305
6845
|
type: BooleanConstructor;
|
|
6306
6846
|
default: boolean;
|
|
@@ -6331,9 +6871,12 @@ export declare const DropdownButton: {
|
|
|
6331
6871
|
})[]>;
|
|
6332
6872
|
style: import('vue').ComputedRef<import('vue').CSSProperties | undefined>;
|
|
6333
6873
|
wrapperRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
6874
|
+
panelElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
6875
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
6334
6876
|
handleScroll: (e: Event) => void;
|
|
6335
6877
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
6336
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("scroll" | "reachBottom")[], "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
6878
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "scroll" | "reachBottom")[], "close" | "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
6879
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
6337
6880
|
loading: {
|
|
6338
6881
|
type: BooleanConstructor;
|
|
6339
6882
|
default: boolean;
|
|
@@ -6353,10 +6896,12 @@ export declare const DropdownButton: {
|
|
|
6353
6896
|
type: import('vue').PropType<import('../../_hooks/_types').EmitType<(ev: Event) => void>>;
|
|
6354
6897
|
};
|
|
6355
6898
|
}>> & Readonly<{
|
|
6899
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
6356
6900
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
6357
6901
|
onReachBottom?: ((...args: any[]) => any) | undefined;
|
|
6358
6902
|
}>, {
|
|
6359
6903
|
loading: boolean;
|
|
6904
|
+
closeOnArrowLeft: boolean;
|
|
6360
6905
|
isEmpty: boolean;
|
|
6361
6906
|
bottomOffset: number;
|
|
6362
6907
|
}, {}, {
|
|
@@ -6815,6 +7360,17 @@ export declare const DropdownButton: {
|
|
|
6815
7360
|
install(app: import('vue').App): void;
|
|
6816
7361
|
};
|
|
6817
7362
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7363
|
+
RenderFunction: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7364
|
+
renderFunc: {
|
|
7365
|
+
type: import('vue').PropType<import('../../_container/render-function').RenderFunc>;
|
|
7366
|
+
required: true;
|
|
7367
|
+
};
|
|
7368
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7369
|
+
renderFunc: {
|
|
7370
|
+
type: import('vue').PropType<import('../../_container/render-function').RenderFunc>;
|
|
7371
|
+
required: true;
|
|
7372
|
+
};
|
|
7373
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6818
7374
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6819
7375
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
6820
7376
|
P: {};
|
|
@@ -7037,11 +7593,11 @@ export declare const DropdownButton: {
|
|
|
7037
7593
|
};
|
|
7038
7594
|
}>> & Readonly<{}>, {
|
|
7039
7595
|
name: string;
|
|
7596
|
+
title: string;
|
|
7040
7597
|
size: string | number;
|
|
7041
7598
|
rotate: number;
|
|
7042
7599
|
spin: boolean;
|
|
7043
7600
|
color: string;
|
|
7044
|
-
title: string;
|
|
7045
7601
|
ariaLabel: string;
|
|
7046
7602
|
strokeWidth: string | number;
|
|
7047
7603
|
fillColor: unknown[];
|
|
@@ -7414,6 +7970,9 @@ export declare const DropdownButton: {
|
|
|
7414
7970
|
default: boolean;
|
|
7415
7971
|
};
|
|
7416
7972
|
}>, {
|
|
7973
|
+
renderTrigger: (attrs: Record<string, unknown>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
7974
|
+
[key: string]: any;
|
|
7975
|
+
}>[];
|
|
7417
7976
|
className: {
|
|
7418
7977
|
block: string;
|
|
7419
7978
|
element: (className: string) => string;
|
|
@@ -7424,6 +7983,12 @@ export declare const DropdownButton: {
|
|
|
7424
7983
|
handlePopupVisibleChange: (visible: boolean) => void;
|
|
7425
7984
|
handleScroll: (ev: Event) => void;
|
|
7426
7985
|
handleReachBottom: (ev: Event) => void;
|
|
7986
|
+
panelRef: import('vue').Ref<import('./context').DropdownPanelRef | undefined, import('./context').DropdownPanelRef | undefined>;
|
|
7987
|
+
handleShow: () => void;
|
|
7988
|
+
handleTriggerKeydown: (ev: KeyboardEvent) => void;
|
|
7989
|
+
handleTriggerFocus: (ev: FocusEvent) => void;
|
|
7990
|
+
handleClose: () => void;
|
|
7991
|
+
handleKeyboardSelect: (ev: Event) => void;
|
|
7427
7992
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7428
7993
|
'update:popupVisible': (visible: boolean) => true;
|
|
7429
7994
|
popupVisibleChange: (visible: boolean) => true;
|
|
@@ -7650,8 +8215,8 @@ export declare const DropdownButton: {
|
|
|
7650
8215
|
resize: () => true;
|
|
7651
8216
|
}, import('vue').PublicProps, {
|
|
7652
8217
|
disabled: boolean;
|
|
7653
|
-
animationName: string;
|
|
7654
8218
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8219
|
+
animationName: string;
|
|
7655
8220
|
autoFitPosition: boolean;
|
|
7656
8221
|
popupVisible: boolean;
|
|
7657
8222
|
defaultPopupVisible: boolean;
|
|
@@ -7838,8 +8403,8 @@ export declare const DropdownButton: {
|
|
|
7838
8403
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
7839
8404
|
}>, () => any, {}, {}, {}, {
|
|
7840
8405
|
disabled: boolean;
|
|
7841
|
-
animationName: string;
|
|
7842
8406
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8407
|
+
animationName: string;
|
|
7843
8408
|
autoFitPosition: boolean;
|
|
7844
8409
|
popupVisible: boolean;
|
|
7845
8410
|
defaultPopupVisible: boolean;
|
|
@@ -8026,8 +8591,8 @@ export declare const DropdownButton: {
|
|
|
8026
8591
|
resize: () => true;
|
|
8027
8592
|
}, string, {
|
|
8028
8593
|
disabled: boolean;
|
|
8029
|
-
animationName: string;
|
|
8030
8594
|
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8595
|
+
animationName: string;
|
|
8031
8596
|
autoFitPosition: boolean;
|
|
8032
8597
|
popupVisible: boolean;
|
|
8033
8598
|
defaultPopupVisible: boolean;
|
|
@@ -8060,6 +8625,7 @@ export declare const DropdownButton: {
|
|
|
8060
8625
|
install(app: import('vue').App): void;
|
|
8061
8626
|
};
|
|
8062
8627
|
DropdownPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8628
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
8063
8629
|
loading: {
|
|
8064
8630
|
type: BooleanConstructor;
|
|
8065
8631
|
default: boolean;
|
|
@@ -8090,9 +8656,12 @@ export declare const DropdownButton: {
|
|
|
8090
8656
|
})[]>;
|
|
8091
8657
|
style: import('vue').ComputedRef<import('vue').CSSProperties | undefined>;
|
|
8092
8658
|
wrapperRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
8659
|
+
panelElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
8660
|
+
handleKeydown: (ev: KeyboardEvent) => void;
|
|
8093
8661
|
handleScroll: (e: Event) => void;
|
|
8094
8662
|
t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
8095
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("scroll" | "reachBottom")[], "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8663
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "scroll" | "reachBottom")[], "close" | "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8664
|
+
closeOnArrowLeft: BooleanConstructor;
|
|
8096
8665
|
loading: {
|
|
8097
8666
|
type: BooleanConstructor;
|
|
8098
8667
|
default: boolean;
|
|
@@ -8112,10 +8681,12 @@ export declare const DropdownButton: {
|
|
|
8112
8681
|
type: import('vue').PropType<import('../../_hooks/_types').EmitType<(ev: Event) => void>>;
|
|
8113
8682
|
};
|
|
8114
8683
|
}>> & Readonly<{
|
|
8684
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
8115
8685
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
8116
8686
|
onReachBottom?: ((...args: any[]) => any) | undefined;
|
|
8117
8687
|
}>, {
|
|
8118
8688
|
loading: boolean;
|
|
8689
|
+
closeOnArrowLeft: boolean;
|
|
8119
8690
|
isEmpty: boolean;
|
|
8120
8691
|
bottomOffset: number;
|
|
8121
8692
|
}, {}, {
|
|
@@ -8574,6 +9145,17 @@ export declare const DropdownButton: {
|
|
|
8574
9145
|
install(app: import('vue').App): void;
|
|
8575
9146
|
};
|
|
8576
9147
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9148
|
+
RenderFunction: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9149
|
+
renderFunc: {
|
|
9150
|
+
type: import('vue').PropType<import('../../_container/render-function').RenderFunc>;
|
|
9151
|
+
required: true;
|
|
9152
|
+
};
|
|
9153
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9154
|
+
renderFunc: {
|
|
9155
|
+
type: import('vue').PropType<import('../../_container/render-function').RenderFunc>;
|
|
9156
|
+
required: true;
|
|
9157
|
+
};
|
|
9158
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8577
9159
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8578
9160
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
8579
9161
|
install(app: import('vue').App): void;
|