@wibetter/json-editor 5.1.20 → 5.1.22

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/README.md CHANGED
@@ -17,7 +17,7 @@ React/Mobx/Ant Design
17
17
  codearea、htmlarea、text-editor([使用说明](https://github.com/wibetter/json-editor/blob/master/docs/TextEditor.md))、quantity、box-style、padding-margin)
18
18
  5. 支持json转schema能力,当schemaData为空而jsonData不为空时,自动通过json转换一个对应的schemaData
19
19
  6. 支持通过表达式设置数据联动(支持两种数据域:全局数据域、当前局部数据域)
20
- 7. 支持源码模式切换()
20
+ 7. 支持源码模式切换(开启源码模式后可以开启编辑模式)
21
21
 
22
22
  ***
23
23
 
package/lib/index.css CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * @wibetter/json-editor v5.1.20
2
+ * @wibetter/json-editor v5.1.21
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Thu Jan 23 2025 18:30:34 GMT+0800 (中国标准时间)
5
+ * build time: Thu Jan 23 2025 18:52:03 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
package/lib/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * @wibetter/json-editor v5.1.20
2
+ * @wibetter/json-editor v5.1.21
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Thu Jan 23 2025 18:30:34 GMT+0800 (中国标准时间)
5
+ * build time: Thu Jan 23 2025 18:52:03 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -5935,7 +5935,7 @@ var SelectSchema = /*#__PURE__*/function (_React$PureComponent) {
5935
5935
  }
5936
5936
  };
5937
5937
  _proto.render = function render() {
5938
- var _curJsonData, _targetJsonSchema$sho, _targetJsonSchema$def, _targetJsonSchema$all;
5938
+ var _targetJsonSchema$sho, _targetJsonSchema$def, _targetJsonSchema$all;
5939
5939
  var _this$props2 = this.props,
5940
5940
  schemaStore = _this$props2.schemaStore,
5941
5941
  jsonStore = _this$props2.jsonStore;
@@ -5968,7 +5968,7 @@ var SelectSchema = /*#__PURE__*/function (_React$PureComponent) {
5968
5968
  });
5969
5969
  curJsonData = valueArray;
5970
5970
  }
5971
- var curValue = (_curJsonData = curJsonData) != null ? _curJsonData : targetJsonSchema.default;
5971
+ var curValue = curJsonData != null ? curJsonData : targetJsonSchema.default;
5972
5972
  if ((0,_wibetter_json_utils__WEBPACK_IMPORTED_MODULE_5__.isObject)(curValue)) {
5973
5973
  curValue = JSON.stringify(curValue);
5974
5974
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wibetter/json-editor",
3
- "version": "5.1.20",
3
+ "version": "5.1.22",
4
4
  "description": "JSON数据可视化/JSONEditor, 可视化界面编辑json数据",
5
5
  "keywords": [
6
6
  "json",
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@ant-design/icons": "^4.2.1",
30
30
  "ace-builds": "^1.35.4",
31
- "@wibetter/json-utils": "^5.0.1",
31
+ "@wibetter/json-utils": "^5.1.20",
32
32
  "antd": "^5.20.1",
33
33
  "braft-editor": "^2.3.9",
34
34
  "braft-extensions": "^0.1.1",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "akfun": "^5.0.0",
47
- "@wibetter/json-schema-editor": "^5.0.1"
47
+ "@wibetter/json-schema-editor": "^5.1.20"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">= 10.13.0",
package/sdk/index.css CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * @wibetter/json-editor v5.1.20
2
+ * @wibetter/json-editor v5.1.21
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Thu Jan 23 2025 18:30:44 GMT+0800 (中国标准时间)
5
+ * build time: Thu Jan 23 2025 18:52:13 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\