@lvce-editor/test-worker 3.4.0 → 3.5.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.
@@ -1852,8 +1852,22 @@ const TestFrameWorkComponentQuickPick = {
1852
1852
  setValue: setValue$1
1853
1853
  };
1854
1854
 
1855
+ const Script = 2;
1856
+
1855
1857
  const setValue = async value => {
1856
- await invoke('Search.handleInput', value);
1858
+ await invoke('Search.handleInput', value, Script);
1859
+ };
1860
+ const setReplaceValue = async value => {
1861
+ await invoke('Search.handleReplaceInput', value, Script);
1862
+ };
1863
+ const setExcludeValue = async value => {
1864
+ await invoke('Search.handleExcludeInput', value, Script);
1865
+ };
1866
+ const replaceAll = async () => {
1867
+ await invoke('Search.replaceAll');
1868
+ };
1869
+ const setIncludeValue = async value => {
1870
+ await invoke('Search.handleIncludeInput', value, Script);
1857
1871
  };
1858
1872
  const clearSearchResults = async () => {
1859
1873
  await invoke('Search.clearSearchResults');
@@ -1879,6 +1893,9 @@ const focusPreviousPage = async () => {
1879
1893
  const focusPrevious$1 = async () => {
1880
1894
  await invoke('Search.focusPrevious');
1881
1895
  };
1896
+ const toggleSearchDetails = async () => {
1897
+ await invoke('Search.toggleSearchDetails');
1898
+ };
1882
1899
  const toggleMatchCase = async () => {
1883
1900
  await invoke('Search.toggleMatchCase');
1884
1901
  };
@@ -1891,6 +1908,9 @@ const togglePreserveCase = async () => {
1891
1908
  const toggleUseRegularExpression = async () => {
1892
1909
  await invoke('Search.toggleUseRegularExpression');
1893
1910
  };
1911
+ const toggleReplace = async () => {
1912
+ await invoke('Search.toggleReplace');
1913
+ };
1894
1914
 
1895
1915
  const TestFrameWorkComponentSearch = {
1896
1916
  __proto__: null,
@@ -1902,10 +1922,16 @@ const TestFrameWorkComponentSearch = {
1902
1922
  focusNextPage,
1903
1923
  focusPrevious: focusPrevious$1,
1904
1924
  focusPreviousPage,
1925
+ replaceAll,
1926
+ setExcludeValue,
1927
+ setIncludeValue,
1928
+ setReplaceValue,
1905
1929
  setValue,
1906
1930
  toggleMatchCase,
1907
1931
  toggleMatchWholeWord,
1908
1932
  togglePreserveCase,
1933
+ toggleReplace,
1934
+ toggleSearchDetails,
1909
1935
  toggleUseRegularExpression
1910
1936
  };
1911
1937
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "3.4.0",
3
+ "version": "3.5.0",
4
4
  "description": "",
5
5
  "main": "dist/testWorkerMain.js",
6
6
  "type": "module",