shineout 3.8.10-beta.1 → 3.8.10-beta.3
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 -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.3'
|
|
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.3');
|
|
12402
12402
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12403
12403
|
|
|
12404
12404
|
|
|
@@ -41052,6 +41052,8 @@ var CascaderNode = function CascaderNode(props) {
|
|
|
41052
41052
|
handleSelect(e);
|
|
41053
41053
|
};
|
|
41054
41054
|
hasHandleSelectRef.current = true;
|
|
41055
|
+
} else {
|
|
41056
|
+
hasHandleSelectRef.current = false;
|
|
41055
41057
|
}
|
|
41056
41058
|
return events;
|
|
41057
41059
|
};
|
|
@@ -42340,7 +42342,7 @@ var result_Result = function Result(props) {
|
|
|
42340
42342
|
handleResultItemClick(e, item);
|
|
42341
42343
|
};
|
|
42342
42344
|
var content = renderResultContent(item, index, nodes);
|
|
42343
|
-
if (!content) return null;
|
|
42345
|
+
if (!content && content !== 0) return null;
|
|
42344
42346
|
if (renderResultContentProp) {
|
|
42345
42347
|
// cascader 不渲染tag
|
|
42346
42348
|
return renderResultContentProp(objectSpread2_default()({
|
|
@@ -55544,6 +55546,9 @@ var ListOption = function ListOption(props) {
|
|
|
55544
55546
|
|
|
55545
55547
|
|
|
55546
55548
|
|
|
55549
|
+
var list_defaultRenderItem = function defaultRenderItem(d) {
|
|
55550
|
+
return d;
|
|
55551
|
+
};
|
|
55547
55552
|
var list_List = function List(props) {
|
|
55548
55553
|
var _jssStyle$select;
|
|
55549
55554
|
var jssStyle = props.jssStyle,
|
|
@@ -55563,9 +55568,7 @@ var list_List = function List(props) {
|
|
|
55563
55568
|
optionListRef = props.optionListRef,
|
|
55564
55569
|
isAnimationFinish = props.isAnimationFinish,
|
|
55565
55570
|
_props$renderItem = props.renderItem,
|
|
55566
|
-
renderItemProp = _props$renderItem === void 0 ?
|
|
55567
|
-
return d;
|
|
55568
|
-
} : _props$renderItem,
|
|
55571
|
+
renderItemProp = _props$renderItem === void 0 ? list_defaultRenderItem : _props$renderItem,
|
|
55569
55572
|
closePop = props.closePop,
|
|
55570
55573
|
onControlTypeChange = props.onControlTypeChange,
|
|
55571
55574
|
onOptionClick = props.onOptionClick;
|
|
@@ -57692,9 +57695,7 @@ function Select(props0) {
|
|
|
57692
57695
|
autoAdapt = props.autoAdapt,
|
|
57693
57696
|
groupBy = props.groupBy,
|
|
57694
57697
|
_props$renderItem = props.renderItem,
|
|
57695
|
-
renderItemProp = _props$renderItem === void 0 ?
|
|
57696
|
-
return d;
|
|
57697
|
-
} : _props$renderItem,
|
|
57698
|
+
renderItemProp = _props$renderItem === void 0 ? list_defaultRenderItem : _props$renderItem,
|
|
57698
57699
|
renderResultProp = props.renderResult,
|
|
57699
57700
|
renderUnmatched = props.renderUnmatched,
|
|
57700
57701
|
resultClassName = props.resultClassName,
|
|
@@ -57915,7 +57916,8 @@ function Select(props0) {
|
|
|
57915
57916
|
});
|
|
57916
57917
|
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
57918
|
var getRenderItem = function getRenderItem(data, index) {
|
|
57918
|
-
|
|
57919
|
+
var _data$renderItemProp;
|
|
57920
|
+
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
57921
|
};
|
|
57920
57922
|
var renderItem = getRenderItem;
|
|
57921
57923
|
var handleFocus = usePersistFn(function (e) {
|
|
@@ -73399,7 +73401,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
73399
73401
|
|
|
73400
73402
|
|
|
73401
73403
|
/* harmony default export */ var src_0 = ({
|
|
73402
|
-
version: '3.8.10-beta.
|
|
73404
|
+
version: '3.8.10-beta.3'
|
|
73403
73405
|
});
|
|
73404
73406
|
}();
|
|
73405
73407
|
/******/ return __webpack_exports__;
|