@univerjs/sheets-conditional-formatting-ui 0.17.0 → 0.18.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.
- package/lib/cjs/index.js +127 -2
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +127 -4135
- package/lib/es/locale/ca-ES.js +1 -162
- package/lib/es/locale/en-US.js +1 -162
- package/lib/es/locale/es-ES.js +1 -162
- package/lib/es/locale/fa-IR.js +1 -162
- package/lib/es/locale/fr-FR.js +1 -162
- package/lib/es/locale/ja-JP.js +1 -162
- package/lib/es/locale/ko-KR.js +1 -162
- package/lib/es/locale/ru-RU.js +1 -162
- package/lib/es/locale/sk-SK.js +1 -162
- package/lib/es/locale/vi-VN.js +1 -162
- package/lib/es/locale/zh-CN.js +1 -162
- package/lib/es/locale/zh-TW.js +1 -162
- package/lib/index.css +424 -1
- package/lib/index.js +127 -4135
- package/lib/locale/ca-ES.js +1 -162
- package/lib/locale/en-US.js +1 -162
- package/lib/locale/es-ES.js +1 -162
- package/lib/locale/fa-IR.js +1 -162
- package/lib/locale/fr-FR.js +1 -162
- package/lib/locale/ja-JP.js +1 -162
- package/lib/locale/ko-KR.js +1 -162
- package/lib/locale/ru-RU.js +1 -162
- package/lib/locale/sk-SK.js +1 -162
- package/lib/locale/vi-VN.js +1 -162
- package/lib/locale/zh-CN.js +1 -162
- package/lib/locale/zh-TW.js +1 -162
- package/lib/types/commands/commands/add-average-cf.command.d.ts +17 -2
- package/lib/types/commands/commands/add-color-scale-cf.command.d.ts +17 -2
- package/lib/types/commands/commands/add-data-bar-cf.command.d.ts +17 -2
- package/lib/types/commands/commands/add-duplicate-values-cf.command.d.ts +17 -2
- package/lib/types/commands/commands/add-number-cf.command.d.ts +17 -2
- package/lib/types/commands/commands/add-rank-cf.command.d.ts +17 -2
- package/lib/types/commands/commands/add-text-cf.command.d.ts +17 -2
- package/lib/types/commands/commands/add-time-period-cf.command.d.ts +17 -2
- package/lib/types/commands/commands/add-unique-values-cf.command.d.ts +17 -2
- package/lib/types/commands/operations/open-conditional-formatting-panel.d.ts +16 -1
- package/lib/types/components/color-picker/index.d.ts +16 -1
- package/lib/types/components/conditional-style-editor/index.d.ts +16 -1
- package/lib/types/components/panel/index.d.ts +16 -1
- package/lib/types/components/panel/rule-edit/ColorScale.d.ts +16 -1
- package/lib/types/components/panel/rule-edit/DataBar.d.ts +16 -1
- package/lib/types/components/panel/rule-edit/Formula.d.ts +16 -1
- package/lib/types/components/panel/rule-edit/HighlightCell.d.ts +17 -2
- package/lib/types/components/panel/rule-edit/IconSet.d.ts +17 -2
- package/lib/types/components/panel/rule-edit/Rank.d.ts +16 -1
- package/lib/types/components/panel/rule-edit/index.d.ts +16 -1
- package/lib/types/components/panel/rule-edit/type.d.ts +19 -4
- package/lib/types/components/panel/rule-list/index.d.ts +16 -1
- package/lib/types/components/preview/index.d.ts +16 -1
- package/lib/types/components/wrapper-error/WrapperError.d.ts +16 -1
- package/lib/types/config/config.d.ts +16 -1
- package/lib/types/controllers/cf-formula-ref-range.controller.d.ts +17 -1
- package/lib/types/controllers/cf.auto-fill.controller.d.ts +15 -0
- package/lib/types/controllers/cf.clear.controller.d.ts +19 -2
- package/lib/types/controllers/cf.copy-paste.controller.d.ts +15 -0
- package/lib/types/controllers/cf.editor.controller.d.ts +15 -0
- package/lib/types/controllers/cf.i18n.controller.d.ts +16 -1
- package/lib/types/controllers/cf.painter.controller.d.ts +15 -0
- package/lib/types/controllers/cf.panel.controller.d.ts +16 -1
- package/lib/types/controllers/cf.permission.controller.d.ts +15 -0
- package/lib/types/controllers/cf.render.controller.d.ts +15 -0
- package/lib/types/controllers/cf.viewport.controller.d.ts +15 -0
- package/lib/types/locale/ca-ES.d.ts +16 -1
- package/lib/types/locale/es-ES.d.ts +16 -1
- package/lib/types/locale/fa-IR.d.ts +16 -1
- package/lib/types/locale/fr-FR.d.ts +16 -1
- package/lib/types/locale/ja-JP.d.ts +16 -1
- package/lib/types/locale/ko-KR.d.ts +16 -1
- package/lib/types/locale/ru-RU.d.ts +16 -1
- package/lib/types/locale/sk-SK.d.ts +16 -1
- package/lib/types/locale/vi-VN.d.ts +16 -1
- package/lib/types/locale/zh-CN.d.ts +16 -1
- package/lib/types/locale/zh-TW.d.ts +16 -1
- package/lib/types/menu/cf.menu.controller.d.ts +15 -0
- package/lib/types/menu/manage-rule.d.ts +17 -2
- package/lib/types/menu/schema.d.ts +16 -1
- package/lib/types/mobile-plugin.d.ts +16 -1
- package/lib/types/plugin.d.ts +16 -1
- package/lib/umd/index.js +127 -2
- package/lib/umd/locale/ca-ES.js +1 -1
- 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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- 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-TW.js +1 -1
- package/package.json +16 -15
package/lib/index.css
CHANGED
|
@@ -1 +1,424 @@
|
|
|
1
|
-
.univer-pointer-events-none
|
|
1
|
+
.univer-pointer-events-none {
|
|
2
|
+
pointer-events: none;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.univer-absolute {
|
|
6
|
+
position: absolute;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.univer-relative {
|
|
10
|
+
position: relative;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.univer-bottom-\[-13px\] {
|
|
14
|
+
bottom: -13px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.univer-left-0 {
|
|
18
|
+
left: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.univer-right-1 {
|
|
22
|
+
right: .25rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.univer-z-\[999\] {
|
|
26
|
+
z-index: 999;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.univer-my-2\.5 {
|
|
30
|
+
margin-top: .625rem;
|
|
31
|
+
margin-bottom: .625rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.univer-mb-1 {
|
|
35
|
+
margin-bottom: .25rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.univer-mb-2 {
|
|
39
|
+
margin-bottom: .5rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.univer-mb-2\.5 {
|
|
43
|
+
margin-bottom: .625rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.univer-mb-3 {
|
|
47
|
+
margin-bottom: .75rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.univer-ml-1 {
|
|
51
|
+
margin-left: .25rem;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.univer-ml-2 {
|
|
55
|
+
margin-left: .5rem;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.univer-ml-3 {
|
|
59
|
+
margin-left: .75rem;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.univer-ml-6 {
|
|
63
|
+
margin-left: 1.5rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.univer-mr-2 {
|
|
67
|
+
margin-right: .5rem;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.univer-mt-0 {
|
|
71
|
+
margin-top: 0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.univer-mt-1 {
|
|
75
|
+
margin-top: .25rem;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.univer-mt-3 {
|
|
79
|
+
margin-top: .75rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.univer-mt-4 {
|
|
83
|
+
margin-top: 1rem;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.univer-mt-5 {
|
|
87
|
+
margin-top: 1.25rem;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.univer-mt-6 {
|
|
91
|
+
margin-top: 1.5rem;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.univer-box-border {
|
|
95
|
+
box-sizing: border-box;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.univer-flex {
|
|
99
|
+
display: flex;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.univer-grid {
|
|
103
|
+
display: grid;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.univer-hidden {
|
|
107
|
+
display: none;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.univer-size-4 {
|
|
111
|
+
width: 1rem;
|
|
112
|
+
height: 1rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.univer-size-5 {
|
|
116
|
+
width: 1.25rem;
|
|
117
|
+
height: 1.25rem;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.univer-size-6 {
|
|
121
|
+
width: 1.5rem;
|
|
122
|
+
height: 1.5rem;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.univer-h-5 {
|
|
126
|
+
height: 1.25rem;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.univer-h-8 {
|
|
130
|
+
height: 2rem;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.univer-h-full {
|
|
134
|
+
height: 100%;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.univer-w-1\/2 {
|
|
138
|
+
width: 50%;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.univer-w-36 {
|
|
142
|
+
width: 9rem;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.univer-w-64 {
|
|
146
|
+
width: 16rem;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.univer-w-80 {
|
|
150
|
+
width: 20rem;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.univer-w-\[45\%\] {
|
|
154
|
+
width: 45%;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.univer-w-full {
|
|
158
|
+
width: 100%;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.univer-min-w-0 {
|
|
162
|
+
min-width: 0;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.univer-min-w-\[72px\] {
|
|
166
|
+
min-width: 72px;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.univer-max-w-full {
|
|
170
|
+
max-width: 100%;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.univer-flex-shrink {
|
|
174
|
+
flex-shrink: 1;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.univer-flex-shrink-0 {
|
|
178
|
+
flex-shrink: 0;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.univer-cursor-grab {
|
|
182
|
+
cursor: grab;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.univer-cursor-pointer {
|
|
186
|
+
cursor: pointer;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.univer-grid-cols-2 {
|
|
190
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.univer-flex-col {
|
|
194
|
+
flex-direction: column;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.univer-flex-wrap {
|
|
198
|
+
flex-wrap: wrap;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.univer-items-center {
|
|
202
|
+
align-items: center;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.univer-justify-end {
|
|
206
|
+
justify-content: flex-end;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.univer-justify-center {
|
|
210
|
+
justify-content: center;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.univer-justify-between {
|
|
214
|
+
justify-content: space-between;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.univer-gap-2 {
|
|
218
|
+
gap: .5rem;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.univer-gap-4 {
|
|
222
|
+
gap: 1rem;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.univer-space-x-2 > :not([hidden]) ~ :not([hidden]) {
|
|
226
|
+
--univer-tw-space-x-reverse: 0;
|
|
227
|
+
margin-right: 0;
|
|
228
|
+
margin-right: calc(.5rem * var(--univer-tw-space-x-reverse));
|
|
229
|
+
margin-left: .5rem;
|
|
230
|
+
margin-left: calc(.5rem * (1 - var(--univer-tw-space-x-reverse)));
|
|
231
|
+
margin-left: .5rem;
|
|
232
|
+
margin-left: calc(.5rem * calc(1 - var(--univer-tw-space-x-reverse)));
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.univer-overflow-hidden {
|
|
236
|
+
overflow: hidden;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.univer-rounded {
|
|
240
|
+
border-radius: .25rem;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.univer-rounded-lg {
|
|
244
|
+
border-radius: .5rem;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.univer-rounded-md {
|
|
248
|
+
border-radius: .375rem;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.univer-border {
|
|
252
|
+
border-width: 1px;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.univer-border-solid {
|
|
256
|
+
border-style: solid;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.univer-border-red-500 {
|
|
260
|
+
border-color: var(--univer-red-500);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.\!univer-bg-gray-700 {
|
|
264
|
+
background-color: var(--univer-gray-700) !important;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.univer-bg-gray-100 {
|
|
268
|
+
background-color: var(--univer-gray-100);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.univer-bg-white {
|
|
272
|
+
background-color: var(--univer-white);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.univer-fill-primary-600 {
|
|
276
|
+
fill: var(--univer-primary-600);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.univer-p-1 {
|
|
280
|
+
padding: .25rem;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.univer-p-4 {
|
|
284
|
+
padding: 1rem;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.univer-px-1 {
|
|
288
|
+
padding-left: .25rem;
|
|
289
|
+
padding-right: .25rem;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.univer-px-4 {
|
|
293
|
+
padding-left: 1rem;
|
|
294
|
+
padding-right: 1rem;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.univer-py-2 {
|
|
298
|
+
padding-top: .5rem;
|
|
299
|
+
padding-bottom: .5rem;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.univer-py-4 {
|
|
303
|
+
padding-top: 1rem;
|
|
304
|
+
padding-bottom: 1rem;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.univer-pl-1 {
|
|
308
|
+
padding-left: .25rem;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.univer-pl-5 {
|
|
312
|
+
padding-left: 1.25rem;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.univer-pr-8 {
|
|
316
|
+
padding-right: 2rem;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.univer-pt-2 {
|
|
320
|
+
padding-top: .5rem;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.univer-text-\[10px\] {
|
|
324
|
+
font-size: 10px;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.univer-text-sm {
|
|
328
|
+
font-size: .875rem;
|
|
329
|
+
line-height: 1.25rem;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.univer-text-xs {
|
|
333
|
+
font-size: .75rem;
|
|
334
|
+
line-height: 1rem;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.univer-font-bold {
|
|
338
|
+
font-weight: 700;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.univer-font-medium {
|
|
342
|
+
font-weight: 500;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.univer-italic {
|
|
346
|
+
font-style: italic;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.univer-text-gray-300 {
|
|
350
|
+
color: var(--univer-gray-300);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.univer-text-gray-400 {
|
|
354
|
+
color: var(--univer-gray-400);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.univer-text-gray-600 {
|
|
358
|
+
color: var(--univer-gray-600);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.univer-text-gray-900 {
|
|
362
|
+
color: var(--univer-gray-900);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.univer-text-red-500 {
|
|
366
|
+
color: var(--univer-red-500);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.univer-transition-all {
|
|
370
|
+
transition-property: all;
|
|
371
|
+
transition-duration: .15s;
|
|
372
|
+
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.univer-transition-colors {
|
|
376
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
377
|
+
transition-duration: .15s;
|
|
378
|
+
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.univer-group:hover .group-hover\:univer-flex {
|
|
382
|
+
display: flex;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.hover\:univer-border-primary-600:hover {
|
|
386
|
+
border-color: var(--univer-primary-600);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.hover\:univer-bg-gray-100:hover {
|
|
390
|
+
background-color: var(--univer-gray-100);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.hover\:univer-bg-gray-200:hover {
|
|
394
|
+
background-color: var(--univer-gray-200);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
|
|
398
|
+
background-color: var(--univer-gray-700) !important;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
|
|
402
|
+
color: var(--univer-gray-200) !important;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
|
|
406
|
+
color: var(--univer-white) !important;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
|
|
410
|
+
background-color: var(--univer-gray-700) !important;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.\[\&\>div\:first-child\]\:univer-px-2\.5 > div:first-child {
|
|
414
|
+
padding-left: .625rem;
|
|
415
|
+
padding-right: .625rem;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.\[\&\>div\]\:univer-h-5 > div {
|
|
419
|
+
height: 1.25rem;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.\[\&\>div\]\:univer-ring-transparent > div {
|
|
423
|
+
--univer-tw-ring-color: transparent;
|
|
424
|
+
}
|