@lvce-editor/renderer-process 10.49.0 → 10.51.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.
@@ -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
  };
@@ -2162,6 +2163,8 @@ const handleDropFilePath = forwardViewletCommand('handleDropFilePath');
2162
2163
  const handleDropFiles = forwardViewletCommand('handleDrop');
2163
2164
  const handleFeaturesClick$1 = forwardViewletCommand('handleFeaturesClick');
2164
2165
  const handleClickSize$1 = forwardViewletCommand('handleClickSize');
2166
+ const handleClickDisable$1 = forwardViewletCommand('handleClickDisable');
2167
+ const handleClickUninstall$1 = forwardViewletCommand('handleClickUninstall');
2165
2168
  forwardViewletCommand('handleFilterInput');
2166
2169
  const handleFocus$c = forwardViewletCommand('handleFocus');
2167
2170
  const handleFocusIn$4 = forwardViewletCommand('handleFocusIn');
@@ -8405,10 +8408,22 @@ const handleClickSize = event => {
8405
8408
  const uid = fromEvent(event);
8406
8409
  handleClickSize$1(uid);
8407
8410
  };
8411
+ const handleClickDisable = event => {
8412
+ preventDefault(event);
8413
+ const uid = fromEvent(event);
8414
+ handleClickDisable$1(uid);
8415
+ };
8416
+ const handleClickUninstall = event => {
8417
+ preventDefault(event);
8418
+ const uid = fromEvent(event);
8419
+ handleClickUninstall$1(uid);
8420
+ };
8408
8421
 
8409
8422
  const ViewletExtensionDetailEvents = {
8410
8423
  __proto__: null,
8424
+ handleClickDisable,
8411
8425
  handleClickSize,
8426
+ handleClickUninstall,
8412
8427
  handleFeaturesClick,
8413
8428
  handleIconError,
8414
8429
  handleReadmeContextMenu,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "10.49.0",
3
+ "version": "10.51.0",
4
4
  "description": "",
5
5
  "main": "dist/rendererProcessMain.js",
6
6
  "type": "module",