@dolusoft/vue3-datatable 1.8.40 → 1.8.42
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
CHANGED
|
@@ -5463,6 +5463,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
5463
5463
|
vue.watch(
|
|
5464
5464
|
() => filterInputs.value[col.field],
|
|
5465
5465
|
(newValue) => {
|
|
5466
|
+
var _a2;
|
|
5466
5467
|
const column = columnsMap.value.get(col.field);
|
|
5467
5468
|
if (!column) return;
|
|
5468
5469
|
const isEmpty = newValue === "" || newValue === null || newValue === void 0;
|
|
@@ -5493,7 +5494,8 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
5493
5494
|
if (isEmpty) {
|
|
5494
5495
|
processChange();
|
|
5495
5496
|
} else {
|
|
5496
|
-
|
|
5497
|
+
const debounceTime = ((_a2 = props.all) == null ? void 0 : _a2.filterDebounce) ?? 100;
|
|
5498
|
+
debounceTimers.set(col.field, setTimeout(processChange, debounceTime));
|
|
5497
5499
|
}
|
|
5498
5500
|
}
|
|
5499
5501
|
);
|
|
@@ -6194,6 +6196,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
6194
6196
|
sortDirection: { default: "asc" },
|
|
6195
6197
|
columnFilter: { type: Boolean, default: false },
|
|
6196
6198
|
columnFilterLang: { default: null },
|
|
6199
|
+
filterDebounce: { default: 100 },
|
|
6197
6200
|
useNewColumnFilter: { type: Boolean, default: false },
|
|
6198
6201
|
showFloatingFilterLabel: { type: Boolean, default: false },
|
|
6199
6202
|
pagination: { type: Boolean, default: true },
|
package/dist/vue3-datatable.js
CHANGED
|
@@ -5462,6 +5462,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
5462
5462
|
watch(
|
|
5463
5463
|
() => filterInputs.value[col.field],
|
|
5464
5464
|
(newValue) => {
|
|
5465
|
+
var _a2;
|
|
5465
5466
|
const column = columnsMap.value.get(col.field);
|
|
5466
5467
|
if (!column) return;
|
|
5467
5468
|
const isEmpty = newValue === "" || newValue === null || newValue === void 0;
|
|
@@ -5492,7 +5493,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
5492
5493
|
if (isEmpty) {
|
|
5493
5494
|
processChange();
|
|
5494
5495
|
} else {
|
|
5495
|
-
|
|
5496
|
+
const debounceTime = ((_a2 = props.all) == null ? void 0 : _a2.filterDebounce) ?? 100;
|
|
5497
|
+
debounceTimers.set(col.field, setTimeout(processChange, debounceTime));
|
|
5496
5498
|
}
|
|
5497
5499
|
}
|
|
5498
5500
|
);
|
|
@@ -6193,6 +6195,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
6193
6195
|
sortDirection: { default: "asc" },
|
|
6194
6196
|
columnFilter: { type: Boolean, default: false },
|
|
6195
6197
|
columnFilterLang: { default: null },
|
|
6198
|
+
filterDebounce: { default: 100 },
|
|
6196
6199
|
useNewColumnFilter: { type: Boolean, default: false },
|
|
6197
6200
|
showFloatingFilterLabel: { type: Boolean, default: false },
|
|
6198
6201
|
pagination: { type: Boolean, default: true },
|