@lvce-editor/renderer-process 10.25.0 → 10.26.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.
@@ -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
@@ -10285,6 +10297,7 @@ const ViewletSearchEvents = {
10285
10297
  handleScrollBarPointerDown: handleScrollBarPointerDown$1,
10286
10298
  handleScrollBarPointerUp,
10287
10299
  handleScrollBarThumbPointerMove,
10300
+ handleSharedInput,
10288
10301
  handleToggleButtonClick,
10289
10302
  handleWheel,
10290
10303
  returnValue: returnValue$5
@@ -10297,7 +10310,9 @@ const focus$5 = state => {
10297
10310
  const setValue = (state, value, key) => {
10298
10311
  if (key) {
10299
10312
  const $Element = state.$Viewlet.querySelector(key);
10300
- $Element.value = value;
10313
+ if ($Element) {
10314
+ $Element.value = value;
10315
+ }
10301
10316
  return;
10302
10317
  }
10303
10318
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "10.25.0",
3
+ "version": "10.26.0",
4
4
  "description": "",
5
5
  "main": "dist/rendererProcessMain.js",
6
6
  "type": "module",