@katlux/toolkit 0.1.1-alpha.124 → 0.1.1-alpha.126
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/compiled/composables/useDataProvider.mjs +1 -53
- package/dist/module.json +1 -1
- package/dist/runtime/components/KAccordion/KAccordion.global.d.vue.ts +1 -1
- package/dist/runtime/components/KAccordion/KAccordion.global.vue.d.ts +1 -1
- package/dist/runtime/components/KBulkActions/KBulkActions.global.d.vue.ts +3 -1
- package/dist/runtime/components/KBulkActions/KBulkActions.global.vue +2 -0
- package/dist/runtime/components/KBulkActions/KBulkActions.global.vue.d.ts +3 -1
- package/dist/runtime/components/KBulkActions/KBulkActions.logic.d.ts +2 -0
- package/dist/runtime/components/KBulkActions/KBulkActions.logic.js +22 -1
- package/dist/runtime/components/KButton/KButton.logic.d.ts +2 -2
- package/dist/runtime/components/KButton/KButton.logic.js +5 -2
- package/dist/runtime/components/KCheckbox/KCheckbox.global.d.vue.ts +1 -1
- package/dist/runtime/components/KCheckbox/KCheckbox.global.vue.d.ts +1 -1
- package/dist/runtime/components/KCombobox/KCombobox.global.d.vue.ts +1 -1
- package/dist/runtime/components/KCombobox/KCombobox.global.vue.d.ts +1 -1
- package/dist/runtime/components/KCompositeInput/KCompositeInput.global.d.vue.ts +6 -6
- package/dist/runtime/components/KCompositeInput/KCompositeInput.global.vue.d.ts +6 -6
- package/dist/runtime/components/KCompositeInput/KCompositeInput.logic.d.ts +3 -3
- package/dist/runtime/components/KDatatable/KDataIterator.global.d.vue.ts +1 -1
- package/dist/runtime/components/KDatatable/KDataIterator.global.vue.d.ts +1 -1
- package/dist/runtime/components/KDatatable/KDataIterator.logic.js +3 -41
- package/dist/runtime/components/KDatatable/KDatatable.global.d.vue.ts +9 -1
- package/dist/runtime/components/KDatatable/KDatatable.global.vue +17 -1
- package/dist/runtime/components/KDatatable/KDatatable.global.vue.d.ts +9 -1
- package/dist/runtime/components/KDatatable/KDatatable.logic.d.ts +6 -0
- package/dist/runtime/components/KDatatable/KDatatable.logic.js +58 -54
- package/dist/runtime/components/KDatePicker/KDatePicker.global.d.vue.ts +3 -3
- package/dist/runtime/components/KDatePicker/KDatePicker.global.vue.d.ts +3 -3
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.d.vue.ts +1 -1
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.vue.d.ts +1 -1
- package/dist/runtime/components/KGantt/KGantt.logic.js +2 -4
- package/dist/runtime/components/KHourPicker/KHourPicker.global.d.vue.ts +1 -1
- package/dist/runtime/components/KHourPicker/KHourPicker.global.vue.d.ts +1 -1
- package/dist/runtime/components/KMaskTextbox/KMaskTextbox.global.d.vue.ts +1 -1
- package/dist/runtime/components/KMaskTextbox/KMaskTextbox.global.vue.d.ts +1 -1
- package/dist/runtime/components/KRadiobox/KRadiobox.global.d.vue.ts +1 -1
- package/dist/runtime/components/KRadiobox/KRadiobox.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTextarea/KTextarea.global.d.vue.ts +1 -1
- package/dist/runtime/components/KTextarea/KTextarea.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTextbox/KTextbox.global.d.vue.ts +2 -2
- package/dist/runtime/components/KTextbox/KTextbox.global.vue.d.ts +2 -2
- package/dist/runtime/components/KToast/KToast.global.d.vue.ts +1 -1
- package/dist/runtime/components/KToast/KToast.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTreePicker/KTreePicker.global.d.vue.ts +1 -1
- package/dist/runtime/components/KTreePicker/KTreePicker.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTreeView/KTreeView.global.d.vue.ts +1 -1
- package/dist/runtime/components/KTreeView/KTreeView.global.vue.d.ts +1 -1
- package/dist/runtime/composables/useDataProvider.d.ts +0 -4
- package/dist/runtime/composables/useDataProvider.js +1 -53
- package/dist/runtime/presets/default/components/KBulkActions/KBulkActions.d.vue.ts +1 -0
- package/dist/runtime/presets/default/components/KBulkActions/KBulkActions.vue +2 -1
- package/dist/runtime/presets/default/components/KBulkActions/KBulkActions.vue.d.ts +1 -0
- package/dist/runtime/presets/default/components/KButton/KButton.d.vue.ts +1 -1
- package/dist/runtime/presets/default/components/KButton/KButton.vue +2 -2
- package/dist/runtime/presets/default/components/KButton/KButton.vue.d.ts +1 -1
- package/dist/runtime/presets/default/components/KDatatable/KDatatable.d.vue.ts +8 -0
- package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue +96 -34
- package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue.d.ts +8 -0
- package/package.json +2 -2
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
template(#icon v-if="action.icon")
|
|
20
20
|
KIcon(:iconname="action.icon" :width="16" :height="16")
|
|
21
21
|
template(#default v-if="!action.iconOnly && !action.icon") {{action.label}}
|
|
22
|
-
.info {{ props.selectAll ? (props.filter?.active ? t('All filtered items selected') : t('All items selected')) : t('Selected {count} items').replace('{count}', props.selectedRows.length.toString()) }}
|
|
22
|
+
.info {{ props.selectAll ? (props.unselectedRows && props.unselectedRows.length > 0 ? (props.filter?.active ? t('All filtered items selected ({count} excluded)').replace('{count}', props.unselectedRows.length.toString()) : t('All items selected ({count} excluded)').replace('{count}', props.unselectedRows.length.toString())) : (props.filter?.active ? t('All filtered items selected') : t('All items selected'))) : t('Selected {count} items').replace('{count}', props.selectedRows.length.toString()) }}
|
|
23
23
|
</template>
|
|
24
24
|
|
|
25
25
|
<script setup lang="ts">
|
|
@@ -34,6 +34,7 @@ const props = defineProps<{
|
|
|
34
34
|
bulkActions: IKDatatableAction[]
|
|
35
35
|
selectedRows: any[]
|
|
36
36
|
selectAll: boolean
|
|
37
|
+
unselectedRows?: any[]
|
|
37
38
|
filter?: any
|
|
38
39
|
selected: any
|
|
39
40
|
dp: CFlatClientDataProvider
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template lang="pug">
|
|
2
|
-
NuxtLink.KButton(v-if="isLink" :to="href" @click
|
|
2
|
+
NuxtLink.KButton(v-if="isLink" :to="href" @click="onClick" :class="buttonClasses")
|
|
3
3
|
span.button-icon(v-if="$slots.icon")
|
|
4
4
|
slot(name="icon")
|
|
5
5
|
span.button-text(v-if="$slots.default")
|
|
@@ -19,7 +19,7 @@ defineProps<{
|
|
|
19
19
|
isLink: boolean
|
|
20
20
|
isDisabled: boolean
|
|
21
21
|
buttonClasses: any
|
|
22
|
-
onClick: () => void
|
|
22
|
+
onClick: (e?: MouseEvent) => void
|
|
23
23
|
href?: string
|
|
24
24
|
loading?: boolean
|
|
25
25
|
}>()
|
|
@@ -7,6 +7,8 @@ type __VLS_Props = {
|
|
|
7
7
|
bulkActions: Array<IKDatatableAction>;
|
|
8
8
|
selectedRows: any[];
|
|
9
9
|
selectAll: boolean;
|
|
10
|
+
selectAllScope?: 'page' | 'dataset';
|
|
11
|
+
unselectedRows?: any[];
|
|
10
12
|
currentPage?: number;
|
|
11
13
|
pageSize?: number;
|
|
12
14
|
cellSlots?: Record<string, any>;
|
|
@@ -25,16 +27,22 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
25
27
|
"update:pageSize": (value: number) => any;
|
|
26
28
|
"update:selectedRows": (value: any[]) => any;
|
|
27
29
|
"update:selectAll": (value: boolean) => any;
|
|
30
|
+
"update:unselectedRows": (value: any[]) => any;
|
|
31
|
+
"update:selectAllScope": (value: "page" | "dataset") => any;
|
|
28
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
33
|
"onUpdate:currentPage"?: ((value: number) => any) | undefined;
|
|
30
34
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
31
35
|
"onUpdate:selectedRows"?: ((value: any[]) => any) | undefined;
|
|
32
36
|
"onUpdate:selectAll"?: ((value: boolean) => any) | undefined;
|
|
37
|
+
"onUpdate:unselectedRows"?: ((value: any[]) => any) | undefined;
|
|
38
|
+
"onUpdate:selectAllScope"?: ((value: "page" | "dataset") => any) | undefined;
|
|
33
39
|
}>, {
|
|
40
|
+
unselectedRows: any[];
|
|
34
41
|
virtualScroll: boolean;
|
|
35
42
|
itemHeight: number;
|
|
36
43
|
buffer: number;
|
|
37
44
|
viewportHeight: number;
|
|
45
|
+
selectAllScope: "page" | "dataset";
|
|
38
46
|
emptyStateText: string;
|
|
39
47
|
emptyFilterStateText: string;
|
|
40
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
)
|
|
83
83
|
td(:colspan="totalColspan")
|
|
84
84
|
.footer(v-if="!props.virtualScroll")
|
|
85
|
-
KBulkActions.bulk-actions(v-if="props.bulkActions && props.bulkActions.length > 0" :bulkActions="props.bulkActions" :selectedRows="selectedRows" :selectAll="selectAll" :filter="props.dataProvider.filter")
|
|
85
|
+
KBulkActions.bulk-actions(v-if="props.bulkActions && props.bulkActions.length > 0" :bulkActions="props.bulkActions" :selectedRows="selectedRows" :selectAll="selectAll" :unselectedRows="unselectedRows" :filter="props.dataProvider.filter")
|
|
86
86
|
KPagination.pagination(:dataProvider="props.dataProvider" @update:currentPage="emit('update:currentPage', $event)" @update:pageSize="emit('update:pageSize', $event)")
|
|
87
87
|
.footer.virtual-footer(v-else-if="props.bulkActions && props.bulkActions.length > 0")
|
|
88
|
-
KBulkActions.bulk-actions(:bulkActions="props.bulkActions" :selectedRows="selectedRows" :selectAll="selectAll" :filter="props.dataProvider.filter")
|
|
88
|
+
KBulkActions.bulk-actions(:bulkActions="props.bulkActions" :selectedRows="selectedRows" :selectAll="selectAll" :unselectedRows="unselectedRows" :filter="props.dataProvider.filter")
|
|
89
89
|
</template>
|
|
90
90
|
|
|
91
91
|
<script setup lang="ts">
|
|
@@ -105,6 +105,8 @@ const props = withDefaults(defineProps<{
|
|
|
105
105
|
bulkActions: Array<IKDatatableAction>
|
|
106
106
|
selectedRows: any[]
|
|
107
107
|
selectAll: boolean
|
|
108
|
+
selectAllScope?: 'page' | 'dataset'
|
|
109
|
+
unselectedRows?: any[]
|
|
108
110
|
currentPage?: number
|
|
109
111
|
pageSize?: number
|
|
110
112
|
cellSlots?: Record<string, any>
|
|
@@ -118,6 +120,8 @@ const props = withDefaults(defineProps<{
|
|
|
118
120
|
viewportHeight?: number
|
|
119
121
|
buffer?: number
|
|
120
122
|
}>(), {
|
|
123
|
+
selectAllScope: undefined,
|
|
124
|
+
unselectedRows: () => [],
|
|
121
125
|
virtualScroll: false,
|
|
122
126
|
itemHeight: 40,
|
|
123
127
|
viewportHeight: 500,
|
|
@@ -129,6 +133,8 @@ const props = withDefaults(defineProps<{
|
|
|
129
133
|
const emit = defineEmits<{
|
|
130
134
|
(e: 'update:selectedRows', value: any[]): void
|
|
131
135
|
(e: 'update:selectAll', value: boolean): void
|
|
136
|
+
(e: 'update:unselectedRows', value: any[]): void
|
|
137
|
+
(e: 'update:selectAllScope', value: 'page' | 'dataset'): void
|
|
132
138
|
(e: 'update:currentPage', value: number): void
|
|
133
139
|
(e: 'update:pageSize', value: number): void
|
|
134
140
|
}>()
|
|
@@ -144,6 +150,21 @@ const selectAll = computed({
|
|
|
144
150
|
set: (val) => emit('update:selectAll', val)
|
|
145
151
|
})
|
|
146
152
|
|
|
153
|
+
const unselectedRows = computed({
|
|
154
|
+
get: () => props.unselectedRows || [],
|
|
155
|
+
set: (val) => emit('update:unselectedRows', val)
|
|
156
|
+
})
|
|
157
|
+
|
|
158
|
+
const effectiveSelectAllScope = computed<'page' | 'dataset'>(() => {
|
|
159
|
+
if (props.virtualScroll) {
|
|
160
|
+
if (props.selectAllScope === 'page') {
|
|
161
|
+
console.warn('[KDatatable] virtualScroll is enabled with selectAllScope="page". Overriding selectAllScope to "dataset" because page-scoped selection is incompatible with virtual scrolling.')
|
|
162
|
+
}
|
|
163
|
+
return 'dataset'
|
|
164
|
+
}
|
|
165
|
+
return props.selectAllScope || 'page'
|
|
166
|
+
})
|
|
167
|
+
|
|
147
168
|
const rowIdKey = computed(() => (props.dataProvider as any)?.idKey || 'id')
|
|
148
169
|
|
|
149
170
|
const getRowKey = (row: any, index: number): string | number => {
|
|
@@ -171,15 +192,28 @@ const selectedRowIds = computed(() => {
|
|
|
171
192
|
return set
|
|
172
193
|
})
|
|
173
194
|
|
|
195
|
+
const unselectedRowIds = computed(() => {
|
|
196
|
+
const idKey = (props.dataProvider as any)?.idKey || 'id'
|
|
197
|
+
const set = new Set<any>()
|
|
198
|
+
for (const r of unselectedRows.value || []) {
|
|
199
|
+
const id = r?.[idKey] ?? r?.id ?? r?._id ?? r
|
|
200
|
+
set.add(id)
|
|
201
|
+
set.add(r)
|
|
202
|
+
}
|
|
203
|
+
return set
|
|
204
|
+
})
|
|
205
|
+
|
|
174
206
|
const isRowSelected = (row: any) => {
|
|
175
|
-
if (selectAll.value) return true
|
|
176
207
|
const idKey = (props.dataProvider as any)?.idKey || 'id'
|
|
177
208
|
const rowId = row?.[idKey] ?? row?.id ?? row?._id ?? row
|
|
209
|
+
if (effectiveSelectAllScope.value === 'dataset' && selectAll.value) {
|
|
210
|
+
return !unselectedRowIds.value.has(rowId) && !unselectedRowIds.value.has(row)
|
|
211
|
+
}
|
|
178
212
|
return selectedRowIds.value.has(rowId) || selectedRowIds.value.has(row)
|
|
179
213
|
}
|
|
180
214
|
|
|
181
|
-
const
|
|
182
|
-
if (
|
|
215
|
+
const pageSelectedCount = computed(() => {
|
|
216
|
+
if (!datatableItems.value || datatableItems.value.length === 0) return 0
|
|
183
217
|
let count = 0
|
|
184
218
|
const ids = selectedRowIds.value
|
|
185
219
|
const idKey = (props.dataProvider as any)?.idKey || 'id'
|
|
@@ -193,61 +227,89 @@ const selectedCount = computed(() => {
|
|
|
193
227
|
const isAllSelected = computed(() => {
|
|
194
228
|
const total = datatableItems.value.length
|
|
195
229
|
if (total === 0) return false
|
|
196
|
-
if (
|
|
197
|
-
|
|
230
|
+
if (effectiveSelectAllScope.value === 'dataset') {
|
|
231
|
+
return selectAll.value === true && unselectedRows.value.length === 0
|
|
232
|
+
}
|
|
233
|
+
return pageSelectedCount.value === total
|
|
198
234
|
})
|
|
199
235
|
|
|
200
236
|
const isIndeterminate = computed(() => {
|
|
201
237
|
const total = datatableItems.value.length
|
|
202
238
|
if (total === 0) return false
|
|
203
|
-
if (
|
|
204
|
-
|
|
239
|
+
if (effectiveSelectAllScope.value === 'dataset') {
|
|
240
|
+
if (selectAll.value === true) {
|
|
241
|
+
return unselectedRows.value.length > 0
|
|
242
|
+
}
|
|
243
|
+
return (selectedRows.value && selectedRows.value.length > 0)
|
|
244
|
+
}
|
|
245
|
+
return pageSelectedCount.value > 0 && pageSelectedCount.value < total
|
|
205
246
|
})
|
|
206
247
|
|
|
207
248
|
const handleSelectAll = () => {
|
|
208
249
|
const total = datatableItems.value.length
|
|
209
250
|
if (total === 0) return
|
|
210
251
|
|
|
211
|
-
if (
|
|
212
|
-
|
|
213
|
-
selectedRows.value = []
|
|
214
|
-
} else {
|
|
215
|
-
const isFiltered = !!((dpFilter as any)?.active || (dpFilter as any)?.value?.active || (props.dataProvider as any)?.filter?.active || (props.dataProvider as any)?.filter?.value?.active)
|
|
216
|
-
if (isFiltered) {
|
|
252
|
+
if (effectiveSelectAllScope.value === 'dataset') {
|
|
253
|
+
if (isAllSelected.value) {
|
|
217
254
|
selectAll.value = false
|
|
218
|
-
|
|
255
|
+
unselectedRows.value = []
|
|
256
|
+
selectedRows.value = []
|
|
219
257
|
} else {
|
|
220
258
|
selectAll.value = true
|
|
221
|
-
|
|
259
|
+
unselectedRows.value = []
|
|
260
|
+
selectedRows.value = []
|
|
222
261
|
}
|
|
262
|
+
return
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// page scope: retain selections from other pages
|
|
266
|
+
const idKey = (props.dataProvider as any)?.idKey || 'id'
|
|
267
|
+
if (isAllSelected.value) {
|
|
268
|
+
const pageIdSet = new Set(datatableItems.value.map((r: any) => r?.[idKey] ?? r?.id ?? r?._id ?? r))
|
|
269
|
+
selectedRows.value = (selectedRows.value || []).filter((r: any) => {
|
|
270
|
+
const id = r?.[idKey] ?? r?.id ?? r?._id ?? r
|
|
271
|
+
return !pageIdSet.has(id) && !pageIdSet.has(r)
|
|
272
|
+
})
|
|
273
|
+
unselectedRows.value = []
|
|
274
|
+
selectAll.value = false
|
|
275
|
+
} else {
|
|
276
|
+
const existingIds = selectedRowIds.value
|
|
277
|
+
const toAdd = datatableItems.value.filter((r: any) => {
|
|
278
|
+
const id = r?.[idKey] ?? r?.id ?? r?._id ?? r
|
|
279
|
+
return !existingIds.has(id) && !existingIds.has(r)
|
|
280
|
+
})
|
|
281
|
+
selectedRows.value = [...(selectedRows.value || []), ...toAdd]
|
|
282
|
+
unselectedRows.value = []
|
|
283
|
+
selectAll.value = false
|
|
223
284
|
}
|
|
224
285
|
}
|
|
225
286
|
|
|
226
287
|
const toggleRow = (row: any) => {
|
|
227
288
|
const idKey = (props.dataProvider as any)?.idKey || 'id'
|
|
228
289
|
const rowId = row?.[idKey] ?? row?.id ?? row?._id ?? row
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
const
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
return rId !== rowId && r !== row
|
|
235
|
-
})
|
|
236
|
-
} else {
|
|
237
|
-
const isSelected = isRowSelected(row)
|
|
238
|
-
if (isSelected) {
|
|
239
|
-
const next = (selectedRows.value || []).filter((r: any) => {
|
|
290
|
+
|
|
291
|
+
if (effectiveSelectAllScope.value === 'dataset' && selectAll.value) {
|
|
292
|
+
const isCurrentlyExcluded = unselectedRowIds.value.has(rowId) || unselectedRowIds.value.has(row)
|
|
293
|
+
if (isCurrentlyExcluded) {
|
|
294
|
+
unselectedRows.value = (unselectedRows.value || []).filter((r: any) => {
|
|
240
295
|
const rId = r?.[idKey] ?? r?.id ?? r?._id ?? r
|
|
241
296
|
return rId !== rowId && r !== row
|
|
242
297
|
})
|
|
243
|
-
selectedRows.value = next
|
|
244
298
|
} else {
|
|
245
|
-
|
|
246
|
-
selectedRows.value = next
|
|
247
|
-
if (next.length === datatableItems.value.length && datatableItems.value.length > 0) {
|
|
248
|
-
selectAll.value = true
|
|
249
|
-
}
|
|
299
|
+
unselectedRows.value = [...(unselectedRows.value || []), row]
|
|
250
300
|
}
|
|
301
|
+
return
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
const isSelected = isRowSelected(row)
|
|
305
|
+
if (isSelected) {
|
|
306
|
+
const next = (selectedRows.value || []).filter((r: any) => {
|
|
307
|
+
const rId = r?.[idKey] ?? r?.id ?? r?._id ?? r
|
|
308
|
+
return rId !== rowId && r !== row
|
|
309
|
+
})
|
|
310
|
+
selectedRows.value = next
|
|
311
|
+
} else {
|
|
312
|
+
selectedRows.value = [...(selectedRows.value || []), row]
|
|
251
313
|
}
|
|
252
314
|
}
|
|
253
315
|
|
|
@@ -7,6 +7,8 @@ type __VLS_Props = {
|
|
|
7
7
|
bulkActions: Array<IKDatatableAction>;
|
|
8
8
|
selectedRows: any[];
|
|
9
9
|
selectAll: boolean;
|
|
10
|
+
selectAllScope?: 'page' | 'dataset';
|
|
11
|
+
unselectedRows?: any[];
|
|
10
12
|
currentPage?: number;
|
|
11
13
|
pageSize?: number;
|
|
12
14
|
cellSlots?: Record<string, any>;
|
|
@@ -25,16 +27,22 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
25
27
|
"update:pageSize": (value: number) => any;
|
|
26
28
|
"update:selectedRows": (value: any[]) => any;
|
|
27
29
|
"update:selectAll": (value: boolean) => any;
|
|
30
|
+
"update:unselectedRows": (value: any[]) => any;
|
|
31
|
+
"update:selectAllScope": (value: "page" | "dataset") => any;
|
|
28
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
33
|
"onUpdate:currentPage"?: ((value: number) => any) | undefined;
|
|
30
34
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
31
35
|
"onUpdate:selectedRows"?: ((value: any[]) => any) | undefined;
|
|
32
36
|
"onUpdate:selectAll"?: ((value: boolean) => any) | undefined;
|
|
37
|
+
"onUpdate:unselectedRows"?: ((value: any[]) => any) | undefined;
|
|
38
|
+
"onUpdate:selectAllScope"?: ((value: "page" | "dataset") => any) | undefined;
|
|
33
39
|
}>, {
|
|
40
|
+
unselectedRows: any[];
|
|
34
41
|
virtualScroll: boolean;
|
|
35
42
|
itemHeight: number;
|
|
36
43
|
buffer: number;
|
|
37
44
|
viewportHeight: number;
|
|
45
|
+
selectAllScope: "page" | "dataset";
|
|
38
46
|
emptyStateText: string;
|
|
39
47
|
emptyFilterStateText: string;
|
|
40
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@katlux/toolkit",
|
|
3
|
-
"version": "0.1.1-alpha.
|
|
3
|
+
"version": "0.1.1-alpha.126",
|
|
4
4
|
"description": "Core UI toolkit and utilities for the Katlux ecosystem",
|
|
5
5
|
"author": "Katlux",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"**/*.sass"
|
|
55
55
|
],
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@katlux/providers": "^0.1.1-alpha.
|
|
57
|
+
"@katlux/providers": "^0.1.1-alpha.114",
|
|
58
58
|
"@nuxt/kit": "^3.12.0",
|
|
59
59
|
"@nuxtjs/i18n": "^10.4.0",
|
|
60
60
|
"pug": "^3.0.0",
|