@lvce-editor/test-worker 11.6.0 → 11.7.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 -1
- package/package.json +1 -1
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
|
|
@@ -3611,6 +3619,9 @@ const focus = async () => {
|
|
|
3611
3619
|
const focusFirst = async () => {
|
|
3612
3620
|
await invoke('TitleBar.focusFirst');
|
|
3613
3621
|
};
|
|
3622
|
+
const setTitleTemplate = async template => {
|
|
3623
|
+
await invoke('TitleBar.setTitleTemplate', template);
|
|
3624
|
+
};
|
|
3614
3625
|
const focusIndex = async index => {
|
|
3615
3626
|
await invoke('TitleBar.focusIndex', index);
|
|
3616
3627
|
};
|
|
@@ -3675,6 +3686,7 @@ const TitleBarMenuBar = {
|
|
|
3675
3686
|
handleKeyEscape,
|
|
3676
3687
|
handleKeyHome,
|
|
3677
3688
|
handleKeySpace,
|
|
3689
|
+
setTitleTemplate,
|
|
3678
3690
|
toggleIndex,
|
|
3679
3691
|
toggleMenu
|
|
3680
3692
|
};
|