@wibetter/json-editor 5.0.16 → 5.0.17

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
@@ -2,7 +2,7 @@
2
2
  * @wibetter/json-editor v5.0.16
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Sun Dec 29 2024 02:47:09 GMT+0800 (中国标准时间)
5
+ * build time: Mon Dec 30 2024 15:48:09 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
package/lib/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * @wibetter/json-editor v5.0.16
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Sun Dec 29 2024 02:47:09 GMT+0800 (中国标准时间)
5
+ * build time: Mon Dec 30 2024 15:48:09 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -5269,7 +5269,7 @@ var SohuEventSchema = /*#__PURE__*/function (_React$PureComponent) {
5269
5269
  nodeKey = _this$props4.nodeKey,
5270
5270
  keyRoute = _this$props4.keyRoute,
5271
5271
  targetJsonSchema = _this$props4.targetJsonSchema;
5272
- var options = options || {};
5272
+ var options = _options || {};
5273
5273
  var curJsonData = getJSONDataByKeyRoute(keyRoute);
5274
5274
  var globalEventMap = curJsonData.globalEventMap || {}; // 全局事件列表
5275
5275
  var curEventList = curJsonData.event || []; // 当前组件事件列表
@@ -5279,7 +5279,7 @@ var SohuEventSchema = /*#__PURE__*/function (_React$PureComponent) {
5279
5279
  var eventEmitConfig = options.eventEmitConfig || [];
5280
5280
  var eventListenConfig = options.eventListenConfig || [];
5281
5281
  var allEmitEventList = options.allEmitEventList || [];
5282
- var isEmpty = widgetType !== 'page' && eventEmitConfig.length === 0 && eventListenConfig.length === 0;
5282
+ var isEmpty = widgetType !== 'page' && eventEmitConfig.length === 0 || eventListenConfig.length === 0;
5283
5283
 
5284
5284
  // 获取前端缓存中的折叠数据
5285
5285
  var collapseData = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wibetter/json-editor",
3
- "version": "5.0.16",
3
+ "version": "5.0.17",
4
4
  "description": "JSON数据可视化/JSONEditor, 可视化界面编辑json数据",
5
5
  "keywords": [
6
6
  "json",
package/sdk/index.css CHANGED
@@ -2,7 +2,7 @@
2
2
  * @wibetter/json-editor v5.0.16
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Sun Dec 29 2024 02:44:57 GMT+0800 (中国标准时间)
5
+ * build time: Mon Dec 30 2024 15:48:22 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\