@univerjs/sheets-conditional-formatting-ui 1.0.0-rc.0 → 1.0.0
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/index.js +72 -66
- package/lib/cjs/locale/ar-SA.js +0 -1
- package/lib/cjs/locale/ca-ES.js +0 -1
- package/lib/cjs/locale/de-DE.js +0 -1
- package/lib/cjs/locale/en-US.js +0 -1
- package/lib/cjs/locale/es-ES.js +0 -1
- package/lib/cjs/locale/fa-IR.js +0 -1
- package/lib/cjs/locale/fr-FR.js +0 -1
- package/lib/cjs/locale/id-ID.js +0 -1
- package/lib/cjs/locale/it-IT.js +0 -1
- package/lib/cjs/locale/ja-JP.js +0 -1
- package/lib/cjs/locale/ko-KR.js +0 -1
- package/lib/cjs/locale/pl-PL.js +0 -1
- package/lib/cjs/locale/pt-BR.js +0 -1
- package/lib/cjs/locale/ru-RU.js +0 -1
- package/lib/cjs/locale/sk-SK.js +0 -1
- package/lib/cjs/locale/vi-VN.js +0 -1
- package/lib/cjs/locale/zh-CN.js +0 -1
- package/lib/cjs/locale/zh-HK.js +0 -1
- package/lib/cjs/locale/zh-TW.js +0 -1
- package/lib/es/index.js +72 -66
- package/lib/index.js +72 -66
- package/lib/types/components/color-picker/index.d.ts +25 -0
- package/lib/types/components/conditional-style-editor/index.d.ts +23 -0
- package/lib/types/components/panel/index.d.ts +21 -0
- package/lib/types/components/panel/rule-edit/ColorScale.d.ts +17 -0
- package/lib/types/components/panel/rule-edit/DataBar.d.ts +17 -0
- package/lib/types/components/panel/rule-edit/Formula.d.ts +17 -0
- package/lib/types/components/panel/rule-edit/HighlightCell.d.ts +18 -0
- package/lib/types/components/panel/rule-edit/IconSet.d.ts +18 -0
- package/lib/types/components/panel/rule-edit/Rank.d.ts +17 -0
- package/lib/types/components/panel/rule-edit/index.d.ts +22 -0
- package/lib/types/components/panel/rule-edit/styles.d.ts +16 -0
- package/lib/types/components/panel/rule-edit/type.d.ts +27 -0
- package/lib/types/components/panel/rule-list/index.d.ts +22 -0
- package/lib/types/components/preview/index.d.ts +19 -0
- package/lib/types/components/wrapper-error/WrapperError.d.ts +20 -0
- package/lib/umd/index.js +1 -1
- package/package.json +15 -15
package/lib/cjs/index.js
CHANGED
|
@@ -24,7 +24,8 @@ const AddAverageCfCommand = {
|
|
|
24
24
|
const { ranges, style, stopIfTrue, operator } = params;
|
|
25
25
|
const conditionalFormattingRuleModel = accessor.get(_univerjs_sheets_conditional_formatting.ConditionalFormattingRuleModel);
|
|
26
26
|
const commandService = accessor.get(_univerjs_core.ICommandService);
|
|
27
|
-
const
|
|
27
|
+
const univerInstanceService = accessor.get(_univerjs_core.IUniverInstanceService);
|
|
28
|
+
const target = (0, _univerjs_sheets.getSheetCommandTarget)(univerInstanceService);
|
|
28
29
|
if (!target) return false;
|
|
29
30
|
const { unitId, subUnitId } = target;
|
|
30
31
|
const rule = {
|
|
@@ -56,7 +57,8 @@ const AddColorScaleConditionalRuleCommand = {
|
|
|
56
57
|
const { ranges, config, stopIfTrue } = params;
|
|
57
58
|
const conditionalFormattingRuleModel = accessor.get(_univerjs_sheets_conditional_formatting.ConditionalFormattingRuleModel);
|
|
58
59
|
const commandService = accessor.get(_univerjs_core.ICommandService);
|
|
59
|
-
const
|
|
60
|
+
const univerInstanceService = accessor.get(_univerjs_core.IUniverInstanceService);
|
|
61
|
+
const target = (0, _univerjs_sheets.getSheetCommandTarget)(univerInstanceService);
|
|
60
62
|
if (!target) return false;
|
|
61
63
|
const { unitId, subUnitId } = target;
|
|
62
64
|
const rule = {
|
|
@@ -87,7 +89,8 @@ const AddDataBarConditionalRuleCommand = {
|
|
|
87
89
|
const ranges = params.ranges ?? accessor.get(_univerjs_sheets.SheetsSelectionsService).getCurrentSelections().map((selection) => selection.range);
|
|
88
90
|
if (!ranges.length) return false;
|
|
89
91
|
const conditionalFormattingRuleModel = accessor.get(_univerjs_sheets_conditional_formatting.ConditionalFormattingRuleModel);
|
|
90
|
-
const
|
|
92
|
+
const univerInstanceService = accessor.get(_univerjs_core.IUniverInstanceService);
|
|
93
|
+
const target = (0, _univerjs_sheets.getSheetCommandTarget)(univerInstanceService);
|
|
91
94
|
if (!target) return false;
|
|
92
95
|
const { unitId, subUnitId } = target;
|
|
93
96
|
const commandService = accessor.get(_univerjs_core.ICommandService);
|
|
@@ -125,7 +128,8 @@ const AddDuplicateValuesCfCommand = {
|
|
|
125
128
|
const { ranges, style, stopIfTrue } = params;
|
|
126
129
|
const conditionalFormattingRuleModel = accessor.get(_univerjs_sheets_conditional_formatting.ConditionalFormattingRuleModel);
|
|
127
130
|
const commandService = accessor.get(_univerjs_core.ICommandService);
|
|
128
|
-
const
|
|
131
|
+
const univerInstanceService = accessor.get(_univerjs_core.IUniverInstanceService);
|
|
132
|
+
const target = (0, _univerjs_sheets.getSheetCommandTarget)(univerInstanceService);
|
|
129
133
|
if (!target) return false;
|
|
130
134
|
const { unitId, subUnitId } = target;
|
|
131
135
|
const rule = {
|
|
@@ -186,7 +190,8 @@ const AddNumberCfCommand = {
|
|
|
186
190
|
const { ranges, style, stopIfTrue, operator, value } = params;
|
|
187
191
|
const conditionalFormattingRuleModel = accessor.get(_univerjs_sheets_conditional_formatting.ConditionalFormattingRuleModel);
|
|
188
192
|
const commandService = accessor.get(_univerjs_core.ICommandService);
|
|
189
|
-
const
|
|
193
|
+
const univerInstanceService = accessor.get(_univerjs_core.IUniverInstanceService);
|
|
194
|
+
const target = (0, _univerjs_sheets.getSheetCommandTarget)(univerInstanceService);
|
|
190
195
|
if (!target) return false;
|
|
191
196
|
const { unitId, subUnitId } = target;
|
|
192
197
|
const cfId = conditionalFormattingRuleModel.createCfId(unitId, subUnitId);
|
|
@@ -274,7 +279,8 @@ const AddTextCfCommand = {
|
|
|
274
279
|
if (!params) return false;
|
|
275
280
|
const { ranges, style, stopIfTrue, operator, value } = params;
|
|
276
281
|
const conditionalFormattingRuleModel = accessor.get(_univerjs_sheets_conditional_formatting.ConditionalFormattingRuleModel);
|
|
277
|
-
const
|
|
282
|
+
const univerInstanceService = accessor.get(_univerjs_core.IUniverInstanceService);
|
|
283
|
+
const target = (0, _univerjs_sheets.getSheetCommandTarget)(univerInstanceService);
|
|
278
284
|
if (!target) return false;
|
|
279
285
|
const { unitId, subUnitId } = target;
|
|
280
286
|
const commandService = accessor.get(_univerjs_core.ICommandService);
|
|
@@ -383,7 +389,7 @@ const AddUniqueValuesCfCommand = {
|
|
|
383
389
|
const CF_PANEL_KEY = "sheet.conditional.formatting.panel";
|
|
384
390
|
|
|
385
391
|
//#endregion
|
|
386
|
-
//#region \0@oxc-project+runtime@0.
|
|
392
|
+
//#region \0@oxc-project+runtime@0.149.0/helpers/esm/typeof.js
|
|
387
393
|
function _typeof(o) {
|
|
388
394
|
"@babel/helpers - typeof";
|
|
389
395
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -394,7 +400,7 @@ function _typeof(o) {
|
|
|
394
400
|
}
|
|
395
401
|
|
|
396
402
|
//#endregion
|
|
397
|
-
//#region \0@oxc-project+runtime@0.
|
|
403
|
+
//#region \0@oxc-project+runtime@0.149.0/helpers/esm/toPrimitive.js
|
|
398
404
|
function toPrimitive(t, r) {
|
|
399
405
|
if ("object" != _typeof(t) || !t) return t;
|
|
400
406
|
var e = t[Symbol.toPrimitive];
|
|
@@ -407,14 +413,14 @@ function toPrimitive(t, r) {
|
|
|
407
413
|
}
|
|
408
414
|
|
|
409
415
|
//#endregion
|
|
410
|
-
//#region \0@oxc-project+runtime@0.
|
|
416
|
+
//#region \0@oxc-project+runtime@0.149.0/helpers/esm/toPropertyKey.js
|
|
411
417
|
function toPropertyKey(t) {
|
|
412
418
|
var i = toPrimitive(t, "string");
|
|
413
419
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
414
420
|
}
|
|
415
421
|
|
|
416
422
|
//#endregion
|
|
417
|
-
//#region \0@oxc-project+runtime@0.
|
|
423
|
+
//#region \0@oxc-project+runtime@0.149.0/helpers/esm/defineProperty.js
|
|
418
424
|
function _defineProperty(e, r, t) {
|
|
419
425
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
420
426
|
value: t,
|
|
@@ -425,7 +431,7 @@ function _defineProperty(e, r, t) {
|
|
|
425
431
|
}
|
|
426
432
|
|
|
427
433
|
//#endregion
|
|
428
|
-
//#region \0@oxc-project+runtime@0.
|
|
434
|
+
//#region \0@oxc-project+runtime@0.149.0/helpers/esm/decorateParam.js
|
|
429
435
|
function __decorateParam(paramIndex, decorator) {
|
|
430
436
|
return function(target, key) {
|
|
431
437
|
decorator(target, key, paramIndex);
|
|
@@ -433,7 +439,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
433
439
|
}
|
|
434
440
|
|
|
435
441
|
//#endregion
|
|
436
|
-
//#region \0@oxc-project+runtime@0.
|
|
442
|
+
//#region \0@oxc-project+runtime@0.149.0/helpers/esm/decorate.js
|
|
437
443
|
function __decorate(decorators, target, key, desc) {
|
|
438
444
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
439
445
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -574,9 +580,7 @@ const OpenConditionalFormattingOperator = {
|
|
|
574
580
|
case 9:
|
|
575
581
|
commandService.executeCommand(_univerjs_sheets_conditional_formatting.ClearRangeCfCommand.id, { ranges });
|
|
576
582
|
break;
|
|
577
|
-
case 10:
|
|
578
|
-
commandService.executeCommand(_univerjs_sheets_conditional_formatting.ClearWorksheetCfCommand.id);
|
|
579
|
-
break;
|
|
583
|
+
case 10: commandService.executeCommand(_univerjs_sheets_conditional_formatting.ClearWorksheetCfCommand.id);
|
|
580
584
|
}
|
|
581
585
|
return true;
|
|
582
586
|
}
|
|
@@ -1004,7 +1008,7 @@ const menuSchema = {
|
|
|
1004
1008
|
//#endregion
|
|
1005
1009
|
//#region package.json
|
|
1006
1010
|
var name = "@univerjs/sheets-conditional-formatting-ui";
|
|
1007
|
-
var version = "1.0.0
|
|
1011
|
+
var version = "1.0.0";
|
|
1008
1012
|
|
|
1009
1013
|
//#endregion
|
|
1010
1014
|
//#region src/config/config.ts
|
|
@@ -1044,11 +1048,9 @@ let ConditionalFormattingFormulaRefRangeController = class ConditionalFormatting
|
|
|
1044
1048
|
if (item.value.type === _univerjs_sheets_conditional_formatting.CFValueType.formula) formulas.push(item.value.value);
|
|
1045
1049
|
});
|
|
1046
1050
|
break;
|
|
1047
|
-
case _univerjs_sheets_conditional_formatting.CFRuleType.iconSet:
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
});
|
|
1051
|
-
break;
|
|
1051
|
+
case _univerjs_sheets_conditional_formatting.CFRuleType.iconSet: ruleConfig.config.forEach((item) => {
|
|
1052
|
+
if (item.value.type === _univerjs_sheets_conditional_formatting.CFValueType.formula) formulas.push(item.value.value);
|
|
1053
|
+
});
|
|
1052
1054
|
}
|
|
1053
1055
|
return formulas;
|
|
1054
1056
|
}
|
|
@@ -1071,11 +1073,9 @@ let ConditionalFormattingFormulaRefRangeController = class ConditionalFormatting
|
|
|
1071
1073
|
if (item.value.type === _univerjs_sheets_conditional_formatting.CFValueType.formula) item.value.value = formulas[formulaIndex++];
|
|
1072
1074
|
});
|
|
1073
1075
|
break;
|
|
1074
|
-
case _univerjs_sheets_conditional_formatting.CFRuleType.iconSet:
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
});
|
|
1078
|
-
break;
|
|
1076
|
+
case _univerjs_sheets_conditional_formatting.CFRuleType.iconSet: ruleConfig.config.forEach((item) => {
|
|
1077
|
+
if (item.value.type === _univerjs_sheets_conditional_formatting.CFValueType.formula) item.value.value = formulas[formulaIndex++];
|
|
1078
|
+
});
|
|
1079
1079
|
}
|
|
1080
1080
|
return newRule;
|
|
1081
1081
|
}
|
|
@@ -1726,12 +1726,13 @@ function Preview(props) {
|
|
|
1726
1726
|
case _univerjs_sheets_conditional_formatting.CFRuleType.dataBar: {
|
|
1727
1727
|
const { isGradient } = rule.config;
|
|
1728
1728
|
const positiveColor = isGradient ? `linear-gradient(to right, ${rule.config.positiveColor || _univerjs_sheets_conditional_formatting.defaultDataBarPositiveColor}, rgb(255 255 255))` : rule.config.positiveColor;
|
|
1729
|
+
const nativeColor = isGradient ? `linear-gradient(to right, rgb(255 255 255),${rule.config.nativeColor || _univerjs_sheets_conditional_formatting.defaultDataBarNativeColor})` : rule.config.nativeColor;
|
|
1729
1730
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
1730
1731
|
className: previewClassName,
|
|
1731
1732
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1732
1733
|
className: "univer-h-full univer-w-1/2 univer-border univer-border-solid",
|
|
1733
1734
|
style: {
|
|
1734
|
-
background:
|
|
1735
|
+
background: nativeColor,
|
|
1735
1736
|
borderColor: rule.config.nativeColor ?? _univerjs_sheets_conditional_formatting.defaultDataBarNativeColor
|
|
1736
1737
|
}
|
|
1737
1738
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
@@ -2889,7 +2890,6 @@ function HighlightCellInput(props) {
|
|
|
2889
2890
|
_univerjs_sheets_conditional_formatting.CFNumberOperator.lessThanOrEqual
|
|
2890
2891
|
].includes(operator)) onChange(inputNumberValue);
|
|
2891
2892
|
if ([_univerjs_sheets_conditional_formatting.CFNumberOperator.between, _univerjs_sheets_conditional_formatting.CFNumberOperator.notBetween].includes(operator)) onChange([inputNumberMin, inputNumberMax]);
|
|
2892
|
-
break;
|
|
2893
2893
|
}
|
|
2894
2894
|
}, [type]);
|
|
2895
2895
|
(0, react.useEffect)(() => {
|
|
@@ -3578,12 +3578,13 @@ const IconSet = (props) => {
|
|
|
3578
3578
|
return !!rule.isShowValue;
|
|
3579
3579
|
});
|
|
3580
3580
|
const previewIcon = (0, react.useMemo)(() => {
|
|
3581
|
+
const list = configList.map((item) => {
|
|
3582
|
+
return getIcon(item.iconType, item.iconId);
|
|
3583
|
+
});
|
|
3581
3584
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
3582
3585
|
"data-u-comp": "cf-icon-set-preview",
|
|
3583
3586
|
className: "univer-flex univer-items-center rtl:univer-flex-row-reverse",
|
|
3584
|
-
children:
|
|
3585
|
-
return getIcon(item.iconType, item.iconId);
|
|
3586
|
-
}).map((icon, index) => icon ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
|
|
3587
|
+
children: list.map((icon, index) => icon ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
|
|
3587
3588
|
className: "univer-size-5",
|
|
3588
3589
|
src: icon
|
|
3589
3590
|
}, index) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.SlashDoubleIcon, { className: "univer-size-5" }, index))
|
|
@@ -4114,9 +4115,10 @@ const RuleEdit = (props) => {
|
|
|
4114
4115
|
setErrorText(void 0);
|
|
4115
4116
|
return;
|
|
4116
4117
|
}
|
|
4117
|
-
if (v)
|
|
4118
|
-
|
|
4119
|
-
|
|
4118
|
+
if (v) {
|
|
4119
|
+
if (rangeText.length < 1) setErrorText(localeService.t("sheets-conditional-formatting-ui.errorMessage.rangeError"));
|
|
4120
|
+
else setErrorText(void 0);
|
|
4121
|
+
} else setErrorText(localeService.t("sheets-conditional-formatting-ui.errorMessage.rangeError"));
|
|
4120
4122
|
};
|
|
4121
4123
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [
|
|
4122
4124
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
@@ -4196,9 +4198,10 @@ const getRuleDescribe = (rule, localeService) => {
|
|
|
4196
4198
|
const operator = ruleConfig.operator;
|
|
4197
4199
|
return localeService.t(`sheets-conditional-formatting-ui.preview.describe.${operator}`);
|
|
4198
4200
|
}
|
|
4199
|
-
case _univerjs_sheets_conditional_formatting.CFSubRuleType.rank: if (ruleConfig.isPercent)
|
|
4200
|
-
|
|
4201
|
-
|
|
4201
|
+
case _univerjs_sheets_conditional_formatting.CFSubRuleType.rank: if (ruleConfig.isPercent) {
|
|
4202
|
+
if (ruleConfig.isBottom) return localeService.t("sheets-conditional-formatting-ui.preview.describe.bottomNPercent", String(ruleConfig.value));
|
|
4203
|
+
else return localeService.t("sheets-conditional-formatting-ui.preview.describe.topNPercent", String(ruleConfig.value));
|
|
4204
|
+
} else if (ruleConfig.isBottom) return localeService.t("sheets-conditional-formatting-ui.preview.describe.bottomN", String(ruleConfig.value));
|
|
4202
4205
|
else return localeService.t("sheets-conditional-formatting-ui.preview.describe.topN", String(ruleConfig.value));
|
|
4203
4206
|
case _univerjs_sheets_conditional_formatting.CFSubRuleType.formula: return localeService.t("sheets-conditional-formatting-ui.ruleType.formula");
|
|
4204
4207
|
}
|
|
@@ -4525,7 +4528,10 @@ MobileComponentsController = __decorate([__decorateParam(0, (0, _univerjs_core.I
|
|
|
4525
4528
|
|
|
4526
4529
|
//#endregion
|
|
4527
4530
|
//#region src/menu/mobile-schema.ts
|
|
4528
|
-
const mobileMenuSchema = {
|
|
4531
|
+
const mobileMenuSchema = { [_univerjs_ui.RibbonDataGroup.RULES]: { [OpenConditionalFormattingOperator.id]: {
|
|
4532
|
+
order: 1,
|
|
4533
|
+
menuItemFactory: FactoryManageConditionalFormattingRule
|
|
4534
|
+
} } };
|
|
4529
4535
|
|
|
4530
4536
|
//#endregion
|
|
4531
4537
|
//#region src/menu/mobile-cf.menu.controller.ts
|
|
@@ -4993,31 +4999,33 @@ let ConditionalFormattingPainterController = class ConditionalFormattingPainterC
|
|
|
4993
4999
|
return;
|
|
4994
5000
|
}
|
|
4995
5001
|
const rule = this._conditionalFormattingRuleModel.getRule(targetUnitId, targetSubUnitId, cfId);
|
|
4996
|
-
if (rule)
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5002
|
+
if (rule) {
|
|
5003
|
+
if (ranges.length) {
|
|
5004
|
+
const params = {
|
|
5005
|
+
unitId: targetUnitId,
|
|
5006
|
+
subUnitId: targetSubUnitId,
|
|
5007
|
+
rule: {
|
|
5008
|
+
...rule,
|
|
5009
|
+
ranges
|
|
5010
|
+
}
|
|
5011
|
+
};
|
|
5012
|
+
redos.push({
|
|
5013
|
+
id: _univerjs_sheets_conditional_formatting.SetConditionalRuleMutation.id,
|
|
5014
|
+
params
|
|
5015
|
+
});
|
|
5016
|
+
undos.push(...(0, _univerjs_sheets_conditional_formatting.setConditionalRuleMutationUndoFactory)(this._injector, params));
|
|
5017
|
+
} else {
|
|
5018
|
+
const params = {
|
|
5019
|
+
unitId: targetUnitId,
|
|
5020
|
+
subUnitId: targetSubUnitId,
|
|
5021
|
+
cfId: rule.cfId
|
|
5022
|
+
};
|
|
5023
|
+
redos.push({
|
|
5024
|
+
id: _univerjs_sheets_conditional_formatting.DeleteConditionalRuleMutation.id,
|
|
5025
|
+
params
|
|
5026
|
+
});
|
|
5027
|
+
undos.push(...(0, _univerjs_sheets_conditional_formatting.DeleteConditionalRuleMutationUndoFactory)(this._injector, params));
|
|
5028
|
+
}
|
|
5021
5029
|
}
|
|
5022
5030
|
}
|
|
5023
5031
|
});
|
|
@@ -5044,9 +5052,7 @@ let ConditionalFormattingPainterController = class ConditionalFormattingPainterC
|
|
|
5044
5052
|
};
|
|
5045
5053
|
break;
|
|
5046
5054
|
}
|
|
5047
|
-
case _univerjs_sheets_ui.FormatPainterStatus.OFF:
|
|
5048
|
-
this._painterConfig = null;
|
|
5049
|
-
break;
|
|
5055
|
+
case _univerjs_sheets_ui.FormatPainterStatus.OFF: this._painterConfig = null;
|
|
5050
5056
|
}
|
|
5051
5057
|
},
|
|
5052
5058
|
onApply: (unitId, subUnitId, targetRange) => {
|
package/lib/cjs/locale/ar-SA.js
CHANGED
package/lib/cjs/locale/ca-ES.js
CHANGED
package/lib/cjs/locale/de-DE.js
CHANGED
package/lib/cjs/locale/en-US.js
CHANGED
package/lib/cjs/locale/es-ES.js
CHANGED
package/lib/cjs/locale/fa-IR.js
CHANGED
package/lib/cjs/locale/fr-FR.js
CHANGED
package/lib/cjs/locale/id-ID.js
CHANGED
package/lib/cjs/locale/it-IT.js
CHANGED
package/lib/cjs/locale/ja-JP.js
CHANGED
package/lib/cjs/locale/ko-KR.js
CHANGED
package/lib/cjs/locale/pl-PL.js
CHANGED
package/lib/cjs/locale/pt-BR.js
CHANGED
package/lib/cjs/locale/ru-RU.js
CHANGED
package/lib/cjs/locale/sk-SK.js
CHANGED
package/lib/cjs/locale/vi-VN.js
CHANGED
package/lib/cjs/locale/zh-CN.js
CHANGED
package/lib/cjs/locale/zh-HK.js
CHANGED
package/lib/cjs/locale/zh-TW.js
CHANGED