@lvce-editor/test-worker 3.4.0 → 3.6.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');
@@ -1867,6 +1881,9 @@ const focusFirst$1 = async () => {
1867
1881
  const focusIndex$1 = async index => {
1868
1882
  await invoke('Search.focusIndex', index);
1869
1883
  };
1884
+ const selectIndex = async index => {
1885
+ await invoke('Search.selectIndex', index);
1886
+ };
1870
1887
  const focusNext$1 = async () => {
1871
1888
  await invoke('Search.focusNext');
1872
1889
  };
@@ -1879,6 +1896,9 @@ const focusPreviousPage = async () => {
1879
1896
  const focusPrevious$1 = async () => {
1880
1897
  await invoke('Search.focusPrevious');
1881
1898
  };
1899
+ const toggleSearchDetails = async () => {
1900
+ await invoke('Search.toggleSearchDetails');
1901
+ };
1882
1902
  const toggleMatchCase = async () => {
1883
1903
  await invoke('Search.toggleMatchCase');
1884
1904
  };
@@ -1891,6 +1911,9 @@ const togglePreserveCase = async () => {
1891
1911
  const toggleUseRegularExpression = async () => {
1892
1912
  await invoke('Search.toggleUseRegularExpression');
1893
1913
  };
1914
+ const toggleReplace = async () => {
1915
+ await invoke('Search.toggleReplace');
1916
+ };
1894
1917
 
1895
1918
  const TestFrameWorkComponentSearch = {
1896
1919
  __proto__: null,
@@ -1902,10 +1925,17 @@ const TestFrameWorkComponentSearch = {
1902
1925
  focusNextPage,
1903
1926
  focusPrevious: focusPrevious$1,
1904
1927
  focusPreviousPage,
1928
+ replaceAll,
1929
+ selectIndex,
1930
+ setExcludeValue,
1931
+ setIncludeValue,
1932
+ setReplaceValue,
1905
1933
  setValue,
1906
1934
  toggleMatchCase,
1907
1935
  toggleMatchWholeWord,
1908
1936
  togglePreserveCase,
1937
+ toggleReplace,
1938
+ toggleSearchDetails,
1909
1939
  toggleUseRegularExpression
1910
1940
  };
1911
1941
 
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.6.0",
4
4
  "description": "",
5
5
  "main": "dist/testWorkerMain.js",
6
6
  "type": "module",