x-next 0.0.0-alpha.70 → 0.0.0-alpha.72
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/README.md +74 -70
- package/dist/_hooks/_types.d.ts +3 -0
- package/dist/_hooks/use-scrollbar.d.ts +1 -1
- package/dist/_utils/array.d.ts +2 -0
- package/dist/components/_components/auto-tooltip/auto-tooltip.d.ts +10 -0
- package/dist/components/_components/auto-tooltip/style/index.d.ts +0 -0
- package/dist/components/form-select/index.d.ts +40 -39
- package/dist/components/index.d.ts +2 -0
- package/dist/components/menu/Menu.d.ts +2 -2
- package/dist/components/pagination/Pagination.d.ts +351 -0
- package/dist/components/pagination/index.d.ts +297 -0
- package/dist/components/pagination/interface.d.ts +26 -0
- package/dist/components/pagination/page-item-ellipsis.vue.d.ts +91 -0
- package/dist/components/pagination/page-item-step.vue.d.ts +160 -0
- package/dist/components/pagination/page-item.vue.d.ts +53 -0
- package/dist/components/pagination/page-jumper.vue.d.ts +346 -0
- package/dist/components/pagination/page-options.vue.d.ts +2032 -0
- package/dist/components/pagination/utils.d.ts +4 -0
- package/dist/components/scrollbar-v2/index.d.ts +15 -14
- package/dist/components/table/Table.d.ts +931 -0
- package/dist/components/table/TableColumn.d.ts +292 -0
- package/dist/components/table/context.d.ts +29 -0
- package/dist/components/table/hooks/use-column-filter.d.ts +18 -0
- package/dist/components/table/hooks/use-column-resize.d.ts +10 -0
- package/dist/components/table/hooks/use-column-sorter.d.ts +14 -0
- package/dist/components/table/hooks/use-drag.d.ts +18 -0
- package/dist/components/table/hooks/use-expand.d.ts +20 -0
- package/dist/components/table/hooks/use-filter.d.ts +11 -0
- package/dist/components/table/hooks/use-pagination.d.ts +7 -0
- package/dist/components/table/hooks/use-row-selection.d.ts +26 -0
- package/dist/components/table/hooks/use-sorter.d.ts +17 -0
- package/dist/components/table/hooks/use-span.d.ts +18 -0
- package/dist/components/table/index.d.ts +952 -0
- package/dist/components/table/interface.d.ts +467 -0
- package/dist/components/table/table-col-group.vue.d.ts +38 -0
- package/dist/components/table/table-operation-td.d.ts +573 -0
- package/dist/components/table/table-operation-th.d.ts +41 -0
- package/dist/components/table/table-tbody.d.ts +4 -0
- package/dist/components/table/table-td.d.ts +124 -0
- package/dist/components/table/table-th.d.ts +39 -0
- package/dist/components/table/table-thead.d.ts +4 -0
- package/dist/components/table/table-tr.d.ts +41 -0
- package/dist/components/table/utils.d.ts +38 -0
- package/dist/components/trigger/index.d.ts +1 -0
- package/dist/components/trigger-v2/index.d.ts +1 -0
- package/dist/components/virtual-list-v2/interface.d.ts +1 -1
- package/dist/icons/index.d.ts +2 -2
- package/dist/index.es.js +11590 -7940
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types.d.ts +3 -0
- package/package.json +1 -1
- package/volar.d.ts +75 -72
- package/dist/icons/default/left.d.ts +0 -50
- package/dist/icons/default/right.d.ts +0 -50
package/README.md
CHANGED
@@ -27,74 +27,78 @@ app.mount('#app')
|
|
27
27
|
### 目前已完成的组件
|
28
28
|
|
29
29
|
```
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
30
|
+
XButton: (typeof import('x-next'))['Button']
|
31
|
+
XDialog: (typeof import('x-next'))['Dialog']
|
32
|
+
XMessage: (typeof import('x-next'))['Message']
|
33
|
+
XMessageBox: (typeof import('x-next'))['MessageBox']
|
34
|
+
XNotification: (typeof import('x-next'))['Notification']
|
35
|
+
XSpace: (typeof import('x-next'))['Space']
|
36
|
+
XPopconfirm: (typeof import('x-next'))['Popconfirm']
|
37
|
+
XTrendChart: (typeof import('x-next'))['TrendChart']
|
38
|
+
XTimeline: (typeof import('x-next'))['Timeline']
|
39
|
+
XTimelineItem: (typeof import('x-next'))['TimelineItem']
|
40
|
+
XPopup: (typeof import('x-next'))['Popup']
|
41
|
+
XScrollbar: (typeof import('x-next'))['Scrollbar']
|
42
|
+
XDrawer: (typeof import('x-next'))['Drawer']
|
43
|
+
XTag: (typeof import('x-next'))['Tag']
|
44
|
+
XTooltip: (typeof import('x-next'))['Tooltip']
|
45
|
+
XImage: (typeof import('x-next'))['Image']
|
46
|
+
XImagePreview: (typeof import('x-next'))['ImagePreview']
|
47
|
+
XImagePreviewGroup: (typeof import('x-next'))['ImagePreviewGroup']
|
48
|
+
XImagePreviewAction: (typeof import('x-next'))['ImagePreviewAction']
|
49
|
+
XTabPane: (typeof import('x-next'))['TabPane']
|
50
|
+
XTabs: (typeof import('x-next'))['Tabs']
|
51
|
+
XButtonGroup: (typeof import('x-next'))['ButtonGroup']
|
52
|
+
XDropdown: (typeof import('x-next'))['Dropdown']
|
53
|
+
XDropdownButton: (typeof import('x-next'))['DropdownButton']
|
54
|
+
XEmpty: (typeof import('x-next'))['Empty']
|
55
|
+
XDropdownOption: (typeof import('x-next'))['DropdownOption']
|
56
|
+
XDropdownGroup: (typeof import('x-next'))['DropdownGroup']
|
57
|
+
XDropdownSubmenu: (typeof import('x-next'))['DropdownSubmenu']
|
58
|
+
XInput: (typeof import('x-next'))['Input']
|
59
|
+
XInputGroup: (typeof import('x-next'))['InputGroup']
|
60
|
+
XInputPassword: (typeof import('x-next'))['InputPassword']
|
61
|
+
XInputSearch: (typeof import('x-next'))['InputSearch']
|
62
|
+
XCol: (typeof import('x-next'))['Col']
|
63
|
+
XGrid: (typeof import('x-next'))['Grid']
|
64
|
+
XGridItem: (typeof import('x-next'))['GridItem']
|
65
|
+
XRow: (typeof import('x-next'))['Row']
|
66
|
+
XForm: (typeof import('x-next'))['Form']
|
67
|
+
XFormItem: (typeof import('x-next'))['FormItem']
|
68
|
+
XNetwork: (typeof import('x-next'))['Network']
|
69
|
+
XStep: (typeof import('x-next'))['Step']
|
70
|
+
XSteps: (typeof import('x-next'))['Steps']
|
71
|
+
XCheckbox: (typeof import('x-next'))['Checkbox']
|
72
|
+
XCheckboxGroup: (typeof import('x-next'))['CheckboxGroup']
|
73
|
+
XSwitch: (typeof import('x-next'))['Switch']
|
74
|
+
XRadio: (typeof import('x-next'))['Radio']
|
75
|
+
XRadioGroup: (typeof import('x-next'))['RadioGroup']
|
76
|
+
XSelect: (typeof import('x-next'))['Select']
|
77
|
+
XSelectDropdown: (typeof import('x-next'))['SelectDropdown']
|
78
|
+
XSelectOption: (typeof import('x-next'))['SelectOption']
|
79
|
+
XSelectOptionGroup: (typeof import('x-next'))['SelectOptionGroup']
|
80
|
+
XSpin: (typeof import('x-next'))['Spin']
|
81
|
+
XInputTag: (typeof import('x-next'))['InputTag']
|
82
|
+
XProgress: (typeof import('x-next'))['Progress']
|
83
|
+
XInputNumber: (typeof import('x-next'))['InputNumber']
|
84
|
+
XSlider: (typeof import('x-next'))['Slider']
|
85
|
+
XAlert: (typeof import('x-next'))['Alert']
|
86
|
+
XSkeleton: (typeof import('x-next'))['Skeleton']
|
87
|
+
XSkeletonLine: (typeof import('x-next'))['SkeletonLine']
|
88
|
+
XSkeletonShape: (typeof import('x-next'))['SkeletonShape']
|
89
|
+
XMenu: (typeof import('x-next'))['Menu']
|
90
|
+
XLayout: (typeof import('x-next'))['Layout']
|
91
|
+
XLayoutContent: (typeof import('x-next'))['LayoutContent']
|
92
|
+
XLayoutFooter: (typeof import('x-next'))['LayoutFooter']
|
93
|
+
XLayoutHeader: (typeof import('x-next'))['LayoutHeader']
|
94
|
+
XLayoutSidebar: (typeof import('x-next'))['LayoutSidebar']
|
95
|
+
XResizeBox: (typeof import('x-next'))['ResizeBox']
|
96
|
+
XMenuItem: (typeof import('x-next'))['MenuItem']
|
97
|
+
XMenuSubMenu: (typeof import('x-next'))['MenuSubMenu']
|
98
|
+
XTimeRangeSelector: (typeof import('x-next'))['TimeRangeSelector']
|
99
|
+
XDraggable: (typeof import('x-next'))['Draggable']
|
100
|
+
XLink: (typeof import('x-next'))['Link']
|
101
|
+
XPagination: (typeof import('x-next'))['Pagination']
|
102
|
+
XTable: (typeof import('x-next'))['Table']
|
103
|
+
XTableColumn: (typeof import('x-next'))['TableColumn']
|
100
104
|
```
|
package/dist/_hooks/_types.d.ts
CHANGED
@@ -3,6 +3,9 @@ export interface SlotChildren {
|
|
3
3
|
value?: VNode[];
|
4
4
|
}
|
5
5
|
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
6
|
+
export type ClassName = string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
7
|
+
export type Data = Record<string, any>;
|
8
|
+
export type BaseType = string | number;
|
6
9
|
export type EmitFn<T> = (event: T, ...args: any[]) => void;
|
7
10
|
export type EmitFn2<Options = Record<string, any>, Event extends keyof Options = keyof Options> = UnionToIntersection<{
|
8
11
|
[key in Event]: Options[key] extends (...args: infer Args) => any ? (event: key, ...args: Args) => void : (event: key, ...args: any[]) => void;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
|
-
import { ScrollbarProps } from '../components/scrollbar-v2
|
2
|
+
import { ScrollbarProps } from '../components/scrollbar-v2';
|
3
3
|
export declare const useScrollbar: (scrollbar: Ref<ScrollbarProps | boolean>) => {
|
4
4
|
displayScrollbar: import('vue').ComputedRef<boolean>;
|
5
5
|
scrollbarProps: import('vue').ComputedRef<ScrollbarProps | undefined>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
|
+
tooltipProps: {
|
3
|
+
type: ObjectConstructor;
|
4
|
+
};
|
5
|
+
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
6
|
+
tooltipProps: {
|
7
|
+
type: ObjectConstructor;
|
8
|
+
};
|
9
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
10
|
+
export default _default;
|
File without changes
|
@@ -1,3 +1,4 @@
|
|
1
|
+
export type { SelectProps } from './interface';
|
1
2
|
export declare const Select: {
|
2
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
4
|
multiple: {
|
@@ -77,11 +78,11 @@ export declare const Select: {
|
|
77
78
|
default: boolean;
|
78
79
|
};
|
79
80
|
filterOption: {
|
80
|
-
type: import('vue').PropType<boolean | ((inputValue: string, option: import('./interface
|
81
|
+
type: import('vue').PropType<boolean | ((inputValue: string, option: import('./interface').SelectOptionData) => boolean)>;
|
81
82
|
default: boolean;
|
82
83
|
};
|
83
84
|
options: {
|
84
|
-
type: import('vue').PropType<(string | number | boolean | import('./interface
|
85
|
+
type: import('vue').PropType<(string | number | boolean | import('./interface').SelectOptionData | import('./interface').SelectOptionGroup)[]>;
|
85
86
|
default: () => never[];
|
86
87
|
};
|
87
88
|
virtualListProps: {
|
@@ -91,10 +92,10 @@ export declare const Select: {
|
|
91
92
|
type: import('vue').PropType<import('../trigger-v2/interface.ts').TriggerProps>;
|
92
93
|
};
|
93
94
|
formatLabel: {
|
94
|
-
type: import('vue').PropType<(data: import('./interface
|
95
|
+
type: import('vue').PropType<(data: import('./interface').SelectOptionData) => string>;
|
95
96
|
};
|
96
97
|
fallbackOption: {
|
97
|
-
type: import('vue').PropType<boolean | ((value: string | number | boolean | Record<string, unknown>) => import('./interface
|
98
|
+
type: import('vue').PropType<boolean | ((value: string | number | boolean | Record<string, unknown>) => import('./interface').SelectOptionData)>;
|
98
99
|
default: boolean;
|
99
100
|
};
|
100
101
|
showExtraOptions: {
|
@@ -114,10 +115,10 @@ export declare const Select: {
|
|
114
115
|
default: number;
|
115
116
|
};
|
116
117
|
fieldNames: {
|
117
|
-
type: import('vue').PropType<import('./interface
|
118
|
+
type: import('vue').PropType<import('./interface').SelectFieldNames>;
|
118
119
|
};
|
119
120
|
scrollbar: {
|
120
|
-
type: import('vue').PropType<boolean | import('../
|
121
|
+
type: import('vue').PropType<boolean | import('../index.ts').ScrollbarProps>;
|
121
122
|
default: boolean;
|
122
123
|
};
|
123
124
|
showHeaderOnEmpty: {
|
@@ -162,21 +163,21 @@ export declare const Select: {
|
|
162
163
|
error: boolean;
|
163
164
|
disabled: boolean;
|
164
165
|
loading: boolean;
|
165
|
-
scrollbar: boolean | import('../
|
166
|
+
scrollbar: boolean | import('../index.ts').ScrollbarProps;
|
166
167
|
multiple: boolean;
|
167
168
|
modelValue: string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[];
|
168
169
|
popupVisible: boolean;
|
169
170
|
defaultPopupVisible: boolean;
|
170
171
|
unmountOnClose: boolean;
|
171
172
|
defaultValue: string | number | boolean | Record<string, unknown> | (string | number | boolean | Record<string, unknown>)[];
|
172
|
-
options: (string | number | boolean | import('./interface
|
173
|
+
options: (string | number | boolean | import('./interface').SelectOptionData | import('./interface').SelectOptionGroup)[];
|
173
174
|
allowClear: boolean;
|
174
175
|
bordered: boolean;
|
175
176
|
defaultInputValue: string;
|
176
177
|
maxTagCount: number;
|
177
178
|
tagNowrap: boolean;
|
178
179
|
valueKey: string;
|
179
|
-
filterOption: boolean | ((inputValue: string, option: import('./interface
|
180
|
+
filterOption: boolean | ((inputValue: string, option: import('./interface').SelectOptionData) => boolean);
|
180
181
|
allowCreate: boolean;
|
181
182
|
allowSearch: boolean | {
|
182
183
|
retainInputValue?: boolean;
|
@@ -185,7 +186,7 @@ export declare const Select: {
|
|
185
186
|
showFooterOnEmpty: boolean;
|
186
187
|
showExtraOptions: boolean;
|
187
188
|
defaultActiveFirstOption: boolean;
|
188
|
-
fallbackOption: boolean | ((value: string | number | boolean | Record<string, unknown>) => import('./interface
|
189
|
+
fallbackOption: boolean | ((value: string | number | boolean | Record<string, unknown>) => import('./interface').SelectOptionData);
|
189
190
|
searchDelay: number;
|
190
191
|
limit: number;
|
191
192
|
}, true, {}, {}, {
|
@@ -978,11 +979,11 @@ export declare const Select: {
|
|
978
979
|
default: boolean;
|
979
980
|
};
|
980
981
|
filterOption: {
|
981
|
-
type: import('vue').PropType<boolean | ((inputValue: string, option: import('./interface
|
982
|
+
type: import('vue').PropType<boolean | ((inputValue: string, option: import('./interface').SelectOptionData) => boolean)>;
|
982
983
|
default: boolean;
|
983
984
|
};
|
984
985
|
options: {
|
985
|
-
type: import('vue').PropType<(string | number | boolean | import('./interface
|
986
|
+
type: import('vue').PropType<(string | number | boolean | import('./interface').SelectOptionData | import('./interface').SelectOptionGroup)[]>;
|
986
987
|
default: () => never[];
|
987
988
|
};
|
988
989
|
virtualListProps: {
|
@@ -992,10 +993,10 @@ export declare const Select: {
|
|
992
993
|
type: import('vue').PropType<import('../trigger-v2/interface.ts').TriggerProps>;
|
993
994
|
};
|
994
995
|
formatLabel: {
|
995
|
-
type: import('vue').PropType<(data: import('./interface
|
996
|
+
type: import('vue').PropType<(data: import('./interface').SelectOptionData) => string>;
|
996
997
|
};
|
997
998
|
fallbackOption: {
|
998
|
-
type: import('vue').PropType<boolean | ((value: string | number | boolean | Record<string, unknown>) => import('./interface
|
999
|
+
type: import('vue').PropType<boolean | ((value: string | number | boolean | Record<string, unknown>) => import('./interface').SelectOptionData)>;
|
999
1000
|
default: boolean;
|
1000
1001
|
};
|
1001
1002
|
showExtraOptions: {
|
@@ -1015,10 +1016,10 @@ export declare const Select: {
|
|
1015
1016
|
default: number;
|
1016
1017
|
};
|
1017
1018
|
fieldNames: {
|
1018
|
-
type: import('vue').PropType<import('./interface
|
1019
|
+
type: import('vue').PropType<import('./interface').SelectFieldNames>;
|
1019
1020
|
};
|
1020
1021
|
scrollbar: {
|
1021
|
-
type: import('vue').PropType<boolean | import('../
|
1022
|
+
type: import('vue').PropType<boolean | import('../index.ts').ScrollbarProps>;
|
1022
1023
|
default: boolean;
|
1023
1024
|
};
|
1024
1025
|
showHeaderOnEmpty: {
|
@@ -1050,21 +1051,21 @@ export declare const Select: {
|
|
1050
1051
|
error: boolean;
|
1051
1052
|
disabled: boolean;
|
1052
1053
|
loading: boolean;
|
1053
|
-
scrollbar: boolean | import('../
|
1054
|
+
scrollbar: boolean | import('../index.ts').ScrollbarProps;
|
1054
1055
|
multiple: boolean;
|
1055
1056
|
modelValue: string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[];
|
1056
1057
|
popupVisible: boolean;
|
1057
1058
|
defaultPopupVisible: boolean;
|
1058
1059
|
unmountOnClose: boolean;
|
1059
1060
|
defaultValue: string | number | boolean | Record<string, unknown> | (string | number | boolean | Record<string, unknown>)[];
|
1060
|
-
options: (string | number | boolean | import('./interface
|
1061
|
+
options: (string | number | boolean | import('./interface').SelectOptionData | import('./interface').SelectOptionGroup)[];
|
1061
1062
|
allowClear: boolean;
|
1062
1063
|
bordered: boolean;
|
1063
1064
|
defaultInputValue: string;
|
1064
1065
|
maxTagCount: number;
|
1065
1066
|
tagNowrap: boolean;
|
1066
1067
|
valueKey: string;
|
1067
|
-
filterOption: boolean | ((inputValue: string, option: import('./interface
|
1068
|
+
filterOption: boolean | ((inputValue: string, option: import('./interface').SelectOptionData) => boolean);
|
1068
1069
|
allowCreate: boolean;
|
1069
1070
|
allowSearch: boolean | {
|
1070
1071
|
retainInputValue?: boolean;
|
@@ -1073,7 +1074,7 @@ export declare const Select: {
|
|
1073
1074
|
showFooterOnEmpty: boolean;
|
1074
1075
|
showExtraOptions: boolean;
|
1075
1076
|
defaultActiveFirstOption: boolean;
|
1076
|
-
fallbackOption: boolean | ((value: string | number | boolean | Record<string, unknown>) => import('./interface
|
1077
|
+
fallbackOption: boolean | ((value: string | number | boolean | Record<string, unknown>) => import('./interface').SelectOptionData);
|
1077
1078
|
searchDelay: number;
|
1078
1079
|
limit: number;
|
1079
1080
|
}>;
|
@@ -1158,11 +1159,11 @@ export declare const Select: {
|
|
1158
1159
|
default: boolean;
|
1159
1160
|
};
|
1160
1161
|
filterOption: {
|
1161
|
-
type: import('vue').PropType<boolean | ((inputValue: string, option: import('./interface
|
1162
|
+
type: import('vue').PropType<boolean | ((inputValue: string, option: import('./interface').SelectOptionData) => boolean)>;
|
1162
1163
|
default: boolean;
|
1163
1164
|
};
|
1164
1165
|
options: {
|
1165
|
-
type: import('vue').PropType<(string | number | boolean | import('./interface
|
1166
|
+
type: import('vue').PropType<(string | number | boolean | import('./interface').SelectOptionData | import('./interface').SelectOptionGroup)[]>;
|
1166
1167
|
default: () => never[];
|
1167
1168
|
};
|
1168
1169
|
virtualListProps: {
|
@@ -1172,10 +1173,10 @@ export declare const Select: {
|
|
1172
1173
|
type: import('vue').PropType<import('../trigger-v2/interface.ts').TriggerProps>;
|
1173
1174
|
};
|
1174
1175
|
formatLabel: {
|
1175
|
-
type: import('vue').PropType<(data: import('./interface
|
1176
|
+
type: import('vue').PropType<(data: import('./interface').SelectOptionData) => string>;
|
1176
1177
|
};
|
1177
1178
|
fallbackOption: {
|
1178
|
-
type: import('vue').PropType<boolean | ((value: string | number | boolean | Record<string, unknown>) => import('./interface
|
1179
|
+
type: import('vue').PropType<boolean | ((value: string | number | boolean | Record<string, unknown>) => import('./interface').SelectOptionData)>;
|
1179
1180
|
default: boolean;
|
1180
1181
|
};
|
1181
1182
|
showExtraOptions: {
|
@@ -1195,10 +1196,10 @@ export declare const Select: {
|
|
1195
1196
|
default: number;
|
1196
1197
|
};
|
1197
1198
|
fieldNames: {
|
1198
|
-
type: import('vue').PropType<import('./interface
|
1199
|
+
type: import('vue').PropType<import('./interface').SelectFieldNames>;
|
1199
1200
|
};
|
1200
1201
|
scrollbar: {
|
1201
|
-
type: import('vue').PropType<boolean | import('../
|
1202
|
+
type: import('vue').PropType<boolean | import('../index.ts').ScrollbarProps>;
|
1202
1203
|
default: boolean;
|
1203
1204
|
};
|
1204
1205
|
showHeaderOnEmpty: {
|
@@ -1243,21 +1244,21 @@ export declare const Select: {
|
|
1243
1244
|
error: boolean;
|
1244
1245
|
disabled: boolean;
|
1245
1246
|
loading: boolean;
|
1246
|
-
scrollbar: boolean | import('../
|
1247
|
+
scrollbar: boolean | import('../index.ts').ScrollbarProps;
|
1247
1248
|
multiple: boolean;
|
1248
1249
|
modelValue: string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[];
|
1249
1250
|
popupVisible: boolean;
|
1250
1251
|
defaultPopupVisible: boolean;
|
1251
1252
|
unmountOnClose: boolean;
|
1252
1253
|
defaultValue: string | number | boolean | Record<string, unknown> | (string | number | boolean | Record<string, unknown>)[];
|
1253
|
-
options: (string | number | boolean | import('./interface
|
1254
|
+
options: (string | number | boolean | import('./interface').SelectOptionData | import('./interface').SelectOptionGroup)[];
|
1254
1255
|
allowClear: boolean;
|
1255
1256
|
bordered: boolean;
|
1256
1257
|
defaultInputValue: string;
|
1257
1258
|
maxTagCount: number;
|
1258
1259
|
tagNowrap: boolean;
|
1259
1260
|
valueKey: string;
|
1260
|
-
filterOption: boolean | ((inputValue: string, option: import('./interface
|
1261
|
+
filterOption: boolean | ((inputValue: string, option: import('./interface').SelectOptionData) => boolean);
|
1261
1262
|
allowCreate: boolean;
|
1262
1263
|
allowSearch: boolean | {
|
1263
1264
|
retainInputValue?: boolean;
|
@@ -1266,7 +1267,7 @@ export declare const Select: {
|
|
1266
1267
|
showFooterOnEmpty: boolean;
|
1267
1268
|
showExtraOptions: boolean;
|
1268
1269
|
defaultActiveFirstOption: boolean;
|
1269
|
-
fallbackOption: boolean | ((value: string | number | boolean | Record<string, unknown>) => import('./interface
|
1270
|
+
fallbackOption: boolean | ((value: string | number | boolean | Record<string, unknown>) => import('./interface').SelectOptionData);
|
1270
1271
|
searchDelay: number;
|
1271
1272
|
limit: number;
|
1272
1273
|
}, {}, string, {}, {
|
@@ -1987,7 +1988,7 @@ export declare const SelectDropdown: {
|
|
1987
1988
|
default: number;
|
1988
1989
|
};
|
1989
1990
|
scrollbar: {
|
1990
|
-
type: import('vue').PropType<boolean | import('../
|
1991
|
+
type: import('vue').PropType<boolean | import('../index.ts').ScrollbarProps>;
|
1991
1992
|
default: boolean;
|
1992
1993
|
};
|
1993
1994
|
onScroll: {
|
@@ -2021,10 +2022,10 @@ export declare const SelectDropdown: {
|
|
2021
2022
|
wrapperComRef: import('vue').Ref<HTMLElement | import('vue').ComponentPublicInstance | undefined, HTMLElement | import('vue').ComponentPublicInstance | undefined>;
|
2022
2023
|
handleScroll: (e: Event) => void;
|
2023
2024
|
displayScrollbar: import('vue').ComputedRef<boolean>;
|
2024
|
-
scrollbarProps: import('vue').ComputedRef<import('../
|
2025
|
+
scrollbarProps: import('vue').ComputedRef<import('../index.ts').ScrollbarProps | undefined>;
|
2025
2026
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("scroll" | "reachBottom")[], import('vue').PublicProps, {
|
2026
2027
|
loading: boolean;
|
2027
|
-
scrollbar: boolean | import('../
|
2028
|
+
scrollbar: boolean | import('../index.ts').ScrollbarProps;
|
2028
2029
|
empty: boolean;
|
2029
2030
|
bottomOffset: number;
|
2030
2031
|
virtualList: boolean;
|
@@ -2494,7 +2495,7 @@ export declare const SelectDropdown: {
|
|
2494
2495
|
default: number;
|
2495
2496
|
};
|
2496
2497
|
scrollbar: {
|
2497
|
-
type: import('vue').PropType<boolean | import('../
|
2498
|
+
type: import('vue').PropType<boolean | import('../index.ts').ScrollbarProps>;
|
2498
2499
|
default: boolean;
|
2499
2500
|
};
|
2500
2501
|
onScroll: {
|
@@ -2528,10 +2529,10 @@ export declare const SelectDropdown: {
|
|
2528
2529
|
wrapperComRef: import('vue').Ref<HTMLElement | import('vue').ComponentPublicInstance | undefined, HTMLElement | import('vue').ComponentPublicInstance | undefined>;
|
2529
2530
|
handleScroll: (e: Event) => void;
|
2530
2531
|
displayScrollbar: import('vue').ComputedRef<boolean>;
|
2531
|
-
scrollbarProps: import('vue').ComputedRef<import('../
|
2532
|
+
scrollbarProps: import('vue').ComputedRef<import('../index.ts').ScrollbarProps | undefined>;
|
2532
2533
|
}, {}, {}, {}, {
|
2533
2534
|
loading: boolean;
|
2534
|
-
scrollbar: boolean | import('../
|
2535
|
+
scrollbar: boolean | import('../index.ts').ScrollbarProps;
|
2535
2536
|
empty: boolean;
|
2536
2537
|
bottomOffset: number;
|
2537
2538
|
virtualList: boolean;
|
@@ -2550,7 +2551,7 @@ export declare const SelectDropdown: {
|
|
2550
2551
|
default: number;
|
2551
2552
|
};
|
2552
2553
|
scrollbar: {
|
2553
|
-
type: import('vue').PropType<boolean | import('../
|
2554
|
+
type: import('vue').PropType<boolean | import('../index.ts').ScrollbarProps>;
|
2554
2555
|
default: boolean;
|
2555
2556
|
};
|
2556
2557
|
onScroll: {
|
@@ -2584,10 +2585,10 @@ export declare const SelectDropdown: {
|
|
2584
2585
|
wrapperComRef: import('vue').Ref<HTMLElement | import('vue').ComponentPublicInstance | undefined, HTMLElement | import('vue').ComponentPublicInstance | undefined>;
|
2585
2586
|
handleScroll: (e: Event) => void;
|
2586
2587
|
displayScrollbar: import('vue').ComputedRef<boolean>;
|
2587
|
-
scrollbarProps: import('vue').ComputedRef<import('../
|
2588
|
+
scrollbarProps: import('vue').ComputedRef<import('../index.ts').ScrollbarProps | undefined>;
|
2588
2589
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("scroll" | "reachBottom")[], "scroll" | "reachBottom", {
|
2589
2590
|
loading: boolean;
|
2590
|
-
scrollbar: boolean | import('../
|
2591
|
+
scrollbar: boolean | import('../index.ts').ScrollbarProps;
|
2591
2592
|
empty: boolean;
|
2592
2593
|
bottomOffset: number;
|
2593
2594
|
virtualList: boolean;
|
@@ -23,6 +23,7 @@ export * from './message';
|
|
23
23
|
export * from './message-box';
|
24
24
|
export * from './network';
|
25
25
|
export * from './notification';
|
26
|
+
export * from './pagination';
|
26
27
|
export * from './popconfirm';
|
27
28
|
export * from './popup';
|
28
29
|
export * from './progress';
|
@@ -32,6 +33,7 @@ export * from './skeleton';
|
|
32
33
|
export * from './space';
|
33
34
|
export * from './spin';
|
34
35
|
export * from './steps';
|
36
|
+
export * from './table';
|
35
37
|
export * from './tabs';
|
36
38
|
export * from './tag';
|
37
39
|
export * from './time-range-selector';
|
@@ -77,7 +77,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
77
77
|
}>;
|
78
78
|
};
|
79
79
|
triggerProps: {
|
80
|
-
type: PropType<import('../trigger-v2
|
80
|
+
type: PropType<import('../trigger-v2').TriggerProps>;
|
81
81
|
};
|
82
82
|
tooltipProps: {
|
83
83
|
type: ObjectConstructor;
|
@@ -172,7 +172,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
172
172
|
}>;
|
173
173
|
};
|
174
174
|
triggerProps: {
|
175
|
-
type: PropType<import('../trigger-v2
|
175
|
+
type: PropType<import('../trigger-v2').TriggerProps>;
|
176
176
|
};
|
177
177
|
tooltipProps: {
|
178
178
|
type: ObjectConstructor;
|