prizm-ui-vue 2.2.56 → 2.2.57
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/dist/components/PrizmCheckbox/PrizmCheckboxGroup.vue.d.ts +4 -5
- package/dist/components/PrizmSelect/PrizmSelect.vue.d.ts +1 -2
- package/dist/components/PrizmTable/PrizmTable.vue.d.ts +443 -2
- package/dist/index.d.ts +1 -1
- package/dist/prizm-ui.es.js +250 -243
- package/dist/prizm-ui.umd.js +2 -2
- package/package.json +1 -1
|
@@ -8,9 +8,8 @@ type Slots = {
|
|
|
8
8
|
default?: unknown;
|
|
9
9
|
};
|
|
10
10
|
type ElCheckboxGroupProps = InstanceType<typeof ElCheckboxGroup>['$props'];
|
|
11
|
-
type PickedProps = Pick<ElCheckboxGroupProps, '
|
|
11
|
+
type PickedProps = Pick<ElCheckboxGroupProps, 'max' | 'fill' | 'disabled' | 'min' | 'textColor'>;
|
|
12
12
|
export type Props = {
|
|
13
|
-
class?: PickedProps['class'];
|
|
14
13
|
max?: PickedProps['max'];
|
|
15
14
|
fill?: PickedProps['fill'];
|
|
16
15
|
disabled?: PickedProps['disabled'];
|
|
@@ -20,7 +19,7 @@ export type Props = {
|
|
|
20
19
|
type __VLS_Slots = Slots;
|
|
21
20
|
type __VLS_Props = Props;
|
|
22
21
|
type __VLS_PublicProps = __VLS_Props & {
|
|
23
|
-
modelValue
|
|
22
|
+
modelValue: string[] | number[];
|
|
24
23
|
};
|
|
25
24
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
26
25
|
checkboxGroupRef: Readonly<import("vue").ShallowRef<({
|
|
@@ -136,9 +135,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
136
135
|
};
|
|
137
136
|
}) | null>>;
|
|
138
137
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
139
|
-
"update:modelValue": (value: string[] | number[]
|
|
138
|
+
"update:modelValue": (value: string[] | number[]) => any;
|
|
140
139
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
141
|
-
"onUpdate:modelValue"?: ((value: string[] | number[]
|
|
140
|
+
"onUpdate:modelValue"?: ((value: string[] | number[]) => any) | undefined;
|
|
142
141
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
143
142
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
144
143
|
export default _default;
|
|
@@ -6,7 +6,7 @@ import { ElSelect } from 'element-plus';
|
|
|
6
6
|
import 'element-plus/es/components/select/style/css';
|
|
7
7
|
import { type PropType } from 'vue';
|
|
8
8
|
type ElSelectProps = InstanceType<typeof ElSelect>['$props'];
|
|
9
|
-
type PickedProps = Pick<ElSelectProps, 'size' | 'clearable' | 'clearIcon' | 'effect' | 'filterable' | 'placeholder' | 'defaultFirstOption' | 'onClear' | 'onChange' | 'onRemove-tag' | 'multiple' | '
|
|
9
|
+
type PickedProps = Pick<ElSelectProps, 'size' | 'clearable' | 'clearIcon' | 'effect' | 'filterable' | 'placeholder' | 'defaultFirstOption' | 'onClear' | 'onChange' | 'onRemove-tag' | 'multiple' | 'disabled' | 'noDataText' | 'placement'>;
|
|
10
10
|
type Slots = {
|
|
11
11
|
default?: unknown;
|
|
12
12
|
header?: unknown;
|
|
@@ -31,7 +31,6 @@ type Props = {
|
|
|
31
31
|
onChange?: PickedProps['onChange'];
|
|
32
32
|
onRemoveTag?: PickedProps['onRemove-tag'];
|
|
33
33
|
multiple?: PickedProps['multiple'];
|
|
34
|
-
fallbackPlacements?: PickedProps['fallbackPlacements'];
|
|
35
34
|
disabled?: PickedProps['disabled'];
|
|
36
35
|
noDataText?: PickedProps['noDataText'];
|
|
37
36
|
placement?: PickedProps['placement'];
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { ElTable } from 'element-plus';
|
|
6
6
|
import 'element-plus/es/components/table/style/css';
|
|
7
7
|
type ElTableProps = InstanceType<typeof ElTable>['$props'];
|
|
8
|
-
type PickedProps = Pick<ElTableProps, 'data' | 'size' | 'maxHeight' | 'className' | 'scrollbarAlwaysOn' | 'load' | 'border' | 'cellClassName' | 'headerCellClassName' | 'headerRowClassName' | 'treeProps' | 'cellStyle' | 'fit' | 'tableLayout' | 'onScroll' | 'allowDragLastColumn' | 'flexible' | 'onCell-click' | 'onRow-click' | 'emptyText' | 'showSummary'>;
|
|
8
|
+
type PickedProps = Pick<ElTableProps, 'data' | 'size' | 'maxHeight' | 'className' | 'scrollbarAlwaysOn' | 'load' | 'border' | 'cellClassName' | 'headerCellClassName' | 'headerRowClassName' | 'treeProps' | 'cellStyle' | 'fit' | 'tableLayout' | 'onScroll' | 'allowDragLastColumn' | 'rowClassName' | 'flexible' | 'onCell-click' | 'onRow-click' | 'emptyText' | 'showSummary' | 'showOverflowTooltip'>;
|
|
9
9
|
type Slots = {
|
|
10
10
|
default?: unknown;
|
|
11
11
|
append?: unknown;
|
|
@@ -29,13 +29,454 @@ type Props = {
|
|
|
29
29
|
flexible?: PickedProps['flexible'];
|
|
30
30
|
emptyText?: PickedProps['emptyText'];
|
|
31
31
|
showSummary?: PickedProps['showSummary'];
|
|
32
|
+
rowClassName?: PickedProps['rowClassName'];
|
|
33
|
+
showOverflowTooltip?: PickedProps['showOverflowTooltip'];
|
|
32
34
|
onLoad?: PickedProps['load'];
|
|
33
35
|
onCellClick?: PickedProps['onCell-click'];
|
|
34
36
|
onRowClick?: PickedProps['onRow-click'];
|
|
35
37
|
onScroll?: PickedProps['onScroll'];
|
|
36
38
|
};
|
|
37
39
|
type __VLS_Slots = Slots;
|
|
38
|
-
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
40
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
41
|
+
baseTableRef: Readonly<import("vue").ShallowRef<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
data: {
|
|
43
|
+
type: import("vue").PropType<import("element-plus/es/components/table/src/table/defaults").DefaultRow[]>;
|
|
44
|
+
default: () => never[];
|
|
45
|
+
};
|
|
46
|
+
size: {
|
|
47
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
48
|
+
readonly required: false;
|
|
49
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
|
+
__epPropKey: true;
|
|
51
|
+
};
|
|
52
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
53
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
54
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
55
|
+
fit: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
stripe: BooleanConstructor;
|
|
60
|
+
border: BooleanConstructor;
|
|
61
|
+
rowKey: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["rowKey"]>;
|
|
62
|
+
showHeader: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
showSummary: BooleanConstructor;
|
|
67
|
+
sumText: StringConstructor;
|
|
68
|
+
summaryMethod: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["summaryMethod"]>;
|
|
69
|
+
rowClassName: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["rowClassName"]>;
|
|
70
|
+
rowStyle: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["rowStyle"]>;
|
|
71
|
+
cellClassName: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["cellClassName"]>;
|
|
72
|
+
cellStyle: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["cellStyle"]>;
|
|
73
|
+
headerRowClassName: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["headerRowClassName"]>;
|
|
74
|
+
headerRowStyle: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["headerRowStyle"]>;
|
|
75
|
+
headerCellClassName: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["headerCellClassName"]>;
|
|
76
|
+
headerCellStyle: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["headerCellStyle"]>;
|
|
77
|
+
highlightCurrentRow: BooleanConstructor;
|
|
78
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
79
|
+
emptyText: StringConstructor;
|
|
80
|
+
expandRowKeys: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["expandRowKeys"]>;
|
|
81
|
+
defaultExpandAll: BooleanConstructor;
|
|
82
|
+
defaultSort: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["defaultSort"]>;
|
|
83
|
+
tooltipEffect: StringConstructor;
|
|
84
|
+
tooltipOptions: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["tooltipOptions"]>;
|
|
85
|
+
spanMethod: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["spanMethod"]>;
|
|
86
|
+
selectOnIndeterminate: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
indent: {
|
|
91
|
+
type: NumberConstructor;
|
|
92
|
+
default: number;
|
|
93
|
+
};
|
|
94
|
+
treeProps: {
|
|
95
|
+
type: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["treeProps"]>;
|
|
96
|
+
default: () => {
|
|
97
|
+
hasChildren: string;
|
|
98
|
+
children: string;
|
|
99
|
+
checkStrictly: boolean;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
lazy: BooleanConstructor;
|
|
103
|
+
load: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["load"]>;
|
|
104
|
+
style: {
|
|
105
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
106
|
+
default: () => {};
|
|
107
|
+
};
|
|
108
|
+
className: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
tableLayout: {
|
|
113
|
+
type: import("vue").PropType<"fixed" | "auto">;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
scrollbarAlwaysOn: BooleanConstructor;
|
|
117
|
+
flexible: BooleanConstructor;
|
|
118
|
+
showOverflowTooltip: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["showOverflowTooltip"]>;
|
|
119
|
+
tooltipFormatter: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["tooltipFormatter"]>;
|
|
120
|
+
appendFilterPanelTo: StringConstructor;
|
|
121
|
+
scrollbarTabindex: {
|
|
122
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
123
|
+
default: undefined;
|
|
124
|
+
};
|
|
125
|
+
allowDragLastColumn: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
preserveExpandedContent: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
}>> & {
|
|
134
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
|
135
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
136
|
+
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
137
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
138
|
+
"onSelect-all"?: ((...args: any[]) => any) | undefined;
|
|
139
|
+
"onSelection-change"?: ((...args: any[]) => any) | undefined;
|
|
140
|
+
"onCell-mouse-enter"?: ((...args: any[]) => any) | undefined;
|
|
141
|
+
"onCell-mouse-leave"?: ((...args: any[]) => any) | undefined;
|
|
142
|
+
"onCell-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
144
|
+
"onCell-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
145
|
+
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
146
|
+
"onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
147
|
+
"onRow-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
148
|
+
"onHeader-click"?: ((...args: any[]) => any) | undefined;
|
|
149
|
+
"onHeader-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
150
|
+
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
151
|
+
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
152
|
+
"onHeader-dragend"?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
}, {
|
|
154
|
+
ns: {
|
|
155
|
+
namespace: import("vue").ComputedRef<string>;
|
|
156
|
+
b: (blockSuffix?: string) => string;
|
|
157
|
+
e: (element?: string) => string;
|
|
158
|
+
m: (modifier?: string) => string;
|
|
159
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
160
|
+
em: (element?: string, modifier?: string) => string;
|
|
161
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
162
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
163
|
+
is: {
|
|
164
|
+
(name: string, state: boolean | undefined): string;
|
|
165
|
+
(name: string): string;
|
|
166
|
+
};
|
|
167
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
168
|
+
cssVarName: (name: string) => string;
|
|
169
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
170
|
+
cssVarBlockName: (name: string) => string;
|
|
171
|
+
};
|
|
172
|
+
layout: import("element-plus/es/components/table/src/table-layout").default<any>;
|
|
173
|
+
store: any;
|
|
174
|
+
columns: import("vue").ComputedRef<import("element-plus").TableColumnCtx<unknown>>;
|
|
175
|
+
handleHeaderFooterMousewheel: (event: any, data: any) => void;
|
|
176
|
+
handleMouseLeave: () => void;
|
|
177
|
+
tableId: string;
|
|
178
|
+
tableSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
179
|
+
isHidden: import("vue").Ref<boolean>;
|
|
180
|
+
isEmpty: import("vue").ComputedRef<boolean>;
|
|
181
|
+
renderExpanded: import("vue").Ref<null>;
|
|
182
|
+
resizeProxyVisible: import("vue").Ref<boolean>;
|
|
183
|
+
resizeState: import("vue").Ref<{
|
|
184
|
+
width: null | number;
|
|
185
|
+
height: null | number;
|
|
186
|
+
headerHeight: null | number;
|
|
187
|
+
}>;
|
|
188
|
+
isGroup: import("vue").Ref<boolean>;
|
|
189
|
+
bodyWidth: import("vue").ComputedRef<string>;
|
|
190
|
+
tableBodyStyles: import("vue").ComputedRef<{
|
|
191
|
+
width: string;
|
|
192
|
+
}>;
|
|
193
|
+
emptyBlockStyle: import("vue").ComputedRef<{
|
|
194
|
+
width: string;
|
|
195
|
+
height: string;
|
|
196
|
+
} | null>;
|
|
197
|
+
debouncedUpdateLayout: import("lodash").DebouncedFunc<() => void>;
|
|
198
|
+
handleFixedMousewheel: (event: any, data: any) => void;
|
|
199
|
+
setCurrentRow: (row: any) => void;
|
|
200
|
+
getSelectionRows: () => any;
|
|
201
|
+
toggleRowSelection: (row: any, selected?: boolean, ignoreSelectable?: boolean) => void;
|
|
202
|
+
clearSelection: () => void;
|
|
203
|
+
clearFilter: (columnKeys?: string[]) => void;
|
|
204
|
+
toggleAllSelection: () => void;
|
|
205
|
+
toggleRowExpansion: (row: any, expanded?: boolean) => void;
|
|
206
|
+
clearSort: () => void;
|
|
207
|
+
doLayout: () => void;
|
|
208
|
+
sort: (prop: string, order: string) => void;
|
|
209
|
+
updateKeyChildren: (key: string, data: any[]) => void;
|
|
210
|
+
t: import("element-plus").Translator;
|
|
211
|
+
setDragVisible: (visible: boolean) => void;
|
|
212
|
+
context: import("element-plus").Table<any>;
|
|
213
|
+
computedSumText: import("vue").ComputedRef<string>;
|
|
214
|
+
computedEmptyText: import("vue").ComputedRef<string>;
|
|
215
|
+
tableLayout: import("vue").ComputedRef<("fixed" | "auto") | undefined>;
|
|
216
|
+
scrollbarViewStyle: {
|
|
217
|
+
display: string;
|
|
218
|
+
verticalAlign: string;
|
|
219
|
+
};
|
|
220
|
+
scrollbarStyle: import("vue").ComputedRef<{
|
|
221
|
+
height: string;
|
|
222
|
+
maxHeight?: undefined;
|
|
223
|
+
} | {
|
|
224
|
+
maxHeight: string;
|
|
225
|
+
height?: undefined;
|
|
226
|
+
} | {
|
|
227
|
+
height?: undefined;
|
|
228
|
+
maxHeight?: undefined;
|
|
229
|
+
}>;
|
|
230
|
+
scrollBarRef: import("vue").Ref<any>;
|
|
231
|
+
scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
|
|
232
|
+
setScrollLeft: (left?: number) => void;
|
|
233
|
+
setScrollTop: (top?: number) => void;
|
|
234
|
+
allowDragLastColumn: boolean;
|
|
235
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
236
|
+
data: any[];
|
|
237
|
+
style: import("vue").CSSProperties;
|
|
238
|
+
tableLayout: "fixed" | "auto";
|
|
239
|
+
border: boolean;
|
|
240
|
+
className: string;
|
|
241
|
+
fit: boolean;
|
|
242
|
+
lazy: boolean;
|
|
243
|
+
scrollbarAlwaysOn: boolean;
|
|
244
|
+
allowDragLastColumn: boolean;
|
|
245
|
+
stripe: boolean;
|
|
246
|
+
treeProps: import("element-plus/es/components/table/src/table/defaults").TreeProps | undefined;
|
|
247
|
+
showHeader: boolean;
|
|
248
|
+
showSummary: boolean;
|
|
249
|
+
highlightCurrentRow: boolean;
|
|
250
|
+
defaultExpandAll: boolean;
|
|
251
|
+
selectOnIndeterminate: boolean;
|
|
252
|
+
indent: number;
|
|
253
|
+
flexible: boolean;
|
|
254
|
+
scrollbarTabindex: string | number;
|
|
255
|
+
preserveExpandedContent: boolean;
|
|
256
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
257
|
+
P: {};
|
|
258
|
+
B: {};
|
|
259
|
+
D: {};
|
|
260
|
+
C: {};
|
|
261
|
+
M: {};
|
|
262
|
+
Defaults: {};
|
|
263
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
264
|
+
data: {
|
|
265
|
+
type: import("vue").PropType<import("element-plus/es/components/table/src/table/defaults").DefaultRow[]>;
|
|
266
|
+
default: () => never[];
|
|
267
|
+
};
|
|
268
|
+
size: {
|
|
269
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
270
|
+
readonly required: false;
|
|
271
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
272
|
+
__epPropKey: true;
|
|
273
|
+
};
|
|
274
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
275
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
276
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
277
|
+
fit: {
|
|
278
|
+
type: BooleanConstructor;
|
|
279
|
+
default: boolean;
|
|
280
|
+
};
|
|
281
|
+
stripe: BooleanConstructor;
|
|
282
|
+
border: BooleanConstructor;
|
|
283
|
+
rowKey: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["rowKey"]>;
|
|
284
|
+
showHeader: {
|
|
285
|
+
type: BooleanConstructor;
|
|
286
|
+
default: boolean;
|
|
287
|
+
};
|
|
288
|
+
showSummary: BooleanConstructor;
|
|
289
|
+
sumText: StringConstructor;
|
|
290
|
+
summaryMethod: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["summaryMethod"]>;
|
|
291
|
+
rowClassName: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["rowClassName"]>;
|
|
292
|
+
rowStyle: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["rowStyle"]>;
|
|
293
|
+
cellClassName: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["cellClassName"]>;
|
|
294
|
+
cellStyle: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["cellStyle"]>;
|
|
295
|
+
headerRowClassName: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["headerRowClassName"]>;
|
|
296
|
+
headerRowStyle: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["headerRowStyle"]>;
|
|
297
|
+
headerCellClassName: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["headerCellClassName"]>;
|
|
298
|
+
headerCellStyle: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["headerCellStyle"]>;
|
|
299
|
+
highlightCurrentRow: BooleanConstructor;
|
|
300
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
301
|
+
emptyText: StringConstructor;
|
|
302
|
+
expandRowKeys: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["expandRowKeys"]>;
|
|
303
|
+
defaultExpandAll: BooleanConstructor;
|
|
304
|
+
defaultSort: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["defaultSort"]>;
|
|
305
|
+
tooltipEffect: StringConstructor;
|
|
306
|
+
tooltipOptions: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["tooltipOptions"]>;
|
|
307
|
+
spanMethod: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["spanMethod"]>;
|
|
308
|
+
selectOnIndeterminate: {
|
|
309
|
+
type: BooleanConstructor;
|
|
310
|
+
default: boolean;
|
|
311
|
+
};
|
|
312
|
+
indent: {
|
|
313
|
+
type: NumberConstructor;
|
|
314
|
+
default: number;
|
|
315
|
+
};
|
|
316
|
+
treeProps: {
|
|
317
|
+
type: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["treeProps"]>;
|
|
318
|
+
default: () => {
|
|
319
|
+
hasChildren: string;
|
|
320
|
+
children: string;
|
|
321
|
+
checkStrictly: boolean;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
lazy: BooleanConstructor;
|
|
325
|
+
load: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["load"]>;
|
|
326
|
+
style: {
|
|
327
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
328
|
+
default: () => {};
|
|
329
|
+
};
|
|
330
|
+
className: {
|
|
331
|
+
type: StringConstructor;
|
|
332
|
+
default: string;
|
|
333
|
+
};
|
|
334
|
+
tableLayout: {
|
|
335
|
+
type: import("vue").PropType<"fixed" | "auto">;
|
|
336
|
+
default: string;
|
|
337
|
+
};
|
|
338
|
+
scrollbarAlwaysOn: BooleanConstructor;
|
|
339
|
+
flexible: BooleanConstructor;
|
|
340
|
+
showOverflowTooltip: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["showOverflowTooltip"]>;
|
|
341
|
+
tooltipFormatter: import("vue").PropType<import("element-plus").TableProps<import("element-plus/es/components/table/src/table/defaults").DefaultRow>["tooltipFormatter"]>;
|
|
342
|
+
appendFilterPanelTo: StringConstructor;
|
|
343
|
+
scrollbarTabindex: {
|
|
344
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
345
|
+
default: undefined;
|
|
346
|
+
};
|
|
347
|
+
allowDragLastColumn: {
|
|
348
|
+
type: BooleanConstructor;
|
|
349
|
+
default: boolean;
|
|
350
|
+
};
|
|
351
|
+
preserveExpandedContent: {
|
|
352
|
+
type: BooleanConstructor;
|
|
353
|
+
default: boolean;
|
|
354
|
+
};
|
|
355
|
+
}>> & {
|
|
356
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
|
357
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
358
|
+
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
359
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
360
|
+
"onSelect-all"?: ((...args: any[]) => any) | undefined;
|
|
361
|
+
"onSelection-change"?: ((...args: any[]) => any) | undefined;
|
|
362
|
+
"onCell-mouse-enter"?: ((...args: any[]) => any) | undefined;
|
|
363
|
+
"onCell-mouse-leave"?: ((...args: any[]) => any) | undefined;
|
|
364
|
+
"onCell-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
365
|
+
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
366
|
+
"onCell-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
367
|
+
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
368
|
+
"onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
369
|
+
"onRow-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
370
|
+
"onHeader-click"?: ((...args: any[]) => any) | undefined;
|
|
371
|
+
"onHeader-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
372
|
+
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
373
|
+
"onFilter-change"?: ((...args: any[]) => any) | undefined;
|
|
374
|
+
"onHeader-dragend"?: ((...args: any[]) => any) | undefined;
|
|
375
|
+
}, {
|
|
376
|
+
ns: {
|
|
377
|
+
namespace: import("vue").ComputedRef<string>;
|
|
378
|
+
b: (blockSuffix?: string) => string;
|
|
379
|
+
e: (element?: string) => string;
|
|
380
|
+
m: (modifier?: string) => string;
|
|
381
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
382
|
+
em: (element?: string, modifier?: string) => string;
|
|
383
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
384
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
385
|
+
is: {
|
|
386
|
+
(name: string, state: boolean | undefined): string;
|
|
387
|
+
(name: string): string;
|
|
388
|
+
};
|
|
389
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
390
|
+
cssVarName: (name: string) => string;
|
|
391
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
392
|
+
cssVarBlockName: (name: string) => string;
|
|
393
|
+
};
|
|
394
|
+
layout: import("element-plus/es/components/table/src/table-layout").default<any>;
|
|
395
|
+
store: any;
|
|
396
|
+
columns: import("vue").ComputedRef<import("element-plus").TableColumnCtx<unknown>>;
|
|
397
|
+
handleHeaderFooterMousewheel: (event: any, data: any) => void;
|
|
398
|
+
handleMouseLeave: () => void;
|
|
399
|
+
tableId: string;
|
|
400
|
+
tableSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
401
|
+
isHidden: import("vue").Ref<boolean>;
|
|
402
|
+
isEmpty: import("vue").ComputedRef<boolean>;
|
|
403
|
+
renderExpanded: import("vue").Ref<null>;
|
|
404
|
+
resizeProxyVisible: import("vue").Ref<boolean>;
|
|
405
|
+
resizeState: import("vue").Ref<{
|
|
406
|
+
width: null | number;
|
|
407
|
+
height: null | number;
|
|
408
|
+
headerHeight: null | number;
|
|
409
|
+
}>;
|
|
410
|
+
isGroup: import("vue").Ref<boolean>;
|
|
411
|
+
bodyWidth: import("vue").ComputedRef<string>;
|
|
412
|
+
tableBodyStyles: import("vue").ComputedRef<{
|
|
413
|
+
width: string;
|
|
414
|
+
}>;
|
|
415
|
+
emptyBlockStyle: import("vue").ComputedRef<{
|
|
416
|
+
width: string;
|
|
417
|
+
height: string;
|
|
418
|
+
} | null>;
|
|
419
|
+
debouncedUpdateLayout: import("lodash").DebouncedFunc<() => void>;
|
|
420
|
+
handleFixedMousewheel: (event: any, data: any) => void;
|
|
421
|
+
setCurrentRow: (row: any) => void;
|
|
422
|
+
getSelectionRows: () => any;
|
|
423
|
+
toggleRowSelection: (row: any, selected?: boolean, ignoreSelectable?: boolean) => void;
|
|
424
|
+
clearSelection: () => void;
|
|
425
|
+
clearFilter: (columnKeys?: string[]) => void;
|
|
426
|
+
toggleAllSelection: () => void;
|
|
427
|
+
toggleRowExpansion: (row: any, expanded?: boolean) => void;
|
|
428
|
+
clearSort: () => void;
|
|
429
|
+
doLayout: () => void;
|
|
430
|
+
sort: (prop: string, order: string) => void;
|
|
431
|
+
updateKeyChildren: (key: string, data: any[]) => void;
|
|
432
|
+
t: import("element-plus").Translator;
|
|
433
|
+
setDragVisible: (visible: boolean) => void;
|
|
434
|
+
context: import("element-plus").Table<any>;
|
|
435
|
+
computedSumText: import("vue").ComputedRef<string>;
|
|
436
|
+
computedEmptyText: import("vue").ComputedRef<string>;
|
|
437
|
+
tableLayout: import("vue").ComputedRef<("fixed" | "auto") | undefined>;
|
|
438
|
+
scrollbarViewStyle: {
|
|
439
|
+
display: string;
|
|
440
|
+
verticalAlign: string;
|
|
441
|
+
};
|
|
442
|
+
scrollbarStyle: import("vue").ComputedRef<{
|
|
443
|
+
height: string;
|
|
444
|
+
maxHeight?: undefined;
|
|
445
|
+
} | {
|
|
446
|
+
maxHeight: string;
|
|
447
|
+
height?: undefined;
|
|
448
|
+
} | {
|
|
449
|
+
height?: undefined;
|
|
450
|
+
maxHeight?: undefined;
|
|
451
|
+
}>;
|
|
452
|
+
scrollBarRef: import("vue").Ref<any>;
|
|
453
|
+
scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
|
|
454
|
+
setScrollLeft: (left?: number) => void;
|
|
455
|
+
setScrollTop: (top?: number) => void;
|
|
456
|
+
allowDragLastColumn: boolean;
|
|
457
|
+
}, {}, {}, {}, {
|
|
458
|
+
data: any[];
|
|
459
|
+
style: import("vue").CSSProperties;
|
|
460
|
+
tableLayout: "fixed" | "auto";
|
|
461
|
+
border: boolean;
|
|
462
|
+
className: string;
|
|
463
|
+
fit: boolean;
|
|
464
|
+
lazy: boolean;
|
|
465
|
+
scrollbarAlwaysOn: boolean;
|
|
466
|
+
allowDragLastColumn: boolean;
|
|
467
|
+
stripe: boolean;
|
|
468
|
+
treeProps: import("element-plus/es/components/table/src/table/defaults").TreeProps | undefined;
|
|
469
|
+
showHeader: boolean;
|
|
470
|
+
showSummary: boolean;
|
|
471
|
+
highlightCurrentRow: boolean;
|
|
472
|
+
defaultExpandAll: boolean;
|
|
473
|
+
selectOnIndeterminate: boolean;
|
|
474
|
+
indent: number;
|
|
475
|
+
flexible: boolean;
|
|
476
|
+
scrollbarTabindex: string | number;
|
|
477
|
+
preserveExpandedContent: boolean;
|
|
478
|
+
}> | null>>;
|
|
479
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
39
480
|
border: boolean;
|
|
40
481
|
emptyText: string;
|
|
41
482
|
fit: boolean;
|
package/dist/index.d.ts
CHANGED