@wibetter/json-editor 5.1.10 → 5.1.11

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.10
2
+ * @wibetter/json-editor v5.1.11
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Thu Jan 16 2025 14:24:23 GMT+0800 (中国标准时间)
5
+ * build time: Thu Jan 16 2025 17:05:08 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.10
2
+ * @wibetter/json-editor v5.1.11
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Thu Jan 16 2025 14:24:23 GMT+0800 (中国标准时间)
5
+ * build time: Thu Jan 16 2025 17:05:08 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -5934,7 +5934,7 @@ var SelectSchema = /*#__PURE__*/function (_React$PureComponent) {
5934
5934
  }
5935
5935
  };
5936
5936
  _proto.render = function render() {
5937
- var _targetJsonSchema$sho, _targetJsonSchema$all;
5937
+ var _targetJsonSchema$sho, _targetJsonSchema$def, _targetJsonSchema$all;
5938
5938
  var _this$props2 = this.props,
5939
5939
  schemaStore = _this$props2.schemaStore,
5940
5940
  jsonStore = _this$props2.jsonStore;
@@ -6004,6 +6004,8 @@ var SelectSchema = /*#__PURE__*/function (_React$PureComponent) {
6004
6004
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(antd__WEBPACK_IMPORTED_MODULE_6__.Select, {
6005
6005
  showSearch: (_targetJsonSchema$sho = targetJsonSchema.showSearch) != null ? _targetJsonSchema$sho : true,
6006
6006
  mode: targetJsonSchema.multiple ? 'multiple' : undefined,
6007
+ defaultActiveFirstOption: (_targetJsonSchema$def = targetJsonSchema.defaultActiveFirstOption) != null ? _targetJsonSchema$def : false // 默认不选中第一条
6008
+ ,
6007
6009
  style: {
6008
6010
  display: 'inline-block',
6009
6011
  minWidth: '120px'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wibetter/json-editor",
3
- "version": "5.1.10",
3
+ "version": "5.1.11",
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.10
2
+ * @wibetter/json-editor v5.1.11
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Thu Jan 16 2025 14:24:02 GMT+0800 (中国标准时间)
5
+ * build time: Thu Jan 16 2025 17:05:40 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\