shineout 3.7.4-beta.6 → 3.7.4-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 +1 -1
- package/dist/shineout.js +11 -20
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -5
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.
|
|
525
|
+
version: '3.7.4-beta.7'
|
|
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.
|
|
12237
|
+
/* harmony default export */ var version = ('3.7.4-beta.7');
|
|
12238
12238
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12239
12239
|
|
|
12240
12240
|
|
|
@@ -50952,13 +50952,14 @@ var useForm = function useForm(props) {
|
|
|
50952
50952
|
/* harmony default export */ var use_form = (useForm);
|
|
50953
50953
|
;// CONCATENATED MODULE: ../hooks/src/components/use-form/use-form-context.ts
|
|
50954
50954
|
|
|
50955
|
+
|
|
50955
50956
|
var FormContext = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createContext({});
|
|
50956
50957
|
function useFormRef() {
|
|
50957
|
-
var
|
|
50958
|
-
|
|
50959
|
-
|
|
50960
|
-
|
|
50961
|
-
return [
|
|
50958
|
+
var _React$useState = external_root_React_commonjs2_react_commonjs_react_amd_react_default().useState({}),
|
|
50959
|
+
_React$useState2 = slicedToArray_default()(_React$useState, 2),
|
|
50960
|
+
formRef = _React$useState2[0],
|
|
50961
|
+
setFormRef = _React$useState2[1];
|
|
50962
|
+
return [formRef, setFormRef];
|
|
50962
50963
|
}
|
|
50963
50964
|
function useFormInstance() {
|
|
50964
50965
|
var formCtx = external_root_React_commonjs2_react_commonjs_react_amd_react_default().useContext(FormContext);
|
|
@@ -63900,18 +63901,8 @@ function useComponentMemo(getValue, condition, shouldUpdate) {
|
|
|
63900
63901
|
|
|
63901
63902
|
|
|
63902
63903
|
|
|
63903
|
-
|
|
63904
63904
|
function Td(props) {
|
|
63905
|
-
var
|
|
63906
|
-
_React$useState2 = slicedToArray_default()(_React$useState, 2),
|
|
63907
|
-
style = _React$useState2[0],
|
|
63908
|
-
setStyle = _React$useState2[1];
|
|
63909
|
-
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
63910
|
-
if (shallowEqual(props.style, style)) {
|
|
63911
|
-
return;
|
|
63912
|
-
}
|
|
63913
|
-
setStyle(props.style);
|
|
63914
|
-
}, [props.style]);
|
|
63905
|
+
var _props$style, _props$style2;
|
|
63915
63906
|
var col = props.col,
|
|
63916
63907
|
colSpan = props.colSpan,
|
|
63917
63908
|
rowSpan = props.rowSpan,
|
|
@@ -63931,13 +63922,13 @@ function Td(props) {
|
|
|
63931
63922
|
onMouseEnter: onMouseEnter,
|
|
63932
63923
|
onMouseLeave: onMouseLeave,
|
|
63933
63924
|
className: className,
|
|
63934
|
-
style: style,
|
|
63925
|
+
style: props.style,
|
|
63935
63926
|
dir: direction,
|
|
63936
63927
|
"data-role": role,
|
|
63937
63928
|
onClick: onClick,
|
|
63938
63929
|
children: content
|
|
63939
63930
|
}, col.key);
|
|
63940
|
-
}, [data, className, style, col.type, col.treeColumnsName], props.virtual === 'lazy' ? function (prev, next) {
|
|
63931
|
+
}, [data, className, (_props$style = props.style) === null || _props$style === void 0 ? void 0 : _props$style.left, (_props$style2 = props.style) === null || _props$style2 === void 0 ? void 0 : _props$style2.right, col.type, col.treeColumnsName], props.virtual === 'lazy' ? function (prev, next) {
|
|
63941
63932
|
if (col.type || col.treeColumnsName) {
|
|
63942
63933
|
return true;
|
|
63943
63934
|
}
|
|
@@ -71614,7 +71605,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
71614
71605
|
|
|
71615
71606
|
|
|
71616
71607
|
/* harmony default export */ var src_0 = ({
|
|
71617
|
-
version: '3.7.4-beta.
|
|
71608
|
+
version: '3.7.4-beta.7'
|
|
71618
71609
|
});
|
|
71619
71610
|
}();
|
|
71620
71611
|
/******/ return __webpack_exports__;
|