@lvce-editor/test-worker 12.3.0 → 13.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.
- package/dist/api.d.ts +16 -1
- package/dist/testWorkerMain.js +36 -55
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ interface ILocatorCreateOptions {
|
|
|
32
32
|
readonly hasText?: string;
|
|
33
33
|
readonly nth?: number;
|
|
34
34
|
}
|
|
35
|
-
export declare class Locator implements
|
|
35
|
+
export declare class Locator implements ILocatorExternal {
|
|
36
36
|
readonly _selector: any;
|
|
37
37
|
readonly _nth: number;
|
|
38
38
|
readonly _hasText: string;
|
|
@@ -48,6 +48,11 @@ export declare class Locator implements ILocator {
|
|
|
48
48
|
dispatchEvent(type: string, init: any): Promise<void>;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
export interface UpdateConfig {
|
|
52
|
+
readonly progress: number;
|
|
53
|
+
readonly state: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
51
56
|
export interface Diagnostic {
|
|
52
57
|
readonly columnIndex: number;
|
|
53
58
|
readonly endColumnIndex: number;
|
|
@@ -81,6 +86,8 @@ export interface SelectItem2Options {
|
|
|
81
86
|
readonly label: string;
|
|
82
87
|
}
|
|
83
88
|
|
|
89
|
+
export type SearchInputType = "SearchValue" | "ReplaceValue" | "IncludeValue" | "ExcludeValue";
|
|
90
|
+
|
|
84
91
|
interface Workspace {
|
|
85
92
|
readonly openTmpDir: () => Promise<string>;
|
|
86
93
|
readonly setPath: (path: string) => Promise<void>;
|
|
@@ -102,9 +109,12 @@ interface ActivityBar {
|
|
|
102
109
|
readonly focusNext: () => Promise<void>;
|
|
103
110
|
readonly focusPrevious: () => Promise<void>;
|
|
104
111
|
readonly handleClick: (index: number) => Promise<void>;
|
|
112
|
+
readonly handleClickSettings: (x: number, y: number) => Promise<void>;
|
|
105
113
|
readonly handleContextMenu: () => Promise<void>;
|
|
106
114
|
readonly selectCurrent: () => Promise<void>;
|
|
107
115
|
readonly setAccountEnabled: (enabled: boolean) => Promise<void>;
|
|
116
|
+
readonly setUpdateState: (config: UpdateConfig) => Promise<void>;
|
|
117
|
+
readonly toggleActivityBarItem: (id: string) => Promise<void>;
|
|
108
118
|
}
|
|
109
119
|
|
|
110
120
|
interface BaseUrl {
|
|
@@ -168,6 +178,7 @@ interface Editor {
|
|
|
168
178
|
readonly cursorWordPartLeft: () => Promise<void>;
|
|
169
179
|
readonly cursorWordPartRight: () => Promise<void>;
|
|
170
180
|
readonly cursorWordRight: () => Promise<void>;
|
|
181
|
+
readonly deleteAll: () => Promise<void>;
|
|
171
182
|
readonly deleteAllLeft: () => Promise<void>;
|
|
172
183
|
readonly deleteAllRight: () => Promise<void>;
|
|
173
184
|
readonly disableCompletionsOnType: () => Promise<void>;
|
|
@@ -210,6 +221,7 @@ interface Editor {
|
|
|
210
221
|
readonly setCursor: (rowIndex: number, columnIndex: number) => Promise<void>;
|
|
211
222
|
readonly setDeltaY: (deltaY: number) => Promise<void>;
|
|
212
223
|
readonly setSelections: (selections: any) => Promise<void>;
|
|
224
|
+
readonly setText: (text: string) => Promise<void>;
|
|
213
225
|
readonly shouldHaveDiagnostics: (expectedDiagnostics: readonly Diagnostic[]) => Promise<void>;
|
|
214
226
|
readonly shouldHaveSelections: (expectedSelections: Uint32Array) => Promise<void>;
|
|
215
227
|
readonly shouldHaveText: (expectedText: string) => Promise<void>;
|
|
@@ -286,6 +298,7 @@ interface Explorer {
|
|
|
286
298
|
readonly selectDown: () => Promise<void>;
|
|
287
299
|
readonly selectIndices: (indices: readonly number[]) => Promise<void>;
|
|
288
300
|
readonly selectUp: () => Promise<void>;
|
|
301
|
+
readonly setDeltaY: (deltaY: number) => Promise<void>;
|
|
289
302
|
readonly toggleIndividualSelection: (index: number) => Promise<void>;
|
|
290
303
|
readonly updateEditingValue: (value: string) => Promise<void>;
|
|
291
304
|
}
|
|
@@ -523,7 +536,9 @@ interface Search {
|
|
|
523
536
|
readonly collapseDetails: () => Promise<void>;
|
|
524
537
|
readonly copy: () => Promise<void>;
|
|
525
538
|
readonly copyPath: () => Promise<void>;
|
|
539
|
+
readonly disableRenderFolderPaths: () => Promise<void>;
|
|
526
540
|
readonly dismissItem: () => Promise<void>;
|
|
541
|
+
readonly enableRenderFolderPaths: () => Promise<void>;
|
|
527
542
|
readonly focusFirst: () => Promise<void>;
|
|
528
543
|
readonly focusIndex: (index: number) => Promise<void>;
|
|
529
544
|
readonly focusNext: () => Promise<void>;
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -413,7 +413,6 @@ const wrap$e = port => {
|
|
|
413
413
|
return new IpcChildWithModuleWorkerAndMessagePort(port);
|
|
414
414
|
};
|
|
415
415
|
const IpcChildWithModuleWorkerAndMessagePort$1 = {
|
|
416
|
-
__proto__: null,
|
|
417
416
|
listen: listen$6,
|
|
418
417
|
wrap: wrap$e
|
|
419
418
|
};
|
|
@@ -506,7 +505,6 @@ const wrap$5 = messagePort => {
|
|
|
506
505
|
return new IpcParentWithMessagePort(messagePort);
|
|
507
506
|
};
|
|
508
507
|
const IpcParentWithMessagePort$1 = {
|
|
509
|
-
__proto__: null,
|
|
510
508
|
create: create$5$1,
|
|
511
509
|
signal: signal$1,
|
|
512
510
|
wrap: wrap$5
|
|
@@ -1007,7 +1005,6 @@ const create$j = async ({
|
|
|
1007
1005
|
});
|
|
1008
1006
|
};
|
|
1009
1007
|
const LazyTransferMessagePortRpcParent = {
|
|
1010
|
-
__proto__: null,
|
|
1011
1008
|
create: create$j
|
|
1012
1009
|
};
|
|
1013
1010
|
const create$e = async ({
|
|
@@ -1027,7 +1024,6 @@ const create$e = async ({
|
|
|
1027
1024
|
return rpc;
|
|
1028
1025
|
};
|
|
1029
1026
|
const MessagePortRpcParent = {
|
|
1030
|
-
__proto__: null,
|
|
1031
1027
|
create: create$e
|
|
1032
1028
|
};
|
|
1033
1029
|
const create$5 = async ({
|
|
@@ -1074,7 +1070,6 @@ const create$2 = async ({
|
|
|
1074
1070
|
return rpc;
|
|
1075
1071
|
};
|
|
1076
1072
|
const WebWorkerRpcClient = {
|
|
1077
|
-
__proto__: null,
|
|
1078
1073
|
create: create$2
|
|
1079
1074
|
};
|
|
1080
1075
|
const createMockRpc = ({
|
|
@@ -1499,7 +1494,6 @@ class Expect {
|
|
|
1499
1494
|
}
|
|
1500
1495
|
|
|
1501
1496
|
const Expect$1 = {
|
|
1502
|
-
__proto__: null,
|
|
1503
1497
|
expect: expect$1
|
|
1504
1498
|
};
|
|
1505
1499
|
|
|
@@ -1646,7 +1640,6 @@ const focusPrevious$8 = async () => {
|
|
|
1646
1640
|
};
|
|
1647
1641
|
|
|
1648
1642
|
const About = {
|
|
1649
|
-
__proto__: null,
|
|
1650
1643
|
focusNext: focusNext$9,
|
|
1651
1644
|
focusPrevious: focusPrevious$8,
|
|
1652
1645
|
handleClickClose,
|
|
@@ -1658,11 +1651,14 @@ const About = {
|
|
|
1658
1651
|
const focus$2 = async () => {
|
|
1659
1652
|
await invoke('ActivityBar.focus');
|
|
1660
1653
|
};
|
|
1654
|
+
const toggleActivityBarItem = async id => {
|
|
1655
|
+
await invoke('ActivityBar.toggleActivityBarItem', id);
|
|
1656
|
+
};
|
|
1661
1657
|
const focusFirst$7 = async () => {
|
|
1662
1658
|
await invoke('ActivityBar.focusFirst');
|
|
1663
1659
|
};
|
|
1664
1660
|
const setAccountEnabled = async enabled => {
|
|
1665
|
-
await invoke('ActivityBar.setAccountEnabled');
|
|
1661
|
+
await invoke('ActivityBar.setAccountEnabled', enabled);
|
|
1666
1662
|
};
|
|
1667
1663
|
const focusLast$6 = async () => {
|
|
1668
1664
|
await invoke('ActivityBar.focusLast');
|
|
@@ -1679,21 +1675,29 @@ const handleClick$4 = async index => {
|
|
|
1679
1675
|
const handleContextMenu$5 = async () => {
|
|
1680
1676
|
await invoke('ActivityBar.handleContextMenu');
|
|
1681
1677
|
};
|
|
1678
|
+
const setUpdateState = async config => {
|
|
1679
|
+
await invoke('ActivityBar.setUpdateState', config);
|
|
1680
|
+
};
|
|
1682
1681
|
const selectCurrent = async () => {
|
|
1683
1682
|
await invoke('ActivityBar.selectCurrent');
|
|
1684
1683
|
};
|
|
1684
|
+
const handleClickSettings = async (x, y) => {
|
|
1685
|
+
await invoke('ActivityBar.handleClickSettings', x, y);
|
|
1686
|
+
};
|
|
1685
1687
|
|
|
1686
1688
|
const ActivityBar = {
|
|
1687
|
-
__proto__: null,
|
|
1688
1689
|
focus: focus$2,
|
|
1689
1690
|
focusFirst: focusFirst$7,
|
|
1690
1691
|
focusLast: focusLast$6,
|
|
1691
1692
|
focusNext: focusNext$8,
|
|
1692
1693
|
focusPrevious: focusPrevious$7,
|
|
1693
1694
|
handleClick: handleClick$4,
|
|
1695
|
+
handleClickSettings,
|
|
1694
1696
|
handleContextMenu: handleContextMenu$5,
|
|
1695
1697
|
selectCurrent,
|
|
1696
|
-
setAccountEnabled
|
|
1698
|
+
setAccountEnabled,
|
|
1699
|
+
setUpdateState,
|
|
1700
|
+
toggleActivityBarItem
|
|
1697
1701
|
};
|
|
1698
1702
|
|
|
1699
1703
|
const readNativeFiles = async () => {
|
|
@@ -1725,7 +1729,6 @@ const writeText = async text => {
|
|
|
1725
1729
|
};
|
|
1726
1730
|
|
|
1727
1731
|
const ClipBoard = {
|
|
1728
|
-
__proto__: null,
|
|
1729
1732
|
disableMemoryClipBoard,
|
|
1730
1733
|
enableMemoryClipBoard,
|
|
1731
1734
|
readNativeFiles,
|
|
@@ -1739,7 +1742,6 @@ const setRelativeX = async x => {
|
|
|
1739
1742
|
};
|
|
1740
1743
|
|
|
1741
1744
|
const ColorPicker = {
|
|
1742
|
-
__proto__: null,
|
|
1743
1745
|
setRelativeX
|
|
1744
1746
|
};
|
|
1745
1747
|
|
|
@@ -1748,7 +1750,6 @@ const execute$1 = async (id, ...args) => {
|
|
|
1748
1750
|
};
|
|
1749
1751
|
|
|
1750
1752
|
const Command = {
|
|
1751
|
-
__proto__: null,
|
|
1752
1753
|
execute: execute$1
|
|
1753
1754
|
};
|
|
1754
1755
|
|
|
@@ -1757,7 +1758,6 @@ const selectItem$1 = async text => {
|
|
|
1757
1758
|
};
|
|
1758
1759
|
|
|
1759
1760
|
const ContextMenu = {
|
|
1760
|
-
__proto__: null,
|
|
1761
1761
|
selectItem: selectItem$1
|
|
1762
1762
|
};
|
|
1763
1763
|
|
|
@@ -1787,7 +1787,6 @@ const toggleDeveloperTools = async () => {
|
|
|
1787
1787
|
};
|
|
1788
1788
|
|
|
1789
1789
|
const Developer = {
|
|
1790
|
-
__proto__: null,
|
|
1791
1790
|
openCacheFolder,
|
|
1792
1791
|
openConfigFolder,
|
|
1793
1792
|
openIframeInspector,
|
|
@@ -1829,7 +1828,6 @@ const executeMock = (id, ...args) => {
|
|
|
1829
1828
|
};
|
|
1830
1829
|
|
|
1831
1830
|
const Dialog = {
|
|
1832
|
-
__proto__: null,
|
|
1833
1831
|
executeMock,
|
|
1834
1832
|
mockConfirm,
|
|
1835
1833
|
mockSaveFilePicker,
|
|
@@ -1891,7 +1889,6 @@ const disableDiagnostics$1 = () => {
|
|
|
1891
1889
|
};
|
|
1892
1890
|
|
|
1893
1891
|
const Settings = {
|
|
1894
|
-
__proto__: null,
|
|
1895
1892
|
disableDiagnostics: disableDiagnostics$1,
|
|
1896
1893
|
enableDiagnostics: enableDiagnostics$1,
|
|
1897
1894
|
update: update$1
|
|
@@ -1954,6 +1951,12 @@ const cursorUp = async () => {
|
|
|
1954
1951
|
const cursorWordLeft = async () => {
|
|
1955
1952
|
await invoke('Editor.cursorWordLeft');
|
|
1956
1953
|
};
|
|
1954
|
+
const setText = async text => {
|
|
1955
|
+
await invoke('Editor.setText', text);
|
|
1956
|
+
};
|
|
1957
|
+
const deleteAll = async () => {
|
|
1958
|
+
await invoke('Editor.deleteAll');
|
|
1959
|
+
};
|
|
1957
1960
|
const cursorWordRight = async () => {
|
|
1958
1961
|
await invoke('Editor.cursorWordRight');
|
|
1959
1962
|
};
|
|
@@ -1981,7 +1984,7 @@ const setSelections = async selections => {
|
|
|
1981
1984
|
const openFindWidget = async () => {
|
|
1982
1985
|
await invoke('Editor.openFind');
|
|
1983
1986
|
};
|
|
1984
|
-
const setDeltaY = async deltaY => {
|
|
1987
|
+
const setDeltaY$1 = async deltaY => {
|
|
1985
1988
|
await invoke('Editor.setDeltaY', deltaY);
|
|
1986
1989
|
};
|
|
1987
1990
|
const format = async () => {
|
|
@@ -2140,7 +2143,6 @@ const disableDiagnostics = async () => {
|
|
|
2140
2143
|
};
|
|
2141
2144
|
|
|
2142
2145
|
const Editor = {
|
|
2143
|
-
__proto__: null,
|
|
2144
2146
|
addAllMissingImports,
|
|
2145
2147
|
closeColorPicker,
|
|
2146
2148
|
closeCompletion,
|
|
@@ -2158,6 +2160,7 @@ const Editor = {
|
|
|
2158
2160
|
cursorWordPartLeft,
|
|
2159
2161
|
cursorWordPartRight,
|
|
2160
2162
|
cursorWordRight,
|
|
2163
|
+
deleteAll,
|
|
2161
2164
|
deleteAllLeft,
|
|
2162
2165
|
deleteAllRight,
|
|
2163
2166
|
disableCompletionsOnType,
|
|
@@ -2198,8 +2201,9 @@ const Editor = {
|
|
|
2198
2201
|
selectUp: selectUp$1,
|
|
2199
2202
|
selectionGrow,
|
|
2200
2203
|
setCursor,
|
|
2201
|
-
setDeltaY,
|
|
2204
|
+
setDeltaY: setDeltaY$1,
|
|
2202
2205
|
setSelections,
|
|
2206
|
+
setText,
|
|
2203
2207
|
shouldHaveDiagnostics,
|
|
2204
2208
|
shouldHaveSelections,
|
|
2205
2209
|
shouldHaveText,
|
|
@@ -2231,7 +2235,6 @@ const handlePointerdown = async (clientX, clientY) => {
|
|
|
2231
2235
|
};
|
|
2232
2236
|
|
|
2233
2237
|
const EditorCompletion = {
|
|
2234
|
-
__proto__: null,
|
|
2235
2238
|
close: close$2,
|
|
2236
2239
|
handlePointerdown,
|
|
2237
2240
|
handleWheel: handleWheel$2,
|
|
@@ -2247,7 +2250,6 @@ const close$1 = async () => {
|
|
|
2247
2250
|
};
|
|
2248
2251
|
|
|
2249
2252
|
const EditorHover = {
|
|
2250
|
-
__proto__: null,
|
|
2251
2253
|
close: close$1,
|
|
2252
2254
|
show: show$5
|
|
2253
2255
|
};
|
|
@@ -2263,7 +2265,6 @@ const cancel = async () => {
|
|
|
2263
2265
|
};
|
|
2264
2266
|
|
|
2265
2267
|
const EditorRename = {
|
|
2266
|
-
__proto__: null,
|
|
2267
2268
|
accept,
|
|
2268
2269
|
cancel,
|
|
2269
2270
|
handleInput: handleInput$6
|
|
@@ -2277,7 +2278,6 @@ const selectCurrentIndex$1 = async () => {
|
|
|
2277
2278
|
};
|
|
2278
2279
|
|
|
2279
2280
|
const EditorSourceAction = {
|
|
2280
|
-
__proto__: null,
|
|
2281
2281
|
selectCurrentIndex: selectCurrentIndex$1,
|
|
2282
2282
|
selectIndex: selectIndex$5
|
|
2283
2283
|
};
|
|
@@ -2300,6 +2300,9 @@ const handleInputBlur = async () => {
|
|
|
2300
2300
|
const focus$1 = async () => {
|
|
2301
2301
|
await invoke('Explorer.focusIndex', -1);
|
|
2302
2302
|
};
|
|
2303
|
+
const setDeltaY = async deltaY => {
|
|
2304
|
+
await invoke('Explorer.setDeltaY', deltaY);
|
|
2305
|
+
};
|
|
2303
2306
|
const focusNext$7 = async () => {
|
|
2304
2307
|
await invoke('Explorer.focusNext');
|
|
2305
2308
|
};
|
|
@@ -2401,7 +2404,6 @@ const toggleIndividualSelection = async index => {
|
|
|
2401
2404
|
};
|
|
2402
2405
|
|
|
2403
2406
|
const Explorer = {
|
|
2404
|
-
__proto__: null,
|
|
2405
2407
|
acceptEdit,
|
|
2406
2408
|
cancelEdit,
|
|
2407
2409
|
clickCurrent,
|
|
@@ -2439,6 +2441,7 @@ const Explorer = {
|
|
|
2439
2441
|
selectDown,
|
|
2440
2442
|
selectIndices,
|
|
2441
2443
|
selectUp,
|
|
2444
|
+
setDeltaY,
|
|
2442
2445
|
toggleIndividualSelection,
|
|
2443
2446
|
updateEditingValue
|
|
2444
2447
|
};
|
|
@@ -2455,7 +2458,6 @@ const addNodeExtension = async relativePath => {
|
|
|
2455
2458
|
};
|
|
2456
2459
|
|
|
2457
2460
|
const Extension = {
|
|
2458
|
-
__proto__: null,
|
|
2459
2461
|
addNodeExtension,
|
|
2460
2462
|
addWebExtension
|
|
2461
2463
|
};
|
|
@@ -2541,7 +2543,6 @@ const handleTabFocus = async tabName => {
|
|
|
2541
2543
|
};
|
|
2542
2544
|
|
|
2543
2545
|
const ExtensionDetail = {
|
|
2544
|
-
__proto__: null,
|
|
2545
2546
|
copyReadmeLink,
|
|
2546
2547
|
focusNextTab,
|
|
2547
2548
|
focusPreviousTab,
|
|
@@ -2578,7 +2579,6 @@ const hide = async () => {
|
|
|
2578
2579
|
};
|
|
2579
2580
|
|
|
2580
2581
|
const SideBar = {
|
|
2581
|
-
__proto__: null,
|
|
2582
2582
|
hide,
|
|
2583
2583
|
open: open$7
|
|
2584
2584
|
};
|
|
@@ -2609,7 +2609,6 @@ const clearSearchResults$1 = async () => {
|
|
|
2609
2609
|
};
|
|
2610
2610
|
|
|
2611
2611
|
const ExtensionSearch = {
|
|
2612
|
-
__proto__: null,
|
|
2613
2612
|
clearSearchResults: clearSearchResults$1,
|
|
2614
2613
|
copyExtensionId,
|
|
2615
2614
|
copyExtensionInfo,
|
|
@@ -2705,7 +2704,6 @@ const loadFixtureToMemFs = async fileMap => {
|
|
|
2705
2704
|
const Slash$1 = '/';
|
|
2706
2705
|
|
|
2707
2706
|
const Character = {
|
|
2708
|
-
__proto__: null,
|
|
2709
2707
|
Slash: Slash$1
|
|
2710
2708
|
};
|
|
2711
2709
|
|
|
@@ -2798,7 +2796,6 @@ const loadFixture = async (platform, url) => {
|
|
|
2798
2796
|
};
|
|
2799
2797
|
|
|
2800
2798
|
const FileSystem = {
|
|
2801
|
-
__proto__: null,
|
|
2802
2799
|
addFileHandle,
|
|
2803
2800
|
chmod,
|
|
2804
2801
|
createDroppedFileHandle,
|
|
@@ -2862,7 +2859,6 @@ const focusPreviousElement = async () => {
|
|
|
2862
2859
|
};
|
|
2863
2860
|
|
|
2864
2861
|
const FindWidget = {
|
|
2865
|
-
__proto__: null,
|
|
2866
2862
|
close,
|
|
2867
2863
|
focusElement,
|
|
2868
2864
|
focusNext: focusNext$6,
|
|
@@ -2885,7 +2881,6 @@ const setIconTheme = async id => {
|
|
|
2885
2881
|
};
|
|
2886
2882
|
|
|
2887
2883
|
const IconTheme = {
|
|
2888
|
-
__proto__: null,
|
|
2889
2884
|
setIconTheme
|
|
2890
2885
|
};
|
|
2891
2886
|
|
|
@@ -2906,7 +2901,6 @@ const focusLast$4 = async () => {
|
|
|
2906
2901
|
};
|
|
2907
2902
|
|
|
2908
2903
|
const IframeInspector = {
|
|
2909
|
-
__proto__: null,
|
|
2910
2904
|
focusFirst: focusFirst$5,
|
|
2911
2905
|
focusLast: focusLast$4,
|
|
2912
2906
|
focusNext: focusNext$5,
|
|
@@ -2985,7 +2979,6 @@ const resetKeyBinding = () => {
|
|
|
2985
2979
|
};
|
|
2986
2980
|
|
|
2987
2981
|
const KeyBindingsEditor = {
|
|
2988
|
-
__proto__: null,
|
|
2989
2982
|
addKeyBinding,
|
|
2990
2983
|
changeWhenExpression,
|
|
2991
2984
|
clearInput,
|
|
@@ -3061,7 +3054,6 @@ const press = async key => {
|
|
|
3061
3054
|
};
|
|
3062
3055
|
|
|
3063
3056
|
const KeyBoard = {
|
|
3064
|
-
__proto__: null,
|
|
3065
3057
|
press
|
|
3066
3058
|
};
|
|
3067
3059
|
|
|
@@ -3082,7 +3074,6 @@ const removeModel = async id => {
|
|
|
3082
3074
|
};
|
|
3083
3075
|
|
|
3084
3076
|
const LanguageModels = {
|
|
3085
|
-
__proto__: null,
|
|
3086
3077
|
addModel,
|
|
3087
3078
|
clearFilterInput,
|
|
3088
3079
|
handleFilterInput: handleFilterInput$2,
|
|
@@ -3149,7 +3140,6 @@ const copyRelativePath = async () => {
|
|
|
3149
3140
|
};
|
|
3150
3141
|
|
|
3151
3142
|
const Main = {
|
|
3152
|
-
__proto__: null,
|
|
3153
3143
|
closeActiveEditor,
|
|
3154
3144
|
closeAllEditors,
|
|
3155
3145
|
closeOthers,
|
|
@@ -3180,7 +3170,6 @@ const openProblems = async () => {
|
|
|
3180
3170
|
};
|
|
3181
3171
|
|
|
3182
3172
|
const Panel = {
|
|
3183
|
-
__proto__: null,
|
|
3184
3173
|
open: open$3,
|
|
3185
3174
|
openProblems
|
|
3186
3175
|
};
|
|
@@ -3203,7 +3192,6 @@ const saveAs = async () => {
|
|
|
3203
3192
|
};
|
|
3204
3193
|
|
|
3205
3194
|
const Output = {
|
|
3206
|
-
__proto__: null,
|
|
3207
3195
|
clear: clear$2,
|
|
3208
3196
|
handleFilterInput: handleFilterInput$1,
|
|
3209
3197
|
saveAs,
|
|
@@ -3236,7 +3224,6 @@ const isFirefox = () => {
|
|
|
3236
3224
|
};
|
|
3237
3225
|
|
|
3238
3226
|
const Platform = {
|
|
3239
|
-
__proto__: null,
|
|
3240
3227
|
getNodePath,
|
|
3241
3228
|
isFirefox
|
|
3242
3229
|
};
|
|
@@ -3258,7 +3245,6 @@ const setUri = async uri => {
|
|
|
3258
3245
|
};
|
|
3259
3246
|
|
|
3260
3247
|
const Preview = {
|
|
3261
|
-
__proto__: null,
|
|
3262
3248
|
handleClick,
|
|
3263
3249
|
handleInput: handleInput$3,
|
|
3264
3250
|
handleKeyDown,
|
|
@@ -3298,7 +3284,6 @@ const viewAsTable = async () => {
|
|
|
3298
3284
|
};
|
|
3299
3285
|
|
|
3300
3286
|
const Problems = {
|
|
3301
|
-
__proto__: null,
|
|
3302
3287
|
copyMessage,
|
|
3303
3288
|
focusIndex: focusIndex$3,
|
|
3304
3289
|
handleArrowLeft,
|
|
@@ -3382,7 +3367,6 @@ const selectItem2 = async ({
|
|
|
3382
3367
|
};
|
|
3383
3368
|
|
|
3384
3369
|
const QuickPick = {
|
|
3385
|
-
__proto__: null,
|
|
3386
3370
|
executeCommand,
|
|
3387
3371
|
focusFirst: focusFirst$2,
|
|
3388
3372
|
focusIndex: focusIndex$2,
|
|
@@ -3410,7 +3394,6 @@ const refresh = async () => {
|
|
|
3410
3394
|
};
|
|
3411
3395
|
|
|
3412
3396
|
const References = {
|
|
3413
|
-
__proto__: null,
|
|
3414
3397
|
clear: clear$1,
|
|
3415
3398
|
collapseAll: collapseAll$1,
|
|
3416
3399
|
refresh
|
|
@@ -3448,7 +3431,6 @@ const handleSpace = async () => {
|
|
|
3448
3431
|
};
|
|
3449
3432
|
|
|
3450
3433
|
const RunAndDebug = {
|
|
3451
|
-
__proto__: null,
|
|
3452
3434
|
acceptWatchExpressionEdit,
|
|
3453
3435
|
addWatchExpression,
|
|
3454
3436
|
handleClickSectionBreakPoints,
|
|
@@ -3566,15 +3548,22 @@ const handleInputContextMenu = async (name, button, x, y) => {
|
|
|
3566
3548
|
const handleContextMenu$2 = async (button, x, y) => {
|
|
3567
3549
|
await invoke('Search.handleContextMenu', button, x, y);
|
|
3568
3550
|
};
|
|
3551
|
+
const enableRenderFolderPaths = async () => {
|
|
3552
|
+
await invoke('Search.enableRenderFolderPaths');
|
|
3553
|
+
};
|
|
3554
|
+
const disableRenderFolderPaths = async () => {
|
|
3555
|
+
await invoke('Search.disableRenderFolderPaths');
|
|
3556
|
+
};
|
|
3569
3557
|
|
|
3570
3558
|
const Search = {
|
|
3571
|
-
__proto__: null,
|
|
3572
3559
|
clearSearchResults,
|
|
3573
3560
|
collapseAll,
|
|
3574
3561
|
collapseDetails,
|
|
3575
3562
|
copy,
|
|
3576
3563
|
copyPath,
|
|
3564
|
+
disableRenderFolderPaths,
|
|
3577
3565
|
dismissItem,
|
|
3566
|
+
enableRenderFolderPaths,
|
|
3578
3567
|
focusFirst: focusFirst$1,
|
|
3579
3568
|
focusIndex: focusIndex$1,
|
|
3580
3569
|
focusNext: focusNext$1,
|
|
@@ -3647,7 +3636,6 @@ const handleClickFilterButton = async (x, y) => {
|
|
|
3647
3636
|
};
|
|
3648
3637
|
|
|
3649
3638
|
const SettingsView = {
|
|
3650
|
-
__proto__: null,
|
|
3651
3639
|
clear,
|
|
3652
3640
|
clearHistory,
|
|
3653
3641
|
handleClickFilterButton,
|
|
@@ -3683,7 +3671,6 @@ const show = async () => {
|
|
|
3683
3671
|
};
|
|
3684
3672
|
|
|
3685
3673
|
const SourceControl = {
|
|
3686
|
-
__proto__: null,
|
|
3687
3674
|
acceptInput,
|
|
3688
3675
|
handleClickSourceControlButtons,
|
|
3689
3676
|
handleContextMenu: handleContextMenu$1,
|
|
@@ -3697,7 +3684,6 @@ const update = async () => {
|
|
|
3697
3684
|
};
|
|
3698
3685
|
|
|
3699
3686
|
const StatusBar = {
|
|
3700
|
-
__proto__: null,
|
|
3701
3687
|
update
|
|
3702
3688
|
};
|
|
3703
3689
|
|
|
@@ -3760,7 +3746,6 @@ const handleContextMenu = async (button, x, y) => {
|
|
|
3760
3746
|
};
|
|
3761
3747
|
|
|
3762
3748
|
const TitleBarMenuBar = {
|
|
3763
|
-
__proto__: null,
|
|
3764
3749
|
closeMenu,
|
|
3765
3750
|
focus,
|
|
3766
3751
|
focusFirst,
|
|
@@ -3791,7 +3776,6 @@ const resolve = relativePath => {
|
|
|
3791
3776
|
};
|
|
3792
3777
|
|
|
3793
3778
|
const Url = {
|
|
3794
|
-
__proto__: null,
|
|
3795
3779
|
resolve,
|
|
3796
3780
|
setUrl
|
|
3797
3781
|
};
|
|
@@ -3869,7 +3853,6 @@ const fromId = async webViewId => {
|
|
|
3869
3853
|
};
|
|
3870
3854
|
|
|
3871
3855
|
const WebView = {
|
|
3872
|
-
__proto__: null,
|
|
3873
3856
|
fromId
|
|
3874
3857
|
};
|
|
3875
3858
|
|
|
@@ -3883,7 +3866,6 @@ const openTmpDir = async () => {
|
|
|
3883
3866
|
};
|
|
3884
3867
|
|
|
3885
3868
|
const Workspace = {
|
|
3886
|
-
__proto__: null,
|
|
3887
3869
|
openTmpDir,
|
|
3888
3870
|
setPath
|
|
3889
3871
|
};
|
|
@@ -3899,7 +3881,6 @@ const pause = async () => {
|
|
|
3899
3881
|
};
|
|
3900
3882
|
|
|
3901
3883
|
const Audio = {
|
|
3902
|
-
__proto__: null,
|
|
3903
3884
|
load,
|
|
3904
3885
|
pause,
|
|
3905
3886
|
play
|