shineout 3.7.4-beta.3 → 3.7.4-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.
@@ -1,9 +1,14 @@
1
- import { FormFieldProps as UiFormFieldProps, FormFieldSetProps as UiFormFieldSetProps, FormItemProps as UiFormItemProps, FormProps as UiFormProps, ObjectType, FormFlowProps as UiFormFlowProps, FormRef as UiFormRef } from '@sheinx/base';
1
+ import { FormFieldProps as UiFormFieldProps, FormFieldSetProps as UiFormFieldSetProps, FormItemProps as UiFormItemProps, FormProps as UiFormProps, ObjectType, FormFlowProps as UiFormFlowProps, FormRef as UiFormRef, FormDatum as UiFormDatum } from '@sheinx/base';
2
2
  /**
3
3
  * @title FormRef
4
4
  * @sort 6
5
5
  */
6
6
  export type FormRef<T> = UiFormRef<T>;
7
+ /**
8
+ * @title FormDatum
9
+ * @sort 7
10
+ */
11
+ export type FormDatum = UiFormDatum;
7
12
  /**
8
13
  * @title Form
9
14
  * @sort 1
@@ -1,3 +1,3 @@
1
1
  export type { FormRef as Ref, FormFieldChildrenFunc as FieldChildrenFunc, FormFieldSetChildrenFunc as FieldSetChildrenFunc, } from '@sheinx/base';
2
- export type { FormProps as Props, FormItemProps as ItemProps, FormFieldProps as FieldProps, FormFieldSetProps as FieldSetProps, } from './form.type';
2
+ export type { FormProps as Props, FormItemProps as ItemProps, FormFieldProps as FieldProps, FormFieldSetProps as FieldSetProps, FormFlowProps as FlowProps, FormDatum as Datum, } from './form.type';
3
3
  export type { ButtonProps as SubmitProps, ButtonProps as ResetProps } from '../button/button.type';
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.7.4-beta.3'
525
+ version: '3.7.4-beta.4'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12234,7 +12234,7 @@ var handleStyle = function handleStyle(style) {
12234
12234
  };
12235
12235
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12236
12236
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12237
- /* harmony default export */ var version = ('3.7.4-beta.3');
12237
+ /* harmony default export */ var version = ('3.7.4-beta.4');
12238
12238
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12239
12239
 
12240
12240
 
@@ -63907,7 +63907,6 @@ function Td(props) {
63907
63907
  style = _React$useState2[0],
63908
63908
  setStyle = _React$useState2[1];
63909
63909
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
63910
- if (!props.style) return;
63911
63910
  if (shallowEqual(props.style, style)) {
63912
63911
  return;
63913
63912
  }
@@ -64841,6 +64840,10 @@ var emptyRef = {
64841
64840
  return null;
64842
64841
  };
64843
64842
  var $empty = renderEmpty();
64843
+ var tableStyle = {
64844
+ width: width,
64845
+ borderSpacing: 0
64846
+ };
64844
64847
  var renderTable = function renderTable() {
64845
64848
  var _props$summary, _sticky$top, _props$data2;
64846
64849
  var Group = /*#__PURE__*/(0,jsx_runtime.jsx)(table_colgroup, {
@@ -65010,9 +65013,7 @@ var emptyRef = {
65010
65013
  role: theadIdRef.current
65011
65014
  })), {}, {
65012
65015
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
65013
- style: {
65014
- width: width
65015
- },
65016
+ style: tableStyle,
65016
65017
  ref: theadRef,
65017
65018
  children: [Group, /*#__PURE__*/(0,jsx_runtime.jsx)(thead, objectSpread2_default()({}, headCommonProps))]
65018
65019
  })
@@ -65041,10 +65042,9 @@ var emptyRef = {
65041
65042
  tableRef: tableRef,
65042
65043
  setFakeVirtual: setFakeVirtual,
65043
65044
  children: [!props.hideHeader && !props.sticky && $headTable, !!((_props$data3 = props.data) !== null && _props$data3 !== void 0 && _props$data3.length) && /*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
65044
- style: {
65045
- width: width,
65045
+ style: objectSpread2_default()(objectSpread2_default()({}, tableStyle), {}, {
65046
65046
  transform: virtualInfo.translateStyle
65047
- },
65047
+ }),
65048
65048
  ref: tbodyRef,
65049
65049
  children: [Group, /*#__PURE__*/(0,jsx_runtime.jsx)(tbody, objectSpread2_default()(objectSpread2_default()({}, bodyCommonProps), {}, {
65050
65050
  currentIndex: virtualInfo.startIndex,
@@ -65055,9 +65055,7 @@ var emptyRef = {
65055
65055
  }), showFoot ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
65056
65056
  className: footWrapperClass,
65057
65057
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
65058
- style: {
65059
- width: width
65060
- },
65058
+ style: tableStyle,
65061
65059
  ref: tfootRef,
65062
65060
  children: [Group, /*#__PURE__*/(0,jsx_runtime.jsx)(tfoot, objectSpread2_default()({}, footCommonProps))]
65063
65061
  })
@@ -65071,9 +65069,7 @@ var emptyRef = {
65071
65069
  className: tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.bodyWrapper,
65072
65070
  onScroll: handleBodyScroll,
65073
65071
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
65074
- style: {
65075
- width: width
65076
- },
65072
+ style: tableStyle,
65077
65073
  ref: tbodyRef,
65078
65074
  children: [Group, !props.hideHeader && /*#__PURE__*/(0,jsx_runtime.jsx)(thead, objectSpread2_default()({}, headCommonProps)), bodyCommonProps.data.length === 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(TbodyEmpty, {
65079
65075
  children: renderEmpty()
@@ -65162,9 +65158,7 @@ var emptyRef = {
65162
65158
  }, props.style),
65163
65159
  dir: config.direction,
65164
65160
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("table", {
65165
- style: {
65166
- width: width
65167
- },
65161
+ style: tableStyle,
65168
65162
  children: props.children
65169
65163
  })
65170
65164
  });
@@ -71620,7 +71614,7 @@ var upload_interface = __webpack_require__(8821);
71620
71614
 
71621
71615
 
71622
71616
  /* harmony default export */ var src_0 = ({
71623
- version: '3.7.4-beta.3'
71617
+ version: '3.7.4-beta.4'
71624
71618
  });
71625
71619
  }();
71626
71620
  /******/ return __webpack_exports__;