@wibetter/json-editor 5.1.17 → 5.1.18

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.17
2
+ * @wibetter/json-editor v5.1.18
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Tue Jan 21 2025 18:42:46 GMT+0800 (中国标准时间)
5
+ * build time: Wed Jan 22 2025 12:03:17 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.17
2
+ * @wibetter/json-editor v5.1.18
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Tue Jan 21 2025 18:42:46 GMT+0800 (中国标准时间)
5
+ * build time: Wed Jan 22 2025 12:03:17 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8211,7 +8211,12 @@ function getWrapOptions(options) {
8211
8211
  var curOptions = [];
8212
8212
  if ((0,_wibetter_json_utils__WEBPACK_IMPORTED_MODULE_0__.isArray)(options)) {
8213
8213
  options.forEach(function (option) {
8214
- if ((0,_wibetter_json_utils__WEBPACK_IMPORTED_MODULE_0__.isObject)(option)) {
8214
+ curOptions.push({
8215
+ label: getObjectTitle(option),
8216
+ value: option // isObject(option.value) ? option.value : option,
8217
+ });
8218
+ /*
8219
+ if (isObject(option)) {
8215
8220
  curOptions.push({
8216
8221
  label: getObjectTitle(option),
8217
8222
  value: option // isObject(option.value) ? option.value : option,
@@ -8219,6 +8224,7 @@ function getWrapOptions(options) {
8219
8224
  } else {
8220
8225
  curOptions.push(option);
8221
8226
  }
8227
+ */
8222
8228
  });
8223
8229
  }
8224
8230
  return curOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wibetter/json-editor",
3
- "version": "5.1.17",
3
+ "version": "5.1.18",
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.17
2
+ * @wibetter/json-editor v5.1.18
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Tue Jan 21 2025 18:42:58 GMT+0800 (中国标准时间)
5
+ * build time: Wed Jan 22 2025 12:03:03 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.17
2
+ * @wibetter/json-editor v5.1.18
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Tue Jan 21 2025 18:42:58 GMT+0800 (中国标准时间)
5
+ * build time: Wed Jan 22 2025 12:03:03 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -74507,7 +74507,12 @@ function getWrapOptions(options) {
74507
74507
  var curOptions = [];
74508
74508
  if ((0,_wibetter_json_utils__WEBPACK_IMPORTED_MODULE_0__.isArray)(options)) {
74509
74509
  options.forEach(function (option) {
74510
- if ((0,_wibetter_json_utils__WEBPACK_IMPORTED_MODULE_0__.isObject)(option)) {
74510
+ curOptions.push({
74511
+ label: getObjectTitle(option),
74512
+ value: option // isObject(option.value) ? option.value : option,
74513
+ });
74514
+ /*
74515
+ if (isObject(option)) {
74511
74516
  curOptions.push({
74512
74517
  label: getObjectTitle(option),
74513
74518
  value: option // isObject(option.value) ? option.value : option,
@@ -74515,6 +74520,7 @@ function getWrapOptions(options) {
74515
74520
  } else {
74516
74521
  curOptions.push(option);
74517
74522
  }
74523
+ */
74518
74524
  });
74519
74525
  }
74520
74526
  return curOptions;