@univerjs/sheets-conditional-formatting-ui 0.3.0 → 0.4.0-alpha.1
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 +3 -3
- package/lib/es/index.js +227 -152
- package/lib/locale/fa-IR.json +158 -0
- package/lib/types/controllers/cf.auto-fill.controller.d.ts +1 -1
- package/lib/types/controllers/cf.clear.controller.d.ts +2 -2
- package/lib/types/controllers/cf.copy-paste.controller.d.ts +1 -1
- package/lib/types/controllers/cf.i18n.controller.d.ts +1 -1
- package/lib/types/controllers/cf.panel.controller.d.ts +1 -1
- package/lib/types/locale/fa-IR.d.ts +3 -0
- package/lib/types/plugin.d.ts +4 -1
- package/lib/umd/index.js +3 -3
- package/package.json +16 -27
|
@@ -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 {
|
|
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;
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -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
|
}
|