sprintify-ui 0.10.88 → 0.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.
Files changed (103) hide show
  1. package/dist/{BaseCkeditor-Laq0HbvP.js → BaseCkeditor-Dcqohrsz.js} +14 -14
  2. package/dist/sprintify-ui.es.js +12566 -12743
  3. package/dist/style.css +2 -2
  4. package/dist/types/components/BaseActionItem.vue.d.ts +11 -5
  5. package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
  6. package/dist/types/components/BaseAlert.vue.d.ts +3 -21
  7. package/dist/types/components/BaseApp.vue.d.ts +2 -9
  8. package/dist/types/components/BaseAutocomplete.vue.d.ts +4 -712
  9. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +2 -125
  10. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +12 -1115
  11. package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
  12. package/dist/types/components/BaseBadge.vue.d.ts +3 -20
  13. package/dist/types/components/BaseBelongsTo.vue.d.ts +4 -1091
  14. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +6 -795
  15. package/dist/types/components/BaseButton.vue.d.ts +6 -77
  16. package/dist/types/components/BaseButtonGroup.vue.d.ts +3 -159
  17. package/dist/types/components/BaseCard.vue.d.ts +2 -23
  18. package/dist/types/components/BaseCardRow.vue.d.ts +2 -16
  19. package/dist/types/components/BaseCkeditor.vue.d.ts +1 -1
  20. package/dist/types/components/BaseClipboard.vue.d.ts +2 -42
  21. package/dist/types/components/BaseCollapse.vue.d.ts +2 -26
  22. package/dist/types/components/BaseContainer.vue.d.ts +2 -12
  23. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  24. package/dist/types/components/BaseCropper.vue.d.ts +3 -35
  25. package/dist/types/components/BaseDataIterator.vue.d.ts +18 -11
  26. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +2 -10
  27. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +2 -16
  28. package/dist/types/components/BaseDataTable.vue.d.ts +54 -2141
  29. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +2 -584
  30. package/dist/types/components/BaseDatePicker.vue.d.ts +2 -2
  31. package/dist/types/components/BaseDescriptionList.vue.d.ts +2 -7
  32. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +2 -9
  33. package/dist/types/components/BaseDialog.vue.d.ts +3 -110
  34. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +2 -51
  35. package/dist/types/components/BaseDraggable.vue.d.ts +2 -18
  36. package/dist/types/components/BaseDropdown.vue.d.ts +2 -147
  37. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +3 -124
  38. package/dist/types/components/BaseField.vue.d.ts +3 -99
  39. package/dist/types/components/BaseFilePicker.vue.d.ts +2 -28
  40. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +2 -80
  41. package/dist/types/components/BaseFileUploader.vue.d.ts +3 -173
  42. package/dist/types/components/BaseForm.vue.d.ts +3 -150
  43. package/dist/types/components/BaseGantt.vue.d.ts +40 -1141
  44. package/dist/types/components/BaseHasMany.vue.d.ts +3 -598
  45. package/dist/types/components/BaseHasManyFetch.vue.d.ts +3 -589
  46. package/dist/types/components/BaseInput.vue.d.ts +3 -3
  47. package/dist/types/components/BaseInputError.vue.d.ts +2 -19
  48. package/dist/types/components/BaseInputPercent.vue.d.ts +1 -1
  49. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +2 -112
  50. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +2 -113
  51. package/dist/types/components/BaseLayoutStacked.vue.d.ts +2 -52
  52. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +2 -117
  53. package/dist/types/components/BaseLazy.vue.d.ts +2 -13
  54. package/dist/types/components/BaseMediaGallery.vue.d.ts +3 -3
  55. package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
  56. package/dist/types/components/BaseMediaLibrary.vue.d.ts +3 -207
  57. package/dist/types/components/BaseMediaList.vue.d.ts +3 -3
  58. package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
  59. package/dist/types/components/BaseMediaPictures.vue.d.ts +3 -3
  60. package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
  61. package/dist/types/components/BaseMenu.vue.d.ts +2 -209
  62. package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
  63. package/dist/types/components/BaseModalCenter.vue.d.ts +2 -83
  64. package/dist/types/components/BaseModalSide.vue.d.ts +2 -80
  65. package/dist/types/components/BaseNavbar.vue.d.ts +2 -83
  66. package/dist/types/components/BasePassword.vue.d.ts +1 -1
  67. package/dist/types/components/BaseRadioGroup.vue.d.ts +2 -107
  68. package/dist/types/components/BaseReadMore.vue.d.ts +2 -28
  69. package/dist/types/components/BaseRichText.vue.d.ts +1 -1
  70. package/dist/types/components/BaseSelect.vue.d.ts +4 -148
  71. package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
  72. package/dist/types/components/BaseSideNavigation.vue.d.ts +2 -7
  73. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +3 -19
  74. package/dist/types/components/BaseSkeleton.vue.d.ts +1 -1
  75. package/dist/types/components/BaseSwitch.vue.d.ts +3 -120
  76. package/dist/types/components/BaseSystemAlert.vue.d.ts +3 -55
  77. package/dist/types/components/BaseTabItem.vue.d.ts +4 -27
  78. package/dist/types/components/BaseTable.vue.d.ts +3 -24
  79. package/dist/types/components/BaseTableBody.vue.d.ts +2 -4
  80. package/dist/types/components/BaseTableCell.vue.d.ts +6 -36
  81. package/dist/types/components/BaseTableColumn.vue.d.ts +4 -4
  82. package/dist/types/components/BaseTableHead.vue.d.ts +2 -9
  83. package/dist/types/components/BaseTableHeader.vue.d.ts +4 -40
  84. package/dist/types/components/BaseTableRow.vue.d.ts +4 -38
  85. package/dist/types/components/BaseTabs.vue.d.ts +2 -16
  86. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +4 -636
  87. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +3 -844
  88. package/dist/types/components/BaseTextarea.vue.d.ts +1 -1
  89. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
  90. package/dist/types/components/BaseTimePicker.vue.d.ts +1 -1
  91. package/dist/types/components/BaseTooltip.vue.d.ts +2 -35
  92. package/dist/types/services/gantt/types.d.ts +18 -8
  93. package/package.json +6 -9
  94. package/src/changelog.mdx +1 -1
  95. package/src/components/BaseAssign.mdx +1 -1
  96. package/src/components/BaseAutocompleteFetch.vue +5 -0
  97. package/src/components/BaseBelongsToFetch.vue +3 -0
  98. package/src/components/BaseForm.mdx +1 -1
  99. package/src/components/BaseGantt.mdx +79 -0
  100. package/src/components/BaseGantt.stories.js +25 -10
  101. package/src/components/BaseGantt.vue +192 -58
  102. package/src/services/gantt/format.ts +30 -7
  103. package/src/services/gantt/types.ts +18 -8
@@ -1,604 +1,22 @@
1
1
  import { PropType } from 'vue';
2
2
  import { BaseTableColumnData, CollectionItem, Row } from '@/types';
3
- import SlotComponent from './SlotComponent';
4
3
  import { Size } from '@/utils/sizes';
5
- import BaseTable from './BaseTable.vue';
6
- import BaseTableHead from './BaseTableHead.vue';
7
- import BaseTableHeader from './BaseTableHeader.vue';
8
- import BaseTableBody from './BaseTableBody.vue';
9
- import BaseTableRow from './BaseTableRow.vue';
10
- import BaseTableCell from './BaseTableCell.vue';
11
4
  import { RouteLocationRaw } from 'vue-router';
12
- declare const checkboxStyle = "disabled:bg-slate-100 group-hover:shadow-md disabled:border-slate-300 disabled:cursor-not-allowed duration-300 cursor-pointer focus:ring-blue-300 border border-slate-300 shadow h-[18px] w-[18px] rounded";
13
- declare const currentSortColumn: import("vue").Ref<{
14
- id: string;
15
- label: string;
16
- tooltip?: string | undefined;
17
- field: string;
18
- meta: undefined | Record<string, any>;
19
- newKey: string;
20
- numeric: boolean;
21
- align: "left" | "center" | "right";
22
- searchable: boolean;
23
- sortable: boolean;
24
- ignoreRowInteractions: boolean;
25
- toggle: boolean;
26
- toggleDefault: boolean;
27
- width: number;
28
- class?: string | string[] | undefined;
29
- headerClass?: string | string[] | undefined;
30
- to?: ((row: Row) => RouteLocationRaw) | undefined;
31
- href?: ((row: Row) => string) | undefined;
32
- target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
33
- onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
34
- style: {
35
- width: undefined | number;
36
- maxWidth: undefined | number;
37
- minWidth: undefined | number;
38
- overflow: undefined | string;
39
- padding: undefined | string;
40
- };
41
- } | null, BaseTableColumnData | {
42
- id: string;
43
- label: string;
44
- tooltip?: string | undefined;
45
- field: string;
46
- meta: undefined | Record<string, any>;
47
- newKey: string;
48
- numeric: boolean;
49
- align: "left" | "center" | "right";
50
- searchable: boolean;
51
- sortable: boolean;
52
- ignoreRowInteractions: boolean;
53
- toggle: boolean;
54
- toggleDefault: boolean;
55
- width: number;
56
- class?: string | string[] | undefined;
57
- headerClass?: string | string[] | undefined;
58
- to?: ((row: Row) => RouteLocationRaw) | undefined;
59
- href?: ((row: Row) => string) | undefined;
60
- target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
61
- onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
62
- style: {
63
- width: undefined | number;
64
- maxWidth: undefined | number;
65
- minWidth: undefined | number;
66
- overflow: undefined | string;
67
- padding: undefined | string;
68
- };
69
- } | null>;
70
- declare const isAsc: import("vue").Ref<boolean, boolean>;
71
- declare const slot: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
72
- declare const newColumns: import("vue").ComputedRef<{
73
- id: string;
74
- label: string;
75
- tooltip?: string | undefined;
76
- field: string;
77
- meta: undefined | Record<string, any>;
78
- newKey: string;
79
- numeric: boolean;
80
- align: "left" | "center" | "right";
81
- searchable: boolean;
82
- sortable: boolean;
83
- ignoreRowInteractions: boolean;
84
- toggle: boolean;
85
- toggleDefault: boolean;
86
- width: number;
87
- class?: string | string[] | undefined;
88
- headerClass?: string | string[] | undefined;
89
- to?: ((row: Row) => RouteLocationRaw) | undefined;
90
- href?: ((row: Row) => string) | undefined;
91
- target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
92
- onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
93
- style: {
94
- width: undefined | number;
95
- maxWidth: undefined | number;
96
- minWidth: undefined | number;
97
- overflow: undefined | string;
98
- padding: undefined | string;
99
- };
100
- }[]>;
101
- declare const visibleColumnsInternal: import("vue").ComputedRef<{
102
- id: string;
103
- label: string;
104
- tooltip?: string | undefined;
105
- field: string;
106
- meta: undefined | Record<string, any>;
107
- newKey: string;
108
- numeric: boolean;
109
- align: "left" | "center" | "right";
110
- searchable: boolean;
111
- sortable: boolean;
112
- ignoreRowInteractions: boolean;
113
- toggle: boolean;
114
- toggleDefault: boolean;
115
- width: number;
116
- class?: string | string[] | undefined;
117
- headerClass?: string | string[] | undefined;
118
- to?: ((row: Row) => RouteLocationRaw) | undefined;
119
- href?: ((row: Row) => string) | undefined;
120
- target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
121
- onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
122
- style: {
123
- width: undefined | number;
124
- maxWidth: undefined | number;
125
- minWidth: undefined | number;
126
- overflow: undefined | string;
127
- padding: undefined | string;
128
- };
129
- }[]>;
130
- /**
131
- * Return total column count based if it's checkable or expanded
132
- */
133
- declare const columnCount: import("vue").ComputedRef<number>;
134
- /**
135
- * Return if detailed row tabled
136
- * will be with chevron column & icon or not
137
- */
138
- declare const showDetailRowIcon: import("vue").ComputedRef<boolean>;
139
- /**
140
- * Sort the column.
141
- * Toggle current direction on column if it's sortable
142
- * and not just updating the prop.
143
- */
144
- declare function sort(column: BaseTableColumnData, updatingData?: boolean, event?: null): void;
145
- /**
146
- * Check if the row is checked (is added to the array).
147
- */
148
- declare function isRowChecked(row: Row): boolean;
149
- /**
150
- * Check if all rows in the page are checkable.
151
- */
152
- declare const isAllUncheckable: import("vue").ComputedRef<boolean>;
153
- /**
154
- * Check if all rows in the page are checked.
155
- */
156
- declare const isAllChecked: import("vue").ComputedRef<boolean>;
157
- /**
158
- * Header checkbox click listener.
159
- * Add or remove all rows in current page.
160
- */
161
- declare function checkAll(): void;
162
5
  /**
163
6
  * Remove all rows in current page.
164
7
  */
165
8
  declare function uncheckAll(): void;
166
- /**
167
- * Row checkbox click listener.
168
- */
169
- declare function checkRow(row: Row, index: number, event: MouseEvent): void;
170
- /**
171
- * Toggle to show/hide details slot
172
- */
173
- declare function toggleDetails(row: Row): void;
174
- declare function isVisibleDetailRow(row: Row): boolean;
175
- declare function isActiveDetailRow(row: Row): boolean;
176
- declare function rowBindings(row: CollectionItem, index: number): {
177
- onClick: ((event: MouseEvent) => void | undefined) | undefined;
178
- };
179
- declare function onCellClick(row: CollectionItem, index: number, column: BaseTableColumnData, columnIndex: number): ((event: MouseEvent) => void) | undefined;
180
- declare function getRowKey(row: Row): string;
181
- declare const baseTableRef: import("vue").Ref<({
182
- $: import("vue").ComponentInternalInstance;
183
- $data: {};
184
- $props: {
185
- readonly size?: import("../services/table/types").CellSize | undefined;
186
- readonly fixedHeader?: boolean | undefined;
187
- readonly fixedColumn?: boolean | undefined;
188
- readonly grid?: boolean | undefined;
189
- readonly striped?: boolean | undefined;
190
- readonly flush?: boolean | undefined;
191
- readonly class?: import("tailwind-merge").ClassNameValue;
192
- readonly maxHeight?: number | undefined;
193
- readonly loading?: boolean | undefined;
194
- readonly virtualScrolling?: boolean | undefined;
195
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
196
- $attrs: {
197
- [x: string]: unknown;
198
- };
199
- $refs: {
200
- [x: string]: unknown;
201
- };
202
- $slots: Readonly<{
203
- [name: string]: import("vue").Slot<any> | undefined;
204
- }>;
205
- $root: import("vue").ComponentPublicInstance | null;
206
- $parent: import("vue").ComponentPublicInstance | null;
207
- $host: Element | null;
208
- $emit: (event: string, ...args: any[]) => void;
209
- $el: any;
210
- $options: import("vue").ComponentOptionsBase<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, {
211
- scrollTop: () => void;
212
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
213
- class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
214
- size: import("../services/table/types").CellSize;
215
- grid: boolean;
216
- loading: boolean;
217
- fixedHeader: boolean;
218
- fixedColumn: boolean;
219
- striped: boolean;
220
- flush: boolean;
221
- maxHeight: number;
222
- virtualScrolling: boolean;
223
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
224
- beforeCreate?: (() => void) | (() => void)[];
225
- created?: (() => void) | (() => void)[];
226
- beforeMount?: (() => void) | (() => void)[];
227
- mounted?: (() => void) | (() => void)[];
228
- beforeUpdate?: (() => void) | (() => void)[];
229
- updated?: (() => void) | (() => void)[];
230
- activated?: (() => void) | (() => void)[];
231
- deactivated?: (() => void) | (() => void)[];
232
- beforeDestroy?: (() => void) | (() => void)[];
233
- beforeUnmount?: (() => void) | (() => void)[];
234
- destroyed?: (() => void) | (() => void)[];
235
- unmounted?: (() => void) | (() => void)[];
236
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
237
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
238
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
239
- };
240
- $forceUpdate: () => void;
241
- $nextTick: typeof import("vue").nextTick;
242
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
243
- } & Readonly<{
244
- class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
245
- size: import("../services/table/types").CellSize;
246
- grid: boolean;
247
- loading: boolean;
248
- fixedHeader: boolean;
249
- fixedColumn: boolean;
250
- striped: boolean;
251
- flush: boolean;
252
- maxHeight: number;
253
- virtualScrolling: boolean;
254
- }> & Omit<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, ("class" | "size" | "grid" | "loading" | "fixedHeader" | "fixedColumn" | "striped" | "flush" | "maxHeight" | "virtualScrolling") | "scrollTop"> & import("vue").ShallowUnwrapRef<{
255
- scrollTop: () => void;
256
- }> & {} & import("vue").ComponentCustomProperties & {} & {
257
- $slots: {
258
- default?: ((props: {}) => any) | undefined;
259
- loading?: ((props: {}) => any) | undefined;
260
- };
261
- }) | null, ({
262
- $: import("vue").ComponentInternalInstance;
263
- $data: {};
264
- $props: {
265
- readonly size?: import("../services/table/types").CellSize | undefined;
266
- readonly fixedHeader?: boolean | undefined;
267
- readonly fixedColumn?: boolean | undefined;
268
- readonly grid?: boolean | undefined;
269
- readonly striped?: boolean | undefined;
270
- readonly flush?: boolean | undefined;
271
- readonly class?: import("tailwind-merge").ClassNameValue;
272
- readonly maxHeight?: number | undefined;
273
- readonly loading?: boolean | undefined;
274
- readonly virtualScrolling?: boolean | undefined;
275
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
276
- $attrs: {
277
- [x: string]: unknown;
278
- };
279
- $refs: {
280
- [x: string]: unknown;
281
- };
282
- $slots: Readonly<{
283
- [name: string]: import("vue").Slot<any> | undefined;
284
- }>;
285
- $root: import("vue").ComponentPublicInstance | null;
286
- $parent: import("vue").ComponentPublicInstance | null;
287
- $host: Element | null;
288
- $emit: (event: string, ...args: any[]) => void;
289
- $el: any;
290
- $options: import("vue").ComponentOptionsBase<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, {
291
- scrollTop: () => void;
292
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
293
- class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
294
- size: import("../services/table/types").CellSize;
295
- grid: boolean;
296
- loading: boolean;
297
- fixedHeader: boolean;
298
- fixedColumn: boolean;
299
- striped: boolean;
300
- flush: boolean;
301
- maxHeight: number;
302
- virtualScrolling: boolean;
303
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
304
- beforeCreate?: (() => void) | (() => void)[];
305
- created?: (() => void) | (() => void)[];
306
- beforeMount?: (() => void) | (() => void)[];
307
- mounted?: (() => void) | (() => void)[];
308
- beforeUpdate?: (() => void) | (() => void)[];
309
- updated?: (() => void) | (() => void)[];
310
- activated?: (() => void) | (() => void)[];
311
- deactivated?: (() => void) | (() => void)[];
312
- beforeDestroy?: (() => void) | (() => void)[];
313
- beforeUnmount?: (() => void) | (() => void)[];
314
- destroyed?: (() => void) | (() => void)[];
315
- unmounted?: (() => void) | (() => void)[];
316
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
317
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
318
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
319
- };
320
- $forceUpdate: () => void;
321
- $nextTick: typeof import("vue").nextTick;
322
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
323
- } & Readonly<{
324
- class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
325
- size: import("../services/table/types").CellSize;
326
- grid: boolean;
327
- loading: boolean;
328
- fixedHeader: boolean;
329
- fixedColumn: boolean;
330
- striped: boolean;
331
- flush: boolean;
332
- maxHeight: number;
333
- virtualScrolling: boolean;
334
- }> & Omit<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, ("class" | "size" | "grid" | "loading" | "fixedHeader" | "fixedColumn" | "striped" | "flush" | "maxHeight" | "virtualScrolling") | "scrollTop"> & import("vue").ShallowUnwrapRef<{
335
- scrollTop: () => void;
336
- }> & {} & import("vue").ComponentCustomProperties & {} & {
337
- $slots: {
338
- default?: ((props: {}) => any) | undefined;
339
- loading?: ((props: {}) => any) | undefined;
340
- };
341
- }) | null>;
342
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
343
9
  declare var __VLS_1: {}, __VLS_40: {
344
10
  row: Row;
345
11
  index: number;
346
12
  }, __VLS_48: {};
347
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
13
+ type __VLS_Slots = {} & {
348
14
  default?: (props: typeof __VLS_1) => any;
349
15
  } & {
350
16
  detail?: (props: typeof __VLS_40) => any;
351
17
  } & {
352
18
  empty?: (props: typeof __VLS_48) => any;
353
- }>;
354
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
355
- /** Table data */
356
- data: {
357
- type: PropType<Row[]>;
358
- default: () => never[];
359
- };
360
- /** Loading state */
361
- loading: {
362
- default: boolean;
363
- type: BooleanConstructor;
364
- };
365
- visibleColumns: {
366
- default: undefined;
367
- type: PropType<string[]>;
368
- };
369
- columnOrder: {
370
- default: undefined;
371
- type: PropType<string[]>;
372
- };
373
- /** Allow row details */
374
- detailed: {
375
- default: boolean;
376
- type: BooleanConstructor;
377
- };
378
- /** Rows can be checked (multiple) */
379
- checkable: {
380
- default: boolean;
381
- type: BooleanConstructor;
382
- };
383
- /** Custom method to verify if a row is checkable, works when is checkable */
384
- isRowCheckable: {
385
- type: FunctionConstructor;
386
- default: () => boolean;
387
- };
388
- /** Set which rows are checked, use v-model:checkedRows to make it two-way binding */
389
- checkedRows: {
390
- default: () => never[];
391
- type: PropType<Row[]>;
392
- };
393
- /** Sets the default sort column field */
394
- sortField: {
395
- type: StringConstructor;
396
- default: string;
397
- };
398
- /**
399
- * Sets the default sort column direction
400
- * @values asc, desc
401
- */
402
- sortDirection: {
403
- type: StringConstructor;
404
- default: string;
405
- };
406
- /** Controls the visibility of the trigger that toggles the detailed rows. */
407
- hasDetailedVisible: {
408
- type: FunctionConstructor;
409
- default: () => boolean;
410
- };
411
- maxHeight: {
412
- default: undefined;
413
- type: NumberConstructor;
414
- };
415
- size: {
416
- type: PropType<Size>;
417
- default: string;
418
- };
419
- rowTo: {
420
- default: undefined;
421
- type: PropType<((row: CollectionItem) => RouteLocationRaw) | undefined>;
422
- };
423
- rowHref: {
424
- default: undefined;
425
- type: PropType<((row: CollectionItem) => string) | undefined>;
426
- };
427
- onRowClick: {
428
- default: undefined;
429
- type: PropType<((row: CollectionItem, index: number, event: MouseEvent) => void) | undefined>;
430
- };
431
- rowKey: {
432
- default: undefined;
433
- type: PropType<((row: CollectionItem) => string | number) | undefined>;
434
- };
435
- rowSelected: {
436
- default: undefined;
437
- type: PropType<((row: CollectionItem) => boolean) | undefined>;
438
- };
439
- virtualScrolling: {
440
- default: boolean;
441
- type: BooleanConstructor;
442
- };
443
- }>, {
444
- SlotComponent: typeof SlotComponent;
445
- BaseTable: typeof BaseTable;
446
- BaseTableHead: typeof BaseTableHead;
447
- BaseTableHeader: typeof BaseTableHeader;
448
- BaseTableBody: typeof BaseTableBody;
449
- BaseTableRow: typeof BaseTableRow;
450
- BaseTableCell: typeof BaseTableCell;
451
- checkboxStyle: typeof checkboxStyle;
452
- currentSortColumn: typeof currentSortColumn;
453
- isAsc: typeof isAsc;
454
- slot: typeof slot;
455
- newColumns: typeof newColumns;
456
- visibleColumnsInternal: typeof visibleColumnsInternal;
457
- columnCount: typeof columnCount;
458
- showDetailRowIcon: typeof showDetailRowIcon;
459
- sort: typeof sort;
460
- isRowChecked: typeof isRowChecked;
461
- isAllUncheckable: typeof isAllUncheckable;
462
- isAllChecked: typeof isAllChecked;
463
- checkAll: typeof checkAll;
464
- checkRow: typeof checkRow;
465
- toggleDetails: typeof toggleDetails;
466
- isVisibleDetailRow: typeof isVisibleDetailRow;
467
- isActiveDetailRow: typeof isActiveDetailRow;
468
- rowBindings: typeof rowBindings;
469
- onCellClick: typeof onCellClick;
470
- getRowKey: typeof getRowKey;
471
- baseTableRef: typeof baseTableRef;
472
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
473
- sort: (...args: any[]) => void;
474
- check: (...args: any[]) => void;
475
- "check-all": (...args: any[]) => void;
476
- "update:checkedRows": (...args: any[]) => void;
477
- "details-open": (...args: any[]) => void;
478
- "details-close": (...args: any[]) => void;
479
- "update:openedDetailed": (...args: any[]) => void;
480
- "cell-click": (...args: any[]) => void;
481
- "row-click": (...args: any[]) => void;
482
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
483
- /** Table data */
484
- data: {
485
- type: PropType<Row[]>;
486
- default: () => never[];
487
- };
488
- /** Loading state */
489
- loading: {
490
- default: boolean;
491
- type: BooleanConstructor;
492
- };
493
- visibleColumns: {
494
- default: undefined;
495
- type: PropType<string[]>;
496
- };
497
- columnOrder: {
498
- default: undefined;
499
- type: PropType<string[]>;
500
- };
501
- /** Allow row details */
502
- detailed: {
503
- default: boolean;
504
- type: BooleanConstructor;
505
- };
506
- /** Rows can be checked (multiple) */
507
- checkable: {
508
- default: boolean;
509
- type: BooleanConstructor;
510
- };
511
- /** Custom method to verify if a row is checkable, works when is checkable */
512
- isRowCheckable: {
513
- type: FunctionConstructor;
514
- default: () => boolean;
515
- };
516
- /** Set which rows are checked, use v-model:checkedRows to make it two-way binding */
517
- checkedRows: {
518
- default: () => never[];
519
- type: PropType<Row[]>;
520
- };
521
- /** Sets the default sort column field */
522
- sortField: {
523
- type: StringConstructor;
524
- default: string;
525
- };
526
- /**
527
- * Sets the default sort column direction
528
- * @values asc, desc
529
- */
530
- sortDirection: {
531
- type: StringConstructor;
532
- default: string;
533
- };
534
- /** Controls the visibility of the trigger that toggles the detailed rows. */
535
- hasDetailedVisible: {
536
- type: FunctionConstructor;
537
- default: () => boolean;
538
- };
539
- maxHeight: {
540
- default: undefined;
541
- type: NumberConstructor;
542
- };
543
- size: {
544
- type: PropType<Size>;
545
- default: string;
546
- };
547
- rowTo: {
548
- default: undefined;
549
- type: PropType<((row: CollectionItem) => RouteLocationRaw) | undefined>;
550
- };
551
- rowHref: {
552
- default: undefined;
553
- type: PropType<((row: CollectionItem) => string) | undefined>;
554
- };
555
- onRowClick: {
556
- default: undefined;
557
- type: PropType<((row: CollectionItem, index: number, event: MouseEvent) => void) | undefined>;
558
- };
559
- rowKey: {
560
- default: undefined;
561
- type: PropType<((row: CollectionItem) => string | number) | undefined>;
562
- };
563
- rowSelected: {
564
- default: undefined;
565
- type: PropType<((row: CollectionItem) => boolean) | undefined>;
566
- };
567
- virtualScrolling: {
568
- default: boolean;
569
- type: BooleanConstructor;
570
- };
571
- }>> & Readonly<{
572
- onSort?: ((...args: any[]) => any) | undefined;
573
- onCheck?: ((...args: any[]) => any) | undefined;
574
- "onCheck-all"?: ((...args: any[]) => any) | undefined;
575
- "onUpdate:checkedRows"?: ((...args: any[]) => any) | undefined;
576
- "onDetails-open"?: ((...args: any[]) => any) | undefined;
577
- "onDetails-close"?: ((...args: any[]) => any) | undefined;
578
- "onUpdate:openedDetailed"?: ((...args: any[]) => any) | undefined;
579
- "onCell-click"?: ((...args: any[]) => any) | undefined;
580
- "onRow-click"?: ((...args: any[]) => any) | undefined;
581
- }>, {
582
- data: Row[];
583
- size: "xs" | "sm" | "md" | "lg" | "xl";
584
- loading: boolean;
585
- sortField: string;
586
- sortDirection: string;
587
- maxHeight: number;
588
- virtualScrolling: boolean;
589
- visibleColumns: string[];
590
- columnOrder: string[];
591
- detailed: boolean;
592
- checkable: boolean;
593
- isRowCheckable: Function;
594
- checkedRows: Row[];
595
- hasDetailedVisible: Function;
596
- rowTo: ((row: CollectionItem) => RouteLocationRaw) | undefined;
597
- rowHref: ((row: CollectionItem) => string) | undefined;
598
- onRowClick: ((row: CollectionItem, index: number, event: MouseEvent) => void) | undefined;
599
- rowKey: ((row: CollectionItem) => string | number) | undefined;
600
- rowSelected: ((row: CollectionItem) => boolean) | undefined;
601
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
+ };
602
20
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
603
21
  /** Table data */
604
22
  data: {
@@ -21,10 +21,10 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
21
21
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
22
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
23
  }>, {
24
- size: Size;
25
- required: boolean;
26
24
  mode: "single" | "multiple" | "range" | "time";
27
25
  inline: boolean;
26
+ size: Size;
27
+ required: boolean;
28
28
  disabled: boolean;
29
29
  name: string;
30
30
  modelValue: string | null | string[];
@@ -1,12 +1,7 @@
1
- import BaseCard from './BaseCard.vue';
2
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
3
1
  declare var __VLS_5: {};
4
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
2
+ type __VLS_Slots = {} & {
5
3
  default?: (props: typeof __VLS_5) => any;
6
- }>;
7
- declare const __VLS_self: import("vue").DefineComponent<{}, {
8
- BaseCard: typeof BaseCard;
9
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ };
10
5
  declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
6
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
7
  export default _default;
@@ -1,16 +1,9 @@
1
- declare const item: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
2
- declare const mobile: import("vue").ComputedRef<boolean>;
3
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
4
1
  declare var __VLS_1: {}, __VLS_3: {};
5
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
2
+ type __VLS_Slots = {} & {
6
3
  left?: (props: typeof __VLS_1) => any;
7
4
  } & {
8
5
  right?: (props: typeof __VLS_3) => any;
9
- }>;
10
- declare const __VLS_self: import("vue").DefineComponent<{}, {
11
- item: typeof item;
12
- mobile: typeof mobile;
13
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ };
14
7
  declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
8
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
9
  export default _default;