shineout 3.8.0-beta.44 → 3.8.0-beta.45
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 +13 -6
- 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.0-beta.
|
|
525
|
+
version: '3.8.0-beta.45'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12386
12386
|
};
|
|
12387
12387
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12388
12388
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12389
|
-
/* harmony default export */ var version = ('3.8.0-beta.
|
|
12389
|
+
/* harmony default export */ var version = ('3.8.0-beta.45');
|
|
12390
12390
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12391
12391
|
|
|
12392
12392
|
|
|
@@ -42712,6 +42712,7 @@ var Cascader = function Cascader(props0) {
|
|
|
42712
42712
|
}
|
|
42713
42713
|
handleChange([]);
|
|
42714
42714
|
if (open) closePop();
|
|
42715
|
+
if (props.onClear) props.onClear();
|
|
42715
42716
|
};
|
|
42716
42717
|
var handleResultItemClick = function handleResultItemClick(e, item) {
|
|
42717
42718
|
e.stopPropagation();
|
|
@@ -57676,20 +57677,24 @@ function Select(props0) {
|
|
|
57676
57677
|
if (!open) return;
|
|
57677
57678
|
setControlType('keyboard');
|
|
57678
57679
|
switch (e.keyCode || e.code) {
|
|
57679
|
-
case 38
|
|
57680
|
+
case 38:
|
|
57681
|
+
case 'ArrowUp':
|
|
57680
57682
|
if ((_optionListRef$curren3 = optionListRef.current) !== null && _optionListRef$curren3 !== void 0 && _optionListRef$curren3.hoverHover) (_optionListRef$curren4 = optionListRef.current) === null || _optionListRef$curren4 === void 0 || _optionListRef$curren4.hoverMove(-1);
|
|
57681
57683
|
e.preventDefault();
|
|
57682
57684
|
break;
|
|
57683
|
-
case 40
|
|
57685
|
+
case 40:
|
|
57686
|
+
case 'ArrowDown':
|
|
57684
57687
|
if ((_optionListRef$curren5 = optionListRef.current) !== null && _optionListRef$curren5 !== void 0 && _optionListRef$curren5.hoverHover) (_optionListRef$curren6 = optionListRef.current) === null || _optionListRef$curren6 === void 0 || _optionListRef$curren6.hoverMove(1);
|
|
57685
57688
|
e.preventDefault();
|
|
57686
57689
|
break;
|
|
57687
|
-
case 13
|
|
57690
|
+
case 13:
|
|
57691
|
+
case 'Enter':
|
|
57688
57692
|
handleEnter();
|
|
57689
57693
|
e.preventDefault();
|
|
57690
57694
|
e.stopPropagation();
|
|
57691
57695
|
break;
|
|
57692
|
-
case 8
|
|
57696
|
+
case 8:
|
|
57697
|
+
case 'Backspace':
|
|
57693
57698
|
handleDelete(e);
|
|
57694
57699
|
break;
|
|
57695
57700
|
}
|
|
@@ -57702,6 +57707,7 @@ function Select(props0) {
|
|
|
57702
57707
|
onFilter === null || onFilter === void 0 || onFilter('');
|
|
57703
57708
|
}
|
|
57704
57709
|
if (open) closePop();
|
|
57710
|
+
if (props.onClear) props.onClear();
|
|
57705
57711
|
};
|
|
57706
57712
|
var getRenderResult = function getRenderResult(data, index) {
|
|
57707
57713
|
if (!renderResultProp) return renderItem(data, index);
|
|
@@ -68875,6 +68881,7 @@ var TreeSelect = function TreeSelect(props0) {
|
|
|
68875
68881
|
});
|
|
68876
68882
|
}
|
|
68877
68883
|
if (open) closePop();
|
|
68884
|
+
if (props.onClear) props.onClear();
|
|
68878
68885
|
};
|
|
68879
68886
|
var renderClearable = function renderClearable() {
|
|
68880
68887
|
if (!multiple !== undefined && !showArrow) return null;
|
|
@@ -72992,7 +72999,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
72992
72999
|
|
|
72993
73000
|
|
|
72994
73001
|
/* harmony default export */ var src_0 = ({
|
|
72995
|
-
version: '3.8.0-beta.
|
|
73002
|
+
version: '3.8.0-beta.45'
|
|
72996
73003
|
});
|
|
72997
73004
|
}();
|
|
72998
73005
|
/******/ return __webpack_exports__;
|