@univerjs/sheets-conditional-formatting-ui 0.2.2 → 0.2.4-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.
@@ -0,0 +1,158 @@
1
+ {
2
+ "sheet": {
3
+ "cf": {
4
+ "title": "Định dạng có điều kiện",
5
+ "menu": {
6
+ "manageConditionalFormatting": "Quản lý định dạng có điều kiện",
7
+ "createConditionalFormatting": "Tạo định dạng có điều kiện mới",
8
+ "clearRangeRules": "Xóa quy tắc cho vùng chọn",
9
+ "clearWorkSheetRules": "Xóa quy tắc cho toàn bộ bảng tính"
10
+ },
11
+ "form": {
12
+ "lessThan": "Giá trị phải nhỏ hơn {0}",
13
+ "lessThanOrEqual": "Giá trị phải nhỏ hơn hoặc bằng {0}",
14
+ "greaterThan": "Giá trị phải lớn hơn {0}",
15
+ "greaterThanOrEqual": "Giá trị phải lớn hơn hoặc bằng {0}",
16
+ "rangeSelector": "Chọn phạm vi hoặc nhập giá trị"
17
+ },
18
+ "iconSet": {
19
+ "direction": "Hướng",
20
+ "shape": "Hình dạng",
21
+ "mark": "Dấu",
22
+ "rank": "Hạng",
23
+ "rule": "Quy tắc",
24
+ "icon": "Biểu tượng",
25
+ "type": "Loại",
26
+ "value": "Giá trị",
27
+ "reverseIconOrder": "Đảo ngược thứ tự biểu tượng",
28
+ "and": "Và",
29
+ "when": "Khi giá trị",
30
+ "onlyShowIcon": "Chỉ hiển thị biểu tượng"
31
+ },
32
+ "symbol": {
33
+ "greaterThan": ">",
34
+ "greaterThanOrEqual": ">=",
35
+ "lessThan": "<",
36
+ "lessThanOrEqual": "<="
37
+ },
38
+ "panel": {
39
+ "createRule": "Tạo quy tắc mới",
40
+ "clear": "Xóa tất cả quy tắc",
41
+ "range": "Phạm vi áp dụng",
42
+ "styleType": "Loại kiểu",
43
+ "submit": "Xác nhận",
44
+ "cancel": "Hủy bỏ",
45
+ "rankAndAverage": "Đầu / Cuối / Giá trị trung bình",
46
+ "styleRule": "Quy tắc kiểu",
47
+ "isNotBottom": "Đầu",
48
+ "isBottom": "Cuối",
49
+ "greaterThanAverage": "Lớn hơn giá trị trung bình",
50
+ "lessThanAverage": "Nhỏ hơn giá trị trung bình",
51
+ "medianValue": "Giá trị trung vị",
52
+ "fillType": "Cách thức điền",
53
+ "pureColor": "Màu thuần",
54
+ "gradient": "Chuyển màu",
55
+ "colorSet": "Thiết lập màu sắc",
56
+ "positive": "Giá trị dương",
57
+ "native": "Giá trị âm",
58
+ "workSheet": "Toàn bộ bảng tính",
59
+ "selectedRange": "Vùng chọn",
60
+ "managerRuleSelect": "Quản lý quy tắc của {0}",
61
+ "onlyShowDataBar": "Chỉ hiển thị thanh dữ liệu"
62
+ },
63
+ "preview": {
64
+ "describe": {
65
+ "beginsWith": "Bắt đầu với {0}",
66
+ "endsWith": "Kết thúc với {0}",
67
+ "containsText": "Chứa văn bản {0}",
68
+ "notContainsText": "Không chứa văn bản {0}",
69
+ "equal": "Bằng {0}",
70
+ "notEqual": "Không bằng {0}",
71
+ "containsBlanks": "Rỗng",
72
+ "notContainsBlanks": "Không rỗng",
73
+ "containsErrors": "Lỗi",
74
+ "notContainsErrors": "Không lỗi",
75
+ "greaterThan": "Lớn hơn {0}",
76
+ "greaterThanOrEqual": "Lớn hơn hoặc bằng {0}",
77
+ "lessThan": "Nhỏ hơn {0}",
78
+ "lessThanOrEqual": "Nhỏ hơn hoặc bằng {0}",
79
+ "notBetween": "Không nằm giữa {0} và {1}",
80
+ "between": "Nằm giữa {0} và {1}",
81
+ "yesterday": "Hôm qua",
82
+ "tomorrow": "Ngày mai",
83
+ "last7Days": "7 ngày qua",
84
+ "thisMonth": "Tháng này",
85
+ "lastMonth": "Tháng trước",
86
+ "nextMonth": "Tháng sau",
87
+ "thisWeek": "Tuần này",
88
+ "lastWeek": "Tuần trước",
89
+ "nextWeek": "Tuần sau",
90
+ "today": "Hôm nay",
91
+ "topN": "Top {0}",
92
+ "bottomN": "Cuối {0}",
93
+ "topNPercent": "Top {0}%",
94
+ "bottomNPercent": "Cuối {0}%"
95
+ }
96
+ },
97
+ "operator": {
98
+ "beginsWith": "Bắt đầu với",
99
+ "endsWith": "Kết thúc với",
100
+ "containsText": "Chứa văn bản",
101
+ "notContainsText": "Không chứa văn bản",
102
+ "equal": "Bằng",
103
+ "notEqual": "Không bằng",
104
+ "containsBlanks": "Rỗng",
105
+ "notContainsBlanks": "Không rỗng",
106
+ "containsErrors": "Lỗi",
107
+ "notContainsErrors": "Không lỗi",
108
+ "greaterThan": "Lớn hơn",
109
+ "greaterThanOrEqual": "Lớn hơn hoặc bằng",
110
+ "lessThan": "Nhỏ hơn",
111
+ "lessThanOrEqual": "Nhỏ hơn hoặc bằng",
112
+ "notBetween": "Không nằm giữa",
113
+ "between": "Nằm giữa",
114
+ "yesterday": "Hôm qua",
115
+ "tomorrow": "Ngày mai",
116
+ "last7Days": "7 ngày qua",
117
+ "thisMonth": "Tháng này",
118
+ "lastMonth": "Tháng trước",
119
+ "nextMonth": "Tháng sau",
120
+ "thisWeek": "Tuần này",
121
+ "lastWeek": "Tuần trước",
122
+ "nextWeek": "Tuần sau",
123
+ "today": "Hôm nay"
124
+ },
125
+ "ruleType": {
126
+ "highlightCell": "Làm nổi bật ô",
127
+ "dataBar": "Thanh dữ liệu",
128
+ "colorScale": "Thang màu",
129
+ "formula": "Công thức tùy chỉnh",
130
+ "iconSet": "Tập hợp biểu tượng",
131
+ "duplicateValues": "Giá trị trùng lặp",
132
+ "uniqueValues": "Giá trị duy nhất"
133
+ },
134
+ "subRuleType": {
135
+ "uniqueValues": "Giá trị duy nhất",
136
+ "duplicateValues": "Giá trị trùng lặp",
137
+ "rank": "Đầu cuối",
138
+ "text": "Văn bản",
139
+ "timePeriod": "Thời gian",
140
+ "number": "Giá trị số",
141
+ "average": "Giá trị trung bình"
142
+ },
143
+ "valueType": {
144
+ "num": "Giá trị số",
145
+ "min": "Giá trị nhỏ nhất",
146
+ "max": "Giá trị lớn nhất",
147
+ "percent": "Phần trăm",
148
+ "percentile": "Phần trăm điểm",
149
+ "formula": "Công thức",
150
+ "none": "Không"
151
+ },
152
+ "errorMessage": {
153
+ "notBlank": "Điều kiện không được để trống",
154
+ "formulaError": "Lỗi công thức"
155
+ }
156
+ }
157
+ }
158
+ }
@@ -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,5 @@
1
- import { Disposable, IUniverInstanceService } from '@univerjs/core';
1
+ import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
2
2
  import { IAutoFillService } from '@univerjs/sheets-ui';
3
- import { Injector } from '@wendellhu/redi';
4
3
  import { ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
5
4
 
6
5
  export declare class ConditionalFormattingAutoFillController extends Disposable {
@@ -1,6 +1,5 @@
1
- import { Disposable, IUniverInstanceService } from '@univerjs/core';
2
- import { SelectionManagerService, SheetInterceptorService } from '@univerjs/sheets';
3
- import { Injector } from '@wendellhu/redi';
1
+ import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
2
+ import { SheetInterceptorService, SheetsSelectionsService } from '@univerjs/sheets';
4
3
  import { ConditionalFormattingRuleModel } from '@univerjs/sheets-conditional-formatting';
5
4
 
6
5
  export declare class ConditionalFormattingClearController extends Disposable {
@@ -9,6 +8,6 @@ export declare class ConditionalFormattingClearController extends Disposable {
9
8
  private _sheetInterceptorService;
10
9
  private _selectionManagerService;
11
10
  private _conditionalFormattingRuleModel;
12
- constructor(_injector: Injector, _univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SelectionManagerService, _conditionalFormattingRuleModel: ConditionalFormattingRuleModel);
11
+ constructor(_injector: Injector, _univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SheetsSelectionsService, _conditionalFormattingRuleModel: ConditionalFormattingRuleModel);
13
12
  private _init;
14
13
  }
@@ -1,6 +1,5 @@
1
- import { Disposable, IUniverInstanceService } from '@univerjs/core';
1
+ import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
2
2
  import { ISheetClipboardService } from '@univerjs/sheets-ui';
3
- import { Injector } from '@wendellhu/redi';
4
3
  import { ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
5
4
 
6
5
  export declare class ConditionalFormattingCopyPasteController extends Disposable {
@@ -1,5 +1,4 @@
1
- import { Injector } from '@wendellhu/redi';
2
- import { Disposable, IUniverInstanceService, LocaleService } from '@univerjs/core';
1
+ import { Disposable, Injector, IUniverInstanceService, LocaleService } from '@univerjs/core';
3
2
  import { MenuConfig, ComponentManager, IMenuService, ISidebarService } from '@univerjs/ui';
4
3
  import { IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
5
4
 
@@ -1,6 +1,5 @@
1
- import { Disposable, IUniverInstanceService } from '@univerjs/core';
1
+ import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
2
2
  import { RefRangeService } from '@univerjs/sheets';
3
- import { Injector } from '@wendellhu/redi';
4
3
  import { ConditionalFormattingRuleModel } from '@univerjs/sheets-conditional-formatting';
5
4
 
6
5
  export declare class SheetsCfRefRangeController extends Disposable {
@@ -0,0 +1,4 @@
1
+ import { default as zhCN } from './zh-CN';
2
+
3
+ declare const locale: typeof zhCN;
4
+ export default locale;
@@ -0,0 +1,4 @@
1
+ import { default as zhCN } from './zh-CN';
2
+
3
+ declare const locale: typeof zhCN;
4
+ export default locale;
@@ -1,4 +1,4 @@
1
1
  import { IMenuSelectorItem } from '@univerjs/ui';
2
- import { IAccessor } from '@wendellhu/redi';
2
+ import { IAccessor } from '@univerjs/core';
3
3
 
4
4
  export declare const FactoryManageConditionalFormattingRule: (accessor: IAccessor) => IMenuSelectorItem;
@@ -1,5 +1,4 @@
1
- import { ICommandService, Plugin, UniverInstanceType } from '@univerjs/core';
2
- import { Injector } from '@wendellhu/redi';
1
+ import { ICommandService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
3
2
  import { IUniverSheetsConditionalFormattingUIConfig } from './controllers/cf.menu.controller';
4
3
 
5
4
  export declare class UniverSheetsConditionalFormattingMobileUIPlugin extends Plugin {
@@ -1,5 +1,4 @@
1
- import { ICommandService, Plugin, UniverInstanceType } from '@univerjs/core';
2
- import { Injector } from '@wendellhu/redi';
1
+ import { ICommandService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
3
2
  import { IUniverSheetsConditionalFormattingUIConfig } from './controllers/cf.menu.controller';
4
3
 
5
4
  export declare class UniverSheetsConditionalFormattingUIPlugin extends Plugin {