@lvce-editor/renderer-process 10.25.0 → 10.27.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 +36 -1
- package/package.json +1 -1
|
@@ -10223,11 +10223,23 @@ const handleHeaderClick$1 = event => {
|
|
|
10223
10223
|
return ['toggleMatchWholeWord'];
|
|
10224
10224
|
case 'Preserve Case':
|
|
10225
10225
|
return ['togglePreserveCase'];
|
|
10226
|
+
case 'Toggle Search Details':
|
|
10227
|
+
return ['toggleSearchDetails'];
|
|
10226
10228
|
default:
|
|
10227
10229
|
return [];
|
|
10228
10230
|
}
|
|
10229
10231
|
// TODO better way to determine which button was clicked
|
|
10230
10232
|
};
|
|
10233
|
+
const handleSharedInput = event => {
|
|
10234
|
+
const {
|
|
10235
|
+
target
|
|
10236
|
+
} = event;
|
|
10237
|
+
const {
|
|
10238
|
+
value,
|
|
10239
|
+
name
|
|
10240
|
+
} = target;
|
|
10241
|
+
return ['handleSharedInput', name, value];
|
|
10242
|
+
};
|
|
10231
10243
|
const handleReplaceInput = event => {
|
|
10232
10244
|
const {
|
|
10233
10245
|
target
|
|
@@ -10237,6 +10249,24 @@ const handleReplaceInput = event => {
|
|
|
10237
10249
|
} = target;
|
|
10238
10250
|
return ['handleReplaceInput', value];
|
|
10239
10251
|
};
|
|
10252
|
+
const handleIncludeInput = event => {
|
|
10253
|
+
const {
|
|
10254
|
+
target
|
|
10255
|
+
} = event;
|
|
10256
|
+
const {
|
|
10257
|
+
value
|
|
10258
|
+
} = target;
|
|
10259
|
+
return ['handleIncludeInput', value];
|
|
10260
|
+
};
|
|
10261
|
+
const handleExcludeInput = event => {
|
|
10262
|
+
const {
|
|
10263
|
+
target
|
|
10264
|
+
} = event;
|
|
10265
|
+
const {
|
|
10266
|
+
value
|
|
10267
|
+
} = target;
|
|
10268
|
+
return ['handleExcludeInput', value];
|
|
10269
|
+
};
|
|
10240
10270
|
const handleListFocus = event => {
|
|
10241
10271
|
return ['handleListFocus'];
|
|
10242
10272
|
};
|
|
@@ -10275,9 +10305,11 @@ const ViewletSearchEvents = {
|
|
|
10275
10305
|
__proto__: null,
|
|
10276
10306
|
handleClick: handleClick$4,
|
|
10277
10307
|
handleContextMenu: handleContextMenu$5,
|
|
10308
|
+
handleExcludeInput,
|
|
10278
10309
|
handleFocus: handleFocus$2,
|
|
10279
10310
|
handleHeaderClick: handleHeaderClick$1,
|
|
10280
10311
|
handleHeaderFocusIn,
|
|
10312
|
+
handleIncludeInput,
|
|
10281
10313
|
handleInput: handleInput$3,
|
|
10282
10314
|
handleListBlur,
|
|
10283
10315
|
handleListFocus,
|
|
@@ -10285,6 +10317,7 @@ const ViewletSearchEvents = {
|
|
|
10285
10317
|
handleScrollBarPointerDown: handleScrollBarPointerDown$1,
|
|
10286
10318
|
handleScrollBarPointerUp,
|
|
10287
10319
|
handleScrollBarThumbPointerMove,
|
|
10320
|
+
handleSharedInput,
|
|
10288
10321
|
handleToggleButtonClick,
|
|
10289
10322
|
handleWheel,
|
|
10290
10323
|
returnValue: returnValue$5
|
|
@@ -10297,7 +10330,9 @@ const focus$5 = state => {
|
|
|
10297
10330
|
const setValue = (state, value, key) => {
|
|
10298
10331
|
if (key) {
|
|
10299
10332
|
const $Element = state.$Viewlet.querySelector(key);
|
|
10300
|
-
$Element
|
|
10333
|
+
if ($Element) {
|
|
10334
|
+
$Element.value = value;
|
|
10335
|
+
}
|
|
10301
10336
|
return;
|
|
10302
10337
|
}
|
|
10303
10338
|
const {
|