sprintify-ui 0.0.92 → 0.0.94
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/sprintify-ui.es.js +15391 -6131
- package/dist/style.css +1 -1
- package/dist/types/src/components/BaseActionItem.vue.d.ts +25 -102
- package/dist/types/src/components/BaseApp.vue.d.ts +8 -47
- package/dist/types/src/components/BaseAutocomplete.vue.d.ts +90 -326
- package/dist/types/src/components/BaseAutocompleteFetch.vue.d.ts +85 -290
- package/dist/types/src/components/BaseBadge.vue.d.ts +27 -110
- package/dist/types/src/components/BaseBelongsTo.vue.d.ts +89 -294
- package/dist/types/src/components/BaseButtonGroup.vue.d.ts +71 -254
- package/dist/types/src/components/BaseCard.vue.d.ts +15 -68
- package/dist/types/src/components/BaseClipboard.vue.d.ts +15 -68
- package/dist/types/src/components/BaseColor.vue.d.ts +79 -0
- package/dist/types/src/components/BaseDataIterator.vue.d.ts +82 -258
- package/dist/types/src/components/BaseDataTable.vue.d.ts +158 -509
- package/dist/types/src/components/BaseDescriptionList.vue.d.ts +8 -47
- package/dist/types/src/components/BaseDescriptionListItem.vue.d.ts +9 -48
- package/dist/types/src/components/BaseDialog.vue.d.ts +31 -131
- package/dist/types/src/components/BaseDropdown.vue.d.ts +28 -110
- package/dist/types/src/components/BaseField.vue.d.ts +31 -124
- package/dist/types/src/components/BaseFileUploader.vue.d.ts +54 -192
- package/dist/types/src/components/BaseForm.vue.d.ts +62 -226
- package/dist/types/src/components/BaseHasMany.vue.d.ts +66 -219
- package/dist/types/src/components/BaseInput.vue.d.ts +9 -0
- package/dist/types/src/components/BaseInputError.vue.d.ts +8 -47
- package/dist/types/src/components/BaseLayoutSidebar.vue.d.ts +25 -98
- package/dist/types/src/components/BaseLayoutSidebarConfigurable.vue.d.ts +39 -155
- package/dist/types/src/components/BaseLayoutStacked.vue.d.ts +17 -70
- package/dist/types/src/components/BaseLayoutStackedConfigurable.vue.d.ts +39 -155
- package/dist/types/src/components/BaseMediaLibrary.vue.d.ts +63 -234
- package/dist/types/src/components/BaseMenu.vue.d.ts +32 -105
- package/dist/types/src/components/BaseModalCenter.vue.d.ts +47 -118
- package/dist/types/src/components/BaseModalSide.vue.d.ts +29 -118
- package/dist/types/src/components/BaseNavbar.vue.d.ts +24 -87
- package/dist/types/src/components/BaseRadioGroup.vue.d.ts +53 -194
- package/dist/types/src/components/BaseReadMore.vue.d.ts +15 -68
- package/dist/types/src/components/BaseRichText.vue.d.ts +92 -0
- package/dist/types/src/components/BaseSelect.vue.d.ts +35 -144
- package/dist/types/src/components/BaseSideNavigation.vue.d.ts +8 -47
- package/dist/types/src/components/BaseSideNavigationItem.vue.d.ts +23 -94
- package/dist/types/src/components/BaseSkeleton.vue.d.ts +19 -82
- package/dist/types/src/components/BaseSwitch.vue.d.ts +35 -144
- package/dist/types/src/components/BaseSystemAlert.vue.d.ts +27 -116
- package/dist/types/src/components/BaseTabItem.vue.d.ts +23 -94
- package/dist/types/src/components/BaseTable.vue.d.ts +101 -361
- package/dist/types/src/components/BaseTableColumn.vue.d.ts +1 -1
- package/dist/types/src/components/BaseTabs.vue.d.ts +8 -47
- package/dist/types/src/components/BaseTagAutocomplete.vue.d.ts +66 -236
- package/dist/types/src/components/BaseTagAutocompleteFetch.vue.d.ts +62 -212
- package/dist/types/src/components/index.d.ts +3 -1
- package/package.json +5 -1
- package/src/components/BaseButtonGroup.vue +2 -2
- package/src/components/BaseColor.stories.js +52 -0
- package/src/components/BaseColor.vue +98 -0
- package/src/components/BaseForm.vue +3 -3
- package/src/components/BaseInput.stories.js +52 -0
- package/src/components/BaseInput.vue +38 -1
- package/src/components/BaseModalCenter.stories.js +5 -0
- package/src/components/BaseModalCenter.vue +21 -6
- package/src/components/BaseRichText.stories.js +102 -0
- package/src/components/BaseRichText.vue +121 -0
- package/src/components/BaseTextarea.vue +1 -1
- package/src/components/index.ts +4 -0
|
@@ -1,348 +1,87 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BaseTableColumn, MenuItemInterface, Row } from '@/types';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
hasDetailedVisible: {
|
|
86
|
-
type: FunctionConstructor;
|
|
87
|
-
default: () => boolean;
|
|
88
|
-
};
|
|
89
|
-
/** Use a unique key of your data Object when use detailed or opened detailed. (id recommended) */
|
|
90
|
-
rowKey: {
|
|
91
|
-
type: StringConstructor;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
|
-
detailTransition: {
|
|
95
|
-
type: StringConstructor;
|
|
96
|
-
default: string;
|
|
97
|
-
};
|
|
98
|
-
maxHeight: {
|
|
99
|
-
default: undefined;
|
|
100
|
-
type: NumberConstructor;
|
|
101
|
-
};
|
|
102
|
-
}>> & {
|
|
103
|
-
onCheck?: ((...args: any[]) => any) | undefined;
|
|
104
|
-
onSort?: ((...args: any[]) => any) | undefined;
|
|
105
|
-
"onCheck-all"?: ((...args: any[]) => any) | undefined;
|
|
106
|
-
"onUpdate:checkedRows"?: ((...args: any[]) => any) | undefined;
|
|
107
|
-
"onDetails-open"?: ((...args: any[]) => any) | undefined;
|
|
108
|
-
"onDetails-close"?: ((...args: any[]) => any) | undefined;
|
|
109
|
-
"onUpdate:openedDetailed"?: ((...args: any[]) => any) | undefined;
|
|
110
|
-
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
111
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "loading" | "sortField" | "sortDirection" | "visibleColumns" | "detailed" | "checkable" | "checkableActions" | "checkboxPosition" | "isRowCheckable" | "checkedRows" | "hasDetailedVisible" | "rowKey" | "detailTransition" | "maxHeight">;
|
|
112
|
-
$attrs: {
|
|
113
|
-
[x: string]: unknown;
|
|
114
|
-
};
|
|
115
|
-
$refs: {
|
|
116
|
-
[x: string]: unknown;
|
|
117
|
-
};
|
|
118
|
-
$slots: Readonly<{
|
|
119
|
-
[name: string]: import("vue").Slot | undefined;
|
|
120
|
-
}>;
|
|
121
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
122
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
123
|
-
$emit: (event: "sort" | "check" | "check-all" | "update:checkedRows" | "details-open" | "details-close" | "update:openedDetailed" | "cell-click", ...args: any[]) => void;
|
|
124
|
-
$el: any;
|
|
125
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
126
|
-
/** Table data */
|
|
127
|
-
data: {
|
|
128
|
-
type: PropType<Row[]>;
|
|
129
|
-
default: () => never[];
|
|
130
|
-
};
|
|
131
|
-
/** Loading state */
|
|
132
|
-
loading: {
|
|
133
|
-
default: boolean;
|
|
134
|
-
type: BooleanConstructor;
|
|
135
|
-
};
|
|
136
|
-
visibleColumns: {
|
|
137
|
-
default: undefined;
|
|
138
|
-
type: PropType<number[]>;
|
|
139
|
-
};
|
|
140
|
-
/** Allow row details */
|
|
141
|
-
detailed: {
|
|
142
|
-
default: boolean;
|
|
143
|
-
type: BooleanConstructor;
|
|
144
|
-
};
|
|
145
|
-
/** Rows can be checked (multiple), checked rows will have a .is-checked class if you want to style */
|
|
146
|
-
checkable: {
|
|
147
|
-
default: boolean;
|
|
148
|
-
type: BooleanConstructor;
|
|
149
|
-
};
|
|
150
|
-
/** Define checkable actions */
|
|
151
|
-
checkableActions: {
|
|
152
|
-
default: undefined;
|
|
153
|
-
type: PropType<MenuItemInterface[]>;
|
|
154
|
-
};
|
|
155
|
-
/**
|
|
156
|
-
* Position of the checkbox (if checkable is true)
|
|
157
|
-
* @values left, right
|
|
158
|
-
*/
|
|
159
|
-
checkboxPosition: {
|
|
160
|
-
type: PropType<"left" | "right">;
|
|
161
|
-
default: string;
|
|
162
|
-
};
|
|
163
|
-
/** Custom method to verify if a row is checkable, works when is checkable */
|
|
164
|
-
isRowCheckable: {
|
|
165
|
-
type: FunctionConstructor;
|
|
166
|
-
default: () => boolean;
|
|
167
|
-
};
|
|
168
|
-
/** Set which rows are checked, use v-model:checkedRows to make it two-way binding */
|
|
169
|
-
checkedRows: {
|
|
170
|
-
default: () => never[];
|
|
171
|
-
type: PropType<Row[]>;
|
|
172
|
-
};
|
|
173
|
-
/** Sets the default sort column field */
|
|
174
|
-
sortField: {
|
|
175
|
-
type: StringConstructor;
|
|
176
|
-
default: string;
|
|
177
|
-
};
|
|
178
|
-
/**
|
|
179
|
-
* Sets the default sort column direction
|
|
180
|
-
* @values asc, desc
|
|
181
|
-
*/
|
|
182
|
-
sortDirection: {
|
|
183
|
-
type: StringConstructor;
|
|
184
|
-
default: string;
|
|
185
|
-
};
|
|
186
|
-
/** Controls the visibility of the trigger that toggles the detailed rows. */
|
|
187
|
-
hasDetailedVisible: {
|
|
188
|
-
type: FunctionConstructor;
|
|
189
|
-
default: () => boolean;
|
|
190
|
-
};
|
|
191
|
-
/** Use a unique key of your data Object when use detailed or opened detailed. (id recommended) */
|
|
192
|
-
rowKey: {
|
|
193
|
-
type: StringConstructor;
|
|
194
|
-
default: string;
|
|
195
|
-
};
|
|
196
|
-
detailTransition: {
|
|
197
|
-
type: StringConstructor;
|
|
198
|
-
default: string;
|
|
199
|
-
};
|
|
200
|
-
maxHeight: {
|
|
201
|
-
default: undefined;
|
|
202
|
-
type: NumberConstructor;
|
|
203
|
-
};
|
|
204
|
-
}>> & {
|
|
205
|
-
onCheck?: ((...args: any[]) => any) | undefined;
|
|
206
|
-
onSort?: ((...args: any[]) => any) | undefined;
|
|
207
|
-
"onCheck-all"?: ((...args: any[]) => any) | undefined;
|
|
208
|
-
"onUpdate:checkedRows"?: ((...args: any[]) => any) | undefined;
|
|
209
|
-
"onDetails-open"?: ((...args: any[]) => any) | undefined;
|
|
210
|
-
"onDetails-close"?: ((...args: any[]) => any) | undefined;
|
|
211
|
-
"onUpdate:openedDetailed"?: ((...args: any[]) => any) | undefined;
|
|
212
|
-
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
213
|
-
}, {
|
|
214
|
-
newColumns: import("vue").ComputedRef<BaseTableColumn[]>;
|
|
215
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("sort" | "check" | "check-all" | "update:checkedRows" | "details-open" | "details-close" | "update:openedDetailed" | "cell-click")[], string, {
|
|
216
|
-
data: Row[];
|
|
217
|
-
loading: boolean;
|
|
218
|
-
sortField: string;
|
|
219
|
-
sortDirection: string;
|
|
220
|
-
visibleColumns: number[];
|
|
221
|
-
detailed: boolean;
|
|
222
|
-
checkable: boolean;
|
|
223
|
-
checkableActions: MenuItemInterface[];
|
|
224
|
-
checkboxPosition: "left" | "right";
|
|
225
|
-
isRowCheckable: Function;
|
|
226
|
-
checkedRows: Row[];
|
|
227
|
-
hasDetailedVisible: Function;
|
|
228
|
-
rowKey: string;
|
|
229
|
-
detailTransition: string;
|
|
230
|
-
maxHeight: number;
|
|
231
|
-
}, {}, string> & {
|
|
232
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
233
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
234
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
235
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
236
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
237
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
238
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
239
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
240
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
241
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
242
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
243
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
244
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
245
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
246
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
247
|
-
};
|
|
248
|
-
$forceUpdate: () => void;
|
|
249
|
-
$nextTick: typeof import("vue").nextTick;
|
|
250
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
251
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
252
|
-
/** Table data */
|
|
253
|
-
data: {
|
|
254
|
-
type: PropType<Row[]>;
|
|
255
|
-
default: () => never[];
|
|
256
|
-
};
|
|
257
|
-
/** Loading state */
|
|
258
|
-
loading: {
|
|
259
|
-
default: boolean;
|
|
260
|
-
type: BooleanConstructor;
|
|
261
|
-
};
|
|
262
|
-
visibleColumns: {
|
|
263
|
-
default: undefined;
|
|
264
|
-
type: PropType<number[]>;
|
|
265
|
-
};
|
|
266
|
-
/** Allow row details */
|
|
267
|
-
detailed: {
|
|
268
|
-
default: boolean;
|
|
269
|
-
type: BooleanConstructor;
|
|
270
|
-
};
|
|
271
|
-
/** Rows can be checked (multiple), checked rows will have a .is-checked class if you want to style */
|
|
272
|
-
checkable: {
|
|
273
|
-
default: boolean;
|
|
274
|
-
type: BooleanConstructor;
|
|
275
|
-
};
|
|
276
|
-
/** Define checkable actions */
|
|
277
|
-
checkableActions: {
|
|
278
|
-
default: undefined;
|
|
279
|
-
type: PropType<MenuItemInterface[]>;
|
|
280
|
-
};
|
|
281
|
-
/**
|
|
282
|
-
* Position of the checkbox (if checkable is true)
|
|
283
|
-
* @values left, right
|
|
284
|
-
*/
|
|
285
|
-
checkboxPosition: {
|
|
286
|
-
type: PropType<"left" | "right">;
|
|
287
|
-
default: string;
|
|
288
|
-
};
|
|
289
|
-
/** Custom method to verify if a row is checkable, works when is checkable */
|
|
290
|
-
isRowCheckable: {
|
|
291
|
-
type: FunctionConstructor;
|
|
292
|
-
default: () => boolean;
|
|
293
|
-
};
|
|
294
|
-
/** Set which rows are checked, use v-model:checkedRows to make it two-way binding */
|
|
295
|
-
checkedRows: {
|
|
296
|
-
default: () => never[];
|
|
297
|
-
type: PropType<Row[]>;
|
|
298
|
-
};
|
|
299
|
-
/** Sets the default sort column field */
|
|
300
|
-
sortField: {
|
|
301
|
-
type: StringConstructor;
|
|
302
|
-
default: string;
|
|
303
|
-
};
|
|
304
|
-
/**
|
|
305
|
-
* Sets the default sort column direction
|
|
306
|
-
* @values asc, desc
|
|
307
|
-
*/
|
|
308
|
-
sortDirection: {
|
|
309
|
-
type: StringConstructor;
|
|
310
|
-
default: string;
|
|
311
|
-
};
|
|
312
|
-
/** Controls the visibility of the trigger that toggles the detailed rows. */
|
|
313
|
-
hasDetailedVisible: {
|
|
314
|
-
type: FunctionConstructor;
|
|
315
|
-
default: () => boolean;
|
|
316
|
-
};
|
|
317
|
-
/** Use a unique key of your data Object when use detailed or opened detailed. (id recommended) */
|
|
318
|
-
rowKey: {
|
|
319
|
-
type: StringConstructor;
|
|
320
|
-
default: string;
|
|
321
|
-
};
|
|
322
|
-
detailTransition: {
|
|
323
|
-
type: StringConstructor;
|
|
324
|
-
default: string;
|
|
325
|
-
};
|
|
326
|
-
maxHeight: {
|
|
327
|
-
default: undefined;
|
|
328
|
-
type: NumberConstructor;
|
|
329
|
-
};
|
|
330
|
-
}>> & {
|
|
331
|
-
onCheck?: ((...args: any[]) => any) | undefined;
|
|
332
|
-
onSort?: ((...args: any[]) => any) | undefined;
|
|
333
|
-
"onCheck-all"?: ((...args: any[]) => any) | undefined;
|
|
334
|
-
"onUpdate:checkedRows"?: ((...args: any[]) => any) | undefined;
|
|
335
|
-
"onDetails-open"?: ((...args: any[]) => any) | undefined;
|
|
336
|
-
"onDetails-close"?: ((...args: any[]) => any) | undefined;
|
|
337
|
-
"onUpdate:openedDetailed"?: ((...args: any[]) => any) | undefined;
|
|
338
|
-
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
339
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
340
|
-
newColumns: import("vue").ComputedRef<BaseTableColumn[]>;
|
|
341
|
-
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
342
|
-
__isFragment?: undefined;
|
|
343
|
-
__isTeleport?: undefined;
|
|
344
|
-
__isSuspense?: undefined;
|
|
345
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
/** Table data */
|
|
5
|
+
data: {
|
|
6
|
+
type: PropType<Row[]>;
|
|
7
|
+
default: () => never[];
|
|
8
|
+
};
|
|
9
|
+
/** Loading state */
|
|
10
|
+
loading: {
|
|
11
|
+
default: boolean;
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
};
|
|
14
|
+
visibleColumns: {
|
|
15
|
+
default: undefined;
|
|
16
|
+
type: PropType<number[]>;
|
|
17
|
+
};
|
|
18
|
+
/** Allow row details */
|
|
19
|
+
detailed: {
|
|
20
|
+
default: boolean;
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
};
|
|
23
|
+
/** Rows can be checked (multiple), checked rows will have a .is-checked class if you want to style */
|
|
24
|
+
checkable: {
|
|
25
|
+
default: boolean;
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
};
|
|
28
|
+
/** Define checkable actions */
|
|
29
|
+
checkableActions: {
|
|
30
|
+
default: undefined;
|
|
31
|
+
type: PropType<MenuItemInterface[]>;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Position of the checkbox (if checkable is true)
|
|
35
|
+
* @values left, right
|
|
36
|
+
*/
|
|
37
|
+
checkboxPosition: {
|
|
38
|
+
type: PropType<"left" | "right">;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
/** Custom method to verify if a row is checkable, works when is checkable */
|
|
42
|
+
isRowCheckable: {
|
|
43
|
+
type: FunctionConstructor;
|
|
44
|
+
default: () => boolean;
|
|
45
|
+
};
|
|
46
|
+
/** Set which rows are checked, use v-model:checkedRows to make it two-way binding */
|
|
47
|
+
checkedRows: {
|
|
48
|
+
default: () => never[];
|
|
49
|
+
type: PropType<Row[]>;
|
|
50
|
+
};
|
|
51
|
+
/** Sets the default sort column field */
|
|
52
|
+
sortField: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Sets the default sort column direction
|
|
58
|
+
* @values asc, desc
|
|
59
|
+
*/
|
|
60
|
+
sortDirection: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
/** Controls the visibility of the trigger that toggles the detailed rows. */
|
|
65
|
+
hasDetailedVisible: {
|
|
66
|
+
type: FunctionConstructor;
|
|
67
|
+
default: () => boolean;
|
|
68
|
+
};
|
|
69
|
+
/** Use a unique key of your data Object when use detailed or opened detailed. (id recommended) */
|
|
70
|
+
rowKey: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
detailTransition: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
maxHeight: {
|
|
79
|
+
default: undefined;
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
};
|
|
82
|
+
}, {
|
|
83
|
+
newColumns: import("vue").ComputedRef<BaseTableColumn[]>;
|
|
84
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("sort" | "check" | "check-all" | "update:checkedRows" | "details-open" | "details-close" | "update:openedDetailed" | "cell-click")[], "sort" | "check" | "check-all" | "update:checkedRows" | "details-open" | "details-close" | "update:openedDetailed" | "cell-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
346
85
|
/** Table data */
|
|
347
86
|
data: {
|
|
348
87
|
type: PropType<Row[]>;
|
|
@@ -431,8 +170,6 @@ declare const _default: {
|
|
|
431
170
|
"onUpdate:openedDetailed"?: ((...args: any[]) => any) | undefined;
|
|
432
171
|
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
433
172
|
}, {
|
|
434
|
-
newColumns: import("vue").ComputedRef<BaseTableColumn[]>;
|
|
435
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("sort" | "check" | "check-all" | "update:checkedRows" | "details-open" | "details-close" | "update:openedDetailed" | "cell-click")[], "sort" | "check" | "check-all" | "update:checkedRows" | "details-open" | "details-close" | "update:openedDetailed" | "cell-click", {
|
|
436
173
|
data: Row[];
|
|
437
174
|
loading: boolean;
|
|
438
175
|
sortField: string;
|
|
@@ -448,20 +185,23 @@ declare const _default: {
|
|
|
448
185
|
rowKey: string;
|
|
449
186
|
detailTransition: string;
|
|
450
187
|
maxHeight: number;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
};
|
|
466
|
-
});
|
|
188
|
+
}>, {
|
|
189
|
+
default: (_: {}) => any;
|
|
190
|
+
checkedHeader: (_: {
|
|
191
|
+
uncheckAll: () => void;
|
|
192
|
+
count: number;
|
|
193
|
+
checkRows: Row[];
|
|
194
|
+
}) => any;
|
|
195
|
+
detail: (_: {
|
|
196
|
+
row: Row;
|
|
197
|
+
index: number;
|
|
198
|
+
}) => any;
|
|
199
|
+
empty: (_: {}) => any;
|
|
200
|
+
loading: (_: {}) => any;
|
|
201
|
+
}>;
|
|
467
202
|
export default _default;
|
|
203
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
204
|
+
new (): {
|
|
205
|
+
$slots: S;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
@@ -154,9 +154,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
154
154
|
}>>, {
|
|
155
155
|
meta: Record<string, any> | unknown[];
|
|
156
156
|
label: string;
|
|
157
|
-
width: number;
|
|
158
157
|
toggle: boolean;
|
|
159
158
|
field: string;
|
|
159
|
+
width: number;
|
|
160
160
|
position: "left" | "right" | "center";
|
|
161
161
|
searchable: boolean;
|
|
162
162
|
customKey: string | number;
|
|
@@ -1,48 +1,9 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
$data: {};
|
|
5
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
6
|
-
$attrs: {
|
|
7
|
-
[x: string]: unknown;
|
|
8
|
-
};
|
|
9
|
-
$refs: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
};
|
|
12
|
-
$slots: Readonly<{
|
|
13
|
-
[name: string]: import("vue").Slot | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
16
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
17
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
18
|
-
$el: any;
|
|
19
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
20
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
21
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
22
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
23
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
24
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
25
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
26
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
27
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
28
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
29
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
30
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
31
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
33
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
34
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
35
|
-
};
|
|
36
|
-
$forceUpdate: () => void;
|
|
37
|
-
$nextTick: typeof import("vue").nextTick;
|
|
38
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
39
|
-
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
40
|
-
__isFragment?: undefined;
|
|
41
|
-
__isTeleport?: undefined;
|
|
42
|
-
__isSuspense?: undefined;
|
|
43
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
44
|
-
$slots: {
|
|
45
|
-
default: (_: {}) => any;
|
|
46
|
-
};
|
|
47
|
-
});
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
2
|
+
default: (_: {}) => any;
|
|
3
|
+
}>;
|
|
48
4
|
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|