@lvce-editor/renderer-process 18.1.0 → 19.1.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.
@@ -726,7 +726,7 @@ const getDragInfo = id => {
726
726
  return dragInfos[id];
727
727
  };
728
728
  let id$1 = 0;
729
- const create$H = () => {
729
+ const create$G = () => {
730
730
  return ++id$1;
731
731
  };
732
732
  const state$8 = Object.create(null);
@@ -741,7 +741,7 @@ const getFileHandles$1 = async ids => {
741
741
  return handles;
742
742
  };
743
743
  const add = promise => {
744
- const id = create$H();
744
+ const id = create$G();
745
745
  state$8[id] = promise;
746
746
  return id;
747
747
  };
@@ -1277,7 +1277,7 @@ const getWorkerDisplayName$1 = name => {
1277
1277
  }
1278
1278
  return `${name} worker`;
1279
1279
  };
1280
- const create$G = async ({
1280
+ const create$F = async ({
1281
1281
  url,
1282
1282
  name
1283
1283
  }) => {
@@ -1344,7 +1344,7 @@ const wrap = worker => {
1344
1344
 
1345
1345
  const IpcParentWithModuleWorker$2 = {
1346
1346
  __proto__: null,
1347
- create: create$G,
1347
+ create: create$F,
1348
1348
  wrap
1349
1349
  };
1350
1350
 
@@ -1352,7 +1352,7 @@ const isMessagePort$1 = value => {
1352
1352
  return value instanceof MessagePort;
1353
1353
  };
1354
1354
 
1355
- const create$F = async ({
1355
+ const create$E = async ({
1356
1356
  url
1357
1357
  }) => {
1358
1358
  string(url);
@@ -1373,10 +1373,10 @@ const create$F = async ({
1373
1373
 
1374
1374
  const IpcParentWithMessagePort$2 = {
1375
1375
  __proto__: null,
1376
- create: create$F
1376
+ create: create$E
1377
1377
  };
1378
1378
 
1379
- const create$E = async url => {
1379
+ const create$D = async url => {
1380
1380
  const referencePort = await new Promise(resolve => {
1381
1381
  globalThis.acceptReferencePort = resolve;
1382
1382
  import(url);
@@ -1387,7 +1387,7 @@ const create$E = async url => {
1387
1387
 
1388
1388
  const IpcParentWithReferencePort = {
1389
1389
  __proto__: null,
1390
- create: create$E
1390
+ create: create$D
1391
1391
  };
1392
1392
 
1393
1393
  const normalizeLine = line => {
@@ -1532,7 +1532,7 @@ const fixElectronParameters = value => {
1532
1532
  transfer
1533
1533
  };
1534
1534
  };
1535
- const attachEvents$a = that => {
1535
+ const attachEvents$9 = that => {
1536
1536
  const handleMessage = (...args) => {
1537
1537
  const data = that.getData(...args);
1538
1538
  that.dispatchEvent(new MessageEvent('message', {
@@ -1549,7 +1549,7 @@ class Ipc extends EventTarget {
1549
1549
  constructor(rawIpc) {
1550
1550
  super();
1551
1551
  this._rawIpc = rawIpc;
1552
- attachEvents$a(this);
1552
+ attachEvents$9(this);
1553
1553
  }
1554
1554
  }
1555
1555
  const E_INCOMPATIBLE_NATIVE_MODULE = 'E_INCOMPATIBLE_NATIVE_MODULE';
@@ -2198,7 +2198,7 @@ const getErrorResponse = (id, error, preparePrettyError, logError) => {
2198
2198
  const errorProperty = getErrorProperty(error, prettyError);
2199
2199
  return create$1$1(id, errorProperty);
2200
2200
  };
2201
- const create$D = (message, result) => {
2201
+ const create$C = (message, result) => {
2202
2202
  return {
2203
2203
  jsonrpc: Two,
2204
2204
  id: message.id,
@@ -2207,7 +2207,7 @@ const create$D = (message, result) => {
2207
2207
  };
2208
2208
  const getSuccessResponse = (message, result) => {
2209
2209
  const resultProperty = result ?? null;
2210
- return create$D(message, resultProperty);
2210
+ return create$C(message, resultProperty);
2211
2211
  };
2212
2212
  const getErrorResponseSimple = (id, error) => {
2213
2213
  return {
@@ -2493,7 +2493,7 @@ const PlainMessagePortRpcParent = {
2493
2493
  };
2494
2494
 
2495
2495
  // TODO add test
2496
- const create$C = async ({
2496
+ const create$B = async ({
2497
2497
  url,
2498
2498
  name,
2499
2499
  port
@@ -2509,7 +2509,7 @@ const create$C = async ({
2509
2509
 
2510
2510
  const IpcParentWithModuleWorkerWithMessagePort = {
2511
2511
  __proto__: null,
2512
- create: create$C
2512
+ create: create$B
2513
2513
  };
2514
2514
 
2515
2515
  const Web = 1;
@@ -2542,7 +2542,7 @@ const platform = getPlatform();
2542
2542
  const isElectron = platform === Electron;
2543
2543
 
2544
2544
  // TODO use handleIncomingIpc function
2545
- const create$B = async ({
2545
+ const create$A = async ({
2546
2546
  port,
2547
2547
  ipcId
2548
2548
  }) => {
@@ -2560,7 +2560,7 @@ const create$B = async ({
2560
2560
 
2561
2561
  const IpcParentWithElectron = {
2562
2562
  __proto__: null,
2563
- create: create$B
2563
+ create: create$A
2564
2564
  };
2565
2565
 
2566
2566
  const getModule = method => {
@@ -2705,7 +2705,7 @@ const RendererWorker = {
2705
2705
  state: state$7
2706
2706
  };
2707
2707
 
2708
- const create$A = async ({
2708
+ const create$z = async ({
2709
2709
  method,
2710
2710
  ...options
2711
2711
  }) => {
@@ -2824,7 +2824,7 @@ const create$Notification = message => {
2824
2824
  $Notification.textContent = message;
2825
2825
  return $Notification;
2826
2826
  };
2827
- const create$z = (type, message) => {
2827
+ const create$y = (type, message) => {
2828
2828
  // TODO this pattern might be also useful for activitybar, sidebar etc., creating elements as late as possible, only when actually needed
2829
2829
  const $Notification = create$Notification(message);
2830
2830
  append$1($Notification);
@@ -2886,7 +2886,7 @@ const set$6 = (canvasId, canvas) => {
2886
2886
  const get$4 = id => {
2887
2887
  return get$5(id);
2888
2888
  };
2889
- const create$y = async (canvasId, objectId) => {
2889
+ const create$x = async (canvasId, objectId) => {
2890
2890
  const canvas = document.createElement('canvas');
2891
2891
  const offscreenCanvas = canvas.transferControlToOffscreen();
2892
2892
  set$6(canvasId, canvas);
@@ -2900,7 +2900,6 @@ const Alert = 'alert';
2900
2900
  const Application = 'application';
2901
2901
  const Code = 'code';
2902
2902
  const Complementary = 'complementary';
2903
- const ContentInfo = 'contentinfo';
2904
2903
  const Group = 'group';
2905
2904
  const ListBox = 'listbox';
2906
2905
  const Log = 'log';
@@ -3195,7 +3194,7 @@ const create$Menu$1 = () => {
3195
3194
  // })
3196
3195
  $Menu.onkeydown = handleKeyDown$5;
3197
3196
  $Menu.addEventListener(FocusOut, handleFocusOut$1);
3198
- $Menu.oncontextmenu = handleContextMenu$a;
3197
+ $Menu.oncontextmenu = handleContextMenu$9;
3199
3198
  // $ContextMenu.onfocus = handleFocus
3200
3199
  // $ContextMenu.onblur = handleBlur
3201
3200
  return $Menu;
@@ -3224,14 +3223,14 @@ const handleBackDropMouseDown = event => {
3224
3223
  stopPropagation(event);
3225
3224
  send(/* Menu.hide */'Menu.hide');
3226
3225
  };
3227
- const handleContextMenu$a = event => {
3226
+ const handleContextMenu$9 = event => {
3228
3227
  preventDefault(event);
3229
3228
  };
3230
3229
  const showMenu = (x, y, width, height, items, level, parentIndex = -1, dom, mouseBlocking = false) => {
3231
3230
  if (mouseBlocking) {
3232
3231
  const $BackDrop = create$BackDrop();
3233
3232
  $BackDrop.onmousedown = handleBackDropMouseDown;
3234
- $BackDrop.oncontextmenu = handleContextMenu$a;
3233
+ $BackDrop.oncontextmenu = handleContextMenu$9;
3235
3234
  // @ts-expect-error
3236
3235
  state$3.$BackDrop = $BackDrop;
3237
3236
  append$1($BackDrop);
@@ -4046,7 +4045,7 @@ const showError = (message, y, x) => {
4046
4045
  $ImagePreviewImage
4047
4046
  };
4048
4047
  };
4049
- const create$x = (uri, top, left) => {
4048
+ const create$w = (uri, top, left) => {
4050
4049
  const $ImagePreviewImage = document.createElement('img');
4051
4050
  $ImagePreviewImage.className = 'ImagePreviewImage';
4052
4051
  $ImagePreviewImage.src = uri;
@@ -4077,7 +4076,7 @@ const dispose$h = state => {
4077
4076
 
4078
4077
  const ImagePreview$1 = {
4079
4078
  __proto__: null,
4080
- create: create$x,
4079
+ create: create$w,
4081
4080
  dispose: dispose$h,
4082
4081
  showError,
4083
4082
  update
@@ -4125,7 +4124,7 @@ const handleFocus$9 = () => {
4125
4124
 
4126
4125
  // TODO use context menu events function again
4127
4126
 
4128
- const handleContextMenu$9 = event => {
4127
+ const handleContextMenu$8 = event => {
4129
4128
  preventDefault(event);
4130
4129
  const {
4131
4130
  button,
@@ -4139,7 +4138,7 @@ const returnValue$8 = true;
4139
4138
  const ViewletActivityBarEvents = {
4140
4139
  __proto__: null,
4141
4140
  handleBlur: handleBlur$9,
4142
- handleContextMenu: handleContextMenu$9,
4141
+ handleContextMenu: handleContextMenu$8,
4143
4142
  handleFocus: handleFocus$9,
4144
4143
  handleMouseDown: handleMouseDown$3,
4145
4144
  returnValue: returnValue$8
@@ -4201,7 +4200,7 @@ forwardViewletCommand('handleClickOpenFolder');
4201
4200
  forwardViewletCommand('handleClickRestore');
4202
4201
  const handleClickTab$2 = forwardViewletCommand('handleClickTab');
4203
4202
  forwardViewletCommand('handleClickToggleMaximize');
4204
- const handleContextMenu$8 = forwardViewletCommand('handleContextMenu');
4203
+ const handleContextMenu$7 = forwardViewletCommand('handleContextMenu');
4205
4204
  forwardViewletCommand('handleDoubleClick');
4206
4205
  const handleDragEnd$1 = forwardViewletCommand('handleDragEnd');
4207
4206
  const handleDragLeave$1 = forwardViewletCommand('handleDragLeave');
@@ -4302,7 +4301,7 @@ const ViewletAudio = {
4302
4301
  Events: Events$4
4303
4302
  };
4304
4303
 
4305
- const create$w = () => {
4304
+ const create$v = () => {
4306
4305
  const $Viewlet = document.createElement('div');
4307
4306
  $Viewlet.className = 'Viewlet Clock';
4308
4307
  return {
@@ -4319,7 +4318,7 @@ const setTime = (state, time) => {
4319
4318
 
4320
4319
  const ViewletClock = {
4321
4320
  __proto__: null,
4322
- create: create$w,
4321
+ create: create$v,
4323
4322
  dispose: dispose$g,
4324
4323
  refresh: refresh$4,
4325
4324
  setTime
@@ -4348,7 +4347,7 @@ const stopTracking$1 = ($Target, pointerId, handlePointerMove, handlePointerUp)
4348
4347
  // TODO use pointerlost event instead
4349
4348
  $Target.removeEventListener(PointerUp, handlePointerUp);
4350
4349
  };
4351
- const create$v = (pointerDown, pointerMove, pointerUp) => {
4350
+ const create$u = (pointerDown, pointerMove, pointerUp) => {
4352
4351
  const shared = (fn, event) => {
4353
4352
  const message = fn(event);
4354
4353
  if (!message || message.length === 0) {
@@ -4381,7 +4380,7 @@ const create$v = (pointerDown, pointerMove, pointerUp) => {
4381
4380
  };
4382
4381
 
4383
4382
  const handleOffset = 20;
4384
- const handleSliderPointerDown = create$v(event => {
4383
+ const handleSliderPointerDown = create$u(event => {
4385
4384
  const {
4386
4385
  clientX,
4387
4386
  clientY
@@ -4463,7 +4462,7 @@ const ViewletDebugConsoleEvents = {
4463
4462
  handleInput: handleInput$5
4464
4463
  };
4465
4464
 
4466
- const create$u = () => {
4465
+ const create$t = () => {
4467
4466
  const $Viewlet = document.createElement('div');
4468
4467
  $Viewlet.className = 'Viewlet DebugConsole';
4469
4468
  return {
@@ -4479,7 +4478,7 @@ const setDom$9 = (state, dom) => {
4479
4478
 
4480
4479
  const ViewletDebugConsole = {
4481
4480
  __proto__: null,
4482
- create: create$u,
4481
+ create: create$t,
4483
4482
  setDom: setDom$9
4484
4483
  };
4485
4484
 
@@ -4540,7 +4539,7 @@ const setMaskImage = ($Element, icon) => {
4540
4539
  }
4541
4540
  };
4542
4541
 
4543
- const create$t = icon => {
4542
+ const create$s = icon => {
4544
4543
  const $Icon = document.createElement('div');
4545
4544
  $Icon.className = 'MaskIcon';
4546
4545
  setMaskImage($Icon, icon);
@@ -4550,7 +4549,7 @@ const create$t = icon => {
4550
4549
 
4551
4550
  const create$Button = (label, icon) => {
4552
4551
  // TODO icon div might not be needed (unnecessary html element)
4553
- const $Icon = create$t(icon);
4552
+ const $Icon = create$s(icon);
4554
4553
  const $Button = document.createElement('button');
4555
4554
  $Button.className = 'IconButton';
4556
4555
  $Button.title = label;
@@ -4571,7 +4570,7 @@ const handleClick$4 = event => {
4571
4570
  handleClick$5(index);
4572
4571
  };
4573
4572
 
4574
- const create$s = () => {
4573
+ const create$r = () => {
4575
4574
  const $DialogTitle = document.createElement('h2');
4576
4575
  $DialogTitle.id = 'DialogTitle';
4577
4576
  const $DialogCloseButton = create$Button('Close', 'Close');
@@ -4652,7 +4651,7 @@ const setErrorStack = (state, errorStack) => {
4652
4651
 
4653
4652
  const ViewletDialog = {
4654
4653
  __proto__: null,
4655
- create: create$s,
4654
+ create: create$r,
4656
4655
  postAppend,
4657
4656
  setButtons,
4658
4657
  setCodeFrame,
@@ -4706,7 +4705,7 @@ const handleClickAt$2 = event => {
4706
4705
  const handleLoad$3 = event => {
4707
4706
  return ['handleLoad'];
4708
4707
  };
4709
- const handleContextMenu$7 = event => {
4708
+ const handleContextMenu$6 = event => {
4710
4709
  preventDefault(event);
4711
4710
  const {
4712
4711
  button,
@@ -4715,7 +4714,7 @@ const handleContextMenu$7 = event => {
4715
4714
  } = event;
4716
4715
  return ['handleContextMenu', button, clientX, clientY];
4717
4716
  };
4718
- const handleSashCornerPointerDown = create$v(event => {
4717
+ const handleSashCornerPointerDown = create$u(event => {
4719
4718
  const {
4720
4719
  clientX,
4721
4720
  clientY
@@ -4739,7 +4738,7 @@ const returnValue$6 = true;
4739
4738
  const ViewletE2eTestEvents = {
4740
4739
  __proto__: null,
4741
4740
  handleClickAt: handleClickAt$2,
4742
- handleContextMenu: handleContextMenu$7,
4741
+ handleContextMenu: handleContextMenu$6,
4743
4742
  handleLoad: handleLoad$3,
4744
4743
  handleSashCornerPointerDown,
4745
4744
  returnValue: returnValue$6
@@ -4803,7 +4802,7 @@ const handleClickAt$1 = event => {
4803
4802
  const handleLoad$2 = event => {
4804
4803
  return ['handleLoad'];
4805
4804
  };
4806
- const handleContextMenu$6 = event => {
4805
+ const handleContextMenu$5 = event => {
4807
4806
  preventDefault(event);
4808
4807
  const {
4809
4808
  button,
@@ -4817,7 +4816,7 @@ const returnValue$5 = true;
4817
4816
  const ViewletE2eTestsEvents = {
4818
4817
  __proto__: null,
4819
4818
  handleClickAt: handleClickAt$1,
4820
- handleContextMenu: handleContextMenu$6,
4819
+ handleContextMenu: handleContextMenu$5,
4821
4820
  handleLoad: handleLoad$2,
4822
4821
  returnValue: returnValue$5
4823
4822
  };
@@ -4945,7 +4944,7 @@ const ViewletEditorCodeGenerator = {
4945
4944
  setBounds: setBounds$9
4946
4945
  };
4947
4946
 
4948
- const attachEvents$9 = ($Node, eventMap) => {
4947
+ const attachEvents$8 = ($Node, eventMap) => {
4949
4948
  for (const [key, value] of Object.entries(eventMap)) {
4950
4949
  $Node.addEventListener(key, value);
4951
4950
  }
@@ -5064,7 +5063,7 @@ const setNegativeMargin = (state, negativeMargin) => {
5064
5063
  setTop($ListItems, negativeMargin);
5065
5064
  };
5066
5065
 
5067
- const create$r = () => {
5066
+ const create$q = () => {
5068
5067
  const $ListItems = document.createElement('div');
5069
5068
  $ListItems.className = 'ListItems';
5070
5069
  $ListItems.role = ListBox;
@@ -5088,17 +5087,17 @@ const create$r = () => {
5088
5087
  $ScrollBarThumb
5089
5088
  };
5090
5089
  };
5091
- const attachEvents$8 = state => {
5090
+ const attachEvents$7 = state => {
5092
5091
  const {
5093
5092
  $Viewlet,
5094
5093
  $ListItems,
5095
5094
  $ScrollBar
5096
5095
  } = state;
5097
5096
  $Viewlet.addEventListener(Wheel, handleWheel$2, Passive);
5098
- attachEvents$9($ListItems, {
5097
+ attachEvents$8($ListItems, {
5099
5098
  [MouseDown]: handleMousedown
5100
5099
  });
5101
- attachEvents$9($ScrollBar, {
5100
+ attachEvents$8($ScrollBar, {
5102
5101
  [PointerDown]: handleScrollBarPointerDown$1
5103
5102
  });
5104
5103
  };
@@ -5147,8 +5146,8 @@ const setBounds$8 = (state, x, y, width, height) => {
5147
5146
 
5148
5147
  const ViewletEditorCompletion = {
5149
5148
  __proto__: null,
5150
- attachEvents: attachEvents$8,
5151
- create: create$r,
5149
+ attachEvents: attachEvents$7,
5150
+ create: create$q,
5152
5151
  dispose: dispose$e,
5153
5152
  handleError: handleError$6,
5154
5153
  setBounds: setBounds$8,
@@ -5171,7 +5170,7 @@ const ViewletEditorCompletionDetailsEvents = {
5171
5170
  returnValue: returnValue$4
5172
5171
  };
5173
5172
 
5174
- const create$q = () => {
5173
+ const create$p = () => {
5175
5174
  const $Viewlet = document.createElement('div');
5176
5175
  $Viewlet.className = 'Viewlet EditorCompletionDetails';
5177
5176
  $Viewlet.id = 'CompletionsDetails';
@@ -5179,7 +5178,7 @@ const create$q = () => {
5179
5178
  $Viewlet
5180
5179
  };
5181
5180
  };
5182
- const attachEvents$7 = state => {
5181
+ const attachEvents$6 = state => {
5183
5182
  // TODO
5184
5183
  };
5185
5184
  const setDom$7 = (state, dom) => {
@@ -5211,8 +5210,8 @@ const ViewletEditorCompletionDetails = {
5211
5210
  __proto__: null,
5212
5211
  Events: ViewletEditorCompletionDetailsEvents,
5213
5212
  appendWidget: appendWidget$4,
5214
- attachEvents: attachEvents$7,
5215
- create: create$q,
5213
+ attachEvents: attachEvents$6,
5214
+ create: create$p,
5216
5215
  dispose: dispose$d,
5217
5216
  setBounds: setBounds$7,
5218
5217
  setDom: setDom$7
@@ -5231,7 +5230,7 @@ const ViewletEditorCompletionDetails = {
5231
5230
 
5232
5231
  // TODO aria alert
5233
5232
 
5234
- const create$p = () => {
5233
+ const create$o = () => {
5235
5234
  const $Viewlet = document.createElement('div');
5236
5235
  $Viewlet.className = 'Viewlet EditorError';
5237
5236
  return {
@@ -5253,13 +5252,13 @@ const setBounds$6 = (state, x, y, width, height) => {
5253
5252
 
5254
5253
  const ViewletEditorError = {
5255
5254
  __proto__: null,
5256
- create: create$p,
5255
+ create: create$o,
5257
5256
  setBounds: setBounds$6,
5258
5257
  setDom: setDom$6
5259
5258
  };
5260
5259
 
5261
5260
  const returnValue$3 = true;
5262
- const handleSashPointerDown$2 = create$v(event => {
5261
+ const handleSashPointerDown$2 = create$u(event => {
5263
5262
  const {
5264
5263
  clientX,
5265
5264
  clientY
@@ -5393,7 +5392,7 @@ const handleWheel$1 = event => {
5393
5392
  *
5394
5393
  * @param {MouseEvent} event
5395
5394
  */
5396
- const handleContextMenu$5 = event => {
5395
+ const handleContextMenu$4 = event => {
5397
5396
  preventDefault(event);
5398
5397
  const {
5399
5398
  button,
@@ -5401,7 +5400,7 @@ const handleContextMenu$5 = event => {
5401
5400
  clientY
5402
5401
  } = event;
5403
5402
  const uid = fromEvent(event);
5404
- handleContextMenu$8(uid, button, clientX, clientY);
5403
+ handleContextMenu$7(uid, button, clientX, clientY);
5405
5404
  };
5406
5405
  const handleError$5 = event => {
5407
5406
  const uid = fromEvent(event);
@@ -5412,21 +5411,21 @@ const handleFocus$6 = event => {
5412
5411
  handleFocus$8(uid);
5413
5412
  };
5414
5413
 
5415
- const create$o = () => {
5414
+ const create$n = () => {
5416
5415
  const $Viewlet = document.createElement('div');
5417
5416
  $Viewlet.className = 'Viewlet EditorImage';
5418
5417
  return {
5419
5418
  $Viewlet
5420
5419
  };
5421
5420
  };
5422
- const attachEvents$6 = state => {
5421
+ const attachEvents$5 = state => {
5423
5422
  const {
5424
5423
  $Viewlet
5425
5424
  } = state;
5426
- attachEvents$9($Viewlet, {
5425
+ attachEvents$8($Viewlet, {
5427
5426
  [PointerDown]: handlePointerDown$1,
5428
5427
  [PointerUp]: handlePointerUp,
5429
- [ContextMenu]: handleContextMenu$5,
5428
+ [ContextMenu]: handleContextMenu$4,
5430
5429
  [FocusIn]: handleFocus$6
5431
5430
  });
5432
5431
  $Viewlet.addEventListener(Error$2, handleError$5, Capture);
@@ -5454,14 +5453,14 @@ const setDom$4 = (state, dom) => {
5454
5453
 
5455
5454
  const ViewletEditorImage = {
5456
5455
  __proto__: null,
5457
- attachEvents: attachEvents$6,
5458
- create: create$o,
5456
+ attachEvents: attachEvents$5,
5457
+ create: create$n,
5459
5458
  setDom: setDom$4,
5460
5459
  setDragging,
5461
5460
  setTransform
5462
5461
  };
5463
5462
 
5464
- const create$n = () => {
5463
+ const create$m = () => {
5465
5464
  const $Viewlet = document.createElement('div');
5466
5465
  $Viewlet.className = 'Viewlet EditorText';
5467
5466
  $Viewlet.textContent = 'loading...';
@@ -5478,7 +5477,7 @@ const refresh$3 = (state, context) => {
5478
5477
 
5479
5478
  const ViewletEditorPlainText = {
5480
5479
  __proto__: null,
5481
- create: create$n,
5480
+ create: create$m,
5482
5481
  dispose: dispose$c,
5483
5482
  refresh: refresh$3
5484
5483
  };
@@ -5749,7 +5748,7 @@ const handlePaste = event => {
5749
5748
  const text = getText(clipboardData);
5750
5749
  return ['paste', text];
5751
5750
  };
5752
- const handleScrollBarVerticalPointerDown = create$v(event => {
5751
+ const handleScrollBarVerticalPointerDown = create$u(event => {
5753
5752
  const {
5754
5753
  clientY
5755
5754
  } = event;
@@ -5804,7 +5803,7 @@ const handleScrollBarContextMenu = event => {
5804
5803
  preventDefault(event);
5805
5804
  stopPropagation(event);
5806
5805
  };
5807
- const handleContextMenu$4 = event => {
5806
+ const handleContextMenu$3 = event => {
5808
5807
  preventDefault(event);
5809
5808
  const {
5810
5809
  button,
@@ -5872,7 +5871,7 @@ const setLineInfos = (state, dom) => {
5872
5871
  // 1. create -> only create dom elements
5873
5872
  // 2. render -> fill elements with attributes and data
5874
5873
  // that way all dom nodes can be recycled
5875
- const create$m = () => {
5874
+ const create$l = () => {
5876
5875
  const $EditorInput = document.createElement('textarea');
5877
5876
  $EditorInput.className = 'EditorInput';
5878
5877
  $EditorInput.ariaAutoComplete = List;
@@ -5960,7 +5959,7 @@ const create$m = () => {
5960
5959
  $Editor.role = Code;
5961
5960
  $Editor.append($LayerGutter, $EditorContent);
5962
5961
  attachEventsFunctional($Editor, {
5963
- [ContextMenu]: handleContextMenu$4,
5962
+ [ContextMenu]: handleContextMenu$3,
5964
5963
  [Wheel]: handleWheel,
5965
5964
  returnValue: true
5966
5965
  });
@@ -6039,7 +6038,7 @@ const setDecorationsDom$1 = (state, decorations) => {
6039
6038
  setDecorationsDom$2(state, decorations);
6040
6039
  };
6041
6040
 
6042
- const create$l = create$m;
6041
+ const create$k = create$l;
6043
6042
  const setText$1 = setText$2;
6044
6043
  const setSelections = setSelections$1;
6045
6044
  const setIncrementalEdits = setIncrementalEdits$1;
@@ -6081,7 +6080,7 @@ const setDecorationsDom = setDecorationsDom$1;
6081
6080
 
6082
6081
  const ViewletEditorText = {
6083
6082
  __proto__: null,
6084
- create: create$l,
6083
+ create: create$k,
6085
6084
  focus: focus$c,
6086
6085
  handleError: handleError$4,
6087
6086
  hideOverlayMessage,
@@ -6097,7 +6096,7 @@ const ViewletEditorText = {
6097
6096
  showOverlayMessage
6098
6097
  };
6099
6098
 
6100
- const create$k = () => {
6099
+ const create$j = () => {
6101
6100
  const $Viewlet = document.createElement('div');
6102
6101
  $Viewlet.className = 'Viewlet EditorTextError';
6103
6102
  return {
@@ -6113,11 +6112,11 @@ const setMessage$3 = (state, message) => {
6113
6112
 
6114
6113
  const ViewletEditorTextError = {
6115
6114
  __proto__: null,
6116
- create: create$k,
6115
+ create: create$j,
6117
6116
  setMessage: setMessage$3
6118
6117
  };
6119
6118
 
6120
- const create$j = () => {
6119
+ const create$i = () => {
6121
6120
  const $Viewlet = document.createElement('div');
6122
6121
  $Viewlet.className = 'Viewlet EditorWidgetError EditorOverlayMessage';
6123
6122
  return {
@@ -6140,12 +6139,12 @@ const setBounds$3 = (state, x, y, width, height) => {
6140
6139
 
6141
6140
  const ViewletEditorWidgetError = {
6142
6141
  __proto__: null,
6143
- create: create$j,
6142
+ create: create$i,
6144
6143
  setBounds: setBounds$3,
6145
6144
  setMessage: setMessage$2
6146
6145
  };
6147
6146
 
6148
- const create$i = () => {
6147
+ const create$h = () => {
6149
6148
  const $Viewlet = document.createElement('div');
6150
6149
  $Viewlet.dataset.viewlet = 'Empty';
6151
6150
  $Viewlet.className = 'Viewlet';
@@ -6159,13 +6158,13 @@ const dispose$a = state => {};
6159
6158
 
6160
6159
  const ViewletEmpty = {
6161
6160
  __proto__: null,
6162
- create: create$i,
6161
+ create: create$h,
6163
6162
  dispose: dispose$a,
6164
6163
  focus: focus$b,
6165
6164
  refresh: refresh$2
6166
6165
  };
6167
6166
 
6168
- const create$h = () => {
6167
+ const create$g = () => {
6169
6168
  const $Viewlet = document.createElement('div');
6170
6169
  $Viewlet.className = 'Viewlet EmptyEditor';
6171
6170
  return {
@@ -6175,10 +6174,10 @@ const create$h = () => {
6175
6174
 
6176
6175
  const ViewletEmptyEditor = {
6177
6176
  __proto__: null,
6178
- create: create$h
6177
+ create: create$g
6179
6178
  };
6180
6179
 
6181
- const create$g = () => {
6180
+ const create$f = () => {
6182
6181
  const $Viewlet = document.createElement('div');
6183
6182
  $Viewlet.className = 'Viewlet Error';
6184
6183
  return {
@@ -6194,7 +6193,7 @@ const setMessage$1 = (state, message) => {
6194
6193
 
6195
6194
  const ViewletError = {
6196
6195
  __proto__: null,
6197
- create: create$g,
6196
+ create: create$f,
6198
6197
  setMessage: setMessage$1
6199
6198
  };
6200
6199
 
@@ -6287,7 +6286,7 @@ const ViewletFindWidgetEvents = {
6287
6286
  returnValue: returnValue$2
6288
6287
  };
6289
6288
 
6290
- const create$f = () => {
6289
+ const create$e = () => {
6291
6290
  const $Viewlet = document.createElement('div');
6292
6291
  $Viewlet.className = 'Viewlet FindWidget';
6293
6292
  $Viewlet.role = Group;
@@ -6350,7 +6349,7 @@ const ViewletFindWidget = {
6350
6349
  __proto__: null,
6351
6350
  Events: Events$3,
6352
6351
  appendWidget: appendWidget$1,
6353
- create: create$f,
6352
+ create: create$e,
6354
6353
  dispose: dispose$9,
6355
6354
  focus: focus$a,
6356
6355
  setBounds: setBounds$2,
@@ -7011,7 +7010,7 @@ const handleBlur$3 = () => {
7011
7010
  const handleKeyDown$1 = handleKeyDown$2;
7012
7011
  const handleKeyUp = handleKeyUp$1;
7013
7012
 
7014
- const create$e = () => {
7013
+ const create$d = () => {
7015
7014
  // TODO use aria role splitter once supported https://github.com/w3c/aria/issues/1348
7016
7015
  const $SashSideBar = document.createElement('div');
7017
7016
  $SashSideBar.className = 'Viewlet Sash SashVertical';
@@ -7032,20 +7031,20 @@ const create$e = () => {
7032
7031
  $SashPanel
7033
7032
  };
7034
7033
  };
7035
- const attachEvents$5 = state => {
7034
+ const attachEvents$4 = state => {
7036
7035
  const {
7037
7036
  $SashSideBar,
7038
7037
  $SashPanel
7039
7038
  } = state;
7040
- attachEvents$9($SashSideBar, {
7039
+ attachEvents$8($SashSideBar, {
7041
7040
  [PointerDown]: handleSashPointerDown,
7042
7041
  [DoubleClick]: handleSashDoubleClick
7043
7042
  });
7044
- attachEvents$9($SashPanel, {
7043
+ attachEvents$8($SashPanel, {
7045
7044
  [PointerDown]: handleSashPointerDown,
7046
7045
  [DoubleClick]: handleSashDoubleClick
7047
7046
  });
7048
- attachEvents$9(window, {
7047
+ attachEvents$8(window, {
7049
7048
  [Resize]: handleResize,
7050
7049
  [Focus]: handleFocus$2,
7051
7050
  [Blur]: handleBlur$3,
@@ -7066,8 +7065,8 @@ const setSashes = (state, sashSideBar, sashPanel) => {
7066
7065
 
7067
7066
  const ViewletLayout = {
7068
7067
  __proto__: null,
7069
- attachEvents: attachEvents$5,
7070
- create: create$e,
7068
+ attachEvents: attachEvents$4,
7069
+ create: create$d,
7071
7070
  setSashes
7072
7071
  };
7073
7072
 
@@ -7148,7 +7147,7 @@ const handleDrop$1 = event => {
7148
7147
  }
7149
7148
  };
7150
7149
 
7151
- const handleContextMenu$3 = event => {
7150
+ const handleContextMenu$2 = event => {
7152
7151
  if (event.defaultPrevented) {
7153
7152
  return;
7154
7153
  }
@@ -7158,11 +7157,11 @@ const handleContextMenu$3 = event => {
7158
7157
  clientY
7159
7158
  } = event;
7160
7159
  const uid = fromEvent(event);
7161
- handleContextMenu$8(uid, clientX, clientY);
7160
+ handleContextMenu$7(uid, clientX, clientY);
7162
7161
  };
7163
7162
 
7164
7163
  // TODO Main should not be bound to Editor -> Lazy load Editor
7165
- const create$d = () => {
7164
+ const create$c = () => {
7166
7165
  const $Viewlet = document.createElement('div');
7167
7166
  $Viewlet.id = 'Main';
7168
7167
  $Viewlet.className = 'Viewlet Main';
@@ -7183,16 +7182,16 @@ const create$d = () => {
7183
7182
  $DragOverlay: undefined
7184
7183
  };
7185
7184
  };
7186
- const attachEvents$4 = state => {
7185
+ const attachEvents$3 = state => {
7187
7186
  const {
7188
7187
  $Viewlet
7189
7188
  } = state;
7190
- attachEvents$9($Viewlet, {
7189
+ attachEvents$8($Viewlet, {
7191
7190
  [Drop]: handleDrop$1,
7192
7191
  [DragOver]: handleDragOver$1,
7193
7192
  [DragEnd]: handleDragEnd,
7194
7193
  [DragLeave]: handleDragLeave,
7195
- [ContextMenu]: handleContextMenu$3
7194
+ [ContextMenu]: handleContextMenu$2
7196
7195
  });
7197
7196
  };
7198
7197
  const dispose$8 = state => {};
@@ -7259,10 +7258,10 @@ const setDragOverlay = (state, visible, x, y, width, height) => {
7259
7258
  const ViewletMain = {
7260
7259
  __proto__: null,
7261
7260
  addEditor,
7262
- attachEvents: attachEvents$4,
7261
+ attachEvents: attachEvents$3,
7263
7262
  closeAllViewlets,
7264
7263
  closeViewletAndTab,
7265
- create: create$d,
7264
+ create: create$c,
7266
7265
  dispose: dispose$8,
7267
7266
  focus: focus$8,
7268
7267
  highlightDragOver,
@@ -7339,7 +7338,7 @@ const handleTabsContextMenu = event => {
7339
7338
  handleTabContextMenu(uid, clientX, clientY);
7340
7339
  };
7341
7340
 
7342
- const create$c = () => {
7341
+ const create$b = () => {
7343
7342
  const $MainTabs = document.createElement('div');
7344
7343
  $MainTabs.className = 'Viewlet MainTabs';
7345
7344
  $MainTabs.role = TabList;
@@ -7349,11 +7348,11 @@ const create$c = () => {
7349
7348
  $MainTabs
7350
7349
  };
7351
7350
  };
7352
- const attachEvents$3 = state => {
7351
+ const attachEvents$2 = state => {
7353
7352
  const {
7354
7353
  $MainTabs
7355
7354
  } = state;
7356
- attachEvents$9($MainTabs, {
7355
+ attachEvents$8($MainTabs, {
7357
7356
  [ContextMenu]: handleTabsContextMenu,
7358
7357
  [DragOver]: handleDragOver,
7359
7358
  [DragStart]: handleDragStart,
@@ -7387,8 +7386,8 @@ const setHighlight = (state, highlightLeft) => {
7387
7386
 
7388
7387
  const ViewletMainTabs = {
7389
7388
  __proto__: null,
7390
- attachEvents: attachEvents$3,
7391
- create: create$c,
7389
+ attachEvents: attachEvents$2,
7390
+ create: create$b,
7392
7391
  setHighlight,
7393
7392
  setScrollLeft,
7394
7393
  setTabsDom: setTabsDom$2
@@ -7447,7 +7446,7 @@ const EditorTextError = 'EditorTextError';
7447
7446
  const EditorRename = 'EditorRename';
7448
7447
  const EditorCodeGenerator = 'EditorCodeGenerator';
7449
7448
 
7450
- const create$b = () => {
7449
+ const create$a = () => {
7451
7450
  const $ViewletOutputContent = document.createElement('div');
7452
7451
  $ViewletOutputContent.className = 'OutputContent';
7453
7452
  $ViewletOutputContent.role = Log;
@@ -7499,7 +7498,7 @@ const dispose$7 = state => {};
7499
7498
  const ViewletOutput = {
7500
7499
  __proto__: null,
7501
7500
  clear: clear$1,
7502
- create: create$b,
7501
+ create: create$a,
7503
7502
  dispose: dispose$7,
7504
7503
  disposeFindWidget,
7505
7504
  focus: focus$7,
@@ -7560,7 +7559,7 @@ const UiStrings = {
7560
7559
  Close: 'Close',
7561
7560
  Maximize: 'Maximize'
7562
7561
  };
7563
- const create$a = () => {
7562
+ const create$9 = () => {
7564
7563
  const $PanelTabs = document.createElement('div');
7565
7564
  $PanelTabs.className = 'PanelTabs';
7566
7565
  $PanelTabs.role = TabList;
@@ -7598,19 +7597,19 @@ const create$a = () => {
7598
7597
  };
7599
7598
  // await openViewlet('Terminal')
7600
7599
  };
7601
- const attachEvents$2 = state => {
7600
+ const attachEvents$1 = state => {
7602
7601
  const {
7603
7602
  $ButtonMaximize,
7604
7603
  $ButtonClose,
7605
7604
  $PanelHeader
7606
7605
  } = state;
7607
- attachEvents$9($PanelHeader, {
7606
+ attachEvents$8($PanelHeader, {
7608
7607
  [Click]: handleHeaderClick$1
7609
7608
  });
7610
- attachEvents$9($ButtonMaximize, {
7609
+ attachEvents$8($ButtonMaximize, {
7611
7610
  [Click]: handleClickMaximize
7612
7611
  });
7613
- attachEvents$9($ButtonClose, {
7612
+ attachEvents$8($ButtonClose, {
7614
7613
  [Click]: handleClickClose
7615
7614
  });
7616
7615
  };
@@ -7674,8 +7673,8 @@ const setActionsDom$1 = (state, actions, childUid) => {
7674
7673
 
7675
7674
  const ViewletPanel = {
7676
7675
  __proto__: null,
7677
- attachEvents: attachEvents$2,
7678
- create: create$a,
7676
+ attachEvents: attachEvents$1,
7677
+ create: create$9,
7679
7678
  dispose: dispose$6,
7680
7679
  focus: focus$6,
7681
7680
  setActionsDom: setActionsDom$1,
@@ -7703,7 +7702,7 @@ const handleLoadedMetaData = event => {
7703
7702
  target.play();
7704
7703
  };
7705
7704
 
7706
- const create$9 = () => {
7705
+ const create$8 = () => {
7707
7706
  const $Viewlet = document.createElement('div');
7708
7707
  $Viewlet.className = 'Viewlet ScreenCapture';
7709
7708
  return {
@@ -7723,7 +7722,7 @@ const setScreenCapture = (state, id) => {
7723
7722
 
7724
7723
  const ViewletScreenCapture = {
7725
7724
  __proto__: null,
7726
- create: create$9,
7725
+ create: create$8,
7727
7726
  setScreenCapture
7728
7727
  };
7729
7728
 
@@ -7743,7 +7742,7 @@ const handleHeaderClick = event => {
7743
7742
  }
7744
7743
  };
7745
7744
 
7746
- const create$8 = () => {
7745
+ const create$7 = () => {
7747
7746
  const $SideBarTitleAreaTitle = document.createElement('h2');
7748
7747
  $SideBarTitleAreaTitle.className = 'SideBarTitleAreaTitle';
7749
7748
  const $SideBarTitleArea = document.createElement('div');
@@ -7764,11 +7763,11 @@ const create$8 = () => {
7764
7763
  $Actions: undefined
7765
7764
  };
7766
7765
  };
7767
- const attachEvents$1 = state => {
7766
+ const attachEvents = state => {
7768
7767
  const {
7769
7768
  $SideBarTitleArea
7770
7769
  } = state;
7771
- attachEvents$9($SideBarTitleArea, {
7770
+ attachEvents$8($SideBarTitleArea, {
7772
7771
  [Click]: handleHeaderClick
7773
7772
  });
7774
7773
  };
@@ -7806,8 +7805,8 @@ const focus$5 = async () => {
7806
7805
 
7807
7806
  const ViewletSideBar = {
7808
7807
  __proto__: null,
7809
- attachEvents: attachEvents$1,
7810
- create: create$8,
7808
+ attachEvents,
7809
+ create: create$7,
7811
7810
  dispose: dispose$5,
7812
7811
  focus: focus$5,
7813
7812
  setActionsDom,
@@ -7895,7 +7894,7 @@ const ViewletSimpleBrowser = {
7895
7894
  Events: ViewletSimpleBrowserEvents
7896
7895
  };
7897
7896
 
7898
- const handleContextMenu$2 = event => {
7897
+ const handleContextMenu$1 = event => {
7899
7898
  preventDefault(event);
7900
7899
  const {
7901
7900
  button,
@@ -7903,7 +7902,7 @@ const handleContextMenu$2 = event => {
7903
7902
  clientY
7904
7903
  } = event;
7905
7904
  const uid = fromEvent(event);
7906
- handleContextMenu$8(uid, button, clientX, clientY);
7905
+ handleContextMenu$7(uid, button, clientX, clientY);
7907
7906
  };
7908
7907
 
7909
7908
  const handleFocus = event => {
@@ -7984,7 +7983,7 @@ const handleInput$1 = event => {
7984
7983
  const ViewletSourceControlEvents = {
7985
7984
  __proto__: null,
7986
7985
  handleClick: handleClick$3,
7987
- handleContextMenu: handleContextMenu$2,
7986
+ handleContextMenu: handleContextMenu$1,
7988
7987
  handleFocus,
7989
7988
  handleInput: handleInput$1,
7990
7989
  handleMouseOut,
@@ -8019,7 +8018,7 @@ const ViewletStatusBarEvents = {
8019
8018
  handleClick: handleClick$2
8020
8019
  };
8021
8020
 
8022
- const create$7 = () => {
8021
+ const create$6 = () => {
8023
8022
  const $Viewlet = document.createElement('div');
8024
8023
  $Viewlet.id = 'StatusBar';
8025
8024
  $Viewlet.className = 'Viewlet StatusBar';
@@ -8048,7 +8047,7 @@ const focus$3 = state => {
8048
8047
 
8049
8048
  const ViewletStatusBar = {
8050
8049
  __proto__: null,
8051
- create: create$7,
8050
+ create: create$6,
8052
8051
  focus: focus$3,
8053
8052
  setDom: setDom$2
8054
8053
  };
@@ -8079,7 +8078,7 @@ const handleClickTab = event => {
8079
8078
  handleClickTab$2(uid, index);
8080
8079
  };
8081
8080
 
8082
- const create$6 = () => {
8081
+ const create$5 = () => {
8083
8082
  const $Viewlet = document.createElement('div');
8084
8083
  $Viewlet.className = 'Viewlet Terminals';
8085
8084
  return {
@@ -8106,20 +8105,10 @@ const setTabsDom = (state, dom) => {
8106
8105
 
8107
8106
  const ViewletTerminals = {
8108
8107
  __proto__: null,
8109
- create: create$6,
8108
+ create: create$5,
8110
8109
  setTabsDom
8111
8110
  };
8112
8111
 
8113
- const handleContextMenu$1 = event => {
8114
- preventDefault(event);
8115
- const {
8116
- button,
8117
- clientX,
8118
- clientY
8119
- } = event;
8120
- return ['handleContextMenu', button, clientX, clientY];
8121
- };
8122
-
8123
8112
  const isInsideTitleBarMenu = $Element => {
8124
8113
  return $Element.classList.contains('MenuItem') || $Element.classList.contains('Menu') || $Element.classList.contains('TitleBarTopLevelEntry') || $Element.classList.contains('TitleBarMenuBar');
8125
8114
  };
@@ -8461,27 +8450,6 @@ const ViewletTitleBarMenuBar = {
8461
8450
  setMenus
8462
8451
  };
8463
8452
 
8464
- const create$5 = () => {
8465
- // TODO set aria label for title bar menu
8466
- // TODO add tests for aria properties
8467
- const $Viewlet = document.createElement('div');
8468
- $Viewlet.id = 'TitleBar';
8469
- $Viewlet.className = 'Viewlet TitleBar';
8470
- $Viewlet.ariaLabel = 'Title Bar';
8471
- $Viewlet.role = ContentInfo;
8472
- return {
8473
- $TitleBar: $Viewlet,
8474
- $Viewlet
8475
- };
8476
- };
8477
- const attachEvents = state => {
8478
- const {
8479
- $Viewlet
8480
- } = state;
8481
- attachEvents$9($Viewlet, {
8482
- [ContextMenu]: handleContextMenu$1
8483
- });
8484
- };
8485
8453
  const activeClassName = 'TitleBarActive';
8486
8454
  const setFocused = (state, isFocused) => {
8487
8455
  const {
@@ -8493,9 +8461,7 @@ const setFocused = (state, isFocused) => {
8493
8461
  const ViewletTitleBar = {
8494
8462
  __proto__: null,
8495
8463
  Events: ViewletTitleBarMenuBarEvents,
8496
- attachEvents,
8497
8464
  closeMenu,
8498
- create: create$5,
8499
8465
  dispose: dispose$4,
8500
8466
  focus: focus$2,
8501
8467
  openMenu,
@@ -9642,7 +9608,7 @@ const commandMap = {
9642
9608
  'GetFilePathElectron.getFilePathElectron': getFilePathElectron,
9643
9609
  'HandleMessagePort.handleMessagePort': handleMessagePort,
9644
9610
  'InitData.getInitData': getInitData,
9645
- 'IpcParent.create': create$A,
9611
+ 'IpcParent.create': create$z,
9646
9612
  'KeyBindings.setIdentifiers': setIdentifiers,
9647
9613
  'Layout.getBounds': getBounds,
9648
9614
  'Location.getHref': getHref,
@@ -9657,10 +9623,10 @@ const commandMap = {
9657
9623
  'Menu.showControlled': showControlled,
9658
9624
  'Menu.showMenu': showMenu,
9659
9625
  'Meta.setThemeColor': setThemeColor,
9660
- 'Notification.create': create$z,
9626
+ 'Notification.create': create$y,
9661
9627
  'Notification.createWithOptions': createWithOptions,
9662
9628
  'Notification.dispose': dispose$i,
9663
- 'OffscreenCanvas.create': create$y,
9629
+ 'OffscreenCanvas.create': create$x,
9664
9630
  'Open.openUrl': openUrl,
9665
9631
  'Performance.getMemory': getMemory,
9666
9632
  'Performance.measureUserAgentSpecificMemory': measureUserAgentSpecificMemory,
@@ -9720,7 +9686,7 @@ const getConfiguredEditorWorkerUrl = () => {
9720
9686
  const editorWorkerUrl = getConfiguredEditorWorkerUrl() || `${assetDir}/packages/renderer-worker/node_modules/@lvce-editor/editor-worker/dist/editorWorkerMain.js`;
9721
9687
 
9722
9688
  const launchEditorWorker = async port => {
9723
- const ipc = await create$A({
9689
+ const ipc = await create$z({
9724
9690
  name: 'Editor Worker',
9725
9691
  url: editorWorkerUrl,
9726
9692
  method: ModuleWorkerWithMessagePort,
@@ -9748,7 +9714,7 @@ const extensionHostWorkerUrl = getConfiguredExtensionHostWorkerUrl() || `${asset
9748
9714
 
9749
9715
  const launchExtensionHostWorker = async port => {
9750
9716
  const name = isElectron ? 'Extension Host (Electron)' : 'Extension Host';
9751
- const ipc = await create$A({
9717
+ const ipc = await create$z({
9752
9718
  name,
9753
9719
  url: extensionHostWorkerUrl,
9754
9720
  method: ModuleWorkerWithMessagePort,
@@ -9776,7 +9742,7 @@ const getConfiguredSyntaxHighlightingWorkerUrl = () => {
9776
9742
  const syntaxHighlightingWorkerUrl = getConfiguredSyntaxHighlightingWorkerUrl() || `${assetDir}/packages/renderer-worker/node_modules/@lvce-editor/syntax-highlighting-worker/dist/syntaxHighlightingWorkerMain.js`;
9777
9743
 
9778
9744
  const launchSyntaxHighlightingWorker = async port => {
9779
- const ipc = await create$A({
9745
+ const ipc = await create$z({
9780
9746
  name: 'Syntax Highlighting Worker',
9781
9747
  url: syntaxHighlightingWorkerUrl,
9782
9748
  method: ModuleWorkerWithMessagePort,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "18.1.0",
3
+ "version": "19.1.0",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"