@univerjs/sheets-conditional-formatting-ui 0.3.0 → 0.4.0-alpha.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/es/index.js CHANGED
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value;
3
3
  var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key != "symbol" ? key + "" : key, value);
5
- import { CommandType, ICommandService, IUniverInstanceService, IUndoRedoService, ObjectMatrix, Range, sequenceExecute, ColorKit, BooleanNumber, OnLifecycle, LifecycleStages, Inject, LocaleService, Disposable, useDependency, Injector, UniverInstanceType, Rectangle, createInternalEditorID, Tools, get, set, createInterceptorKey, InterceptorManager, generateRandomId, InterceptorEffectEnum, toDisposable, DependentOn, Plugin, IConfigService, BuildTextUtils } from "@univerjs/core";
5
+ import { CommandType, ICommandService, IUniverInstanceService, IUndoRedoService, ObjectMatrix, Range, sequenceExecute, ColorKit, BooleanNumber, Inject, LocaleService, Disposable, useDependency, Injector, UniverInstanceType, Rectangle, createInternalEditorID, Tools, get, set, createInterceptorKey, InterceptorManager, generateRandomId, InterceptorEffectEnum, toDisposable, DependentOn, Plugin, IConfigService, BuildTextUtils, registerDependencies, touchDependencies } from "@univerjs/core";
6
6
  import { ConditionalFormattingRuleModel, CFRuleType, CFSubRuleType, AddConditionalRuleMutation, CFNumberOperator, setConditionalRuleMutationUndoFactory, SetConditionalRuleMutation, DeleteConditionalRuleMutationUndoFactory, DeleteConditionalRuleMutation, transformSupportSymmetryAnchor, MoveConditionalRuleMutationUndoFactory, MoveConditionalRuleMutation, getColorScaleFromValue, iconMap, DEFAULT_BG_COLOR, DEFAULT_FONT_COLOR, defaultDataBarPositiveColor, defaultDataBarNativeColor, AddConditionalRuleMutationUndoFactory, CFValueType, createDefaultValueByValueType, SHEET_CONDITIONAL_FORMATTING_PLUGIN, removeUndefinedAttr, createDefaultValue, CFTextOperator, CFTimePeriodOperator, iconGroup, getOppositeOperator, compareWithNumber, EMPTY_ICON_TYPE, createDefaultRule, ConditionalFormattingService, ConditionalFormattingViewModel, DEFAULT_PADDING, DEFAULT_WIDTH, isRangesEqual, UniverSheetsConditionalFormattingPlugin } from "@univerjs/sheets-conditional-formatting";
7
7
  import { getSheetCommandTarget, SheetsSelectionsService, findAllRectangle, createTopMatrixFromMatrix, SetWorksheetActiveOperation, SetSelectionsOperation, checkRangesEditablePermission, RemoveSheetMutation, setEndForRange, SheetInterceptorService, INTERCEPTOR_POINT, RefRangeService, handleDefaultRangeChangeWithEffectRefCommands, WorkbookEditablePermission, RangeProtectionPermissionEditPoint, WorksheetEditPermission, WorksheetSetCellStylePermission, ClearSelectionFormatCommand, ClearSelectionAllCommand, RangeMergeUtil } from "@univerjs/sheets";
8
8
  import { useObservable, ComponentManager, ILayoutService, useScrollYOverContainer, ISidebarService, MenuItemType, getMenuHiddenObservable, RibbonStartGroup, IMenuManagerService } from "@univerjs/ui";
@@ -4587,7 +4587,6 @@ let ConditionalFormattingI18nController = (_a2 = class extends Disposable {
4587
4587
  }
4588
4588
  }, __name(_a2, "ConditionalFormattingI18nController"), _a2);
4589
4589
  ConditionalFormattingI18nController = __decorateClass$c([
4590
- OnLifecycle(LifecycleStages.Rendered, ConditionalFormattingI18nController),
4591
4590
  __decorateParam$c(0, Inject(LocaleService))
4592
4591
  ], ConditionalFormattingI18nController);
4593
4592
  const cfRuleList = "univer-cf-rule-list", ruleSelector = "univer-rule-selector", select = "univer-select", selectSelector = "univer-select-selector", selectSelectionItem = "univer-select-selection-item", selectSelectionSearchInput = "univer-select-selection-search-input", btnList$1 = "univer-btn-list", gap = "univer-gap", icon$1 = "univer-icon", disabled = "univer-disabled", ruleItem = "univer-rule-item", ruleDescribe = "univer-rule-describe", ruleType = "univer-rule-type", ruleRange = "univer-rule-range", active = "univer-active", draggableHandle = "univer-draggableHandle", deleteItem = "univer-delete-item", gridLayoutWrap = "univer-grid-layout-wrap", reactGridItem = "univer-react-grid-item", styles$3 = {
@@ -6181,7 +6180,6 @@ let ConditionalFormattingPanelController = (_a3 = class extends Disposable {
6181
6180
  }
6182
6181
  }, __name(_a3, "ConditionalFormattingPanelController"), _a3);
6183
6182
  ConditionalFormattingPanelController = __decorateClass$b([
6184
- OnLifecycle(LifecycleStages.Ready, ConditionalFormattingPanelController),
6185
6183
  __decorateParam$b(0, IUniverInstanceService),
6186
6184
  __decorateParam$b(1, Inject(Injector)),
6187
6185
  __decorateParam$b(2, Inject(ComponentManager)),
@@ -6421,7 +6419,6 @@ let SheetsCfRenderController = (_a4 = class extends Disposable {
6421
6419
  }
6422
6420
  }, __name(_a4, "SheetsCfRenderController"), _a4);
6423
6421
  SheetsCfRenderController = __decorateClass$a([
6424
- OnLifecycle(LifecycleStages.Starting, SheetsCfRenderController),
6425
6422
  __decorateParam$a(0, Inject(SheetInterceptorService)),
6426
6423
  __decorateParam$a(1, Inject(ConditionalFormattingService)),
6427
6424
  __decorateParam$a(2, Inject(IUniverInstanceService)),
@@ -6588,7 +6585,6 @@ let ConditionalFormattingCopyPasteController = (_a5 = class extends Disposable {
6588
6585
  }
6589
6586
  }, __name(_a5, "ConditionalFormattingCopyPasteController"), _a5);
6590
6587
  ConditionalFormattingCopyPasteController = __decorateClass$9([
6591
- OnLifecycle(LifecycleStages.Rendered, ConditionalFormattingCopyPasteController),
6592
6588
  __decorateParam$9(0, Inject(ISheetClipboardService)),
6593
6589
  __decorateParam$9(1, Inject(ConditionalFormattingRuleModel)),
6594
6590
  __decorateParam$9(2, Inject(Injector)),
@@ -6649,7 +6645,6 @@ let SheetsCfRefRangeController = (_a6 = class extends Disposable {
6649
6645
  }
6650
6646
  }, __name(_a6, "SheetsCfRefRangeController"), _a6);
6651
6647
  SheetsCfRefRangeController = __decorateClass$8([
6652
- OnLifecycle(LifecycleStages.Rendered, SheetsCfRefRangeController),
6653
6648
  __decorateParam$8(0, Inject(ConditionalFormattingRuleModel)),
6654
6649
  __decorateParam$8(1, Inject(IUniverInstanceService)),
6655
6650
  __decorateParam$8(2, Inject(Injector)),
@@ -6677,7 +6672,6 @@ let ConditionalFormattingPermissionController = (_a7 = class extends Disposable
6677
6672
  }
6678
6673
  }, __name(_a7, "ConditionalFormattingPermissionController"), _a7);
6679
6674
  ConditionalFormattingPermissionController = __decorateClass$7([
6680
- OnLifecycle(LifecycleStages.Rendered, ConditionalFormattingPermissionController),
6681
6675
  __decorateParam$7(0, Inject(LocaleService)),
6682
6676
  __decorateParam$7(1, ICommandService),
6683
6677
  __decorateParam$7(2, Inject(SheetPermissionInterceptorBaseController))
@@ -6857,7 +6851,6 @@ let ConditionalFormattingAutoFillController = (_a9 = class extends Disposable {
6857
6851
  }
6858
6852
  }, __name(_a9, "ConditionalFormattingAutoFillController"), _a9);
6859
6853
  ConditionalFormattingAutoFillController = __decorateClass$5([
6860
- OnLifecycle(LifecycleStages.Rendered, ConditionalFormattingAutoFillController),
6861
6854
  __decorateParam$5(0, Inject(Injector)),
6862
6855
  __decorateParam$5(1, Inject(IUniverInstanceService)),
6863
6856
  __decorateParam$5(2, Inject(IAutoFillService)),
@@ -6908,7 +6901,6 @@ let ConditionalFormattingClearController = (_a10 = class extends Disposable {
6908
6901
  }
6909
6902
  }, __name(_a10, "ConditionalFormattingClearController"), _a10);
6910
6903
  ConditionalFormattingClearController = __decorateClass$4([
6911
- OnLifecycle(LifecycleStages.Rendered, ConditionalFormattingClearController),
6912
6904
  __decorateParam$4(0, Inject(Injector)),
6913
6905
  __decorateParam$4(1, Inject(IUniverInstanceService)),
6914
6906
  __decorateParam$4(2, Inject(SheetInterceptorService)),
@@ -6986,7 +6978,6 @@ let ConditionalFormattingEditorController = (_a11 = class extends Disposable {
6986
6978
  }
6987
6979
  }, __name(_a11, "ConditionalFormattingEditorController"), _a11);
6988
6980
  ConditionalFormattingEditorController = __decorateClass$3([
6989
- OnLifecycle(LifecycleStages.Rendered, ConditionalFormattingEditorController),
6990
6981
  __decorateParam$3(0, Inject(IEditorBridgeService)),
6991
6982
  __decorateParam$3(1, Inject(ConditionalFormattingService))
6992
6983
  ], ConditionalFormattingEditorController);
@@ -7115,7 +7106,6 @@ let ConditionalFormattingMenuController = (_a12 = class extends Disposable {
7115
7106
  }
7116
7107
  }, __name(_a12, "ConditionalFormattingMenuController"), _a12);
7117
7108
  ConditionalFormattingMenuController = __decorateClass$2([
7118
- OnLifecycle(LifecycleStages.Ready, ConditionalFormattingMenuController),
7119
7109
  __decorateParam$2(0, Inject(Injector)),
7120
7110
  __decorateParam$2(1, IMenuManagerService)
7121
7111
  ], ConditionalFormattingMenuController);
@@ -7328,7 +7318,6 @@ let ConditionalFormattingPainterController = (_a13 = class extends Disposable {
7328
7318
  }
7329
7319
  }, __name(_a13, "ConditionalFormattingPainterController"), _a13);
7330
7320
  ConditionalFormattingPainterController = __decorateClass$1([
7331
- OnLifecycle(LifecycleStages.Rendered, ConditionalFormattingPainterController),
7332
7321
  __decorateParam$1(0, Inject(Injector)),
7333
7322
  __decorateParam$1(1, Inject(IUniverInstanceService)),
7334
7323
  __decorateParam$1(2, Inject(IFormatPainterService)),
@@ -7345,7 +7334,42 @@ let UniverSheetsConditionalFormattingUIPlugin = (_a14 = class extends Plugin {
7345
7334
  constructor(_config = defaultPluginConfig, _injector, _commandService, _configService) {
7346
7335
  super(), this._config = _config, this._injector = _injector, this._commandService = _commandService, this._configService = _configService;
7347
7336
  const { menu, ...rest } = this._config;
7348
- menu && this._configService.setConfig("menu", menu, { merge: !0 }), this._configService.setConfig(PLUGIN_CONFIG_KEY, rest), this._initCommand(), this._injector.add([SheetsCfRenderController]), this._injector.add([SheetsCfRefRangeController]), this._injector.add([ConditionalFormattingCopyPasteController]), this._injector.add([ConditionalFormattingAutoFillController]), this._injector.add([ConditionalFormattingPermissionController]), this._injector.add([ConditionalFormattingPanelController]), this._injector.add([ConditionalFormattingMenuController]), this._injector.add([ConditionalFormattingI18nController]), this._injector.add([ConditionalFormattingEditorController]), this._injector.add([ConditionalFormattingClearController]), this._injector.add([ConditionalFormattingPainterController]);
7337
+ menu && this._configService.setConfig("menu", menu, { merge: !0 }), this._configService.setConfig(PLUGIN_CONFIG_KEY, rest), this._initCommand();
7338
+ }
7339
+ onStarting() {
7340
+ registerDependencies(this._injector, [
7341
+ [SheetsCfRenderController],
7342
+ [SheetsCfRefRangeController],
7343
+ [ConditionalFormattingCopyPasteController],
7344
+ [ConditionalFormattingAutoFillController],
7345
+ [ConditionalFormattingPermissionController],
7346
+ [ConditionalFormattingPanelController],
7347
+ [ConditionalFormattingMenuController],
7348
+ [ConditionalFormattingI18nController],
7349
+ [ConditionalFormattingEditorController],
7350
+ [ConditionalFormattingClearController],
7351
+ [ConditionalFormattingPainterController]
7352
+ ]), touchDependencies(this._injector, [
7353
+ [SheetsCfRenderController]
7354
+ ]);
7355
+ }
7356
+ onReady() {
7357
+ touchDependencies(this._injector, [
7358
+ [ConditionalFormattingMenuController],
7359
+ [ConditionalFormattingPanelController]
7360
+ ]);
7361
+ }
7362
+ onRendered() {
7363
+ touchDependencies(this._injector, [
7364
+ [ConditionalFormattingAutoFillController],
7365
+ [ConditionalFormattingClearController],
7366
+ [ConditionalFormattingCopyPasteController],
7367
+ [ConditionalFormattingEditorController],
7368
+ [ConditionalFormattingI18nController],
7369
+ [ConditionalFormattingPainterController],
7370
+ [ConditionalFormattingPermissionController],
7371
+ [SheetsCfRefRangeController]
7372
+ ]);
7349
7373
  }
7350
7374
  _initCommand() {
7351
7375
  [
@@ -0,0 +1,158 @@
1
+ {
2
+ "sheet": {
3
+ "cf": {
4
+ "title": "قالب‌بندی شرطی",
5
+ "menu": {
6
+ "manageConditionalFormatting": "مدیریت قالب‌بندی شرطی",
7
+ "createConditionalFormatting": "ایجاد قالب‌بندی شرطی",
8
+ "clearRangeRules": "پاک کردن قوانین برای محدوده انتخاب شده",
9
+ "clearWorkSheetRules": "پاک کردن قوانین برای کل برگ"
10
+ },
11
+ "form": {
12
+ "lessThan": "مقدار باید کمتر از {0} باشد",
13
+ "lessThanOrEqual": "مقدار باید کمتر از یا برابر با {0} باشد",
14
+ "greaterThan": "مقدار باید بزرگتر از {0} باشد",
15
+ "greaterThanOrEqual": "مقدار باید بزرگتر از یا برابر با {0} باشد",
16
+ "rangeSelector": "انتخاب محدوده یا وارد کردن مقدار"
17
+ },
18
+ "iconSet": {
19
+ "direction": "جهت",
20
+ "shape": "شکل",
21
+ "mark": "علامت",
22
+ "rank": "رتبه",
23
+ "rule": "قانون",
24
+ "icon": "آیکون",
25
+ "type": "نوع",
26
+ "value": "مقدار",
27
+ "reverseIconOrder": "معکوس کردن ترتیب آیکون",
28
+ "and": "و",
29
+ "when": "هنگامی که",
30
+ "onlyShowIcon": "فقط نمایش آیکون"
31
+ },
32
+ "symbol": {
33
+ "greaterThan": ">",
34
+ "greaterThanOrEqual": ">=",
35
+ "lessThan": "<",
36
+ "lessThanOrEqual": "<="
37
+ },
38
+ "panel": {
39
+ "createRule": "ایجاد قانون",
40
+ "clear": "پاک کردن همه قوانین",
41
+ "range": "اعمال محدوده",
42
+ "styleType": "نوع سبک",
43
+ "submit": "ارسال",
44
+ "cancel": "انصراف",
45
+ "rankAndAverage": "بالا/پایین/میانگین",
46
+ "styleRule": "قانون سبک",
47
+ "isNotBottom": "بالا",
48
+ "isBottom": "پایین",
49
+ "greaterThanAverage": "بزرگتر از میانگین",
50
+ "lessThanAverage": "کوچکتر از میانگین",
51
+ "medianValue": "مقدار میانه",
52
+ "fillType": "نوع پر کردن",
53
+ "pureColor": "رنگ جامد",
54
+ "gradient": "شیب رنگی",
55
+ "colorSet": "مجموعه رنگ",
56
+ "positive": "مثبت",
57
+ "native": "منفی",
58
+ "workSheet": "کل برگ",
59
+ "selectedRange": "محدوده انتخاب شده",
60
+ "managerRuleSelect": "مدیریت {0} قوانین",
61
+ "onlyShowDataBar": "فقط نمایش نوار داده"
62
+ },
63
+ "preview": {
64
+ "describe": {
65
+ "beginsWith": "با {0} شروع می‌شود",
66
+ "endsWith": "با {0} پایان می‌یابد",
67
+ "containsText": "شامل متن {0} است",
68
+ "notContainsText": "شامل متن {0} نیست",
69
+ "equal": "برابر است با {0}",
70
+ "notEqual": "برابر نیست با {0}",
71
+ "containsBlanks": "شامل مقادیر خالی است",
72
+ "notContainsBlanks": "شامل مقادیر خالی نیست",
73
+ "containsErrors": "شامل خطاها است",
74
+ "notContainsErrors": "شامل خطاها نیست",
75
+ "greaterThan": "بزرگتر از {0}",
76
+ "greaterThanOrEqual": "بزرگتر از یا برابر با {0}",
77
+ "lessThan": "کوچکتر از {0}",
78
+ "lessThanOrEqual": "کوچکتر از یا برابر با {0}",
79
+ "notBetween": "بین {0} و {1} نیست",
80
+ "between": "بین {0} و {1}",
81
+ "yesterday": "دیروز",
82
+ "tomorrow": "فردا",
83
+ "last7Days": "7 روز گذشته",
84
+ "thisMonth": "این ماه",
85
+ "lastMonth": "ماه گذشته",
86
+ "nextMonth": "ماه آینده",
87
+ "thisWeek": "این هفته",
88
+ "lastWeek": "هفته گذشته",
89
+ "nextWeek": "هفته آینده",
90
+ "today": "امروز",
91
+ "topN": "{0} برتر",
92
+ "bottomN": "{0} پایین‌تر",
93
+ "topNPercent": "{0}% برتر",
94
+ "bottomNPercent": "{0}% پایین‌تر"
95
+ }
96
+ },
97
+ "operator": {
98
+ "beginsWith": "با ... شروع می‌شود",
99
+ "endsWith": "با ... پایان می‌یابد",
100
+ "containsText": "شامل متن ... است",
101
+ "notContainsText": "شامل متن ... نیست",
102
+ "equal": "برابر است با",
103
+ "notEqual": "برابر نیست با",
104
+ "containsBlanks": "شامل مقادیر خالی است",
105
+ "notContainsBlanks": "شامل مقادیر خالی نیست",
106
+ "containsErrors": "شامل خطاها است",
107
+ "notContainsErrors": "شامل خطاها نیست",
108
+ "greaterThan": "بزرگتر از",
109
+ "greaterThanOrEqual": "بزرگتر از یا برابر با",
110
+ "lessThan": "کوچکتر از",
111
+ "lessThanOrEqual": "کوچکتر از یا برابر با",
112
+ "notBetween": "بین ... و ... نیست",
113
+ "between": "بین ... و ...",
114
+ "yesterday": "دیروز",
115
+ "tomorrow": "فردا",
116
+ "last7Days": "7 روز گذشته",
117
+ "thisMonth": "این ماه",
118
+ "lastMonth": "ماه گذشته",
119
+ "nextMonth": "ماه آینده",
120
+ "thisWeek": "این هفته",
121
+ "lastWeek": "هفته گذشته",
122
+ "nextWeek": "هفته آینده",
123
+ "today": "امروز"
124
+ },
125
+ "ruleType": {
126
+ "highlightCell": "برجسته کردن سلول",
127
+ "dataBar": "نوار داده",
128
+ "colorScale": "مقیاس رنگی",
129
+ "formula": "فرمول سفارشی",
130
+ "iconSet": "مجموعه آیکون",
131
+ "duplicateValues": "مقادیر تکراری",
132
+ "uniqueValues": "مقادیر منحصربه‌فرد"
133
+ },
134
+ "subRuleType": {
135
+ "uniqueValues": "مقادیر منحصربه‌فرد",
136
+ "duplicateValues": "مقادیر تکراری",
137
+ "rank": "رتبه",
138
+ "text": "متن",
139
+ "timePeriod": "دوره زمانی",
140
+ "number": "عدد",
141
+ "average": "میانگین"
142
+ },
143
+ "valueType": {
144
+ "num": "عدد",
145
+ "min": "حداقل",
146
+ "max": "حداکثر",
147
+ "percent": "درصد",
148
+ "percentile": "درصد صدک",
149
+ "formula": "فرمول",
150
+ "none": "هیچ کدام"
151
+ },
152
+ "errorMessage": {
153
+ "notBlank": "شرط نمی‌تواند خالی باشد",
154
+ "formulaError": "فرمول اشتباه"
155
+ }
156
+ }
157
+ }
158
+ }
@@ -1,6 +1,6 @@
1
1
  import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
2
- import { IAutoFillService } from '@univerjs/sheets-ui';
3
2
  import { ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
3
+ import { IAutoFillService } from '@univerjs/sheets-ui';
4
4
  export declare class ConditionalFormattingAutoFillController extends Disposable {
5
5
  private _injector;
6
6
  private _univerInstanceService;
@@ -1,6 +1,6 @@
1
- import { Disposable, Injector, IUniverInstanceService, IMutationInfo, IRange } from '@univerjs/core';
1
+ import { IMutationInfo, IRange, Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
2
+ import { IConditionalFormattingRuleConfig, IConditionFormattingRule, ConditionalFormattingRuleModel } from '@univerjs/sheets-conditional-formatting';
2
3
  import { SheetInterceptorService, SheetsSelectionsService } from '@univerjs/sheets';
3
- import { ConditionalFormattingRuleModel, IConditionalFormattingRuleConfig, IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
4
4
  export declare class ConditionalFormattingClearController extends Disposable {
5
5
  private _injector;
6
6
  private _univerInstanceService;
@@ -1,6 +1,6 @@
1
1
  import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
2
- import { ISheetClipboardService } from '@univerjs/sheets-ui';
3
2
  import { ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
3
+ import { ISheetClipboardService } from '@univerjs/sheets-ui';
4
4
  export declare class ConditionalFormattingCopyPasteController extends Disposable {
5
5
  private _sheetClipboardService;
6
6
  private _conditionalFormattingRuleModel;
@@ -1,5 +1,5 @@
1
- import { Disposable, LocaleService } from '@univerjs/core';
2
1
  import { ReactNode } from 'react';
2
+ import { Disposable, LocaleService } from '@univerjs/core';
3
3
  export declare class ConditionalFormattingI18nController extends Disposable {
4
4
  private _localeService;
5
5
  constructor(_localeService: LocaleService);
@@ -1,6 +1,6 @@
1
+ import { IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
1
2
  import { Disposable, Injector, IUniverInstanceService, LocaleService } from '@univerjs/core';
2
3
  import { ComponentManager, ISidebarService } from '@univerjs/ui';
3
- import { IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
4
4
  export declare class ConditionalFormattingPanelController extends Disposable {
5
5
  private readonly _univerInstanceService;
6
6
  private _injector;
@@ -0,0 +1,3 @@
1
+ import { default as zhCN } from './zh-CN';
2
+ declare const locale: typeof zhCN;
3
+ export default locale;
@@ -1,5 +1,5 @@
1
- import { ICommandService, IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
2
1
  import { IUniverSheetsConditionalFormattingUIConfig } from './controllers/config.schema';
2
+ import { ICommandService, IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
3
3
  export declare class UniverSheetsConditionalFormattingUIPlugin extends Plugin {
4
4
  private readonly _config;
5
5
  readonly _injector: Injector;
@@ -8,5 +8,8 @@ export declare class UniverSheetsConditionalFormattingUIPlugin extends Plugin {
8
8
  static pluginName: string;
9
9
  static type: UniverInstanceType;
10
10
  constructor(_config: Partial<IUniverSheetsConditionalFormattingUIConfig> | undefined, _injector: Injector, _commandService: ICommandService, _configService: IConfigService);
11
+ onStarting(): void;
12
+ onReady(): void;
13
+ onRendered(): void;
11
14
  private _initCommand;
12
15
  }