@univerjs/sheets-data-validation-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.
Files changed (107) hide show
  1. package/lib/cjs/index.js +48 -2
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +48 -3241
  15. package/lib/es/locale/ca-ES.js +1 -182
  16. package/lib/es/locale/en-US.js +1 -182
  17. package/lib/es/locale/es-ES.js +1 -182
  18. package/lib/es/locale/fa-IR.js +1 -182
  19. package/lib/es/locale/fr-FR.js +1 -182
  20. package/lib/es/locale/ja-JP.js +1 -182
  21. package/lib/es/locale/ko-KR.js +1 -182
  22. package/lib/es/locale/ru-RU.js +1 -182
  23. package/lib/es/locale/sk-SK.js +1 -182
  24. package/lib/es/locale/vi-VN.js +1 -182
  25. package/lib/es/locale/zh-CN.js +1 -184
  26. package/lib/es/locale/zh-TW.js +1 -182
  27. package/lib/index.css +317 -1
  28. package/lib/index.js +48 -3241
  29. package/lib/locale/ca-ES.js +1 -182
  30. package/lib/locale/en-US.js +1 -182
  31. package/lib/locale/es-ES.js +1 -182
  32. package/lib/locale/fa-IR.js +1 -182
  33. package/lib/locale/fr-FR.js +1 -182
  34. package/lib/locale/ja-JP.js +1 -182
  35. package/lib/locale/ko-KR.js +1 -182
  36. package/lib/locale/ru-RU.js +1 -182
  37. package/lib/locale/sk-SK.js +1 -182
  38. package/lib/locale/vi-VN.js +1 -182
  39. package/lib/locale/zh-CN.js +1 -184
  40. package/lib/locale/zh-TW.js +1 -182
  41. package/lib/types/commands/commands/data-validation-ui.command.d.ts +16 -1
  42. package/lib/types/commands/operations/data-validation.operation.d.ts +16 -1
  43. package/lib/types/config/config.d.ts +16 -1
  44. package/lib/types/controllers/dv-alert.controller.d.ts +15 -0
  45. package/lib/types/controllers/dv-auto-fill.controller.d.ts +15 -0
  46. package/lib/types/controllers/dv-copy-paste.controller.d.ts +15 -0
  47. package/lib/types/controllers/dv-permission.controller.d.ts +15 -0
  48. package/lib/types/controllers/dv-reject-input.controller.d.ts +15 -0
  49. package/lib/types/controllers/dv-render.controller.d.ts +15 -0
  50. package/lib/types/controllers/dv-rerender.controller.d.ts +18 -2
  51. package/lib/types/controllers/dv-ui.controller.d.ts +15 -0
  52. package/lib/types/locale/ca-ES.d.ts +16 -1
  53. package/lib/types/locale/es-ES.d.ts +16 -1
  54. package/lib/types/locale/fa-IR.d.ts +16 -1
  55. package/lib/types/locale/fr-FR.d.ts +16 -1
  56. package/lib/types/locale/ja-JP.d.ts +16 -1
  57. package/lib/types/locale/ko-KR.d.ts +16 -1
  58. package/lib/types/locale/ru-RU.d.ts +16 -1
  59. package/lib/types/locale/sk-SK.d.ts +16 -1
  60. package/lib/types/locale/vi-VN.d.ts +16 -1
  61. package/lib/types/locale/zh-CN.d.ts +16 -1
  62. package/lib/types/locale/zh-TW.d.ts +16 -1
  63. package/lib/types/menu/dv.menu.d.ts +17 -2
  64. package/lib/types/menu/schema.d.ts +16 -1
  65. package/lib/types/mobile-plugin.d.ts +16 -1
  66. package/lib/types/plugin.d.ts +16 -1
  67. package/lib/types/services/data-validation-panel.service.d.ts +19 -3
  68. package/lib/types/services/dropdown-manager.service.d.ts +20 -3
  69. package/lib/types/views/components/formula-input/BaseFormulaInput.d.ts +16 -1
  70. package/lib/types/views/components/formula-input/CheckboxFormulaInput.d.ts +16 -1
  71. package/lib/types/views/components/formula-input/CustomFormulaInput.d.ts +16 -1
  72. package/lib/types/views/components/formula-input/ListFormulaInput.d.ts +16 -1
  73. package/lib/types/views/components/formula-input/formula-input.d.ts +16 -1
  74. package/lib/types/views/components/formula-input/index.d.ts +16 -1
  75. package/lib/types/views/components/item/index.d.ts +16 -1
  76. package/lib/types/views/components/list/index.d.ts +16 -1
  77. package/lib/types/views/components/options/index.d.ts +16 -1
  78. package/lib/types/views/components/render-mode/index.d.ts +16 -1
  79. package/lib/types/views/components/show-time/index.d.ts +16 -1
  80. package/lib/types/views/validator-views/checkbox-validator-view.d.ts +15 -0
  81. package/lib/types/views/validator-views/custom-validator-view.d.ts +15 -0
  82. package/lib/types/views/validator-views/date-validator-view.d.ts +15 -0
  83. package/lib/types/views/validator-views/decimal-validator-view.d.ts +15 -0
  84. package/lib/types/views/validator-views/list-multiple-view.d.ts +15 -0
  85. package/lib/types/views/validator-views/list-validator-view.d.ts +19 -2
  86. package/lib/types/views/validator-views/sheet-validator-view.d.ts +18 -2
  87. package/lib/types/views/validator-views/text-length-validator.view.d.ts +15 -0
  88. package/lib/types/views/validator-views/whole-validator-view.d.ts +15 -0
  89. package/lib/types/views/widgets/checkbox-widget.d.ts +20 -3
  90. package/lib/types/views/widgets/dropdown-multiple-widget.d.ts +20 -3
  91. package/lib/types/views/widgets/dropdown-widget.d.ts +20 -3
  92. package/lib/types/views/widgets/shape/dropdown.d.ts +18 -2
  93. package/lib/types/views/widgets/shape/layout.d.ts +18 -3
  94. package/lib/umd/index.js +48 -2
  95. package/lib/umd/locale/ca-ES.js +1 -1
  96. package/lib/umd/locale/en-US.js +1 -1
  97. package/lib/umd/locale/es-ES.js +1 -1
  98. package/lib/umd/locale/fa-IR.js +1 -1
  99. package/lib/umd/locale/fr-FR.js +1 -1
  100. package/lib/umd/locale/ja-JP.js +1 -1
  101. package/lib/umd/locale/ko-KR.js +1 -1
  102. package/lib/umd/locale/ru-RU.js +1 -1
  103. package/lib/umd/locale/sk-SK.js +1 -1
  104. package/lib/umd/locale/vi-VN.js +1 -1
  105. package/lib/umd/locale/zh-CN.js +1 -1
  106. package/lib/umd/locale/zh-TW.js +1 -1
  107. package/package.json +17 -16
package/lib/index.css CHANGED
@@ -1 +1,317 @@
1
- .univer-absolute{position:absolute}.univer-relative{position:relative}.univer-right-2{right:.5rem}.univer-top-\[19px\]{top:19px}.univer--mx-2{margin-left:-.5rem;margin-right:-.5rem}.-univer-mt-2{margin-top:-.5rem}.-univer-mt-3{margin-top:-.75rem}.univer-mb-1{margin-bottom:.25rem}.univer-mb-3{margin-bottom:.75rem}.univer-ml-1{margin-left:.25rem}.univer-ml-3{margin-left:.75rem}.univer-mr-1{margin-right:.25rem}.univer-mt-3{margin-top:.75rem}.univer-mt-4{margin-top:1rem}.univer-mt-5{margin-top:1.25rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-4{width:1rem;height:1rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-h-8{height:2rem}.univer-w-16{width:4rem}.univer-w-\[287px\]{width:287px}.univer-w-fit{width:-moz-fit-content;width:fit-content}.univer-w-full{width:100%}.univer-cursor-move{cursor:move}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.univer-flex-row{flex-direction:row}.univer-flex-col{flex-direction:column}.univer-flex-wrap{flex-wrap:wrap}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-2{gap:.5rem}.univer-overflow-hidden{overflow:hidden}.univer-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-rounded{border-radius:.25rem}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.univer-bg-white{background-color:var(--univer-white)}.univer-p-1{padding:.25rem}.univer-p-1\.5{padding:.375rem}.univer-p-2{padding:.5rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-pb-4{padding-bottom:1rem}.univer-pr-9{padding-right:2.25rem}.univer-pt-2{padding-top:.5rem}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-medium{font-weight:500}.univer-leading-\[18px\]{line-height:18px}.univer-leading-\[22px\]{line-height:22px}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-opacity-50{opacity:.5}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.hover\:univer-bg-gray-50:hover{background-color:var(--univer-gray-50)}.hover\:univer-bg-primary-50:hover{background-color:var(--univer-primary-50)}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-text-gray-300:where(.univer-dark,.univer-dark *){color:var(--univer-gray-300)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.\[\&\>div\:first-child\]\:univer-px-2\.5>div:first-child{padding-left:.625rem;padding-right:.625rem}.\[\&\>div\]\:univer-h-5>div{height:1.25rem}.\[\&\>div\]\:univer-ring-transparent>div{--univer-tw-ring-color: transparent }
1
+ .univer-absolute {
2
+ position: absolute;
3
+ }
4
+
5
+ .univer-relative {
6
+ position: relative;
7
+ }
8
+
9
+ .univer-right-2 {
10
+ right: .5rem;
11
+ }
12
+
13
+ .univer-top-\[19px\] {
14
+ top: 19px;
15
+ }
16
+
17
+ .univer--mx-2 {
18
+ margin-left: -.5rem;
19
+ margin-right: -.5rem;
20
+ }
21
+
22
+ .-univer-mt-2 {
23
+ margin-top: -.5rem;
24
+ }
25
+
26
+ .-univer-mt-3 {
27
+ margin-top: -.75rem;
28
+ }
29
+
30
+ .univer-mb-1 {
31
+ margin-bottom: .25rem;
32
+ }
33
+
34
+ .univer-mb-3 {
35
+ margin-bottom: .75rem;
36
+ }
37
+
38
+ .univer-ml-1 {
39
+ margin-left: .25rem;
40
+ }
41
+
42
+ .univer-ml-3 {
43
+ margin-left: .75rem;
44
+ }
45
+
46
+ .univer-mr-1 {
47
+ margin-right: .25rem;
48
+ }
49
+
50
+ .univer-mt-3 {
51
+ margin-top: .75rem;
52
+ }
53
+
54
+ .univer-mt-4 {
55
+ margin-top: 1rem;
56
+ }
57
+
58
+ .univer-mt-5 {
59
+ margin-top: 1.25rem;
60
+ }
61
+
62
+ .univer-box-border {
63
+ box-sizing: border-box;
64
+ }
65
+
66
+ .univer-flex {
67
+ display: flex;
68
+ }
69
+
70
+ .univer-inline-flex {
71
+ display: inline-flex;
72
+ }
73
+
74
+ .univer-grid {
75
+ display: grid;
76
+ }
77
+
78
+ .univer-size-4 {
79
+ width: 1rem;
80
+ height: 1rem;
81
+ }
82
+
83
+ .univer-size-5 {
84
+ width: 1.25rem;
85
+ height: 1.25rem;
86
+ }
87
+
88
+ .univer-h-8 {
89
+ height: 2rem;
90
+ }
91
+
92
+ .univer-w-16 {
93
+ width: 4rem;
94
+ }
95
+
96
+ .univer-w-\[287px\] {
97
+ width: 287px;
98
+ }
99
+
100
+ .univer-w-fit {
101
+ width: fit-content;
102
+ }
103
+
104
+ .univer-w-full {
105
+ width: 100%;
106
+ }
107
+
108
+ .univer-cursor-move {
109
+ cursor: move;
110
+ }
111
+
112
+ .univer-cursor-pointer {
113
+ cursor: pointer;
114
+ }
115
+
116
+ .univer-grid-cols-6 {
117
+ grid-template-columns: repeat(6, minmax(0, 1fr));
118
+ }
119
+
120
+ .univer-flex-row {
121
+ flex-direction: row;
122
+ }
123
+
124
+ .univer-flex-col {
125
+ flex-direction: column;
126
+ }
127
+
128
+ .univer-flex-wrap {
129
+ flex-wrap: wrap;
130
+ }
131
+
132
+ .univer-items-center {
133
+ align-items: center;
134
+ }
135
+
136
+ .univer-justify-end {
137
+ justify-content: flex-end;
138
+ }
139
+
140
+ .univer-justify-center {
141
+ justify-content: center;
142
+ }
143
+
144
+ .univer-justify-between {
145
+ justify-content: space-between;
146
+ }
147
+
148
+ .univer-gap-2 {
149
+ gap: .5rem;
150
+ }
151
+
152
+ .univer-overflow-hidden {
153
+ overflow: hidden;
154
+ }
155
+
156
+ .univer-truncate {
157
+ text-overflow: ellipsis;
158
+ white-space: nowrap;
159
+ overflow: hidden;
160
+ }
161
+
162
+ .univer-rounded {
163
+ border-radius: .25rem;
164
+ }
165
+
166
+ .univer-rounded-lg {
167
+ border-radius: .5rem;
168
+ }
169
+
170
+ .univer-rounded-md {
171
+ border-radius: .375rem;
172
+ }
173
+
174
+ .\!univer-bg-gray-700 {
175
+ background-color: var(--univer-gray-700) !important;
176
+ }
177
+
178
+ .univer-bg-white {
179
+ background-color: var(--univer-white);
180
+ }
181
+
182
+ .univer-p-1 {
183
+ padding: .25rem;
184
+ }
185
+
186
+ .univer-p-1\.5 {
187
+ padding: .375rem;
188
+ }
189
+
190
+ .univer-p-2 {
191
+ padding: .5rem;
192
+ }
193
+
194
+ .univer-px-2 {
195
+ padding-left: .5rem;
196
+ padding-right: .5rem;
197
+ }
198
+
199
+ .univer-px-2\.5 {
200
+ padding-left: .625rem;
201
+ padding-right: .625rem;
202
+ }
203
+
204
+ .univer-py-2 {
205
+ padding-top: .5rem;
206
+ padding-bottom: .5rem;
207
+ }
208
+
209
+ .univer-pb-4 {
210
+ padding-bottom: 1rem;
211
+ }
212
+
213
+ .univer-pr-9 {
214
+ padding-right: 2.25rem;
215
+ }
216
+
217
+ .univer-pt-2 {
218
+ padding-top: .5rem;
219
+ }
220
+
221
+ .univer-text-base {
222
+ font-size: 1rem;
223
+ line-height: 1.5rem;
224
+ }
225
+
226
+ .univer-text-sm {
227
+ font-size: .875rem;
228
+ line-height: 1.25rem;
229
+ }
230
+
231
+ .univer-text-xs {
232
+ font-size: .75rem;
233
+ line-height: 1rem;
234
+ }
235
+
236
+ .univer-font-medium {
237
+ font-weight: 500;
238
+ }
239
+
240
+ .univer-leading-\[18px\] {
241
+ line-height: 18px;
242
+ }
243
+
244
+ .univer-leading-\[22px\] {
245
+ line-height: 22px;
246
+ }
247
+
248
+ .univer-text-gray-400 {
249
+ color: var(--univer-gray-400);
250
+ }
251
+
252
+ .univer-text-gray-900 {
253
+ color: var(--univer-gray-900);
254
+ }
255
+
256
+ .univer-opacity-50 {
257
+ opacity: .5;
258
+ }
259
+
260
+ .univer-transition-colors {
261
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
262
+ transition-duration: .15s;
263
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
264
+ }
265
+
266
+ .univer-duration-200 {
267
+ transition-duration: .2s;
268
+ }
269
+
270
+ .hover\:univer-border-primary-600:hover {
271
+ border-color: var(--univer-primary-600);
272
+ }
273
+
274
+ .hover\:univer-bg-gray-200:hover {
275
+ background-color: var(--univer-gray-200);
276
+ }
277
+
278
+ .hover\:univer-bg-gray-50:hover {
279
+ background-color: var(--univer-gray-50);
280
+ }
281
+
282
+ .hover\:univer-bg-primary-50:hover {
283
+ background-color: var(--univer-primary-50);
284
+ }
285
+
286
+ .dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
287
+ background-color: var(--univer-gray-700) !important;
288
+ }
289
+
290
+ .dark\:\!univer-text-gray-300:where(.univer-dark, .univer-dark *) {
291
+ color: var(--univer-gray-300) !important;
292
+ }
293
+
294
+ .dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
295
+ color: var(--univer-white) !important;
296
+ }
297
+
298
+ .dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
299
+ background-color: var(--univer-gray-700) !important;
300
+ }
301
+
302
+ .dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark, .univer-dark *) {
303
+ background-color: var(--univer-gray-800) !important;
304
+ }
305
+
306
+ .\[\&\>div\:first-child\]\:univer-px-2\.5 > div:first-child {
307
+ padding-left: .625rem;
308
+ padding-right: .625rem;
309
+ }
310
+
311
+ .\[\&\>div\]\:univer-h-5 > div {
312
+ height: 1.25rem;
313
+ }
314
+
315
+ .\[\&\>div\]\:univer-ring-transparent > div {
316
+ --univer-tw-ring-color: transparent;
317
+ }