shineout 3.8.2-beta.2 → 3.8.2-beta.4

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/cjs/index.js CHANGED
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
522
522
  // 此文件由脚本自动生成,请勿直接修改。
523
523
  // This file was generated automatically by a script. Please do not modify it directly.
524
524
  var _default = exports.default = {
525
- version: '3.8.2-beta.2'
525
+ version: '3.8.2-beta.4'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
12386
12386
  };
12387
12387
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12388
12388
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12389
- /* harmony default export */ var version = ('3.8.2-beta.2');
12389
+ /* harmony default export */ var version = ('3.8.2-beta.4');
12390
12390
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12391
12391
 
12392
12392
 
@@ -41909,7 +41909,8 @@ var More = function More(props) {
41909
41909
  before = new Array(showNum).fill(undefined).map(function (_item, index) {
41910
41910
  return data[index];
41911
41911
  });
41912
- after = new Array(data.length - showNum).fill(undefined).map(function (_item, index) {
41912
+ var afterCount = Math.max(0, data.length - showNum);
41913
+ after = new Array(afterCount).fill(undefined).map(function (_item, index) {
41913
41914
  return data[showNum + index];
41914
41915
  });
41915
41916
  afterLength = after.length;
@@ -51238,6 +51239,9 @@ var SchemaBuilder = /*#__PURE__*/function () {
51238
51239
  fieldSchemaInfo.enum = enumData;
51239
51240
  }
51240
51241
  }
51242
+ if (componentElement.props.data.length > 0) {
51243
+ fieldSchemaInfo.description += "enumData: ".concat(JSON.stringify(componentElement.props.data), ";");
51244
+ }
51241
51245
  break;
51242
51246
  }
51243
51247
  case 'ShineoutDatePicker':
@@ -51289,6 +51293,9 @@ var SchemaBuilder = /*#__PURE__*/function () {
51289
51293
  } else {
51290
51294
  fieldSchemaInfo.items.enum = this.mapEnumData(componentElement.props.data, format);
51291
51295
  }
51296
+ if (componentElement.props.data.length > 0) {
51297
+ fieldSchemaInfo.description += "enumData: ".concat(JSON.stringify(componentElement.props.data), ";");
51298
+ }
51292
51299
  break;
51293
51300
  }
51294
51301
  case 'ShineoutRadio':
@@ -51321,6 +51328,9 @@ var SchemaBuilder = /*#__PURE__*/function () {
51321
51328
  } else {
51322
51329
  fieldSchemaInfo.enum = this.mapEnumData(componentElement.props.data, format);
51323
51330
  }
51331
+ if (componentElement.props.data.length > 0) {
51332
+ fieldSchemaInfo.description += "enumData: ".concat(JSON.stringify(componentElement.props.data), ";");
51333
+ }
51324
51334
  break;
51325
51335
  }
51326
51336
  case 'ShineoutSwitch':
@@ -73075,7 +73085,7 @@ var upload_interface = __webpack_require__(8821);
73075
73085
 
73076
73086
 
73077
73087
  /* harmony default export */ var src_0 = ({
73078
- version: '3.8.2-beta.2'
73088
+ version: '3.8.2-beta.4'
73079
73089
  });
73080
73090
  }();
73081
73091
  /******/ return __webpack_exports__;