@lvce-editor/renderer-process 10.57.0 → 10.58.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 +15 -103
- package/package.json +1 -1
|
@@ -2237,14 +2237,14 @@ const handleDragOver$2 = forwardViewletCommand('handleDragOver');
|
|
|
2237
2237
|
forwardViewletCommand('handleDrop');
|
|
2238
2238
|
const handleDropFilePath = forwardViewletCommand('handleDropFilePath');
|
|
2239
2239
|
const handleDropFiles = forwardViewletCommand('handleDrop');
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2240
|
+
forwardViewletCommand('handleFeaturesClick');
|
|
2241
|
+
forwardViewletCommand('handleClickSize');
|
|
2242
|
+
forwardViewletCommand('handleClickDisable');
|
|
2243
|
+
forwardViewletCommand('handleClickUninstall');
|
|
2244
2244
|
forwardViewletCommand('handleFilterInput');
|
|
2245
2245
|
const handleFocus$b = forwardViewletCommand('handleFocus');
|
|
2246
2246
|
const handleFocusIn$4 = forwardViewletCommand('handleFocusIn');
|
|
2247
|
-
|
|
2247
|
+
forwardViewletCommand('handleIconError');
|
|
2248
2248
|
const handleImageError$1 = forwardViewletCommand('handleImageError');
|
|
2249
2249
|
const handleInput$7 = forwardViewletCommand('handleInput');
|
|
2250
2250
|
const handleKeyDown$5 = forwardViewletCommand('handleKeyDown');
|
|
@@ -2261,7 +2261,7 @@ const handlePointerDown$6 = forwardViewletCommand('handlePointerDown');
|
|
|
2261
2261
|
const handlePointerMove$1 = forwardViewletCommand('handlePointerMove');
|
|
2262
2262
|
forwardViewletCommand('handlePointerOver');
|
|
2263
2263
|
const handlePointerUp$1 = forwardViewletCommand('handlePointerUp');
|
|
2264
|
-
|
|
2264
|
+
forwardViewletCommand('handleReadmeContextMenu');
|
|
2265
2265
|
forwardViewletCommand('handleReplaceInput');
|
|
2266
2266
|
const handleResizerClick = forwardViewletCommand('handleResizerClick');
|
|
2267
2267
|
const handleResizerMove = forwardViewletCommand('handleResizerMove');
|
|
@@ -2278,7 +2278,7 @@ forwardViewletCommand('handleSliderPointerMove');
|
|
|
2278
2278
|
const handleTabClick = forwardViewletCommand('handleTabClick');
|
|
2279
2279
|
const handleTabContextMenu = forwardViewletCommand('handleTabContextMenu');
|
|
2280
2280
|
const handleTabDrop = forwardViewletCommand('handleTabDrop');
|
|
2281
|
-
|
|
2281
|
+
forwardViewletCommand('handleTabsClick');
|
|
2282
2282
|
const handleTabsDragOver = forwardViewletCommand('handleTabsDragOver');
|
|
2283
2283
|
forwardViewletCommand('handleTabsPointerOut');
|
|
2284
2284
|
forwardViewletCommand('handleTabsPointerOver');
|
|
@@ -2957,11 +2957,11 @@ const setBounds$3 = (state, x, y, width, height) => {
|
|
|
2957
2957
|
const dispose$h = state => {
|
|
2958
2958
|
remove$2(state.$Viewlet);
|
|
2959
2959
|
};
|
|
2960
|
-
const Events$
|
|
2960
|
+
const Events$a = ViewletFindWidgetEvents;
|
|
2961
2961
|
|
|
2962
2962
|
const ViewletFindWidget = {
|
|
2963
2963
|
__proto__: null,
|
|
2964
|
-
Events: Events$
|
|
2964
|
+
Events: Events$a,
|
|
2965
2965
|
appendWidget,
|
|
2966
2966
|
create: create$H,
|
|
2967
2967
|
dispose: dispose$h,
|
|
@@ -2991,7 +2991,6 @@ const EditorWidgetError = 'EditorWidgetError';
|
|
|
2991
2991
|
const Empty = 'Empty';
|
|
2992
2992
|
const Error$2 = 'Error';
|
|
2993
2993
|
const Explorer = 'Explorer';
|
|
2994
|
-
const ExtensionDetail = 'ExtensionDetail';
|
|
2995
2994
|
const Extensions = 'Extensions';
|
|
2996
2995
|
const FindWidget = 'FindWidget';
|
|
2997
2996
|
const ImagePreview$1 = 'ImagePreview';
|
|
@@ -5941,8 +5940,6 @@ const load$1 = moduleId => {
|
|
|
5941
5940
|
return Promise.resolve().then(function () { return ViewletError; });
|
|
5942
5941
|
case Explorer:
|
|
5943
5942
|
return Promise.resolve().then(function () { return ViewletExplorer; });
|
|
5944
|
-
case ExtensionDetail:
|
|
5945
|
-
return Promise.resolve().then(function () { return ViewletExtensionDetail; });
|
|
5946
5943
|
case Extensions:
|
|
5947
5944
|
return Promise.resolve().then(function () { return ViewletExtensions; });
|
|
5948
5945
|
case FindWidget:
|
|
@@ -6963,11 +6960,11 @@ const ViewletActivityBarEvents = {
|
|
|
6963
6960
|
returnValue: returnValue$5
|
|
6964
6961
|
};
|
|
6965
6962
|
|
|
6966
|
-
const Events$
|
|
6963
|
+
const Events$9 = ViewletActivityBarEvents;
|
|
6967
6964
|
|
|
6968
6965
|
const ViewletActivityBar = {
|
|
6969
6966
|
__proto__: null,
|
|
6970
|
-
Events: Events$
|
|
6967
|
+
Events: Events$9
|
|
6971
6968
|
};
|
|
6972
6969
|
|
|
6973
6970
|
const handleAudioError = event => {
|
|
@@ -6990,11 +6987,11 @@ const ViewletAudioEvents = {
|
|
|
6990
6987
|
handleAudioError
|
|
6991
6988
|
};
|
|
6992
6989
|
|
|
6993
|
-
const Events$
|
|
6990
|
+
const Events$8 = ViewletAudioEvents;
|
|
6994
6991
|
|
|
6995
6992
|
const ViewletAudio = {
|
|
6996
6993
|
__proto__: null,
|
|
6997
|
-
Events: Events$
|
|
6994
|
+
Events: Events$8
|
|
6998
6995
|
};
|
|
6999
6996
|
|
|
7000
6997
|
const create$v = () => {
|
|
@@ -8392,7 +8389,7 @@ const create$i = () => {
|
|
|
8392
8389
|
$Viewlet
|
|
8393
8390
|
};
|
|
8394
8391
|
};
|
|
8395
|
-
const Events$
|
|
8392
|
+
const Events$7 = ViewletExplorerEvents;
|
|
8396
8393
|
const handleError$3 = (state, message) => {
|
|
8397
8394
|
object(state);
|
|
8398
8395
|
string(message);
|
|
@@ -8433,7 +8430,7 @@ const setDropTargets = (state, oldDropTargets, newDropTargets) => {
|
|
|
8433
8430
|
|
|
8434
8431
|
const ViewletExplorer = {
|
|
8435
8432
|
__proto__: null,
|
|
8436
|
-
Events: Events$
|
|
8433
|
+
Events: Events$7,
|
|
8437
8434
|
create: create$i,
|
|
8438
8435
|
dispose: dispose$8,
|
|
8439
8436
|
focusInput,
|
|
@@ -8441,91 +8438,6 @@ const ViewletExplorer = {
|
|
|
8441
8438
|
setDropTargets
|
|
8442
8439
|
};
|
|
8443
8440
|
|
|
8444
|
-
const handleIconError = event => {
|
|
8445
|
-
const uid = fromEvent(event);
|
|
8446
|
-
handleIconError$1(uid);
|
|
8447
|
-
};
|
|
8448
|
-
const isLink = $Element => {
|
|
8449
|
-
return $Element.nodeName === 'A';
|
|
8450
|
-
};
|
|
8451
|
-
const isImage = $Element => {
|
|
8452
|
-
return $Element.nodeName === 'IMG';
|
|
8453
|
-
};
|
|
8454
|
-
const handleReadmeContextMenu = event => {
|
|
8455
|
-
preventDefault(event);
|
|
8456
|
-
const {
|
|
8457
|
-
clientX,
|
|
8458
|
-
clientY,
|
|
8459
|
-
target
|
|
8460
|
-
} = event;
|
|
8461
|
-
const uid = fromEvent(event);
|
|
8462
|
-
const props = Object.create(null);
|
|
8463
|
-
if (isLink(target)) {
|
|
8464
|
-
props.isLink = true;
|
|
8465
|
-
props.url = target.href;
|
|
8466
|
-
} else if (isImage(target)) {
|
|
8467
|
-
props.isImage = true;
|
|
8468
|
-
props.url = target.src;
|
|
8469
|
-
}
|
|
8470
|
-
handleReadmeContextMenu$1(uid, clientX, clientY, props);
|
|
8471
|
-
};
|
|
8472
|
-
const handleTabsClick = event => {
|
|
8473
|
-
preventDefault(event);
|
|
8474
|
-
const {
|
|
8475
|
-
target
|
|
8476
|
-
} = event;
|
|
8477
|
-
const {
|
|
8478
|
-
name
|
|
8479
|
-
} = target;
|
|
8480
|
-
const uid = fromEvent(event);
|
|
8481
|
-
handleTabsClick$1(uid, name);
|
|
8482
|
-
};
|
|
8483
|
-
const handleFeaturesClick = event => {
|
|
8484
|
-
preventDefault(event);
|
|
8485
|
-
const {
|
|
8486
|
-
target
|
|
8487
|
-
} = event;
|
|
8488
|
-
const {
|
|
8489
|
-
name
|
|
8490
|
-
} = target;
|
|
8491
|
-
const uid = fromEvent(event);
|
|
8492
|
-
handleFeaturesClick$1(uid, name);
|
|
8493
|
-
};
|
|
8494
|
-
const handleClickSize = event => {
|
|
8495
|
-
preventDefault(event);
|
|
8496
|
-
const uid = fromEvent(event);
|
|
8497
|
-
handleClickSize$1(uid);
|
|
8498
|
-
};
|
|
8499
|
-
const handleClickDisable = event => {
|
|
8500
|
-
preventDefault(event);
|
|
8501
|
-
const uid = fromEvent(event);
|
|
8502
|
-
handleClickDisable$1(uid);
|
|
8503
|
-
};
|
|
8504
|
-
const handleClickUninstall = event => {
|
|
8505
|
-
preventDefault(event);
|
|
8506
|
-
const uid = fromEvent(event);
|
|
8507
|
-
handleClickUninstall$1(uid);
|
|
8508
|
-
};
|
|
8509
|
-
|
|
8510
|
-
const ViewletExtensionDetailEvents = {
|
|
8511
|
-
__proto__: null,
|
|
8512
|
-
handleClickDisable,
|
|
8513
|
-
handleClickSize,
|
|
8514
|
-
handleClickUninstall,
|
|
8515
|
-
handleFeaturesClick,
|
|
8516
|
-
handleIconError,
|
|
8517
|
-
handleReadmeContextMenu,
|
|
8518
|
-
handleTabsClick
|
|
8519
|
-
};
|
|
8520
|
-
|
|
8521
|
-
const Events$7 = ViewletExtensionDetailEvents;
|
|
8522
|
-
|
|
8523
|
-
const ViewletExtensionDetail = {
|
|
8524
|
-
__proto__: null,
|
|
8525
|
-
Events: Events$7,
|
|
8526
|
-
setSize
|
|
8527
|
-
};
|
|
8528
|
-
|
|
8529
8441
|
const Polite = 'polite';
|
|
8530
8442
|
|
|
8531
8443
|
const handleScrollBarThumbPointerMove = event => {
|