@lvce-editor/renderer-process 10.48.0 → 10.50.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 +11 -3
- package/package.json +1 -1
|
@@ -1213,6 +1213,7 @@ var Video$1 = "video";
|
|
|
1213
1213
|
var TextArea = "textarea";
|
|
1214
1214
|
var Select = "select";
|
|
1215
1215
|
var Option = "option";
|
|
1216
|
+
var Code$1 = "code";
|
|
1216
1217
|
|
|
1217
1218
|
// src/parts/VirtualDomElements/VirtualDomElements.ts
|
|
1218
1219
|
var Audio2 = 0;
|
|
@@ -1267,6 +1268,7 @@ var Video2 = 61;
|
|
|
1267
1268
|
var TextArea2 = 62;
|
|
1268
1269
|
var Select2 = 63;
|
|
1269
1270
|
var Option2 = 64;
|
|
1271
|
+
var Code2 = 65;
|
|
1270
1272
|
|
|
1271
1273
|
// src/parts/ElementTagMap/ElementTagMap.ts
|
|
1272
1274
|
var getElementTag = type => {
|
|
@@ -1373,6 +1375,8 @@ var getElementTag = type => {
|
|
|
1373
1375
|
return Select;
|
|
1374
1376
|
case Option2:
|
|
1375
1377
|
return Option;
|
|
1378
|
+
case Code2:
|
|
1379
|
+
return Code$1;
|
|
1376
1380
|
default:
|
|
1377
1381
|
throw new Error(`element tag not found ${type}`);
|
|
1378
1382
|
}
|
|
@@ -1629,9 +1633,6 @@ var setText$3 = ($Element, value) => {
|
|
|
1629
1633
|
$Element.nodeValue = value;
|
|
1630
1634
|
};
|
|
1631
1635
|
var removeChild = ($Element, index) => {
|
|
1632
|
-
console.log("el", $Element.className);
|
|
1633
|
-
console.log("index", index);
|
|
1634
|
-
console.log("ch", $Element.children.length);
|
|
1635
1636
|
const $Child = $Element.children[index];
|
|
1636
1637
|
$Child.remove();
|
|
1637
1638
|
};
|
|
@@ -2161,6 +2162,7 @@ forwardViewletCommand('handleDrop');
|
|
|
2161
2162
|
const handleDropFilePath = forwardViewletCommand('handleDropFilePath');
|
|
2162
2163
|
const handleDropFiles = forwardViewletCommand('handleDrop');
|
|
2163
2164
|
const handleFeaturesClick$1 = forwardViewletCommand('handleFeaturesClick');
|
|
2165
|
+
const handleClickSize$1 = forwardViewletCommand('handleClickSize');
|
|
2164
2166
|
forwardViewletCommand('handleFilterInput');
|
|
2165
2167
|
const handleFocus$c = forwardViewletCommand('handleFocus');
|
|
2166
2168
|
const handleFocusIn$4 = forwardViewletCommand('handleFocusIn');
|
|
@@ -8399,9 +8401,15 @@ const handleFeaturesClick = event => {
|
|
|
8399
8401
|
const uid = fromEvent(event);
|
|
8400
8402
|
handleFeaturesClick$1(uid, name);
|
|
8401
8403
|
};
|
|
8404
|
+
const handleClickSize = event => {
|
|
8405
|
+
preventDefault(event);
|
|
8406
|
+
const uid = fromEvent(event);
|
|
8407
|
+
handleClickSize$1(uid);
|
|
8408
|
+
};
|
|
8402
8409
|
|
|
8403
8410
|
const ViewletExtensionDetailEvents = {
|
|
8404
8411
|
__proto__: null,
|
|
8412
|
+
handleClickSize,
|
|
8405
8413
|
handleFeaturesClick,
|
|
8406
8414
|
handleIconError,
|
|
8407
8415
|
handleReadmeContextMenu,
|