x-next 1.10.0 → 1.11.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/AI_CODING.md +97 -0
- package/AI_USAGE/catalog.md +111 -0
- package/AI_USAGE/components/alert.md +33 -0
- package/AI_USAGE/components/bar-chart.md +46 -0
- package/AI_USAGE/components/button.md +35 -0
- package/AI_USAGE/components/checkbox.md +34 -0
- package/AI_USAGE/components/color-picker.md +36 -0
- package/AI_USAGE/components/config-provider.md +58 -0
- package/AI_USAGE/components/date-picker.md +34 -0
- package/AI_USAGE/components/dialog.md +37 -0
- package/AI_USAGE/components/dropdown.md +38 -0
- package/AI_USAGE/components/empty.md +30 -0
- package/AI_USAGE/components/input.md +32 -0
- package/AI_USAGE/components/line-chart.md +45 -0
- package/AI_USAGE/components/message-box.md +39 -0
- package/AI_USAGE/components/message.md +36 -0
- package/AI_USAGE/components/notification.md +37 -0
- package/AI_USAGE/components/pagination.md +32 -0
- package/AI_USAGE/components/pie-chart.md +55 -0
- package/AI_USAGE/components/popconfirm.md +33 -0
- package/AI_USAGE/components/popover.md +35 -0
- package/AI_USAGE/components/progress.md +32 -0
- package/AI_USAGE/components/radio.md +35 -0
- package/AI_USAGE/components/rate.md +30 -0
- package/AI_USAGE/components/select.md +38 -0
- package/AI_USAGE/components/slider.md +34 -0
- package/AI_USAGE/components/steps.md +33 -0
- package/AI_USAGE/components/switch.md +32 -0
- package/AI_USAGE/components/tabs.md +33 -0
- package/AI_USAGE/components/textarea.md +31 -0
- package/AI_USAGE/components/time-picker.md +34 -0
- package/AI_USAGE/components/upload.md +60 -0
- package/AI_USAGE/core.md +37 -0
- package/AI_USAGE/index.md +52 -0
- package/AI_USAGE/recipes/form-on-demand.md +42 -0
- package/AI_USAGE.md +173 -46
- package/CHANGELOG.md +36 -1
- package/README.md +15 -2
- package/dist/_container/resize-trigger.vue.d.ts +1 -1
- package/dist/_hooks/use-dialog-focus.d.ts +7 -0
- package/dist/_hooks/use-pointer-drag.d.ts +6 -0
- package/dist/_hooks/use-popup-close.d.ts +11 -0
- package/dist/_hooks/use-popup-theme.d.ts +5 -0
- package/dist/_utils/palette.d.ts +2 -0
- package/dist/components/_components/picker/input-range.vue.d.ts +1 -3
- package/dist/components/_components/picker/input.vue.d.ts +1 -3
- package/dist/components/_components/select-view/select-view.d.ts +9 -0
- package/dist/components/alert/Alert.vue.d.ts +1 -1
- package/dist/components/alert/index.d.ts +3 -3
- package/dist/components/bar-chart/BarChart.d.ts +3 -3
- package/dist/components/bar-chart/index.d.ts +9 -9
- package/dist/components/color-picker/ColorPicker.d.ts +2 -1
- package/dist/components/color-picker/index.d.ts +2 -0
- package/dist/components/color-picker/panel.d.ts +6 -0
- package/dist/components/config-provider/context.d.ts +7 -1
- package/dist/components/date-picker/DatePicker.vue.d.ts +9 -12
- package/dist/components/date-picker/index.d.ts +19 -27
- package/dist/components/drawer/index.d.ts +51 -9
- package/dist/components/drawer/src/Drawer.vue.d.ts +19 -4
- package/dist/components/dropdown/Dropdown.vue.d.ts +6 -3
- package/dist/components/dropdown/DropdownButton.vue.d.ts +6 -3
- package/dist/components/dropdown/DropdownSubmenu.vue.d.ts +6 -3
- package/dist/components/dropdown/dropdown-panel.vue.d.ts +6 -3
- package/dist/components/dropdown/index.d.ts +36 -18
- package/dist/components/form-select/Select.d.ts +18 -5
- package/dist/components/form-select/SelectDropdown.vue.d.ts +6 -3
- package/dist/components/form-select/SelectOption.vue.d.ts +1 -0
- package/dist/components/form-select/SelectOptionGroup.vue.d.ts +1 -0
- package/dist/components/form-select/hooks/use-options.d.ts +1 -1
- package/dist/components/form-select/hooks/use-select.d.ts +1 -1
- package/dist/components/form-select/index.d.ts +57 -17
- package/dist/components/form-select/interface.d.ts +8 -0
- package/dist/components/form-slider/Slider.vue.d.ts +1 -1
- package/dist/components/form-slider/index.d.ts +3 -3
- package/dist/components/form-textarea/Textarea.vue.d.ts +2 -4
- package/dist/components/form-textarea/index.d.ts +6 -12
- package/dist/components/image/Image.vue.d.ts +2 -4
- package/dist/components/image/index.d.ts +6 -12
- package/dist/components/layout/LayoutSidebar.vue.d.ts +5 -5
- package/dist/components/layout/index.d.ts +10 -10
- package/dist/components/line-chart/LineChart.d.ts +3 -3
- package/dist/components/line-chart/index.d.ts +9 -9
- package/dist/components/menu/Menu.d.ts +6 -3
- package/dist/components/menu/base-menu.vue.d.ts +6 -3
- package/dist/components/menu/index.d.ts +12 -6
- package/dist/components/menu/sub-menu-pop.vue.d.ts +6 -3
- package/dist/components/network/Network.vue.d.ts +1 -1
- package/dist/components/network/index.d.ts +3 -3
- package/dist/components/pagination/page-options.vue.d.ts +60 -32
- package/dist/components/pie-chart/PieChart.d.ts +1 -1
- package/dist/components/pie-chart/index.d.ts +3 -3
- package/dist/components/resize-box/ResizeBox.vue.d.ts +2 -2
- package/dist/components/resize-box/index.d.ts +5 -5
- package/dist/components/scrollbar-v2/Scrollbar.vue.d.ts +2 -1
- package/dist/components/scrollbar-v2/index.d.ts +6 -3
- package/dist/components/table/Table.d.ts +1 -1
- package/dist/components/table/index.d.ts +3 -3
- package/dist/components/tabs/Tabs.d.ts +1 -1
- package/dist/components/tabs/index.d.ts +3 -3
- package/dist/components/time-picker/TimeColumn.vue.d.ts +6 -3
- package/dist/components/time-picker/TimePanel.vue.d.ts +6 -3
- package/dist/components/time-picker/TimePicker.vue.d.ts +9 -12
- package/dist/components/time-picker/index.d.ts +19 -27
- package/dist/components/trend-chart/components/TrendChart.d.ts +5 -5
- package/dist/components/trend-chart/components/trend-chart-curve.d.ts +1 -1
- package/dist/components/trend-chart/index.d.ts +14 -14
- package/dist/components/trigger/interface.d.ts +2 -0
- package/dist/components/virtual-list-v2/virtual-list.vue.d.ts +7 -4
- package/dist/es/_hooks/use-dialog-focus.js +69 -0
- package/dist/es/_hooks/use-pointer-drag.js +18 -0
- package/dist/es/_hooks/use-popup-close.js +27 -0
- package/dist/es/_hooks/use-popup-manager.js +26 -24
- package/dist/es/_hooks/use-popup-theme.js +18 -0
- package/dist/es/_hooks/use-teleport-container.js +9 -10
- package/dist/es/_utils/palette.js +57 -52
- package/dist/es/components/_components/select-view/select-view.js +89 -78
- package/dist/es/components/button/Button.js +1 -1
- package/dist/es/components/color-picker/ColorPicker.js +131 -102
- package/dist/es/components/color-picker/gradient-slider.js +38 -40
- package/dist/es/components/color-picker/panel.js +221 -192
- package/dist/es/components/color-picker/sv-panel.js +51 -50
- package/dist/es/components/config-provider/ConfigProvider.js +58 -41
- package/dist/es/components/dialog/Dialog.js +133 -186
- package/dist/es/components/drawer/src/Drawer.vue.js +59 -51
- package/dist/es/components/drawer/src/Drawer.vue2.js +117 -107
- package/dist/es/components/form/FormItem.vue.js +12 -12
- package/dist/es/components/form-input-tag/InputTag.js +1 -1
- package/dist/es/components/form-select/Select.js +348 -300
- package/dist/es/components/form-select/SelectDropdown.vue.js +7 -7
- package/dist/es/components/form-select/SelectOption.vue.js +22 -17
- package/dist/es/components/form-select/SelectOption.vue2.js +59 -51
- package/dist/es/components/form-select/SelectOptionGroup.vue.js +17 -13
- package/dist/es/components/form-select/SelectOptionGroup.vue2.js +8 -5
- package/dist/es/components/form-select/hooks/use-options.js +40 -40
- package/dist/es/components/form-select/hooks/use-select.js +76 -71
- package/dist/es/components/form-switch/Switch.vue.js +24 -24
- package/dist/es/components/image/Image.vue.js +12 -12
- package/dist/es/components/link/Link.vue.js +6 -6
- package/dist/es/components/menu/sub-menu-inline.vue.js +11 -11
- package/dist/es/components/menu/sub-menu-pop.vue.js +12 -12
- package/dist/es/components/notification/Notification.js +59 -59
- package/dist/es/components/resize-box/ResizeBox.vue.js +19 -22
- package/dist/es/components/skeleton/Skeleton.vue.js +9 -9
- package/dist/es/components/tag/Tag.vue.js +7 -7
- package/dist/es/components/trigger/Trigger.js +171 -163
- package/dist/es/style.css +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.umd.js +3 -3
- package/dist/style/bar-chart.js +1 -0
- package/dist/style/base.css +1 -1
- package/dist/style/button.css +1 -1
- package/dist/style/color-picker.css +1 -1
- package/dist/style/color-picker.js +4 -0
- package/dist/style/date-picker.js +4 -0
- package/dist/style/dependencies.json +296 -0
- package/dist/style/dialog.js +2 -0
- package/dist/style/drawer.js +3 -0
- package/dist/style/dropdown.js +5 -0
- package/dist/style/form-checkbox.css +1 -1
- package/dist/style/form-input-number.js +2 -0
- package/dist/style/form-input.css +1 -1
- package/dist/style/form-input.js +1 -0
- package/dist/style/form-select.js +5 -0
- package/dist/style/form-slider.js +5 -0
- package/dist/style/form.js +3 -0
- package/dist/style/heatmap.js +1 -0
- package/dist/style/image.js +2 -0
- package/dist/style/layout.js +1 -0
- package/dist/style/line-chart.js +1 -0
- package/dist/style/menu.js +3 -0
- package/dist/style/message-box.js +3 -0
- package/dist/style/pagination.js +9 -0
- package/dist/style/pie-chart.js +1 -0
- package/dist/style/popconfirm.js +3 -0
- package/dist/style/popover.js +1 -0
- package/dist/style/popup.js +2 -0
- package/dist/style/table.js +12 -0
- package/dist/style/time-picker.js +3 -0
- package/dist/style/tooltip.js +1 -0
- package/dist/style/upload.js +4 -0
- package/dist/style.css +1 -1
- package/package.json +17 -7
|
@@ -755,11 +755,12 @@ export declare const Dropdown: {
|
|
|
755
755
|
modifier: (className: string) => string;
|
|
756
756
|
is: (className: string) => string;
|
|
757
757
|
};
|
|
758
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
758
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
759
759
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
760
760
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
761
761
|
getContainerAttrs: () => {
|
|
762
762
|
[x: string]: unknown;
|
|
763
|
+
class?: import('vue').ClassValue;
|
|
763
764
|
};
|
|
764
765
|
getContainerStyle: () => import('vue').StyleValue;
|
|
765
766
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -882,11 +883,12 @@ export declare const Dropdown: {
|
|
|
882
883
|
modifier: (className: string) => string;
|
|
883
884
|
is: (className: string) => string;
|
|
884
885
|
};
|
|
885
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
886
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
886
887
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
887
888
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
888
889
|
getContainerAttrs: () => {
|
|
889
890
|
[x: string]: unknown;
|
|
891
|
+
class?: import('vue').ClassValue;
|
|
890
892
|
};
|
|
891
893
|
getContainerStyle: () => import('vue').StyleValue;
|
|
892
894
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -953,11 +955,12 @@ export declare const Dropdown: {
|
|
|
953
955
|
modifier: (className: string) => string;
|
|
954
956
|
is: (className: string) => string;
|
|
955
957
|
};
|
|
956
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
958
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
957
959
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
958
960
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
959
961
|
getContainerAttrs: () => {
|
|
960
962
|
[x: string]: unknown;
|
|
963
|
+
class?: import('vue').ClassValue;
|
|
961
964
|
};
|
|
962
965
|
getContainerStyle: () => import('vue').StyleValue;
|
|
963
966
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -2064,11 +2067,12 @@ export declare const Dropdown: {
|
|
|
2064
2067
|
modifier: (className: string) => string;
|
|
2065
2068
|
is: (className: string) => string;
|
|
2066
2069
|
};
|
|
2067
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
2070
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
2068
2071
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
2069
2072
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2070
2073
|
getContainerAttrs: () => {
|
|
2071
2074
|
[x: string]: unknown;
|
|
2075
|
+
class?: import('vue').ClassValue;
|
|
2072
2076
|
};
|
|
2073
2077
|
getContainerStyle: () => import('vue').StyleValue;
|
|
2074
2078
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -2191,11 +2195,12 @@ export declare const Dropdown: {
|
|
|
2191
2195
|
modifier: (className: string) => string;
|
|
2192
2196
|
is: (className: string) => string;
|
|
2193
2197
|
};
|
|
2194
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
2198
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
2195
2199
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
2196
2200
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2197
2201
|
getContainerAttrs: () => {
|
|
2198
2202
|
[x: string]: unknown;
|
|
2203
|
+
class?: import('vue').ClassValue;
|
|
2199
2204
|
};
|
|
2200
2205
|
getContainerStyle: () => import('vue').StyleValue;
|
|
2201
2206
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -2262,11 +2267,12 @@ export declare const Dropdown: {
|
|
|
2262
2267
|
modifier: (className: string) => string;
|
|
2263
2268
|
is: (className: string) => string;
|
|
2264
2269
|
};
|
|
2265
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
2270
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
2266
2271
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
2267
2272
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2268
2273
|
getContainerAttrs: () => {
|
|
2269
2274
|
[x: string]: unknown;
|
|
2275
|
+
class?: import('vue').ClassValue;
|
|
2270
2276
|
};
|
|
2271
2277
|
getContainerStyle: () => import('vue').StyleValue;
|
|
2272
2278
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -3549,11 +3555,12 @@ export declare const DropdownSubmenu: {
|
|
|
3549
3555
|
modifier: (className: string) => string;
|
|
3550
3556
|
is: (className: string) => string;
|
|
3551
3557
|
};
|
|
3552
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
3558
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
3553
3559
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
3554
3560
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
3555
3561
|
getContainerAttrs: () => {
|
|
3556
3562
|
[x: string]: unknown;
|
|
3563
|
+
class?: import('vue').ClassValue;
|
|
3557
3564
|
};
|
|
3558
3565
|
getContainerStyle: () => import('vue').StyleValue;
|
|
3559
3566
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -3676,11 +3683,12 @@ export declare const DropdownSubmenu: {
|
|
|
3676
3683
|
modifier: (className: string) => string;
|
|
3677
3684
|
is: (className: string) => string;
|
|
3678
3685
|
};
|
|
3679
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
3686
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
3680
3687
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
3681
3688
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
3682
3689
|
getContainerAttrs: () => {
|
|
3683
3690
|
[x: string]: unknown;
|
|
3691
|
+
class?: import('vue').ClassValue;
|
|
3684
3692
|
};
|
|
3685
3693
|
getContainerStyle: () => import('vue').StyleValue;
|
|
3686
3694
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -3747,11 +3755,12 @@ export declare const DropdownSubmenu: {
|
|
|
3747
3755
|
modifier: (className: string) => string;
|
|
3748
3756
|
is: (className: string) => string;
|
|
3749
3757
|
};
|
|
3750
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
3758
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
3751
3759
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
3752
3760
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
3753
3761
|
getContainerAttrs: () => {
|
|
3754
3762
|
[x: string]: unknown;
|
|
3763
|
+
class?: import('vue').ClassValue;
|
|
3755
3764
|
};
|
|
3756
3765
|
getContainerStyle: () => import('vue').StyleValue;
|
|
3757
3766
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -5199,11 +5208,12 @@ export declare const DropdownSubmenu: {
|
|
|
5199
5208
|
modifier: (className: string) => string;
|
|
5200
5209
|
is: (className: string) => string;
|
|
5201
5210
|
};
|
|
5202
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
5211
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
5203
5212
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
5204
5213
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
5205
5214
|
getContainerAttrs: () => {
|
|
5206
5215
|
[x: string]: unknown;
|
|
5216
|
+
class?: import('vue').ClassValue;
|
|
5207
5217
|
};
|
|
5208
5218
|
getContainerStyle: () => import('vue').StyleValue;
|
|
5209
5219
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -5326,11 +5336,12 @@ export declare const DropdownSubmenu: {
|
|
|
5326
5336
|
modifier: (className: string) => string;
|
|
5327
5337
|
is: (className: string) => string;
|
|
5328
5338
|
};
|
|
5329
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
5339
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
5330
5340
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
5331
5341
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
5332
5342
|
getContainerAttrs: () => {
|
|
5333
5343
|
[x: string]: unknown;
|
|
5344
|
+
class?: import('vue').ClassValue;
|
|
5334
5345
|
};
|
|
5335
5346
|
getContainerStyle: () => import('vue').StyleValue;
|
|
5336
5347
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -5397,11 +5408,12 @@ export declare const DropdownSubmenu: {
|
|
|
5397
5408
|
modifier: (className: string) => string;
|
|
5398
5409
|
is: (className: string) => string;
|
|
5399
5410
|
};
|
|
5400
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
5411
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
5401
5412
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
5402
5413
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
5403
5414
|
getContainerAttrs: () => {
|
|
5404
5415
|
[x: string]: unknown;
|
|
5416
|
+
class?: import('vue').ClassValue;
|
|
5405
5417
|
};
|
|
5406
5418
|
getContainerStyle: () => import('vue').StyleValue;
|
|
5407
5419
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -7061,11 +7073,12 @@ export declare const DropdownButton: {
|
|
|
7061
7073
|
modifier: (className: string) => string;
|
|
7062
7074
|
is: (className: string) => string;
|
|
7063
7075
|
};
|
|
7064
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
7076
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
7065
7077
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
7066
7078
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
7067
7079
|
getContainerAttrs: () => {
|
|
7068
7080
|
[x: string]: unknown;
|
|
7081
|
+
class?: import('vue').ClassValue;
|
|
7069
7082
|
};
|
|
7070
7083
|
getContainerStyle: () => import('vue').StyleValue;
|
|
7071
7084
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -7188,11 +7201,12 @@ export declare const DropdownButton: {
|
|
|
7188
7201
|
modifier: (className: string) => string;
|
|
7189
7202
|
is: (className: string) => string;
|
|
7190
7203
|
};
|
|
7191
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
7204
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
7192
7205
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
7193
7206
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
7194
7207
|
getContainerAttrs: () => {
|
|
7195
7208
|
[x: string]: unknown;
|
|
7209
|
+
class?: import('vue').ClassValue;
|
|
7196
7210
|
};
|
|
7197
7211
|
getContainerStyle: () => import('vue').StyleValue;
|
|
7198
7212
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -7259,11 +7273,12 @@ export declare const DropdownButton: {
|
|
|
7259
7273
|
modifier: (className: string) => string;
|
|
7260
7274
|
is: (className: string) => string;
|
|
7261
7275
|
};
|
|
7262
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
7276
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
7263
7277
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
7264
7278
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
7265
7279
|
getContainerAttrs: () => {
|
|
7266
7280
|
[x: string]: unknown;
|
|
7281
|
+
class?: import('vue').ClassValue;
|
|
7267
7282
|
};
|
|
7268
7283
|
getContainerStyle: () => import('vue').StyleValue;
|
|
7269
7284
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -8878,11 +8893,12 @@ export declare const DropdownButton: {
|
|
|
8878
8893
|
modifier: (className: string) => string;
|
|
8879
8894
|
is: (className: string) => string;
|
|
8880
8895
|
};
|
|
8881
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
8896
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
8882
8897
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
8883
8898
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
8884
8899
|
getContainerAttrs: () => {
|
|
8885
8900
|
[x: string]: unknown;
|
|
8901
|
+
class?: import('vue').ClassValue;
|
|
8886
8902
|
};
|
|
8887
8903
|
getContainerStyle: () => import('vue').StyleValue;
|
|
8888
8904
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -9005,11 +9021,12 @@ export declare const DropdownButton: {
|
|
|
9005
9021
|
modifier: (className: string) => string;
|
|
9006
9022
|
is: (className: string) => string;
|
|
9007
9023
|
};
|
|
9008
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
9024
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
9009
9025
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
9010
9026
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
9011
9027
|
getContainerAttrs: () => {
|
|
9012
9028
|
[x: string]: unknown;
|
|
9029
|
+
class?: import('vue').ClassValue;
|
|
9013
9030
|
};
|
|
9014
9031
|
getContainerStyle: () => import('vue').StyleValue;
|
|
9015
9032
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -9076,11 +9093,12 @@ export declare const DropdownButton: {
|
|
|
9076
9093
|
modifier: (className: string) => string;
|
|
9077
9094
|
is: (className: string) => string;
|
|
9078
9095
|
};
|
|
9079
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
9096
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
9080
9097
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
9081
9098
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
9082
9099
|
getContainerAttrs: () => {
|
|
9083
9100
|
[x: string]: unknown;
|
|
9101
|
+
class?: import('vue').ClassValue;
|
|
9084
9102
|
};
|
|
9085
9103
|
getContainerStyle: () => import('vue').StyleValue;
|
|
9086
9104
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -297,15 +297,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
297
297
|
default: boolean;
|
|
298
298
|
};
|
|
299
299
|
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
300
|
-
|
|
300
|
+
focus: (ev: FocusEvent) => true;
|
|
301
|
+
blur: (ev: FocusEvent) => true;
|
|
302
|
+
'update:modelValue': (value: string | undefined | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[]) => true;
|
|
301
303
|
'update:inputValue': (inputValue: string) => true;
|
|
302
304
|
'update:popupVisible': (visible: boolean) => true;
|
|
303
305
|
/**
|
|
304
306
|
* @zh 值发生改变时触发
|
|
305
307
|
* @en Triggered when the value changes
|
|
306
|
-
* @param { string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[] } value
|
|
308
|
+
* @param { string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[] | undefined } value
|
|
307
309
|
*/
|
|
308
|
-
change: (value: string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[]) => true;
|
|
310
|
+
change: (value: string | undefined | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[]) => true;
|
|
309
311
|
/**
|
|
310
312
|
* @zh 输入框的值发生改变时触发
|
|
311
313
|
* @en Triggered when the value of the input changes
|
|
@@ -644,11 +646,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
644
646
|
default: boolean;
|
|
645
647
|
};
|
|
646
648
|
}>> & Readonly<{
|
|
649
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
647
650
|
onSearch?: ((inputValue: string) => any) | undefined;
|
|
648
651
|
onClear?: ((ev: Event) => any) | undefined;
|
|
649
652
|
onRemove?: ((removed: string | number | boolean | Record<string, any> | undefined) => any) | undefined;
|
|
650
|
-
|
|
651
|
-
|
|
653
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
654
|
+
onChange?: ((value: string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[] | undefined) => any) | undefined;
|
|
655
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[] | undefined) => any) | undefined;
|
|
652
656
|
"onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined;
|
|
653
657
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
654
658
|
"onUpdate:inputValue"?: ((inputValue: string) => any) | undefined;
|
|
@@ -1292,6 +1296,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1292
1296
|
type: BooleanConstructor;
|
|
1293
1297
|
default: boolean;
|
|
1294
1298
|
};
|
|
1299
|
+
clearable: {
|
|
1300
|
+
type: BooleanConstructor;
|
|
1301
|
+
default: undefined;
|
|
1302
|
+
};
|
|
1295
1303
|
allowCreate: {
|
|
1296
1304
|
type: BooleanConstructor;
|
|
1297
1305
|
default: boolean;
|
|
@@ -1366,6 +1374,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1366
1374
|
type: BooleanConstructor;
|
|
1367
1375
|
default: boolean;
|
|
1368
1376
|
};
|
|
1377
|
+
clearable: {
|
|
1378
|
+
type: BooleanConstructor;
|
|
1379
|
+
default: undefined;
|
|
1380
|
+
};
|
|
1369
1381
|
allowCreate: {
|
|
1370
1382
|
type: BooleanConstructor;
|
|
1371
1383
|
default: boolean;
|
|
@@ -1405,6 +1417,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1405
1417
|
maxTagCount: number;
|
|
1406
1418
|
retainInputValue: boolean;
|
|
1407
1419
|
tagNowrap: boolean;
|
|
1420
|
+
clearable: boolean;
|
|
1408
1421
|
allowCreate: boolean;
|
|
1409
1422
|
allowSearch: boolean;
|
|
1410
1423
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -120,11 +120,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
120
120
|
modifier: (className: string) => string;
|
|
121
121
|
is: (className: string) => string;
|
|
122
122
|
};
|
|
123
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
123
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
124
124
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
125
125
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
126
126
|
getContainerAttrs: () => {
|
|
127
127
|
[x: string]: unknown;
|
|
128
|
+
class?: import('vue').ClassValue;
|
|
128
129
|
};
|
|
129
130
|
getContainerStyle: () => import('vue').StyleValue;
|
|
130
131
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -247,11 +248,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
247
248
|
modifier: (className: string) => string;
|
|
248
249
|
is: (className: string) => string;
|
|
249
250
|
};
|
|
250
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
251
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
251
252
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
252
253
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
253
254
|
getContainerAttrs: () => {
|
|
254
255
|
[x: string]: unknown;
|
|
256
|
+
class?: import('vue').ClassValue;
|
|
255
257
|
};
|
|
256
258
|
getContainerStyle: () => import('vue').StyleValue;
|
|
257
259
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -318,11 +320,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
318
320
|
modifier: (className: string) => string;
|
|
319
321
|
is: (className: string) => string;
|
|
320
322
|
};
|
|
321
|
-
cls: import('vue').ComputedRef<unknown[]>;
|
|
323
|
+
cls: import('vue').ComputedRef<(string | false | Record<string, any> | unknown[] | null | undefined)[]>;
|
|
322
324
|
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
323
325
|
rootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
324
326
|
getContainerAttrs: () => {
|
|
325
327
|
[x: string]: unknown;
|
|
328
|
+
class?: import('vue').ClassValue;
|
|
326
329
|
};
|
|
327
330
|
getContainerStyle: () => import('vue').StyleValue;
|
|
328
331
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -61,6 +61,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
61
61
|
isSelected: import('vue').ComputedRef<boolean>;
|
|
62
62
|
isValid: import('vue').Ref<boolean, boolean>;
|
|
63
63
|
handleClick: (ev: MouseEvent) => void;
|
|
64
|
+
handleCheckboxChange: (_checked: unknown, ev: Event) => void;
|
|
64
65
|
handleMouseEnter: () => void;
|
|
65
66
|
handleMouseLeave: () => void;
|
|
66
67
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -13,6 +13,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
13
13
|
modifier: (className: string) => string;
|
|
14
14
|
is: (className: string) => string;
|
|
15
15
|
};
|
|
16
|
+
component: import('vue').ComputedRef<string>;
|
|
16
17
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
18
|
/**
|
|
18
19
|
* @zh 选项组的标题
|
|
@@ -17,7 +17,7 @@ export declare const useOptions: ({ options, extraOptions, inputValue, filterOpt
|
|
|
17
17
|
key: string;
|
|
18
18
|
index?: number | undefined;
|
|
19
19
|
origin: "slot" | "options" | "extraOptions";
|
|
20
|
-
value: import('
|
|
20
|
+
value: import('..').SelectOptionValue;
|
|
21
21
|
label: string;
|
|
22
22
|
disabled?: boolean | undefined;
|
|
23
23
|
tagProps?: any;
|
|
@@ -32,7 +32,7 @@ export declare const useSelect: ({ multiple, options, extraOptions, inputValue,
|
|
|
32
32
|
key: string;
|
|
33
33
|
index?: number | undefined;
|
|
34
34
|
origin: "slot" | "options" | "extraOptions";
|
|
35
|
-
value: import('
|
|
35
|
+
value: import('..').SelectOptionValue;
|
|
36
36
|
label: string;
|
|
37
37
|
disabled?: boolean | undefined;
|
|
38
38
|
tagProps?: any;
|