@lvce-editor/renderer-process 10.8.0 → 10.9.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 +29 -28
- package/package.json +1 -1
|
@@ -2096,7 +2096,7 @@ const handleBeforeInput$2 = forwardViewletCommand('handleBeforeInput');
|
|
|
2096
2096
|
forwardViewletCommand('handleBeforeInputFromContentEditable');
|
|
2097
2097
|
const handleBlur$a = forwardViewletCommand('handleBlur');
|
|
2098
2098
|
const handleButtonClick = forwardViewletCommand('handleButtonClick');
|
|
2099
|
-
const handleClick$
|
|
2099
|
+
const handleClick$8 = forwardViewletCommand('handleClick');
|
|
2100
2100
|
const handleClickAction$2 = forwardViewletCommand('handleClickAction');
|
|
2101
2101
|
forwardViewletCommand('handleClickAdd');
|
|
2102
2102
|
const handleClickAt$3 = forwardViewletCommand('handleClickAt');
|
|
@@ -2453,33 +2453,27 @@ const handleClickNextMatch = event => {
|
|
|
2453
2453
|
preventDefault(event);
|
|
2454
2454
|
return ['FindWidget.focusNext'];
|
|
2455
2455
|
};
|
|
2456
|
+
const handleClickReplace = event => {
|
|
2457
|
+
preventDefault(event);
|
|
2458
|
+
return ['FindWidget.replace'];
|
|
2459
|
+
};
|
|
2460
|
+
const handleClickReplaceAll = event => {
|
|
2461
|
+
preventDefault(event);
|
|
2462
|
+
return ['FindWidget.replaceAll'];
|
|
2463
|
+
};
|
|
2456
2464
|
const handleClickToggleReplace = event => {
|
|
2457
2465
|
preventDefault(event);
|
|
2458
2466
|
return ['FindWidget.toggleReplace'];
|
|
2459
2467
|
};
|
|
2460
|
-
const handleClick$8 = event => {
|
|
2461
|
-
const {
|
|
2462
|
-
target
|
|
2463
|
-
} = event;
|
|
2464
|
-
const {
|
|
2465
|
-
title
|
|
2466
|
-
} = target;
|
|
2467
|
-
switch (title) {
|
|
2468
|
-
case 'Close':
|
|
2469
|
-
return handleClickClose$2(event);
|
|
2470
|
-
case 'Previous Match':
|
|
2471
|
-
return handleClickPreviousMatch(event);
|
|
2472
|
-
case 'Next Match':
|
|
2473
|
-
return handleClickNextMatch(event);
|
|
2474
|
-
case 'Toggle Replace':
|
|
2475
|
-
return handleClickToggleReplace(event);
|
|
2476
|
-
default:
|
|
2477
|
-
return [];
|
|
2478
|
-
}
|
|
2479
|
-
};
|
|
2480
2468
|
const handleInputBlur = event => {
|
|
2481
2469
|
return ['FindWidget.handleBlur'];
|
|
2482
2470
|
};
|
|
2471
|
+
const handleReplaceInput$1 = event => {
|
|
2472
|
+
return ['FindWidget.handleReplaceInput'];
|
|
2473
|
+
};
|
|
2474
|
+
const handleReplaceFocus = event => {
|
|
2475
|
+
return ['FindWidget.handleReplaceFocus'];
|
|
2476
|
+
};
|
|
2483
2477
|
const handleFocus$b = event => {
|
|
2484
2478
|
return ['FindWidget.handleFocus'];
|
|
2485
2479
|
};
|
|
@@ -2487,10 +2481,17 @@ const returnValue$9 = true;
|
|
|
2487
2481
|
|
|
2488
2482
|
const ViewletFindWidgetEvents = {
|
|
2489
2483
|
__proto__: null,
|
|
2490
|
-
|
|
2484
|
+
handleClickClose: handleClickClose$2,
|
|
2485
|
+
handleClickNextMatch,
|
|
2486
|
+
handleClickPreviousMatch,
|
|
2487
|
+
handleClickReplace,
|
|
2488
|
+
handleClickReplaceAll,
|
|
2489
|
+
handleClickToggleReplace,
|
|
2491
2490
|
handleFocus: handleFocus$b,
|
|
2492
2491
|
handleInput: handleInput$7,
|
|
2493
2492
|
handleInputBlur,
|
|
2493
|
+
handleReplaceFocus,
|
|
2494
|
+
handleReplaceInput: handleReplaceInput$1,
|
|
2494
2495
|
returnValue: returnValue$9
|
|
2495
2496
|
};
|
|
2496
2497
|
|
|
@@ -8091,7 +8092,7 @@ const handlePointerDown$3 = event => {
|
|
|
8091
8092
|
}
|
|
8092
8093
|
const $Extension = target.closest('.ExtensionListItem');
|
|
8093
8094
|
const index = getNodeIndex($Extension);
|
|
8094
|
-
handleClick$
|
|
8095
|
+
handleClick$8(uid, index);
|
|
8095
8096
|
};
|
|
8096
8097
|
const handleInput$5 = event => {
|
|
8097
8098
|
const $Target = event.target;
|
|
@@ -8381,7 +8382,7 @@ const handleTableClick = event => {
|
|
|
8381
8382
|
clientY
|
|
8382
8383
|
} = event;
|
|
8383
8384
|
const uid = fromEvent(event);
|
|
8384
|
-
handleClick$
|
|
8385
|
+
handleClick$8(uid, clientX, clientY);
|
|
8385
8386
|
};
|
|
8386
8387
|
const handleTableDoubleClick = event => {
|
|
8387
8388
|
const {
|
|
@@ -10346,7 +10347,7 @@ const handleClick$3 = event => {
|
|
|
10346
10347
|
if (index === -1) {
|
|
10347
10348
|
return;
|
|
10348
10349
|
}
|
|
10349
|
-
handleClick$
|
|
10350
|
+
handleClick$8(uid, index);
|
|
10350
10351
|
};
|
|
10351
10352
|
const handleMouseOver = event => {
|
|
10352
10353
|
const {
|
|
@@ -10418,7 +10419,7 @@ const handleClick$2 = event => {
|
|
|
10418
10419
|
clientX,
|
|
10419
10420
|
clientY
|
|
10420
10421
|
} = event;
|
|
10421
|
-
handleClick$
|
|
10422
|
+
handleClick$8(uid, clientX, clientY);
|
|
10422
10423
|
};
|
|
10423
10424
|
|
|
10424
10425
|
const ViewletStatusBarEvents = {
|
|
@@ -10462,7 +10463,7 @@ const ViewletStatusBar = {
|
|
|
10462
10463
|
|
|
10463
10464
|
const handleClick$1 = event => {
|
|
10464
10465
|
const uid = fromEvent(event);
|
|
10465
|
-
handleClick$
|
|
10466
|
+
handleClick$8(uid);
|
|
10466
10467
|
};
|
|
10467
10468
|
|
|
10468
10469
|
const ViewletStorageEvents = {
|
|
@@ -10845,7 +10846,7 @@ const handleClick = event => {
|
|
|
10845
10846
|
} = event;
|
|
10846
10847
|
const index = getIndex(target);
|
|
10847
10848
|
const uid = fromEvent(event);
|
|
10848
|
-
handleClick$
|
|
10849
|
+
handleClick$8(uid, button, index);
|
|
10849
10850
|
};
|
|
10850
10851
|
const getLevelAndIndex = event => {
|
|
10851
10852
|
const {
|