@lvce-editor/renderer-process 13.9.0 → 13.10.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.
|
@@ -1266,6 +1266,7 @@ const TextArea$1 = 'textarea';
|
|
|
1266
1266
|
const Select$1 = 'select';
|
|
1267
1267
|
const Option$1 = 'option';
|
|
1268
1268
|
const Code$1 = 'code';
|
|
1269
|
+
const Label$1 = 'label';
|
|
1269
1270
|
const Audio$2 = 0;
|
|
1270
1271
|
const Button = 1;
|
|
1271
1272
|
const Col = 2;
|
|
@@ -1319,6 +1320,7 @@ const TextArea = 62;
|
|
|
1319
1320
|
const Select = 63;
|
|
1320
1321
|
const Option = 64;
|
|
1321
1322
|
const Code$2 = 65;
|
|
1323
|
+
const Label = 66;
|
|
1322
1324
|
const getElementTag = type => {
|
|
1323
1325
|
switch (type) {
|
|
1324
1326
|
case Audio$2:
|
|
@@ -1425,6 +1427,8 @@ const getElementTag = type => {
|
|
|
1425
1427
|
return Option$1;
|
|
1426
1428
|
case Code$2:
|
|
1427
1429
|
return Code$1;
|
|
1430
|
+
case Label:
|
|
1431
|
+
return Label$1;
|
|
1428
1432
|
default:
|
|
1429
1433
|
throw new Error(`element tag not found ${type}`);
|
|
1430
1434
|
}
|
|
@@ -1825,6 +1829,8 @@ const getEventListenerArg = (param, event) => {
|
|
|
1825
1829
|
return event.defaultPrevented;
|
|
1826
1830
|
case 'event.target.dataset.name':
|
|
1827
1831
|
return event.target.dataset.name;
|
|
1832
|
+
case 'event.target.dataset.index':
|
|
1833
|
+
return event.target.dataset.index;
|
|
1828
1834
|
default:
|
|
1829
1835
|
return param;
|
|
1830
1836
|
}
|