shineout 3.8.10-beta.1 → 3.8.10-beta.2
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 +10 -10
- 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.8.10-beta.
|
|
525
|
+
version: '3.8.10-beta.2'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12398,7 +12398,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12398
12398
|
};
|
|
12399
12399
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12400
12400
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12401
|
-
/* harmony default export */ var version = ('3.8.10-beta.
|
|
12401
|
+
/* harmony default export */ var version = ('3.8.10-beta.2');
|
|
12402
12402
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12403
12403
|
|
|
12404
12404
|
|
|
@@ -42340,7 +42340,7 @@ var result_Result = function Result(props) {
|
|
|
42340
42340
|
handleResultItemClick(e, item);
|
|
42341
42341
|
};
|
|
42342
42342
|
var content = renderResultContent(item, index, nodes);
|
|
42343
|
-
if (!content) return null;
|
|
42343
|
+
if (!content && content !== 0) return null;
|
|
42344
42344
|
if (renderResultContentProp) {
|
|
42345
42345
|
// cascader 不渲染tag
|
|
42346
42346
|
return renderResultContentProp(objectSpread2_default()({
|
|
@@ -55544,6 +55544,9 @@ var ListOption = function ListOption(props) {
|
|
|
55544
55544
|
|
|
55545
55545
|
|
|
55546
55546
|
|
|
55547
|
+
var list_defaultRenderItem = function defaultRenderItem(d) {
|
|
55548
|
+
return d;
|
|
55549
|
+
};
|
|
55547
55550
|
var list_List = function List(props) {
|
|
55548
55551
|
var _jssStyle$select;
|
|
55549
55552
|
var jssStyle = props.jssStyle,
|
|
@@ -55563,9 +55566,7 @@ var list_List = function List(props) {
|
|
|
55563
55566
|
optionListRef = props.optionListRef,
|
|
55564
55567
|
isAnimationFinish = props.isAnimationFinish,
|
|
55565
55568
|
_props$renderItem = props.renderItem,
|
|
55566
|
-
renderItemProp = _props$renderItem === void 0 ?
|
|
55567
|
-
return d;
|
|
55568
|
-
} : _props$renderItem,
|
|
55569
|
+
renderItemProp = _props$renderItem === void 0 ? list_defaultRenderItem : _props$renderItem,
|
|
55569
55570
|
closePop = props.closePop,
|
|
55570
55571
|
onControlTypeChange = props.onControlTypeChange,
|
|
55571
55572
|
onOptionClick = props.onOptionClick;
|
|
@@ -57692,9 +57693,7 @@ function Select(props0) {
|
|
|
57692
57693
|
autoAdapt = props.autoAdapt,
|
|
57693
57694
|
groupBy = props.groupBy,
|
|
57694
57695
|
_props$renderItem = props.renderItem,
|
|
57695
|
-
renderItemProp = _props$renderItem === void 0 ?
|
|
57696
|
-
return d;
|
|
57697
|
-
} : _props$renderItem,
|
|
57696
|
+
renderItemProp = _props$renderItem === void 0 ? list_defaultRenderItem : _props$renderItem,
|
|
57698
57697
|
renderResultProp = props.renderResult,
|
|
57699
57698
|
renderUnmatched = props.renderUnmatched,
|
|
57700
57699
|
resultClassName = props.resultClassName,
|
|
@@ -57915,7 +57914,8 @@ function Select(props0) {
|
|
|
57915
57914
|
});
|
|
57916
57915
|
var rootClass = classnames_default()(className, styles === null || styles === void 0 ? void 0 : styles.rootClass, styles === null || styles === void 0 ? void 0 : styles.wrapper, isEmpty && styles.wrapperEmpty, open && (styles === null || styles === void 0 ? void 0 : styles.wrapperOpen), open && trigger === 'hover' && (styles === null || styles === void 0 ? void 0 : styles.triggerHover), disabled === true && (styles === null || styles === void 0 ? void 0 : styles.wrapperDisabled), disabled !== true && focused && (styles === null || styles === void 0 ? void 0 : styles.wrapperFocus), innerTitle && (styles === null || styles === void 0 ? void 0 : styles.wrapperInnerTitle), size === 'small' && (styles === null || styles === void 0 ? void 0 : styles.wrapperSmall), size === 'large' && (styles === null || styles === void 0 ? void 0 : styles.wrapperLarge), (!!props.error || props.status === 'error') && (styles === null || styles === void 0 ? void 0 : styles.wrapperError), clearable && (styles === null || styles === void 0 ? void 0 : styles.clearable), !border && (styles === null || styles === void 0 ? void 0 : styles.wrapperNoBorder), !!underline && (styles === null || styles === void 0 ? void 0 : styles.wrapperUnderline), defineProperty_default()({}, styles === null || styles === void 0 ? void 0 : styles.multiple, multiple));
|
|
57917
57916
|
var getRenderItem = function getRenderItem(data, index) {
|
|
57918
|
-
|
|
57917
|
+
var _data$renderItemProp;
|
|
57918
|
+
return typeof renderItemProp === 'function' ? renderItemProp(data, index) : (_data$renderItemProp = data === null || data === void 0 ? void 0 : data[renderItemProp]) !== null && _data$renderItemProp !== void 0 ? _data$renderItemProp : '';
|
|
57919
57919
|
};
|
|
57920
57920
|
var renderItem = getRenderItem;
|
|
57921
57921
|
var handleFocus = usePersistFn(function (e) {
|
|
@@ -73399,7 +73399,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
73399
73399
|
|
|
73400
73400
|
|
|
73401
73401
|
/* harmony default export */ var src_0 = ({
|
|
73402
|
-
version: '3.8.10-beta.
|
|
73402
|
+
version: '3.8.10-beta.2'
|
|
73403
73403
|
});
|
|
73404
73404
|
}();
|
|
73405
73405
|
/******/ return __webpack_exports__;
|