@dolusoft/vue3-datatable 1.8.14 → 1.8.16
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
|
@@ -3131,9 +3131,13 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3131
3131
|
} else {
|
|
3132
3132
|
column.value = newValue;
|
|
3133
3133
|
}
|
|
3134
|
-
|
|
3134
|
+
const isEmpty = newValue === "" || newValue === null || newValue === void 0;
|
|
3135
|
+
if (isEmpty) {
|
|
3136
|
+
column.condition = "";
|
|
3137
|
+
columnConditions.value[col.field] = "";
|
|
3138
|
+
} else if (currentCondition) {
|
|
3135
3139
|
column.condition = currentCondition;
|
|
3136
|
-
} else
|
|
3140
|
+
} else {
|
|
3137
3141
|
column.condition = "Equal";
|
|
3138
3142
|
columnConditions.value[col.field] = column.condition;
|
|
3139
3143
|
}
|
package/dist/vue3-datatable.js
CHANGED
|
@@ -3130,9 +3130,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3130
3130
|
} else {
|
|
3131
3131
|
column.value = newValue;
|
|
3132
3132
|
}
|
|
3133
|
-
|
|
3133
|
+
const isEmpty = newValue === "" || newValue === null || newValue === void 0;
|
|
3134
|
+
if (isEmpty) {
|
|
3135
|
+
column.condition = "";
|
|
3136
|
+
columnConditions.value[col.field] = "";
|
|
3137
|
+
} else if (currentCondition) {
|
|
3134
3138
|
column.condition = currentCondition;
|
|
3135
|
-
} else
|
|
3139
|
+
} else {
|
|
3136
3140
|
column.condition = "Equal";
|
|
3137
3141
|
columnConditions.value[col.field] = column.condition;
|
|
3138
3142
|
}
|