cd-vue-filter 2.3.7 → 2.3.8
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/cd-vue-filter.js +2 -2
- package/dist/cd-vue-filter.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cd-vue-filter.js
CHANGED
|
@@ -7506,7 +7506,7 @@ const Re = [
|
|
|
7506
7506
|
}, F = (m) => m.map((n) => {
|
|
7507
7507
|
const x = n.conditions.filter((V) => !(!V.field || V.field.trim() === "" || V.value === null || V.value === void 0 || V.value === "" || Array.isArray(V.value) && V.value.length === 0)).map((V) => {
|
|
7508
7508
|
let H = "";
|
|
7509
|
-
return V.value !== null && V.value !== void 0 && (Array.isArray(V.value) ? H = V.value.join("/") : H = String(V.value)), {
|
|
7509
|
+
return V.value !== null && V.value !== void 0 && (Array.isArray(V.value) ? H = V.value.join("/") : H = String(V.value).trim()), {
|
|
7510
7510
|
field: V.field.trim(),
|
|
7511
7511
|
operator: V.operator || "eq",
|
|
7512
7512
|
value: H
|
|
@@ -7813,7 +7813,7 @@ ${m.map((x) => {
|
|
|
7813
7813
|
]);
|
|
7814
7814
|
};
|
|
7815
7815
|
}
|
|
7816
|
-
}, ul = /* @__PURE__ */ ue(dl, [["__scopeId", "data-v-
|
|
7816
|
+
}, ul = /* @__PURE__ */ ue(dl, [["__scopeId", "data-v-eb153ff2"]]), pl = (i) => {
|
|
7817
7817
|
i.component("FilterDialog", Ee), i.component("FilterComponent", Ee), i.component("CdFilterBar", ul), i.component("ColorFilterDialog", Ae);
|
|
7818
7818
|
};
|
|
7819
7819
|
export {
|