@dolusoft/vue3-datatable 1.8.6 → 1.8.7
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/vue3-datatable.cjs +84 -24
- package/dist/vue3-datatable.js +85 -25
- package/package.json +1 -1
package/dist/vue3-datatable.cjs
CHANGED
|
@@ -2970,14 +2970,16 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2970
2970
|
"isOpenFilter",
|
|
2971
2971
|
"isFooter",
|
|
2972
2972
|
"checkAll",
|
|
2973
|
-
"columnFilterLang"
|
|
2973
|
+
"columnFilterLang",
|
|
2974
|
+
"hasFilterDatetimeSlot"
|
|
2974
2975
|
],
|
|
2975
2976
|
emits: [
|
|
2976
2977
|
"selectAll",
|
|
2977
2978
|
"sortChange",
|
|
2978
2979
|
"filterChange",
|
|
2979
2980
|
"toggleFilterMenu",
|
|
2980
|
-
"clearColumnFilter"
|
|
2981
|
+
"clearColumnFilter",
|
|
2982
|
+
"filterDatetimeUpdate"
|
|
2981
2983
|
],
|
|
2982
2984
|
setup(__props, { emit: __emit }) {
|
|
2983
2985
|
const selectedAll = vue.ref(null);
|
|
@@ -3220,14 +3222,24 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3220
3222
|
void 0,
|
|
3221
3223
|
{ number: true }
|
|
3222
3224
|
]
|
|
3223
|
-
]) : col.type === "date" || col.type === "DateTime" ?
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3225
|
+
]) : col.type === "date" || col.type === "DateTime" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
3226
|
+
props.hasFilterDatetimeSlot ? vue.renderSlot(_ctx.$slots, "filter-datetime", {
|
|
3227
|
+
key: 0,
|
|
3228
|
+
column: col,
|
|
3229
|
+
value: filterInputs.value[col.field],
|
|
3230
|
+
updateValue: (val) => {
|
|
3231
|
+
filterInputs.value[col.field] = val;
|
|
3232
|
+
emit("filterDatetimeUpdate", col.field, val);
|
|
3233
|
+
}
|
|
3234
|
+
}) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
3235
|
+
key: 1,
|
|
3236
|
+
"onUpdate:modelValue": ($event) => filterInputs.value[col.field] = $event,
|
|
3237
|
+
type: "date",
|
|
3238
|
+
class: "bh-form-control"
|
|
3239
|
+
}, null, 8, _hoisted_8$1)), [
|
|
3240
|
+
[vue.vModelText, filterInputs.value[col.field]]
|
|
3241
|
+
])
|
|
3242
|
+
], 64)) : col.type === "bool" ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("select", {
|
|
3231
3243
|
key: 3,
|
|
3232
3244
|
"onUpdate:modelValue": ($event) => filterInputs.value[col.field] = $event,
|
|
3233
3245
|
class: "bh-form-control",
|
|
@@ -3268,16 +3280,27 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3268
3280
|
void 0,
|
|
3269
3281
|
{ number: true }
|
|
3270
3282
|
]
|
|
3271
|
-
]) : col.type === "date" || col.type === "DateTime" ?
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3283
|
+
]) : col.type === "date" || col.type === "DateTime" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
|
|
3284
|
+
props.hasFilterDatetimeSlot ? vue.renderSlot(_ctx.$slots, "filter-datetime", {
|
|
3285
|
+
key: 0,
|
|
3286
|
+
column: col,
|
|
3287
|
+
value: filterInputs.value[col.field],
|
|
3288
|
+
updateValue: (val) => {
|
|
3289
|
+
filterInputs.value[col.field] = val;
|
|
3290
|
+
emit("filterDatetimeUpdate", col.field, val);
|
|
3291
|
+
},
|
|
3292
|
+
hasLabel: hasConditionSet(col) && props.all.useNewColumnFilter
|
|
3293
|
+
}) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
3294
|
+
key: 1,
|
|
3295
|
+
"onUpdate:modelValue": ($event) => filterInputs.value[col.field] = $event,
|
|
3296
|
+
type: "date",
|
|
3297
|
+
class: vue.normalizeClass(["bh-form-control", {
|
|
3298
|
+
"bh-form-control--with-label": hasConditionSet(col) && props.all.useNewColumnFilter
|
|
3299
|
+
}])
|
|
3300
|
+
}, null, 10, _hoisted_17$1)), [
|
|
3301
|
+
[vue.vModelText, filterInputs.value[col.field]]
|
|
3302
|
+
])
|
|
3303
|
+
], 64)) : col.type === "bool" ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("select", {
|
|
3281
3304
|
key: 4,
|
|
3282
3305
|
"onUpdate:modelValue": ($event) => filterInputs.value[col.field] = $event,
|
|
3283
3306
|
class: "bh-form-control",
|
|
@@ -3579,6 +3602,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
3579
3602
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
3580
3603
|
var _a, _b;
|
|
3581
3604
|
const slots = vue.useSlots();
|
|
3605
|
+
const hasFilterDatetimeSlot = vue.computed(() => !!slots["filter-datetime"]);
|
|
3582
3606
|
const props = __props;
|
|
3583
3607
|
for (const item of props.columns || []) {
|
|
3584
3608
|
const type = ((_a = item.type) == null ? void 0 : _a.toLowerCase()) || "string";
|
|
@@ -4387,12 +4411,21 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4387
4411
|
isOpenFilter: isOpenFilter.value,
|
|
4388
4412
|
checkAll: selectedAll.value,
|
|
4389
4413
|
columnFilterLang: props.columnFilterLang,
|
|
4414
|
+
hasFilterDatetimeSlot: hasFilterDatetimeSlot.value,
|
|
4390
4415
|
onSelectAll: selectAll,
|
|
4391
4416
|
onSortChange: sortChange,
|
|
4392
4417
|
onFilterChange: filterChange,
|
|
4393
4418
|
onToggleFilterMenu: toggleFilterMenu,
|
|
4394
4419
|
onClearColumnFilter: clearColumnFilter
|
|
4395
|
-
},
|
|
4420
|
+
}, vue.createSlots({ _: 2 }, [
|
|
4421
|
+
hasFilterDatetimeSlot.value ? {
|
|
4422
|
+
name: "filter-datetime",
|
|
4423
|
+
fn: vue.withCtx((slotProps) => [
|
|
4424
|
+
vue.renderSlot(_ctx.$slots, "filter-datetime", vue.normalizeProps(vue.guardReactiveProps(slotProps)))
|
|
4425
|
+
]),
|
|
4426
|
+
key: "0"
|
|
4427
|
+
} : void 0
|
|
4428
|
+
]), 1032, ["expandedrows", "currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll", "columnFilterLang", "hasFilterDatetimeSlot"])
|
|
4396
4429
|
], 2),
|
|
4397
4430
|
vue.createElementVNode("tbody", null, [
|
|
4398
4431
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filterItems.value, (item, i) => {
|
|
@@ -4560,11 +4593,20 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4560
4593
|
isOpenFilter: isOpenFilter.value,
|
|
4561
4594
|
isFooter: true,
|
|
4562
4595
|
checkAll: selectedAll.value,
|
|
4596
|
+
hasFilterDatetimeSlot: hasFilterDatetimeSlot.value,
|
|
4563
4597
|
onSelectAll: selectAll,
|
|
4564
4598
|
onSortChange: sortChange,
|
|
4565
4599
|
onFilterChange: filterChange,
|
|
4566
4600
|
onToggleFilterMenu: toggleFilterMenu
|
|
4567
|
-
},
|
|
4601
|
+
}, vue.createSlots({ _: 2 }, [
|
|
4602
|
+
hasFilterDatetimeSlot.value ? {
|
|
4603
|
+
name: "filter-datetime",
|
|
4604
|
+
fn: vue.withCtx((slotProps) => [
|
|
4605
|
+
vue.renderSlot(_ctx.$slots, "filter-datetime", vue.normalizeProps(vue.guardReactiveProps(slotProps)))
|
|
4606
|
+
]),
|
|
4607
|
+
key: "0"
|
|
4608
|
+
} : void 0
|
|
4609
|
+
]), 1032, ["currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll", "hasFilterDatetimeSlot"])
|
|
4568
4610
|
], 2)) : vue.createCommentVNode("", true)
|
|
4569
4611
|
], 2),
|
|
4570
4612
|
currentLoader.value && _ctx.enableloadinganimation ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -4635,12 +4677,21 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4635
4677
|
isOpenFilter: isOpenFilter.value,
|
|
4636
4678
|
checkAll: selectedAll.value,
|
|
4637
4679
|
columnFilterLang: props.columnFilterLang,
|
|
4680
|
+
hasFilterDatetimeSlot: hasFilterDatetimeSlot.value,
|
|
4638
4681
|
onSelectAll: selectAll,
|
|
4639
4682
|
onSortChange: sortChange,
|
|
4640
4683
|
onFilterChange: filterChange,
|
|
4641
4684
|
onToggleFilterMenu: toggleFilterMenu,
|
|
4642
4685
|
onClearColumnFilter: clearColumnFilter
|
|
4643
|
-
},
|
|
4686
|
+
}, vue.createSlots({ _: 2 }, [
|
|
4687
|
+
hasFilterDatetimeSlot.value ? {
|
|
4688
|
+
name: "filter-datetime",
|
|
4689
|
+
fn: vue.withCtx((slotProps) => [
|
|
4690
|
+
vue.renderSlot(_ctx.$slots, "filter-datetime", vue.normalizeProps(vue.guardReactiveProps(slotProps)))
|
|
4691
|
+
]),
|
|
4692
|
+
key: "0"
|
|
4693
|
+
} : void 0
|
|
4694
|
+
]), 1032, ["expandedrows", "currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll", "columnFilterLang", "hasFilterDatetimeSlot"])
|
|
4644
4695
|
], 2),
|
|
4645
4696
|
vue.createElementVNode("tbody", null, [
|
|
4646
4697
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filterItems.value, (item, i) => {
|
|
@@ -4817,11 +4868,20 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4817
4868
|
isOpenFilter: isOpenFilter.value,
|
|
4818
4869
|
isFooter: true,
|
|
4819
4870
|
checkAll: selectedAll.value,
|
|
4871
|
+
hasFilterDatetimeSlot: hasFilterDatetimeSlot.value,
|
|
4820
4872
|
onSelectAll: selectAll,
|
|
4821
4873
|
onSortChange: sortChange,
|
|
4822
4874
|
onFilterChange: filterChange,
|
|
4823
4875
|
onToggleFilterMenu: toggleFilterMenu
|
|
4824
|
-
},
|
|
4876
|
+
}, vue.createSlots({ _: 2 }, [
|
|
4877
|
+
hasFilterDatetimeSlot.value ? {
|
|
4878
|
+
name: "filter-datetime",
|
|
4879
|
+
fn: vue.withCtx((slotProps) => [
|
|
4880
|
+
vue.renderSlot(_ctx.$slots, "filter-datetime", vue.normalizeProps(vue.guardReactiveProps(slotProps)))
|
|
4881
|
+
]),
|
|
4882
|
+
key: "0"
|
|
4883
|
+
} : void 0
|
|
4884
|
+
]), 1032, ["currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll", "hasFilterDatetimeSlot"])
|
|
4825
4885
|
], 2)) : vue.createCommentVNode("", true)
|
|
4826
4886
|
], 2),
|
|
4827
4887
|
currentLoader.value && _ctx.enableloadinganimation ? (vue.openBlock(), vue.createElementBlock("div", {
|
package/dist/vue3-datatable.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isRef, onMounted, nextTick, getCurrentScope, onScopeDispose, unref, getCurrentInstance, watch, computed, ref, useSlots, onBeforeUnmount, provide, openBlock, createBlock, resolveDynamicComponent, inject, createElementBlock, normalizeStyle, renderSlot, h, defineComponent, toRef, Fragment, withModifiers, createVNode, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, withDirectives, renderList, vModelSelect, resolveComponent, createTextVNode, vModelText, vShow, withCtx, onUnmounted, vModelCheckbox } from "vue";
|
|
1
|
+
import { isRef, onMounted, nextTick, getCurrentScope, onScopeDispose, unref, getCurrentInstance, watch, computed, ref, useSlots, onBeforeUnmount, provide, openBlock, createBlock, resolveDynamicComponent, inject, createElementBlock, normalizeStyle, renderSlot, h, defineComponent, toRef, Fragment, withModifiers, createVNode, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, withDirectives, renderList, vModelSelect, resolveComponent, createTextVNode, vModelText, vShow, withCtx, onUnmounted, createSlots, normalizeProps, guardReactiveProps, vModelCheckbox } from "vue";
|
|
2
2
|
function tryOnScopeDispose(fn) {
|
|
3
3
|
if (getCurrentScope()) {
|
|
4
4
|
onScopeDispose(fn);
|
|
@@ -2969,14 +2969,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
2969
2969
|
"isOpenFilter",
|
|
2970
2970
|
"isFooter",
|
|
2971
2971
|
"checkAll",
|
|
2972
|
-
"columnFilterLang"
|
|
2972
|
+
"columnFilterLang",
|
|
2973
|
+
"hasFilterDatetimeSlot"
|
|
2973
2974
|
],
|
|
2974
2975
|
emits: [
|
|
2975
2976
|
"selectAll",
|
|
2976
2977
|
"sortChange",
|
|
2977
2978
|
"filterChange",
|
|
2978
2979
|
"toggleFilterMenu",
|
|
2979
|
-
"clearColumnFilter"
|
|
2980
|
+
"clearColumnFilter",
|
|
2981
|
+
"filterDatetimeUpdate"
|
|
2980
2982
|
],
|
|
2981
2983
|
setup(__props, { emit: __emit }) {
|
|
2982
2984
|
const selectedAll = ref(null);
|
|
@@ -3219,14 +3221,24 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3219
3221
|
void 0,
|
|
3220
3222
|
{ number: true }
|
|
3221
3223
|
]
|
|
3222
|
-
]) : col.type === "date" || col.type === "DateTime" ?
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3224
|
+
]) : col.type === "date" || col.type === "DateTime" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
3225
|
+
props.hasFilterDatetimeSlot ? renderSlot(_ctx.$slots, "filter-datetime", {
|
|
3226
|
+
key: 0,
|
|
3227
|
+
column: col,
|
|
3228
|
+
value: filterInputs.value[col.field],
|
|
3229
|
+
updateValue: (val) => {
|
|
3230
|
+
filterInputs.value[col.field] = val;
|
|
3231
|
+
emit("filterDatetimeUpdate", col.field, val);
|
|
3232
|
+
}
|
|
3233
|
+
}) : withDirectives((openBlock(), createElementBlock("input", {
|
|
3234
|
+
key: 1,
|
|
3235
|
+
"onUpdate:modelValue": ($event) => filterInputs.value[col.field] = $event,
|
|
3236
|
+
type: "date",
|
|
3237
|
+
class: "bh-form-control"
|
|
3238
|
+
}, null, 8, _hoisted_8$1)), [
|
|
3239
|
+
[vModelText, filterInputs.value[col.field]]
|
|
3240
|
+
])
|
|
3241
|
+
], 64)) : col.type === "bool" ? withDirectives((openBlock(), createElementBlock("select", {
|
|
3230
3242
|
key: 3,
|
|
3231
3243
|
"onUpdate:modelValue": ($event) => filterInputs.value[col.field] = $event,
|
|
3232
3244
|
class: "bh-form-control",
|
|
@@ -3267,16 +3279,27 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3267
3279
|
void 0,
|
|
3268
3280
|
{ number: true }
|
|
3269
3281
|
]
|
|
3270
|
-
]) : col.type === "date" || col.type === "DateTime" ?
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3282
|
+
]) : col.type === "date" || col.type === "DateTime" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
3283
|
+
props.hasFilterDatetimeSlot ? renderSlot(_ctx.$slots, "filter-datetime", {
|
|
3284
|
+
key: 0,
|
|
3285
|
+
column: col,
|
|
3286
|
+
value: filterInputs.value[col.field],
|
|
3287
|
+
updateValue: (val) => {
|
|
3288
|
+
filterInputs.value[col.field] = val;
|
|
3289
|
+
emit("filterDatetimeUpdate", col.field, val);
|
|
3290
|
+
},
|
|
3291
|
+
hasLabel: hasConditionSet(col) && props.all.useNewColumnFilter
|
|
3292
|
+
}) : withDirectives((openBlock(), createElementBlock("input", {
|
|
3293
|
+
key: 1,
|
|
3294
|
+
"onUpdate:modelValue": ($event) => filterInputs.value[col.field] = $event,
|
|
3295
|
+
type: "date",
|
|
3296
|
+
class: normalizeClass(["bh-form-control", {
|
|
3297
|
+
"bh-form-control--with-label": hasConditionSet(col) && props.all.useNewColumnFilter
|
|
3298
|
+
}])
|
|
3299
|
+
}, null, 10, _hoisted_17$1)), [
|
|
3300
|
+
[vModelText, filterInputs.value[col.field]]
|
|
3301
|
+
])
|
|
3302
|
+
], 64)) : col.type === "bool" ? withDirectives((openBlock(), createElementBlock("select", {
|
|
3280
3303
|
key: 4,
|
|
3281
3304
|
"onUpdate:modelValue": ($event) => filterInputs.value[col.field] = $event,
|
|
3282
3305
|
class: "bh-form-control",
|
|
@@ -3578,6 +3601,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3578
3601
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
3579
3602
|
var _a, _b;
|
|
3580
3603
|
const slots = useSlots();
|
|
3604
|
+
const hasFilterDatetimeSlot = computed(() => !!slots["filter-datetime"]);
|
|
3581
3605
|
const props = __props;
|
|
3582
3606
|
for (const item of props.columns || []) {
|
|
3583
3607
|
const type = ((_a = item.type) == null ? void 0 : _a.toLowerCase()) || "string";
|
|
@@ -4386,12 +4410,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4386
4410
|
isOpenFilter: isOpenFilter.value,
|
|
4387
4411
|
checkAll: selectedAll.value,
|
|
4388
4412
|
columnFilterLang: props.columnFilterLang,
|
|
4413
|
+
hasFilterDatetimeSlot: hasFilterDatetimeSlot.value,
|
|
4389
4414
|
onSelectAll: selectAll,
|
|
4390
4415
|
onSortChange: sortChange,
|
|
4391
4416
|
onFilterChange: filterChange,
|
|
4392
4417
|
onToggleFilterMenu: toggleFilterMenu,
|
|
4393
4418
|
onClearColumnFilter: clearColumnFilter
|
|
4394
|
-
},
|
|
4419
|
+
}, createSlots({ _: 2 }, [
|
|
4420
|
+
hasFilterDatetimeSlot.value ? {
|
|
4421
|
+
name: "filter-datetime",
|
|
4422
|
+
fn: withCtx((slotProps) => [
|
|
4423
|
+
renderSlot(_ctx.$slots, "filter-datetime", normalizeProps(guardReactiveProps(slotProps)))
|
|
4424
|
+
]),
|
|
4425
|
+
key: "0"
|
|
4426
|
+
} : void 0
|
|
4427
|
+
]), 1032, ["expandedrows", "currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll", "columnFilterLang", "hasFilterDatetimeSlot"])
|
|
4395
4428
|
], 2),
|
|
4396
4429
|
createElementVNode("tbody", null, [
|
|
4397
4430
|
(openBlock(true), createElementBlock(Fragment, null, renderList(filterItems.value, (item, i) => {
|
|
@@ -4559,11 +4592,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4559
4592
|
isOpenFilter: isOpenFilter.value,
|
|
4560
4593
|
isFooter: true,
|
|
4561
4594
|
checkAll: selectedAll.value,
|
|
4595
|
+
hasFilterDatetimeSlot: hasFilterDatetimeSlot.value,
|
|
4562
4596
|
onSelectAll: selectAll,
|
|
4563
4597
|
onSortChange: sortChange,
|
|
4564
4598
|
onFilterChange: filterChange,
|
|
4565
4599
|
onToggleFilterMenu: toggleFilterMenu
|
|
4566
|
-
},
|
|
4600
|
+
}, createSlots({ _: 2 }, [
|
|
4601
|
+
hasFilterDatetimeSlot.value ? {
|
|
4602
|
+
name: "filter-datetime",
|
|
4603
|
+
fn: withCtx((slotProps) => [
|
|
4604
|
+
renderSlot(_ctx.$slots, "filter-datetime", normalizeProps(guardReactiveProps(slotProps)))
|
|
4605
|
+
]),
|
|
4606
|
+
key: "0"
|
|
4607
|
+
} : void 0
|
|
4608
|
+
]), 1032, ["currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll", "hasFilterDatetimeSlot"])
|
|
4567
4609
|
], 2)) : createCommentVNode("", true)
|
|
4568
4610
|
], 2),
|
|
4569
4611
|
currentLoader.value && _ctx.enableloadinganimation ? (openBlock(), createElementBlock("div", {
|
|
@@ -4634,12 +4676,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4634
4676
|
isOpenFilter: isOpenFilter.value,
|
|
4635
4677
|
checkAll: selectedAll.value,
|
|
4636
4678
|
columnFilterLang: props.columnFilterLang,
|
|
4679
|
+
hasFilterDatetimeSlot: hasFilterDatetimeSlot.value,
|
|
4637
4680
|
onSelectAll: selectAll,
|
|
4638
4681
|
onSortChange: sortChange,
|
|
4639
4682
|
onFilterChange: filterChange,
|
|
4640
4683
|
onToggleFilterMenu: toggleFilterMenu,
|
|
4641
4684
|
onClearColumnFilter: clearColumnFilter
|
|
4642
|
-
},
|
|
4685
|
+
}, createSlots({ _: 2 }, [
|
|
4686
|
+
hasFilterDatetimeSlot.value ? {
|
|
4687
|
+
name: "filter-datetime",
|
|
4688
|
+
fn: withCtx((slotProps) => [
|
|
4689
|
+
renderSlot(_ctx.$slots, "filter-datetime", normalizeProps(guardReactiveProps(slotProps)))
|
|
4690
|
+
]),
|
|
4691
|
+
key: "0"
|
|
4692
|
+
} : void 0
|
|
4693
|
+
]), 1032, ["expandedrows", "currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll", "columnFilterLang", "hasFilterDatetimeSlot"])
|
|
4643
4694
|
], 2),
|
|
4644
4695
|
createElementVNode("tbody", null, [
|
|
4645
4696
|
(openBlock(true), createElementBlock(Fragment, null, renderList(filterItems.value, (item, i) => {
|
|
@@ -4816,11 +4867,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4816
4867
|
isOpenFilter: isOpenFilter.value,
|
|
4817
4868
|
isFooter: true,
|
|
4818
4869
|
checkAll: selectedAll.value,
|
|
4870
|
+
hasFilterDatetimeSlot: hasFilterDatetimeSlot.value,
|
|
4819
4871
|
onSelectAll: selectAll,
|
|
4820
4872
|
onSortChange: sortChange,
|
|
4821
4873
|
onFilterChange: filterChange,
|
|
4822
4874
|
onToggleFilterMenu: toggleFilterMenu
|
|
4823
|
-
},
|
|
4875
|
+
}, createSlots({ _: 2 }, [
|
|
4876
|
+
hasFilterDatetimeSlot.value ? {
|
|
4877
|
+
name: "filter-datetime",
|
|
4878
|
+
fn: withCtx((slotProps) => [
|
|
4879
|
+
renderSlot(_ctx.$slots, "filter-datetime", normalizeProps(guardReactiveProps(slotProps)))
|
|
4880
|
+
]),
|
|
4881
|
+
key: "0"
|
|
4882
|
+
} : void 0
|
|
4883
|
+
]), 1032, ["currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll", "hasFilterDatetimeSlot"])
|
|
4824
4884
|
], 2)) : createCommentVNode("", true)
|
|
4825
4885
|
], 2),
|
|
4826
4886
|
currentLoader.value && _ctx.enableloadinganimation ? (openBlock(), createElementBlock("div", {
|