@wx-design/components 1.4.0-alpha.2 → 1.4.0-alpha.3
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/es/index.mjs +6 -26
- package/lib/index.js +5 -5
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -45100,33 +45100,13 @@ function IJ(e) {
|
|
|
45100
45100
|
updateHeaderFilterModel: c,
|
|
45101
45101
|
updateCheckboxRecords: f,
|
|
45102
45102
|
emit: u
|
|
45103
|
-
} = e
|
|
45104
|
-
|
|
45105
|
-
|
|
45106
|
-
w.field && w.datas && ((S = w.column) != null && S.filters) && setTimeout(() => {
|
|
45107
|
-
var E, v;
|
|
45108
|
-
(v = n.value) == null || v.setFilter(w.field, (E = w.column) == null ? void 0 : E.filters, !0);
|
|
45109
|
-
});
|
|
45110
|
-
}));
|
|
45111
|
-
};
|
|
45112
|
-
return ot(
|
|
45113
|
-
() => {
|
|
45103
|
+
} = e;
|
|
45104
|
+
return {
|
|
45105
|
+
handleClearColumnFilter: (g) => {
|
|
45114
45106
|
var h;
|
|
45115
|
-
|
|
45116
|
-
|
|
45117
|
-
|
|
45118
|
-
var w, S, E;
|
|
45119
|
-
let h = (w = n.value) == null ? void 0 : w.getCheckedFilters();
|
|
45120
|
-
(S = o.value.headerFilterConfig) != null && S.enable || t.reloadWithDestroy ? (r.value = !1, pe(() => {
|
|
45121
|
-
r.value = !0, d(h);
|
|
45122
|
-
})) : ((E = n.value) == null || E.reloadColumn(o.value.columns), d(h)), f([]), u("checkbox-all", { checked: !1, records: [] });
|
|
45123
|
-
}
|
|
45124
|
-
), {
|
|
45125
|
-
handleClearColumnFilter: (h) => {
|
|
45126
|
-
var w;
|
|
45127
|
-
n.value && ((w = o.value.columns) != null && w.find(
|
|
45128
|
-
(E) => E.field === h
|
|
45129
|
-
)) && (n.value.clearFilter(h), s.value = n.value.getCheckedFilters() || []);
|
|
45107
|
+
n.value && ((h = o.value.columns) != null && h.find(
|
|
45108
|
+
(S) => S.field === g
|
|
45109
|
+
)) && (n.value.clearFilter(g), s.value = n.value.getCheckedFilters() || []);
|
|
45130
45110
|
},
|
|
45131
45111
|
handleClearAllFilters: () => {
|
|
45132
45112
|
n.value && (n.value.clearFilter(), c({}), s.value = []);
|