@fileverse-dev/dsheet 1.2.42 → 1.2.43
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/index.es.js +11 -8
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -176644,16 +176644,19 @@ function Nkt(e, t) {
|
|
|
176644
176644
|
return !!Rkt(e, t);
|
|
176645
176645
|
}
|
|
176646
176646
|
const Fkt = (e, t, r, a, n, i) => {
|
|
176647
|
-
var
|
|
176648
|
-
const l = (
|
|
176649
|
-
if (n != null && n[l] && (r = r.map((
|
|
176650
|
-
...
|
|
176651
|
-
dataBlockCalcFunction: n[
|
|
176647
|
+
var u;
|
|
176648
|
+
const l = (u = a == null ? void 0 : a.getWorkbookContext()) == null ? void 0 : u.currentSheetId;
|
|
176649
|
+
if (n != null && n[l] && (r = r.map((v) => ({
|
|
176650
|
+
...v,
|
|
176651
|
+
dataBlockCalcFunction: n[v.id]
|
|
176652
176652
|
}))), !e || !a)
|
|
176653
176653
|
return;
|
|
176654
|
-
const c = e.getArray(t), f = Array.from(c),
|
|
176655
|
-
|
|
176656
|
-
|
|
176654
|
+
const c = e.getArray(t), f = Array.from(c), o = Bkt(r, f, a).map((v) => {
|
|
176655
|
+
const m = { ...v };
|
|
176656
|
+
return m.status = m.order === 0 ? 1 : 0, m;
|
|
176657
|
+
});
|
|
176658
|
+
Nkt(Array.from(c), o) && !i && e.transact(() => {
|
|
176659
|
+
c.delete(0, f.length), c.insert(0, o);
|
|
176657
176660
|
});
|
|
176658
176661
|
}, Bkt = (e, t, r) => e.map((a, n) => {
|
|
176659
176662
|
var f, s, o, u, v;
|