@windoc/core 0.1.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 (48) hide show
  1. package/dist/close-L5SCCSCB.svg +1 -0
  2. package/dist/delete-col-PJ7H2VME.svg +1 -0
  3. package/dist/delete-row-KRYK75UN.svg +1 -0
  4. package/dist/delete-row-col-AXTTBTJL.svg +1 -0
  5. package/dist/delete-table-ZQGIE7OX.svg +1 -0
  6. package/dist/image-KPDHUCUH.svg +1 -0
  7. package/dist/image-change-6XDDRDRA.svg +1 -0
  8. package/dist/image-download-SO26QHKO.svg +1 -0
  9. package/dist/image-next-JCBVCCB6.svg +1 -0
  10. package/dist/image-pre-AYOSFV6K.svg +1 -0
  11. package/dist/index.css +1246 -0
  12. package/dist/index.css.map +1 -0
  13. package/dist/index.d.mts +3200 -0
  14. package/dist/index.d.ts +3200 -0
  15. package/dist/index.js +26497 -0
  16. package/dist/index.js.map +1 -0
  17. package/dist/index.mjs +26423 -0
  18. package/dist/index.mjs.map +1 -0
  19. package/dist/insert-bottom-row-UXTNCMIA.svg +1 -0
  20. package/dist/insert-left-col-WKNVQRJU.svg +1 -0
  21. package/dist/insert-right-col-GFY3POPH.svg +1 -0
  22. package/dist/insert-row-col-DPJQ5OT2.svg +1 -0
  23. package/dist/insert-top-row-YCIWVAKE.svg +1 -0
  24. package/dist/merge-cancel-cell-L27MJAPT.svg +1 -0
  25. package/dist/merge-cell-NRL3YFFW.svg +1 -0
  26. package/dist/original-size-PECN7EBE.svg +1 -0
  27. package/dist/print-LVCRTYBR.svg +1 -0
  28. package/dist/rotate-7DOTSPFX.svg +1 -0
  29. package/dist/submenu-dropdown-YTAUMLFH.svg +1 -0
  30. package/dist/table-border-all-44ZWUFEF.svg +1 -0
  31. package/dist/table-border-dash-WAJLONDH.svg +1 -0
  32. package/dist/table-border-empty-JJV7KGOH.svg +1 -0
  33. package/dist/table-border-external-TB57BNDP.svg +1 -0
  34. package/dist/table-border-internal-ODMAMVLL.svg +1 -0
  35. package/dist/table-border-td-XRMSRWS4.svg +1 -0
  36. package/dist/table-border-td-back-NJJGCRBU.svg +1 -0
  37. package/dist/table-border-td-bottom-CUNHU7Z5.svg +1 -0
  38. package/dist/table-border-td-forward-5N5PN7SK.svg +1 -0
  39. package/dist/table-border-td-left-PH2BQBNW.svg +1 -0
  40. package/dist/table-border-td-right-IG6XSDFO.svg +1 -0
  41. package/dist/table-border-td-top-RNZ7YE2E.svg +1 -0
  42. package/dist/vertical-align-GRMW6UMN.svg +1 -0
  43. package/dist/vertical-align-bottom-KOLLKBRO.svg +1 -0
  44. package/dist/vertical-align-middle-SNHGOWIM.svg +1 -0
  45. package/dist/vertical-align-top-EGVPDCAJ.svg +1 -0
  46. package/dist/zoom-in-377XBLTC.svg +1 -0
  47. package/dist/zoom-out-M6FQBFNX.svg +1 -0
  48. package/package.json +27 -0
package/dist/index.css ADDED
@@ -0,0 +1,1246 @@
1
+ /* src/assets/css/control/select.css */
2
+ .ce-select-control-popup {
3
+ max-width: 160px;
4
+ min-width: 69px;
5
+ max-height: 225px;
6
+ position: absolute;
7
+ z-index: 1;
8
+ border: 1px solid #e4e7ed;
9
+ border-radius: 4px;
10
+ background-color: #fff;
11
+ box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
12
+ box-sizing: border-box;
13
+ margin: 5px 0;
14
+ overflow-y: auto;
15
+ }
16
+ .ce-select-control-popup ul {
17
+ list-style: none;
18
+ padding: 3px 0;
19
+ margin: 0;
20
+ box-sizing: border-box;
21
+ }
22
+ .ce-select-control-popup ul li {
23
+ font-size: 13px;
24
+ padding: 0 20px;
25
+ position: relative;
26
+ white-space: nowrap;
27
+ overflow: hidden;
28
+ text-overflow: ellipsis;
29
+ color: #666;
30
+ height: 36px;
31
+ line-height: 36px;
32
+ box-sizing: border-box;
33
+ cursor: pointer;
34
+ }
35
+ .ce-select-control-popup ul li:hover {
36
+ background-color: #EEF2FD;
37
+ }
38
+ .ce-select-control-popup ul li.active {
39
+ color: var(--COLOR-HOVER, #5175f4);
40
+ font-weight: 700;
41
+ }
42
+
43
+ /* src/assets/css/control/calculator.css */
44
+ .ce-calculator {
45
+ position: absolute;
46
+ z-index: 1;
47
+ border: 1px solid #e4e7ed;
48
+ border-radius: 4px;
49
+ background-color: #fff;
50
+ box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
51
+ box-sizing: border-box;
52
+ margin: 5px 0;
53
+ padding: 8px;
54
+ width: 200px;
55
+ }
56
+ .ce-calculator-display {
57
+ width: 100%;
58
+ height: 40px;
59
+ line-height: 40px;
60
+ text-align: right;
61
+ padding: 0 10px;
62
+ margin-bottom: 8px;
63
+ border: 1px solid #e4e7ed;
64
+ border-radius: 4px;
65
+ background-color: #f5f7fa;
66
+ font-size: 16px;
67
+ box-sizing: border-box;
68
+ overflow: hidden;
69
+ text-overflow: ellipsis;
70
+ }
71
+ .ce-calculator-buttons {
72
+ display: grid;
73
+ grid-template-columns: repeat(4, 1fr);
74
+ gap: 4px;
75
+ }
76
+ .ce-calculator-button {
77
+ width: 100%;
78
+ height: 36px;
79
+ border: 1px solid #e4e7ed;
80
+ border-radius: 4px;
81
+ background-color: #fff;
82
+ font-size: 14px;
83
+ cursor: pointer;
84
+ transition: all 0.2s;
85
+ box-sizing: border-box;
86
+ }
87
+ .ce-calculator-button:hover {
88
+ background-color: #EEF2FD;
89
+ border-color: #c6d1ff;
90
+ }
91
+ .ce-calculator-button:active {
92
+ background-color: #e1e8ff;
93
+ }
94
+ .ce-calculator-button.operator {
95
+ background-color: #f5f7fa;
96
+ }
97
+ .ce-calculator-button.operator:hover {
98
+ background-color: #EEF2FD;
99
+ }
100
+ .ce-calculator-button.equal {
101
+ background-color: var(--COLOR-HOVER, #5175f4);
102
+ color: #fff;
103
+ border-color: var(--COLOR-HOVER, #5175f4);
104
+ }
105
+ .ce-calculator-button.equal:hover {
106
+ background-color: var(--COLOR-HOVER, #6a84ff);
107
+ border-color: var(--COLOR-HOVER, #6a84ff);
108
+ }
109
+ .ce-calculator-button.utility {
110
+ background-color: #f0f2f5;
111
+ }
112
+ .ce-calculator-button.utility:hover {
113
+ background-color: #e6e8eb;
114
+ }
115
+
116
+ /* src/assets/css/date/datePicker.css */
117
+ .ce-date-container {
118
+ display: none;
119
+ width: 300px;
120
+ overflow: hidden;
121
+ left: 0;
122
+ right: 0;
123
+ position: absolute;
124
+ z-index: 1;
125
+ color: #606266;
126
+ background: #ffffff;
127
+ border-radius: 4px;
128
+ padding: 10px;
129
+ user-select: none;
130
+ border: 1px solid #e4e7ed;
131
+ box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
132
+ }
133
+ .ce-date-container.active {
134
+ display: block;
135
+ }
136
+ .ce-date-wrap {
137
+ display: none;
138
+ }
139
+ .ce-date-wrap.active {
140
+ display: block;
141
+ }
142
+ .ce-date-title {
143
+ display: flex;
144
+ justify-content: center;
145
+ align-items: center;
146
+ text-align: center;
147
+ color: #606266;
148
+ font-size: 16px;
149
+ }
150
+ .ce-date-title > span {
151
+ display: inline-block;
152
+ }
153
+ .ce-date-title > span:not(.ce-date-title__now) {
154
+ font-family: cursive;
155
+ cursor: pointer;
156
+ }
157
+ .ce-date-title > span:not(.ce-date-title__now):hover {
158
+ color: #5175F4;
159
+ }
160
+ .ce-date-title .ce-date-title__pre-year {
161
+ width: 15%;
162
+ }
163
+ .ce-date-title .ce-date-title__pre-month {
164
+ width: 15%;
165
+ }
166
+ .ce-date-title .ce-date-title__now {
167
+ width: 40%;
168
+ }
169
+ .ce-date-title .ce-date-title__next-year {
170
+ width: 15%;
171
+ }
172
+ .ce-date-title .ce-date-title__next-month {
173
+ width: 15%;
174
+ }
175
+ .ce-date-week {
176
+ width: 100%;
177
+ display: flex;
178
+ justify-content: center;
179
+ margin-top: 15px;
180
+ padding-bottom: 5px;
181
+ border-bottom: 1px solid #e4e7ed;
182
+ }
183
+ .ce-date-week > span {
184
+ list-style: none;
185
+ width: calc(100%/7);
186
+ text-align: center;
187
+ color: #606266;
188
+ font-size: 14px;
189
+ }
190
+ .ce-date-day {
191
+ width: 100%;
192
+ display: flex;
193
+ flex-wrap: wrap;
194
+ align-items: center;
195
+ margin-top: 5px;
196
+ }
197
+ .ce-date-day > div {
198
+ width: calc(100%/7);
199
+ height: 40px;
200
+ text-align: center;
201
+ color: #606266;
202
+ font-size: 14px;
203
+ cursor: pointer;
204
+ line-height: 40px;
205
+ border-radius: 4px;
206
+ }
207
+ .ce-date-day > div:hover {
208
+ color: #5175F4;
209
+ opacity: .8;
210
+ }
211
+ .ce-date-day > div.active {
212
+ color: #5175F4;
213
+ font-weight: 700;
214
+ }
215
+ .ce-date-day > div.disable {
216
+ color: #c0c4cc;
217
+ }
218
+ .ce-date-day > div.select {
219
+ color: #fff;
220
+ background-color: #5175F4;
221
+ }
222
+ .ce-time-wrap {
223
+ display: none;
224
+ padding: 10px;
225
+ height: 286px;
226
+ }
227
+ .ce-time-wrap ::-webkit-scrollbar {
228
+ width: 0;
229
+ }
230
+ .ce-time-wrap.active {
231
+ display: flex;
232
+ }
233
+ .ce-time-wrap li {
234
+ list-style: none;
235
+ }
236
+ .ce-time-wrap > li {
237
+ width: 33.3%;
238
+ height: 100%;
239
+ text-align: center;
240
+ }
241
+ .ce-time-wrap > li > span {
242
+ transform: translateY(-5px);
243
+ display: inline-block;
244
+ }
245
+ .ce-time-wrap > li > ol {
246
+ height: calc(100% - 20px);
247
+ overflow-y: auto;
248
+ border: 1px solid #e2e2e2;
249
+ position: relative;
250
+ }
251
+ .ce-time-wrap > li:first-child > ol {
252
+ border-right: 0;
253
+ }
254
+ .ce-time-wrap > li:last-child > ol {
255
+ border-left: 0;
256
+ }
257
+ .ce-time-wrap > li > ol > li {
258
+ line-height: 30px;
259
+ cursor: pointer;
260
+ transition: all .3s;
261
+ }
262
+ .ce-time-wrap > li > ol > li:hover {
263
+ background-color: #eaeaea;
264
+ }
265
+ .ce-time-wrap > li > ol > li.active {
266
+ color: #ffffff;
267
+ background: #5175F4;
268
+ }
269
+ .ce-date-menu {
270
+ width: 100%;
271
+ height: 28px;
272
+ display: flex;
273
+ justify-content: flex-end;
274
+ align-items: center;
275
+ padding-top: 10px;
276
+ position: relative;
277
+ border-top: 1px solid #e4e7ed;
278
+ }
279
+ .ce-date-menu button {
280
+ display: inline-block;
281
+ line-height: 1;
282
+ white-space: nowrap;
283
+ cursor: pointer;
284
+ background: #fff;
285
+ border: 1px solid #dcdfe6;
286
+ color: #606266;
287
+ appearance: none;
288
+ text-align: center;
289
+ box-sizing: border-box;
290
+ outline: none;
291
+ margin: 0;
292
+ transition: .1s;
293
+ font-weight: 500;
294
+ user-select: none;
295
+ padding: 7px 15px;
296
+ font-size: 12px;
297
+ border-radius: 3px;
298
+ margin-left: 10px;
299
+ }
300
+ .ce-date-menu button:hover {
301
+ color: #5175F4;
302
+ border-color: #5175F4;
303
+ }
304
+ .ce-date-menu button.ce-date-menu__time {
305
+ border: 1px solid transparent;
306
+ position: absolute;
307
+ left: 0;
308
+ margin-left: 0;
309
+ }
310
+ .ce-date-menu button.ce-date-menu__time:hover {
311
+ color: #5175F4;
312
+ }
313
+
314
+ /* src/assets/css/block/block.css */
315
+ .ce-block-item {
316
+ position: absolute;
317
+ z-index: 0;
318
+ background-color: #ffffff;
319
+ border: 1px solid rgb(235 236 240);
320
+ }
321
+ .ce-block-item .ce-resizer-selection {
322
+ width: 100%;
323
+ height: 100%;
324
+ }
325
+ .ce-block-item .ce-resizer-mask {
326
+ position: absolute;
327
+ top: 0;
328
+ bottom: 0;
329
+ left: 0;
330
+ right: 0;
331
+ z-index: 1;
332
+ background-color: transparent;
333
+ }
334
+
335
+ /* src/assets/css/table/table.css */
336
+ .ce-table-tool__row {
337
+ position: absolute;
338
+ width: 12px;
339
+ border-radius: 6.5px;
340
+ overflow: hidden;
341
+ background-color: #E2E6ED;
342
+ }
343
+ .ce-table-tool__row .ce-table-tool__row__item {
344
+ width: 100%;
345
+ position: relative;
346
+ cursor: pointer;
347
+ transition: all .3s;
348
+ }
349
+ .ce-table-tool__row .ce-table-tool__row__item::after {
350
+ content: "";
351
+ position: absolute;
352
+ bottom: 0;
353
+ left: 2px;
354
+ width: 8px;
355
+ height: 1px;
356
+ background-color: #C0C6CF;
357
+ }
358
+ .ce-table-tool__row .ce-table-tool__row__item:hover {
359
+ background-color: #dadce0;
360
+ }
361
+ .ce-table-tool__row .ce-table-tool__row__item:last-child:after {
362
+ display: none;
363
+ }
364
+ .ce-table-tool__quick__add {
365
+ width: 16px;
366
+ height: 16px;
367
+ position: absolute;
368
+ border-radius: 50%;
369
+ background-color: #E2E6ED;
370
+ cursor: pointer;
371
+ }
372
+ .ce-table-tool__quick__add::after {
373
+ content: "+";
374
+ color: #ffffff;
375
+ position: absolute;
376
+ top: 50%;
377
+ left: 50%;
378
+ transform: translate(-50%, -55%);
379
+ }
380
+ .ce-table-tool__select {
381
+ width: 16px;
382
+ height: 18px;
383
+ position: absolute;
384
+ border-radius: 3px;
385
+ cursor: pointer;
386
+ }
387
+ .ce-table-tool__select:hover {
388
+ background-color: #E2E6ED;
389
+ }
390
+ .ce-table-tool__select::after {
391
+ content: ":::";
392
+ color: #AAAAAB;
393
+ position: absolute;
394
+ top: 50%;
395
+ left: 50%;
396
+ transform: translate(-75%, -50%) rotate(-90deg);
397
+ }
398
+ .ce-table-tool__col {
399
+ position: absolute;
400
+ height: 12px;
401
+ border-radius: 6.5px;
402
+ overflow: hidden;
403
+ background-color: #E2E6ED;
404
+ display: flex;
405
+ }
406
+ .ce-table-tool__col .ce-table-tool__col__item {
407
+ height: 100%;
408
+ position: relative;
409
+ cursor: pointer;
410
+ transition: all .3s;
411
+ }
412
+ .ce-table-tool__col .ce-table-tool__col__item::after {
413
+ content: "";
414
+ position: absolute;
415
+ top: 2px;
416
+ left: -1px;
417
+ width: 1px;
418
+ height: 8px;
419
+ z-index: 1;
420
+ background-color: #C0C6CF;
421
+ }
422
+ .ce-table-tool__col .ce-table-tool__col__item:hover {
423
+ background-color: #dadce0;
424
+ }
425
+ .ce-table-tool__col .ce-table-tool__col__item:first-child:after {
426
+ display: none;
427
+ }
428
+ .ce-table-tool__row .ce-table-tool__row__item.active,
429
+ .ce-table-tool__col .ce-table-tool__col__item.active {
430
+ background-color: #C4D7FA;
431
+ }
432
+ .ce-table-tool__col .ce-table-tool__anchor {
433
+ right: -5px;
434
+ width: 10px;
435
+ height: 12px;
436
+ z-index: 9;
437
+ position: absolute;
438
+ cursor: col-resize;
439
+ }
440
+ .ce-table-tool__row .ce-table-tool__anchor {
441
+ bottom: -5px;
442
+ left: 0;
443
+ width: 12px;
444
+ height: 10px;
445
+ z-index: 9;
446
+ position: absolute;
447
+ cursor: row-resize;
448
+ }
449
+ .ce-table-anchor__line {
450
+ z-index: 9;
451
+ position: absolute;
452
+ border: 1px dotted #000000;
453
+ }
454
+ .ce-table-tool__border {
455
+ position: absolute;
456
+ z-index: 1;
457
+ background: transparent;
458
+ pointer-events: none;
459
+ }
460
+ .ce-table-tool__border__row {
461
+ position: absolute;
462
+ cursor: row-resize;
463
+ pointer-events: auto;
464
+ }
465
+ .ce-table-tool__border__col {
466
+ position: absolute;
467
+ cursor: col-resize;
468
+ pointer-events: auto;
469
+ }
470
+
471
+ /* src/assets/css/resizer/resizer.css */
472
+ .ce-resizer-selection {
473
+ position: absolute;
474
+ border: 1px solid;
475
+ pointer-events: none;
476
+ }
477
+ .ce-resizer-selection .resizer-handle {
478
+ position: absolute;
479
+ z-index: 9;
480
+ width: 10px;
481
+ height: 10px;
482
+ box-shadow: 0 1px 4px 0 rgb(0 0 0 / 30%);
483
+ border-radius: 5px;
484
+ border: 2px solid #ffffff;
485
+ box-sizing: border-box;
486
+ pointer-events: initial;
487
+ }
488
+ .ce-resizer-selection .handle-0 {
489
+ cursor: nw-resize;
490
+ }
491
+ .ce-resizer-selection .handle-1 {
492
+ cursor: n-resize;
493
+ }
494
+ .ce-resizer-selection .handle-2 {
495
+ cursor: ne-resize;
496
+ }
497
+ .ce-resizer-selection .handle-3 {
498
+ cursor: e-resize;
499
+ }
500
+ .ce-resizer-selection .handle-4 {
501
+ cursor: se-resize;
502
+ }
503
+ .ce-resizer-selection .handle-5 {
504
+ cursor: s-resize;
505
+ }
506
+ .ce-resizer-selection .handle-6 {
507
+ cursor: sw-resize;
508
+ }
509
+ .ce-resizer-selection .handle-7 {
510
+ cursor: w-resize;
511
+ }
512
+ .ce-resizer-size-view {
513
+ display: flex;
514
+ align-items: center;
515
+ height: 20px;
516
+ white-space: nowrap;
517
+ position: absolute;
518
+ z-index: 9;
519
+ top: -30px;
520
+ left: 0;
521
+ opacity: .9;
522
+ background-color: #000000;
523
+ padding: 0 5px;
524
+ border-radius: 4px;
525
+ }
526
+ .ce-resizer-size-view span {
527
+ color: #ffffff;
528
+ font-size: 12px;
529
+ }
530
+ .ce-resizer-image {
531
+ position: absolute;
532
+ opacity: 0.5;
533
+ }
534
+
535
+ /* src/assets/css/previewer/previewer.css */
536
+ .ce-image-previewer {
537
+ position: fixed;
538
+ left: 0;
539
+ top: 0;
540
+ z-index: 1000;
541
+ width: 100%;
542
+ height: 100%;
543
+ overflow: hidden;
544
+ background: #f2f4f7;
545
+ display: flex;
546
+ align-items: center;
547
+ justify-content: center;
548
+ animation: previewerAnimation .3s;
549
+ }
550
+ @keyframes previewerAnimation {
551
+ 0% {
552
+ opacity: 0.1;
553
+ }
554
+ 100% {
555
+ opacity: 1;
556
+ }
557
+ }
558
+ .ce-image-previewer .image-close {
559
+ width: 24px;
560
+ height: 24px;
561
+ display: inline-block;
562
+ position: absolute;
563
+ right: 50px;
564
+ top: 30px;
565
+ z-index: 99;
566
+ cursor: pointer;
567
+ background: url("./close-L5SCCSCB.svg") no-repeat;
568
+ background-size: 100% 100%;
569
+ transition: all .3s;
570
+ border-radius: 50%;
571
+ }
572
+ .ce-image-previewer .image-close:hover {
573
+ background-color: #e2e6ed;
574
+ }
575
+ .ce-image-previewer .ce-image-container {
576
+ position: relative;
577
+ }
578
+ .ce-image-previewer .ce-image-container img {
579
+ cursor: move;
580
+ position: relative;
581
+ }
582
+ .ce-image-previewer .ce-image-menu {
583
+ height: 50px;
584
+ position: absolute;
585
+ bottom: 50px;
586
+ z-index: 99;
587
+ display: flex;
588
+ align-items: center;
589
+ justify-content: center;
590
+ }
591
+ .ce-image-previewer .ce-image-menu i {
592
+ width: 32px;
593
+ height: 32px;
594
+ margin: 0 8px;
595
+ cursor: pointer;
596
+ display: inline-block;
597
+ background-repeat: no-repeat;
598
+ background-size: 100% 100%;
599
+ transition: all .3s;
600
+ border-radius: 50%;
601
+ }
602
+ .ce-image-previewer .ce-image-menu i:hover {
603
+ background-color: #e2e6ed;
604
+ }
605
+ .ce-image-previewer .ce-image-menu i.zoom-in {
606
+ background-image: url("./zoom-in-377XBLTC.svg");
607
+ }
608
+ .ce-image-previewer .ce-image-menu i.zoom-out {
609
+ background-image: url("./zoom-out-M6FQBFNX.svg");
610
+ }
611
+ .ce-image-previewer .ce-image-menu i.rotate {
612
+ background-image: url("./rotate-7DOTSPFX.svg");
613
+ }
614
+ .ce-image-previewer .ce-image-menu i.original-size {
615
+ background-image: url("./original-size-PECN7EBE.svg");
616
+ }
617
+ .ce-image-previewer .ce-image-menu i.image-download {
618
+ background-image: url("./image-download-SO26QHKO.svg");
619
+ }
620
+ .ce-image-previewer .ce-image-menu .image-navigate {
621
+ display: flex;
622
+ align-items: center;
623
+ justify-content: center;
624
+ }
625
+ .ce-image-previewer .ce-image-menu i.image-pre {
626
+ background-image: url("./image-pre-AYOSFV6K.svg");
627
+ }
628
+ .ce-image-previewer .ce-image-menu i.image-next {
629
+ background-image: url("./image-next-JCBVCCB6.svg");
630
+ }
631
+ .ce-image-previewer .ce-image-menu .image-count {
632
+ color: #000000;
633
+ font-size: 20px;
634
+ }
635
+ .ce-image-previewer .ce-image-menu i.disabled {
636
+ cursor: not-allowed;
637
+ opacity: 0.5;
638
+ }
639
+
640
+ /* src/assets/css/contextmenu/contextmenu.css */
641
+ .ce-contextmenu-container {
642
+ z-index: 9;
643
+ position: fixed;
644
+ display: none;
645
+ padding: 4px;
646
+ overflow-x: hidden;
647
+ overflow-y: auto;
648
+ background: #fff;
649
+ box-shadow: 0 2px 12px 0 rgb(56 56 56 / 20%);
650
+ border: 1px solid #e2e6ed;
651
+ border-radius: 2px;
652
+ }
653
+ .ce-contextmenu-content {
654
+ display: flex;
655
+ flex-direction: column;
656
+ }
657
+ .ce-contextmenu-content .ce-contextmenu-sub-item::after {
658
+ position: absolute;
659
+ content: "";
660
+ width: 16px;
661
+ height: 16px;
662
+ right: 12px;
663
+ background: url("./submenu-dropdown-YTAUMLFH.svg");
664
+ }
665
+ .ce-contextmenu-content .ce-contextmenu-item {
666
+ min-width: 140px;
667
+ padding: 0 32px 0 16px;
668
+ height: 30px;
669
+ display: flex;
670
+ align-items: center;
671
+ white-space: nowrap;
672
+ box-sizing: border-box;
673
+ cursor: pointer;
674
+ }
675
+ .ce-contextmenu-content .ce-contextmenu-item.hover {
676
+ background: rgba(25, 55, 88, .04);
677
+ }
678
+ .ce-contextmenu-content .ce-contextmenu-item span {
679
+ max-width: 300px;
680
+ font-size: 12px;
681
+ color: #3d4757;
682
+ overflow: hidden;
683
+ white-space: nowrap;
684
+ text-overflow: ellipsis;
685
+ }
686
+ .ce-contextmenu-content .ce-contextmenu-item span.ce-shortcut {
687
+ color: #767c85;
688
+ height: 30px;
689
+ flex: 1;
690
+ text-align: right;
691
+ line-height: 30px;
692
+ margin-left: 20px;
693
+ }
694
+ .ce-contextmenu-content .ce-contextmenu-item i {
695
+ width: 16px;
696
+ height: 16px;
697
+ vertical-align: middle;
698
+ display: inline-block;
699
+ background-repeat: no-repeat;
700
+ background-size: 100% 100%;
701
+ flex-shrink: 0;
702
+ margin-right: 8px;
703
+ }
704
+ .ce-contextmenu-divider {
705
+ background-color: #e2e6ed;
706
+ margin: 4px 16px;
707
+ height: 1px;
708
+ }
709
+ .ce-contextmenu-print {
710
+ background-image: url("./print-LVCRTYBR.svg");
711
+ }
712
+ .ce-contextmenu-image {
713
+ background-image: url("./image-KPDHUCUH.svg");
714
+ }
715
+ .ce-contextmenu-image-change {
716
+ background-image: url("./image-change-6XDDRDRA.svg");
717
+ }
718
+ .ce-contextmenu-insert-row-col {
719
+ background-image: url("./insert-row-col-DPJQ5OT2.svg");
720
+ }
721
+ .ce-contextmenu-insert-top-row {
722
+ background-image: url("./insert-top-row-YCIWVAKE.svg");
723
+ }
724
+ .ce-contextmenu-insert-bottom-row {
725
+ background-image: url("./insert-bottom-row-UXTNCMIA.svg");
726
+ }
727
+ .ce-contextmenu-insert-left-col {
728
+ background-image: url("./insert-left-col-WKNVQRJU.svg");
729
+ }
730
+ .ce-contextmenu-insert-right-col {
731
+ background-image: url("./insert-right-col-GFY3POPH.svg");
732
+ }
733
+ .ce-contextmenu-delete-row-col {
734
+ background-image: url("./delete-row-col-AXTTBTJL.svg");
735
+ }
736
+ .ce-contextmenu-delete-row {
737
+ background-image: url("./delete-row-KRYK75UN.svg");
738
+ }
739
+ .ce-contextmenu-delete-col {
740
+ background-image: url("./delete-col-PJ7H2VME.svg");
741
+ }
742
+ .ce-contextmenu-delete-table {
743
+ background-image: url("./delete-table-ZQGIE7OX.svg");
744
+ }
745
+ .ce-contextmenu-merge-cell {
746
+ background-image: url("./merge-cell-NRL3YFFW.svg");
747
+ }
748
+ .ce-contextmenu-merge-cancel-cell {
749
+ background-image: url("./merge-cancel-cell-L27MJAPT.svg");
750
+ }
751
+ .ce-contextmenu-vertical-align {
752
+ background-image: url("./vertical-align-GRMW6UMN.svg");
753
+ }
754
+ .ce-contextmenu-vertical-align-top {
755
+ background-image: url("./vertical-align-top-EGVPDCAJ.svg");
756
+ }
757
+ .ce-contextmenu-vertical-align-middle {
758
+ background-image: url("./vertical-align-middle-SNHGOWIM.svg");
759
+ }
760
+ .ce-contextmenu-vertical-align-bottom {
761
+ background-image: url("./vertical-align-bottom-KOLLKBRO.svg");
762
+ }
763
+ .ce-contextmenu-border-all {
764
+ background-image: url("./table-border-all-44ZWUFEF.svg");
765
+ }
766
+ .ce-contextmenu-border-empty {
767
+ background-image: url("./table-border-empty-JJV7KGOH.svg");
768
+ }
769
+ .ce-contextmenu-border-dash {
770
+ background-image: url("./table-border-dash-WAJLONDH.svg");
771
+ }
772
+ .ce-contextmenu-border-external {
773
+ background-image: url("./table-border-external-TB57BNDP.svg");
774
+ }
775
+ .ce-contextmenu-border-internal {
776
+ background-image: url("./table-border-internal-ODMAMVLL.svg");
777
+ }
778
+ .ce-contextmenu-border-td {
779
+ background-image: url("./table-border-td-XRMSRWS4.svg");
780
+ }
781
+ .ce-contextmenu-border-td-top {
782
+ background-image: url("./table-border-td-top-RNZ7YE2E.svg");
783
+ }
784
+ .ce-contextmenu-border-td-left {
785
+ background-image: url("./table-border-td-left-PH2BQBNW.svg");
786
+ }
787
+ .ce-contextmenu-border-td-bottom {
788
+ background-image: url("./table-border-td-bottom-CUNHU7Z5.svg");
789
+ }
790
+ .ce-contextmenu-border-td-right {
791
+ background-image: url("./table-border-td-right-IG6XSDFO.svg");
792
+ }
793
+ .ce-contextmenu-border-td-forward {
794
+ background-image: url("./table-border-td-forward-5N5PN7SK.svg");
795
+ }
796
+ .ce-contextmenu-border-td-back {
797
+ background-image: url("./table-border-td-back-NJJGCRBU.svg");
798
+ }
799
+
800
+ /* src/assets/css/hyperlink/hyperlink.css */
801
+ .ce-hyperlink-popup {
802
+ background: #fff;
803
+ box-shadow: 0 2px 12px 0 rgb(98 107 132 / 20%);
804
+ border-radius: 2px;
805
+ color: #3d4757;
806
+ padding: 12px 16px;
807
+ position: absolute;
808
+ z-index: 1;
809
+ text-align: center;
810
+ display: none;
811
+ }
812
+ .ce-hyperlink-popup a {
813
+ min-width: 100px;
814
+ max-width: 300px;
815
+ font-size: 12px;
816
+ display: inline-block;
817
+ white-space: nowrap;
818
+ overflow: hidden;
819
+ text-overflow: ellipsis;
820
+ cursor: pointer;
821
+ text-decoration: none;
822
+ border-bottom-width: 1px;
823
+ border-bottom-style: solid;
824
+ color: #0000ff;
825
+ }
826
+
827
+ /* src/assets/css/zone/zone.css */
828
+ .ce-zone-indicator > div:not(.ce-zone-indicator-bar) {
829
+ padding: 3px 6px;
830
+ color: #000000;
831
+ font-size: 12px;
832
+ background: rgb(218 231 252);
833
+ position: absolute;
834
+ transform-origin: 0 0;
835
+ }
836
+ .ce-zone-indicator-bar {
837
+ position: absolute;
838
+ display: flex;
839
+ align-items: center;
840
+ justify-content: space-between;
841
+ height: 28px;
842
+ border-top: 1px solid #dadce0;
843
+ border-bottom: 1px solid #dadce0;
844
+ box-sizing: border-box;
845
+ font-size: 12px;
846
+ color: #5f6368;
847
+ background: #f1f3f4;
848
+ z-index: 1;
849
+ }
850
+ .ce-zone-indicator-bar__label {
851
+ padding-left: 8px;
852
+ font-size: 12px;
853
+ color: #5f6368;
854
+ user-select: none;
855
+ }
856
+ .ce-zone-indicator-bar__options {
857
+ padding: 4px 8px;
858
+ margin-right: 4px;
859
+ color: #1a73e8;
860
+ font-size: 12px;
861
+ cursor: pointer;
862
+ border: none;
863
+ background: none;
864
+ user-select: none;
865
+ }
866
+ .ce-zone-indicator-bar__options:hover {
867
+ background: rgba(26, 115, 232, 0.04);
868
+ border-radius: 4px;
869
+ }
870
+ .ce-zone-indicator-dropdown {
871
+ position: fixed;
872
+ z-index: 10;
873
+ background: #fff;
874
+ box-shadow: 0 2px 6px 2px rgba(60, 64, 67, .15), 0 1px 2px rgba(60, 64, 67, .3);
875
+ border-radius: 4px;
876
+ padding: 4px 0;
877
+ min-width: 160px;
878
+ }
879
+ .ce-zone-indicator-dropdown__item {
880
+ padding: 6px 16px;
881
+ font-size: 13px;
882
+ color: #202124;
883
+ cursor: pointer;
884
+ white-space: nowrap;
885
+ }
886
+ .ce-zone-indicator-dropdown__item:hover {
887
+ background: #f1f3f4;
888
+ }
889
+ .ce-zone-indicator-dropdown__separator {
890
+ height: 1px;
891
+ margin: 4px 0;
892
+ background: #dadce0;
893
+ }
894
+ .ce-zone-indicator-border__top,
895
+ .ce-zone-indicator-border__bottom,
896
+ .ce-zone-indicator-border__left,
897
+ .ce-zone-indicator-border__right {
898
+ display: block;
899
+ position: absolute;
900
+ z-index: 0;
901
+ }
902
+ .ce-zone-indicator-border__top {
903
+ border-top: 2px dashed rgb(238, 238, 238);
904
+ }
905
+ .ce-zone-indicator-border__bottom {
906
+ border-top: 2px dashed rgb(238, 238, 238);
907
+ width: 100%;
908
+ }
909
+ .ce-zone-indicator-border__left {
910
+ border-left: 2px dashed rgb(238, 238, 238);
911
+ }
912
+ .ce-zone-indicator-border__right {
913
+ border-right: 2px dashed rgb(238, 238, 238);
914
+ }
915
+ .ce-zone-tip {
916
+ display: none;
917
+ align-items: center;
918
+ height: 30px;
919
+ white-space: nowrap;
920
+ position: fixed;
921
+ opacity: .9;
922
+ background-color: #000000;
923
+ padding: 0 5px;
924
+ border-radius: 4px;
925
+ z-index: 9;
926
+ transition: all .3s;
927
+ outline: none;
928
+ user-select: none;
929
+ pointer-events: none;
930
+ transform: translate(10px, 10px);
931
+ }
932
+ .ce-zone-tip.show {
933
+ display: flex;
934
+ }
935
+ .ce-zone-tip span {
936
+ color: #ffffff;
937
+ font-size: 12px;
938
+ }
939
+
940
+ /* src/assets/css/index.css */
941
+ .ce-inputarea {
942
+ width: 100px;
943
+ height: 30px;
944
+ min-width: 0;
945
+ min-height: 0;
946
+ margin: 0;
947
+ padding: 0;
948
+ left: 0;
949
+ top: 0;
950
+ letter-spacing: 0;
951
+ font-size: 12px;
952
+ position: absolute;
953
+ z-index: -1;
954
+ outline: none;
955
+ resize: none;
956
+ border: none;
957
+ overflow: hidden;
958
+ color: transparent;
959
+ user-select: none;
960
+ caret-color: transparent;
961
+ background-color: transparent;
962
+ }
963
+ .ce-cursor {
964
+ width: 1px;
965
+ height: 20px;
966
+ left: 0;
967
+ right: 0;
968
+ position: absolute;
969
+ outline: none;
970
+ background-color: #000000;
971
+ pointer-events: none;
972
+ }
973
+ .ce-cursor.ce-cursor--animation {
974
+ animation-duration: 1s;
975
+ animation-iteration-count: infinite;
976
+ animation-name: cursorAnimation;
977
+ }
978
+ @keyframes cursorAnimation {
979
+ from {
980
+ opacity: 1;
981
+ }
982
+ 13% {
983
+ opacity: 0;
984
+ }
985
+ 50% {
986
+ opacity: 0;
987
+ }
988
+ 63% {
989
+ opacity: 1;
990
+ }
991
+ to {
992
+ opacity: 1;
993
+ }
994
+ }
995
+ .ce-float-image {
996
+ position: absolute;
997
+ opacity: 0.5;
998
+ pointer-events: none;
999
+ }
1000
+
1001
+ /* src/components/dialog/dialog.css */
1002
+ .dialog-mask {
1003
+ position: fixed;
1004
+ left: 0;
1005
+ top: 0;
1006
+ width: 100%;
1007
+ height: 100%;
1008
+ opacity: .4;
1009
+ background: #000000;
1010
+ z-index: 99;
1011
+ }
1012
+ .dialog-container {
1013
+ position: fixed;
1014
+ top: 0;
1015
+ right: 0;
1016
+ bottom: 0;
1017
+ left: 0;
1018
+ overflow: auto;
1019
+ z-index: 999;
1020
+ margin: 0;
1021
+ display: flex;
1022
+ justify-content: center;
1023
+ align-items: center;
1024
+ }
1025
+ .dialog {
1026
+ position: absolute;
1027
+ padding: 0 24px 24px;
1028
+ background: #ffffff;
1029
+ box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
1030
+ border: 1px solid #e2e6ed;
1031
+ border-radius: 12px;
1032
+ }
1033
+ .dialog-title {
1034
+ position: relative;
1035
+ border-bottom: 1px solid #e2e6ed;
1036
+ margin-bottom: 20px;
1037
+ height: 56px;
1038
+ display: flex;
1039
+ align-items: center;
1040
+ justify-content: space-between;
1041
+ font-weight: 600;
1042
+ font-size: 16px;
1043
+ }
1044
+ .dialog-title i {
1045
+ width: 20px;
1046
+ height: 20px;
1047
+ cursor: pointer;
1048
+ display: inline-block;
1049
+ background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.9 8.192l4.242 4.243-.707.707L8.192 8.9 3.95 13.142l-.707-.707 4.242-4.243L3.243 3.95l.707-.707 4.242 4.242 4.243-4.242.707.707L8.9 8.192z' fill='%236A6A6A' fill-rule='evenodd'/%3E%3C/svg%3E");
1050
+ background-size: contain;
1051
+ opacity: 0.6;
1052
+ transition: opacity 0.15s;
1053
+ }
1054
+ .dialog-title i:hover {
1055
+ opacity: 1;
1056
+ }
1057
+ .dialog-option__item {
1058
+ margin-bottom: 18px;
1059
+ display: flex;
1060
+ align-items: center;
1061
+ justify-content: space-between;
1062
+ }
1063
+ .dialog-option__item span {
1064
+ margin-right: 12px;
1065
+ font-size: 13px;
1066
+ color: #344054;
1067
+ font-weight: 500;
1068
+ position: relative;
1069
+ }
1070
+ .dialog-option__item input,
1071
+ .dialog-option__item textarea,
1072
+ .dialog-option__item select {
1073
+ width: 276px;
1074
+ height: 36px;
1075
+ border-radius: 6px;
1076
+ border: 1px solid #d3d3d3;
1077
+ min-height: 36px;
1078
+ padding: 8px 12px;
1079
+ box-sizing: border-box;
1080
+ outline: none;
1081
+ appearance: none;
1082
+ user-select: none;
1083
+ font-family: inherit;
1084
+ font-size: 14px;
1085
+ transition: border 0.2s;
1086
+ }
1087
+ .dialog-option__item input:focus,
1088
+ .dialog-option__item textarea:focus {
1089
+ border-color: #3b82f6;
1090
+ }
1091
+ .dialog-option__item--require::before {
1092
+ content: "*";
1093
+ color: #f56c6c;
1094
+ margin-right: 4px;
1095
+ position: absolute;
1096
+ left: -8px;
1097
+ }
1098
+ .dialog-menu {
1099
+ display: flex;
1100
+ align-items: center;
1101
+ justify-content: flex-end;
1102
+ }
1103
+ .dialog-menu button {
1104
+ position: relative;
1105
+ display: inline-block;
1106
+ border: 1px solid #e2e6ed;
1107
+ border-radius: 6px;
1108
+ background: #ffffff;
1109
+ line-height: 22px;
1110
+ padding: 6px 20px;
1111
+ white-space: nowrap;
1112
+ cursor: pointer;
1113
+ font-size: 14px;
1114
+ transition: background 0.15s;
1115
+ }
1116
+ .dialog-menu button:hover {
1117
+ background: #f2f4f7;
1118
+ }
1119
+ .dialog-menu__cancel {
1120
+ margin-right: 16px;
1121
+ }
1122
+ .dialog-menu button[type=submit] {
1123
+ color: #ffffff;
1124
+ background: #3b82f6;
1125
+ border-color: #3b82f6;
1126
+ }
1127
+ .dialog-menu button[type=submit]:hover {
1128
+ background: #2563eb;
1129
+ border-color: #2563eb;
1130
+ }
1131
+
1132
+ /* src/components/signature/signature.css */
1133
+ .signature-mask {
1134
+ position: fixed;
1135
+ left: 0;
1136
+ top: 0;
1137
+ width: 100%;
1138
+ height: 100%;
1139
+ opacity: .5;
1140
+ background: #000000;
1141
+ z-index: 99;
1142
+ }
1143
+ .signature-container {
1144
+ position: fixed;
1145
+ top: 0;
1146
+ right: 0;
1147
+ bottom: 0;
1148
+ left: 0;
1149
+ overflow: auto;
1150
+ z-index: 999;
1151
+ margin: 0;
1152
+ display: flex;
1153
+ justify-content: center;
1154
+ align-items: center;
1155
+ }
1156
+ .signature {
1157
+ position: absolute;
1158
+ padding: 0 30px 30px;
1159
+ background: #ffffff;
1160
+ box-shadow: 0 2px 12px 0 rgb(56 56 56 / 20%);
1161
+ border: 1px solid #e2e6ed;
1162
+ border-radius: 2px;
1163
+ }
1164
+ .signature-title {
1165
+ position: relative;
1166
+ border-bottom: 1px solid #e2e6ed;
1167
+ margin-bottom: 15px;
1168
+ height: 60px;
1169
+ display: flex;
1170
+ align-items: center;
1171
+ justify-content: space-between;
1172
+ }
1173
+ .signature-title i {
1174
+ width: 16px;
1175
+ height: 16px;
1176
+ cursor: pointer;
1177
+ display: inline-block;
1178
+ background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.9 8.192l4.242 4.243-.707.707L8.192 8.9 3.95 13.142l-.707-.707 4.242-4.243L3.243 3.95l.707-.707 4.242 4.242 4.243-4.242.707.707L8.9 8.192z' fill='%236A6A6A' fill-rule='evenodd'/%3E%3C/svg%3E");
1179
+ }
1180
+ .signature-operation > div {
1181
+ cursor: pointer;
1182
+ display: inline-flex;
1183
+ align-items: center;
1184
+ color: #3d4757;
1185
+ user-select: none;
1186
+ }
1187
+ .signature-operation > div:hover {
1188
+ color: #6e7175;
1189
+ }
1190
+ .signature-operation > div i {
1191
+ width: 24px;
1192
+ height: 24px;
1193
+ display: inline-block;
1194
+ }
1195
+ .signature-operation__undo {
1196
+ background: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 6h5.5a7 7 0 010 14v-2a5 5 0 000-10H8v3L4 7l4-4v3z' fill='%233d4757' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat;
1197
+ }
1198
+ .signature-operation__trash {
1199
+ background: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233d4757' fill-rule='evenodd'%3E%3Cpath d='M17 3v4h4v2h-2v13H6V9H4V7h4V3h9zm0 6H8v11h9V9zm-2-4h-5v2h5V5z' fill-rule='nonzero'/%3E%3Cpath d='M10 10h2v7h-2zm3 0h2v7h-2z'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
1200
+ }
1201
+ .signature-operation > div span {
1202
+ font-size: 12px;
1203
+ margin: 0 5px;
1204
+ }
1205
+ .signature-canvas {
1206
+ margin: 15px 0;
1207
+ user-select: none;
1208
+ }
1209
+ .signature-canvas canvas {
1210
+ background: #f3f5f7;
1211
+ }
1212
+ .signature-menu {
1213
+ display: flex;
1214
+ align-items: center;
1215
+ justify-content: flex-end;
1216
+ }
1217
+ .signature-menu button {
1218
+ position: relative;
1219
+ display: inline-block;
1220
+ border: 1px solid #e2e6ed;
1221
+ border-radius: 2px;
1222
+ background: #ffffff;
1223
+ line-height: 22px;
1224
+ padding: 0 16px;
1225
+ white-space: nowrap;
1226
+ cursor: pointer;
1227
+ }
1228
+ .signature-menu button:hover {
1229
+ background: rgba(25, 55, 88, .04);
1230
+ }
1231
+ .signature-menu__cancel {
1232
+ margin-right: 16px;
1233
+ }
1234
+ .signature-menu button[type=submit] {
1235
+ color: #ffffff;
1236
+ background: #4991f2;
1237
+ border-color: #4991f2;
1238
+ }
1239
+ .signature-menu button[type=submit]:hover {
1240
+ background: #5b9cf3;
1241
+ border-color: #5b9cf3;
1242
+ }
1243
+ .overflow-hidden {
1244
+ overflow: hidden !important;
1245
+ }
1246
+ /*# sourceMappingURL=index.css.map */