@wibetter/json-editor 5.1.5 → 5.1.6

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/lib/index.css CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * @wibetter/json-editor v5.1.5
2
+ * @wibetter/json-editor v5.1.6
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Fri Jan 10 2025 18:21:54 GMT+0800 (中国标准时间)
5
+ * build time: Fri Jan 10 2025 22:53:25 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.5
2
+ * @wibetter/json-editor v5.1.6
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Fri Jan 10 2025 18:21:54 GMT+0800 (中国标准时间)
5
+ * build time: Fri Jan 10 2025 22:53:25 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -853,6 +853,7 @@ var ArraySchema = /*#__PURE__*/function (_React$PureComponent) {
853
853
  };
854
854
  _proto.render = function render() {
855
855
  var _targetJsonSchema$sho,
856
+ _targetJsonSchema$box,
856
857
  _this2 = this;
857
858
  var _this$props = this.props,
858
859
  schemaStore = _this$props.schemaStore,
@@ -896,6 +897,7 @@ var ArraySchema = /*#__PURE__*/function (_React$PureComponent) {
896
897
  if (activeArrIndexCache !== undefined) {
897
898
  currentActiveArrIndex = activeArrIndexCache;
898
899
  }
900
+ var boxTitle = (_targetJsonSchema$box = targetJsonSchema.boxTitle) != null ? _targetJsonSchema$box : '数据配置';
899
901
  var style = targetJsonSchema.style ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_12__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_3__.toJS)(targetJsonSchema.style)) : {};
900
902
  var titleStyle = targetJsonSchema.titleStyle ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_12__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_3__.toJS)(targetJsonSchema.titleStyle)) : {};
901
903
  var contentStyle = targetJsonSchema.contentStyle ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_12__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_3__.toJS)(targetJsonSchema.contentStyle)) : {};
@@ -929,7 +931,7 @@ var ArraySchema = /*#__PURE__*/function (_React$PureComponent) {
929
931
  onClick: this.collapseChange
930
932
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", {
931
933
  className: "title-text"
932
- }, "\u6570\u7EC4\u914D\u7F6E"), isClosed ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_6__.RightOutlined, {
934
+ }, boxTitle), isClosed ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_6__.RightOutlined, {
933
935
  className: "close-operate-btn"
934
936
  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_6__.DownOutlined, {
935
937
  className: "close-operate-btn"
@@ -2743,6 +2745,7 @@ var ObjectSchema = /*#__PURE__*/function (_React$PureComponent) {
2743
2745
  };
2744
2746
  _proto.render = function render() {
2745
2747
  var _targetJsonSchema$sho,
2748
+ _targetJsonSchema$box,
2746
2749
  _this2 = this;
2747
2750
  var _this$props = this.props,
2748
2751
  schemaStore = _this$props.schemaStore,
@@ -2781,6 +2784,7 @@ var ObjectSchema = /*#__PURE__*/function (_React$PureComponent) {
2781
2784
  if (collapseCacheData !== undefined) {
2782
2785
  isClosed = collapseCacheData;
2783
2786
  }
2787
+ var boxTitle = (_targetJsonSchema$box = targetJsonSchema.boxTitle) != null ? _targetJsonSchema$box : '动态配置';
2784
2788
  var style = targetJsonSchema.style ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_8__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_3__.toJS)(targetJsonSchema.style)) : {};
2785
2789
  var titleStyle = targetJsonSchema.titleStyle ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_8__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_3__.toJS)(targetJsonSchema.titleStyle)) : {};
2786
2790
  var contentStyle = targetJsonSchema.contentStyle ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_8__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_3__.toJS)(targetJsonSchema.contentStyle)) : {};
@@ -2814,7 +2818,7 @@ var ObjectSchema = /*#__PURE__*/function (_React$PureComponent) {
2814
2818
  onClick: this.collapseChange
2815
2819
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", {
2816
2820
  className: "title-text"
2817
- }, "\u52A8\u6001\u914D\u7F6E"), isClosed ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_6__.RightOutlined, {
2821
+ }, boxTitle), isClosed ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_6__.RightOutlined, {
2818
2822
  className: "close-operate-btn"
2819
2823
  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_6__.DownOutlined, {
2820
2824
  className: "close-operate-btn"
@@ -4676,6 +4680,7 @@ var ObjectSchema = /*#__PURE__*/function (_React$PureComponent) {
4676
4680
  };
4677
4681
  _proto.render = function render() {
4678
4682
  var _targetJsonSchema$sho,
4683
+ _targetJsonSchema$box,
4679
4684
  _this2 = this;
4680
4685
  var _this$props = this.props,
4681
4686
  schemaStore = _this$props.schemaStore,
@@ -4705,6 +4710,7 @@ var ObjectSchema = /*#__PURE__*/function (_React$PureComponent) {
4705
4710
  if (collapseCacheData !== undefined) {
4706
4711
  isClosed = collapseCacheData;
4707
4712
  }
4713
+ var boxTitle = (_targetJsonSchema$box = targetJsonSchema.boxTitle) != null ? _targetJsonSchema$box : '对象配置';
4708
4714
  var style = targetJsonSchema.style ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_13__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_3__.toJS)(targetJsonSchema.style)) : {};
4709
4715
  var titleStyle = targetJsonSchema.titleStyle ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_13__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_3__.toJS)(targetJsonSchema.titleStyle)) : {};
4710
4716
  var contentStyle = targetJsonSchema.contentStyle ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_13__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_3__.toJS)(targetJsonSchema.contentStyle)) : {};
@@ -4738,7 +4744,7 @@ var ObjectSchema = /*#__PURE__*/function (_React$PureComponent) {
4738
4744
  onClick: this.collapseChange
4739
4745
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", {
4740
4746
  className: "title-text"
4741
- }, "\u5BF9\u8C61\u914D\u7F6E"), isClosed ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_6__.RightOutlined, {
4747
+ }, boxTitle), isClosed ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_6__.RightOutlined, {
4742
4748
  className: "close-operate-btn"
4743
4749
  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_6__.DownOutlined, {
4744
4750
  className: "close-operate-btn"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wibetter/json-editor",
3
- "version": "5.1.5",
3
+ "version": "5.1.6",
4
4
  "description": "JSON数据可视化/JSONEditor, 可视化界面编辑json数据",
5
5
  "keywords": [
6
6
  "json",
package/sdk/index.css CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * @wibetter/json-editor v5.1.5
2
+ * @wibetter/json-editor v5.1.6
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Fri Jan 10 2025 18:21:39 GMT+0800 (中国标准时间)
5
+ * build time: Fri Jan 10 2025 22:53:35 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
package/sdk/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * @wibetter/json-editor v5.1.5
2
+ * @wibetter/json-editor v5.1.6
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Fri Jan 10 2025 18:21:39 GMT+0800 (中国标准时间)
5
+ * build time: Fri Jan 10 2025 22:53:35 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -67304,6 +67304,7 @@ var ArraySchema = /*#__PURE__*/function (_React$PureComponent) {
67304
67304
  };
67305
67305
  _proto.render = function render() {
67306
67306
  var _targetJsonSchema$sho,
67307
+ _targetJsonSchema$box,
67307
67308
  _this2 = this;
67308
67309
  var _this$props = this.props,
67309
67310
  schemaStore = _this$props.schemaStore,
@@ -67347,6 +67348,7 @@ var ArraySchema = /*#__PURE__*/function (_React$PureComponent) {
67347
67348
  if (activeArrIndexCache !== undefined) {
67348
67349
  currentActiveArrIndex = activeArrIndexCache;
67349
67350
  }
67351
+ var boxTitle = (_targetJsonSchema$box = targetJsonSchema.boxTitle) != null ? _targetJsonSchema$box : '数据配置';
67350
67352
  var style = targetJsonSchema.style ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_8__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_2__.toJS)(targetJsonSchema.style)) : {};
67351
67353
  var titleStyle = targetJsonSchema.titleStyle ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_8__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_2__.toJS)(targetJsonSchema.titleStyle)) : {};
67352
67354
  var contentStyle = targetJsonSchema.contentStyle ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_8__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_2__.toJS)(targetJsonSchema.contentStyle)) : {};
@@ -67380,7 +67382,7 @@ var ArraySchema = /*#__PURE__*/function (_React$PureComponent) {
67380
67382
  onClick: this.collapseChange
67381
67383
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("span", {
67382
67384
  className: "title-text"
67383
- }, "\u6570\u7EC4\u914D\u7F6E"), isClosed ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_17__["default"], {
67385
+ }, boxTitle), isClosed ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_17__["default"], {
67384
67386
  className: "close-operate-btn"
67385
67387
  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_18__["default"], {
67386
67388
  className: "close-operate-btn"
@@ -69151,6 +69153,7 @@ var ObjectSchema = /*#__PURE__*/function (_React$PureComponent) {
69151
69153
  };
69152
69154
  _proto.render = function render() {
69153
69155
  var _targetJsonSchema$sho,
69156
+ _targetJsonSchema$box,
69154
69157
  _this2 = this;
69155
69158
  var _this$props = this.props,
69156
69159
  schemaStore = _this$props.schemaStore,
@@ -69189,6 +69192,7 @@ var ObjectSchema = /*#__PURE__*/function (_React$PureComponent) {
69189
69192
  if (collapseCacheData !== undefined) {
69190
69193
  isClosed = collapseCacheData;
69191
69194
  }
69195
+ var boxTitle = (_targetJsonSchema$box = targetJsonSchema.boxTitle) != null ? _targetJsonSchema$box : '动态配置';
69192
69196
  var style = targetJsonSchema.style ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_4__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_2__.toJS)(targetJsonSchema.style)) : {};
69193
69197
  var titleStyle = targetJsonSchema.titleStyle ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_4__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_2__.toJS)(targetJsonSchema.titleStyle)) : {};
69194
69198
  var contentStyle = targetJsonSchema.contentStyle ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_4__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_2__.toJS)(targetJsonSchema.contentStyle)) : {};
@@ -69222,7 +69226,7 @@ var ObjectSchema = /*#__PURE__*/function (_React$PureComponent) {
69222
69226
  onClick: this.collapseChange
69223
69227
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", {
69224
69228
  className: "title-text"
69225
- }, "\u52A8\u6001\u914D\u7F6E"), isClosed ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_12__["default"], {
69229
+ }, boxTitle), isClosed ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_12__["default"], {
69226
69230
  className: "close-operate-btn"
69227
69231
  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_13__["default"], {
69228
69232
  className: "close-operate-btn"
@@ -71043,6 +71047,7 @@ var ObjectSchema = /*#__PURE__*/function (_React$PureComponent) {
71043
71047
  };
71044
71048
  _proto.render = function render() {
71045
71049
  var _targetJsonSchema$sho,
71050
+ _targetJsonSchema$box,
71046
71051
  _this2 = this;
71047
71052
  var _this$props = this.props,
71048
71053
  schemaStore = _this$props.schemaStore,
@@ -71072,6 +71077,7 @@ var ObjectSchema = /*#__PURE__*/function (_React$PureComponent) {
71072
71077
  if (collapseCacheData !== undefined) {
71073
71078
  isClosed = collapseCacheData;
71074
71079
  }
71080
+ var boxTitle = (_targetJsonSchema$box = targetJsonSchema.boxTitle) != null ? _targetJsonSchema$box : '对象配置';
71075
71081
  var style = targetJsonSchema.style ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_9__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_2__.toJS)(targetJsonSchema.style)) : {};
71076
71082
  var titleStyle = targetJsonSchema.titleStyle ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_9__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_2__.toJS)(targetJsonSchema.titleStyle)) : {};
71077
71083
  var contentStyle = targetJsonSchema.contentStyle ? (0,$utils_index__WEBPACK_IMPORTED_MODULE_9__.buildStyle)((0,mobx__WEBPACK_IMPORTED_MODULE_2__.toJS)(targetJsonSchema.contentStyle)) : {};
@@ -71105,7 +71111,7 @@ var ObjectSchema = /*#__PURE__*/function (_React$PureComponent) {
71105
71111
  onClick: this.collapseChange
71106
71112
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", {
71107
71113
  className: "title-text"
71108
- }, "\u5BF9\u8C61\u914D\u7F6E"), isClosed ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_13__["default"], {
71114
+ }, boxTitle), isClosed ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_13__["default"], {
71109
71115
  className: "close-operate-btn"
71110
71116
  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_14__["default"], {
71111
71117
  className: "close-operate-btn"