@lvce-editor/renderer-process 21.14.0 → 21.16.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/dist/rendererProcessMain.js +24 -1
- package/package.json +1 -1
|
@@ -242,6 +242,11 @@ const Code$2 = 'code';
|
|
|
242
242
|
const Label$2 = 'label';
|
|
243
243
|
const Dt$2 = 'dt';
|
|
244
244
|
const Iframe$1 = 'iframe';
|
|
245
|
+
const Style$1 = 'style';
|
|
246
|
+
const Html$1 = 'html';
|
|
247
|
+
const Head$1 = 'head';
|
|
248
|
+
const Title$1 = 'title';
|
|
249
|
+
const Meta$1 = 'meta';
|
|
245
250
|
const Audio$1$1 = 0;
|
|
246
251
|
const Button$1 = 1;
|
|
247
252
|
const Col$1 = 2;
|
|
@@ -298,6 +303,11 @@ const Code$1 = 65;
|
|
|
298
303
|
const Label$1 = 66;
|
|
299
304
|
const Dt$1 = 67;
|
|
300
305
|
const Iframe = 68;
|
|
306
|
+
const Style = 72;
|
|
307
|
+
const Html = 73;
|
|
308
|
+
const Head = 74;
|
|
309
|
+
const Title = 75;
|
|
310
|
+
const Meta = 76;
|
|
301
311
|
const Reference$1 = 100;
|
|
302
312
|
const VirtualDomElements$1 = {
|
|
303
313
|
__proto__: null,
|
|
@@ -355,10 +365,14 @@ const getElementTag$1 = type => {
|
|
|
355
365
|
return H5$2;
|
|
356
366
|
case H6$1:
|
|
357
367
|
return H6$2;
|
|
368
|
+
case Head:
|
|
369
|
+
return Head$1;
|
|
358
370
|
case Header$1:
|
|
359
371
|
return Header$2;
|
|
360
372
|
case Hr$1:
|
|
361
373
|
return Hr$2;
|
|
374
|
+
case Html:
|
|
375
|
+
return Html$1;
|
|
362
376
|
case I$1:
|
|
363
377
|
return I$2;
|
|
364
378
|
case Iframe:
|
|
@@ -375,6 +389,8 @@ const getElementTag$1 = type => {
|
|
|
375
389
|
return Label$2;
|
|
376
390
|
case Li$1:
|
|
377
391
|
return Li$2;
|
|
392
|
+
case Meta:
|
|
393
|
+
return Meta$1;
|
|
378
394
|
case Nav$1:
|
|
379
395
|
return Nav$2;
|
|
380
396
|
case Ol$1:
|
|
@@ -393,6 +409,8 @@ const getElementTag$1 = type => {
|
|
|
393
409
|
return Select$2;
|
|
394
410
|
case Span$1:
|
|
395
411
|
return Span$2;
|
|
412
|
+
case Style:
|
|
413
|
+
return Style$1;
|
|
396
414
|
case Table$1:
|
|
397
415
|
return Table$2;
|
|
398
416
|
case TBody$1:
|
|
@@ -409,6 +427,8 @@ const getElementTag$1 = type => {
|
|
|
409
427
|
return THead$2;
|
|
410
428
|
case Time$1:
|
|
411
429
|
return Time$2;
|
|
430
|
+
case Title:
|
|
431
|
+
return Title$1;
|
|
412
432
|
case Tr$1:
|
|
413
433
|
return Tr$2;
|
|
414
434
|
case Ul$1:
|
|
@@ -915,6 +935,8 @@ const getEventListenerArg = (param, event) => {
|
|
|
915
935
|
return event.key;
|
|
916
936
|
case 'event.shiftKey':
|
|
917
937
|
return event.shiftKey;
|
|
938
|
+
case 'event.target.checked':
|
|
939
|
+
return event.target.checked;
|
|
918
940
|
case 'event.target.className':
|
|
919
941
|
return event.target.className;
|
|
920
942
|
case 'event.target.dataset.groupIndex':
|
|
@@ -9260,7 +9282,8 @@ const move = async (uid, selector, target) => {
|
|
|
9260
9282
|
throw new Error(`Source element not found: ${selector}`);
|
|
9261
9283
|
}
|
|
9262
9284
|
const $Target = await waitForElement(target);
|
|
9263
|
-
|
|
9285
|
+
// @ts-ignore
|
|
9286
|
+
$Target.moveBefore($Source, null);
|
|
9264
9287
|
};
|
|
9265
9288
|
|
|
9266
9289
|
// TODO this code is bad
|