@lvce-editor/editor-worker 8.1.0 → 8.2.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.
@@ -8083,13 +8083,18 @@ const {
8083
8083
  focusReplaceButton,
8084
8084
  focusToggleReplace,
8085
8085
  handleBlur,
8086
+ handleClickButton,
8086
8087
  handleFocus,
8087
8088
  handleInput: handleInput$1,
8088
8089
  handleReplaceFocus,
8089
8090
  handleReplaceInput,
8090
8091
  handleToggleReplaceFocus,
8091
- toggleReplace
8092
- } = createFns(['close', 'focusCloseButton', 'focusFind', 'focusNext', 'focusNextMatchButton', 'focusPrevious', 'focusPreviousMatchButton', 'focusReplace', 'focusReplaceAllButton', 'focusReplaceButton', 'focusToggleReplace', 'handleBlur', 'handleFocus', 'handleInput', 'handleReplaceFocus', 'handleReplaceInput', 'handleToggleReplaceFocus', 'toggleReplace'], 'FindWidget', Find);
8092
+ replace,
8093
+ replaceAll,
8094
+ toggleMatchCase,
8095
+ toggleReplace,
8096
+ toggleUseRegularExpression
8097
+ } = createFns(['close', 'focusCloseButton', 'focusFind', 'focusNext', 'focusNextMatchButton', 'focusPrevious', 'focusPreviousMatchButton', 'focusReplace', 'focusReplaceAllButton', 'focusReplaceButton', 'focusToggleReplace', 'handleBlur', 'handleClickButton', 'handleFocus', 'handleInput', 'handleReplaceFocus', 'handleReplaceInput', 'handleToggleReplaceFocus', 'replace', 'replaceAll', 'toggleMatchCase', 'toggleReplace', 'toggleUseRegularExpression'], 'FindWidget', Find);
8093
8098
 
8094
8099
  const EditorFindWidget = {
8095
8100
  __proto__: null,
@@ -8106,6 +8111,7 @@ const EditorFindWidget = {
8106
8111
  focusReplaceButton,
8107
8112
  focusToggleReplace,
8108
8113
  handleBlur,
8114
+ handleClickButton,
8109
8115
  handleFocus,
8110
8116
  handleInput: handleInput$1,
8111
8117
  handleReplaceFocus,
@@ -8113,7 +8119,11 @@ const EditorFindWidget = {
8113
8119
  handleToggleReplaceFocus,
8114
8120
  remove: remove$6,
8115
8121
  render: render$a,
8116
- toggleReplace
8122
+ replace,
8123
+ replaceAll,
8124
+ toggleMatchCase,
8125
+ toggleReplace,
8126
+ toggleUseRegularExpression
8117
8127
  };
8118
8128
 
8119
8129
  const loadContent = async (editorUid, state, position) => {
@@ -10523,12 +10533,16 @@ const commandMap = {
10523
10533
  'FindWidget.focusReplaceAllButton': focusReplaceAllButton,
10524
10534
  'FindWidget.focusReplaceButton': focusReplaceButton,
10525
10535
  'FindWidget.focusToggleReplace': focusToggleReplace,
10536
+ 'FindWidget.replace': replace,
10537
+ 'FindWidget.replaceAll': replaceAll,
10526
10538
  'FindWidget.handleBlur': handleBlur,
10527
10539
  'FindWidget.handleFocus': handleFocus,
10540
+ 'FindWidget.handleClickButton': handleClickButton,
10528
10541
  'FindWidget.handleInput': handleInput$1,
10529
10542
  'FindWidget.handleReplaceFocus': handleReplaceFocus,
10530
10543
  'FindWidget.handleReplaceInput': handleReplaceInput,
10531
10544
  'FindWidget.handleToggleReplaceFocus': handleToggleReplaceFocus,
10545
+ 'FindWidget.toggleMatchCase': toggleMatchCase,
10532
10546
  'FindWidget.loadContent': loadContent$1,
10533
10547
  'FindWidget.toggleReplace': toggleReplace,
10534
10548
  'Font.ensure': ensure,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "8.1.0",
3
+ "version": "8.2.0",
4
4
  "license": "MIT",
5
5
  "author": "Lvce Editor",
6
6
  "type": "module",