@wx-design/components 1.3.0-alpha.21 → 1.3.0-alpha.22
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 +7 -4
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -17640,7 +17640,7 @@ const G5 = /* @__PURE__ */ $r(U5), K5 = "sab-table-config-", ZC = (e) => `${K5}$
|
|
|
17640
17640
|
getEditorProps: ({ row: W }) => ({
|
|
17641
17641
|
controls: !1,
|
|
17642
17642
|
onChange: (Z) => {
|
|
17643
|
-
W.visible = !0, W.__table__seq = Z - 1e-3, g();
|
|
17643
|
+
console.log("onChange"), W.visible = !0, W.__table__seq = Z - 1e-3, g();
|
|
17644
17644
|
}
|
|
17645
17645
|
})
|
|
17646
17646
|
},
|
|
@@ -17720,9 +17720,12 @@ const G5 = /* @__PURE__ */ $r(U5), K5 = "sab-table-config-", ZC = (e) => `${K5}$
|
|
|
17720
17720
|
const W = ((Z = c.value) == null ? void 0 : Z.getInstance().getTableData().fullData) || [];
|
|
17721
17721
|
W.sort((ce, De) => ce.__table__seq - De.__table__seq > 0 ? 1 : -1), u.value = W.map((ce) => u.value.find((se) => se.field === ce.field));
|
|
17722
17722
|
}, D = () => {
|
|
17723
|
-
|
|
17724
|
-
|
|
17725
|
-
|
|
17723
|
+
console.log("onSaveTable"), setTimeout(() => {
|
|
17724
|
+
var Z;
|
|
17725
|
+
console.log("setTimeout onSaveTable");
|
|
17726
|
+
const W = ((Z = c.value) == null ? void 0 : Z.getInstance().getTableData().fullData) || [];
|
|
17727
|
+
C(W), a();
|
|
17728
|
+
}, 100);
|
|
17726
17729
|
};
|
|
17727
17730
|
return (W, Z) => {
|
|
17728
17731
|
var ce, De;
|