@lvce-editor/renderer-process 10.20.0 → 10.21.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.
@@ -2094,7 +2094,7 @@ forwardViewletCommand('focusPrevious');
2094
2094
  const handleAudioError$1 = forwardViewletCommand('handleAudioError');
2095
2095
  const handleBeforeInput$2 = forwardViewletCommand('handleBeforeInput');
2096
2096
  forwardViewletCommand('handleBeforeInputFromContentEditable');
2097
- const handleBlur$a = forwardViewletCommand('handleBlur');
2097
+ const handleBlur$b = forwardViewletCommand('handleBlur');
2098
2098
  const handleButtonClick = forwardViewletCommand('handleButtonClick');
2099
2099
  const handleClick$8 = forwardViewletCommand('handleClick');
2100
2100
  const handleClickAction$2 = forwardViewletCommand('handleClickAction');
@@ -2122,7 +2122,7 @@ const handleFocus$c = forwardViewletCommand('handleFocus');
2122
2122
  const handleFocusIn$4 = forwardViewletCommand('handleFocusIn');
2123
2123
  const handleIconError$1 = forwardViewletCommand('handleIconError');
2124
2124
  const handleImageError$1 = forwardViewletCommand('handleImageError');
2125
- const handleInput$8 = forwardViewletCommand('handleInput');
2125
+ const handleInput$9 = forwardViewletCommand('handleInput');
2126
2126
  const handleKeyDown$5 = forwardViewletCommand('handleKeyDown');
2127
2127
  forwardViewletCommand('handleListBlur');
2128
2128
  forwardViewletCommand('handleListFocus');
@@ -2492,10 +2492,26 @@ const handleFocusIn$3 = event => {
2492
2492
  const uid = fromEvent(event);
2493
2493
  handleFocusIn$4(uid);
2494
2494
  };
2495
+ const handleBlur$a = event => {
2496
+ const uid = fromEvent(event);
2497
+ executeViewletCommand(uid, 'EditorRename.handleBlur');
2498
+ };
2499
+ const handleInput$8 = event => {
2500
+ const {
2501
+ target
2502
+ } = event;
2503
+ const {
2504
+ value
2505
+ } = target;
2506
+ const uid = fromEvent(event);
2507
+ executeViewletCommand(uid, 'EditorRename.handleInput', value);
2508
+ };
2495
2509
 
2496
2510
  const ViewletEditorRenameEvents = {
2497
2511
  __proto__: null,
2498
- handleFocusIn: handleFocusIn$3
2512
+ handleBlur: handleBlur$a,
2513
+ handleFocusIn: handleFocusIn$3,
2514
+ handleInput: handleInput$8
2499
2515
  };
2500
2516
 
2501
2517
  const setBounds$5 = (state, x, y, width, height) => {
@@ -6749,7 +6765,7 @@ const handleInput$6 = event => {
6749
6765
  const {
6750
6766
  value
6751
6767
  } = target;
6752
- handleInput$8(uid, value);
6768
+ handleInput$9(uid, value);
6753
6769
  };
6754
6770
  const handleFocus$9 = event => {
6755
6771
  const uid = fromEvent(event);
@@ -6797,7 +6813,7 @@ const handleKeyDown$3 = event => {
6797
6813
  };
6798
6814
  const handleBlur$7 = event => {
6799
6815
  const uid = fromEvent(event);
6800
- handleBlur$a(uid);
6816
+ handleBlur$b(uid);
6801
6817
  };
6802
6818
 
6803
6819
  const ViewletDefineKeyBindingEvents = {
@@ -8000,7 +8016,7 @@ const handleFocus$6 = event => {
8000
8016
  };
8001
8017
  const handleBlur$5 = event => {
8002
8018
  const uid = fromEvent(event);
8003
- handleBlur$a(uid);
8019
+ handleBlur$b(uid);
8004
8020
  };
8005
8021
  const handleClick$5 = event => {
8006
8022
  preventDefault(event);
@@ -8236,7 +8252,7 @@ const handleInput$5 = event => {
8236
8252
  const $Target = event.target;
8237
8253
  const value = $Target.value;
8238
8254
  const uid = fromEvent(event);
8239
- handleInput$8(uid, value);
8255
+ handleInput$9(uid, value);
8240
8256
  // TODO
8241
8257
  // TODO use beforeinput event to set value and extension list items at the same time
8242
8258
  // state.$Viewlet.ariaBusy = 'true'
@@ -8512,7 +8528,7 @@ const handleInput$4 = event => {
8512
8528
  value
8513
8529
  } = target;
8514
8530
  const uid = fromEvent(event);
8515
- handleInput$8(uid, value);
8531
+ handleInput$9(uid, value);
8516
8532
  };
8517
8533
  const handleTableClick = event => {
8518
8534
  const {
@@ -9717,7 +9733,7 @@ const handlePointerDown = event => {
9717
9733
  };
9718
9734
  const handleBlur$2 = event => {
9719
9735
  const uid = fromEvent(event);
9720
- handleBlur$a(uid);
9736
+ handleBlur$b(uid);
9721
9737
  };
9722
9738
 
9723
9739
  // TODO
@@ -10524,7 +10540,7 @@ const handleInput = event => {
10524
10540
  value
10525
10541
  } = target;
10526
10542
  const uid = fromEvent(event);
10527
- handleInput$8(uid, value);
10543
+ handleInput$9(uid, value);
10528
10544
  };
10529
10545
 
10530
10546
  const ViewletSourceControlEvents = {
@@ -10707,7 +10723,7 @@ const create$6 = ({
10707
10723
 
10708
10724
  const handleBlur = event => {
10709
10725
  const uid = fromEvent(event);
10710
- handleBlur$a(uid);
10726
+ handleBlur$b(uid);
10711
10727
  };
10712
10728
  const handleMouseDown = (event, ...args) => {
10713
10729
  const uid = fromEvent(event);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "10.20.0",
3
+ "version": "10.21.0",
4
4
  "description": "",
5
5
  "main": "dist/rendererProcessMain.js",
6
6
  "type": "module",