@lvce-editor/renderer-process 23.3.0 → 23.4.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 +13 -1
- package/package.json +1 -1
|
@@ -242,12 +242,15 @@ const Code$2 = 'code';
|
|
|
242
242
|
const Label$2 = 'label';
|
|
243
243
|
const Dt$2 = 'dt';
|
|
244
244
|
const Iframe$1 = 'iframe';
|
|
245
|
+
const Em$1 = 'em';
|
|
246
|
+
const Strong$1 = 'strong';
|
|
245
247
|
const Style$1 = 'style';
|
|
246
248
|
const Html$1 = 'html';
|
|
247
249
|
const Head$1 = 'head';
|
|
248
250
|
const Title$1 = 'title';
|
|
249
251
|
const Meta$1 = 'meta';
|
|
250
252
|
const Canvas$1 = 'canvas';
|
|
253
|
+
const Form$1 = 'form';
|
|
251
254
|
const Audio$1$1 = 0;
|
|
252
255
|
const Button$1 = 1;
|
|
253
256
|
const Col$1 = 2;
|
|
@@ -304,12 +307,15 @@ const Code$1 = 65;
|
|
|
304
307
|
const Label$1 = 66;
|
|
305
308
|
const Dt$1 = 67;
|
|
306
309
|
const Iframe = 68;
|
|
310
|
+
const Strong = 70;
|
|
311
|
+
const Em = 71;
|
|
307
312
|
const Style = 72;
|
|
308
313
|
const Html = 73;
|
|
309
314
|
const Head = 74;
|
|
310
315
|
const Title = 75;
|
|
311
316
|
const Meta = 76;
|
|
312
317
|
const Canvas = 77;
|
|
318
|
+
const Form = 78;
|
|
313
319
|
const Reference$1 = 100;
|
|
314
320
|
const VirtualDomElements$1 = {
|
|
315
321
|
__proto__: null,
|
|
@@ -351,12 +357,16 @@ const getElementTag$1 = type => {
|
|
|
351
357
|
return Dl$2;
|
|
352
358
|
case Dt$1:
|
|
353
359
|
return Dt$2;
|
|
360
|
+
case Em:
|
|
361
|
+
return Em$1;
|
|
354
362
|
case Figcaption$1:
|
|
355
363
|
return Figcaption$2;
|
|
356
364
|
case Figure$1:
|
|
357
365
|
return Figure$2;
|
|
358
366
|
case Footer$1:
|
|
359
367
|
return Footer$2;
|
|
368
|
+
case Form:
|
|
369
|
+
return Form$1;
|
|
360
370
|
case H1$1:
|
|
361
371
|
return H1$2;
|
|
362
372
|
case H2$1:
|
|
@@ -413,6 +423,8 @@ const getElementTag$1 = type => {
|
|
|
413
423
|
return Select$2;
|
|
414
424
|
case Span$1:
|
|
415
425
|
return Span$2;
|
|
426
|
+
case Strong:
|
|
427
|
+
return Strong$1;
|
|
416
428
|
case Style:
|
|
417
429
|
return Style$1;
|
|
418
430
|
case Table$1:
|
|
@@ -994,7 +1006,7 @@ const getEventListenerArg = (param, event) => {
|
|
|
994
1006
|
case 'event.y':
|
|
995
1007
|
return event.y;
|
|
996
1008
|
default:
|
|
997
|
-
if (param.startsWith('event.target.dataset')) {
|
|
1009
|
+
if (typeof param === 'string' && param.startsWith('event.target.dataset')) {
|
|
998
1010
|
const rest = param.slice('event.target.dataset.'.length);
|
|
999
1011
|
return event.target.dataset[rest];
|
|
1000
1012
|
}
|