@lvce-editor/renderer-process 10.19.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,17 +2492,34 @@ 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
- const setBounds$5 = (state, x, y) => {
2517
+ const setBounds$5 = (state, x, y, width, height) => {
2502
2518
  const {
2503
2519
  $Viewlet
2504
2520
  } = state;
2505
- setXAndYTransform($Viewlet, x, -y);
2521
+ setBounds$9($Viewlet, x, y, width, height);
2522
+ applyUidWorkaround($Viewlet);
2506
2523
  };
2507
2524
  const appendWidget$2 = state => {
2508
2525
  const {
@@ -6748,7 +6765,7 @@ const handleInput$6 = event => {
6748
6765
  const {
6749
6766
  value
6750
6767
  } = target;
6751
- handleInput$8(uid, value);
6768
+ handleInput$9(uid, value);
6752
6769
  };
6753
6770
  const handleFocus$9 = event => {
6754
6771
  const uid = fromEvent(event);
@@ -6796,7 +6813,7 @@ const handleKeyDown$3 = event => {
6796
6813
  };
6797
6814
  const handleBlur$7 = event => {
6798
6815
  const uid = fromEvent(event);
6799
- handleBlur$a(uid);
6816
+ handleBlur$b(uid);
6800
6817
  };
6801
6818
 
6802
6819
  const ViewletDefineKeyBindingEvents = {
@@ -7999,7 +8016,7 @@ const handleFocus$6 = event => {
7999
8016
  };
8000
8017
  const handleBlur$5 = event => {
8001
8018
  const uid = fromEvent(event);
8002
- handleBlur$a(uid);
8019
+ handleBlur$b(uid);
8003
8020
  };
8004
8021
  const handleClick$5 = event => {
8005
8022
  preventDefault(event);
@@ -8235,7 +8252,7 @@ const handleInput$5 = event => {
8235
8252
  const $Target = event.target;
8236
8253
  const value = $Target.value;
8237
8254
  const uid = fromEvent(event);
8238
- handleInput$8(uid, value);
8255
+ handleInput$9(uid, value);
8239
8256
  // TODO
8240
8257
  // TODO use beforeinput event to set value and extension list items at the same time
8241
8258
  // state.$Viewlet.ariaBusy = 'true'
@@ -8511,7 +8528,7 @@ const handleInput$4 = event => {
8511
8528
  value
8512
8529
  } = target;
8513
8530
  const uid = fromEvent(event);
8514
- handleInput$8(uid, value);
8531
+ handleInput$9(uid, value);
8515
8532
  };
8516
8533
  const handleTableClick = event => {
8517
8534
  const {
@@ -9716,7 +9733,7 @@ const handlePointerDown = event => {
9716
9733
  };
9717
9734
  const handleBlur$2 = event => {
9718
9735
  const uid = fromEvent(event);
9719
- handleBlur$a(uid);
9736
+ handleBlur$b(uid);
9720
9737
  };
9721
9738
 
9722
9739
  // TODO
@@ -10523,7 +10540,7 @@ const handleInput = event => {
10523
10540
  value
10524
10541
  } = target;
10525
10542
  const uid = fromEvent(event);
10526
- handleInput$8(uid, value);
10543
+ handleInput$9(uid, value);
10527
10544
  };
10528
10545
 
10529
10546
  const ViewletSourceControlEvents = {
@@ -10706,7 +10723,7 @@ const create$6 = ({
10706
10723
 
10707
10724
  const handleBlur = event => {
10708
10725
  const uid = fromEvent(event);
10709
- handleBlur$a(uid);
10726
+ handleBlur$b(uid);
10710
10727
  };
10711
10728
  const handleMouseDown = (event, ...args) => {
10712
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.19.0",
3
+ "version": "10.21.0",
4
4
  "description": "",
5
5
  "main": "dist/rendererProcessMain.js",
6
6
  "type": "module",