@wibetter/json-schema-editor 5.0.22 → 5.1.0

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,7 +1,7 @@
1
1
  /*!
2
- * @wibetter/json-schema-editor v5.0.21
2
+ * @wibetter/json-schema-editor v5.1.0
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Tue Dec 31 2024 17:31:40 GMT+0800 (中国标准时间)
5
+ * build time: Thu Jan 09 2025 11:08:23 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */.advance-config-model{padding:8px 10px;position:relative;text-align:center}.advance-config-model .mobile-screen-element-warp,.advance-config-model .small-screen-element-warp{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;line-height:38px;margin-bottom:12px;min-width:280px;position:relative}.advance-config-model .mobile-screen-element-warp .element-title,.advance-config-model .small-screen-element-warp .element-title{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-right:12px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;word-break:keep-all}.advance-config-model .mobile-screen-element-warp .content-item,.advance-config-model .small-screen-element-warp .content-item{position:relative;text-align:left}.advance-config-model .mobile-screen-element-warp .content-item>.mobile-screen-element-warp,.advance-config-model .mobile-screen-element-warp .content-item>.small-screen-element-warp,.advance-config-model .small-screen-element-warp .content-item>.mobile-screen-element-warp,.advance-config-model .small-screen-element-warp .content-item>.small-screen-element-warp{min-width:230px}.advance-config-model .mobile-screen-element-warp .content-item .color-item-form,.advance-config-model .small-screen-element-warp .content-item .color-item-form{width:60px}.advance-config-model .mobile-screen-element-warp .content-item .add-rule-condition-btn,.advance-config-model .small-screen-element-warp .content-item .add-rule-condition-btn{margin:3px 0}.advance-config-model .wide-screen-element-warp{-webkit-box-pack:start;-moz-box-pack:start;-ms-flex-pack:start;-webkit-box-align:start;-moz-box-align:start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:30px;margin-bottom:6px;min-width:350px;position:relative}.advance-config-model .wide-screen-element-warp .element-title{-webkit-box-flex:0;-moz-box-flex:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-flex:0 1 100px;-ms-flex:0 1 100px;flex:0 1 100px;margin-right:12px;max-width:100px;overflow:hidden;padding-left:12px;text-align:right;text-overflow:ellipsis;white-space:nowrap;word-break:keep-all}.advance-config-model .wide-screen-element-warp .content-item{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 1 200px;-ms-flex:1 1 200px;flex:1 1 200px;text-align:left}.advance-config-model .wide-screen-element-warp .content-item .color-item-form{width:60px}.advance-config-model .wide-screen-element-warp .content-item .add-rule-condition-btn{margin:3px 0}.advance-config-model .code-area-item{max-width:600px;min-width:230px}.advance-config-model .hidden-rule-box{border-top:1px solid #ccc;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:10px auto 0;padding:8px 15px;width:450px}.advance-config-model .hidden-rule-box .rule-title{-webkit-box-pack:justify;-moz-box-pack:justify;-ms-flex-pack:justify;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-justify-content:space-between;justify-content:space-between;line-height:30px}.advance-config-model .hidden-rule-box .rule-condition-box{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;background-color:#f8f8f8;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;line-height:30px;min-height:30px;padding:8px 10px;position:relative}.advance-config-model .hidden-rule-box .rule-condition-box .condition-title{-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 0 70px;-ms-flex:0 0 70px;flex:0 0 70px;text-align:center}.advance-config-model .hidden-rule-box .rule-condition-box .condition-equal{-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 0 40px;-ms-flex:0 0 40px;flex:0 0 40px;text-align:center}.advance-config-model .hidden-rule-box .rule-condition-box .condition-prop,.advance-config-model .hidden-rule-box .rule-condition-box .condition-value{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 1 100px;-ms-flex:1 1 100px;flex:1 1 100px;text-align:left}.advance-config-model .hidden-rule-box .rule-condition-box .ant-select-single{max-width:145px}.advance-config-model .warning-box{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-moz-box-orient:horizontal;-moz-box-direction:normal;-webkit-box-pack:start;-moz-box-pack:start;-ms-flex-pack:start;-ms-flex-align:center;background-color:#feeceb;color:red;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;font-size:12px;-webkit-justify-content:flex-start;justify-content:flex-start;padding:8px 0;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:cubic-bezier(0,1,.5,1);transition-timing-function:cubic-bezier(0,1,.5,1);width:100%}.advance-config-model .warning-box,.advance-config-model .warning-box .warning-img{-webkit-box-align:center;-moz-box-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.advance-config-model .warning-box .warning-img{-webkit-box-flex:0;-moz-box-flex:0;-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-ms-flex-align:center;-webkit-flex:0 1 60px;-ms-flex:0 1 60px;flex:0 1 60px;-webkit-justify-content:center;justify-content:center}.advance-config-model .warning-box .warning-text{-webkit-box-flex:1;-moz-box-flex:1;-webkit-box-pack:start;-moz-box-pack:start;-ms-flex-pack:start;-webkit-flex:1 1 160px;-ms-flex:1 1 160px;flex:1 1 160px;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:20px}.advance-config-model .form-item-box,.advance-config-model .warning-box .warning-text{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.advance-config-model .form-item-box{-webkit-box-pack:stretch;-moz-box-pack:stretch;-ms-flex-pack:stretch;-webkit-justify-content:stretch;justify-content:stretch;min-height:30px}.base-schema-box{-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-justify-content:center;justify-content:center;min-height:35px;position:relative}.base-schema-box .warn-text{color:#ad4e00;width:100%}.base-schema-box .key-input-item{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 1 200px;-ms-flex:1 1 200px;flex:1 1 200px;padding-right:8px}.base-schema-box .type-select-item{-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 1 120px;-ms-flex:0 1 120px;flex:0 1 120px;padding-right:8px}.base-schema-box .title-input-item{-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 1 200px;-ms-flex:0 1 200px;flex:0 1 200px}.base-schema-box .operate-item{-webkit-box-flex:0;-moz-box-flex:0;-webkit-box-pack:start;-moz-box-pack:start;-ms-flex-pack:start;-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex:0 1 110px;-ms-flex:0 1 110px;flex:0 1 110px;-webkit-justify-content:flex-start;justify-content:flex-start;padding-left:10px}.base-schema-box .operate-item .operate-btn{-webkit-box-flex:0;-moz-box-flex:0;color:#2395f1;cursor:pointer!important;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:8px;width:15px}.base-schema-box .operate-item .delete-operate{color:#ff561b}.base-schema-box .operate-item .drag-btn{color:#8a8a8a}.base-schema-box .operate-item .drag-btn:hover{color:#2395f1}.typeSelect-schema-box{-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-justify-content:center;justify-content:center;min-height:35px;position:relative}.typeSelect-schema-box .key-input-item{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 1 200px;-ms-flex:1 1 200px;flex:1 1 200px;padding-right:8px}.typeSelect-schema-box .key-input-item .ant-select{display:block}.typeSelect-schema-box .type-select-item{-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 1 120px;-ms-flex:0 1 120px;flex:0 1 120px;padding-right:8px}.typeSelect-schema-box .title-input-item{-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 1 200px;-ms-flex:0 1 200px;flex:0 1 200px}.typeSelect-schema-box .operate-item{-webkit-box-flex:0;-moz-box-flex:0;-webkit-box-pack:start;-moz-box-pack:start;-ms-flex-pack:start;-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex:0 1 110px;-ms-flex:0 1 110px;flex:0 1 110px;-webkit-justify-content:flex-start;justify-content:flex-start;padding-left:10px}.typeSelect-schema-box .operate-item .operate-btn{-webkit-box-flex:0;-moz-box-flex:0;color:#2395f1;cursor:pointer!important;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:8px;width:15px}.typeSelect-schema-box .operate-item .delete-operate{color:#ff561b}.typeSelect-schema-box .operate-item .drag-btn{background-image:url(//storage.jd.local/cdnnpm/jdw-web/img/drag-default.svg);background-size:contain;color:#8a8a8a;display:inline-block;height:18px;width:18px}.option-schema-box{-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-justify-content:center;justify-content:center;min-height:35px;position:relative}.option-schema-box .key-input-item{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 1 200px;-ms-flex:1 1 200px;flex:1 1 200px;padding-right:8px}.option-schema-box .type-select-item{-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 1 120px;-ms-flex:0 1 120px;flex:0 1 120px;padding-right:8px}.option-schema-box .title-input-item{-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 1 200px;-ms-flex:0 1 200px;flex:0 1 200px}.option-schema-box .operate-item{-webkit-box-flex:0;-moz-box-flex:0;-webkit-box-pack:start;-moz-box-pack:start;-ms-flex-pack:start;-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex:0 1 110px;-ms-flex:0 1 110px;flex:0 1 110px;-webkit-justify-content:flex-start;justify-content:flex-start;padding-left:10px}.option-schema-box .operate-item .operate-btn{-webkit-box-flex:0;-moz-box-flex:0;color:#2395f1;cursor:pointer!important;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:8px;width:15px}.option-schema-box .operate-item .delete-operate{color:#ff561b}.json-schema-container{padding:8px 10px;position:relative}.json-schema-container .schema-item-form{-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-justify-content:center;justify-content:center;min-height:35px;position:relative}.json-schema-empty{height:50px;line-height:50px;position:relative}.ant-tree-list-holder-inner{-webkit-box-align:stretch;-moz-box-align:stretch;-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch}.ant-tree-switcher{-webkit-box-flex:0;-moz-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.ant-tree-node-content-wrapper{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.ant-modal-close-x,.ant-tree .ant-tree-switcher{-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-justify-content:center;justify-content:center}
package/lib/index.js CHANGED
@@ -356,6 +356,7 @@
356
356
  xe = [
357
357
  'quantity',
358
358
  'box-style',
359
+ 'padding-margin',
359
360
  'text-editor',
360
361
  'json',
361
362
  'codearea',
@@ -2228,44 +2229,45 @@
2228
2229
  o()(t, e),
2229
2230
  (t.prototype.render = function () {
2230
2231
  var e,
2231
- t = this,
2232
- n = (this.props.schemaStore || {}).getSchemaByIndexRoute,
2233
- a = this.props,
2234
- o = a.parentType,
2235
- i = a.indexRoute,
2236
- s = a.jsonKey,
2237
- c = a.nodeKey,
2238
- l = a.targetJsonSchema,
2239
- p = this.state.showAdvanceConfig,
2240
- d = i ? (0, Oe.getParentIndexRoute)(i) : '',
2241
- m = d ? n(d) : {},
2242
- u = null == (e = m && m.isContainer) || e,
2243
- h = l.isFixed || this.props.isFixed || !1,
2244
- y =
2245
- (this.props.readOnly || l.readOnly,
2232
+ t,
2233
+ n = this,
2234
+ a = (this.props.schemaStore || {}).getSchemaByIndexRoute,
2235
+ o = this.props,
2236
+ i = o.parentType,
2237
+ s = o.indexRoute,
2238
+ c = o.jsonKey,
2239
+ l = o.nodeKey,
2240
+ p = o.targetJsonSchema,
2241
+ d = this.state.showAdvanceConfig,
2242
+ m = s ? (0, Oe.getParentIndexRoute)(s) : '',
2243
+ u = m ? a(m) : {},
2244
+ h = null == (e = u && u.isContainer) || e,
2245
+ y = p.isFixed || this.props.isFixed || !1,
2246
+ g =
2247
+ (this.props.readOnly || p.readOnly,
2246
2248
  void 0 !== this.props.keyIsFixed
2247
2249
  ? this.props.keyIsFixed
2248
- : !u || h),
2249
- g =
2250
+ : !h || y),
2251
+ f =
2250
2252
  void 0 !== this.props.typeIsFixed
2251
2253
  ? this.props.typeIsFixed
2252
- : h,
2253
- f =
2254
+ : y,
2255
+ v =
2254
2256
  void 0 !== this.props.titleIsFixed
2255
2257
  ? this.props.titleIsFixed
2256
- : h,
2257
- v = this.props.hideOperaBtn || !u,
2258
- x = !!v && this.props.showAdvanceBtn,
2259
- b = this.getCurrentTypeList(o),
2260
- E = l.type,
2261
- O = (0, Oe.isContainerSchema)(l);
2258
+ : y,
2259
+ x = this.props.hideOperaBtn || !h,
2260
+ b = null == (t = this.props.showAdvanceBtn) || t,
2261
+ E = this.getCurrentTypeList(i),
2262
+ O = p.type,
2263
+ C = (0, Oe.isContainerSchema)(p);
2262
2264
  return r.createElement(
2263
2265
  r.Fragment,
2264
2266
  null,
2265
- l &&
2267
+ p &&
2266
2268
  r.createElement(
2267
2269
  'div',
2268
- { className: 'base-schema-box', id: c },
2270
+ { className: 'base-schema-box', id: l },
2269
2271
  r.createElement(
2270
2272
  'div',
2271
2273
  {
@@ -2274,8 +2276,8 @@
2274
2276
  onDragStart: this.ignoreDragEvent,
2275
2277
  },
2276
2278
  r.createElement(S.Input, {
2277
- defaultValue: s || 'key值不存在',
2278
- disabled: y,
2279
+ defaultValue: c || 'key值不存在',
2280
+ disabled: g,
2279
2281
  onPressEnter: this.handleJsonKeyChange,
2280
2282
  onBlur: this.handleJsonKeyChange,
2281
2283
  }),
@@ -2291,12 +2293,12 @@
2291
2293
  S.Select,
2292
2294
  {
2293
2295
  showSearch: !0,
2294
- defaultValue: E,
2296
+ defaultValue: O,
2295
2297
  style: { width: 150 },
2296
2298
  onChange: this.selectHandleChange,
2297
- disabled: g,
2299
+ disabled: f,
2298
2300
  },
2299
- b.map(function (e) {
2301
+ E.map(function (e) {
2300
2302
  return r.createElement(Je, { key: e, value: e }, e);
2301
2303
  }),
2302
2304
  ),
@@ -2309,17 +2311,17 @@
2309
2311
  onDragStart: this.ignoreDragEvent,
2310
2312
  },
2311
2313
  r.createElement(S.Input, {
2312
- defaultValue: l.title,
2313
- disabled: f,
2314
+ defaultValue: p.title,
2315
+ disabled: v,
2314
2316
  onPressEnter: this.handleTitleChange,
2315
2317
  onBlur: this.handleTitleChange,
2316
2318
  }),
2317
2319
  ),
2318
- !v &&
2320
+ !x &&
2319
2321
  r.createElement(
2320
2322
  'div',
2321
2323
  { className: 'operate-item' },
2322
- !h &&
2324
+ !y &&
2323
2325
  r.createElement(
2324
2326
  S.Tooltip,
2325
2327
  { title: '删除' },
@@ -2330,13 +2332,13 @@
2330
2332
  ),
2331
2333
  r.createElement(
2332
2334
  S.Tooltip,
2333
- { title: O ? '新增子元素' : '新增同级元素' },
2335
+ { title: C ? '新增子元素' : '新增同级元素' },
2334
2336
  r.createElement(we.PlusOutlined, {
2335
2337
  className: 'operate-btn',
2336
2338
  onClick: this.onAddBtnEvent,
2337
2339
  }),
2338
2340
  ),
2339
- O &&
2341
+ C &&
2340
2342
  r.createElement(
2341
2343
  S.Tooltip,
2342
2344
  { title: '数据项排序' },
@@ -2345,7 +2347,7 @@
2345
2347
  onClick: this.childElemSort,
2346
2348
  }),
2347
2349
  ),
2348
- !h &&
2350
+ !y &&
2349
2351
  r.createElement(
2350
2352
  r.Fragment,
2351
2353
  null,
@@ -2363,7 +2365,7 @@
2363
2365
  r.createElement(we.SettingOutlined, {
2364
2366
  className: 'operate-btn',
2365
2367
  onClick: function () {
2366
- t.setState({ showAdvanceConfig: !0 });
2368
+ n.setState({ showAdvanceConfig: !0 });
2367
2369
  },
2368
2370
  }),
2369
2371
  ),
@@ -2376,7 +2378,7 @@
2376
2378
  ),
2377
2379
  ),
2378
2380
  ),
2379
- x &&
2381
+ b &&
2380
2382
  r.createElement(
2381
2383
  'div',
2382
2384
  { className: 'operate-item' },
@@ -2386,20 +2388,20 @@
2386
2388
  r.createElement(we.SettingOutlined, {
2387
2389
  className: 'operate-btn',
2388
2390
  onClick: function () {
2389
- t.setState({ showAdvanceConfig: !0 });
2391
+ n.setState({ showAdvanceConfig: !0 });
2390
2392
  },
2391
2393
  }),
2392
2394
  ),
2393
2395
  ),
2394
- p &&
2396
+ d &&
2395
2397
  r.createElement(
2396
2398
  S.Modal,
2397
2399
  {
2398
2400
  visible: !0,
2399
2401
  title:
2400
- '高级设置 / 当前字段:' + l.title + '(' + s + ')',
2402
+ '高级设置 / 当前字段:' + p.title + '(' + c + ')',
2401
2403
  onCancel: function () {
2402
- t.setState({ showAdvanceConfig: !1 });
2404
+ n.setState({ showAdvanceConfig: !1 });
2403
2405
  },
2404
2406
  footer: [
2405
2407
  r.createElement(
@@ -2408,7 +2410,7 @@
2408
2410
  key: 'submit',
2409
2411
  type: 'primary',
2410
2412
  onClick: function () {
2411
- t.setState({ showAdvanceConfig: !1 });
2413
+ n.setState({ showAdvanceConfig: !1 });
2412
2414
  },
2413
2415
  },
2414
2416
  '保存并关闭',
@@ -2416,20 +2418,20 @@
2416
2418
  ],
2417
2419
  },
2418
2420
  r.createElement(Te, {
2419
- indexRoute: i,
2420
- jsonKey: s,
2421
- targetJsonSchema: l,
2421
+ indexRoute: s,
2422
+ jsonKey: c,
2423
+ targetJsonSchema: p,
2422
2424
  }),
2423
2425
  ),
2424
2426
  ),
2425
- !l &&
2427
+ !p &&
2426
2428
  r.createElement(
2427
2429
  'div',
2428
2430
  { className: 'base-schema-box' },
2429
2431
  r.createElement(
2430
2432
  'div',
2431
2433
  { className: 'warn-text' },
2432
- s,
2434
+ c,
2433
2435
  ':数据元素为空',
2434
2436
  ),
2435
2437
  ),
@@ -2835,6 +2837,7 @@
2835
2837
  case 'dynamic-config':
2836
2838
  case 'sohu-source':
2837
2839
  case 'sohu-event':
2840
+ case 'padding-margin':
2838
2841
  return st(e);
2839
2842
  case 'array':
2840
2843
  return Le(e);
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * @wibetter/json-schema-editor v5.0.21
2
+ * @wibetter/json-schema-editor v5.1.0
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Tue Dec 31 2024 17:31:40 GMT+0800 (中国标准时间)
5
+ * build time: Thu Jan 09 2025 11:08:23 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wibetter/json-schema-editor",
3
- "version": "5.0.22",
3
+ "version": "5.1.0",
4
4
  "description": "JSON数据可视化/JSONSchema,以表单的形式编辑 json schema,可用于在线设计组件的配置面板",
5
5
  "keywords": [
6
6
  "json",
package/sdk/index.css CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * @wibetter/json-schema-editor v5.0.21
2
+ * @wibetter/json-schema-editor v5.1.0
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Wed Jan 01 2025 17:18:28 GMT+0800 (中国标准时间)
5
+ * build time: Thu Jan 09 2025 11:09:15 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\