@univerjs/sheets-conditional-formatting 0.1.5 → 0.1.7
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/README.md +1 -1
- package/lib/cjs/index.js +1 -11
- package/lib/es/index.js +1380 -8697
- package/lib/types/commands/mutations/move-conditional-rule.mutation.d.ts +4 -4
- package/lib/types/commands/mutations/set-conditional-rule.mutation.d.ts +1 -0
- package/lib/types/index.d.ts +22 -1
- package/lib/types/models/conditional-formatting-rule-model.d.ts +4 -3
- package/lib/types/models/type.d.ts +1 -0
- package/lib/types/plugin.d.ts +3 -3
- package/lib/types/render/type.d.ts +1 -0
- package/lib/types/services/conditional-formatting.service.d.ts +3 -1
- package/lib/types/{locale/index.d.ts → utils/__test__/anchor.spec.d.ts} +1 -2
- package/lib/types/utils/anchor.d.ts +34 -0
- package/lib/types/utils/create-cf-id.d.ts +16 -0
- package/lib/umd/index.js +1 -11
- package/package.json +14 -38
- package/lib/index.css +0 -1
- package/lib/types/commands/commands/add-average-cf.command.d.ts +0 -11
- package/lib/types/commands/commands/add-cf.command.d.ts +0 -10
- package/lib/types/commands/commands/add-color-scale-cf.command.d.ts +0 -10
- package/lib/types/commands/commands/add-data-bar-cf.command.d.ts +0 -14
- package/lib/types/commands/commands/add-duplicate-values-cf.command.d.ts +0 -10
- package/lib/types/commands/commands/add-number-cf.command.d.ts +0 -12
- package/lib/types/commands/commands/add-rank-cf.command.d.ts +0 -13
- package/lib/types/commands/commands/add-text-cf.command.d.ts +0 -12
- package/lib/types/commands/commands/add-time-period-cf.command.d.ts +0 -11
- package/lib/types/commands/commands/add-unique-values-cf.command.d.ts +0 -10
- package/lib/types/commands/commands/clear-range-cf.command.d.ts +0 -8
- package/lib/types/commands/commands/clear-worksheet-cf.command.d.ts +0 -7
- package/lib/types/commands/commands/delete-cf.command.d.ts +0 -8
- package/lib/types/commands/commands/move-cf.command.d.ts +0 -9
- package/lib/types/commands/commands/set-cf.command.d.ts +0 -9
- package/lib/types/commands/operations/open-conditional-formatting-panel.d.ts +0 -15
- package/lib/types/components/color-picker/index.d.ts +0 -12
- package/lib/types/components/conditional-style-editor/index.d.ts +0 -10
- package/lib/types/components/panel/index.d.ts +0 -8
- package/lib/types/components/panel/rule-edit/colorScale.d.ts +0 -4
- package/lib/types/components/panel/rule-edit/dataBar.d.ts +0 -4
- package/lib/types/components/panel/rule-edit/formula.d.ts +0 -4
- package/lib/types/components/panel/rule-edit/highlightCell.d.ts +0 -5
- package/lib/types/components/panel/rule-edit/iconSet.d.ts +0 -5
- package/lib/types/components/panel/rule-edit/index.d.ts +0 -9
- package/lib/types/components/panel/rule-edit/rank.d.ts +0 -4
- package/lib/types/components/panel/rule-edit/type.d.ts +0 -13
- package/lib/types/components/panel/rule-list/index.d.ts +0 -9
- package/lib/types/components/preview/index.d.ts +0 -6
- package/lib/types/controllers/cf.auto-fill.controller.d.ts +0 -15
- package/lib/types/controllers/cf.clear.controller.d.ts +0 -14
- package/lib/types/controllers/cf.copy-paste.controller.d.ts +0 -18
- package/lib/types/controllers/cf.editor.controller.d.ts +0 -15
- package/lib/types/controllers/cf.i18n.controller.d.ts +0 -10
- package/lib/types/controllers/cf.menu.controller.d.ts +0 -16
- package/lib/types/controllers/cf.ref-range.controller.d.ts +0 -15
- package/lib/types/controllers/cf.render.controller.d.ts +0 -21
- package/lib/types/locale/en-US.d.ts +0 -4
- package/lib/types/locale/zh-CN.d.ts +0 -169
- package/lib/types/menu/manage-rule.d.ts +0 -4
- /package/lib/types/utils/{getStringFromDataStream.d.ts → get-string-from-data-stream.d.ts} +0 -0
- /package/lib/types/utils/{isRangesEqual.d.ts → is-ranges-equal.d.ts} +0 -0
- /package/lib/types/utils/{removeUndefinedAttr.d.ts → remove-undefined-attr.d.ts} +0 -0
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2023-present DreamNum Inc.
|
|
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
|
-
declare const locale: {
|
|
17
|
-
sheet: {
|
|
18
|
-
cf: {
|
|
19
|
-
title: string;
|
|
20
|
-
menu: {
|
|
21
|
-
manageConditionalFormatting: string;
|
|
22
|
-
createConditionalFormatting: string;
|
|
23
|
-
clearRangeRules: string;
|
|
24
|
-
clearWorkSheetRules: string;
|
|
25
|
-
};
|
|
26
|
-
form: {
|
|
27
|
-
lessThan: string;
|
|
28
|
-
lessThanOrEqual: string;
|
|
29
|
-
greaterThan: string;
|
|
30
|
-
greaterThanOrEqual: string;
|
|
31
|
-
rangeSelector: string;
|
|
32
|
-
};
|
|
33
|
-
iconSet: {
|
|
34
|
-
direction: string;
|
|
35
|
-
shape: string;
|
|
36
|
-
mark: string;
|
|
37
|
-
rank: string;
|
|
38
|
-
rule: string;
|
|
39
|
-
icon: string;
|
|
40
|
-
type: string;
|
|
41
|
-
value: string;
|
|
42
|
-
reverseIconOrder: string;
|
|
43
|
-
and: string;
|
|
44
|
-
when: string;
|
|
45
|
-
onlyShowIcon: string;
|
|
46
|
-
};
|
|
47
|
-
symbol: {
|
|
48
|
-
greaterThan: string;
|
|
49
|
-
greaterThanOrEqual: string;
|
|
50
|
-
lessThan: string;
|
|
51
|
-
lessThanOrEqual: string;
|
|
52
|
-
};
|
|
53
|
-
panel: {
|
|
54
|
-
createRule: string;
|
|
55
|
-
clear: string;
|
|
56
|
-
range: string;
|
|
57
|
-
styleType: string;
|
|
58
|
-
submit: string;
|
|
59
|
-
cancel: string;
|
|
60
|
-
rankAndAverage: string;
|
|
61
|
-
styleRule: string;
|
|
62
|
-
isNotBottom: string;
|
|
63
|
-
isBottom: string;
|
|
64
|
-
greaterThanAverage: string;
|
|
65
|
-
lessThanAverage: string;
|
|
66
|
-
medianValue: string;
|
|
67
|
-
fillType: string;
|
|
68
|
-
pureColor: string;
|
|
69
|
-
gradient: string;
|
|
70
|
-
colorSet: string;
|
|
71
|
-
positive: string;
|
|
72
|
-
native: string;
|
|
73
|
-
workSheet: string;
|
|
74
|
-
selectedRange: string;
|
|
75
|
-
managerRuleSelect: string;
|
|
76
|
-
};
|
|
77
|
-
preview: {
|
|
78
|
-
describe: {
|
|
79
|
-
beginsWith: string;
|
|
80
|
-
endsWith: string;
|
|
81
|
-
containsText: string;
|
|
82
|
-
notContainsText: string;
|
|
83
|
-
equal: string;
|
|
84
|
-
notEqual: string;
|
|
85
|
-
containsBlanks: string;
|
|
86
|
-
notContainsBlanks: string;
|
|
87
|
-
containsErrors: string;
|
|
88
|
-
notContainsErrors: string;
|
|
89
|
-
greaterThan: string;
|
|
90
|
-
greaterThanOrEqual: string;
|
|
91
|
-
lessThan: string;
|
|
92
|
-
lessThanOrEqual: string;
|
|
93
|
-
notBetween: string;
|
|
94
|
-
between: string;
|
|
95
|
-
yesterday: string;
|
|
96
|
-
tomorrow: string;
|
|
97
|
-
last7Days: string;
|
|
98
|
-
thisMonth: string;
|
|
99
|
-
lastMonth: string;
|
|
100
|
-
nextMonth: string;
|
|
101
|
-
thisWeek: string;
|
|
102
|
-
lastWeek: string;
|
|
103
|
-
nextWeek: string;
|
|
104
|
-
today: string;
|
|
105
|
-
topN: string;
|
|
106
|
-
bottomN: string;
|
|
107
|
-
topNPercent: string;
|
|
108
|
-
bottomNPercent: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
operator: {
|
|
112
|
-
beginsWith: string;
|
|
113
|
-
endsWith: string;
|
|
114
|
-
containsText: string;
|
|
115
|
-
notContainsText: string;
|
|
116
|
-
equal: string;
|
|
117
|
-
notEqual: string;
|
|
118
|
-
containsBlanks: string;
|
|
119
|
-
notContainsBlanks: string;
|
|
120
|
-
containsErrors: string;
|
|
121
|
-
notContainsErrors: string;
|
|
122
|
-
greaterThan: string;
|
|
123
|
-
greaterThanOrEqual: string;
|
|
124
|
-
lessThan: string;
|
|
125
|
-
lessThanOrEqual: string;
|
|
126
|
-
notBetween: string;
|
|
127
|
-
between: string;
|
|
128
|
-
yesterday: string;
|
|
129
|
-
tomorrow: string;
|
|
130
|
-
last7Days: string;
|
|
131
|
-
thisMonth: string;
|
|
132
|
-
lastMonth: string;
|
|
133
|
-
nextMonth: string;
|
|
134
|
-
thisWeek: string;
|
|
135
|
-
lastWeek: string;
|
|
136
|
-
nextWeek: string;
|
|
137
|
-
today: string;
|
|
138
|
-
};
|
|
139
|
-
ruleType: {
|
|
140
|
-
highlightCell: string;
|
|
141
|
-
dataBar: string;
|
|
142
|
-
colorScale: string;
|
|
143
|
-
formula: string;
|
|
144
|
-
iconSet: string;
|
|
145
|
-
duplicateValues: string;
|
|
146
|
-
uniqueValues: string;
|
|
147
|
-
};
|
|
148
|
-
subRuleType: {
|
|
149
|
-
uniqueValues: string;
|
|
150
|
-
duplicateValues: string;
|
|
151
|
-
rank: string;
|
|
152
|
-
text: string;
|
|
153
|
-
timePeriod: string;
|
|
154
|
-
number: string;
|
|
155
|
-
average: string;
|
|
156
|
-
};
|
|
157
|
-
valueType: {
|
|
158
|
-
num: string;
|
|
159
|
-
min: string;
|
|
160
|
-
max: string;
|
|
161
|
-
percent: string;
|
|
162
|
-
percentile: string;
|
|
163
|
-
formula: string;
|
|
164
|
-
none: string;
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
export default locale;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IAccessor } from '@wendellhu/redi';
|
|
2
|
-
import { ComponentManager, IMenuSelectorItem } from '@univerjs/ui';
|
|
3
|
-
|
|
4
|
-
export declare const FactoryManageConditionalFormattingRule: (componentManager: ComponentManager) => (_accessor: IAccessor) => IMenuSelectorItem<import('@univerjs/ui/services/menu/menu.js').MenuItemDefaultValueType, undefined>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|