shineout 3.8.3-beta.6 → 3.8.3-beta.7

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.3-beta.6'
525
+ version: '3.8.3-beta.7'
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.3-beta.6');
12389
+ /* harmony default export */ var version = ('3.8.3-beta.7');
12390
12390
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12391
12391
 
12392
12392
 
@@ -26720,7 +26720,15 @@ var tableStyle = objectSpread2_default()(objectSpread2_default()({
26720
26720
  "[data-soui-role='scroll'] &": {
26721
26721
  position: 'sticky',
26722
26722
  bottom: 0,
26723
- zIndex: fixedIndex + 1
26723
+ zIndex: fixedIndex + 1,
26724
+ display: 'flex',
26725
+ flexDirection: 'column',
26726
+ flex: 1,
26727
+ '&::before': {
26728
+ content: '""',
26729
+ flex: 1,
26730
+ backgroundColor: src.tableTbodyBackgroundColor
26731
+ }
26724
26732
  }
26725
26733
  },
26726
26734
  scrollY: {
@@ -51279,7 +51287,46 @@ var SchemaBuilder = /*#__PURE__*/function () {
51279
51287
  fieldSchemaInfo.type = 'string';
51280
51288
  fieldSchemaInfo.format = 'date';
51281
51289
  }
51282
- fieldSchemaInfo.description += "\u9ED8\u8BA4\u65F6\u95F4\uFF1A".concat(((_componentElement$pro = componentElement.props.defaultTime) === null || _componentElement$pro === void 0 ? void 0 : _componentElement$pro.toString()) || '', "; \u683C\u5F0F\uFF1A").concat(componentElement.props.format || '', " ");
51290
+ var defaultTime = ((_componentElement$pro = componentElement.props.defaultTime) === null || _componentElement$pro === void 0 ? void 0 : _componentElement$pro.toString()) || '';
51291
+ if (defaultTime) {
51292
+ fieldSchemaInfo.description += "\u9ED8\u8BA4\u65F6\u95F4\uFF1A".concat(defaultTime, " ");
51293
+ }
51294
+ var dateformat = componentElement.props.format || '';
51295
+ if (!dateformat) {
51296
+ switch (componentElement.props.type) {
51297
+ case 'date':
51298
+ dateformat = 'YYYY-MM-DD';
51299
+ break;
51300
+ case 'time':
51301
+ dateformat = 'HH:mm:ss';
51302
+ break;
51303
+ case 'datetime':
51304
+ dateformat = 'YYYY-MM-DD HH:mm:ss';
51305
+ break;
51306
+ case 'week':
51307
+ dateformat = 'GGGG WW';
51308
+ break;
51309
+ case 'month':
51310
+ dateformat = 'YYYY-MM';
51311
+ break;
51312
+ case 'quarter':
51313
+ dateformat = 'YYYY-\[Q]Q';
51314
+ break;
51315
+ case 'year':
51316
+ dateformat = 'YYYY';
51317
+ break;
51318
+ default:
51319
+ dateformat = 'YYYY-MM-DD';
51320
+ break;
51321
+ }
51322
+ }
51323
+ fieldSchemaInfo.description += "\u683C\u5F0F\uFF1A".concat(dateformat, " ");
51324
+ if (componentElement.props.max) {
51325
+ fieldSchemaInfo.description += "\u6700\u5927\u65F6\u95F4\uFF1A".concat(componentElement.props.max, " ");
51326
+ }
51327
+ if (componentElement.props.min) {
51328
+ fieldSchemaInfo.description += "\u6700\u5C0F\u65F6\u95F4\uFF1A".concat(componentElement.props.min, " ");
51329
+ }
51283
51330
  break;
51284
51331
  case 'ShineoutCheckbox':
51285
51332
  case 'ShineoutCheckboxGroup':
@@ -66500,7 +66547,7 @@ var emptyRef = {
66500
66547
  className: tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.bodyWrapper,
66501
66548
  onScroll: handleBodyScroll,
66502
66549
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
66503
- style: tableStyle,
66550
+ style: objectSpread2_default()({}, tableStyle),
66504
66551
  ref: tbodyRef,
66505
66552
  children: [Group, !props.hideHeader && /*#__PURE__*/(0,jsx_runtime.jsx)(thead, objectSpread2_default()({}, headCommonProps)), bodyCommonProps.data.length === 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(TbodyEmpty, {
66506
66553
  children: renderEmpty()
@@ -73125,7 +73172,7 @@ var upload_interface = __webpack_require__(8821);
73125
73172
 
73126
73173
 
73127
73174
  /* harmony default export */ var src_0 = ({
73128
- version: '3.8.3-beta.6'
73175
+ version: '3.8.3-beta.7'
73129
73176
  });
73130
73177
  }();
73131
73178
  /******/ return __webpack_exports__;