@lvce-editor/test-worker 11.13.0 → 11.16.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.
package/dist/api.d.ts CHANGED
@@ -406,11 +406,14 @@ interface Main {
406
406
  readonly closeOthers: () => Promise<void>;
407
407
  readonly closeTabsLeft: () => Promise<void>;
408
408
  readonly closeTabsRight: () => Promise<void>;
409
+ readonly copyPath: () => Promise<void>;
410
+ readonly copyRelativePath: () => Promise<void>;
409
411
  readonly focusFirst: () => Promise<void>;
410
412
  readonly focusLast: () => Promise<void>;
411
413
  readonly focusNext: () => Promise<void>;
412
414
  readonly focusPrevious: () => Promise<void>;
413
- readonly handleTabsContextMenu: (x: number, y: number) => Promise<void>;
415
+ readonly handleModifiedStatusChange: (uri: string, newStatus: boolean) => Promise<void>;
416
+ readonly handleTabContextMenu: (button: number, x: number, y: number) => Promise<void>;
414
417
  readonly openKeyBindings: () => Promise<void>;
415
418
  readonly openUri: (uri: string) => Promise<void>;
416
419
  readonly save: () => Promise<void>;
@@ -2317,10 +2317,10 @@ const newFile = async () => {
2317
2317
  const newFolder = async () => {
2318
2318
  await invoke('Explorer.newFolder');
2319
2319
  };
2320
- const copyPath$1 = async () => {
2320
+ const copyPath$2 = async () => {
2321
2321
  await invoke('Explorer.copyPath');
2322
2322
  };
2323
- const copyRelativePath = async () => {
2323
+ const copyRelativePath$1 = async () => {
2324
2324
  await invoke('Explorer.copyRelativePath');
2325
2325
  };
2326
2326
  const handleClick$2 = async index => {
@@ -2378,8 +2378,8 @@ const Explorer = {
2378
2378
  cancelEdit,
2379
2379
  clickCurrent,
2380
2380
  collapseAll: collapseAll$2,
2381
- copyPath: copyPath$1,
2382
- copyRelativePath,
2381
+ copyPath: copyPath$2,
2382
+ copyRelativePath: copyRelativePath$1,
2383
2383
  expandAll,
2384
2384
  expandRecursively,
2385
2385
  focus: focus$1,
@@ -3052,6 +3052,9 @@ const closeAllEditors = async () => {
3052
3052
  const closeTabsLeft = async () => {
3053
3053
  await invoke('Main.closeTabsLeft');
3054
3054
  };
3055
+ const handleModifiedStatusChange = async (uri, newStatus) => {
3056
+ await invoke('Main.handleModifiedStatusChange', uri, newStatus);
3057
+ };
3055
3058
  const closeTabsRight = async () => {
3056
3059
  await invoke('Main.closeTabsRight');
3057
3060
  };
@@ -3079,8 +3082,14 @@ const focusPrevious$3 = async () => {
3079
3082
  const focusLast$2 = async () => {
3080
3083
  await invoke('Main.focusLast');
3081
3084
  };
3082
- const handleTabsContextMenu = async (x, y) => {
3083
- await invoke('Main.handleTabsContextMenu', x, y);
3085
+ const handleTabContextMenu = async (button, x, y) => {
3086
+ await invoke('Main.handleTabContextMenu', button, x, y);
3087
+ };
3088
+ const copyPath$1 = async () => {
3089
+ await invoke('Main.copyPath');
3090
+ };
3091
+ const copyRelativePath = async () => {
3092
+ await invoke('Main.copyRelativePath');
3084
3093
  };
3085
3094
 
3086
3095
  const Main = {
@@ -3090,11 +3099,14 @@ const Main = {
3090
3099
  closeOthers,
3091
3100
  closeTabsLeft,
3092
3101
  closeTabsRight,
3102
+ copyPath: copyPath$1,
3103
+ copyRelativePath,
3093
3104
  focusFirst: focusFirst$3,
3094
3105
  focusLast: focusLast$2,
3095
3106
  focusNext: focusNext$3,
3096
3107
  focusPrevious: focusPrevious$3,
3097
- handleTabsContextMenu,
3108
+ handleModifiedStatusChange,
3109
+ handleTabContextMenu,
3098
3110
  openKeyBindings,
3099
3111
  openUri,
3100
3112
  save,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "11.13.0",
3
+ "version": "11.16.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",