uiw 4.10.5 → 4.11.1
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.d.ts +2 -0
- package/cjs/index.js +21 -0
- package/cjs/index.js.map +2 -2
- package/dist/uiw.css +74 -52
- package/dist/uiw.js +263 -159
- package/dist/uiw.min.css +1 -1
- package/dist/uiw.min.js +1 -1
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/index.js.map +3 -2
- package/package.json +56 -55
- package/src/index.ts +2 -0
package/dist/uiw.js
CHANGED
|
@@ -1007,9 +1007,93 @@ try {
|
|
|
1007
1007
|
|
|
1008
1008
|
/***/ }),
|
|
1009
1009
|
|
|
1010
|
-
/***/
|
|
1011
|
-
/***/ (function(
|
|
1010
|
+
/***/ 787:
|
|
1011
|
+
/***/ (function(module) {
|
|
1012
|
+
|
|
1013
|
+
"use strict";
|
|
1014
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__787__;
|
|
1015
|
+
|
|
1016
|
+
/***/ }),
|
|
1017
|
+
|
|
1018
|
+
/***/ 156:
|
|
1019
|
+
/***/ (function(module) {
|
|
1012
1020
|
|
|
1021
|
+
"use strict";
|
|
1022
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__156__;
|
|
1023
|
+
|
|
1024
|
+
/***/ })
|
|
1025
|
+
|
|
1026
|
+
/******/ });
|
|
1027
|
+
/************************************************************************/
|
|
1028
|
+
/******/ // The module cache
|
|
1029
|
+
/******/ var __webpack_module_cache__ = {};
|
|
1030
|
+
/******/
|
|
1031
|
+
/******/ // The require function
|
|
1032
|
+
/******/ function __webpack_require__(moduleId) {
|
|
1033
|
+
/******/ // Check if module is in cache
|
|
1034
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
1035
|
+
/******/ if (cachedModule !== undefined) {
|
|
1036
|
+
/******/ return cachedModule.exports;
|
|
1037
|
+
/******/ }
|
|
1038
|
+
/******/ // Create a new module (and put it into the cache)
|
|
1039
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1040
|
+
/******/ // no module.id needed
|
|
1041
|
+
/******/ // no module.loaded needed
|
|
1042
|
+
/******/ exports: {}
|
|
1043
|
+
/******/ };
|
|
1044
|
+
/******/
|
|
1045
|
+
/******/ // Execute the module function
|
|
1046
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
1047
|
+
/******/
|
|
1048
|
+
/******/ // Return the exports of the module
|
|
1049
|
+
/******/ return module.exports;
|
|
1050
|
+
/******/ }
|
|
1051
|
+
/******/
|
|
1052
|
+
/************************************************************************/
|
|
1053
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
1054
|
+
/******/ !function() {
|
|
1055
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
1056
|
+
/******/ __webpack_require__.n = function(module) {
|
|
1057
|
+
/******/ var getter = module && module.__esModule ?
|
|
1058
|
+
/******/ function() { return module['default']; } :
|
|
1059
|
+
/******/ function() { return module; };
|
|
1060
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
1061
|
+
/******/ return getter;
|
|
1062
|
+
/******/ };
|
|
1063
|
+
/******/ }();
|
|
1064
|
+
/******/
|
|
1065
|
+
/******/ /* webpack/runtime/define property getters */
|
|
1066
|
+
/******/ !function() {
|
|
1067
|
+
/******/ // define getter functions for harmony exports
|
|
1068
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
1069
|
+
/******/ for(var key in definition) {
|
|
1070
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
1071
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
1072
|
+
/******/ }
|
|
1073
|
+
/******/ }
|
|
1074
|
+
/******/ };
|
|
1075
|
+
/******/ }();
|
|
1076
|
+
/******/
|
|
1077
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
1078
|
+
/******/ !function() {
|
|
1079
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
1080
|
+
/******/ }();
|
|
1081
|
+
/******/
|
|
1082
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
1083
|
+
/******/ !function() {
|
|
1084
|
+
/******/ // define __esModule on exports
|
|
1085
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
1086
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
1087
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1088
|
+
/******/ }
|
|
1089
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
1090
|
+
/******/ };
|
|
1091
|
+
/******/ }();
|
|
1092
|
+
/******/
|
|
1093
|
+
/************************************************************************/
|
|
1094
|
+
var __webpack_exports__ = {};
|
|
1095
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
1096
|
+
!function() {
|
|
1013
1097
|
"use strict";
|
|
1014
1098
|
// ESM COMPAT FLAG
|
|
1015
1099
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -1043,6 +1127,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1043
1127
|
"Divider": function() { return /* reexport */ react_divider_esm; },
|
|
1044
1128
|
"Drawer": function() { return /* reexport */ react_drawer_esm; },
|
|
1045
1129
|
"Dropdown": function() { return /* reexport */ Dropdown; },
|
|
1130
|
+
"Empty": function() { return /* reexport */ react_empty_esm; },
|
|
1046
1131
|
"FileInput": function() { return /* reexport */ react_file_input_esm; },
|
|
1047
1132
|
"Form": function() { return /* reexport */ react_form_esm; },
|
|
1048
1133
|
"FormItem": function() { return /* reexport */ FormItem; },
|
|
@@ -4502,7 +4587,7 @@ function TimePicker(props) {
|
|
|
4502
4587
|
hideDisabled: hideDisabled,
|
|
4503
4588
|
precision: precision
|
|
4504
4589
|
};
|
|
4505
|
-
var inputValue = date ? formatter(format, date) : '';
|
|
4590
|
+
var inputValue = date ? formatter(format, new Date(date)) : '';
|
|
4506
4591
|
var datePickerTime = date || new Date();
|
|
4507
4592
|
|
|
4508
4593
|
var _props = _extends({}, inputProps, {
|
|
@@ -6218,6 +6303,70 @@ function Dropdown(props) {
|
|
|
6218
6303
|
children: /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().cloneElement(children, Object.assign({}, children.props))
|
|
6219
6304
|
}));
|
|
6220
6305
|
}
|
|
6306
|
+
;// CONCATENATED MODULE: ../react-empty/esm/style/index.css
|
|
6307
|
+
// extracted by mini-css-extract-plugin
|
|
6308
|
+
/* harmony default export */ var react_empty_esm_style = ({});
|
|
6309
|
+
;// CONCATENATED MODULE: ../react-empty/esm/index.js
|
|
6310
|
+
|
|
6311
|
+
|
|
6312
|
+
var react_empty_esm_excluded = ["prefixCls", "className", "icon", "iconProps", "size", "description", "children"];
|
|
6313
|
+
|
|
6314
|
+
|
|
6315
|
+
|
|
6316
|
+
|
|
6317
|
+
|
|
6318
|
+
var Empty = function Empty(props) {
|
|
6319
|
+
var _props$prefixCls = props.prefixCls,
|
|
6320
|
+
prefixCls = _props$prefixCls === void 0 ? 'w-empty' : _props$prefixCls,
|
|
6321
|
+
className = props.className,
|
|
6322
|
+
icon = props.icon,
|
|
6323
|
+
iconProps = props.iconProps,
|
|
6324
|
+
_props$size = props.size,
|
|
6325
|
+
size = _props$size === void 0 ? 64 : _props$size,
|
|
6326
|
+
_props$description = props.description,
|
|
6327
|
+
description = _props$description === void 0 ? '暂无数据' : _props$description,
|
|
6328
|
+
children = props.children,
|
|
6329
|
+
other = _objectWithoutPropertiesLoose(props, react_empty_esm_excluded);
|
|
6330
|
+
|
|
6331
|
+
var cls = [prefixCls, className].filter(Boolean).join(' ').trim();
|
|
6332
|
+
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", _extends({
|
|
6333
|
+
className: cls
|
|
6334
|
+
}, other, {
|
|
6335
|
+
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
6336
|
+
className: prefixCls + "-icon",
|
|
6337
|
+
children: icon ? icon : /*#__PURE__*/(0,jsx_runtime.jsxs)("svg", _extends({
|
|
6338
|
+
viewBox: "0 0 1024 1024",
|
|
6339
|
+
width: size,
|
|
6340
|
+
height: size
|
|
6341
|
+
}, iconProps, {
|
|
6342
|
+
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
|
|
6343
|
+
d: "M20.48 860.16a491.52 102.4 0 1 0 983.04 0 491.52 102.4 0 1 0-983.04 0Z",
|
|
6344
|
+
fill: "#F5F5F5"
|
|
6345
|
+
}), /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
|
|
6346
|
+
d: "M225.28 409.6l573.44-8.06912 112.78336 183.296H102.4z",
|
|
6347
|
+
fill: "#C4C5C7"
|
|
6348
|
+
}), /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
|
|
6349
|
+
d: "M266.24 61.44h491.52a40.96 40.96 0 0 1 40.96 40.96v532.48a40.96 40.96 0 0 1-40.96 40.96H266.24a40.96 40.96 0 0 1-40.96-40.96V102.4a40.96 40.96 0 0 1 40.96-40.96z",
|
|
6350
|
+
fill: "#F5F5F7"
|
|
6351
|
+
}), /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
|
|
6352
|
+
d: "M348.16 143.36h327.68a40.96 40.96 0 0 1 40.96 40.96v122.88a40.96 40.96 0 0 1-40.96 40.96H348.16a40.96 40.96 0 0 1-40.96-40.96V184.32a40.96 40.96 0 0 1 40.96-40.96zM327.68 409.6h368.64a20.48 20.48 0 0 1 0 40.96H327.68a20.48 20.48 0 0 1 0-40.96zM327.68 491.52h368.64a20.48 20.48 0 0 1 0 40.96H327.68a20.48 20.48 0 0 1 0-40.96z",
|
|
6353
|
+
fill: "#EBECEC"
|
|
6354
|
+
}), /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
|
|
6355
|
+
d: "M673.44384 607.58016v13.43488c0 25.14944-20.0704 45.52704-44.8512 45.52704H382.95552l-2.2528-0.06144c-23.7568-1.16736-42.63936-21.07392-42.63936-45.4656v-13.45536c0-12.55424-10.0352-22.7328-22.44608-22.7328H102.4v250.30656C102.4 860.2624 122.49088 880.64 147.29216 880.64h719.31904c24.7808 0 44.89216-20.3776 44.89216-45.50656V584.82688H695.88992c-12.3904 0-22.44608 10.17856-22.44608 22.7328z",
|
|
6356
|
+
fill: "#E0E0E0"
|
|
6357
|
+
})]
|
|
6358
|
+
}))
|
|
6359
|
+
}), description && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
6360
|
+
className: prefixCls + "-description",
|
|
6361
|
+
children: description
|
|
6362
|
+
}), children && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
6363
|
+
className: prefixCls + "-footer",
|
|
6364
|
+
children: children
|
|
6365
|
+
})]
|
|
6366
|
+
}));
|
|
6367
|
+
};
|
|
6368
|
+
|
|
6369
|
+
/* harmony default export */ var react_empty_esm = (Empty);
|
|
6221
6370
|
;// CONCATENATED MODULE: ../react-file-input/esm/Input.js
|
|
6222
6371
|
|
|
6223
6372
|
|
|
@@ -6812,7 +6961,8 @@ var isPromise = function isPromise(promise) {
|
|
|
6812
6961
|
return promise && typeof promise.then === 'function';
|
|
6813
6962
|
};
|
|
6814
6963
|
|
|
6815
|
-
function Form(_ref, ref
|
|
6964
|
+
function Form(_ref, ref //| React.RefObject<FormRefType>,
|
|
6965
|
+
) {
|
|
6816
6966
|
var _ref$prefixCls = _ref.prefixCls,
|
|
6817
6967
|
prefixCls = _ref$prefixCls === void 0 ? 'w-form' : _ref$prefixCls,
|
|
6818
6968
|
className = _ref.className,
|
|
@@ -6825,19 +6975,26 @@ function Form(_ref, ref) {
|
|
|
6825
6975
|
afterSubmit = _ref.afterSubmit,
|
|
6826
6976
|
others = _objectWithoutPropertiesLoose(_ref, Form_excluded);
|
|
6827
6977
|
|
|
6828
|
-
var initData =
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
|
-
|
|
6834
|
-
|
|
6835
|
-
|
|
6978
|
+
var initData = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
|
|
6979
|
+
return newFormState(fields, function (_ref2) {
|
|
6980
|
+
var initialValue = _ref2.initialValue;
|
|
6981
|
+
initialValue = newInitialValue(initialValue);
|
|
6982
|
+
return {
|
|
6983
|
+
initialValue: initialValue,
|
|
6984
|
+
currentValue: initialValue
|
|
6985
|
+
};
|
|
6986
|
+
});
|
|
6987
|
+
}, []);
|
|
6836
6988
|
|
|
6837
|
-
var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(initData),
|
|
6989
|
+
var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(JSON.parse(JSON.stringify(initData))),
|
|
6838
6990
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6839
6991
|
data = _useState2[0],
|
|
6840
|
-
|
|
6992
|
+
setDatas = _useState2[1];
|
|
6993
|
+
|
|
6994
|
+
var setData = function setData(values) {
|
|
6995
|
+
// 解决value为数组时不进行深拷贝,initvalue无法重置问题
|
|
6996
|
+
setDatas(JSON.parse(JSON.stringify(values)));
|
|
6997
|
+
};
|
|
6841
6998
|
|
|
6842
6999
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useImperativeHandle)(ref, function () {
|
|
6843
7000
|
return {
|
|
@@ -7012,10 +7169,10 @@ function Form(_ref, ref) {
|
|
|
7012
7169
|
props.id = element.props.id;
|
|
7013
7170
|
props.value = hasCurrentValue ? data.current && data.current[name] : props.value; // : element.props.value;
|
|
7014
7171
|
|
|
7015
|
-
var type = element.props.type;
|
|
7172
|
+
var type = element.props.type; // console.log('type', element)
|
|
7016
7173
|
|
|
7017
|
-
if (type === 'checkbox' || type === 'switch') {
|
|
7018
|
-
props.checked = !!props.
|
|
7174
|
+
if (type === 'checkbox' || type === 'switch' || typeof props.value === 'boolean') {
|
|
7175
|
+
props.checked = !!props.value;
|
|
7019
7176
|
delete props.value;
|
|
7020
7177
|
}
|
|
7021
7178
|
|
|
@@ -8328,6 +8485,52 @@ function NotificationCreate(props, type) {
|
|
|
8328
8485
|
};
|
|
8329
8486
|
});
|
|
8330
8487
|
/* harmony default export */ var react_notify_esm = (NotificationCreate);
|
|
8488
|
+
;// CONCATENATED MODULE: ../react-select/esm/Option.js
|
|
8489
|
+
|
|
8490
|
+
|
|
8491
|
+
|
|
8492
|
+
/* harmony default export */ var Option = (/*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(function (props, ref) {
|
|
8493
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)("option", _extends({}, props, {
|
|
8494
|
+
ref: ref
|
|
8495
|
+
}));
|
|
8496
|
+
}));
|
|
8497
|
+
;// CONCATENATED MODULE: ../react-select/esm/Group.js
|
|
8498
|
+
|
|
8499
|
+
|
|
8500
|
+
|
|
8501
|
+
/* harmony default export */ var Group = (/*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(function (props, ref) {
|
|
8502
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)("optgroup", _extends({}, props, {
|
|
8503
|
+
ref: ref
|
|
8504
|
+
}));
|
|
8505
|
+
}));
|
|
8506
|
+
;// CONCATENATED MODULE: ../react-select/esm/style/index.css
|
|
8507
|
+
// extracted by mini-css-extract-plugin
|
|
8508
|
+
/* harmony default export */ var react_select_esm_style = ({});
|
|
8509
|
+
;// CONCATENATED MODULE: ../react-select/esm/index.js
|
|
8510
|
+
|
|
8511
|
+
|
|
8512
|
+
var react_select_esm_excluded = ["prefixCls", "className", "size"];
|
|
8513
|
+
|
|
8514
|
+
|
|
8515
|
+
|
|
8516
|
+
|
|
8517
|
+
|
|
8518
|
+
var Select = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(function (props, ref) {
|
|
8519
|
+
var _props$prefixCls = props.prefixCls,
|
|
8520
|
+
prefixCls = _props$prefixCls === void 0 ? 'w-select' : _props$prefixCls,
|
|
8521
|
+
className = props.className,
|
|
8522
|
+
_props$size = props.size,
|
|
8523
|
+
size = _props$size === void 0 ? 'default' : _props$size,
|
|
8524
|
+
other = _objectWithoutPropertiesLoose(props, react_select_esm_excluded);
|
|
8525
|
+
|
|
8526
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)("select", _extends({}, other, {
|
|
8527
|
+
ref: ref,
|
|
8528
|
+
className: [prefixCls, className, size ? prefixCls + "-" + size : null].filter(Boolean).join(' ').trim()
|
|
8529
|
+
}));
|
|
8530
|
+
});
|
|
8531
|
+
Select.Option = Option;
|
|
8532
|
+
Select.Group = Group;
|
|
8533
|
+
/* harmony default export */ var react_select_esm = (Select);
|
|
8331
8534
|
;// CONCATENATED MODULE: ../react-pagination/esm/style/index.css
|
|
8332
8535
|
// extracted by mini-css-extract-plugin
|
|
8333
8536
|
/* harmony default export */ var react_pagination_esm_style = ({});
|
|
@@ -8335,7 +8538,9 @@ function NotificationCreate(props, type) {
|
|
|
8335
8538
|
|
|
8336
8539
|
|
|
8337
8540
|
|
|
8338
|
-
var react_pagination_esm_excluded = ["className", "style", "prefixCls", "alignment", "size", "total", "pageSize", "current", "onChange", "divider"];
|
|
8541
|
+
var react_pagination_esm_excluded = ["className", "style", "prefixCls", "alignment", "size", "total", "pageSize", "pageSizeOptions", "current", "onChange", "onShowSizeChange", "divider"];
|
|
8542
|
+
|
|
8543
|
+
|
|
8339
8544
|
|
|
8340
8545
|
|
|
8341
8546
|
|
|
@@ -8352,12 +8557,15 @@ function Pagination(props) {
|
|
|
8352
8557
|
total = _props$total === void 0 ? 0 : _props$total,
|
|
8353
8558
|
_props$pageSize = props.pageSize,
|
|
8354
8559
|
pageSize = _props$pageSize === void 0 ? 10 : _props$pageSize,
|
|
8560
|
+
_props$pageSizeOption = props.pageSizeOptions,
|
|
8561
|
+
pageSizeOptions = _props$pageSizeOption === void 0 ? [] : _props$pageSizeOption,
|
|
8355
8562
|
_props$current = props.current,
|
|
8356
8563
|
currentNumber = _props$current === void 0 ? 1 : _props$current,
|
|
8357
8564
|
_props$onChange = props.onChange,
|
|
8358
8565
|
onChange = _props$onChange === void 0 ? function () {
|
|
8359
8566
|
return null;
|
|
8360
8567
|
} : _props$onChange,
|
|
8568
|
+
onShowSizeChange = props.onShowSizeChange,
|
|
8361
8569
|
divider = props.divider,
|
|
8362
8570
|
other = _objectWithoutPropertiesLoose(props, react_pagination_esm_excluded);
|
|
8363
8571
|
|
|
@@ -8485,13 +8693,20 @@ function Pagination(props) {
|
|
|
8485
8693
|
onChange && onChange(state.current, total, pageSize);
|
|
8486
8694
|
}
|
|
8487
8695
|
|
|
8488
|
-
|
|
8696
|
+
var onSizeChange = function onSizeChange(e) {
|
|
8697
|
+
var sizeCount = Number(e.target.value);
|
|
8698
|
+
var count = Math.ceil(total / sizeCount);
|
|
8699
|
+
var newCurrent = current > count ? count : current;
|
|
8700
|
+
onShowSizeChange && onShowSizeChange(newCurrent, sizeCount);
|
|
8701
|
+
};
|
|
8702
|
+
|
|
8703
|
+
return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", _extends({
|
|
8489
8704
|
className: cls,
|
|
8490
8705
|
style: _extends({}, style, {
|
|
8491
8706
|
textAlign: alignment
|
|
8492
8707
|
})
|
|
8493
8708
|
}, other, {
|
|
8494
|
-
children: initPageSoure.map(function (item, idx) {
|
|
8709
|
+
children: [initPageSoure.map(function (item, idx) {
|
|
8495
8710
|
// eslint-disable-next-line jsx-a11y/anchor-is-valid
|
|
8496
8711
|
var label = /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
8497
8712
|
children: item.label
|
|
@@ -8511,7 +8726,20 @@ function Pagination(props) {
|
|
|
8511
8726
|
},
|
|
8512
8727
|
children: label
|
|
8513
8728
|
}, idx);
|
|
8514
|
-
})
|
|
8729
|
+
}), pageSizeOptions.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
|
|
8730
|
+
className: prefixCls + "-options",
|
|
8731
|
+
children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_select_esm, {
|
|
8732
|
+
size: size,
|
|
8733
|
+
defaultValue: pageSize,
|
|
8734
|
+
onChange: onSizeChange,
|
|
8735
|
+
children: pageSizeOptions.map(function (item, index) {
|
|
8736
|
+
return /*#__PURE__*/(0,jsx_runtime.jsxs)(react_select_esm.Option, {
|
|
8737
|
+
value: item,
|
|
8738
|
+
children: [item, "\u6761/\u9875"]
|
|
8739
|
+
}, index);
|
|
8740
|
+
})
|
|
8741
|
+
})
|
|
8742
|
+
})]
|
|
8515
8743
|
}));
|
|
8516
8744
|
}
|
|
8517
8745
|
;// CONCATENATED MODULE: ../react-pin-code/esm/style/input.css
|
|
@@ -9235,52 +9463,6 @@ function SearchSelect(props) {
|
|
|
9235
9463
|
})
|
|
9236
9464
|
}));
|
|
9237
9465
|
}
|
|
9238
|
-
;// CONCATENATED MODULE: ../react-select/esm/Option.js
|
|
9239
|
-
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
/* harmony default export */ var Option = (/*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(function (props, ref) {
|
|
9243
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)("option", _extends({}, props, {
|
|
9244
|
-
ref: ref
|
|
9245
|
-
}));
|
|
9246
|
-
}));
|
|
9247
|
-
;// CONCATENATED MODULE: ../react-select/esm/Group.js
|
|
9248
|
-
|
|
9249
|
-
|
|
9250
|
-
|
|
9251
|
-
/* harmony default export */ var Group = (/*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(function (props, ref) {
|
|
9252
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)("optgroup", _extends({}, props, {
|
|
9253
|
-
ref: ref
|
|
9254
|
-
}));
|
|
9255
|
-
}));
|
|
9256
|
-
;// CONCATENATED MODULE: ../react-select/esm/style/index.css
|
|
9257
|
-
// extracted by mini-css-extract-plugin
|
|
9258
|
-
/* harmony default export */ var react_select_esm_style = ({});
|
|
9259
|
-
;// CONCATENATED MODULE: ../react-select/esm/index.js
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
var react_select_esm_excluded = ["prefixCls", "className", "size"];
|
|
9263
|
-
|
|
9264
|
-
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
var Select = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(function (props, ref) {
|
|
9269
|
-
var _props$prefixCls = props.prefixCls,
|
|
9270
|
-
prefixCls = _props$prefixCls === void 0 ? 'w-select' : _props$prefixCls,
|
|
9271
|
-
className = props.className,
|
|
9272
|
-
_props$size = props.size,
|
|
9273
|
-
size = _props$size === void 0 ? 'default' : _props$size,
|
|
9274
|
-
other = _objectWithoutPropertiesLoose(props, react_select_esm_excluded);
|
|
9275
|
-
|
|
9276
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)("select", _extends({}, other, {
|
|
9277
|
-
ref: ref,
|
|
9278
|
-
className: [prefixCls, className, size ? prefixCls + "-" + size : null].filter(Boolean).join(' ').trim()
|
|
9279
|
-
}));
|
|
9280
|
-
});
|
|
9281
|
-
Select.Option = Option;
|
|
9282
|
-
Select.Group = Group;
|
|
9283
|
-
/* harmony default export */ var react_select_esm = (Select);
|
|
9284
9466
|
;// CONCATENATED MODULE: ../../node_modules/@uiw/react-split/esm/style/index.css
|
|
9285
9467
|
// extracted by mini-css-extract-plugin
|
|
9286
9468
|
/* harmony default export */ var react_split_esm_style = ({});
|
|
@@ -10283,7 +10465,7 @@ var getAllColumnsKeys = function getAllColumnsKeys(data, keys) {
|
|
|
10283
10465
|
;// CONCATENATED MODULE: ../react-table/esm/index.js
|
|
10284
10466
|
|
|
10285
10467
|
|
|
10286
|
-
var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "title", "footer", "bordered", "onCell", "onCellHead"];
|
|
10468
|
+
var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "title", "footer", "bordered", "onCell", "onCellHead", "empty", "children"];
|
|
10287
10469
|
|
|
10288
10470
|
|
|
10289
10471
|
|
|
@@ -10312,6 +10494,7 @@ var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "ti
|
|
|
10312
10494
|
onCell = _props$onCell === void 0 ? noop : _props$onCell,
|
|
10313
10495
|
_props$onCellHead = _props.onCellHead,
|
|
10314
10496
|
onCellHead = _props$onCellHead === void 0 ? noop : _props$onCellHead,
|
|
10497
|
+
empty = _props.empty,
|
|
10315
10498
|
other = _objectWithoutPropertiesLoose(props, react_table_esm_excluded);
|
|
10316
10499
|
|
|
10317
10500
|
var cls = [prefixCls, className, bordered ? prefixCls + "-bordered" : null].filter(Boolean).join(' ').trim();
|
|
@@ -10378,6 +10561,17 @@ var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "ti
|
|
|
10378
10561
|
})
|
|
10379
10562
|
}, rowNum);
|
|
10380
10563
|
})
|
|
10564
|
+
}), data && data.length === 0 && empty && /*#__PURE__*/(0,jsx_runtime.jsx)("tbody", {
|
|
10565
|
+
children: /*#__PURE__*/(0,jsx_runtime.jsx)("tr", {
|
|
10566
|
+
children: /*#__PURE__*/(0,jsx_runtime.jsx)("td", {
|
|
10567
|
+
colSpan: columns.length,
|
|
10568
|
+
style: {
|
|
10569
|
+
position: 'relative',
|
|
10570
|
+
left: 0
|
|
10571
|
+
},
|
|
10572
|
+
children: empty
|
|
10573
|
+
})
|
|
10574
|
+
})
|
|
10381
10575
|
}), props.children]
|
|
10382
10576
|
}), footer && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
10383
10577
|
className: prefixCls + "-footer",
|
|
@@ -11204,98 +11398,8 @@ function TreeChecked(_ref) {
|
|
|
11204
11398
|
|
|
11205
11399
|
|
|
11206
11400
|
|
|
11207
|
-
/***/ }),
|
|
11208
11401
|
|
|
11209
|
-
|
|
11210
|
-
/***/ (function(module) {
|
|
11211
|
-
|
|
11212
|
-
"use strict";
|
|
11213
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__787__;
|
|
11214
|
-
|
|
11215
|
-
/***/ }),
|
|
11216
|
-
|
|
11217
|
-
/***/ 156:
|
|
11218
|
-
/***/ (function(module) {
|
|
11219
|
-
|
|
11220
|
-
"use strict";
|
|
11221
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__156__;
|
|
11222
|
-
|
|
11223
|
-
/***/ })
|
|
11224
|
-
|
|
11225
|
-
/******/ });
|
|
11226
|
-
/************************************************************************/
|
|
11227
|
-
/******/ // The module cache
|
|
11228
|
-
/******/ var __webpack_module_cache__ = {};
|
|
11229
|
-
/******/
|
|
11230
|
-
/******/ // The require function
|
|
11231
|
-
/******/ function __webpack_require__(moduleId) {
|
|
11232
|
-
/******/ // Check if module is in cache
|
|
11233
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
11234
|
-
/******/ if (cachedModule !== undefined) {
|
|
11235
|
-
/******/ return cachedModule.exports;
|
|
11236
|
-
/******/ }
|
|
11237
|
-
/******/ // Create a new module (and put it into the cache)
|
|
11238
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
11239
|
-
/******/ // no module.id needed
|
|
11240
|
-
/******/ // no module.loaded needed
|
|
11241
|
-
/******/ exports: {}
|
|
11242
|
-
/******/ };
|
|
11243
|
-
/******/
|
|
11244
|
-
/******/ // Execute the module function
|
|
11245
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
11246
|
-
/******/
|
|
11247
|
-
/******/ // Return the exports of the module
|
|
11248
|
-
/******/ return module.exports;
|
|
11249
|
-
/******/ }
|
|
11250
|
-
/******/
|
|
11251
|
-
/************************************************************************/
|
|
11252
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
11253
|
-
/******/ !function() {
|
|
11254
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
11255
|
-
/******/ __webpack_require__.n = function(module) {
|
|
11256
|
-
/******/ var getter = module && module.__esModule ?
|
|
11257
|
-
/******/ function() { return module['default']; } :
|
|
11258
|
-
/******/ function() { return module; };
|
|
11259
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
11260
|
-
/******/ return getter;
|
|
11261
|
-
/******/ };
|
|
11262
|
-
/******/ }();
|
|
11263
|
-
/******/
|
|
11264
|
-
/******/ /* webpack/runtime/define property getters */
|
|
11265
|
-
/******/ !function() {
|
|
11266
|
-
/******/ // define getter functions for harmony exports
|
|
11267
|
-
/******/ __webpack_require__.d = function(exports, definition) {
|
|
11268
|
-
/******/ for(var key in definition) {
|
|
11269
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
11270
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
11271
|
-
/******/ }
|
|
11272
|
-
/******/ }
|
|
11273
|
-
/******/ };
|
|
11274
|
-
/******/ }();
|
|
11275
|
-
/******/
|
|
11276
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
11277
|
-
/******/ !function() {
|
|
11278
|
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
11279
|
-
/******/ }();
|
|
11280
|
-
/******/
|
|
11281
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
11282
|
-
/******/ !function() {
|
|
11283
|
-
/******/ // define __esModule on exports
|
|
11284
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
11285
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
11286
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
11287
|
-
/******/ }
|
|
11288
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
11289
|
-
/******/ };
|
|
11290
|
-
/******/ }();
|
|
11291
|
-
/******/
|
|
11292
|
-
/************************************************************************/
|
|
11293
|
-
/******/
|
|
11294
|
-
/******/ // startup
|
|
11295
|
-
/******/ // Load entry module and return exports
|
|
11296
|
-
/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
|
|
11297
|
-
/******/ var __webpack_exports__ = __webpack_require__(523);
|
|
11298
|
-
/******/
|
|
11402
|
+
}();
|
|
11299
11403
|
/******/ return __webpack_exports__;
|
|
11300
11404
|
/******/ })()
|
|
11301
11405
|
;
|