shineout 3.4.4-beta.11 → 3.4.4-beta.13
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 +22 -8
- 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
|
@@ -492,5 +492,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
492
492
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
493
493
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
494
494
|
var _default = exports.default = {
|
|
495
|
-
version: '3.4.4-beta.
|
|
495
|
+
version: '3.4.4-beta.13'
|
|
496
496
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -11984,7 +11984,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
11984
11984
|
};
|
|
11985
11985
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
11986
11986
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
11987
|
-
/* harmony default export */ var version = ('3.4.4-beta.
|
|
11987
|
+
/* harmony default export */ var version = ('3.4.4-beta.13');
|
|
11988
11988
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
11989
11989
|
|
|
11990
11990
|
|
|
@@ -29873,6 +29873,7 @@ var useContainer = function useContainer() {
|
|
|
29873
29873
|
|
|
29874
29874
|
|
|
29875
29875
|
var AbsoluteContext = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.createContext)(false);
|
|
29876
|
+
AbsoluteContext.displayName = 'AbsoluteContext';
|
|
29876
29877
|
/* harmony default export */ var absolute_context = (AbsoluteContext);
|
|
29877
29878
|
;// CONCATENATED MODULE: ../base/src/absolute-list/absolute-list.tsx
|
|
29878
29879
|
|
|
@@ -37694,16 +37695,19 @@ var result_Result = function Result(props) {
|
|
|
37694
37695
|
}
|
|
37695
37696
|
|
|
37696
37697
|
// 单选场景下,焦点时自动选中input文本
|
|
37697
|
-
if (focus && showInput && mounted.current) {
|
|
37698
|
-
var
|
|
37699
|
-
|
|
37698
|
+
if (!multiple && focus && showInput && mounted.current) {
|
|
37699
|
+
var _result2 = getDataByValues(value);
|
|
37700
|
+
if (_result2.length > 0) {
|
|
37701
|
+
var inputTmpText = renderResultContent(_result2[0]);
|
|
37702
|
+
inputTmpText && props.setInputText(inputTmpText);
|
|
37703
|
+
}
|
|
37700
37704
|
setTimeout(function () {
|
|
37701
37705
|
var _inputRef$current;
|
|
37702
37706
|
inputRef === null || inputRef === void 0 || (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.select();
|
|
37703
37707
|
}, 10);
|
|
37704
37708
|
}
|
|
37705
37709
|
mounted.current = true;
|
|
37706
|
-
}, [focus,
|
|
37710
|
+
}, [focus, placeholder, multiple]);
|
|
37707
37711
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
37708
37712
|
handleResetMore();
|
|
37709
37713
|
}, [valueProp, data]);
|
|
@@ -51946,10 +51950,16 @@ var PaginationSizeList = function PaginationSizeList(props) {
|
|
|
51946
51950
|
pageSizeList = _props$pageSizeList === void 0 ? [10, 20, 30, 50, 100] : _props$pageSizeList,
|
|
51947
51951
|
text = props.text,
|
|
51948
51952
|
size = props.size,
|
|
51953
|
+
select = props.select,
|
|
51949
51954
|
pageSize = props.pageSize,
|
|
51950
51955
|
onChange = props.onChange;
|
|
51951
51956
|
var paginationStyle = jssStyle === null || jssStyle === void 0 || (_jssStyle$pagination = jssStyle.pagination) === null || _jssStyle$pagination === void 0 ? void 0 : _jssStyle$pagination.call(jssStyle);
|
|
51952
51957
|
var rootClasses = classnames_default()(paginationStyle === null || paginationStyle === void 0 ? void 0 : paginationStyle.section, paginationStyle === null || paginationStyle === void 0 ? void 0 : paginationStyle.sizeList);
|
|
51958
|
+
var _ref = select || {},
|
|
51959
|
+
absolute = _ref.absolute,
|
|
51960
|
+
position = _ref.position,
|
|
51961
|
+
zIndex = _ref.zIndex;
|
|
51962
|
+
console.log('position', position);
|
|
51953
51963
|
var handleChange = function handleChange(pageSize) {
|
|
51954
51964
|
var start = (current - 1) * props.pageSize + 1;
|
|
51955
51965
|
onChange(Math.ceil(start / pageSize), pageSize);
|
|
@@ -51959,7 +51969,9 @@ var PaginationSizeList = function PaginationSizeList(props) {
|
|
|
51959
51969
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(base_src_select_select, {
|
|
51960
51970
|
jssStyle: jssStyle,
|
|
51961
51971
|
disabled: disabled,
|
|
51962
|
-
|
|
51972
|
+
zIndex: zIndex || undefined,
|
|
51973
|
+
absolute: absolute || true,
|
|
51974
|
+
position: position || undefined,
|
|
51963
51975
|
autoAdapt: true,
|
|
51964
51976
|
keygen: true,
|
|
51965
51977
|
size: size,
|
|
@@ -52530,7 +52542,8 @@ var Pagination = function Pagination(props) {
|
|
|
52530
52542
|
_props$text = props.text,
|
|
52531
52543
|
text = _props$text === void 0 ? {} : _props$text,
|
|
52532
52544
|
pageSizeList = props.pageSizeList,
|
|
52533
|
-
style = props.style
|
|
52545
|
+
style = props.style,
|
|
52546
|
+
select = props.select;
|
|
52534
52547
|
var _usePagination = use_pagination({
|
|
52535
52548
|
total: total,
|
|
52536
52549
|
span: span,
|
|
@@ -52595,6 +52608,7 @@ var Pagination = function Pagination(props) {
|
|
|
52595
52608
|
total: props.total || 0,
|
|
52596
52609
|
text: text,
|
|
52597
52610
|
size: size,
|
|
52611
|
+
select: select,
|
|
52598
52612
|
current: current || 0,
|
|
52599
52613
|
pageSize: pageSize,
|
|
52600
52614
|
pageSizeList: pageSizeList,
|
|
@@ -65278,7 +65292,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
65278
65292
|
|
|
65279
65293
|
|
|
65280
65294
|
/* harmony default export */ var src_0 = ({
|
|
65281
|
-
version: '3.4.4-beta.
|
|
65295
|
+
version: '3.4.4-beta.13'
|
|
65282
65296
|
});
|
|
65283
65297
|
}();
|
|
65284
65298
|
/******/ return __webpack_exports__;
|