@lls/vivi 24.1.7-d088161a → 24.1.7-e05728e4

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 (3) hide show
  1. package/lib/assets/vivi.css +185 -63
  2. package/lib/index.js +1396 -861
  3. package/package.json +6 -7
@@ -1,4 +1,4 @@
1
- /* css-modules:css-modules://v55PWB9nAJQuRkGNDb4PSzswK0IT8X6YlIgXJ4Px4dA.css */
1
+ /* css-modules:css-modules://SiZlRV2YWb1jY5gExVMrYPMZB79ONPQM_B3jhc8NVMM.css */
2
2
  .vv-JySIna-toolbar {
3
3
  z-index: var(--v-z-document-toolbar);
4
4
  box-sizing: border-box;
@@ -35,7 +35,7 @@
35
35
  position: absolute;
36
36
  }
37
37
 
38
- /* css-modules:css-modules://4JkF5C825c4pv8Vosat9qIwv9j-m3hEXWHpgSlQTM8A.css */
38
+ /* css-modules:css-modules://zZWuUZWdv3guaQJ1cvM0SwHTxY4fYPtYqwbv1rmUg_o.css */
39
39
  .vv-yYzCbG-errorBoundary {
40
40
  box-sizing: border-box;
41
41
  background: #ffefef;
@@ -61,68 +61,190 @@
61
61
  overflow-y: scroll;
62
62
  }
63
63
 
64
- /* css-modules:css-modules://4-USCbHsBClfq-o-EYY6-LK-ltjIvQ59gWjolWR2IEo.css */
65
- .vv-GTaOhq-document {
64
+ /* css-modules:css-modules://vFzhiihuB7Z8HMP8oT-qcw0NyCnSgKQtL5TqEfjnBaQ.css */
65
+ .vv-WWJSSq-editGrid {
66
+ flex-direction: column;
67
+ width: 100%;
68
+ display: flex;
69
+ }
70
+ .vv-WWJSSq-layout {
66
71
  box-sizing: border-box;
72
+ flex-direction: column;
73
+ gap: 16px;
74
+ width: 100%;
75
+ padding: 8px;
76
+ display: flex;
77
+ }
78
+ .vv-WWJSSq-interface {
79
+ box-sizing: border-box;
80
+ background: #f7faff;
67
81
  border-radius: 8px;
68
- outline: none;
69
82
  flex-direction: column;
70
- margin: 0;
71
- padding: 0;
83
+ flex: 1;
84
+ gap: 16px;
85
+ padding: 16px;
72
86
  display: flex;
87
+ box-shadow: 0 4px 4px #04224d1f;
73
88
  }
74
- .vv-GTaOhq-document[data-isprint="0"] {
75
- height: 100%;
89
+ .vv-WWJSSq-interfaceHeader {
90
+ justify-content: space-between;
91
+ align-items: center;
92
+ display: flex;
76
93
  }
77
- .vv-GTaOhq-document[data-mode=edit] {
78
- z-index: 0;
94
+ .vv-WWJSSq-zone {
95
+ box-sizing: border-box;
96
+ --kit-button-margin: 0 2px;
97
+ background: #fff;
98
+ border-radius: 8px;
99
+ justify-content: center;
100
+ gap: 8px;
101
+ padding: 16px;
102
+ display: flex;
103
+ box-shadow: 0 4px 4px #04224d1f;
79
104
  }
80
- @media print {
81
- .vv-GTaOhq-document {
82
- height: auto;
83
- }
105
+ .vv-WWJSSq-zone h3 {
106
+ margin: 0;
84
107
  }
85
-
86
- /* css-modules:css-modules://O33TtB9PRCTwb4sTLsvHxRLVlvvgk7rVn2k8rnGvKak.css */
87
- .vv-s56jqa-editGrid {
108
+ .vv-WWJSSq-zone .vv-WWJSSq-col {
88
109
  flex-direction: column;
89
- width: 100%;
110
+ gap: 8px;
90
111
  display: flex;
91
112
  }
92
- .vv-s56jqa-editGrid .vv-s56jqa-layout {
93
- box-sizing: border-box;
113
+ .vv-WWJSSq-zone .vv-WWJSSq-row {
114
+ justify-content: space-between;
115
+ align-items: center;
94
116
  gap: 8px;
95
- width: 100%;
96
- padding: 8px;
97
117
  display: flex;
98
118
  }
99
- .vv-s56jqa-editGrid .vv-s56jqa-illu {
119
+ .vv-WWJSSq-zone .vv-WWJSSq-zonePicture {
120
+ box-sizing: border-box;
121
+ width: 200px;
122
+ height: 130px;
123
+ }
124
+ .vv-WWJSSq-zone .vv-WWJSSq-zonePicture > div {
125
+ aspect-ratio: var(--v-grid-zone-picture-ratio);
126
+ box-sizing: border-box;
127
+ outline: 4px solid var(--v-grid-zone-picture-color);
128
+ max-width: 100%;
129
+ max-height: 100%;
130
+ margin: auto;
131
+ position: relative;
132
+ top: 50%;
133
+ overflow: hidden;
134
+ transform: translateY(-50%);
135
+ }
136
+ .vv-WWJSSq-zone .vv-WWJSSq-zonePicture > div:before {
137
+ content: "";
138
+ width: var(--v-grid-zone-picture-size);
139
+ aspect-ratio: var(--v-grid-picture-aspect-ratio);
140
+ background-image: var(--v-grid-zone-picture-url);
141
+ transform: translate(var(--v-grid-zone-picture-left), var(--v-grid-zone-picture-top));
142
+ background-repeat: no-repeat;
143
+ background-size: 100%;
144
+ position: absolute;
145
+ top: 0;
146
+ left: 0;
147
+ }
148
+ .vv-WWJSSq-addZone {
149
+ border: 2px dashed var(--primary-40-color);
150
+ border-radius: 16px;
151
+ flex-direction: column;
152
+ justify-content: center;
153
+ align-items: center;
154
+ min-height: 178px;
155
+ padding: 16px;
156
+ display: flex;
157
+ }
158
+
159
+ /* css-modules:css-modules://27imZi27_UCk5xmhRkGJbtYm5sGwf0_-1B99-Xe1fxg.css */
160
+ .vv-WzhmXa-zoneMaker {
161
+ box-sizing: border-box;
162
+ user-select: none;
100
163
  border: 4px solid #002747;
101
164
  border-radius: 8px;
102
- flex: 2;
103
165
  min-width: 0;
166
+ position: relative;
104
167
  }
105
- .vv-s56jqa-editGrid .vv-s56jqa-illu > img {
168
+ .vv-WzhmXa-zoneMaker > img {
169
+ aspect-ratio: var(--v-grid-picture-aspect-ratio);
106
170
  width: 100%;
107
171
  display: block;
108
172
  }
109
- .vv-s56jqa-editGrid .vv-s56jqa-interface {
173
+ .vv-WzhmXa-pictureZone {
110
174
  box-sizing: border-box;
175
+ top: var(--v-zonemaker-y);
176
+ left: var(--v-zonemaker-x);
177
+ width: var(--v-zonemaker-w);
178
+ height: var(--v-zonemaker-h);
179
+ outline: 4px solid var(--v-zonemaker-color);
180
+ cursor: move;
181
+ position: absolute;
182
+ }
183
+ .vv-WzhmXa-pictureZone[data-selected="1"] {
184
+ z-index: 1;
185
+ box-shadow: 0 0 20px 4px var(--v-zonemaker-color);
186
+ }
187
+ .vv-WzhmXa-pictureZone[data-has-selection="0"]:hover {
188
+ z-index: 1;
189
+ box-shadow: 0 0 20px 4px var(--v-zonemaker-color);
190
+ }
191
+ .vv-WzhmXa-handle {
192
+ top: var(--v-zonemaker-handle-top);
193
+ left: var(--v-zonemaker-handle-left);
194
+ outline: 4px solid var(--v-zonemaker-color);
195
+ cursor: grab;
111
196
  background: #fff;
112
- border-radius: 8px;
113
- flex: 1;
114
- min-width: 200px;
115
- padding: 8px;
116
- box-shadow: 0 4px 4px #04224d1f;
197
+ border-radius: 50%;
198
+ width: 16px;
199
+ height: 16px;
200
+ position: absolute;
201
+ transform: translate(-50%, -50%);
117
202
  }
118
- .vv-s56jqa-viewGrid {
203
+
204
+ /* css-modules:css-modules://INxu5dk73JTxjtEzrQ83WOJDTfp5b5jZD8ZfkbKQHIA.css */
205
+ .vv-TauroG-viewGrid {
119
206
  width: 100%;
120
207
  }
121
- .vv-s56jqa-viewGrid .vv-s56jqa-illu > img {
208
+ .vv-TauroG-illu {
209
+ position: relative;
210
+ }
211
+ .vv-TauroG-illu > img {
212
+ aspect-ratio: var(--v-grid-picture-aspect-ratio);
122
213
  width: 100%;
214
+ display: block;
215
+ }
216
+ .vv-TauroG-pictureZone {
217
+ top: var(--v-picturezone-y);
218
+ left: var(--v-picturezone-x);
219
+ width: var(--v-picturezone-w);
220
+ height: var(--v-picturezone-h);
221
+ outline: 5px solid var(--v-picturezone-color);
222
+ position: absolute;
223
+ }
224
+
225
+ /* css-modules:css-modules://8Bws6tfkpio6klj_RtRC_R7kDQ_jPBbqtQQfWJr6y_4.css */
226
+ .vv-GTaOhq-document {
227
+ box-sizing: border-box;
228
+ border-radius: 8px;
229
+ outline: none;
230
+ flex-direction: column;
231
+ margin: 0;
232
+ padding: 0;
233
+ display: flex;
234
+ }
235
+ .vv-GTaOhq-document[data-isprint="0"] {
236
+ height: 100%;
237
+ }
238
+ .vv-GTaOhq-document[data-mode=edit] {
239
+ z-index: 0;
240
+ }
241
+ @media print {
242
+ .vv-GTaOhq-document {
243
+ height: auto;
244
+ }
123
245
  }
124
246
 
125
- /* css-modules:css-modules://J5_xl3NfC9uUzCf8dvnv2lVDvTF6x61j2B3MI8uRK3U.css */
247
+ /* css-modules:css-modules://kTdLFWdq92OvhQjGBgoqbpa-uWI0Nagw0W33VXQfA9A.css */
126
248
  .vv--ZTaFW-divSearch {
127
249
  cursor: pointer;
128
250
  }
@@ -136,7 +258,7 @@
136
258
  height: 100%;
137
259
  }
138
260
 
139
- /* css-modules:css-modules://qc8hHnFyo6Lr96_0ShIiN5V_2JCgy_z-WPzO51QaEM0.css */
261
+ /* css-modules:css-modules://Ef1FR8r0TZLJbQLu_YjOXfH5QGvXBuqIuVcDNrn2dlo.css */
140
262
  .CodeMirror-hints.lls-new-viewer.lls-new-viewer {
141
263
  z-index: 1150;
142
264
  }
@@ -144,7 +266,7 @@
144
266
  z-index: 1150;
145
267
  }
146
268
 
147
- /* css-modules:css-modules://0JpW1nUt7xW7qwOpENEm-oylMzow4l0aKU2OuIG0bXI.css */
269
+ /* css-modules:css-modules://-ADr1fQ65axwxa_akiSkLSAd8UytGnzX8BkDH_z6IJg.css */
148
270
  .vv-j3jlxa-viewer {
149
271
  --projector-toolbar-height: var(--v-presentationtoolbarheight);
150
272
  --projector-split-offset: clamp(var(--v-projector-split-offset-min), var(--v-splitoffset), var(--v-projector-split-offset-max));
@@ -237,7 +359,19 @@
237
359
  }
238
360
  }
239
361
 
240
- /* css-modules:css-modules://Uu0I-dgnin4bqXPxKf2Ezpbp2S-JUwCgdli4fWGAqsM.css */
362
+ /* css-modules:css-modules://muFZYOO33Vml22ha9RBNYCIyflFehN2jLe0x7J_g3tk.css */
363
+ .vv-o5bldq-handle {
364
+ z-index: 1;
365
+ user-select: none;
366
+ top: var(--v-top);
367
+ right: var(--v-right);
368
+ bottom: var(--v-bottom);
369
+ left: var(--v-left);
370
+ cursor: var(--v-cursor);
371
+ position: absolute;
372
+ }
373
+
374
+ /* css-modules:css-modules://ClwWsN3MG80fL5vx9ZgsHtKB5PCE9WSraTwa_GOO_kA.css */
241
375
  .vv-E1cuPG-codemirrorWrapper {
242
376
  height: 100%;
243
377
  }
@@ -258,7 +392,7 @@
258
392
  background: #264f78 !important;
259
393
  }
260
394
 
261
- /* css-modules:css-modules://FCAd7_oVdm9kCj4j2YrzERVva7KEvx20ZcLApy3btiM.css */
395
+ /* css-modules:css-modules://D1lYSSaRELK-xOpLHrAFrFm44xAz5JpuKh1hj285xI4.css */
262
396
  .vv-go3bmq-header {
263
397
  cursor: pointer;
264
398
  background-color: var(--white-color);
@@ -268,7 +402,7 @@
268
402
  background-color: #e5e5e5;
269
403
  }
270
404
 
271
- /* css-modules:css-modules://FkovI3JwYnbBlV1RTxx19lg4XpgLRke3kTFrPkeXgkU.css */
405
+ /* css-modules:css-modules://FAXEjMKr_nbgBeI0HbQm4Hou8oDtA1fDSwLREXIxVJQ.css */
272
406
  .vv-CkF5Qq-ul {
273
407
  cursor: pointer;
274
408
  margin: 0;
@@ -278,7 +412,7 @@
278
412
  background-color: #e5e5e5;
279
413
  }
280
414
 
281
- /* css-modules:css-modules://AB_xeFVw2qTXerTyhSybJJcQHmBUiuYom4Mp_ZIEYrU.css */
415
+ /* css-modules:css-modules://iTcvO_EuuRof0S3Q_EadEoweHD1OFDXkCVSSCGPHK5I.css */
282
416
  .vv-XGJSGG-mathsElement {
283
417
  cursor: pointer;
284
418
  margin: 0;
@@ -288,7 +422,7 @@
288
422
  background-color: #e5e5e5;
289
423
  }
290
424
 
291
- /* css-modules:css-modules://_GzDFX1RUCKi2_4ubFGNz3yW0aeiUb867B6oz559skY.css */
425
+ /* css-modules:css-modules://-Z7nD8VDTTbf2fdFuqZ2hX3q2ctyJaUVhprv-NQnySo.css */
292
426
  .vv-IbixEG-ol {
293
427
  cursor: pointer;
294
428
  border-right: 1px solid #e5e5e5;
@@ -303,7 +437,7 @@
303
437
  background-color: #e5e5e5;
304
438
  }
305
439
 
306
- /* css-modules:css-modules://ahb12XnLQklrK1BrY92oMAN69OZ4Cr01dyWTP4y8-qw.css */
440
+ /* css-modules:css-modules://gesVSQDjVmNzyeAM6C2g6PgbgdrauKrOml9XUyf0d1A.css */
307
441
  .vv-QBK0Ba-question {
308
442
  cursor: pointer;
309
443
  padding: 5px;
@@ -312,7 +446,7 @@
312
446
  background-color: #e5e5e5;
313
447
  }
314
448
 
315
- /* css-modules:css-modules://DniAyX3w8YOM864AikhU7_Oc8wGI75nhWfQ0Eb6A-zg.css */
449
+ /* css-modules:css-modules://aXP2yBEvDrqZAjdnvRWrB53787qw4y3ToSiBw04uiE8.css */
316
450
  .vv-pmaK1a-stamp {
317
451
  cursor: pointer;
318
452
  padding: 5px;
@@ -321,7 +455,7 @@
321
455
  background-color: #e5e5e5;
322
456
  }
323
457
 
324
- /* css-modules:css-modules://PUzC3cfirwsgprCC0t8XaW2Tcxdie8yFOj0O0VakWmM.css */
458
+ /* css-modules:css-modules://l9ewCrSeYzAUJUd9PfLHkZujTTXaJQ-auwa6d-qDY3s.css */
325
459
  .vv-VbIHYG-cell {
326
460
  width: var(--v-cell-width);
327
461
  height: var(--v-cell-height);
@@ -348,7 +482,7 @@
348
482
  margin-bottom: 0;
349
483
  }
350
484
 
351
- /* css-modules:css-modules://cxKXXItV67ua_TIlhaSrnnrkoXVY8-Oh89yukaCrcmw.css */
485
+ /* css-modules:css-modules://V9YMxBzxg_bf_yrJnoKZc7V_grOZr8Z66I81mib-oQ4.css */
352
486
  .vv-_Pgo7W-h1 {
353
487
  font-size: 24px;
354
488
  }
@@ -378,7 +512,7 @@
378
512
  background-color: #e5e5e5;
379
513
  }
380
514
 
381
- /* css-modules:css-modules://YBH8CYiZVZGfw4n4G7PaCkm4JaDo0T7vSO2XxXTjS7s.css */
515
+ /* css-modules:css-modules://lMZNEEJTvWcOpUEI82Y2e_I9O1ERlgdLVk01D1TDHyU.css */
382
516
  .vv-LGQOTG-span {
383
517
  display: inline-flex;
384
518
  }
@@ -386,19 +520,7 @@
386
520
  border-bottom: 1px solid #3a3a3a;
387
521
  }
388
522
 
389
- /* css-modules:css-modules://gqbJUDvYRnw2EEqRHbuvHhtAP_p2lL0u8k92bx4wMAU.css */
390
- .vv-gepzXq-handle {
391
- z-index: 1;
392
- user-select: none;
393
- top: var(--v-top);
394
- right: var(--v-right);
395
- bottom: var(--v-bottom);
396
- left: var(--v-left);
397
- cursor: var(--v-cursor);
398
- position: absolute;
399
- }
400
-
401
- /* css-modules:css-modules://4lEiBk0nzPl8xepK8MhbhXKbNfra5VDReD417YnvGVY.css */
523
+ /* css-modules:css-modules://9NNguA--8WOGh41wmBCm8AF1DJWa35r2rfRhLOxgn68.css */
402
524
  .vv-cGAezq-rnd {
403
525
  z-index: 1101;
404
526
  background-color: #333;
@@ -428,7 +550,7 @@
428
550
  overflow: hidden;
429
551
  }
430
552
 
431
- /* css-modules:css-modules://9kfKKHUK56aP19K9XjWXXhpwpX3AbTuXglKvZjMbuNc.css */
553
+ /* css-modules:css-modules://1MKBW8PG8GbZe8tC6V4ud90v1VdZx3mRrwXlGya-pMc.css */
432
554
  .vv-Uv6i-a-handle {
433
555
  z-index: 1;
434
556
  user-select: none;
@@ -440,7 +562,7 @@
440
562
  position: absolute;
441
563
  }
442
564
 
443
- /* css-modules:css-modules://U8V5nDBlqycdkp1CuS13BrEMfGN5Xkd0n60BqPKYbkc.css */
565
+ /* css-modules:css-modules://Zb1cEYNT4eNwW8io0xWL7zXkOH8P26-7eImYlmla2wA.css */
444
566
  .vv-ftXTRa-rnd {
445
567
  z-index: 1101;
446
568
  background-color: #fff;
@@ -491,7 +613,7 @@
491
613
  margin-left: 10px;
492
614
  }
493
615
 
494
- /* css-modules:css-modules://5vBHtYTubWLIkQ7cwq88_cqGbPrRZDxVu51b9VQwno0.css */
616
+ /* css-modules:css-modules://N7qE5xz-356BL8FwluXb9SO0Q6g8pmP18e18R9y8bEU.css */
495
617
  @keyframes vv-RUXZgW-alertOpenedAnimation {
496
618
  0% {
497
619
  opacity: 0;