@lvce-editor/renderer-process 10.12.0 → 10.13.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.
@@ -998,7 +998,7 @@ const hydrate$4 = async () => {
998
998
  };
999
999
 
1000
1000
  // TODO needed?
1001
- const dispose$l = () => {
1001
+ const dispose$m = () => {
1002
1002
  // @ts-expect-error
1003
1003
  if (state$9.rendererWorker) {
1004
1004
  // @ts-expect-error
@@ -1021,7 +1021,7 @@ const invokeAndTransfer = (method, ...params) => {
1021
1021
 
1022
1022
  const RendererWorker = {
1023
1023
  __proto__: null,
1024
- dispose: dispose$l,
1024
+ dispose: dispose$m,
1025
1025
  hydrate: hydrate$4,
1026
1026
  invoke: invoke$1,
1027
1027
  invokeAndTransfer,
@@ -2318,7 +2318,7 @@ const attachEvents$b = state => {
2318
2318
  // TODO show should be passed active cursor position
2319
2319
  // this would make this function easier to test as it would avoid dependency on globals of other files
2320
2320
 
2321
- const setDom$c = (state, dom) => {
2321
+ const setDom$b = (state, dom) => {
2322
2322
  const {
2323
2323
  $ListItems,
2324
2324
  $Viewlet
@@ -2330,7 +2330,7 @@ const setDom$c = (state, dom) => {
2330
2330
  // TODO recycle nodes
2331
2331
  // TODO set right aria attributes on $EditorInput
2332
2332
  };
2333
- const dispose$k = state => {
2333
+ const dispose$l = state => {
2334
2334
  remove$2(state.$Viewlet);
2335
2335
  // state.$EditorInput.removeAttribute('aria-activedescendant')
2336
2336
  };
@@ -2361,11 +2361,11 @@ const ViewletEditorCompletion = {
2361
2361
  __proto__: null,
2362
2362
  attachEvents: attachEvents$b,
2363
2363
  create: create$J,
2364
- dispose: dispose$k,
2364
+ dispose: dispose$l,
2365
2365
  handleError: handleError$8,
2366
2366
  setBounds: setBounds$7,
2367
2367
  setContentHeight,
2368
- setDom: setDom$c,
2368
+ setDom: setDom$b,
2369
2369
  setNegativeMargin,
2370
2370
  setScrollBar: setScrollBar$2,
2371
2371
  setSize,
@@ -2394,7 +2394,7 @@ const create$I = () => {
2394
2394
  const attachEvents$a = state => {
2395
2395
  // TODO
2396
2396
  };
2397
- const setDom$b = (state, dom) => {
2397
+ const setDom$a = (state, dom) => {
2398
2398
  const {
2399
2399
  $Viewlet
2400
2400
  } = state;
@@ -2409,7 +2409,7 @@ const appendWidget$3 = state => {
2409
2409
  } = state;
2410
2410
  append$1($Viewlet);
2411
2411
  };
2412
- const dispose$j = state => {
2412
+ const dispose$k = state => {
2413
2413
  remove$2(state.$Viewlet);
2414
2414
  };
2415
2415
  const setBounds$6 = (state, x, y, width, height) => {
@@ -2425,9 +2425,9 @@ const ViewletEditorCompletionDetails = {
2425
2425
  appendWidget: appendWidget$3,
2426
2426
  attachEvents: attachEvents$a,
2427
2427
  create: create$I,
2428
- dispose: dispose$j,
2428
+ dispose: dispose$k,
2429
2429
  setBounds: setBounds$6,
2430
- setDom: setDom$b
2430
+ setDom: setDom$a
2431
2431
  };
2432
2432
 
2433
2433
  const rememberFocus = rememberFocus$1;
@@ -2472,7 +2472,7 @@ const appendWidget$2 = state => {
2472
2472
  } = state;
2473
2473
  append$1($Viewlet);
2474
2474
  };
2475
- const setDom$a = (state, dom) => {
2475
+ const setDom$9 = (state, dom) => {
2476
2476
  const {
2477
2477
  $Viewlet
2478
2478
  } = state;
@@ -2484,7 +2484,7 @@ const ViewletEditorHover = {
2484
2484
  Events: ViewletEditorHoverEvents,
2485
2485
  appendWidget: appendWidget$2,
2486
2486
  setBounds: setBounds$5,
2487
- setDom: setDom$a
2487
+ setDom: setDom$9
2488
2488
  };
2489
2489
 
2490
2490
  const handleInput$7 = event => {
@@ -2612,7 +2612,7 @@ const appendWidget$1 = state => {
2612
2612
  } = state;
2613
2613
  append$1($Viewlet);
2614
2614
  };
2615
- const setDom$9 = (state, dom) => {
2615
+ const setDom$8 = (state, dom) => {
2616
2616
  const {
2617
2617
  $Viewlet
2618
2618
  } = state;
@@ -2624,16 +2624,16 @@ const setBounds$4 = (state, x, y, width, height) => {
2624
2624
  } = state;
2625
2625
  setBounds$8($Viewlet, x, y, width, height);
2626
2626
  };
2627
- const Events$d = ViewletFindWidgetEvents;
2627
+ const Events$c = ViewletFindWidgetEvents;
2628
2628
 
2629
2629
  const ViewletFindWidget = {
2630
2630
  __proto__: null,
2631
- Events: Events$d,
2631
+ Events: Events$c,
2632
2632
  appendWidget: appendWidget$1,
2633
2633
  create: create$H,
2634
2634
  focus: focus$i,
2635
2635
  setBounds: setBounds$4,
2636
- setDom: setDom$9,
2636
+ setDom: setDom$8,
2637
2637
  setValue: setValue$4
2638
2638
  };
2639
2639
 
@@ -2643,7 +2643,7 @@ const handleFocusIn$2 = event => {
2643
2643
  handleFocusIn$3(uid);
2644
2644
  };
2645
2645
 
2646
- const Events$c = {
2646
+ const ViewletEditorSourceActionsEvents = {
2647
2647
  __proto__: null,
2648
2648
  handleFocusIn: handleFocusIn$2
2649
2649
  };
@@ -2660,18 +2660,16 @@ const appendWidget = state => {
2660
2660
  } = state;
2661
2661
  append$1($Viewlet);
2662
2662
  };
2663
- const setDom$8 = (state, dom) => {
2664
- const {
2665
- $Viewlet
2666
- } = state;
2667
- rememberFocus($Viewlet, dom, Events$c, 0);
2663
+ const dispose$j = state => {
2664
+ remove$2(state.$Viewlet);
2668
2665
  };
2669
2666
 
2670
2667
  const ViewletEditorSourceActions = {
2671
2668
  __proto__: null,
2669
+ Events: ViewletEditorSourceActionsEvents,
2672
2670
  appendWidget,
2673
- setBounds: setBounds$3,
2674
- setDom: setDom$8
2671
+ dispose: dispose$j,
2672
+ setBounds: setBounds$3
2675
2673
  };
2676
2674
 
2677
2675
  const ActivityBar = 'ActivityBar';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "10.12.0",
3
+ "version": "10.13.0",
4
4
  "description": "",
5
5
  "main": "dist/rendererProcessMain.js",
6
6
  "type": "module",