@univerjs-pro/slides-table-ui 1.0.0-alpha.2 → 1.0.0-alpha.4
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 +4 -2
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.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-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +182 -14
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/operations/table-contextmenu.operation.d.ts +22 -36
- package/lib/types/controllers/slide-table-interaction.render-controller.d.ts +9 -4
- package/lib/types/index.d.ts +28 -8
- package/lib/types/locale/en-US.d.ts +17 -0
- package/lib/types/menu/contextmenu.menu.d.ts +0 -3
- package/lib/types/render-objects/slide-table-document-render-resources.util.d.ts +42 -0
- package/lib/types/render-objects/slide-table-document-text-render.util.d.ts +26 -0
- package/lib/types/render-objects/slide-table-object.d.ts +127 -0
- package/lib/types/services/slide-table-cell-editor.service.d.ts +50 -0
- package/lib/types/services/slide-table-keyboard.service.d.ts +9 -23
- package/lib/types/services/table-keyboard.service-base.d.ts +18 -0
- package/lib/types/utils/slide-table-clipboard-model.d.ts +7 -0
- package/lib/types/utils/slide-table-contextmenu-model.d.ts +69 -0
- package/lib/types/utils/slide-table-editor-model.d.ts +78 -0
- package/lib/types/utils/slide-table-keyboard-input.d.ts +13 -0
- package/lib/types/utils/slide-table-keyboard-model.d.ts +43 -0
- package/lib/types/utils/slide-table-object-selection-model.d.ts +7 -0
- package/lib/types/utils/slide-table-structural-insert.util.d.ts +15 -0
- package/lib/types/utils/slide-table-toolbar-model.d.ts +17 -0
- package/lib/types/utils/slide-table-toolbar-shared-model.d.ts +70 -0
- package/lib/types/utils/slide-table-toolbar-values.d.ts +33 -0
- package/lib/types/views/TableThemeGallery.d.ts +10 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -18
- /package/lib/types/{views → utils}/slide-table-hit-test.d.ts +0 -0
package/lib/index.css
CHANGED
|
@@ -1,7 +1,51 @@
|
|
|
1
|
+
.univer-pointer-events-none {
|
|
2
|
+
pointer-events: none;
|
|
3
|
+
}
|
|
4
|
+
|
|
1
5
|
.univer-fixed {
|
|
2
6
|
position: fixed;
|
|
3
7
|
}
|
|
4
8
|
|
|
9
|
+
.univer-absolute {
|
|
10
|
+
position: absolute;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.univer-relative {
|
|
14
|
+
position: relative;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.univer-sticky {
|
|
18
|
+
position: sticky;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.univer-right-0\.5 {
|
|
22
|
+
right: .125rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.univer-top-0 {
|
|
26
|
+
top: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.univer-top-0\.5 {
|
|
30
|
+
top: .125rem;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.univer-z-10 {
|
|
34
|
+
z-index: 10;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.univer-mb-1 {
|
|
38
|
+
margin-bottom: .25rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.univer-mb-2 {
|
|
42
|
+
margin-bottom: .5rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.univer-mb-3 {
|
|
46
|
+
margin-bottom: .75rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
5
49
|
.univer-box-border {
|
|
6
50
|
box-sizing: border-box;
|
|
7
51
|
}
|
|
@@ -22,6 +66,11 @@
|
|
|
22
66
|
display: none;
|
|
23
67
|
}
|
|
24
68
|
|
|
69
|
+
.univer-size-3 {
|
|
70
|
+
width: .75rem;
|
|
71
|
+
height: .75rem;
|
|
72
|
+
}
|
|
73
|
+
|
|
25
74
|
.univer-size-4 {
|
|
26
75
|
width: 1rem;
|
|
27
76
|
height: 1rem;
|
|
@@ -36,6 +85,10 @@
|
|
|
36
85
|
height: 1.5rem !important;
|
|
37
86
|
}
|
|
38
87
|
|
|
88
|
+
.univer-h-11 {
|
|
89
|
+
height: 2.75rem;
|
|
90
|
+
}
|
|
91
|
+
|
|
39
92
|
.univer-h-14 {
|
|
40
93
|
height: 3.5rem;
|
|
41
94
|
}
|
|
@@ -44,10 +97,6 @@
|
|
|
44
97
|
height: .75rem;
|
|
45
98
|
}
|
|
46
99
|
|
|
47
|
-
.univer-h-5 {
|
|
48
|
-
height: 1.25rem;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
100
|
.univer-h-6 {
|
|
52
101
|
height: 1.5rem;
|
|
53
102
|
}
|
|
@@ -60,8 +109,8 @@
|
|
|
60
109
|
height: 2rem;
|
|
61
110
|
}
|
|
62
111
|
|
|
63
|
-
.univer-h
|
|
64
|
-
height:
|
|
112
|
+
.univer-max-h-\[420px\] {
|
|
113
|
+
max-height: 420px;
|
|
65
114
|
}
|
|
66
115
|
|
|
67
116
|
.univer-w-14 {
|
|
@@ -88,6 +137,10 @@
|
|
|
88
137
|
width: 280px;
|
|
89
138
|
}
|
|
90
139
|
|
|
140
|
+
.univer-w-\[420px\] {
|
|
141
|
+
width: 420px;
|
|
142
|
+
}
|
|
143
|
+
|
|
91
144
|
.univer-w-auto {
|
|
92
145
|
width: auto;
|
|
93
146
|
}
|
|
@@ -96,14 +149,14 @@
|
|
|
96
149
|
width: 100%;
|
|
97
150
|
}
|
|
98
151
|
|
|
99
|
-
.univer-w-px {
|
|
100
|
-
width: 1px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
152
|
.\!univer-min-w-0 {
|
|
104
153
|
min-width: 0 !important;
|
|
105
154
|
}
|
|
106
155
|
|
|
156
|
+
.univer-min-w-0 {
|
|
157
|
+
min-width: 0;
|
|
158
|
+
}
|
|
159
|
+
|
|
107
160
|
.univer-min-w-32 {
|
|
108
161
|
min-width: 8rem;
|
|
109
162
|
}
|
|
@@ -124,6 +177,18 @@
|
|
|
124
177
|
flex-shrink: 0;
|
|
125
178
|
}
|
|
126
179
|
|
|
180
|
+
.univer-cursor-pointer {
|
|
181
|
+
cursor: pointer;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.univer-grid-cols-3 {
|
|
185
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.univer-grid-cols-4 {
|
|
189
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
190
|
+
}
|
|
191
|
+
|
|
127
192
|
.univer-grid-cols-5 {
|
|
128
193
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
129
194
|
}
|
|
@@ -160,6 +225,20 @@
|
|
|
160
225
|
gap: .75rem;
|
|
161
226
|
}
|
|
162
227
|
|
|
228
|
+
.univer-overflow-hidden {
|
|
229
|
+
overflow: hidden;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.univer-overflow-y-auto {
|
|
233
|
+
overflow-y: auto;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.univer-truncate {
|
|
237
|
+
text-overflow: ellipsis;
|
|
238
|
+
white-space: nowrap;
|
|
239
|
+
overflow: hidden;
|
|
240
|
+
}
|
|
241
|
+
|
|
163
242
|
.\!univer-rounded-md {
|
|
164
243
|
border-radius: .375rem !important;
|
|
165
244
|
}
|
|
@@ -208,6 +287,18 @@
|
|
|
208
287
|
border-color: var(--univer-gray-300);
|
|
209
288
|
}
|
|
210
289
|
|
|
290
|
+
.univer-border-primary-600 {
|
|
291
|
+
border-color: var(--univer-primary-600);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.univer-border-transparent {
|
|
295
|
+
border-color: #0000;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.\!univer-bg-gray-800 {
|
|
299
|
+
background-color: var(--univer-gray-800) !important;
|
|
300
|
+
}
|
|
301
|
+
|
|
211
302
|
.\!univer-bg-transparent {
|
|
212
303
|
background-color: #0000 !important;
|
|
213
304
|
}
|
|
@@ -220,14 +311,14 @@
|
|
|
220
311
|
background-color: var(--univer-gray-100);
|
|
221
312
|
}
|
|
222
313
|
|
|
223
|
-
.univer-bg-gray-200 {
|
|
224
|
-
background-color: var(--univer-gray-200);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
314
|
.univer-bg-primary-50 {
|
|
228
315
|
background-color: var(--univer-primary-50);
|
|
229
316
|
}
|
|
230
317
|
|
|
318
|
+
.univer-bg-primary-600 {
|
|
319
|
+
background-color: var(--univer-primary-600);
|
|
320
|
+
}
|
|
321
|
+
|
|
231
322
|
.univer-bg-transparent {
|
|
232
323
|
background-color: #0000;
|
|
233
324
|
}
|
|
@@ -286,6 +377,15 @@
|
|
|
286
377
|
padding-bottom: .25rem;
|
|
287
378
|
}
|
|
288
379
|
|
|
380
|
+
.univer-py-1\.5 {
|
|
381
|
+
padding-top: .375rem;
|
|
382
|
+
padding-bottom: .375rem;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.univer-pt-1 {
|
|
386
|
+
padding-top: .25rem;
|
|
387
|
+
}
|
|
388
|
+
|
|
289
389
|
.univer-text-left {
|
|
290
390
|
text-align: left;
|
|
291
391
|
}
|
|
@@ -300,10 +400,22 @@
|
|
|
300
400
|
line-height: 1rem;
|
|
301
401
|
}
|
|
302
402
|
|
|
403
|
+
.univer-font-medium {
|
|
404
|
+
font-weight: 500;
|
|
405
|
+
}
|
|
406
|
+
|
|
303
407
|
.\!univer-text-primary-300 {
|
|
304
408
|
color: var(--univer-primary-300) !important;
|
|
305
409
|
}
|
|
306
410
|
|
|
411
|
+
.univer-text-current {
|
|
412
|
+
color: currentColor;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.univer-text-gray-500 {
|
|
416
|
+
color: var(--univer-gray-500);
|
|
417
|
+
}
|
|
418
|
+
|
|
307
419
|
.univer-text-gray-600 {
|
|
308
420
|
color: var(--univer-gray-600);
|
|
309
421
|
}
|
|
@@ -312,10 +424,18 @@
|
|
|
312
424
|
color: var(--univer-gray-700);
|
|
313
425
|
}
|
|
314
426
|
|
|
427
|
+
.univer-text-gray-900 {
|
|
428
|
+
color: var(--univer-gray-900);
|
|
429
|
+
}
|
|
430
|
+
|
|
315
431
|
.univer-text-primary-600 {
|
|
316
432
|
color: var(--univer-primary-600);
|
|
317
433
|
}
|
|
318
434
|
|
|
435
|
+
.univer-text-white {
|
|
436
|
+
color: var(--univer-white);
|
|
437
|
+
}
|
|
438
|
+
|
|
319
439
|
.univer-shadow-lg {
|
|
320
440
|
--univer-tw-shadow: 0px 4px 6px 0px #1e284d0d, 0px 10px 15px -3px #1e284d1a;
|
|
321
441
|
--univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);
|
|
@@ -336,10 +456,50 @@
|
|
|
336
456
|
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
337
457
|
}
|
|
338
458
|
|
|
459
|
+
.last\:univer-mb-0:last-child {
|
|
460
|
+
margin-bottom: 0;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.hover\:univer-border-primary-300:hover {
|
|
464
|
+
border-color: var(--univer-primary-300);
|
|
465
|
+
}
|
|
466
|
+
|
|
339
467
|
.hover\:univer-bg-gray-100:hover {
|
|
340
468
|
background-color: var(--univer-gray-100);
|
|
341
469
|
}
|
|
342
470
|
|
|
471
|
+
.hover\:univer-bg-primary-50:hover {
|
|
472
|
+
background-color: var(--univer-primary-50);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.focus-visible\:univer-outline:focus-visible {
|
|
476
|
+
outline-style: solid;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.focus-visible\:univer-outline-2:focus-visible {
|
|
480
|
+
outline-width: 2px;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.focus-visible\:univer-outline-offset-1:focus-visible {
|
|
484
|
+
outline-offset: 1px;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.focus-visible\:univer-outline-primary-500:focus-visible {
|
|
488
|
+
outline-color: var(--univer-primary-500);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.rtl\:univer-left-0\.5:where([dir="rtl"], [dir="rtl"] *) {
|
|
492
|
+
left: .125rem;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.rtl\:univer-right-auto:where([dir="rtl"], [dir="rtl"] *) {
|
|
496
|
+
right: auto;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.rtl\:univer-text-right:where([dir="rtl"], [dir="rtl"] *) {
|
|
500
|
+
text-align: right;
|
|
501
|
+
}
|
|
502
|
+
|
|
343
503
|
.dark\:\!univer-border-gray-600:where(.univer-dark, .univer-dark *) {
|
|
344
504
|
border-color: var(--univer-gray-600) !important;
|
|
345
505
|
}
|
|
@@ -348,6 +508,10 @@
|
|
|
348
508
|
border-color: var(--univer-gray-700) !important;
|
|
349
509
|
}
|
|
350
510
|
|
|
511
|
+
.dark\:\!univer-border-primary-500:where(.univer-dark, .univer-dark *) {
|
|
512
|
+
border-color: var(--univer-primary-500) !important;
|
|
513
|
+
}
|
|
514
|
+
|
|
351
515
|
.dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
|
|
352
516
|
background-color: var(--univer-gray-700) !important;
|
|
353
517
|
}
|
|
@@ -368,6 +532,10 @@
|
|
|
368
532
|
color: var(--univer-gray-200) !important;
|
|
369
533
|
}
|
|
370
534
|
|
|
535
|
+
.dark\:\!univer-text-gray-400:where(.univer-dark, .univer-dark *) {
|
|
536
|
+
color: var(--univer-gray-400) !important;
|
|
537
|
+
}
|
|
538
|
+
|
|
371
539
|
.dark\:\!univer-text-primary-300:where(.univer-dark, .univer-dark *) {
|
|
372
540
|
color: var(--univer-primary-300) !important;
|
|
373
541
|
}
|