shineout 3.9.4-beta.4 → 3.9.4-beta.6
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 +12 -4
- 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.9.4-beta.
|
|
525
|
+
version: '3.9.4-beta.6'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12401,7 +12401,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12401
12401
|
};
|
|
12402
12402
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12403
12403
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12404
|
-
/* harmony default export */ var version = ('3.9.4-beta.
|
|
12404
|
+
/* harmony default export */ var version = ('3.9.4-beta.6');
|
|
12405
12405
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12406
12406
|
|
|
12407
12407
|
|
|
@@ -42495,6 +42495,12 @@ var ResultInput = function ResultInput(props) {
|
|
|
42495
42495
|
onBindInput === null || onBindInput === void 0 || onBindInput(inputRef.current);
|
|
42496
42496
|
}, []);
|
|
42497
42497
|
var renderResultPlaceholder = function renderResultPlaceholder() {
|
|
42498
|
+
if (!inputText && !focus && props.placeholder && typeof props.placeholder !== 'string') {
|
|
42499
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
42500
|
+
className: styles.inputPlaceholder,
|
|
42501
|
+
children: props.placeholder
|
|
42502
|
+
});
|
|
42503
|
+
}
|
|
42498
42504
|
if (inputText || !focus || typeof props.placeholder === 'string') return null;
|
|
42499
42505
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
42500
42506
|
className: styles.inputPlaceholder,
|
|
@@ -67460,14 +67466,15 @@ var tfoot_isArray = isArray,
|
|
|
67460
67466
|
|
|
67461
67467
|
|
|
67462
67468
|
function TbodyEmpty(_ref) {
|
|
67463
|
-
var children = _ref.children
|
|
67469
|
+
var children = _ref.children,
|
|
67470
|
+
columns = _ref.columns;
|
|
67464
67471
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("tbody", {
|
|
67465
67472
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("tr", {
|
|
67466
67473
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("td", {
|
|
67467
67474
|
style: {
|
|
67468
67475
|
border: 'none'
|
|
67469
67476
|
},
|
|
67470
|
-
colSpan:
|
|
67477
|
+
colSpan: columns.length,
|
|
67471
67478
|
children: children
|
|
67472
67479
|
})
|
|
67473
67480
|
})
|
|
@@ -68083,6 +68090,7 @@ function Table(props) {
|
|
|
68083
68090
|
style: objectSpread2_default()({}, tableStyle),
|
|
68084
68091
|
ref: tbodyRef,
|
|
68085
68092
|
children: [Group, !props.hideHeader && /*#__PURE__*/(0,jsx_runtime.jsx)(thead, objectSpread2_default()({}, headCommonProps)), bodyCommonProps.data.length === 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(TbodyEmpty, {
|
|
68093
|
+
columns: columns,
|
|
68086
68094
|
children: renderEmpty()
|
|
68087
68095
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(tbody, objectSpread2_default()({}, bodyCommonProps)), showFoot && /*#__PURE__*/(0,jsx_runtime.jsx)(tfoot, objectSpread2_default()({}, footCommonProps))]
|
|
68088
68096
|
})
|
|
@@ -74733,7 +74741,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
74733
74741
|
|
|
74734
74742
|
|
|
74735
74743
|
/* harmony default export */ var src_0 = ({
|
|
74736
|
-
version: '3.9.4-beta.
|
|
74744
|
+
version: '3.9.4-beta.6'
|
|
74737
74745
|
});
|
|
74738
74746
|
}();
|
|
74739
74747
|
/******/ return __webpack_exports__;
|