@univerjs/sheets-conditional-formatting 0.23.0 → 0.24.0-insiders.20260528-29f582d
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 +138 -69
- package/lib/cjs/index.js +7 -2
- package/lib/es/facade.js +138 -69
- package/lib/es/index.js +7 -2
- package/lib/facade.js +138 -69
- package/lib/index.js +7 -2
- package/lib/types/facade/f-conditional-formatting-builder.d.ts +138 -69
- package/lib/types/facade/f-range.d.ts +6 -3
- package/lib/types/facade/f-worksheet.d.ts +14 -7
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
- package/LICENSE +0 -176
package/lib/cjs/index.js
CHANGED
|
@@ -2473,7 +2473,7 @@ for (const key in iconMap) {
|
|
|
2473
2473
|
//#endregion
|
|
2474
2474
|
//#region package.json
|
|
2475
2475
|
var name = "@univerjs/sheets-conditional-formatting";
|
|
2476
|
-
var version = "0.
|
|
2476
|
+
var version = "0.24.0-insiders.20260528-29f582d";
|
|
2477
2477
|
|
|
2478
2478
|
//#endregion
|
|
2479
2479
|
//#region src/config/config.ts
|
|
@@ -2692,7 +2692,12 @@ let ConditionalFormattingService = class ConditionalFormattingService extends _u
|
|
|
2692
2692
|
const ruleItem = this._conditionalFormattingViewModelV2.getCellCfs(unitId, subUnitId, row, col);
|
|
2693
2693
|
ruleItem === null || ruleItem === void 0 || ruleItem.forEach((item) => ruleIds.add(item.cfId));
|
|
2694
2694
|
});
|
|
2695
|
-
|
|
2695
|
+
const rules = [];
|
|
2696
|
+
for (const cfId of ruleIds) {
|
|
2697
|
+
const rule = this._conditionalFormattingRuleModel.getRule(unitId, subUnitId, cfId);
|
|
2698
|
+
if (rule) rules.push(rule);
|
|
2699
|
+
}
|
|
2700
|
+
return rules;
|
|
2696
2701
|
};
|
|
2697
2702
|
switch (commandInfo.id) {
|
|
2698
2703
|
case _univerjs_sheets.SetRangeValuesMutation.id: {
|