@lvce-editor/test-worker 11.6.0 → 11.8.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 +3 -0
- package/dist/testWorkerMain.js +13 -3
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ interface ActivityBar {
|
|
|
99
99
|
readonly handleClick: (index: number) => Promise<void>;
|
|
100
100
|
readonly handleContextMenu: () => Promise<void>;
|
|
101
101
|
readonly selectCurrent: () => Promise<void>;
|
|
102
|
+
readonly setAccountEnabled: (enabled: boolean) => Promise<void>;
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
interface BaseUrl {
|
|
@@ -316,6 +317,7 @@ interface ExtensionSearch {
|
|
|
316
317
|
readonly copyExtensionId: () => Promise<void>;
|
|
317
318
|
readonly copyExtensionInfo: () => Promise<void>;
|
|
318
319
|
readonly handleClick: (index: number) => Promise<void>;
|
|
320
|
+
readonly handleClickFilter: () => Promise<void>;
|
|
319
321
|
readonly handleContextMenu: (button: number, x: number, y: number) => Promise<void>;
|
|
320
322
|
readonly handleInput: (value: string) => Promise<void>;
|
|
321
323
|
readonly open: () => Promise<void>;
|
|
@@ -575,6 +577,7 @@ interface TitleBarMenuBar {
|
|
|
575
577
|
readonly handleKeyEscape: () => Promise<void>;
|
|
576
578
|
readonly handleKeyHome: () => Promise<void>;
|
|
577
579
|
readonly handleKeySpace: () => Promise<void>;
|
|
580
|
+
readonly setTitleTemplate: (template: string) => Promise<void>;
|
|
578
581
|
readonly toggleIndex: (index: number) => Promise<void>;
|
|
579
582
|
readonly toggleMenu: () => Promise<void>;
|
|
580
583
|
}
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -1674,6 +1674,9 @@ const focus$2 = async () => {
|
|
|
1674
1674
|
const focusFirst$7 = async () => {
|
|
1675
1675
|
await invoke('ActivityBar.focusFirst');
|
|
1676
1676
|
};
|
|
1677
|
+
const setAccountEnabled = async enabled => {
|
|
1678
|
+
await invoke('ActivityBar.setAccountEnabled');
|
|
1679
|
+
};
|
|
1677
1680
|
const focusLast$6 = async () => {
|
|
1678
1681
|
await invoke('ActivityBar.focusLast');
|
|
1679
1682
|
};
|
|
@@ -1702,7 +1705,8 @@ const ActivityBar = {
|
|
|
1702
1705
|
focusPrevious: focusPrevious$7,
|
|
1703
1706
|
handleClick: handleClick$3,
|
|
1704
1707
|
handleContextMenu: handleContextMenu$5,
|
|
1705
|
-
selectCurrent
|
|
1708
|
+
selectCurrent,
|
|
1709
|
+
setAccountEnabled
|
|
1706
1710
|
};
|
|
1707
1711
|
|
|
1708
1712
|
const readNativeFiles = async () => {
|
|
@@ -2573,6 +2577,9 @@ const handleInput$4 = async value => {
|
|
|
2573
2577
|
const handleClick$1 = async index => {
|
|
2574
2578
|
await invoke('Extensions.handleClick', index);
|
|
2575
2579
|
};
|
|
2580
|
+
const handleClickFilter = async () => {
|
|
2581
|
+
await invoke('Extensions.handleClickFilter');
|
|
2582
|
+
};
|
|
2576
2583
|
const handleContextMenu$4 = async (button, x, y) => {
|
|
2577
2584
|
await invoke('Extensions.handleContextMenu', button, x, y);
|
|
2578
2585
|
};
|
|
@@ -2592,6 +2599,7 @@ const ExtensionSearch = {
|
|
|
2592
2599
|
copyExtensionId,
|
|
2593
2600
|
copyExtensionInfo,
|
|
2594
2601
|
handleClick: handleClick$1,
|
|
2602
|
+
handleClickFilter,
|
|
2595
2603
|
handleContextMenu: handleContextMenu$4,
|
|
2596
2604
|
handleInput: handleInput$4,
|
|
2597
2605
|
open: open$4
|
|
@@ -2679,12 +2687,10 @@ const loadFixtureToMemFs = async fileMap => {
|
|
|
2679
2687
|
return `memfs:///fixture`;
|
|
2680
2688
|
};
|
|
2681
2689
|
|
|
2682
|
-
const Backslash = '\\';
|
|
2683
2690
|
const Slash$1 = '/';
|
|
2684
2691
|
|
|
2685
2692
|
const Character = {
|
|
2686
2693
|
__proto__: null,
|
|
2687
|
-
Backslash,
|
|
2688
2694
|
Slash: Slash$1
|
|
2689
2695
|
};
|
|
2690
2696
|
|
|
@@ -3611,6 +3617,9 @@ const focus = async () => {
|
|
|
3611
3617
|
const focusFirst = async () => {
|
|
3612
3618
|
await invoke('TitleBar.focusFirst');
|
|
3613
3619
|
};
|
|
3620
|
+
const setTitleTemplate = async template => {
|
|
3621
|
+
await invoke('TitleBar.setTitleTemplate', template);
|
|
3622
|
+
};
|
|
3614
3623
|
const focusIndex = async index => {
|
|
3615
3624
|
await invoke('TitleBar.focusIndex', index);
|
|
3616
3625
|
};
|
|
@@ -3675,6 +3684,7 @@ const TitleBarMenuBar = {
|
|
|
3675
3684
|
handleKeyEscape,
|
|
3676
3685
|
handleKeyHome,
|
|
3677
3686
|
handleKeySpace,
|
|
3687
|
+
setTitleTemplate,
|
|
3678
3688
|
toggleIndex,
|
|
3679
3689
|
toggleMenu
|
|
3680
3690
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/test-worker",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.8.0",
|
|
4
4
|
"description": "Test Worker",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "module",
|
|
12
12
|
"main": "dist/testWorkerMain.js",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@lvce-editor/constants": "^2.
|
|
14
|
+
"@lvce-editor/constants": "^2.9.0"
|
|
15
15
|
},
|
|
16
16
|
"types": "dist/api.d.ts"
|
|
17
17
|
}
|