@univerjs/sheets-conditional-formatting 0.6.2 → 0.6.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/lib/cjs/facade.js +1 -1
- package/lib/es/facade.js +1370 -308
- package/lib/es/index.js +9 -19
- package/lib/types/facade/f-conditional-formatting-builder.d.ts +1566 -0
- package/lib/types/facade/f-enum.d.ts +22 -0
- package/lib/types/facade/f-range.d.ts +22 -27
- package/lib/types/facade/f-worksheet.d.ts +11 -16
- package/lib/types/facade/index.d.ts +2 -1
- package/lib/umd/facade.js +1 -1
- package/package.json +7 -7
- package/lib/types/facade/conditional-formatting-builder.d.ts +0 -517
package/lib/es/index.js
CHANGED
|
@@ -261,17 +261,14 @@ let K = class extends _2 {
|
|
|
261
261
|
this._result$.next({ ...u, isAllFinished: g });
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
|
-
})), this._activeDirtyManagerService.register(
|
|
265
|
-
d2.id,
|
|
266
|
-
{
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
dirtyUnitOtherFormulaMap: r.params
|
|
271
|
-
};
|
|
272
|
-
}
|
|
264
|
+
})), this._activeDirtyManagerService.register(d2.id, {
|
|
265
|
+
commandId: d2.id,
|
|
266
|
+
getDirtyData(r) {
|
|
267
|
+
return {
|
|
268
|
+
dirtyUnitOtherFormulaMap: r.params
|
|
269
|
+
};
|
|
273
270
|
}
|
|
274
|
-
);
|
|
271
|
+
});
|
|
275
272
|
}
|
|
276
273
|
_ensureSubunitFormulaMap(r, t) {
|
|
277
274
|
let e = this._formulaMap.get(r);
|
|
@@ -310,11 +307,7 @@ let K = class extends _2 {
|
|
|
310
307
|
}
|
|
311
308
|
};
|
|
312
309
|
this._commandService.executeCommand(a0.id, o, { onlyLocal: !0 }).then(() => {
|
|
313
|
-
this._commandService.executeCommand(
|
|
314
|
-
d2.id,
|
|
315
|
-
{ [r]: { [t]: { [l]: !0 } } },
|
|
316
|
-
{ onlyLocal: !0 }
|
|
317
|
-
);
|
|
310
|
+
this._commandService.executeCommand(d2.id, { [r]: { [t]: { [l]: !0 } } }, { onlyLocal: !0 });
|
|
318
311
|
});
|
|
319
312
|
}
|
|
320
313
|
_removeFormulaByCfId(r, t, e) {
|
|
@@ -1412,10 +1405,7 @@ const r1 = "EMPTY_ICON_TYPE", s2 = {
|
|
|
1412
1405
|
return [];
|
|
1413
1406
|
const [n, i] = e;
|
|
1414
1407
|
return [
|
|
1415
|
-
{
|
|
1416
|
-
id: s2.id,
|
|
1417
|
-
params: { unitId: r, subUnitId: t, start: n, end: i }
|
|
1418
|
-
}
|
|
1408
|
+
{ id: s2.id, params: { unitId: r, subUnitId: t, start: n, end: i } }
|
|
1419
1409
|
];
|
|
1420
1410
|
}, w2 = (s, r) => {
|
|
1421
1411
|
const t = s.get(y), { unitId: e, subUnitId: n, cfId: i } = r, a = [...t.getSubunitRules(e, n) || []], u = a.findIndex((o) => o.cfId === i), l = a[u - 1];
|