@univerjs/sheets-conditional-formatting-ui 0.24.0 → 0.25.0-insiders.20260608-e4336f7
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 +253 -228
- package/lib/cjs/locale/ar-SA.js +159 -0
- package/lib/cjs/locale/ca-ES.js +4 -3
- package/lib/cjs/locale/de-DE.js +159 -0
- package/lib/cjs/locale/en-US.js +4 -3
- package/lib/cjs/locale/es-ES.js +4 -3
- package/lib/cjs/locale/fa-IR.js +4 -3
- package/lib/cjs/locale/fr-FR.js +4 -3
- package/lib/cjs/locale/id-ID.js +159 -0
- package/lib/cjs/locale/it-IT.js +159 -0
- package/lib/cjs/locale/ja-JP.js +4 -3
- package/lib/cjs/locale/ko-KR.js +4 -3
- package/lib/cjs/locale/pl-PL.js +159 -0
- package/lib/cjs/locale/pt-BR.js +159 -0
- package/lib/cjs/locale/ru-RU.js +4 -3
- package/lib/cjs/locale/sk-SK.js +4 -3
- package/lib/cjs/locale/vi-VN.js +4 -3
- package/lib/cjs/locale/zh-CN.js +4 -3
- package/lib/cjs/locale/zh-HK.js +159 -0
- package/lib/cjs/locale/zh-TW.js +4 -3
- package/lib/es/index.js +255 -230
- package/lib/es/locale/ar-SA.js +158 -0
- package/lib/es/locale/ca-ES.js +4 -3
- package/lib/es/locale/de-DE.js +158 -0
- package/lib/es/locale/en-US.js +4 -3
- package/lib/es/locale/es-ES.js +4 -3
- package/lib/es/locale/fa-IR.js +4 -3
- package/lib/es/locale/fr-FR.js +4 -3
- package/lib/es/locale/id-ID.js +158 -0
- package/lib/es/locale/it-IT.js +158 -0
- package/lib/es/locale/ja-JP.js +4 -3
- package/lib/es/locale/ko-KR.js +4 -3
- package/lib/es/locale/pl-PL.js +158 -0
- package/lib/es/locale/pt-BR.js +158 -0
- package/lib/es/locale/ru-RU.js +4 -3
- package/lib/es/locale/sk-SK.js +4 -3
- package/lib/es/locale/vi-VN.js +4 -3
- package/lib/es/locale/zh-CN.js +4 -3
- package/lib/es/locale/zh-HK.js +158 -0
- package/lib/es/locale/zh-TW.js +4 -3
- package/lib/index.js +255 -230
- package/lib/locale/ar-SA.js +158 -0
- package/lib/locale/ca-ES.js +4 -3
- package/lib/locale/de-DE.js +158 -0
- package/lib/locale/en-US.js +4 -3
- package/lib/locale/es-ES.js +4 -3
- package/lib/locale/fa-IR.js +4 -3
- package/lib/locale/fr-FR.js +4 -3
- package/lib/locale/id-ID.js +158 -0
- package/lib/locale/it-IT.js +158 -0
- package/lib/locale/ja-JP.js +4 -3
- package/lib/locale/ko-KR.js +4 -3
- package/lib/locale/pl-PL.js +158 -0
- package/lib/locale/pt-BR.js +158 -0
- package/lib/locale/ru-RU.js +4 -3
- package/lib/locale/sk-SK.js +4 -3
- package/lib/locale/vi-VN.js +4 -3
- package/lib/locale/zh-CN.js +4 -3
- package/lib/locale/zh-HK.js +158 -0
- package/lib/locale/zh-TW.js +4 -3
- package/lib/types/components/color-picker/index.d.ts +1 -1
- package/lib/types/components/conditional-style-editor/index.d.ts +1 -1
- package/lib/types/components/panel/index.d.ts +1 -1
- package/lib/types/components/panel/rule-edit/ColorScale.d.ts +1 -1
- package/lib/types/components/panel/rule-edit/DataBar.d.ts +1 -1
- package/lib/types/components/panel/rule-edit/Formula.d.ts +1 -1
- package/lib/types/components/panel/rule-edit/HighlightCell.d.ts +1 -1
- package/lib/types/components/panel/rule-edit/IconSet.d.ts +1 -1
- package/lib/types/components/panel/rule-edit/Rank.d.ts +1 -1
- package/lib/types/components/panel/rule-edit/index.d.ts +1 -1
- package/lib/types/components/panel/rule-list/index.d.ts +1 -1
- package/lib/types/components/preview/index.d.ts +1 -1
- package/lib/types/components/wrapper-error/WrapperError.d.ts +1 -1
- package/lib/types/controllers/cf.auto-fill.controller.d.ts +3 -2
- package/lib/types/controllers/cf.clear.controller.d.ts +3 -3
- package/lib/types/controllers/cf.copy-paste.controller.d.ts +3 -2
- package/lib/types/controllers/cf.painter.controller.d.ts +3 -2
- package/lib/types/locale/ar-SA.d.ts +18 -0
- package/lib/types/locale/de-DE.d.ts +18 -0
- package/lib/types/locale/en-US.d.ts +130 -127
- package/lib/types/locale/id-ID.d.ts +18 -0
- package/lib/types/locale/it-IT.d.ts +18 -0
- package/lib/types/locale/pl-PL.d.ts +18 -0
- package/lib/types/locale/pt-BR.d.ts +18 -0
- package/lib/types/locale/zh-HK.d.ts +18 -0
- package/lib/umd/index.js +3 -3
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -0
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -0
- package/lib/umd/locale/it-IT.js +1 -0
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
- package/LICENSE +0 -176
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
//#region src/locale/zh-HK.ts
|
|
2
|
+
const locale = { "sheets-conditional-formatting-ui": {
|
|
3
|
+
title: "條件格式",
|
|
4
|
+
menu: {
|
|
5
|
+
manageConditionalFormatting: "管理條件格式",
|
|
6
|
+
createConditionalFormatting: "新建條件格式",
|
|
7
|
+
clearRangeRules: "清除所選區域的規則",
|
|
8
|
+
clearWorkSheetRules: "清除整個工作表的規則"
|
|
9
|
+
},
|
|
10
|
+
form: {
|
|
11
|
+
lessThan: "該值必須小於 {0}",
|
|
12
|
+
lessThanOrEqual: "該值必須小於等於 {0}",
|
|
13
|
+
greaterThan: "該值必大於 {0}",
|
|
14
|
+
greaterThanOrEqual: "該值必大於等於 {0}",
|
|
15
|
+
rangeSelector: "選擇範圍或輸入值"
|
|
16
|
+
},
|
|
17
|
+
iconSet: {
|
|
18
|
+
direction: "方向",
|
|
19
|
+
shape: "形狀",
|
|
20
|
+
mark: "標記",
|
|
21
|
+
rank: "等級",
|
|
22
|
+
rule: "規則",
|
|
23
|
+
icon: "圖示",
|
|
24
|
+
type: "類型",
|
|
25
|
+
value: "值",
|
|
26
|
+
reverseIconOrder: "反轉圖示次序",
|
|
27
|
+
and: "且",
|
|
28
|
+
when: "當值",
|
|
29
|
+
onlyShowIcon: "僅顯示圖示"
|
|
30
|
+
},
|
|
31
|
+
symbol: {
|
|
32
|
+
greaterThan: ">",
|
|
33
|
+
greaterThanOrEqual: ">=",
|
|
34
|
+
lessThan: "<",
|
|
35
|
+
lessThanOrEqual: "<="
|
|
36
|
+
},
|
|
37
|
+
panel: {
|
|
38
|
+
createRule: "新增規則",
|
|
39
|
+
clear: "清空所有規則",
|
|
40
|
+
range: "應用範圍",
|
|
41
|
+
styleType: "樣式類型",
|
|
42
|
+
submit: "確認",
|
|
43
|
+
cancel: "取消",
|
|
44
|
+
rankAndAverage: "最前/最後/平均",
|
|
45
|
+
styleRule: "樣式規則",
|
|
46
|
+
isNotBottom: "最前面",
|
|
47
|
+
isBottom: "最後",
|
|
48
|
+
greaterThanAverage: "大於平均值",
|
|
49
|
+
lessThanAverage: "小於平均值",
|
|
50
|
+
medianValue: "中間值",
|
|
51
|
+
fillType: "填滿方式",
|
|
52
|
+
pureColor: "純色",
|
|
53
|
+
gradient: "漸層",
|
|
54
|
+
colorSet: "顏色設定",
|
|
55
|
+
positive: "正值",
|
|
56
|
+
native: "負值",
|
|
57
|
+
workSheet: "整張工作表",
|
|
58
|
+
selectedRange: "所選儲存格",
|
|
59
|
+
managerRuleSelect: "管理 {0} 的規則",
|
|
60
|
+
onlyShowDataBar: "僅顯示資料條"
|
|
61
|
+
},
|
|
62
|
+
preview: { describe: {
|
|
63
|
+
beginsWith: "開頭為{0}",
|
|
64
|
+
endsWith: "結尾為{0}",
|
|
65
|
+
containsText: "文字包含{0}",
|
|
66
|
+
notContainsText: "文字不包含{0}",
|
|
67
|
+
equal: "等於{0}",
|
|
68
|
+
notEqual: "不等於{0}",
|
|
69
|
+
containsBlanks: "為空",
|
|
70
|
+
notContainsBlanks: "不為空",
|
|
71
|
+
containsErrors: "錯誤",
|
|
72
|
+
notContainsErrors: "非錯誤",
|
|
73
|
+
greaterThan: "大於{0}",
|
|
74
|
+
greaterThanOrEqual: "大於等於{0}",
|
|
75
|
+
lessThan: "小於{0}",
|
|
76
|
+
lessThanOrEqual: "小於等於{0}",
|
|
77
|
+
notBetween: "不介於{0}和{1}之間",
|
|
78
|
+
between: "介於{0}和{1}之間",
|
|
79
|
+
yesterday: "昨日",
|
|
80
|
+
tomorrow: "明日",
|
|
81
|
+
last7Days: "最近7天",
|
|
82
|
+
thisMonth: "本月",
|
|
83
|
+
lastMonth: "上個月",
|
|
84
|
+
nextMonth: "下個月",
|
|
85
|
+
thisWeek: "本週",
|
|
86
|
+
lastWeek: "上週",
|
|
87
|
+
nextWeek: "下週",
|
|
88
|
+
today: "今日",
|
|
89
|
+
topN: "前{0}項",
|
|
90
|
+
bottomN: "後{0}項",
|
|
91
|
+
topNPercent: "前{0}%",
|
|
92
|
+
bottomNPercent: "後{0}%"
|
|
93
|
+
} },
|
|
94
|
+
operator: {
|
|
95
|
+
beginsWith: "開頭為",
|
|
96
|
+
endsWith: "結尾為",
|
|
97
|
+
containsText: "文字包含",
|
|
98
|
+
notContainsText: "文字不包含",
|
|
99
|
+
equal: "等於",
|
|
100
|
+
notEqual: "不等於",
|
|
101
|
+
containsBlanks: "為空",
|
|
102
|
+
notContainsBlanks: "不為空",
|
|
103
|
+
containsErrors: "錯誤",
|
|
104
|
+
notContainsErrors: "非錯誤",
|
|
105
|
+
greaterThan: "大於",
|
|
106
|
+
greaterThanOrEqual: "大於等於",
|
|
107
|
+
lessThan: "小於",
|
|
108
|
+
lessThanOrEqual: "小於等於",
|
|
109
|
+
notBetween: "不介於",
|
|
110
|
+
between: "介於",
|
|
111
|
+
yesterday: "昨日",
|
|
112
|
+
tomorrow: "明日",
|
|
113
|
+
last7Days: "最近 7 天",
|
|
114
|
+
thisMonth: "本月",
|
|
115
|
+
lastMonth: "上個月",
|
|
116
|
+
nextMonth: "下個月",
|
|
117
|
+
thisWeek: "本週",
|
|
118
|
+
lastWeek: "上週",
|
|
119
|
+
nextWeek: "下週",
|
|
120
|
+
today: "今日"
|
|
121
|
+
},
|
|
122
|
+
ruleType: {
|
|
123
|
+
highlightCell: "突出顯示儲存格",
|
|
124
|
+
dataBar: "資料條",
|
|
125
|
+
colorScale: "色階",
|
|
126
|
+
formula: "自訂公式",
|
|
127
|
+
iconSet: "圖示集",
|
|
128
|
+
duplicateValues: "重複值",
|
|
129
|
+
uniqueValues: "唯一值"
|
|
130
|
+
},
|
|
131
|
+
subRuleType: {
|
|
132
|
+
uniqueValues: "唯一值",
|
|
133
|
+
duplicateValues: "重複值",
|
|
134
|
+
rank: "最前最後",
|
|
135
|
+
text: "文字",
|
|
136
|
+
timePeriod: "時間日期",
|
|
137
|
+
number: "數值",
|
|
138
|
+
average: "平均值"
|
|
139
|
+
},
|
|
140
|
+
valueType: {
|
|
141
|
+
num: "數值",
|
|
142
|
+
min: "最小值",
|
|
143
|
+
max: "最大值",
|
|
144
|
+
percent: "百分比",
|
|
145
|
+
percentile: "百分點",
|
|
146
|
+
formula: "公式",
|
|
147
|
+
none: "無"
|
|
148
|
+
},
|
|
149
|
+
errorMessage: {
|
|
150
|
+
notBlank: "條件不能為空",
|
|
151
|
+
rangeError: "選區錯誤",
|
|
152
|
+
formulaError: "公式錯誤"
|
|
153
|
+
},
|
|
154
|
+
permission: { dialog: { setStyleErr: "該範圍已被保護,目前無設定樣式權限。如需設定樣式,請聯絡建立者。 " } }
|
|
155
|
+
} };
|
|
156
|
+
|
|
157
|
+
//#endregion
|
|
158
|
+
export { locale as default };
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/locale/zh-TW.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "sheets-conditional-formatting-ui": {
|
|
3
3
|
title: "條件格式",
|
|
4
4
|
menu: {
|
|
5
5
|
manageConditionalFormatting: "管理條件格式",
|
|
@@ -150,8 +150,9 @@ const locale = { sheet: { cf: {
|
|
|
150
150
|
notBlank: "條件不能為空",
|
|
151
151
|
rangeError: "選區錯誤",
|
|
152
152
|
formulaError: "公式錯誤"
|
|
153
|
-
}
|
|
154
|
-
|
|
153
|
+
},
|
|
154
|
+
permission: { dialog: { setStyleErr: "該範圍已被保護,目前無設定樣式權限。如需設定樣式,請聯絡建立者。 " } }
|
|
155
|
+
} };
|
|
155
156
|
|
|
156
157
|
//#endregion
|
|
157
158
|
export { locale as default };
|
|
@@ -21,5 +21,5 @@ interface IColorPickerProps {
|
|
|
21
21
|
Icon?: FC;
|
|
22
22
|
className?: string;
|
|
23
23
|
}
|
|
24
|
-
export declare const ColorPicker: (props: IColorPickerProps) => import("react
|
|
24
|
+
export declare const ColorPicker: (props: IColorPickerProps) => import("react").JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -19,5 +19,5 @@ interface IConditionalStyleEditorProps {
|
|
|
19
19
|
style?: IHighlightCell['style'];
|
|
20
20
|
onChange: (style: IHighlightCell['style']) => void;
|
|
21
21
|
}
|
|
22
|
-
export declare const ConditionalStyleEditor: (props: IConditionalStyleEditorProps) => import("react
|
|
22
|
+
export declare const ConditionalStyleEditor: (props: IConditionalStyleEditorProps) => import("react").JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -17,5 +17,5 @@ import type { IConditionFormattingRule } from '@univerjs/sheets-conditional-form
|
|
|
17
17
|
interface IConditionFormattingPanelProps {
|
|
18
18
|
rule?: IConditionFormattingRule;
|
|
19
19
|
}
|
|
20
|
-
export declare const ConditionFormattingPanel: (props: IConditionFormattingPanelProps) => import("react
|
|
20
|
+
export declare const ConditionFormattingPanel: (props: IConditionFormattingPanelProps) => import("react").JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { IStyleEditorProps } from './type';
|
|
17
|
-
export declare const ColorScaleStyleEditor: (props: IStyleEditorProps) => import("react
|
|
17
|
+
export declare const ColorScaleStyleEditor: (props: IStyleEditorProps) => import("react").JSX.Element;
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { IStyleEditorProps } from './type';
|
|
17
|
-
export declare const DataBarStyleEditor: (props: IStyleEditorProps) => import("react
|
|
17
|
+
export declare const DataBarStyleEditor: (props: IStyleEditorProps) => import("react").JSX.Element;
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { IStyleEditorProps } from './type';
|
|
17
|
-
export declare const FormulaStyleEditor: (props: IStyleEditorProps) => import("react
|
|
17
|
+
export declare const FormulaStyleEditor: (props: IStyleEditorProps) => import("react").JSX.Element;
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import type { INumberHighlightCell, ITextHighlightCell, ITimePeriodHighlightCell } from '@univerjs/sheets-conditional-formatting';
|
|
17
17
|
import type { IStyleEditorProps } from './type';
|
|
18
|
-
export declare const HighlightCellStyleEditor: (props: IStyleEditorProps<any, ITextHighlightCell | INumberHighlightCell | ITimePeriodHighlightCell>) => import("react
|
|
18
|
+
export declare const HighlightCellStyleEditor: (props: IStyleEditorProps<any, ITextHighlightCell | INumberHighlightCell | ITimePeriodHighlightCell>) => import("react").JSX.Element;
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import type { IIconSet } from '@univerjs/sheets-conditional-formatting';
|
|
17
17
|
import type { IStyleEditorProps } from './type';
|
|
18
|
-
export declare const IconSet: (props: IStyleEditorProps<unknown, IIconSet>) => import("react
|
|
18
|
+
export declare const IconSet: (props: IStyleEditorProps<unknown, IIconSet>) => import("react").JSX.Element;
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { IStyleEditorProps } from './type';
|
|
17
|
-
export declare const RankStyleEditor: (props: IStyleEditorProps) => import("react
|
|
17
|
+
export declare const RankStyleEditor: (props: IStyleEditorProps) => import("react").JSX.Element;
|
|
@@ -18,5 +18,5 @@ interface IRuleEditProps {
|
|
|
18
18
|
rule?: IConditionFormattingRule;
|
|
19
19
|
onCancel: () => void;
|
|
20
20
|
}
|
|
21
|
-
export declare const RuleEdit: (props: IRuleEditProps) => import("react
|
|
21
|
+
export declare const RuleEdit: (props: IRuleEditProps) => import("react").JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -18,5 +18,5 @@ interface IRuleListProps {
|
|
|
18
18
|
onClick: (rule: IConditionFormattingRule) => void;
|
|
19
19
|
onCreate: () => void;
|
|
20
20
|
}
|
|
21
|
-
export declare const RuleList: (props: IRuleListProps) => import("react
|
|
21
|
+
export declare const RuleList: (props: IRuleListProps) => import("react").JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -16,4 +16,4 @@
|
|
|
16
16
|
import type { IConditionalFormattingRuleConfig } from '@univerjs/sheets-conditional-formatting';
|
|
17
17
|
export declare const Preview: (props: {
|
|
18
18
|
rule?: IConditionalFormattingRuleConfig;
|
|
19
|
-
}) => import("react
|
|
19
|
+
}) => import("react").JSX.Element | null | undefined;
|
|
@@ -15,13 +15,14 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
|
|
17
17
|
import { IAutoFillService } from '@univerjs/sheets';
|
|
18
|
-
import { ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
|
|
18
|
+
import { ConditionalFormattingRangeTransformService, ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
|
|
19
19
|
export declare class ConditionalFormattingAutoFillController extends Disposable {
|
|
20
20
|
private _injector;
|
|
21
21
|
private _univerInstanceService;
|
|
22
22
|
private _autoFillService;
|
|
23
23
|
private _conditionalFormattingRuleModel;
|
|
24
24
|
private _conditionalFormattingViewModel;
|
|
25
|
-
|
|
25
|
+
private _conditionalFormattingRangeTransformService;
|
|
26
|
+
constructor(_injector: Injector, _univerInstanceService: IUniverInstanceService, _autoFillService: IAutoFillService, _conditionalFormattingRuleModel: ConditionalFormattingRuleModel, _conditionalFormattingViewModel: ConditionalFormattingViewModel, _conditionalFormattingRangeTransformService: ConditionalFormattingRangeTransformService);
|
|
26
27
|
private _initAutoFill;
|
|
27
28
|
}
|
|
@@ -17,14 +17,14 @@ import type { IMutationInfo, IRange } from '@univerjs/core';
|
|
|
17
17
|
import type { IConditionalFormattingRuleConfig, IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
|
|
18
18
|
import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
|
|
19
19
|
import { SheetInterceptorService, SheetsSelectionsService } from '@univerjs/sheets';
|
|
20
|
-
import {
|
|
20
|
+
import { ConditionalFormattingRangeIndexModel } from '@univerjs/sheets-conditional-formatting';
|
|
21
21
|
export declare class ConditionalFormattingClearController extends Disposable {
|
|
22
22
|
private _injector;
|
|
23
23
|
private _univerInstanceService;
|
|
24
24
|
private _sheetInterceptorService;
|
|
25
25
|
private _selectionManagerService;
|
|
26
|
-
private
|
|
27
|
-
constructor(_injector: Injector, _univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SheetsSelectionsService,
|
|
26
|
+
private _conditionalFormattingRangeIndexModel;
|
|
27
|
+
constructor(_injector: Injector, _univerInstanceService: IUniverInstanceService, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SheetsSelectionsService, _conditionalFormattingRangeIndexModel: ConditionalFormattingRangeIndexModel);
|
|
28
28
|
private _init;
|
|
29
29
|
}
|
|
30
30
|
export declare function generateClearCfMutations(injector: Injector, allRules: IConditionFormattingRule<IConditionalFormattingRuleConfig>[], ranges: IRange[], unitId: string, subUnitId: string): {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
|
|
17
|
-
import { ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
|
|
17
|
+
import { ConditionalFormattingRangeTransformService, ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
|
|
18
18
|
import { ISheetClipboardService } from '@univerjs/sheets-ui';
|
|
19
19
|
export declare class ConditionalFormattingCopyPasteController extends Disposable {
|
|
20
20
|
private _sheetClipboardService;
|
|
@@ -22,8 +22,9 @@ export declare class ConditionalFormattingCopyPasteController extends Disposable
|
|
|
22
22
|
private _injector;
|
|
23
23
|
private _conditionalFormattingViewModel;
|
|
24
24
|
private _univerInstanceService;
|
|
25
|
+
private _conditionalFormattingRangeTransformService;
|
|
25
26
|
private _copyInfo;
|
|
26
|
-
constructor(_sheetClipboardService: ISheetClipboardService, _conditionalFormattingRuleModel: ConditionalFormattingRuleModel, _injector: Injector, _conditionalFormattingViewModel: ConditionalFormattingViewModel, _univerInstanceService: IUniverInstanceService);
|
|
27
|
+
constructor(_sheetClipboardService: ISheetClipboardService, _conditionalFormattingRuleModel: ConditionalFormattingRuleModel, _injector: Injector, _conditionalFormattingViewModel: ConditionalFormattingViewModel, _univerInstanceService: IUniverInstanceService, _conditionalFormattingRangeTransformService: ConditionalFormattingRangeTransformService);
|
|
27
28
|
private _initClipboardHook;
|
|
28
29
|
private _collectConditionalRule;
|
|
29
30
|
private _generateConditionalFormattingMutations;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
|
|
17
17
|
import { SheetsSelectionsService } from '@univerjs/sheets';
|
|
18
|
-
import { ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
|
|
18
|
+
import { ConditionalFormattingRangeTransformService, ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
|
|
19
19
|
import { IFormatPainterService } from '@univerjs/sheets-ui';
|
|
20
20
|
export declare class ConditionalFormattingPainterController extends Disposable {
|
|
21
21
|
private _injector;
|
|
@@ -24,7 +24,8 @@ export declare class ConditionalFormattingPainterController extends Disposable {
|
|
|
24
24
|
private _sheetsSelectionsService;
|
|
25
25
|
private _conditionalFormattingRuleModel;
|
|
26
26
|
private _conditionalFormattingViewModel;
|
|
27
|
+
private _conditionalFormattingRangeTransformService;
|
|
27
28
|
private _painterConfig;
|
|
28
|
-
constructor(_injector: Injector, _univerInstanceService: IUniverInstanceService, _formatPainterService: IFormatPainterService, _sheetsSelectionsService: SheetsSelectionsService, _conditionalFormattingRuleModel: ConditionalFormattingRuleModel, _conditionalFormattingViewModel: ConditionalFormattingViewModel);
|
|
29
|
+
constructor(_injector: Injector, _univerInstanceService: IUniverInstanceService, _formatPainterService: IFormatPainterService, _sheetsSelectionsService: SheetsSelectionsService, _conditionalFormattingRuleModel: ConditionalFormattingRuleModel, _conditionalFormattingViewModel: ConditionalFormattingViewModel, _conditionalFormattingRangeTransformService: ConditionalFormattingRangeTransformService);
|
|
29
30
|
private _initFormattingPainter;
|
|
30
31
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
17
|
+
declare const locale: typeof enUS;
|
|
18
|
+
export default locale;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
17
|
+
declare const locale: typeof enUS;
|
|
18
|
+
export default locale;
|