ep-craft 0.1.33 → 0.1.34

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.
Files changed (121) hide show
  1. package/dist/components/button/index.d.ts +12 -0
  2. package/dist/components/button-group/index.d.ts +3 -2
  3. package/dist/components/button-group/index.js +7 -3
  4. package/dist/components/button-group/src/button-group.d.ts +48 -0
  5. package/dist/components/button-group/src/button-group.js +7 -0
  6. package/dist/components/button-group/src/button-group.vue.d.ts +16 -0
  7. package/dist/components/button-group/src/button-group.vue.js +42 -0
  8. package/dist/components/button-group/src/button-group2.vue.js +4 -0
  9. package/dist/components/collection/index.d.ts +8 -0
  10. package/dist/components/collection/src/collection-item.vue.d.ts +2 -0
  11. package/dist/components/collection/src/collection-item.vue.js +10 -0
  12. package/dist/components/collection/src/collection-item2.vue.js +8 -0
  13. package/dist/components/collection/src/collection.d.ts +39 -0
  14. package/dist/components/collection/src/collection.js +52 -0
  15. package/dist/components/collection/src/collection.vue.d.ts +2 -0
  16. package/dist/components/collection/src/collection.vue.js +10 -0
  17. package/dist/components/collection/src/collection2.vue.js +7 -0
  18. package/dist/components/collection/src/tokens.d.ts +18 -0
  19. package/dist/components/divider/index.d.ts +24 -2
  20. package/dist/components/divider/index.js +8 -3
  21. package/dist/components/divider/src/divider.d.ts +30 -0
  22. package/dist/components/divider/src/divider.js +34 -0
  23. package/dist/components/divider/src/divider.vue.d.ts +24 -0
  24. package/dist/components/divider/src/divider.vue.js +39 -0
  25. package/dist/components/divider/src/divider2.vue.js +4 -0
  26. package/dist/components/dropdown/index.d.ts +3017 -3
  27. package/dist/components/dropdown/index.js +23 -3
  28. package/dist/components/dropdown/src/dropdown-item-impl.vue.d.ts +79 -0
  29. package/dist/components/dropdown/src/dropdown-item-impl.vue.js +40 -0
  30. package/dist/components/dropdown/src/dropdown-item-impl2.vue.js +68 -0
  31. package/dist/components/dropdown/src/dropdown-item.vue.d.ts +169 -0
  32. package/dist/components/dropdown/src/dropdown-item.vue.js +35 -0
  33. package/dist/components/dropdown/src/dropdown-item2.vue.js +63 -0
  34. package/dist/components/dropdown/src/dropdown-menu.vue.d.ts +27 -0
  35. package/dist/components/dropdown/src/dropdown-menu.vue.js +24 -0
  36. package/dist/components/dropdown/src/dropdown-menu2.vue.js +75 -0
  37. package/dist/components/dropdown/src/dropdown.d.ts +200 -0
  38. package/dist/components/dropdown/src/dropdown.js +201 -0
  39. package/dist/components/dropdown/src/dropdown.vue.d.ts +1126 -0
  40. package/dist/components/dropdown/src/dropdown.vue.js +127 -0
  41. package/dist/components/dropdown/src/dropdown2.vue.js +127 -0
  42. package/dist/components/dropdown/src/instance.d.ts +2 -0
  43. package/dist/components/dropdown/src/tokens.d.ts +13 -0
  44. package/dist/components/dropdown/src/tokens.js +5 -0
  45. package/dist/components/dropdown/src/useDropdown.d.ts +5 -0
  46. package/dist/components/dropdown/src/useDropdown.js +15 -0
  47. package/dist/components/dropdown-item/index.d.ts +1 -4
  48. package/dist/components/dropdown-menu/index.d.ts +1 -4
  49. package/dist/components/index.js +129 -131
  50. package/dist/components/popover/index.d.ts +121 -3
  51. package/dist/components/popover/index.js +19 -4
  52. package/dist/components/popover/src/directive.d.ts +4 -0
  53. package/dist/components/popover/src/directive.js +15 -0
  54. package/dist/components/popover/src/popover.d.ts +291 -0
  55. package/dist/components/popover/src/popover.js +168 -0
  56. package/dist/components/popover/src/popover.vue.d.ts +53 -0
  57. package/dist/components/popover/src/popover.vue.js +125 -0
  58. package/dist/components/popover/src/popover2.vue.js +4 -0
  59. package/dist/components/progress/index.d.ts +35 -2
  60. package/dist/components/progress/index.js +10 -4
  61. package/dist/components/progress/src/progress.d.ts +97 -0
  62. package/dist/components/progress/src/progress.js +104 -0
  63. package/dist/components/progress/src/progress.vue.d.ts +30 -0
  64. package/dist/components/progress/src/progress.vue.js +179 -0
  65. package/dist/components/progress/src/progress2.vue.js +4 -0
  66. package/dist/components/roving-focus-group/index.d.ts +14 -0
  67. package/dist/components/roving-focus-group/index.js +15 -0
  68. package/dist/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +50 -0
  69. package/dist/components/roving-focus-group/src/roving-focus-group-impl.vue.js +10 -0
  70. package/dist/components/roving-focus-group/src/roving-focus-group-impl2.vue.js +115 -0
  71. package/dist/components/roving-focus-group/src/roving-focus-group.d.ts +56 -0
  72. package/dist/components/roving-focus-group/src/roving-focus-group.js +43 -0
  73. package/dist/components/roving-focus-group/src/roving-focus-group.vue.d.ts +67 -0
  74. package/dist/components/roving-focus-group/src/roving-focus-group.vue.js +13 -0
  75. package/dist/components/roving-focus-group/src/roving-focus-group2.vue.js +21 -0
  76. package/dist/components/roving-focus-group/src/roving-focus-item.vue.d.ts +43 -0
  77. package/dist/components/roving-focus-group/src/roving-focus-item.vue.js +20 -0
  78. package/dist/components/roving-focus-group/src/roving-focus-item2.vue.js +78 -0
  79. package/dist/components/roving-focus-group/src/tokens.d.ts +28 -0
  80. package/dist/components/roving-focus-group/src/tokens.js +5 -0
  81. package/dist/components/roving-focus-group/src/utils.d.ts +8 -0
  82. package/dist/components/roving-focus-group/src/utils.js +28 -0
  83. package/dist/components/upload/index.d.ts +45 -2
  84. package/dist/components/upload/index.js +23 -4
  85. package/dist/components/upload/src/ajax.d.ts +9 -0
  86. package/dist/components/upload/src/ajax.js +58 -0
  87. package/dist/components/upload/src/constants.d.ts +5 -0
  88. package/dist/components/upload/src/constants.js +4 -0
  89. package/dist/components/upload/src/upload-content.d.ts +136 -0
  90. package/dist/components/upload/src/upload-content.js +53 -0
  91. package/dist/components/upload/src/upload-content.vue.d.ts +38 -0
  92. package/dist/components/upload/src/upload-content.vue.js +186 -0
  93. package/dist/components/upload/src/upload-content2.vue.js +4 -0
  94. package/dist/components/upload/src/upload-dragger.d.ts +22 -0
  95. package/dist/components/upload/src/upload-dragger.js +19 -0
  96. package/dist/components/upload/src/upload-dragger.vue.d.ts +19 -0
  97. package/dist/components/upload/src/upload-dragger.vue.js +91 -0
  98. package/dist/components/upload/src/upload-dragger2.vue.js +4 -0
  99. package/dist/components/upload/src/upload-list.d.ts +45 -0
  100. package/dist/components/upload/src/upload-list.js +39 -0
  101. package/dist/components/upload/src/upload-list.vue.d.ts +28 -0
  102. package/dist/components/upload/src/upload-list.vue.js +182 -0
  103. package/dist/components/upload/src/upload-list2.vue.js +4 -0
  104. package/dist/components/upload/src/upload.d.ts +361 -0
  105. package/dist/components/upload/src/upload.js +216 -0
  106. package/dist/components/upload/src/upload.vue.d.ts +64 -0
  107. package/dist/components/upload/src/upload.vue.js +150 -0
  108. package/dist/components/upload/src/upload2.vue.js +4 -0
  109. package/dist/components/upload/src/use-handlers.d.ts +60 -0
  110. package/dist/components/upload/src/use-handlers.js +111 -0
  111. package/dist/ep-craft.js +275 -238
  112. package/dist/index.d.ts +43 -0
  113. package/dist/utils/dom/event.js +12 -11
  114. package/dist/utils/objects.js +10 -9
  115. package/dist/utils/vue/install.js +21 -18
  116. package/dist/utils/vue/refs.js +8 -0
  117. package/dist/vendored-components.d.ts +1 -1
  118. package/dist/vendored-components.js +33 -4
  119. package/package.json +1 -1
  120. package/dist/components/dropdown-item/index.js +0 -6
  121. package/dist/components/dropdown-menu/index.js +0 -6
@@ -0,0 +1,200 @@
1
+ import type { Placement } from '@element-plus/components/popper';
2
+ import type { Options } from '@popperjs/core';
3
+ import type { ButtonProps, ButtonType } from '@element-plus/components/button';
4
+ import type { ComponentInternalInstance, ComputedRef } from 'vue';
5
+ import type { Arrayable, Nullable } from '@element-plus/utils';
6
+ export interface IElDropdownInstance {
7
+ instance?: ComponentInternalInstance;
8
+ dropdownSize?: ComputedRef<string>;
9
+ handleClick?: () => void;
10
+ commandHandler?: (...arg: any[]) => void;
11
+ show?: () => void;
12
+ hide?: () => void;
13
+ trigger?: ComputedRef<string>;
14
+ hideOnClick?: ComputedRef<boolean>;
15
+ triggerElm?: ComputedRef<Nullable<HTMLButtonElement>>;
16
+ }
17
+ export declare const dropdownProps: {
18
+ readonly trigger: {
19
+ readonly type: import("vue").PropType<Arrayable<"click" | "contextmenu" | "hover">>;
20
+ readonly required: false;
21
+ readonly validator: ((val: unknown) => boolean) | undefined;
22
+ readonly __epPropKey: true;
23
+ readonly default: "hover";
24
+ };
25
+ readonly triggerKeys: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => string[], boolean>;
26
+ readonly virtualTriggering: BooleanConstructor;
27
+ readonly virtualRef: {
28
+ readonly type: import("vue").PropType<import("@element-plus/components/popper").Measurable>;
29
+ readonly required: false;
30
+ readonly validator: ((val: unknown) => boolean) | undefined;
31
+ __epPropKey: true;
32
+ };
33
+ readonly effect: {
34
+ readonly default: "light";
35
+ readonly type: import("vue").PropType<import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/components/popper").PopperEffect) | (((new (...args: any[]) => string) | (() => import("@element-plus/components/popper").PopperEffect)) | null)[], unknown, unknown>>;
36
+ readonly required: false;
37
+ readonly validator: ((val: unknown) => boolean) | undefined;
38
+ readonly __epPropKey: true;
39
+ };
40
+ readonly type: {
41
+ readonly type: import("vue").PropType<import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger") | (() => ButtonType) | (((new (...args: any[]) => "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger") | (() => ButtonType)) | null)[], unknown, unknown>>;
42
+ readonly required: false;
43
+ readonly validator: ((val: unknown) => boolean) | undefined;
44
+ __epPropKey: true;
45
+ };
46
+ readonly placement: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], unknown, unknown, "bottom", boolean>;
47
+ readonly popperOptions: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
48
+ readonly id: StringConstructor;
49
+ readonly size: import("@element-plus/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
50
+ readonly splitButton: BooleanConstructor;
51
+ readonly hideOnClick: import("@element-plus/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
52
+ readonly loop: import("@element-plus/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
53
+ readonly showArrow: import("@element-plus/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
54
+ readonly showTimeout: import("@element-plus/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
55
+ readonly hideTimeout: import("@element-plus/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
56
+ readonly tabindex: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, 0, boolean>;
57
+ readonly maxHeight: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, "", boolean>;
58
+ readonly popperClass: {
59
+ readonly type: import("vue").PropType<import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => string | {
60
+ [x: string]: boolean;
61
+ } | (string | {
62
+ [x: string]: boolean;
63
+ } | (string | {
64
+ [x: string]: boolean;
65
+ } | (string | {
66
+ [x: string]: boolean;
67
+ } | (string | {
68
+ [x: string]: boolean;
69
+ } | (string | {
70
+ [x: string]: boolean;
71
+ } | (string | {
72
+ [x: string]: boolean;
73
+ } | (string | {
74
+ [x: string]: boolean;
75
+ } | (string | {
76
+ [x: string]: boolean;
77
+ } | (string | {
78
+ [x: string]: boolean;
79
+ } | (string | {
80
+ [x: string]: boolean;
81
+ } | (string | {
82
+ [x: string]: boolean;
83
+ } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
84
+ [x: string]: boolean;
85
+ } | (string | {
86
+ [x: string]: boolean;
87
+ } | (string | {
88
+ [x: string]: boolean;
89
+ } | (string | {
90
+ [x: string]: boolean;
91
+ } | (string | {
92
+ [x: string]: boolean;
93
+ } | (string | {
94
+ [x: string]: boolean;
95
+ } | (string | {
96
+ [x: string]: boolean;
97
+ } | (string | {
98
+ [x: string]: boolean;
99
+ } | (string | {
100
+ [x: string]: boolean;
101
+ } | (string | {
102
+ [x: string]: boolean;
103
+ } | (string | {
104
+ [x: string]: boolean;
105
+ } | (string | {
106
+ [x: string]: boolean;
107
+ } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | (((new (...args: any[]) => string | {
108
+ [x: string]: boolean;
109
+ } | (string | {
110
+ [x: string]: boolean;
111
+ } | (string | {
112
+ [x: string]: boolean;
113
+ } | (string | {
114
+ [x: string]: boolean;
115
+ } | (string | {
116
+ [x: string]: boolean;
117
+ } | (string | {
118
+ [x: string]: boolean;
119
+ } | (string | {
120
+ [x: string]: boolean;
121
+ } | (string | {
122
+ [x: string]: boolean;
123
+ } | (string | {
124
+ [x: string]: boolean;
125
+ } | (string | {
126
+ [x: string]: boolean;
127
+ } | (string | {
128
+ [x: string]: boolean;
129
+ } | (string | {
130
+ [x: string]: boolean;
131
+ } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
132
+ [x: string]: boolean;
133
+ } | (string | {
134
+ [x: string]: boolean;
135
+ } | (string | {
136
+ [x: string]: boolean;
137
+ } | (string | {
138
+ [x: string]: boolean;
139
+ } | (string | {
140
+ [x: string]: boolean;
141
+ } | (string | {
142
+ [x: string]: boolean;
143
+ } | (string | {
144
+ [x: string]: boolean;
145
+ } | (string | {
146
+ [x: string]: boolean;
147
+ } | (string | {
148
+ [x: string]: boolean;
149
+ } | (string | {
150
+ [x: string]: boolean;
151
+ } | (string | {
152
+ [x: string]: boolean;
153
+ } | (string | {
154
+ [x: string]: boolean;
155
+ } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[])) | null)[], unknown, unknown>>;
156
+ readonly required: false;
157
+ readonly validator: ((val: unknown) => boolean) | undefined;
158
+ __epPropKey: true;
159
+ };
160
+ readonly popperStyle: import("@element-plus/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
161
+ readonly disabled: BooleanConstructor;
162
+ readonly role: import("@element-plus/utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "tree" | "group" | "navigation", unknown, "menu", boolean>;
163
+ readonly buttonProps: {
164
+ readonly type: import("vue").PropType<Partial<ButtonProps>>;
165
+ readonly required: false;
166
+ readonly validator: ((val: unknown) => boolean) | undefined;
167
+ __epPropKey: true;
168
+ };
169
+ readonly teleported: import("@element-plus/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
170
+ readonly appendTo: {
171
+ readonly type: import("vue").PropType<import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>>;
172
+ readonly required: false;
173
+ readonly validator: ((val: unknown) => boolean) | undefined;
174
+ __epPropKey: true;
175
+ };
176
+ readonly persistent: import("@element-plus/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
177
+ };
178
+ export declare const dropdownItemProps: {
179
+ readonly command: import("@element-plus/utils").EpPropFinalized<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown, () => {}, boolean>;
180
+ readonly disabled: BooleanConstructor;
181
+ readonly divided: BooleanConstructor;
182
+ readonly textValue: StringConstructor;
183
+ readonly icon: {
184
+ readonly type: import("vue").PropType<import("@element-plus/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
185
+ readonly required: false;
186
+ readonly validator: ((val: unknown) => boolean) | undefined;
187
+ __epPropKey: true;
188
+ };
189
+ };
190
+ export declare const dropdownMenuProps: {
191
+ onKeydown: {
192
+ readonly type: import("vue").PropType<(e: KeyboardEvent) => void>;
193
+ readonly required: false;
194
+ readonly validator: ((val: unknown) => boolean) | undefined;
195
+ __epPropKey: true;
196
+ };
197
+ };
198
+ export declare const FIRST_KEYS: string[];
199
+ export declare const LAST_KEYS: string[];
200
+ export declare const FIRST_LAST_KEYS: string[];
@@ -0,0 +1,201 @@
1
+ import "@vue/shared";
2
+ import "lodash-unified";
3
+ import "@vueuse/core";
4
+ import { EVENT_CODE as e } from "../../../constants/aria.js";
5
+ import { iconPropType as i } from "../../../utils/vue/icon.js";
6
+ import "vue";
7
+ import { buildProps as p, definePropType as t } from "../../../utils/vue/props/runtime.js";
8
+ import "../../tooltip/index.js";
9
+ import "../../popper/index.js";
10
+ import { useTooltipContentProps as o } from "../../tooltip/src/content.js";
11
+ import { roleTypes as n } from "../../popper/src/popper.js";
12
+ import { useTooltipTriggerProps as r } from "../../tooltip/src/trigger.js";
13
+ const B = p({
14
+ /**
15
+ * @description how to trigger
16
+ */
17
+ trigger: {
18
+ ...r.trigger,
19
+ type: t([
20
+ String,
21
+ Array
22
+ ])
23
+ },
24
+ triggerKeys: {
25
+ type: t(Array),
26
+ default: () => [
27
+ e.enter,
28
+ e.numpadEnter,
29
+ e.space,
30
+ e.down
31
+ ]
32
+ },
33
+ /**
34
+ * @description Indicates whether virtual triggering is enabled
35
+ */
36
+ virtualTriggering: r.virtualTriggering,
37
+ /**
38
+ * @description Indicates the reference element to which the dropdown is attached
39
+ */
40
+ virtualRef: r.virtualRef,
41
+ /**
42
+ * @description Tooltip theme, built-in theme: `dark` / `light`
43
+ */
44
+ effect: {
45
+ ...o.effect,
46
+ default: "light"
47
+ },
48
+ /**
49
+ * @description menu button type, refer to `Button` Component, only works when `split-button` is true
50
+ */
51
+ type: {
52
+ type: t(String)
53
+ },
54
+ /**
55
+ * @description placement of pop menu
56
+ */
57
+ placement: {
58
+ type: t(String),
59
+ default: "bottom"
60
+ },
61
+ /**
62
+ * @description [popper.js](https://popper.js.org/docs/v2/) parameters
63
+ */
64
+ popperOptions: {
65
+ type: t(Object),
66
+ default: () => ({})
67
+ },
68
+ id: String,
69
+ /**
70
+ * @description menu size, also works on the split button
71
+ */
72
+ size: {
73
+ type: String,
74
+ default: ""
75
+ },
76
+ /**
77
+ * @description whether a button group is displayed
78
+ */
79
+ splitButton: Boolean,
80
+ /**
81
+ * @description whether to hide menu after clicking menu-item
82
+ */
83
+ hideOnClick: {
84
+ type: Boolean,
85
+ default: !0
86
+ },
87
+ loop: {
88
+ type: Boolean,
89
+ default: !0
90
+ },
91
+ /**
92
+ * @description whether the tooltip content has an arrow
93
+ */
94
+ showArrow: {
95
+ type: Boolean,
96
+ default: !0
97
+ },
98
+ /**
99
+ * @description delay time before show a dropdown (only works when trigger is `hover`)
100
+ */
101
+ showTimeout: {
102
+ type: Number,
103
+ default: 150
104
+ },
105
+ /**
106
+ * @description delay time before hide a dropdown (only works when trigger is `hover`)
107
+ */
108
+ hideTimeout: {
109
+ type: Number,
110
+ default: 150
111
+ },
112
+ /**
113
+ * @description [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of Dropdown
114
+ */
115
+ tabindex: {
116
+ type: t([Number, String]),
117
+ default: 0
118
+ },
119
+ /**
120
+ * @description the max height of menu
121
+ */
122
+ maxHeight: {
123
+ type: t([Number, String]),
124
+ default: ""
125
+ },
126
+ /**
127
+ * @description custom class name for Dropdown's dropdown
128
+ */
129
+ popperClass: o.popperClass,
130
+ /**
131
+ * @description custom style for Dropdown's dropdown
132
+ */
133
+ popperStyle: o.popperStyle,
134
+ /**
135
+ * @description whether to disable
136
+ */
137
+ disabled: Boolean,
138
+ /**
139
+ * @description the ARIA role attribute for the dropdown menu. Depending on the use case, you may want to change this to 'navigation'
140
+ */
141
+ role: {
142
+ type: String,
143
+ values: n,
144
+ default: "menu"
145
+ },
146
+ buttonProps: {
147
+ type: t(Object)
148
+ },
149
+ /**
150
+ * @description whether the dropdown popup is teleported to the body
151
+ */
152
+ teleported: o.teleported,
153
+ /**
154
+ * @description which element the dropdown CONTENT appends to
155
+ */
156
+ appendTo: o.appendTo,
157
+ /**
158
+ * @description when dropdown inactive and `persistent` is `false` , dropdown menu will be destroyed
159
+ */
160
+ persistent: {
161
+ type: Boolean,
162
+ default: !0
163
+ }
164
+ }), P = p({
165
+ /**
166
+ * @description a command to be dispatched to Dropdown's `command` callback
167
+ */
168
+ command: {
169
+ type: [Object, String, Number],
170
+ default: () => ({})
171
+ },
172
+ /**
173
+ * @description whether the item is disabled
174
+ */
175
+ disabled: Boolean,
176
+ /**
177
+ * @description whether a divider is displayed
178
+ */
179
+ divided: Boolean,
180
+ textValue: String,
181
+ /**
182
+ * @description custom icon
183
+ */
184
+ icon: {
185
+ type: i
186
+ }
187
+ }), h = p({
188
+ onKeydown: { type: t(Function) }
189
+ }), l = [
190
+ e.down,
191
+ e.pageDown,
192
+ e.home
193
+ ], a = [e.up, e.pageUp, e.end], E = [...l, ...a];
194
+ export {
195
+ l as FIRST_KEYS,
196
+ E as FIRST_LAST_KEYS,
197
+ a as LAST_KEYS,
198
+ P as dropdownItemProps,
199
+ h as dropdownMenuProps,
200
+ B as dropdownProps
201
+ };