@tntd/monaco-editor 1.0.2 → 1.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tntd/monaco-editor",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "scripts": {
5
5
  "start": "webpack-dev-server --config webpack.config.js",
6
6
  "build": "rm -rf ./dist && webpack --config webpack.config.build.js",
@@ -35,6 +35,8 @@ const FormulaEditor = forwardRef((props, ref) => {
35
35
  searchCb,
36
36
  cnCodeToEnExtraLogic,
37
37
  enCodeToCnExtraLogic,
38
+ cnCodeToEnUniqueLogic,
39
+ enCodeToCnUniqueLogic,
38
40
  onChange,
39
41
  readOnly,
40
42
 
@@ -108,6 +110,8 @@ const FormulaEditor = forwardRef((props, ref) => {
108
110
  regExp,
109
111
  cnCodeToEnExtraLogic,
110
112
  enCodeToCnExtraLogic,
113
+ cnCodeToEnUniqueLogic,
114
+ enCodeToCnUniqueLogic,
111
115
  fieldNames: cascaderOptions.fieldNames
112
116
  });
113
117
 
@@ -180,7 +184,9 @@ const FormulaEditor = forwardRef((props, ref) => {
180
184
  normalList: normalList || [],
181
185
  regExp,
182
186
  cnCodeToEnExtraLogic,
183
- enCodeToCnExtraLogic
187
+ enCodeToCnExtraLogic,
188
+ cnCodeToEnUniqueLogic,
189
+ enCodeToCnUniqueLogic
184
190
  });
185
191
 
186
192
  const modeField = converterPluginRef.current.getModeField();