@lvce-editor/test-worker 5.5.0 → 5.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 +18 -8
- package/dist/testWorkerMain.js +51 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -164,7 +164,17 @@ declare const createExecutable: (content: string) => Promise<string>;
|
|
|
164
164
|
declare const createExecutableFrom: (uri: string) => Promise<string>;
|
|
165
165
|
declare const focusNext$3: () => Promise<void>;
|
|
166
166
|
declare const focusPrevious$2: () => Promise<void>;
|
|
167
|
+
declare const setReplaceValue: (value: string) => Promise<void>;
|
|
167
168
|
declare const setValue: (value: string) => Promise<void>;
|
|
169
|
+
declare const toggleReplace: () => Promise<void>;
|
|
170
|
+
declare const toggleMatchCase: () => Promise<void>;
|
|
171
|
+
declare const toggleMatchWholeWord: () => Promise<void>;
|
|
172
|
+
declare const toggleUseRegularExpression: () => Promise<void>;
|
|
173
|
+
declare const replace: () => Promise<void>;
|
|
174
|
+
declare const replaceAll: () => Promise<void>;
|
|
175
|
+
declare const focusElement: (whenExpression: number) => Promise<void>;
|
|
176
|
+
declare const focusNextElement: () => Promise<void>;
|
|
177
|
+
declare const focusPreviousElement: () => Promise<void>;
|
|
168
178
|
declare const setIconTheme: (id: string) => Promise<void>;
|
|
169
179
|
declare const selectIndex$2: (index: number) => Promise<void>;
|
|
170
180
|
declare const focusNext$4: () => Promise<void>;
|
|
@@ -250,9 +260,9 @@ declare const setPauseOnExceptions: (value: number) => Promise<void>;
|
|
|
250
260
|
declare const handleRename: () => Promise<void>;
|
|
251
261
|
declare const handleSpace: () => Promise<void>;
|
|
252
262
|
declare const setValue$2: (value: string) => Promise<void>;
|
|
253
|
-
declare const setReplaceValue: (value: string) => Promise<void>;
|
|
263
|
+
declare const setReplaceValue$1: (value: string) => Promise<void>;
|
|
254
264
|
declare const setExcludeValue: (value: string) => Promise<void>;
|
|
255
|
-
declare const replaceAll: () => Promise<void>;
|
|
265
|
+
declare const replaceAll$1: () => Promise<void>;
|
|
256
266
|
declare const setIncludeValue: (value: string) => Promise<void>;
|
|
257
267
|
declare const clearSearchResults: () => Promise<void>;
|
|
258
268
|
declare const openDetails: () => Promise<void>;
|
|
@@ -267,11 +277,11 @@ declare const focusNextPage: () => Promise<void>;
|
|
|
267
277
|
declare const focusPreviousPage: () => Promise<void>;
|
|
268
278
|
declare const focusPrevious$7: () => Promise<void>;
|
|
269
279
|
declare const toggleSearchDetails: () => Promise<void>;
|
|
270
|
-
declare const toggleMatchCase: () => Promise<void>;
|
|
271
|
-
declare const toggleMatchWholeWord: () => Promise<void>;
|
|
280
|
+
declare const toggleMatchCase$1: () => Promise<void>;
|
|
281
|
+
declare const toggleMatchWholeWord$1: () => Promise<void>;
|
|
272
282
|
declare const togglePreserveCase: () => Promise<void>;
|
|
273
|
-
declare const toggleUseRegularExpression: () => Promise<void>;
|
|
274
|
-
declare const toggleReplace: () => Promise<void>;
|
|
283
|
+
declare const toggleUseRegularExpression$1: () => Promise<void>;
|
|
284
|
+
declare const toggleReplace$1: () => Promise<void>;
|
|
275
285
|
declare const update: (settings: any) => Promise<void>;
|
|
276
286
|
declare const show$3: () => Promise<void>;
|
|
277
287
|
declare const handleInput$2: (searchValue: string) => Promise<void>;
|
|
@@ -362,7 +372,7 @@ declare namespace FileSystem {
|
|
|
362
372
|
export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, readFile, remove, writeFile, writeJson };
|
|
363
373
|
}
|
|
364
374
|
declare namespace FindWidget {
|
|
365
|
-
export { focusNext$3 as focusNext, focusPrevious$2 as focusPrevious, setValue };
|
|
375
|
+
export { focusElement, focusNext$3 as focusNext, focusNextElement, focusPrevious$2 as focusPrevious, focusPreviousElement, replace, replaceAll, setReplaceValue, setValue, toggleMatchCase, toggleMatchWholeWord, toggleReplace, toggleUseRegularExpression };
|
|
366
376
|
}
|
|
367
377
|
declare namespace IconTheme {
|
|
368
378
|
export { setIconTheme };
|
|
@@ -401,7 +411,7 @@ declare namespace RunAndDebug {
|
|
|
401
411
|
export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleSpace, handleWatchValueChange, selectIndex$4 as selectIndex, setPauseOnExceptions };
|
|
402
412
|
}
|
|
403
413
|
declare namespace Search {
|
|
404
|
-
export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$4 as focusIndex, focusNext$8 as focusNext, focusNextPage, focusPrevious$7 as focusPrevious, focusPreviousPage, handleWheel$2 as handleWheel, openDetails, replaceAll, selectIndex$5 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
|
|
414
|
+
export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$4 as focusIndex, focusNext$8 as focusNext, focusNextPage, focusPrevious$7 as focusPrevious, focusPreviousPage, handleWheel$2 as handleWheel, openDetails, replaceAll$1 as replaceAll, selectIndex$5 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue$1 as setReplaceValue, setValue$2 as setValue, toggleMatchCase$1 as toggleMatchCase, toggleMatchWholeWord$1 as toggleMatchWholeWord, togglePreserveCase, toggleReplace$1 as toggleReplace, toggleSearchDetails, toggleUseRegularExpression$1 as toggleUseRegularExpression };
|
|
405
415
|
}
|
|
406
416
|
declare namespace Settings {
|
|
407
417
|
export { update };
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -2542,16 +2542,66 @@ const focusPrevious$6 = async () => {
|
|
|
2542
2542
|
// @ts-ignore
|
|
2543
2543
|
await invoke$1('FindWidget.focusPrevious');
|
|
2544
2544
|
};
|
|
2545
|
+
const setReplaceValue$1 = async value => {
|
|
2546
|
+
// @ts-ignore
|
|
2547
|
+
await invoke$1('FindWidget.handleReplaceInput', value, Script);
|
|
2548
|
+
};
|
|
2545
2549
|
const setValue$2 = async value => {
|
|
2546
2550
|
// @ts-ignore
|
|
2547
2551
|
await invoke$1('FindWidget.handleInput', value, Script);
|
|
2548
2552
|
};
|
|
2553
|
+
const toggleReplace$1 = async () => {
|
|
2554
|
+
// @ts-ignore
|
|
2555
|
+
await invoke$1('FindWidget.toggleReplace');
|
|
2556
|
+
};
|
|
2557
|
+
const toggleMatchCase$1 = async () => {
|
|
2558
|
+
// @ts-ignore
|
|
2559
|
+
await invoke$1('FindWidget.toggleMatchCase');
|
|
2560
|
+
};
|
|
2561
|
+
const toggleMatchWholeWord$1 = async () => {
|
|
2562
|
+
// @ts-ignore
|
|
2563
|
+
await invoke$1('FindWidget.toggleMatchWholeWord');
|
|
2564
|
+
};
|
|
2565
|
+
const toggleUseRegularExpression$1 = async () => {
|
|
2566
|
+
// @ts-ignore
|
|
2567
|
+
await invoke$1('FindWidget.toggleUseRegularExpression');
|
|
2568
|
+
};
|
|
2569
|
+
const replace = async () => {
|
|
2570
|
+
// @ts-ignore
|
|
2571
|
+
await invoke$1('FindWidget.replace');
|
|
2572
|
+
};
|
|
2573
|
+
const replaceAll$1 = async () => {
|
|
2574
|
+
// @ts-ignore
|
|
2575
|
+
await invoke$1('FindWidget.replaceAll');
|
|
2576
|
+
};
|
|
2577
|
+
const focusElement = async whenExpression => {
|
|
2578
|
+
// @ts-ignore
|
|
2579
|
+
await invoke$1('FindWidget.focusElement', whenExpression);
|
|
2580
|
+
};
|
|
2581
|
+
const focusNextElement = async () => {
|
|
2582
|
+
// @ts-ignore
|
|
2583
|
+
await invoke$1('FindWidget.focusNextElement');
|
|
2584
|
+
};
|
|
2585
|
+
const focusPreviousElement = async () => {
|
|
2586
|
+
// @ts-ignore
|
|
2587
|
+
await invoke$1('FindWidget.focusPreviousElement');
|
|
2588
|
+
};
|
|
2549
2589
|
|
|
2550
2590
|
const TestFrameWorkComponentFindWidget = {
|
|
2551
2591
|
__proto__: null,
|
|
2592
|
+
focusElement,
|
|
2552
2593
|
focusNext: focusNext$6,
|
|
2594
|
+
focusNextElement,
|
|
2553
2595
|
focusPrevious: focusPrevious$6,
|
|
2554
|
-
|
|
2596
|
+
focusPreviousElement,
|
|
2597
|
+
replace,
|
|
2598
|
+
replaceAll: replaceAll$1,
|
|
2599
|
+
setReplaceValue: setReplaceValue$1,
|
|
2600
|
+
setValue: setValue$2,
|
|
2601
|
+
toggleMatchCase: toggleMatchCase$1,
|
|
2602
|
+
toggleMatchWholeWord: toggleMatchWholeWord$1,
|
|
2603
|
+
toggleReplace: toggleReplace$1,
|
|
2604
|
+
toggleUseRegularExpression: toggleUseRegularExpression$1
|
|
2555
2605
|
};
|
|
2556
2606
|
|
|
2557
2607
|
const setIconTheme = async id => {
|