@univerjs/sheets-conditional-formatting-ui 1.3.1 → 1.4.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 +63 -125
- package/lib/cjs/locale/ar-SA.js +1 -2
- package/lib/cjs/locale/ca-ES.js +1 -2
- package/lib/cjs/locale/de-DE.js +1 -2
- package/lib/cjs/locale/en-US.js +1 -2
- package/lib/cjs/locale/es-ES.js +1 -2
- package/lib/cjs/locale/fa-IR.js +1 -2
- package/lib/cjs/locale/fr-FR.js +1 -2
- package/lib/cjs/locale/id-ID.js +1 -2
- package/lib/cjs/locale/it-IT.js +1 -2
- package/lib/cjs/locale/ja-JP.js +1 -2
- package/lib/cjs/locale/ko-KR.js +1 -2
- package/lib/cjs/locale/pl-PL.js +1 -2
- package/lib/cjs/locale/pt-BR.js +1 -2
- package/lib/cjs/locale/ru-RU.js +1 -2
- package/lib/cjs/locale/sk-SK.js +1 -2
- package/lib/cjs/locale/vi-VN.js +1 -2
- package/lib/cjs/locale/zh-CN.js +1 -2
- package/lib/cjs/locale/zh-HK.js +1 -2
- package/lib/cjs/locale/zh-TW.js +1 -2
- package/lib/es/index.js +63 -125
- package/lib/es/locale/ar-SA.js +1 -2
- package/lib/es/locale/ca-ES.js +1 -2
- package/lib/es/locale/de-DE.js +1 -2
- package/lib/es/locale/en-US.js +1 -2
- package/lib/es/locale/es-ES.js +1 -2
- package/lib/es/locale/fa-IR.js +1 -2
- package/lib/es/locale/fr-FR.js +1 -2
- package/lib/es/locale/id-ID.js +1 -2
- package/lib/es/locale/it-IT.js +1 -2
- package/lib/es/locale/ja-JP.js +1 -2
- package/lib/es/locale/ko-KR.js +1 -2
- package/lib/es/locale/pl-PL.js +1 -2
- package/lib/es/locale/pt-BR.js +1 -2
- package/lib/es/locale/ru-RU.js +1 -2
- package/lib/es/locale/sk-SK.js +1 -2
- package/lib/es/locale/vi-VN.js +1 -2
- package/lib/es/locale/zh-CN.js +1 -2
- package/lib/es/locale/zh-HK.js +1 -2
- package/lib/es/locale/zh-TW.js +1 -2
- package/lib/index.js +63 -125
- package/lib/locale/ar-SA.js +1 -2
- package/lib/locale/ca-ES.js +1 -2
- package/lib/locale/de-DE.js +1 -2
- package/lib/locale/en-US.js +1 -2
- package/lib/locale/es-ES.js +1 -2
- package/lib/locale/fa-IR.js +1 -2
- package/lib/locale/fr-FR.js +1 -2
- package/lib/locale/id-ID.js +1 -2
- package/lib/locale/it-IT.js +1 -2
- package/lib/locale/ja-JP.js +1 -2
- package/lib/locale/ko-KR.js +1 -2
- package/lib/locale/pl-PL.js +1 -2
- package/lib/locale/pt-BR.js +1 -2
- package/lib/locale/ru-RU.js +1 -2
- package/lib/locale/sk-SK.js +1 -2
- package/lib/locale/vi-VN.js +1 -2
- package/lib/locale/zh-CN.js +1 -2
- package/lib/locale/zh-HK.js +1 -2
- package/lib/locale/zh-TW.js +1 -2
- package/lib/umd/index.js +1 -1
- package/package.json +18 -18
package/lib/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { Button, Checkbox, ColorPicker, DraggableList, Dropdown, Input, InputNum
|
|
|
14
14
|
import { LexerTreeBuilder, deserializeRangeWithSheet, operatorToken, serializeRange } from "@univerjs/engine-formula";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
// src/commands/commands/add-average-cf.command.ts
|
|
18
18
|
const AddAverageCfCommand = {
|
|
19
19
|
type: CommandType.COMMAND,
|
|
20
20
|
id: "sheet.command.add-average-conditional-rule",
|
|
@@ -46,8 +46,7 @@ const AddAverageCfCommand = {
|
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
//#region src/commands/commands/add-color-scale-cf.command.ts
|
|
49
|
+
// src/commands/commands/add-color-scale-cf.command.ts
|
|
51
50
|
const AddColorScaleConditionalRuleCommand = {
|
|
52
51
|
type: CommandType.COMMAND,
|
|
53
52
|
id: "sheet.command.add-color-scale-conditional-rule",
|
|
@@ -77,8 +76,7 @@ const AddColorScaleConditionalRuleCommand = {
|
|
|
77
76
|
}
|
|
78
77
|
};
|
|
79
78
|
|
|
80
|
-
|
|
81
|
-
//#region src/commands/commands/add-data-bar-cf.command.ts
|
|
79
|
+
// src/commands/commands/add-data-bar-cf.command.ts
|
|
82
80
|
const AddDataBarConditionalRuleCommand = {
|
|
83
81
|
type: CommandType.COMMAND,
|
|
84
82
|
id: "sheet.command.add-data-bar-conditional-rule",
|
|
@@ -117,8 +115,7 @@ const AddDataBarConditionalRuleCommand = {
|
|
|
117
115
|
}
|
|
118
116
|
};
|
|
119
117
|
|
|
120
|
-
|
|
121
|
-
//#region src/commands/commands/add-duplicate-values-cf.command.ts
|
|
118
|
+
// src/commands/commands/add-duplicate-values-cf.command.ts
|
|
122
119
|
const AddDuplicateValuesCfCommand = {
|
|
123
120
|
type: CommandType.COMMAND,
|
|
124
121
|
id: "sheet.command.add-duplicate-values-conditional-rule",
|
|
@@ -149,8 +146,7 @@ const AddDuplicateValuesCfCommand = {
|
|
|
149
146
|
}
|
|
150
147
|
};
|
|
151
148
|
|
|
152
|
-
|
|
153
|
-
//#region src/commands/commands/add-icon-set-cf.command.ts
|
|
149
|
+
// src/commands/commands/add-icon-set-cf.command.ts
|
|
154
150
|
const AddIconSetConditionalRuleCommand = {
|
|
155
151
|
type: CommandType.COMMAND,
|
|
156
152
|
id: "sheet.command.add-icon-set-conditional-rule",
|
|
@@ -179,8 +175,7 @@ const AddIconSetConditionalRuleCommand = {
|
|
|
179
175
|
}
|
|
180
176
|
};
|
|
181
177
|
|
|
182
|
-
|
|
183
|
-
//#region src/commands/commands/add-number-cf.command.ts
|
|
178
|
+
// src/commands/commands/add-number-cf.command.ts
|
|
184
179
|
const AddNumberCfCommand = {
|
|
185
180
|
type: CommandType.COMMAND,
|
|
186
181
|
id: "sheet.command.add-number-conditional-rule",
|
|
@@ -234,8 +229,7 @@ const AddNumberCfCommand = {
|
|
|
234
229
|
}
|
|
235
230
|
};
|
|
236
231
|
|
|
237
|
-
|
|
238
|
-
//#region src/commands/commands/add-rank-cf.command.ts
|
|
232
|
+
// src/commands/commands/add-rank-cf.command.ts
|
|
239
233
|
const AddRankCfCommand = {
|
|
240
234
|
type: CommandType.COMMAND,
|
|
241
235
|
id: "sheet.command.add-rank-conditional-rule",
|
|
@@ -269,8 +263,7 @@ const AddRankCfCommand = {
|
|
|
269
263
|
}
|
|
270
264
|
};
|
|
271
265
|
|
|
272
|
-
|
|
273
|
-
//#region src/commands/commands/add-text-cf.command.ts
|
|
266
|
+
// src/commands/commands/add-text-cf.command.ts
|
|
274
267
|
const AddTextCfCommand = {
|
|
275
268
|
type: CommandType.COMMAND,
|
|
276
269
|
id: "sheet.command.add-text-conditional-rule",
|
|
@@ -303,8 +296,7 @@ const AddTextCfCommand = {
|
|
|
303
296
|
}
|
|
304
297
|
};
|
|
305
298
|
|
|
306
|
-
|
|
307
|
-
//#region src/commands/commands/add-time-period-cf.command.ts
|
|
299
|
+
// src/commands/commands/add-time-period-cf.command.ts
|
|
308
300
|
const AddTimePeriodCfCommand = {
|
|
309
301
|
type: CommandType.COMMAND,
|
|
310
302
|
id: "sheet.command.add-time-period-conditional-rule",
|
|
@@ -336,8 +328,7 @@ const AddTimePeriodCfCommand = {
|
|
|
336
328
|
}
|
|
337
329
|
};
|
|
338
330
|
|
|
339
|
-
|
|
340
|
-
//#region src/commands/commands/add-unique-values-cf.command.ts
|
|
331
|
+
// src/commands/commands/add-unique-values-cf.command.ts
|
|
341
332
|
const AddUniqueValuesCfCommand = {
|
|
342
333
|
type: CommandType.COMMAND,
|
|
343
334
|
id: "sheet.command.add-uniqueValues-conditional-rule",
|
|
@@ -368,8 +359,7 @@ const AddUniqueValuesCfCommand = {
|
|
|
368
359
|
}
|
|
369
360
|
};
|
|
370
361
|
|
|
371
|
-
|
|
372
|
-
//#region src/const.ts
|
|
362
|
+
// src/const.ts
|
|
373
363
|
/**
|
|
374
364
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
375
365
|
*
|
|
@@ -387,8 +377,7 @@ const AddUniqueValuesCfCommand = {
|
|
|
387
377
|
*/
|
|
388
378
|
const CF_PANEL_KEY = "sheet.conditional.formatting.panel";
|
|
389
379
|
|
|
390
|
-
|
|
391
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/typeof.js
|
|
380
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/typeof.js
|
|
392
381
|
function _typeof(o) {
|
|
393
382
|
"@babel/helpers - typeof";
|
|
394
383
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -398,8 +387,7 @@ function _typeof(o) {
|
|
|
398
387
|
}, _typeof(o);
|
|
399
388
|
}
|
|
400
389
|
|
|
401
|
-
|
|
402
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
|
|
390
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPrimitive.js
|
|
403
391
|
function toPrimitive(t, r) {
|
|
404
392
|
if ("object" != _typeof(t) || !t) return t;
|
|
405
393
|
var e = t[Symbol.toPrimitive];
|
|
@@ -411,15 +399,13 @@ function toPrimitive(t, r) {
|
|
|
411
399
|
return ("string" === r ? String : Number)(t);
|
|
412
400
|
}
|
|
413
401
|
|
|
414
|
-
|
|
415
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
|
|
402
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPropertyKey.js
|
|
416
403
|
function toPropertyKey(t) {
|
|
417
404
|
var i = toPrimitive(t, "string");
|
|
418
405
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
419
406
|
}
|
|
420
407
|
|
|
421
|
-
|
|
422
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
|
|
408
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/defineProperty.js
|
|
423
409
|
function _defineProperty(e, r, t) {
|
|
424
410
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
425
411
|
value: t,
|
|
@@ -429,16 +415,14 @@ function _defineProperty(e, r, t) {
|
|
|
429
415
|
}) : e[r] = t, e;
|
|
430
416
|
}
|
|
431
417
|
|
|
432
|
-
|
|
433
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateParam.js
|
|
418
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/decorateParam.js
|
|
434
419
|
function __decorateParam(paramIndex, decorator) {
|
|
435
420
|
return function(target, key) {
|
|
436
421
|
decorator(target, key, paramIndex);
|
|
437
422
|
};
|
|
438
423
|
}
|
|
439
424
|
|
|
440
|
-
|
|
441
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
|
|
425
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/decorate.js
|
|
442
426
|
function __decorate(decorators, target, key, desc) {
|
|
443
427
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
444
428
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -446,8 +430,7 @@ function __decorate(decorators, target, key, desc) {
|
|
|
446
430
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
447
431
|
}
|
|
448
432
|
|
|
449
|
-
|
|
450
|
-
//#region src/controllers/cf.panel.controller.ts
|
|
433
|
+
// src/controllers/cf.panel.controller.ts
|
|
451
434
|
let ConditionalFormattingPanelController = class ConditionalFormattingPanelController extends Disposable {
|
|
452
435
|
constructor(_univerInstanceService, _sidebarService, _localeService) {
|
|
453
436
|
super();
|
|
@@ -487,8 +470,7 @@ ConditionalFormattingPanelController = __decorate([
|
|
|
487
470
|
__decorateParam(2, Inject(LocaleService))
|
|
488
471
|
], ConditionalFormattingPanelController);
|
|
489
472
|
|
|
490
|
-
|
|
491
|
-
//#region src/commands/operations/open-conditional-formatting-panel.ts
|
|
473
|
+
// src/commands/operations/open-conditional-formatting-panel.ts
|
|
492
474
|
const OpenConditionalFormattingOperator = {
|
|
493
475
|
id: "sheet.operation.open.conditional.formatting.panel",
|
|
494
476
|
type: CommandType.OPERATION,
|
|
@@ -585,8 +567,7 @@ const OpenConditionalFormattingOperator = {
|
|
|
585
567
|
}
|
|
586
568
|
};
|
|
587
569
|
|
|
588
|
-
|
|
589
|
-
//#region src/controllers/cf.clear.controller.ts
|
|
570
|
+
// src/controllers/cf.clear.controller.ts
|
|
590
571
|
let ConditionalFormattingClearController = class ConditionalFormattingClearController extends Disposable {
|
|
591
572
|
constructor(_injector, _univerInstanceService, _sheetInterceptorService, _selectionManagerService, _conditionalFormattingRangeIndexModel) {
|
|
592
573
|
super();
|
|
@@ -687,8 +668,7 @@ function generateClearCfMutations(injector, allRules, ranges, unitId, subUnitId)
|
|
|
687
668
|
};
|
|
688
669
|
}
|
|
689
670
|
|
|
690
|
-
|
|
691
|
-
//#region src/menu/manage-rule.ts
|
|
671
|
+
// src/menu/manage-rule.ts
|
|
692
672
|
const commandList = [
|
|
693
673
|
SetWorksheetActiveOperation.id,
|
|
694
674
|
AddConditionalRuleMutation.id,
|
|
@@ -853,8 +833,7 @@ function FactoryManageConditionalFormattingRule(accessor) {
|
|
|
853
833
|
};
|
|
854
834
|
}
|
|
855
835
|
|
|
856
|
-
|
|
857
|
-
//#region src/menu/quick-insert.menu.ts
|
|
836
|
+
// src/menu/quick-insert.menu.ts
|
|
858
837
|
const DATA_BAR_PARAMS = {
|
|
859
838
|
min: { type: CFValueType.min },
|
|
860
839
|
max: { type: CFValueType.max },
|
|
@@ -979,8 +958,7 @@ function quickIconSetMenuFactory(accessor) {
|
|
|
979
958
|
};
|
|
980
959
|
}
|
|
981
960
|
|
|
982
|
-
|
|
983
|
-
//#region src/menu/schema.ts
|
|
961
|
+
// src/menu/schema.ts
|
|
984
962
|
const conditionalFormattingRuleMenuSchema = { [RibbonDataGroup.RULES]: { [OpenConditionalFormattingOperator.id]: {
|
|
985
963
|
order: 1,
|
|
986
964
|
gridLayout: {
|
|
@@ -1003,19 +981,16 @@ const menuSchema = {
|
|
|
1003
981
|
...conditionalFormattingRuleMenuSchema
|
|
1004
982
|
};
|
|
1005
983
|
|
|
1006
|
-
|
|
1007
|
-
//#region package.json
|
|
984
|
+
// package.json
|
|
1008
985
|
var name = "@univerjs/sheets-conditional-formatting-ui";
|
|
1009
|
-
var version = "1.
|
|
986
|
+
var version = "1.4.0";
|
|
1010
987
|
|
|
1011
|
-
|
|
1012
|
-
//#region src/config/config.ts
|
|
988
|
+
// src/config/config.ts
|
|
1013
989
|
const SHEETS_CONDITIONAL_FORMATTING_UI_PLUGIN_CONFIG_KEY = "sheets-conditional-formatting-ui.config";
|
|
1014
990
|
const configSymbol = Symbol(SHEETS_CONDITIONAL_FORMATTING_UI_PLUGIN_CONFIG_KEY);
|
|
1015
991
|
const defaultPluginConfig = {};
|
|
1016
992
|
|
|
1017
|
-
|
|
1018
|
-
//#region src/controllers/cf-formula-ref-range.controller.ts
|
|
993
|
+
// src/controllers/cf-formula-ref-range.controller.ts
|
|
1019
994
|
let ConditionalFormattingFormulaRefRangeController = class ConditionalFormattingFormulaRefRangeController extends Disposable {
|
|
1020
995
|
constructor(_conditionalFormattingRuleModel, _formulaRefRangeService, _injector) {
|
|
1021
996
|
super();
|
|
@@ -1191,8 +1166,7 @@ ConditionalFormattingFormulaRefRangeController = __decorate([
|
|
|
1191
1166
|
__decorateParam(2, Inject(Injector))
|
|
1192
1167
|
], ConditionalFormattingFormulaRefRangeController);
|
|
1193
1168
|
|
|
1194
|
-
|
|
1195
|
-
//#region src/controllers/cf.copy-paste.controller.ts
|
|
1169
|
+
// src/controllers/cf.copy-paste.controller.ts
|
|
1196
1170
|
const specialPastes = [
|
|
1197
1171
|
PREDEFINED_HOOK_NAME_PASTE.SPECIAL_PASTE_FORMAT,
|
|
1198
1172
|
PREDEFINED_HOOK_NAME_PASTE.DEFAULT_PASTE,
|
|
@@ -1418,8 +1392,7 @@ ConditionalFormattingCopyPasteController = __decorate([
|
|
|
1418
1392
|
__decorateParam(4, Inject(ConditionalFormattingRangeTransformService))
|
|
1419
1393
|
], ConditionalFormattingCopyPasteController);
|
|
1420
1394
|
|
|
1421
|
-
|
|
1422
|
-
//#region src/controllers/cf.i18n.controller.ts
|
|
1395
|
+
// src/controllers/cf.i18n.controller.ts
|
|
1423
1396
|
let ConditionalFormattingI18nController = class ConditionalFormattingI18nController extends Disposable {
|
|
1424
1397
|
constructor(_localeService) {
|
|
1425
1398
|
super();
|
|
@@ -1469,8 +1442,7 @@ let ConditionalFormattingI18nController = class ConditionalFormattingI18nControl
|
|
|
1469
1442
|
};
|
|
1470
1443
|
ConditionalFormattingI18nController = __decorate([__decorateParam(0, Inject(LocaleService))], ConditionalFormattingI18nController);
|
|
1471
1444
|
|
|
1472
|
-
|
|
1473
|
-
//#region src/controllers/cf.permission.controller.ts
|
|
1445
|
+
// src/controllers/cf.permission.controller.ts
|
|
1474
1446
|
let ConditionalFormattingPermissionController = class ConditionalFormattingPermissionController extends Disposable {
|
|
1475
1447
|
constructor(_localeService, _commandService, _sheetPermissionCheckController) {
|
|
1476
1448
|
super();
|
|
@@ -1498,8 +1470,7 @@ ConditionalFormattingPermissionController = __decorate([
|
|
|
1498
1470
|
__decorateParam(2, Inject(SheetPermissionCheckController))
|
|
1499
1471
|
], ConditionalFormattingPermissionController);
|
|
1500
1472
|
|
|
1501
|
-
|
|
1502
|
-
//#region src/controllers/cf.render.controller.ts
|
|
1473
|
+
// src/controllers/cf.render.controller.ts
|
|
1503
1474
|
let SheetsCfRenderController = class SheetsCfRenderController extends Disposable {
|
|
1504
1475
|
constructor(_sheetInterceptorService, _conditionalFormattingService, _univerInstanceService, _renderManagerService, _conditionalFormattingViewModel, _conditionalFormattingRuleModel, _conditionalFormattingRangeIndexModel) {
|
|
1505
1476
|
super();
|
|
@@ -1670,8 +1641,7 @@ SheetsCfRenderController = __decorate([
|
|
|
1670
1641
|
__decorateParam(6, Inject(ConditionalFormattingRangeIndexModel))
|
|
1671
1642
|
], SheetsCfRenderController);
|
|
1672
1643
|
|
|
1673
|
-
|
|
1674
|
-
//#region src/views/ColorPicker.tsx
|
|
1644
|
+
// src/views/ColorPicker.tsx
|
|
1675
1645
|
const ColorPicker$1 = (props) => {
|
|
1676
1646
|
const { color, onChange, disable = false, Icon = PaintBucketDoubleIcon, className, DropdownComponent = Dropdown, PickerComponent = ColorPicker } = props;
|
|
1677
1647
|
const colorKit = useMemo(() => new ColorKit(color), [color]);
|
|
@@ -1697,8 +1667,7 @@ const ColorPicker$1 = (props) => {
|
|
|
1697
1667
|
}) : renderIcon();
|
|
1698
1668
|
};
|
|
1699
1669
|
|
|
1700
|
-
|
|
1701
|
-
//#region src/views/ConditionalFormattingRulePreview.tsx
|
|
1670
|
+
// src/views/ConditionalFormattingRulePreview.tsx
|
|
1702
1671
|
/** Shows a rule's configured appearance without evaluating worksheet values. */
|
|
1703
1672
|
function ConditionalFormattingRulePreview(props) {
|
|
1704
1673
|
const { rule } = props;
|
|
@@ -1786,8 +1755,7 @@ function ConditionalFormattingRulePreview(props) {
|
|
|
1786
1755
|
}
|
|
1787
1756
|
}
|
|
1788
1757
|
|
|
1789
|
-
|
|
1790
|
-
//#region src/views/panel/rule-edit/RuleNumberInput.tsx
|
|
1758
|
+
// src/views/panel/rule-edit/RuleNumberInput.tsx
|
|
1791
1759
|
/**
|
|
1792
1760
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
1793
1761
|
*
|
|
@@ -1836,8 +1804,7 @@ function RuleNumberInput({ value, onChange, min = Number.MIN_SAFE_INTEGER, max =
|
|
|
1836
1804
|
});
|
|
1837
1805
|
}
|
|
1838
1806
|
|
|
1839
|
-
|
|
1840
|
-
//#region src/views/panel/rule-edit/styles.ts
|
|
1807
|
+
// src/views/panel/rule-edit/styles.ts
|
|
1841
1808
|
/**
|
|
1842
1809
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
1843
1810
|
*
|
|
@@ -1855,8 +1822,7 @@ function RuleNumberInput({ value, onChange, min = Number.MIN_SAFE_INTEGER, max =
|
|
|
1855
1822
|
*/
|
|
1856
1823
|
const previewClassName = clsx("univer-mt-5 univer-px-1 univer-py-2 univer-rounded", borderClassName);
|
|
1857
1824
|
|
|
1858
|
-
|
|
1859
|
-
//#region src/views/panel/rule-edit/ColorScale.tsx
|
|
1825
|
+
// src/views/panel/rule-edit/ColorScale.tsx
|
|
1860
1826
|
const createOptionItem$2 = (text) => ({
|
|
1861
1827
|
label: `sheets-conditional-formatting-ui.valueType.${text}`,
|
|
1862
1828
|
value: text
|
|
@@ -2283,8 +2249,7 @@ const ColorScaleStyleEditor = (props) => {
|
|
|
2283
2249
|
] });
|
|
2284
2250
|
};
|
|
2285
2251
|
|
|
2286
|
-
|
|
2287
|
-
//#region src/views/panel/rule-edit/DataBar.tsx
|
|
2252
|
+
// src/views/panel/rule-edit/DataBar.tsx
|
|
2288
2253
|
const createOptionItem$1 = (text) => ({
|
|
2289
2254
|
label: `sheets-conditional-formatting-ui.valueType.${text}`,
|
|
2290
2255
|
value: text
|
|
@@ -2676,8 +2641,7 @@ const DataBarStyleEditor = (props) => {
|
|
|
2676
2641
|
] });
|
|
2677
2642
|
};
|
|
2678
2643
|
|
|
2679
|
-
|
|
2680
|
-
//#region src/views/ConditionalStyleEditor.tsx
|
|
2644
|
+
// src/views/ConditionalStyleEditor.tsx
|
|
2681
2645
|
const getAnotherBooleanNumber = (v) => {
|
|
2682
2646
|
return [BooleanNumber.FALSE, void 0].includes(v) ? BooleanNumber.TRUE : BooleanNumber.FALSE;
|
|
2683
2647
|
};
|
|
@@ -2767,8 +2731,7 @@ const ConditionalStyleEditor = (props) => {
|
|
|
2767
2731
|
});
|
|
2768
2732
|
};
|
|
2769
2733
|
|
|
2770
|
-
|
|
2771
|
-
//#region src/views/panel/rule-edit/Formula.tsx
|
|
2734
|
+
// src/views/panel/rule-edit/Formula.tsx
|
|
2772
2735
|
const FormulaStyleEditor = (props) => {
|
|
2773
2736
|
var _props$rule;
|
|
2774
2737
|
const { onChange, interceptorManager, ColorPickerComponent, FormulaEditorComponent = FormulaEditor } = props;
|
|
@@ -2885,8 +2848,7 @@ const FormulaStyleEditor = (props) => {
|
|
|
2885
2848
|
});
|
|
2886
2849
|
};
|
|
2887
2850
|
|
|
2888
|
-
|
|
2889
|
-
//#region src/views/wrapper-error/WrapperError.tsx
|
|
2851
|
+
// src/views/wrapper-error/WrapperError.tsx
|
|
2890
2852
|
const WrapperError = (props) => {
|
|
2891
2853
|
return /* @__PURE__ */ jsxs("div", { children: [props.children, props.errorText && /* @__PURE__ */ jsx("div", {
|
|
2892
2854
|
className: "univer-mt-1 univer-text-xs univer-text-red-500",
|
|
@@ -2894,8 +2856,7 @@ const WrapperError = (props) => {
|
|
|
2894
2856
|
})] });
|
|
2895
2857
|
};
|
|
2896
2858
|
|
|
2897
|
-
|
|
2898
|
-
//#region src/views/panel/rule-edit/HighlightCell.tsx
|
|
2859
|
+
// src/views/panel/rule-edit/HighlightCell.tsx
|
|
2899
2860
|
const textOperators = new Set(Object.values(CFTextOperator));
|
|
2900
2861
|
const numberOperators = new Set(Object.values(CFNumberOperator));
|
|
2901
2862
|
const timePeriodOperators = new Set(Object.values(CFTimePeriodOperator));
|
|
@@ -3285,8 +3246,7 @@ const HighlightCellStyleEditor = (props) => {
|
|
|
3285
3246
|
] });
|
|
3286
3247
|
};
|
|
3287
3248
|
|
|
3288
|
-
|
|
3289
|
-
//#region src/views/panel/rule-edit/IconSet.tsx
|
|
3249
|
+
// src/views/panel/rule-edit/IconSet.tsx
|
|
3290
3250
|
const getIcon = (iconType, iconId) => {
|
|
3291
3251
|
return (iconMap[iconType] || [])[Number(iconId)] || "";
|
|
3292
3252
|
};
|
|
@@ -3785,8 +3745,7 @@ const IconSet = (props) => {
|
|
|
3785
3745
|
});
|
|
3786
3746
|
};
|
|
3787
3747
|
|
|
3788
|
-
|
|
3789
|
-
//#region src/views/panel/rule-edit/Rank.tsx
|
|
3748
|
+
// src/views/panel/rule-edit/Rank.tsx
|
|
3790
3749
|
const RankStyleEditor = (props) => {
|
|
3791
3750
|
var _props$rule;
|
|
3792
3751
|
const { onChange, interceptorManager, SelectComponent = Select, ColorPickerComponent } = props;
|
|
@@ -3982,13 +3941,11 @@ const RankStyleEditor = (props) => {
|
|
|
3982
3941
|
] });
|
|
3983
3942
|
};
|
|
3984
3943
|
|
|
3985
|
-
|
|
3986
|
-
//#region src/views/panel/rule-edit/type.ts
|
|
3944
|
+
// src/views/panel/rule-edit/type.ts
|
|
3987
3945
|
const beforeSubmit = createInterceptorKey("beforeSubmit");
|
|
3988
3946
|
const submit = createInterceptorKey("submit");
|
|
3989
3947
|
|
|
3990
|
-
|
|
3991
|
-
//#region src/views/panel/RuleEdit.tsx
|
|
3948
|
+
// src/views/panel/RuleEdit.tsx
|
|
3992
3949
|
const getUnitId = (univerInstanceService) => univerInstanceService.getCurrentUnitOfType(UniverInstanceType.UNIVER_SHEET).getUnitId();
|
|
3993
3950
|
const getSubUnitId = (univerInstanceService) => {
|
|
3994
3951
|
var _getActiveSheet;
|
|
@@ -4231,8 +4188,7 @@ const RuleEdit = (props) => {
|
|
|
4231
4188
|
] });
|
|
4232
4189
|
};
|
|
4233
4190
|
|
|
4234
|
-
|
|
4235
|
-
//#region src/utils/get-rule-describe.ts
|
|
4191
|
+
// src/utils/get-rule-describe.ts
|
|
4236
4192
|
/** Returns the localized description used by the built-in conditional formatting rule list. */
|
|
4237
4193
|
function getRuleDescribe(rule, localeService) {
|
|
4238
4194
|
const ruleConfig = rule.rule;
|
|
@@ -4268,8 +4224,7 @@ function getRuleDescribe(rule, localeService) {
|
|
|
4268
4224
|
}
|
|
4269
4225
|
}
|
|
4270
4226
|
|
|
4271
|
-
|
|
4272
|
-
//#region src/views/panel/RuleList.tsx
|
|
4227
|
+
// src/views/panel/RuleList.tsx
|
|
4273
4228
|
function RuleList(props) {
|
|
4274
4229
|
const { SelectComponent = Select } = props;
|
|
4275
4230
|
const { onClick } = props;
|
|
@@ -4497,8 +4452,7 @@ function RuleList(props) {
|
|
|
4497
4452
|
}) })] });
|
|
4498
4453
|
}
|
|
4499
4454
|
|
|
4500
|
-
|
|
4501
|
-
//#region src/views/ConditionFormattingPanel.tsx
|
|
4455
|
+
// src/views/ConditionFormattingPanel.tsx
|
|
4502
4456
|
const ConditionFormattingPanel = (props) => {
|
|
4503
4457
|
const { RuleEditComponent = RuleEdit, RuleListComponent = RuleList } = props;
|
|
4504
4458
|
const [currentEditRule, setCurrentEditRule] = useState(props.rule);
|
|
@@ -4528,8 +4482,7 @@ const ConditionFormattingPanel = (props) => {
|
|
|
4528
4482
|
});
|
|
4529
4483
|
};
|
|
4530
4484
|
|
|
4531
|
-
|
|
4532
|
-
//#region src/views/mobile/MobileColorPicker.tsx
|
|
4485
|
+
// src/views/mobile/MobileColorPicker.tsx
|
|
4533
4486
|
function MobileConditionalColorPicker(props) {
|
|
4534
4487
|
return /* @__PURE__ */ jsx(ColorPicker$1, {
|
|
4535
4488
|
...props,
|
|
@@ -4538,8 +4491,7 @@ function MobileConditionalColorPicker(props) {
|
|
|
4538
4491
|
});
|
|
4539
4492
|
}
|
|
4540
4493
|
|
|
4541
|
-
|
|
4542
|
-
//#region src/views/mobile/MobileRuleEdit.tsx
|
|
4494
|
+
// src/views/mobile/MobileRuleEdit.tsx
|
|
4543
4495
|
function MobileRuleEdit(props) {
|
|
4544
4496
|
const FormulaEditorComponent = useDependency(ComponentManager).get(EMBEDDING_FORMULA_EDITOR_COMPONENT_KEY);
|
|
4545
4497
|
return /* @__PURE__ */ jsx(RuleEdit, {
|
|
@@ -4552,8 +4504,7 @@ function MobileRuleEdit(props) {
|
|
|
4552
4504
|
});
|
|
4553
4505
|
}
|
|
4554
4506
|
|
|
4555
|
-
|
|
4556
|
-
//#region src/views/mobile/MobileRuleList.tsx
|
|
4507
|
+
// src/views/mobile/MobileRuleList.tsx
|
|
4557
4508
|
function MobileRuleList(props) {
|
|
4558
4509
|
return /* @__PURE__ */ jsx(RuleList, {
|
|
4559
4510
|
...props,
|
|
@@ -4561,8 +4512,7 @@ function MobileRuleList(props) {
|
|
|
4561
4512
|
});
|
|
4562
4513
|
}
|
|
4563
4514
|
|
|
4564
|
-
|
|
4565
|
-
//#region src/views/mobile/MobileConditionFormattingPanel.tsx
|
|
4515
|
+
// src/views/mobile/MobileConditionFormattingPanel.tsx
|
|
4566
4516
|
function MobileConditionFormattingPanel(props) {
|
|
4567
4517
|
return /* @__PURE__ */ jsx(ConditionFormattingPanel, {
|
|
4568
4518
|
...props,
|
|
@@ -4571,8 +4521,7 @@ function MobileConditionFormattingPanel(props) {
|
|
|
4571
4521
|
});
|
|
4572
4522
|
}
|
|
4573
4523
|
|
|
4574
|
-
|
|
4575
|
-
//#region src/controllers/mobile/components.controller.ts
|
|
4524
|
+
// src/controllers/mobile/components.controller.ts
|
|
4576
4525
|
/**
|
|
4577
4526
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
4578
4527
|
*
|
|
@@ -4601,15 +4550,13 @@ let MobileComponentsController = class MobileComponentsController extends Dispos
|
|
|
4601
4550
|
};
|
|
4602
4551
|
MobileComponentsController = __decorate([__decorateParam(0, Inject(ComponentManager)), __decorateParam(1, Inject(IconManager))], MobileComponentsController);
|
|
4603
4552
|
|
|
4604
|
-
|
|
4605
|
-
//#region src/menu/mobile-schema.ts
|
|
4553
|
+
// src/menu/mobile-schema.ts
|
|
4606
4554
|
const mobileMenuSchema = { [RibbonDataGroup.RULES]: { [OpenConditionalFormattingOperator.id]: {
|
|
4607
4555
|
order: 1,
|
|
4608
4556
|
menuItemFactory: FactoryManageConditionalFormattingRule
|
|
4609
4557
|
} } };
|
|
4610
4558
|
|
|
4611
|
-
|
|
4612
|
-
//#region src/menu/mobile-cf.menu.controller.ts
|
|
4559
|
+
// src/menu/mobile-cf.menu.controller.ts
|
|
4613
4560
|
/**
|
|
4614
4561
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
4615
4562
|
*
|
|
@@ -4633,8 +4580,7 @@ let ConditionalFormattingMobileMenuController = class ConditionalFormattingMobil
|
|
|
4633
4580
|
};
|
|
4634
4581
|
ConditionalFormattingMobileMenuController = __decorate([__decorateParam(0, IMenuManagerService)], ConditionalFormattingMobileMenuController);
|
|
4635
4582
|
|
|
4636
|
-
|
|
4637
|
-
//#region src/mobile-plugin.ts
|
|
4583
|
+
// src/mobile-plugin.ts
|
|
4638
4584
|
let UniverSheetsConditionalFormattingMobileUIPlugin = class UniverSheetsConditionalFormattingMobileUIPlugin extends Plugin {
|
|
4639
4585
|
constructor(_config = defaultPluginConfig, _injector, _commandService, _configService) {
|
|
4640
4586
|
super();
|
|
@@ -4703,8 +4649,7 @@ UniverSheetsConditionalFormattingMobileUIPlugin = __decorate([
|
|
|
4703
4649
|
__decorateParam(3, IConfigService)
|
|
4704
4650
|
], UniverSheetsConditionalFormattingMobileUIPlugin);
|
|
4705
4651
|
|
|
4706
|
-
|
|
4707
|
-
//#region src/controllers/cf.auto-fill.controller.ts
|
|
4652
|
+
// src/controllers/cf.auto-fill.controller.ts
|
|
4708
4653
|
let ConditionalFormattingAutoFillController = class ConditionalFormattingAutoFillController extends Disposable {
|
|
4709
4654
|
constructor(_injector, _univerInstanceService, _autoFillService, _conditionalFormattingRuleModel, _conditionalFormattingRangeTransformService) {
|
|
4710
4655
|
super();
|
|
@@ -4834,8 +4779,7 @@ ConditionalFormattingAutoFillController = __decorate([
|
|
|
4834
4779
|
__decorateParam(4, Inject(ConditionalFormattingRangeTransformService))
|
|
4835
4780
|
], ConditionalFormattingAutoFillController);
|
|
4836
4781
|
|
|
4837
|
-
|
|
4838
|
-
//#region src/controllers/cf.editor.controller.ts
|
|
4782
|
+
// src/controllers/cf.editor.controller.ts
|
|
4839
4783
|
/**
|
|
4840
4784
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
4841
4785
|
*
|
|
@@ -4893,8 +4837,7 @@ let ConditionalFormattingEditorController = class ConditionalFormattingEditorCon
|
|
|
4893
4837
|
};
|
|
4894
4838
|
ConditionalFormattingEditorController = __decorate([__decorateParam(0, Inject(SheetInterceptorService)), __decorateParam(1, Inject(ConditionalFormattingService))], ConditionalFormattingEditorController);
|
|
4895
4839
|
|
|
4896
|
-
|
|
4897
|
-
//#region src/controllers/cf.painter.controller.ts
|
|
4840
|
+
// src/controllers/cf.painter.controller.ts
|
|
4898
4841
|
const repeatByRange = (sourceRange, targetRange) => {
|
|
4899
4842
|
const getRowLength = (range) => range.endRow - range.startRow + 1;
|
|
4900
4843
|
const getColLength = (range) => range.endColumn - range.startColumn + 1;
|
|
@@ -5150,8 +5093,7 @@ ConditionalFormattingPainterController = __decorate([
|
|
|
5150
5093
|
__decorateParam(5, Inject(ConditionalFormattingRangeTransformService))
|
|
5151
5094
|
], ConditionalFormattingPainterController);
|
|
5152
5095
|
|
|
5153
|
-
|
|
5154
|
-
//#region src/controllers/cf.viewport.controller.ts
|
|
5096
|
+
// src/controllers/cf.viewport.controller.ts
|
|
5155
5097
|
let ConditionalFormattingViewportController = class ConditionalFormattingViewportController extends Disposable {
|
|
5156
5098
|
constructor(_conditionalFormattingViewModel, _univerInstanceService, _renderManagerService) {
|
|
5157
5099
|
super();
|
|
@@ -5200,8 +5142,7 @@ ConditionalFormattingViewportController = __decorate([
|
|
|
5200
5142
|
__decorateParam(2, IRenderManagerService)
|
|
5201
5143
|
], ConditionalFormattingViewportController);
|
|
5202
5144
|
|
|
5203
|
-
|
|
5204
|
-
//#region src/controllers/components.controller.ts
|
|
5145
|
+
// src/controllers/components.controller.ts
|
|
5205
5146
|
/**
|
|
5206
5147
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
5207
5148
|
*
|
|
@@ -5238,8 +5179,7 @@ let ComponentsController = class ComponentsController extends Disposable {
|
|
|
5238
5179
|
};
|
|
5239
5180
|
ComponentsController = __decorate([__decorateParam(0, Inject(ComponentManager)), __decorateParam(1, Inject(IconManager))], ComponentsController);
|
|
5240
5181
|
|
|
5241
|
-
|
|
5242
|
-
//#region src/menu/cf.menu.controller.ts
|
|
5182
|
+
// src/menu/cf.menu.controller.ts
|
|
5243
5183
|
/**
|
|
5244
5184
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
5245
5185
|
*
|
|
@@ -5264,8 +5204,7 @@ let ConditionalFormattingMenuController = class ConditionalFormattingMenuControl
|
|
|
5264
5204
|
};
|
|
5265
5205
|
ConditionalFormattingMenuController = __decorate([__decorateParam(0, IMenuManagerService)], ConditionalFormattingMenuController);
|
|
5266
5206
|
|
|
5267
|
-
|
|
5268
|
-
//#region src/plugin.ts
|
|
5207
|
+
// src/plugin.ts
|
|
5269
5208
|
let UniverSheetsConditionalFormattingUIPlugin = class UniverSheetsConditionalFormattingUIPlugin extends Plugin {
|
|
5270
5209
|
constructor(_config = defaultPluginConfig, _injector, _commandService, _configService) {
|
|
5271
5210
|
super();
|
|
@@ -5341,5 +5280,4 @@ UniverSheetsConditionalFormattingUIPlugin = __decorate([
|
|
|
5341
5280
|
__decorateParam(3, IConfigService)
|
|
5342
5281
|
], UniverSheetsConditionalFormattingUIPlugin);
|
|
5343
5282
|
|
|
5344
|
-
//#endregion
|
|
5345
5283
|
export { AddAverageCfCommand, AddColorScaleConditionalRuleCommand, AddDataBarConditionalRuleCommand, AddDuplicateValuesCfCommand, AddIconSetConditionalRuleCommand, AddNumberCfCommand, AddRankCfCommand, AddTextCfCommand, AddTimePeriodCfCommand, AddUniqueValuesCfCommand, CF_PANEL_KEY, ConditionalFormattingClearController, ConditionalFormattingRulePreview, OpenConditionalFormattingOperator, menuSchema as SheetsConditionalFormattingUIMenuSchema, UniverSheetsConditionalFormattingMobileUIPlugin, UniverSheetsConditionalFormattingUIPlugin, getRuleDescribe };
|
package/lib/locale/ar-SA.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/ar-SA.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting-ui": {
|
|
3
3
|
title: "التنسيق الشرطي",
|
|
4
4
|
menu: {
|
|
@@ -151,5 +151,4 @@ const locale = { "sheets-conditional-formatting-ui": {
|
|
|
151
151
|
permission: { dialog: { setStyleErr: "النطاق محمي، وليس لديك الإذن بتعيين الأنماط. لتعيين الأنماط، يُرجى التواصل مع المنشئ." } }
|
|
152
152
|
} };
|
|
153
153
|
|
|
154
|
-
//#endregion
|
|
155
154
|
export { locale as default };
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/ca-ES.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting-ui": {
|
|
3
3
|
title: "Format condicional",
|
|
4
4
|
menu: {
|
|
@@ -151,5 +151,4 @@ const locale = { "sheets-conditional-formatting-ui": {
|
|
|
151
151
|
permission: { dialog: { setStyleErr: "L'interval està protegit i no teniu permís per establir estils. Per establir estils, contacteu amb el creador." } }
|
|
152
152
|
} };
|
|
153
153
|
|
|
154
|
-
//#endregion
|
|
155
154
|
export { locale as default };
|
package/lib/locale/de-DE.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/de-DE.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting-ui": {
|
|
3
3
|
title: "Bedingte Formatierung",
|
|
4
4
|
menu: {
|
|
@@ -151,5 +151,4 @@ const locale = { "sheets-conditional-formatting-ui": {
|
|
|
151
151
|
permission: { dialog: { setStyleErr: "Der Bereich ist geschützt und Sie haben keine Berechtigung, Stile festzulegen. Um Stile festzulegen, wenden Sie sich bitte an den Ersteller." } }
|
|
152
152
|
} };
|
|
153
153
|
|
|
154
|
-
//#endregion
|
|
155
154
|
export { locale as default };
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/en-US.ts
|
|
2
2
|
/**
|
|
3
3
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
4
4
|
*
|
|
@@ -166,5 +166,4 @@ const locale = { "sheets-conditional-formatting-ui": {
|
|
|
166
166
|
permission: { dialog: { setStyleErr: "The range is protected, and you do not have permission to set styles. To set styles, please contact the creator." } }
|
|
167
167
|
} };
|
|
168
168
|
|
|
169
|
-
//#endregion
|
|
170
169
|
export { locale as default };
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/es-ES.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting-ui": {
|
|
3
3
|
title: "Formato condicional",
|
|
4
4
|
menu: {
|
|
@@ -151,5 +151,4 @@ const locale = { "sheets-conditional-formatting-ui": {
|
|
|
151
151
|
permission: { dialog: { setStyleErr: "El rango está protegido y no tienes permiso para establecer estilos. Para establecer estilos, contacta al creador." } }
|
|
152
152
|
} };
|
|
153
153
|
|
|
154
|
-
//#endregion
|
|
155
154
|
export { locale as default };
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/fa-IR.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting-ui": {
|
|
3
3
|
title: "قالببندی شرطی",
|
|
4
4
|
menu: {
|
|
@@ -151,5 +151,4 @@ const locale = { "sheets-conditional-formatting-ui": {
|
|
|
151
151
|
permission: { dialog: { setStyleErr: "محدوده محافظت شده است و شما مجوز تنظیم سبکها را ندارید. برای تنظیم سبکها، لطفا با سازنده تماس بگیرید." } }
|
|
152
152
|
} };
|
|
153
153
|
|
|
154
|
-
//#endregion
|
|
155
154
|
export { locale as default };
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/fr-FR.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting-ui": {
|
|
3
3
|
title: "Mise en forme conditionnelle",
|
|
4
4
|
menu: {
|
|
@@ -151,5 +151,4 @@ const locale = { "sheets-conditional-formatting-ui": {
|
|
|
151
151
|
permission: { dialog: { setStyleErr: "La plage est protégée, et vous n'avez pas la permission de définir les styles. Pour définir les styles, veuillez contacter le créateur." } }
|
|
152
152
|
} };
|
|
153
153
|
|
|
154
|
-
//#endregion
|
|
155
154
|
export { locale as default };
|