@univerjs/sheets-conditional-formatting-ui 0.11.0 → 0.12.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,162 @@
1
+ const e = {
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
+ rangeError: "잘못된 선택 영역입니다."
156
+ }
157
+ }
158
+ }
159
+ };
160
+ export {
161
+ e as default
162
+ };
package/lib/index.js CHANGED
@@ -3177,11 +3177,14 @@ let et = class extends le {
3177
3177
  _commandExecutedListener() {
3178
3178
  this.disposeWithMe(
3179
3179
  this._commandService.beforeCommandExecuted((t) => {
3180
- t.id === Rn.id && (this._sheetPermissionCheckController.permissionCheckWithRanges({
3181
- workbookTypes: [wn],
3182
- rangeTypes: [_n],
3183
- worksheetTypes: [In, Sn]
3184
- }, t.params.rule.ranges) || this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("permission.dialog.setStyleErr")));
3180
+ if (t.id === Rn.id) {
3181
+ const { unitId: e, subUnitId: n, rule: { ranges: r } } = t.params;
3182
+ this._sheetPermissionCheckController.permissionCheckWithRanges({
3183
+ workbookTypes: [wn],
3184
+ rangeTypes: [_n],
3185
+ worksheetTypes: [In, Sn]
3186
+ }, r, e, n) || this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("permission.dialog.setStyleErr"));
3187
+ }
3185
3188
  })
3186
3189
  );
3187
3190
  }
@@ -0,0 +1,162 @@
1
+ const e = {
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
+ rangeError: "잘못된 선택 영역입니다."
156
+ }
157
+ }
158
+ }
159
+ };
160
+ export {
161
+ e as default
162
+ };
@@ -0,0 +1,3 @@
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;