@lvce-editor/renderer-process 10.31.0 → 10.32.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.
@@ -2793,11 +2793,11 @@ const setBounds$3 = (state, x, y, width, height) => {
2793
2793
  const dispose$i = state => {
2794
2794
  remove$2(state.$Viewlet);
2795
2795
  };
2796
- const Events$d = ViewletFindWidgetEvents;
2796
+ const Events$c = ViewletFindWidgetEvents;
2797
2797
 
2798
2798
  const ViewletFindWidget = {
2799
2799
  __proto__: null,
2800
- Events: Events$d,
2800
+ Events: Events$c,
2801
2801
  appendWidget,
2802
2802
  create: create$H,
2803
2803
  dispose: dispose$i,
@@ -2858,7 +2858,6 @@ const TitleBarIcon = 'TitleBarIcon';
2858
2858
  const TitleBarMenuBar = 'TitleBarMenuBar';
2859
2859
  const Video = 'Video';
2860
2860
  const TitleBarTitle = 'TitleBarTitle';
2861
- const About = 'About';
2862
2861
  const EditorSourceActions = 'EditorSourceActions';
2863
2862
  const E2eTests = 'E2eTests';
2864
2863
  const E2eTest = 'E2eTest';
@@ -5840,8 +5839,6 @@ const load$1 = moduleId => {
5840
5839
  return Promise.resolve().then(function () { return ViewletVideo; });
5841
5840
  case TitleBarTitle:
5842
5841
  return Promise.resolve().then(function () { return ViewletTitleBarTitle; });
5843
- case About:
5844
- return Promise.resolve().then(function () { return ViewletAbout; });
5845
5842
  case EditorSourceActions:
5846
5843
  return Promise.resolve().then(function () { return ViewletEditorSourceActions; });
5847
5844
  case EmptyEditor:
@@ -6129,6 +6126,8 @@ const sendMultiple = commands => {
6129
6126
  case 'Viewlet.focusElementByName':
6130
6127
  // @ts-ignore
6131
6128
  return focusElementByName(viewletId, method, ...args);
6129
+ case 'Viewlet.registerEventListeners':
6130
+ return registerEventListeners(viewletId, method, ...args);
6132
6131
  default:
6133
6132
  {
6134
6133
  invoke(viewletId, method, ...args);
@@ -6292,6 +6291,8 @@ const getFn = command => {
6292
6291
  return createFunctionalRoot;
6293
6292
  case 'Viewlet.focusElementByName':
6294
6293
  return focusElementByName;
6294
+ case 'Viewlet.registerEventListeners':
6295
+ return registerEventListeners;
6295
6296
  default:
6296
6297
  throw new Error(`unknown command ${command}`);
6297
6298
  }
@@ -6299,7 +6300,6 @@ const getFn = command => {
6299
6300
  const executeCommands = commands => {
6300
6301
  for (const [command, ...args] of commands) {
6301
6302
  const fn = getFn(command);
6302
- // @ts-expect-error
6303
6303
  fn(...args);
6304
6304
  }
6305
6305
  };
@@ -6727,11 +6727,11 @@ const ViewletActivityBarEvents = {
6727
6727
  returnValue: returnValue$6
6728
6728
  };
6729
6729
 
6730
- const Events$c = ViewletActivityBarEvents;
6730
+ const Events$b = ViewletActivityBarEvents;
6731
6731
 
6732
6732
  const ViewletActivityBar = {
6733
6733
  __proto__: null,
6734
- Events: Events$c
6734
+ Events: Events$b
6735
6735
  };
6736
6736
 
6737
6737
  const handleAudioError = event => {
@@ -6754,11 +6754,11 @@ const ViewletAudioEvents = {
6754
6754
  handleAudioError
6755
6755
  };
6756
6756
 
6757
- const Events$b = ViewletAudioEvents;
6757
+ const Events$a = ViewletAudioEvents;
6758
6758
 
6759
6759
  const ViewletAudio = {
6760
6760
  __proto__: null,
6761
- Events: Events$b
6761
+ Events: Events$a
6762
6762
  };
6763
6763
 
6764
6764
  const create$v = () => {
@@ -8156,7 +8156,7 @@ const create$i = () => {
8156
8156
  $Viewlet
8157
8157
  };
8158
8158
  };
8159
- const Events$a = ViewletExplorerEvents;
8159
+ const Events$9 = ViewletExplorerEvents;
8160
8160
  const handleError$3 = (state, message) => {
8161
8161
  object(state);
8162
8162
  string(message);
@@ -8203,7 +8203,7 @@ const setDom$2 = (state, dom) => {
8203
8203
 
8204
8204
  const ViewletExplorer = {
8205
8205
  __proto__: null,
8206
- Events: Events$a,
8206
+ Events: Events$9,
8207
8207
  create: create$i,
8208
8208
  dispose: dispose$9,
8209
8209
  focusInput,
@@ -8247,11 +8247,11 @@ const ViewletExtensionDetailEvents = {
8247
8247
  handleReadmeContextMenu
8248
8248
  };
8249
8249
 
8250
- const Events$9 = ViewletExtensionDetailEvents;
8250
+ const Events$8 = ViewletExtensionDetailEvents;
8251
8251
 
8252
8252
  const ViewletExtensionDetail = {
8253
8253
  __proto__: null,
8254
- Events: Events$9,
8254
+ Events: Events$8,
8255
8255
  setSize
8256
8256
  };
8257
8257
 
@@ -8531,7 +8531,7 @@ const ViewletLocationsEvents = {
8531
8531
  handleLocationsMouseDown
8532
8532
  };
8533
8533
 
8534
- const Events$8 = ViewletLocationsEvents;
8534
+ const Events$7 = ViewletLocationsEvents;
8535
8535
  const setFocusedIndex$3 = (state, oldFocusedIndex, newFocusedIndex) => {
8536
8536
  const {
8537
8537
  $Viewlet
@@ -8566,7 +8566,7 @@ const focus$b = state => {
8566
8566
 
8567
8567
  const ViewletImplementations = {
8568
8568
  __proto__: null,
8569
- Events: Events$8,
8569
+ Events: Events$7,
8570
8570
  focus: focus$b,
8571
8571
  handleError: handleError$1,
8572
8572
  setFocusedIndex: setFocusedIndex$3
@@ -8677,11 +8677,11 @@ const setColumnWidths = (state, columnWidth1, columnWidth2, columnWidth3) => {
8677
8677
  $Resizer1.style.left = `${paddingLeft + columnWidth1}px`;
8678
8678
  $Resizer2.style.left = `${paddingLeft + columnWidth1 + columnWidth2}px`;
8679
8679
  };
8680
- const Events$7 = ViewletkeyBindingsEvents;
8680
+ const Events$6 = ViewletkeyBindingsEvents;
8681
8681
 
8682
8682
  const ViewletKeyBindings = {
8683
8683
  __proto__: null,
8684
- Events: Events$7,
8684
+ Events: Events$6,
8685
8685
  setColumnWidths,
8686
8686
  setScrollBar: setScrollBar$2,
8687
8687
  setSize,
@@ -10054,7 +10054,7 @@ const ViewletQuickPick = {
10054
10054
 
10055
10055
  const ViewletReferences = {
10056
10056
  __proto__: null,
10057
- Events: Events$8,
10057
+ Events: Events$7,
10058
10058
  focus: focus$b,
10059
10059
  handleError: handleError$1,
10060
10060
  setFocusedIndex: setFocusedIndex$3
@@ -10440,11 +10440,11 @@ const setFocus = (state, selector) => {
10440
10440
  }
10441
10441
  };
10442
10442
  const dispose$3 = () => {};
10443
- const Events$6 = ViewletSearchEvents;
10443
+ const Events$5 = ViewletSearchEvents;
10444
10444
 
10445
10445
  const ViewletSearch = {
10446
10446
  __proto__: null,
10447
- Events: Events$6,
10447
+ Events: Events$5,
10448
10448
  dispose: dispose$3,
10449
10449
  focus: focus$5,
10450
10450
  setFocus,
@@ -10775,11 +10775,11 @@ const ViewletStorageEvents = {
10775
10775
  handleClick: handleClick$1
10776
10776
  };
10777
10777
 
10778
- const Events$5 = ViewletStorageEvents;
10778
+ const Events$4 = ViewletStorageEvents;
10779
10779
 
10780
10780
  const ViewletStorage = {
10781
10781
  __proto__: null,
10782
- Events: Events$5
10782
+ Events: Events$4
10783
10783
  };
10784
10784
 
10785
10785
  const isUint8Array = value => {
@@ -11090,18 +11090,18 @@ const ViewletTitleBarButtonEvents = {
11090
11090
  returnValue: returnValue$3
11091
11091
  };
11092
11092
 
11093
- const Events$4 = ViewletTitleBarButtonEvents;
11093
+ const Events$3 = ViewletTitleBarButtonEvents;
11094
11094
 
11095
11095
  const ViewletTitleBarButtons = {
11096
11096
  __proto__: null,
11097
- Events: Events$4
11097
+ Events: Events$3
11098
11098
  };
11099
11099
 
11100
- const Events$3 = {};
11100
+ const Events$2 = {};
11101
11101
 
11102
11102
  const ViewletTitleBarIcon = {
11103
11103
  __proto__: null,
11104
- Events: Events$3
11104
+ Events: Events$2
11105
11105
  };
11106
11106
 
11107
11107
  const isInsideTitleBarMenu = $Element => {
@@ -11433,11 +11433,11 @@ const setMenus = (state, changes, uid) => {
11433
11433
  }
11434
11434
  }
11435
11435
  };
11436
- const Events$2 = ViewletTitleBarMenuBarEvents;
11436
+ const Events$1 = ViewletTitleBarMenuBarEvents;
11437
11437
 
11438
11438
  const ViewletTitleBarMenuBar = {
11439
11439
  __proto__: null,
11440
- Events: Events$2,
11440
+ Events: Events$1,
11441
11441
  closeMenu,
11442
11442
  dispose,
11443
11443
  focus,
@@ -11469,11 +11469,11 @@ const ViewletVideoEvents = {
11469
11469
  handleVideoError
11470
11470
  };
11471
11471
 
11472
- const Events$1 = ViewletVideoEvents;
11472
+ const Events = ViewletVideoEvents;
11473
11473
 
11474
11474
  const ViewletVideo = {
11475
11475
  __proto__: null,
11476
- Events: Events$1
11476
+ Events
11477
11477
  };
11478
11478
 
11479
11479
  const create$2 = () => {
@@ -11496,13 +11496,6 @@ const ViewletTitleBarTitle = {
11496
11496
  setDom
11497
11497
  };
11498
11498
 
11499
- const Events = {};
11500
-
11501
- const ViewletAbout = {
11502
- __proto__: null,
11503
- Events
11504
- };
11505
-
11506
11499
  const create$1 = () => {
11507
11500
  const $Viewlet = document.createElement('div');
11508
11501
  $Viewlet.className = 'Viewlet EmptyEditor';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "10.31.0",
3
+ "version": "10.32.0",
4
4
  "description": "",
5
5
  "main": "dist/rendererProcessMain.js",
6
6
  "type": "module",