uiw 5.0.0-bate-1 → 5.0.0-bate-4

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.
Files changed (3) hide show
  1. package/dist/uiw.js +161 -99
  2. package/dist/uiw.min.js +1 -1
  3. package/package.json +60 -60
package/dist/uiw.js CHANGED
@@ -86,6 +86,42 @@ return /******/ (() => { // webpackBootstrap
86
86
  //# sourceMappingURL=copy-to-clipboard.umd.js.map
87
87
 
88
88
 
89
+ /***/ }),
90
+
91
+ /***/ 394:
92
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
93
+
94
+ "use strict";
95
+ var __webpack_unused_export__;
96
+
97
+
98
+ var _interopRequireDefault = (__webpack_require__(600)["default"]);
99
+
100
+ __webpack_unused_export__ = ({
101
+ value: true
102
+ });
103
+ exports.T = void 0;
104
+
105
+ var _objectSpread2 = _interopRequireDefault(__webpack_require__(814));
106
+
107
+ var _react = _interopRequireDefault(__webpack_require__(787));
108
+
109
+ var _jsxRuntime = __webpack_require__(664);
110
+
111
+ var CaretRight = function CaretRight(props) {
112
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", (0, _objectSpread2["default"])((0, _objectSpread2["default"])({
113
+ viewBox: "0 0 20 20"
114
+ }, props), {}, {
115
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
116
+ d: "M4.99997298,2.64282227 L4.99997298,17.4082642 C5.09237787,17.7285055 5.29866028,17.9191895 5.61882019,17.9803162 C5.9389801,18.0414429 6.25233968,17.9564514 6.55889893,17.7253418 L14.6656665,10.7321242 C14.8885375,10.5329849 14.999973,10.2889901 14.999973,10.0001397 C14.999973,9.71128923 14.8885375,9.46773884 14.6656665,9.26948848 C11.7588863,6.76244709 9.06373939,4.43805189 6.58022575,2.29630288 C6.3482666,2.09913635 5.94128418,1.91293335 5.51852417,2.04302979 C5.23668416,2.12976074 5.06383377,2.32969157 4.99997298,2.64282227 Z",
117
+ fillRule: "evenodd"
118
+ })
119
+ }));
120
+ };
121
+
122
+ exports.T = CaretRight;
123
+
124
+
89
125
  /***/ }),
90
126
 
91
127
  /***/ 809:
@@ -1055,7 +1091,7 @@ __webpack_require__.d(__webpack_exports__, {
1055
1091
  "DateTimeStylePanelUl": () => (/* reexport */ DateTimeStylePanelUl),
1056
1092
  "DayRect": () => (/* reexport */ DayRect),
1057
1093
  "Descriptions": () => (/* reexport */ react_descriptions_esm),
1058
- "DescriptionsStyleItem": () => (/* reexport */ style_DescriptionsStyleItem),
1094
+ "DescriptionsStyleItem": () => (/* reexport */ DescriptionsStyleItem),
1059
1095
  "DescriptionsStyleTable": () => (/* reexport */ DescriptionsStyleTable),
1060
1096
  "DescriptionsStyleTableCaption": () => (/* reexport */ DescriptionsStyleTableCaption),
1061
1097
  "DescriptionsStyleTableRow": () => (/* reexport */ DescriptionsStyleTableRow),
@@ -3505,7 +3541,7 @@ var style_templateObject, style_templateObject2, style_templateObject3, style_te
3505
3541
 
3506
3542
 
3507
3543
  var loadingCircle = Ue(style_templateObject || (style_templateObject = _taggedTemplateLiteralLoose(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));
3508
- var IconStyleBase = styled_components_browser_esm.span(style_templateObject2 || (style_templateObject2 = _taggedTemplateLiteralLoose(["\n height: 1em;\n width: 1em;\n & svg {\n height: 1em;\n width: 1em;\n }\n display: inline-flex;\n align-self: center;\n position: relative;\n transition: color 0.3s;\n box-sizing: inherit;\n ", "\n ", "\n"])), props => {
3544
+ var IconStyleBase = styled_components_browser_esm.span(style_templateObject2 || (style_templateObject2 = _taggedTemplateLiteralLoose(["\n height: 1em;\n width: 1em;\n fill: 'currentColor';\n & svg {\n height: 1em;\n width: 1em;\n fill: 'currentColor';\n }\n display: inline-flex;\n align-self: center;\n position: relative;\n transition: color 0.3s;\n box-sizing: inherit;\n ", "\n ", "\n"])), props => {
3509
3545
  var _props$params;
3510
3546
 
3511
3547
  return (props.verticalAlign === 'baseline' || ((_props$params = props.params) == null ? void 0 : _props$params.verticalAlign) === 'baseline') && Ce(style_templateObject3 || (style_templateObject3 = _taggedTemplateLiteralLoose(["\n top: 0.125em;\n "])));
@@ -4217,7 +4253,7 @@ var propsTheme = {
4217
4253
  };
4218
4254
 
4219
4255
  var typeVariant = (type, color) => {
4220
- return Ce(react_alert_esm_style_templateObject || (react_alert_esm_style_templateObject = _taggedTemplateLiteralLoose(["\n ", " > ", " {\n color: ", ";\n }\n "])), ModalStyleHeader, IconStyleBase, color);
4256
+ return Ce(react_alert_esm_style_templateObject || (react_alert_esm_style_templateObject = _taggedTemplateLiteralLoose(["\n ", " > ", " {\n color: ", ";\n fill: ", ";\n }\n "])), ModalStyleHeader, IconStyleBase, color, color);
4221
4257
  };
4222
4258
 
4223
4259
  var typeCss = props => {
@@ -6948,6 +6984,32 @@ function Calendar(props) {
6948
6984
  });
6949
6985
  }
6950
6986
 
6987
+ ;// CONCATENATED MODULE: ../react-card/esm/style/theme.js
6988
+ var CardStyleTheme = {
6989
+ borderRadiusLarge: '5px',
6990
+ fontSizeDefault: '14px',
6991
+ lineHeightDefault: 1.5,
6992
+ borderColorBaseActive: 'rgba(0, 0, 0, 0.2)',
6993
+ borderColorBase: '#e9e9e9',
6994
+ backgroundColorBase: '#fff',
6995
+ heightCardStyleHead: '40px',
6996
+ paddingVerticalCardStyleHead: 0,
6997
+ paddingHorizontalCardStyleHead: '14px',
6998
+ borderRadius1CardStyleHead: '2px',
6999
+ borderRadius2CardStyleHead: '2px',
7000
+ borderRadius3CardStyleHead: 0,
7001
+ borderRadius4CardStyleHead: 0,
7002
+ colorBase: '#393e48',
7003
+ rightCardStyleHeadExtra: '16px',
7004
+ topCardStyleHeadExtra: 0,
7005
+ paddingCardBody: '14px',
7006
+ borderTopCardBody: '1px solid #e9e9e9',
7007
+ paddingVerticalCardStyleFooter: '8px',
7008
+ paddingHorizontalCardStyleFooter: '10px',
7009
+ borderTopCardStyleFooter: '1px solid #F2F2F2',
7010
+ colorCardStyleFooter: '#999999'
7011
+ };
7012
+
6951
7013
  ;// CONCATENATED MODULE: ../react-card/esm/style/utils.js
6952
7014
 
6953
7015
 
@@ -6963,6 +7025,7 @@ var utils_propsTheme = {
6963
7025
 
6964
7026
  var getHoverOrActive = props => Ce(utils_templateObject || (utils_templateObject = _taggedTemplateLiteralLoose(["\n box-shadow: 0 1px 6px ", ";\n border-color: ", ";\n"])), () => getThemeVariantValue(extends_extends({}, props, utils_propsTheme), 'borderColorBaseActive'), () => getThemeVariantValue(extends_extends({}, props, utils_propsTheme), 'borderColorBaseActive'));
6965
7027
 
7028
+ console.log('333', CardStyleTheme, getThemeVariantValue(extends_extends({}, utils_propsTheme), 'borderColorBaseActive'));
6966
7029
  var getNoHover = props => {
6967
7030
  if (!props.noHover) {
6968
7031
  return Ce(utils_templateObject2 || (utils_templateObject2 = _taggedTemplateLiteralLoose(["\n &:hover {\n ", "\n }\n "])), () => getHoverOrActive(props));
@@ -6987,30 +7050,8 @@ var react_card_esm_style_templateObject, react_card_esm_style_templateObject2, r
6987
7050
 
6988
7051
 
6989
7052
 
6990
- var CardStyleTheme = {
6991
- borderRadiusLarge: '5px',
6992
- fontSizeDefault: '14px',
6993
- lineHeightDefault: 1.5,
6994
- borderColorBaseActive: '#CCCCCC',
6995
- borderColorBase: '#e9e9e9',
6996
- backgroundColorBase: '#fff',
6997
- heightCardStyleHead: '40px',
6998
- paddingVerticalCardStyleHead: 0,
6999
- paddingHorizontalCardStyleHead: '14px',
7000
- borderRadius1CardStyleHead: '2px',
7001
- borderRadius2CardStyleHead: '2px',
7002
- borderRadius3CardStyleHead: 0,
7003
- borderRadius4CardStyleHead: 0,
7004
- colorBase: '#393e48',
7005
- rightCardStyleHeadExtra: '16px',
7006
- topCardStyleHeadExtra: 0,
7007
- paddingCardBody: '14px',
7008
- borderTopCardBody: '1px solid #e9e9e9',
7009
- paddingVerticalCardStyleFooter: '8px',
7010
- paddingHorizontalCardStyleFooter: '10px',
7011
- borderTopCardStyleFooter: '1px solid #F2F2F2',
7012
- colorCardStyleFooter: '#999999'
7013
- };
7053
+
7054
+
7014
7055
  var react_card_esm_style_propsTheme = {
7015
7056
  defaultTheme: extends_extends({}, CardStyleTheme)
7016
7057
  };
@@ -7320,7 +7361,7 @@ var MenuStyleTheme = {
7320
7361
  };
7321
7362
  var MenuDividerBase = styled_components_browser_esm.li(react_menu_esm_style_templateObject || (react_menu_esm_style_templateObject = _taggedTemplateLiteralLoose([""]))); // export interface MenuStyleItemBaseProps extends Omit<MenuItemProps<'a'>, 'theme'>, ThemeVar {
7322
7363
 
7323
- var MenuStyleItemIcon = styled_components_browser_esm(Icon)(react_menu_esm_style_templateObject2 || (react_menu_esm_style_templateObject2 = _taggedTemplateLiteralLoose([""])));
7364
+ var MenuStyleItemIcon = styled_components_browser_esm(IconStyleBase)(react_menu_esm_style_templateObject2 || (react_menu_esm_style_templateObject2 = _taggedTemplateLiteralLoose([""])));
7324
7365
  var MenuItemStyleTextBase = styled_components_browser_esm.div(react_menu_esm_style_templateObject3 || (react_menu_esm_style_templateObject3 = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n"])), props => {
7325
7366
  var _props$params;
7326
7367
 
@@ -7358,7 +7399,7 @@ var MenuStyleItemBase = styled_components_browser_esm.a(react_menu_esm_style_tem
7358
7399
  MenuStyleItemBase.defaultProps = {
7359
7400
  defaultTheme: MenuStyleTheme
7360
7401
  };
7361
- var SubItemCollapseIcon = styled_components_browser_esm(Icon)(react_menu_esm_style_templateObject12 || (react_menu_esm_style_templateObject12 = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n"])), props => {
7402
+ var SubItemCollapseIcon = styled_components_browser_esm(IconStyleBase)(react_menu_esm_style_templateObject12 || (react_menu_esm_style_templateObject12 = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n"])), props => {
7362
7403
  var _props$params8;
7363
7404
 
7364
7405
  return ((_props$params8 = props.params) == null ? void 0 : _props$params8.prefixCls) && Ce(react_menu_esm_style_templateObject13 || (react_menu_esm_style_templateObject13 = _taggedTemplateLiteralLoose(["\n transform: scale(0.79);\n "])));
@@ -7466,8 +7507,8 @@ function Internal(props, ref) {
7466
7507
  }), /*#__PURE__*/(0,jsx_runtime.jsxs)(external_root_React_commonjs2_react_commonjs_react_amd_react_.Fragment, {
7467
7508
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)(MenuStyleItemIcon, {
7468
7509
  className: prefixCls + "-icon",
7469
- type: icon
7470
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {}), /*#__PURE__*/(0,jsx_runtime.jsx)(MenuItemStyleTextBase, {
7510
+ children: icon
7511
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(MenuItemStyleTextBase, {
7471
7512
  params: {
7472
7513
  multiline,
7473
7514
  isText: !!prefixCls
@@ -7558,6 +7599,8 @@ var useMenuContext = () => {
7558
7599
  };
7559
7600
  };
7560
7601
 
7602
+ // EXTERNAL MODULE: ../../node_modules/@uiw/icons/lib/CaretRight.js
7603
+ var CaretRight = __webpack_require__(394);
7561
7604
  ;// CONCATENATED MODULE: ../react-menu/esm/SubMenu.js
7562
7605
 
7563
7606
 
@@ -7569,6 +7612,7 @@ var SubMenu_excluded = ["prefixCls", "className", "disabled", "overlayProps", "c
7569
7612
 
7570
7613
 
7571
7614
 
7615
+
7572
7616
  function checkedMenuItem(node) {
7573
7617
  var isCheck = false;
7574
7618
 
@@ -7595,13 +7639,17 @@ function IconView(_ref) {
7595
7639
  isOpen
7596
7640
  } = _ref;
7597
7641
  return (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => /*#__PURE__*/(0,jsx_runtime.jsx)(SubItemCollapseIcon, {
7598
- type: "caret-right",
7599
7642
  params: {
7600
7643
  prefixCls,
7601
7644
  collapse,
7602
7645
  isOpen
7603
7646
  },
7604
- className: [prefixCls ? prefixCls + "-collapse-icon" : null, !collapse && isOpen ? 'w-open' : null, !collapse && !isOpen ? 'w-close' : null].filter(Boolean).join(' ').trim()
7647
+ className: [prefixCls ? prefixCls + "-collapse-icon" : null, !collapse && isOpen ? 'w-open' : null, !collapse && !isOpen ? 'w-close' : null].filter(Boolean).join(' ').trim(),
7648
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(CaretRight/* CaretRight */.T, {
7649
+ style: {
7650
+ fill: 'currentColor'
7651
+ }
7652
+ })
7605
7653
  }), [prefixCls, collapse, isOpen]);
7606
7654
  }
7607
7655
 
@@ -7748,7 +7796,8 @@ var Menu_excluded = ["prefixCls", "className", "children", "bordered", "theme",
7748
7796
 
7749
7797
 
7750
7798
 
7751
- var Menu = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef((props, ref) => {
7799
+
7800
+ var Menu = (props, ref) => {
7752
7801
  var {
7753
7802
  prefixCls = 'w-menu',
7754
7803
  className,
@@ -7789,12 +7838,14 @@ var Menu = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_r
7789
7838
  })
7790
7839
  }))
7791
7840
  });
7792
- });
7841
+ };
7842
+
7793
7843
  Menu.displayName = 'uiw.Menu';
7794
- Menu.Item = MenuItem;
7795
- Menu.SubMenu = SubMenu;
7796
- Menu.Divider = MenuDivider;
7797
- /* harmony default export */ const esm_Menu = (Menu);
7844
+ var ContextMenu = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(Menu);
7845
+ ContextMenu.Item = MenuItem;
7846
+ ContextMenu.SubMenu = SubMenu;
7847
+ ContextMenu.Divider = MenuDivider;
7848
+ /* harmony default export */ const esm_Menu = (ContextMenu);
7798
7849
 
7799
7850
  ;// CONCATENATED MODULE: ../react-menu/esm/index.js
7800
7851
 
@@ -8713,6 +8764,7 @@ function InternalCollapse(props, ref) {
8713
8764
  }
8714
8765
 
8715
8766
  var Collapse = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(InternalCollapse);
8767
+ Collapse.displayName = 'Collapse';
8716
8768
  Collapse.Panel = Panel;
8717
8769
  /* harmony default export */ const esm_Collapse = (Collapse);
8718
8770
 
@@ -9003,14 +9055,14 @@ function DateInput(props) {
9003
9055
  }
9004
9056
 
9005
9057
  ;// CONCATENATED MODULE: ../react-descriptions/esm/DescriptionsItem.js
9006
- var DescriptionsStyleItem = _ref => {
9058
+ var DescriptionsItem = _ref => {
9007
9059
  var {
9008
9060
  children
9009
9061
  } = _ref;
9010
9062
  return children;
9011
9063
  };
9012
9064
 
9013
- /* harmony default export */ const DescriptionsItem = (DescriptionsStyleItem);
9065
+ /* harmony default export */ const esm_DescriptionsItem = (DescriptionsItem);
9014
9066
 
9015
9067
  ;// CONCATENATED MODULE: ../react-descriptions/esm/style/index.js
9016
9068
 
@@ -9041,11 +9093,11 @@ var react_descriptions_esm_style_propsTheme = {
9041
9093
  defaultTheme: extends_extends({}, DescriptionsStyleTheme)
9042
9094
  };
9043
9095
  var DescriptionsStyleWarp = styled_components_browser_esm.div(react_descriptions_esm_style_templateObject || (react_descriptions_esm_style_templateObject = _taggedTemplateLiteralLoose(["\n background: ", ";\n ", "\n"])), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'backgroundColorBase'), props => props.bordered && Ce(react_descriptions_esm_style_templateObject2 || (react_descriptions_esm_style_templateObject2 = _taggedTemplateLiteralLoose(["\n & {\n overflow: hidden;\n border-radius: 3px;\n border: 1px solid ", ";\n }\n "])), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'borderColorDescriptions')));
9044
- var style_DescriptionsStyleItem = styled_components_browser_esm.th(react_descriptions_esm_style_templateObject3 || (react_descriptions_esm_style_templateObject3 = _taggedTemplateLiteralLoose(["\n ", "\n\n ", "\n ", "\n ", "\n"])), props => props.isLabel && Ce(react_descriptions_esm_style_templateObject4 || (react_descriptions_esm_style_templateObject4 = _taggedTemplateLiteralLoose(["\n & {\n font-size: 14px;\n font-weight: normal;\n &::after {\n position: relative;\n top: -0.5px;\n margin: 0 8px 0 2px;\n content: ' ';\n }\n }\n "]))), props => props.isColon && Ce(react_descriptions_esm_style_templateObject5 || (react_descriptions_esm_style_templateObject5 = _taggedTemplateLiteralLoose(["\n &::after {\n content: ':';\n }\n & {\n color: ", ";\n }\n "])), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'colorDescriptionsColon')), props => props.isContent && Ce(react_descriptions_esm_style_templateObject6 || (react_descriptions_esm_style_templateObject6 = _taggedTemplateLiteralLoose(["\n & {\n font-size: ", ";\n color: ", ";\n }\n "])), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'fontSizeDefault'), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'colorDescriptionsConent')), props => props.bordered && (props.isContent || props.isLabel) && Ce(react_descriptions_esm_style_templateObject7 || (react_descriptions_esm_style_templateObject7 = _taggedTemplateLiteralLoose(["\n &&:last-child {\n border-right: none;\n }\n "]))));
9096
+ var DescriptionsStyleItem = styled_components_browser_esm.th(react_descriptions_esm_style_templateObject3 || (react_descriptions_esm_style_templateObject3 = _taggedTemplateLiteralLoose(["\n ", "\n\n ", "\n ", "\n ", "\n"])), props => props.isLabel && Ce(react_descriptions_esm_style_templateObject4 || (react_descriptions_esm_style_templateObject4 = _taggedTemplateLiteralLoose(["\n & {\n font-size: 14px;\n font-weight: normal;\n &::after {\n position: relative;\n top: -0.5px;\n margin: 0 8px 0 2px;\n content: ' ';\n }\n }\n "]))), props => props.isColon && Ce(react_descriptions_esm_style_templateObject5 || (react_descriptions_esm_style_templateObject5 = _taggedTemplateLiteralLoose(["\n &::after {\n content: ':';\n }\n & {\n color: ", ";\n }\n "])), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'colorDescriptionsColon')), props => props.isContent && Ce(react_descriptions_esm_style_templateObject6 || (react_descriptions_esm_style_templateObject6 = _taggedTemplateLiteralLoose(["\n & {\n font-size: ", ";\n color: ", ";\n }\n "])), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'fontSizeDefault'), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'colorDescriptionsConent')), props => props.bordered && (props.isContent || props.isLabel) && Ce(react_descriptions_esm_style_templateObject7 || (react_descriptions_esm_style_templateObject7 = _taggedTemplateLiteralLoose(["\n &&:last-child {\n border-right: none;\n }\n "]))));
9045
9097
  var DescriptionsStyleTable = styled_components_browser_esm.table(react_descriptions_esm_style_templateObject8 || (react_descriptions_esm_style_templateObject8 = _taggedTemplateLiteralLoose(["\n display: table !important;\n margin-bottom: 0 !important;\n margin: 0;\n border-spacing: 0;\n border-collapse: collapse;\n table-layout: fixed;\n width: 100%;\n"])));
9046
9098
  var DescriptionsStyleTableCaption = styled_components_browser_esm.caption(react_descriptions_esm_style_templateObject9 || (react_descriptions_esm_style_templateObject9 = _taggedTemplateLiteralLoose(["\n font-weight: bold;\n text-align: left;\n margin-bottom: 8px;\n color: ", ";\n font-size: ", ";\n line-height: 1.5;\n ", "\n"])), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'colorDescriptionsHead'), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'fontSizeLarge'), props => props.bordered && Ce(react_descriptions_esm_style_templateObject10 || (react_descriptions_esm_style_templateObject10 = _taggedTemplateLiteralLoose(["\n & {\n margin-bottom: 0;\n padding: 7px 12px;\n }\n "]))));
9047
9099
  var DescriptionsStyleTableRow = styled_components_browser_esm.tr(react_descriptions_esm_style_templateObject11 || (react_descriptions_esm_style_templateObject11 = _taggedTemplateLiteralLoose(["\n &&:nth-child(2n) {\n background-color: transparent;\n }\n ", "\n ", "\n"])), props => props.bordered && Ce(react_descriptions_esm_style_templateObject12 || (react_descriptions_esm_style_templateObject12 = _taggedTemplateLiteralLoose(["\n & td {\n padding: 8px 12px;\n }\n "]))), props => !props.bordered && Ce(react_descriptions_esm_style_templateObject13 || (react_descriptions_esm_style_templateObject13 = _taggedTemplateLiteralLoose(["\n & td {\n padding-bottom: 8px;\n }\n "]))));
9048
- var DescriptionsStyleTableTbody = styled_components_browser_esm.tbody(react_descriptions_esm_style_templateObject14 || (react_descriptions_esm_style_templateObject14 = _taggedTemplateLiteralLoose(["\n word-wrap: break-word;\n ", "\n ", "\n ", "\n"])), props => props.bordered && Ce(react_descriptions_esm_style_templateObject15 || (react_descriptions_esm_style_templateObject15 = _taggedTemplateLiteralLoose(["\n & {\n tr th {\n padding: 8px 12px;\n background-color: ", ";\n font-weight: normal;\n }\n tr th,\n tr td {\n border-top: 1px solid\n ", ";\n border-right: 1px solid\n ", ";\n }\n &:first-child tr:first-child th,\n &:first-child tr:first-child td {\n border-top: 0;\n }\n }\n "])), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'borderColorDescriptionsTh'), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'borderColorDescriptions'), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'borderColorDescriptions')), props => props.size === 'small' && props.bordered && Ce(react_descriptions_esm_style_templateObject16 || (react_descriptions_esm_style_templateObject16 = _taggedTemplateLiteralLoose(["\n & ", " td,\n & ", " th {\n padding: 4px 8px;\n }\n "])), DescriptionsStyleTableRow, DescriptionsStyleTableRow), props => props.size === 'large' && props.bordered && Ce(style_templateObject17 || (style_templateObject17 = _taggedTemplateLiteralLoose(["\n & ", " ", " {\n padding: 14px 16px;\n }\n "])), DescriptionsStyleTableRow, style_DescriptionsStyleItem));
9100
+ var DescriptionsStyleTableTbody = styled_components_browser_esm.tbody(react_descriptions_esm_style_templateObject14 || (react_descriptions_esm_style_templateObject14 = _taggedTemplateLiteralLoose(["\n word-wrap: break-word;\n ", "\n ", "\n ", "\n"])), props => props.bordered && Ce(react_descriptions_esm_style_templateObject15 || (react_descriptions_esm_style_templateObject15 = _taggedTemplateLiteralLoose(["\n & {\n tr th {\n padding: 8px 12px;\n background-color: ", ";\n font-weight: normal;\n }\n tr th,\n tr td {\n border-top: 1px solid\n ", ";\n border-right: 1px solid\n ", ";\n }\n &:first-child tr:first-child th,\n &:first-child tr:first-child td {\n border-top: 0;\n }\n }\n "])), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'borderColorDescriptionsTh'), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'borderColorDescriptions'), props => getThemeVariantValue(extends_extends({}, props, react_descriptions_esm_style_propsTheme), 'borderColorDescriptions')), props => props.size === 'small' && props.bordered && Ce(react_descriptions_esm_style_templateObject16 || (react_descriptions_esm_style_templateObject16 = _taggedTemplateLiteralLoose(["\n & ", " td,\n & ", " th {\n padding: 4px 8px;\n }\n "])), DescriptionsStyleTableRow, DescriptionsStyleTableRow), props => props.size === 'large' && props.bordered && Ce(style_templateObject17 || (style_templateObject17 = _taggedTemplateLiteralLoose(["\n & ", " ", " {\n padding: 14px 16px;\n }\n "])), DescriptionsStyleTableRow, DescriptionsStyleItem));
9049
9101
 
9050
9102
  ;// CONCATENATED MODULE: ../react-descriptions/esm/Cell.js
9051
9103
 
@@ -9080,17 +9132,17 @@ function Cell(props) {
9080
9132
 
9081
9133
  if (layout === 'horizontal') {
9082
9134
  if (!bordered) {
9083
- return /*#__PURE__*/(0,jsx_runtime.jsxs)(style_DescriptionsStyleItem, extends_extends({
9135
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)(DescriptionsStyleItem, extends_extends({
9084
9136
  as: TagName
9085
9137
  }, other, {
9086
9138
  colSpan: span,
9087
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(style_DescriptionsStyleItem, extends_extends({
9139
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionsStyleItem, extends_extends({
9088
9140
  as: "span"
9089
9141
  }, labelProps, {
9090
9142
  isColon: colon,
9091
9143
  isLabel: !!label,
9092
9144
  children: label
9093
- })), /*#__PURE__*/(0,jsx_runtime.jsx)(style_DescriptionsStyleItem, {
9145
+ })), /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionsStyleItem, {
9094
9146
  as: "span",
9095
9147
  isContent: !!prefixCls,
9096
9148
  className: prefixCls ? prefixCls + "-item-content" : '',
@@ -9100,14 +9152,14 @@ function Cell(props) {
9100
9152
  }
9101
9153
 
9102
9154
  return /*#__PURE__*/(0,jsx_runtime.jsxs)(external_root_React_commonjs2_react_commonjs_react_amd_react_.Fragment, {
9103
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(style_DescriptionsStyleItem, extends_extends({
9155
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionsStyleItem, extends_extends({
9104
9156
  as: "th"
9105
9157
  }, labelProps, {
9106
9158
  bordered: bordered,
9107
9159
  isColon: colon,
9108
9160
  isLabel: !!label,
9109
9161
  children: label
9110
- })), /*#__PURE__*/(0,jsx_runtime.jsx)(style_DescriptionsStyleItem, extends_extends({}, other, {
9162
+ })), /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionsStyleItem, extends_extends({}, other, {
9111
9163
  as: TagName,
9112
9164
  isContent: !!prefixCls,
9113
9165
  bordered: bordered,
@@ -9118,7 +9170,7 @@ function Cell(props) {
9118
9170
  });
9119
9171
  }
9120
9172
 
9121
- return /*#__PURE__*/(0,jsx_runtime.jsx)(style_DescriptionsStyleItem, {
9173
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(DescriptionsStyleItem, {
9122
9174
  bordered: bordered,
9123
9175
  isLabel: TagName === 'th',
9124
9176
  isContent: TagName === 'td',
@@ -9269,10 +9321,15 @@ function InternalDescriptions(props, ref) {
9269
9321
  })]
9270
9322
  }))
9271
9323
  });
9272
- }
9324
+ } // const Descriptions = React.forwardRef<HTMLDivElement, DescriptionsProps>(InternalDescriptions);
9325
+ // type Descriptions = typeof Descriptions & {
9326
+ // Item: typeof DescriptionsItem;
9327
+ // };
9328
+ // (Descriptions as Descriptions).Item = DescriptionsItem;
9329
+
9273
9330
 
9274
9331
  var Descriptions = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(InternalDescriptions);
9275
- Descriptions.Item = DescriptionsItem;
9332
+ Descriptions.Item = esm_DescriptionsItem;
9276
9333
  /* harmony default export */ const react_descriptions_esm = (Descriptions);
9277
9334
 
9278
9335
  ;// CONCATENATED MODULE: ../react-divider/esm/style/index.js
@@ -9981,7 +10038,7 @@ var CaretLeft = props => /*#__PURE__*/_jsx("svg", _extends({
9981
10038
 
9982
10039
 
9983
10040
 
9984
- var CaretRight = props => /*#__PURE__*/_jsx("svg", _extends({
10041
+ var CaretRight_CaretRight = props => /*#__PURE__*/_jsx("svg", _extends({
9985
10042
  viewBox: "0 0 20 20"
9986
10043
  }, props, {
9987
10044
  children: /*#__PURE__*/_jsx("path", {
@@ -12885,7 +12942,7 @@ var FileList = props => {
12885
12942
  var [fileList, setFileList] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)([]);
12886
12943
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(() => {
12887
12944
  setFileList(inValue);
12888
- }, []);
12945
+ }, [value]);
12889
12946
  var handleClickInput = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useCallback)(() => openFileDialog(inputRef), [inputRef]);
12890
12947
  var onFileUpload = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useCallback)(() => {
12891
12948
  if (inputRef.current) inputRef.current.value = '';
@@ -13140,16 +13197,10 @@ var SelectStyleTheme = {
13140
13197
  // 阴影
13141
13198
  boxShadowSelectBase: 'inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);',
13142
13199
  boxShadowSelectDisabled: 'none',
13143
- // 鼠标移入
13144
- cursorSelectDefault: 'pointer',
13145
- cursorSelectDisabled: 'not-allowed',
13146
- //
13147
13200
  borderRadiusDefault: '3px',
13148
13201
  backgroundImageSelectUrl: "url(" + selectArrow + ")"
13149
13202
  };
13150
- var SelectStyleWarp = styled_components_browser_esm.select(react_select_esm_style_templateObject || (react_select_esm_style_templateObject = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n appearance: none;\n cursor: ", ";\n color: ", ";\n padding: ", ";\n font-size: ", ";\n width: 100%;\n max-width: 100%;\n margin: 0;\n line-height: 18px;\n vertical-align: middle;\n box-sizing: border-box;\n border: none;\n box-shadow: ", ";\n border-radius: ", ";\n background-color: ", ";\n background-image: ", ",\n linear-gradient(180deg, hsla(0, 0%, 100%, 0.8), hsla(0, 0%, 100%, 0));\n background-repeat: no-repeat, repeat;\n background-position: right 0.7em top 50%, 0 0;\n background-size: 0.62em auto, 100%;\n &:focus {\n outline: none !important;\n }\n &:hover {\n box-shadow: ", ";\n background-clip: padding-box;\n background-color: ", ";\n }\n &:disabled {\n box-shadow: ", ";\n background-image: ", ";\n background-size: 0.52em auto, 100%;\n background-color: ", ";\n opacity: 0.75;\n color: ", ";\n cursor: ", ";\n resize: none;\n }\n ", "\n ", "\n"])), props => getThemeVariantValue(extends_extends({}, props, {
13151
- defaultTheme: SelectStyleTheme
13152
- }), 'cursorSelectDefault'), props => getThemeVariantValue(extends_extends({}, props, {
13203
+ var SelectStyleWarp = styled_components_browser_esm.select(react_select_esm_style_templateObject || (react_select_esm_style_templateObject = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n appearance: none;\n cursor: pointer;\n color: ", ";\n padding: ", ";\n font-size: ", ";\n width: 100%;\n max-width: 100%;\n margin: 0;\n line-height: 18px;\n vertical-align: middle;\n box-sizing: border-box;\n border: none;\n box-shadow: ", ";\n border-radius: ", ";\n background-color: ", ";\n background-image: ", ",\n linear-gradient(180deg, hsla(0, 0%, 100%, 0.8), hsla(0, 0%, 100%, 0));\n background-repeat: no-repeat, repeat;\n background-position: right 0.7em top 50%, 0 0;\n background-size: 0.62em auto, 100%;\n &:focus {\n outline: none !important;\n }\n &:hover {\n box-shadow: ", ";\n background-clip: padding-box;\n background-color: ", ";\n }\n &:disabled {\n box-shadow: ", ";\n background-image: ", ";\n background-size: 0.52em auto, 100%;\n background-color: ", ";\n opacity: 0.75;\n color: ", ";\n cursor: not-allowed;\n resize: none;\n }\n ", "\n ", "\n"])), props => getThemeVariantValue(extends_extends({}, props, {
13153
13204
  defaultTheme: SelectStyleTheme
13154
13205
  }), 'colorSelectBase'), props => getThemeVariantValue(extends_extends({}, props, {
13155
13206
  defaultTheme: SelectStyleTheme
@@ -13175,9 +13226,7 @@ var SelectStyleWarp = styled_components_browser_esm.select(react_select_esm_styl
13175
13226
  defaultTheme: SelectStyleTheme
13176
13227
  }), 'backgroundColorSelectDisabled'), props => getThemeVariantValue(extends_extends({}, props, {
13177
13228
  defaultTheme: SelectStyleTheme
13178
- }), 'colorSelectDisabled'), props => getThemeVariantValue(extends_extends({}, props, {
13179
- defaultTheme: SelectStyleTheme
13180
- }), 'cursorSelectDisabled'), props => props.params.size === 'large' && Ce(react_select_esm_style_templateObject2 || (react_select_esm_style_templateObject2 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n font-size: ", ";\n "])), props => getThemeVariantValue(extends_extends({}, props, {
13229
+ }), 'colorSelectDisabled'), props => props.params.size === 'large' && Ce(react_select_esm_style_templateObject2 || (react_select_esm_style_templateObject2 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n font-size: ", ";\n "])), props => getThemeVariantValue(extends_extends({}, props, {
13181
13230
  defaultTheme: SelectStyleTheme
13182
13231
  }), 'paddingSelectLarge'), props => getThemeVariantValue(extends_extends({}, props, {
13183
13232
  defaultTheme: SelectStyleTheme
@@ -13199,7 +13248,8 @@ var react_select_esm_excluded = ["prefixCls", "className", "size"];
13199
13248
 
13200
13249
 
13201
13250
 
13202
- var Select = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef((props, ref) => {
13251
+
13252
+ var InternalSelect = (props, ref) => {
13203
13253
  var {
13204
13254
  prefixCls = 'w-select',
13205
13255
  className,
@@ -13215,7 +13265,9 @@ var Select = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd
13215
13265
  size
13216
13266
  }
13217
13267
  }));
13218
- });
13268
+ };
13269
+
13270
+ var Select = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(InternalSelect);
13219
13271
  Select.Option = Option;
13220
13272
  Select.Group = Group;
13221
13273
  /* harmony default export */ const react_select_esm = (Select);
@@ -13440,6 +13492,7 @@ var Form_excluded = ["prefixCls", "className", "fields", "children", "resetOnSub
13440
13492
 
13441
13493
 
13442
13494
 
13495
+
13443
13496
  function newFormState(fields, cb) {
13444
13497
  var state = {
13445
13498
  initial: {},
@@ -13470,8 +13523,7 @@ function newInitialValue(value) {
13470
13523
 
13471
13524
  var isPromise = promise => promise && typeof promise.then === 'function';
13472
13525
 
13473
- function Form(_ref, ref //| React.RefObject<FormRefType>,
13474
- ) {
13526
+ function Form(props, ref) {
13475
13527
  var {
13476
13528
  prefixCls = 'w-form',
13477
13529
  className,
@@ -13482,13 +13534,13 @@ function Form(_ref, ref //| React.RefObject<FormRefType>,
13482
13534
  onChange,
13483
13535
  onSubmit,
13484
13536
  afterSubmit
13485
- } = _ref,
13486
- others = _objectWithoutPropertiesLoose(_ref, Form_excluded);
13537
+ } = props,
13538
+ others = _objectWithoutPropertiesLoose(props, Form_excluded);
13487
13539
 
13488
- var initData = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => newFormState(fields, _ref2 => {
13540
+ var initData = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => newFormState(fields, _ref => {
13489
13541
  var {
13490
13542
  initialValue
13491
- } = _ref2;
13543
+ } = _ref;
13492
13544
  initialValue = newInitialValue(initialValue);
13493
13545
  return {
13494
13546
  initialValue,
@@ -13507,28 +13559,27 @@ function Form(_ref, ref //| React.RefObject<FormRefType>,
13507
13559
  var formUnits = {};
13508
13560
 
13509
13561
  for (var name in fields) {
13510
- var props = fields[name];
13511
- if (!props) continue;
13562
+ var itemProps = fields[name];
13563
+ if (!itemProps) continue;
13512
13564
  var error = data.errors[name];
13513
13565
 
13514
- if (typeof props.initialValue === 'boolean') {
13515
- props.checked = props.initialValue;
13566
+ if (typeof itemProps.initialValue === 'boolean') {
13567
+ itemProps.checked = itemProps.initialValue;
13516
13568
  }
13517
13569
 
13518
- var childField = controlField(extends_extends({}, props, {
13570
+ var childField = controlField(extends_extends({}, itemProps, {
13519
13571
  name
13520
13572
  }));
13521
- var help = error || props.help;
13522
- var labelFor = props.labelFor;
13523
- formUnits[name] = /*#__PURE__*/(0,jsx_runtime.jsx)(FormItem, extends_extends({}, extends_extends({}, props, {
13573
+ var help = error || itemProps.help;
13574
+ var labelFor = itemProps.labelFor;
13575
+ formUnits[name] = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.createElement)(FormItem, extends_extends({}, itemProps, {
13524
13576
  key: name,
13525
13577
  children: childField,
13526
- help,
13527
- labelFor,
13528
- state: data,
13529
- name,
13578
+ help: help,
13579
+ labelFor: labelFor,
13580
+ name: name,
13530
13581
  hasError: !!error
13531
- })));
13582
+ }));
13532
13583
  }
13533
13584
 
13534
13585
  function setFields(fields) {
@@ -13665,8 +13716,8 @@ function Form(_ref, ref //| React.RefObject<FormRefType>,
13665
13716
 
13666
13717
  var initials = extends_extends({}, initial);
13667
13718
 
13668
- Object.entries(initials).map(_ref3 => {
13669
- var [key, value] = _ref3;
13719
+ Object.entries(initials).map(_ref2 => {
13720
+ var [key, value] = _ref2;
13670
13721
 
13671
13722
  if (Array.isArray(value)) {
13672
13723
  initials[key] = [...value];
@@ -13679,13 +13730,13 @@ function Form(_ref, ref //| React.RefObject<FormRefType>,
13679
13730
  }));
13680
13731
  }
13681
13732
 
13682
- function controlField(_ref4) {
13733
+ function controlField(_ref3) {
13683
13734
  var {
13684
13735
  children,
13685
13736
  validator,
13686
13737
  name
13687
- } = _ref4,
13688
- other = _objectWithoutPropertiesLoose(_ref4, Form_excluded2);
13738
+ } = _ref3,
13739
+ other = _objectWithoutPropertiesLoose(_ref3, Form_excluded2);
13689
13740
 
13690
13741
  var element = typeof children !== 'function' ? children : children({
13691
13742
  onChange: handleChange(name, validator),
@@ -13713,10 +13764,9 @@ function Form(_ref, ref //| React.RefObject<FormRefType>,
13713
13764
  return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().cloneElement(element, props);
13714
13765
  }
13715
13766
 
13716
- return /*#__PURE__*/(0,jsx_runtime.jsx)(FormStyleWarp, extends_extends({}, extends_extends({}, others, {
13767
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(FormStyleWarp, extends_extends({}, others, {
13717
13768
  className: [prefixCls, className].filter(Boolean).join(' ').trim(),
13718
- onSubmit: handleSubmit
13719
- }), {
13769
+ onSubmit: handleSubmit,
13720
13770
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(FormStyleFieldset, {
13721
13771
  disabled: data.submitting,
13722
13772
  children: typeof children === 'function' ? children({
@@ -13827,7 +13877,6 @@ var react_list_esm_excluded = ["prefixCls", "bordered", "striped", "noHover", "a
13827
13877
 
13828
13878
 
13829
13879
 
13830
-
13831
13880
  function InternalList(props, ref) {
13832
13881
  var {
13833
13882
  prefixCls = 'w-list',
@@ -13836,7 +13885,7 @@ function InternalList(props, ref) {
13836
13885
  noHover = false,
13837
13886
  active = false,
13838
13887
  size = 'default',
13839
- renderItem = noop,
13888
+ renderItem,
13840
13889
  className,
13841
13890
  children,
13842
13891
  header,
@@ -13848,7 +13897,7 @@ function InternalList(props, ref) {
13848
13897
  var items;
13849
13898
 
13850
13899
  if (dataSource && dataSource.length > 0) {
13851
- items = dataSource.map((item, index) => renderItem(item, index));
13900
+ items = dataSource.map((item, index) => renderItem && renderItem(item, index));
13852
13901
  } else {
13853
13902
  items = children;
13854
13903
  }
@@ -14723,6 +14772,11 @@ Container.defaultProps = {
14723
14772
 
14724
14773
 
14725
14774
 
14775
+
14776
+
14777
+
14778
+
14779
+
14726
14780
  var esm_notifys = {};
14727
14781
  var notifysDom = {};
14728
14782
 
@@ -14740,19 +14794,27 @@ function NotificationCreate(props, type) {
14740
14794
  if (!props.icon && props.icon !== null) {
14741
14795
  switch (props.type) {
14742
14796
  case 'success':
14743
- props.icon = 'circle-check';
14797
+ props.icon = /*#__PURE__*/(0,jsx_runtime.jsx)(IconStyleBase, {
14798
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib_CircleCheck/* CircleCheck */.y, {})
14799
+ });
14744
14800
  break;
14745
14801
 
14746
14802
  case 'warning':
14747
- props.icon = 'warning';
14803
+ props.icon = /*#__PURE__*/(0,jsx_runtime.jsx)(IconStyleBase, {
14804
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib_Warning/* Warning */.v, {})
14805
+ });
14748
14806
  break;
14749
14807
 
14750
14808
  case 'info':
14751
- props.icon = 'information';
14809
+ props.icon = /*#__PURE__*/(0,jsx_runtime.jsx)(IconStyleBase, {
14810
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib_Information/* Information */.d, {})
14811
+ });
14752
14812
  break;
14753
14813
 
14754
14814
  case 'error':
14755
- props.icon = 'circle-close';
14815
+ props.icon = /*#__PURE__*/(0,jsx_runtime.jsx)(IconStyleBase, {
14816
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib_CircleClose/* CircleClose */.K, {})
14817
+ });
14756
14818
  break;
14757
14819
 
14758
14820
  default: