uiw 4.10.7 → 4.11.0

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 CHANGED
@@ -18,6 +18,7 @@ export * from '@uiw/react-descriptions';
18
18
  export * from '@uiw/react-divider';
19
19
  export * from '@uiw/react-drawer';
20
20
  export * from '@uiw/react-dropdown';
21
+ export * from '@uiw/react-empty';
21
22
  export * from '@uiw/react-file-input';
22
23
  export * from '@uiw/react-form';
23
24
  export * from '@uiw/react-grid';
@@ -74,6 +75,7 @@ export { default as Descriptions } from '@uiw/react-descriptions';
74
75
  export { default as Divider } from '@uiw/react-divider';
75
76
  export { default as Drawer } from '@uiw/react-drawer';
76
77
  export { default as Dropdown } from '@uiw/react-dropdown';
78
+ export { default as Empty } from '@uiw/react-empty';
77
79
  export { default as formatter } from '@uiw/formatter';
78
80
  export { default as FileInput } from '@uiw/react-file-input';
79
81
  export { default as Form } from '@uiw/react-form';
package/cjs/index.js CHANGED
@@ -28,6 +28,7 @@ var _exportNames = {
28
28
  Divider: true,
29
29
  Drawer: true,
30
30
  Dropdown: true,
31
+ Empty: true,
31
32
  FileInput: true,
32
33
  Form: true,
33
34
  Icon: true,
@@ -184,6 +185,12 @@ Object.defineProperty(exports, "Dropdown", {
184
185
  return _reactDropdown.default;
185
186
  }
186
187
  });
188
+ Object.defineProperty(exports, "Empty", {
189
+ enumerable: true,
190
+ get: function get() {
191
+ return _reactEmpty.default;
192
+ }
193
+ });
187
194
  Object.defineProperty(exports, "FileInput", {
188
195
  enumerable: true,
189
196
  get: function get() {
@@ -675,6 +682,20 @@ Object.keys(_reactDropdown).forEach(function (key) {
675
682
  });
676
683
  });
677
684
 
685
+ var _reactEmpty = _interopRequireWildcard(require("@uiw/react-empty"));
686
+
687
+ Object.keys(_reactEmpty).forEach(function (key) {
688
+ if (key === "default" || key === "__esModule") return;
689
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
690
+ if (key in exports && exports[key] === _reactEmpty[key]) return;
691
+ Object.defineProperty(exports, key, {
692
+ enumerable: true,
693
+ get: function get() {
694
+ return _reactEmpty[key];
695
+ }
696
+ });
697
+ });
698
+
678
699
  var _reactFileInput = _interopRequireWildcard(require("@uiw/react-file-input"));
679
700
 
680
701
  Object.keys(_reactFileInput).forEach(function (key) {
package/cjs/index.js.map CHANGED
@@ -4,8 +4,8 @@
4
4
  "../src/index.ts"
5
5
  ],
6
6
  "names": [],
7
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AA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AAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAuBA",
8
8
  "sourcesContent": [
9
- "export * from '@uiw/react-affix';\nexport * from '@uiw/react-alert';\nexport * from '@uiw/react-auto-link';\nexport * from '@uiw/react-avatar';\nexport * from '@uiw/react-back-top';\nexport * from '@uiw/react-badge';\nexport * from '@uiw/react-breadcrumb';\nexport * from '@uiw/react-button';\nexport * from '@uiw/react-button-group';\nexport * from '@uiw/react-calendar';\nexport * from '@uiw/react-card';\nexport * from '@uiw/react-checkbox';\nexport * from '@uiw/react-collapse';\nexport * from '@uiw/react-copy-to-clipboard';\nexport * from '@uiw/react-date-input';\nexport * from '@uiw/react-date-picker';\nexport * from '@uiw/react-descriptions';\nexport * from '@uiw/react-divider';\nexport * from '@uiw/react-drawer';\nexport * from '@uiw/react-dropdown';\nexport * from '@uiw/react-file-input';\nexport * from '@uiw/react-form';\nexport * from '@uiw/react-grid';\nexport * from '@uiw/react-icon';\nexport * from '@uiw/react-input';\nexport * from '@uiw/react-list';\nexport * from '@uiw/react-layout';\nexport * from '@uiw/react-loader';\nexport * from '@uiw/react-menu';\nexport * from '@uiw/react-message';\nexport * from '@uiw/react-modal';\nexport * from '@uiw/react-month-picker';\nexport * from '@uiw/react-notify';\nexport * from '@uiw/react-overlay';\nexport * from '@uiw/react-overlay-trigger';\nexport * from '@uiw/react-pagination';\nexport * from '@uiw/react-pin-code';\nexport * from '@uiw/react-popover';\nexport * from '@uiw/react-portal';\nexport * from '@uiw/react-progress';\nexport * from '@uiw/react-radio';\nexport * from '@uiw/react-rate';\nexport * from '@uiw/react-search-select';\nexport * from '@uiw/react-select';\nexport * from '@uiw/react-split';\nexport * from '@uiw/react-steps';\nexport * from '@uiw/react-slider';\nexport * from '@uiw/react-switch';\nexport * from '@uiw/react-table';\nexport * from '@uiw/react-tabs';\nexport * from '@uiw/react-tag';\nexport * from '@uiw/react-textarea';\nexport * from '@uiw/react-time-picker';\nexport * from '@uiw/react-tooltip';\nexport * from '@uiw/react-tree';\nexport * from '@uiw/react-tree-checked';\n\nexport { default as Affix } from '@uiw/react-affix';\nexport { default as Alert } from '@uiw/react-alert';\nexport { default as AutoLink } from '@uiw/react-auto-link';\nexport { default as Avatar } from '@uiw/react-avatar';\nexport { default as BackTop } from '@uiw/react-back-top';\nexport { default as Badge } from '@uiw/react-badge';\nexport { default as Breadcrumb } from '@uiw/react-breadcrumb';\nexport { default as Button } from '@uiw/react-button';\nexport { default as ButtonGroup } from '@uiw/react-button-group';\nexport { default as Calendar } from '@uiw/react-calendar';\nexport { default as Card } from '@uiw/react-card';\nexport { default as Checkbox } from '@uiw/react-checkbox';\nexport { default as Collapse } from '@uiw/react-collapse';\nexport { default as CopyToClipboard } from '@uiw/react-copy-to-clipboard';\nexport { default as DateInput } from '@uiw/react-date-input';\nexport { default as DatePicker } from '@uiw/react-date-picker';\nexport { default as Descriptions } from '@uiw/react-descriptions';\nexport { default as Divider } from '@uiw/react-divider';\nexport { default as Drawer } from '@uiw/react-drawer';\nexport { default as Dropdown } from '@uiw/react-dropdown';\nexport { default as formatter } from '@uiw/formatter';\nexport { default as FileInput } from '@uiw/react-file-input';\nexport { default as Form } from '@uiw/react-form';\nexport { default as Icon } from '@uiw/react-icon';\nexport { default as Input } from '@uiw/react-input';\nexport { default as Layout } from '@uiw/react-layout';\nexport { default as List } from '@uiw/react-list';\nexport { default as Loader } from '@uiw/react-loader';\nexport { default as Menu } from '@uiw/react-menu';\nexport { default as Message } from '@uiw/react-message';\nexport { default as Modal } from '@uiw/react-modal';\nexport { default as MonthPicker } from '@uiw/react-month-picker';\nexport { default as Notify } from '@uiw/react-notify';\nexport { default as Overlay } from '@uiw/react-overlay';\nexport { default as OverlayTrigger } from '@uiw/react-overlay-trigger';\nexport { default as Pagination } from '@uiw/react-pagination';\nexport { default as PinCode } from '@uiw/react-pin-code';\nexport { default as Popover } from '@uiw/react-popover';\nexport { default as Portal } from '@uiw/react-portal';\nexport { default as Progress } from '@uiw/react-progress';\nexport { default as Rate } from '@uiw/react-rate';\nexport { default as SearchSelect } from '@uiw/react-search-select';\nexport { default as Select } from '@uiw/react-select';\nexport { default as Split } from '@uiw/react-split';\nexport { default as Steps } from '@uiw/react-steps';\nexport { default as Slider } from '@uiw/react-slider';\nexport { default as Switch } from '@uiw/react-switch';\nexport { default as Table } from '@uiw/react-table';\nexport { default as Tabs } from '@uiw/react-tabs';\nexport { default as Tag } from '@uiw/react-tag';\nexport { default as Textarea } from '@uiw/react-textarea';\nexport { default as TimePicker } from '@uiw/react-time-picker';\nexport { default as Tooltip } from '@uiw/react-tooltip';\nexport { default as Tree } from '@uiw/react-tree';\nexport { default as TreeChecked } from '@uiw/react-tree-checked';\n"
9
+ "export * from '@uiw/react-affix';\nexport * from '@uiw/react-alert';\nexport * from '@uiw/react-auto-link';\nexport * from '@uiw/react-avatar';\nexport * from '@uiw/react-back-top';\nexport * from '@uiw/react-badge';\nexport * from '@uiw/react-breadcrumb';\nexport * from '@uiw/react-button';\nexport * from '@uiw/react-button-group';\nexport * from '@uiw/react-calendar';\nexport * from '@uiw/react-card';\nexport * from '@uiw/react-checkbox';\nexport * from '@uiw/react-collapse';\nexport * from '@uiw/react-copy-to-clipboard';\nexport * from '@uiw/react-date-input';\nexport * from '@uiw/react-date-picker';\nexport * from '@uiw/react-descriptions';\nexport * from '@uiw/react-divider';\nexport * from '@uiw/react-drawer';\nexport * from '@uiw/react-dropdown';\nexport * from '@uiw/react-empty';\nexport * from '@uiw/react-file-input';\nexport * from '@uiw/react-form';\nexport * from '@uiw/react-grid';\nexport * from '@uiw/react-icon';\nexport * from '@uiw/react-input';\nexport * from '@uiw/react-list';\nexport * from '@uiw/react-layout';\nexport * from '@uiw/react-loader';\nexport * from '@uiw/react-menu';\nexport * from '@uiw/react-message';\nexport * from '@uiw/react-modal';\nexport * from '@uiw/react-month-picker';\nexport * from '@uiw/react-notify';\nexport * from '@uiw/react-overlay';\nexport * from '@uiw/react-overlay-trigger';\nexport * from '@uiw/react-pagination';\nexport * from '@uiw/react-pin-code';\nexport * from '@uiw/react-popover';\nexport * from '@uiw/react-portal';\nexport * from '@uiw/react-progress';\nexport * from '@uiw/react-radio';\nexport * from '@uiw/react-rate';\nexport * from '@uiw/react-search-select';\nexport * from '@uiw/react-select';\nexport * from '@uiw/react-split';\nexport * from '@uiw/react-steps';\nexport * from '@uiw/react-slider';\nexport * from '@uiw/react-switch';\nexport * from '@uiw/react-table';\nexport * from '@uiw/react-tabs';\nexport * from '@uiw/react-tag';\nexport * from '@uiw/react-textarea';\nexport * from '@uiw/react-time-picker';\nexport * from '@uiw/react-tooltip';\nexport * from '@uiw/react-tree';\nexport * from '@uiw/react-tree-checked';\n\nexport { default as Affix } from '@uiw/react-affix';\nexport { default as Alert } from '@uiw/react-alert';\nexport { default as AutoLink } from '@uiw/react-auto-link';\nexport { default as Avatar } from '@uiw/react-avatar';\nexport { default as BackTop } from '@uiw/react-back-top';\nexport { default as Badge } from '@uiw/react-badge';\nexport { default as Breadcrumb } from '@uiw/react-breadcrumb';\nexport { default as Button } from '@uiw/react-button';\nexport { default as ButtonGroup } from '@uiw/react-button-group';\nexport { default as Calendar } from '@uiw/react-calendar';\nexport { default as Card } from '@uiw/react-card';\nexport { default as Checkbox } from '@uiw/react-checkbox';\nexport { default as Collapse } from '@uiw/react-collapse';\nexport { default as CopyToClipboard } from '@uiw/react-copy-to-clipboard';\nexport { default as DateInput } from '@uiw/react-date-input';\nexport { default as DatePicker } from '@uiw/react-date-picker';\nexport { default as Descriptions } from '@uiw/react-descriptions';\nexport { default as Divider } from '@uiw/react-divider';\nexport { default as Drawer } from '@uiw/react-drawer';\nexport { default as Dropdown } from '@uiw/react-dropdown';\nexport { default as Empty } from '@uiw/react-empty';\nexport { default as formatter } from '@uiw/formatter';\nexport { default as FileInput } from '@uiw/react-file-input';\nexport { default as Form } from '@uiw/react-form';\nexport { default as Icon } from '@uiw/react-icon';\nexport { default as Input } from '@uiw/react-input';\nexport { default as Layout } from '@uiw/react-layout';\nexport { default as List } from '@uiw/react-list';\nexport { default as Loader } from '@uiw/react-loader';\nexport { default as Menu } from '@uiw/react-menu';\nexport { default as Message } from '@uiw/react-message';\nexport { default as Modal } from '@uiw/react-modal';\nexport { default as MonthPicker } from '@uiw/react-month-picker';\nexport { default as Notify } from '@uiw/react-notify';\nexport { default as Overlay } from '@uiw/react-overlay';\nexport { default as OverlayTrigger } from '@uiw/react-overlay-trigger';\nexport { default as Pagination } from '@uiw/react-pagination';\nexport { default as PinCode } from '@uiw/react-pin-code';\nexport { default as Popover } from '@uiw/react-popover';\nexport { default as Portal } from '@uiw/react-portal';\nexport { default as Progress } from '@uiw/react-progress';\nexport { default as Rate } from '@uiw/react-rate';\nexport { default as SearchSelect } from '@uiw/react-search-select';\nexport { default as Select } from '@uiw/react-select';\nexport { default as Split } from '@uiw/react-split';\nexport { default as Steps } from '@uiw/react-steps';\nexport { default as Slider } from '@uiw/react-slider';\nexport { default as Switch } from '@uiw/react-switch';\nexport { default as Table } from '@uiw/react-table';\nexport { default as Tabs } from '@uiw/react-tabs';\nexport { default as Tag } from '@uiw/react-tag';\nexport { default as Textarea } from '@uiw/react-textarea';\nexport { default as TimePicker } from '@uiw/react-time-picker';\nexport { default as Tooltip } from '@uiw/react-tooltip';\nexport { default as Tree } from '@uiw/react-tree';\nexport { default as TreeChecked } from '@uiw/react-tree-checked';\n"
10
10
  ]
11
11
  }
package/dist/uiw.css CHANGED
@@ -2245,6 +2245,25 @@ sup.w-badge-count {
2245
2245
  transform: translateY(100%);
2246
2246
  }
2247
2247
 
2248
+ .w-empty {
2249
+ position: -webkit-sticky;
2250
+ position: sticky;
2251
+ left: 0;
2252
+ overflow: hidden;
2253
+ margin: -5px -8px;
2254
+ padding: 32px 0;
2255
+ display: flex;
2256
+ align-items: center;
2257
+ flex-direction: column;
2258
+ }
2259
+ .w-empty-text {
2260
+ color: rgba(0, 0, 0, 0.25);
2261
+ margin-top: 10px;
2262
+ }
2263
+ .w-empty-description {
2264
+ margin-top: 10px;
2265
+ }
2266
+
2248
2267
  .w-fileinput input::-webkit-file-upload-button {
2249
2268
  background: transparent;
2250
2269
  border: 0;
package/dist/uiw.js CHANGED
@@ -1007,7 +1007,7 @@ try {
1007
1007
 
1008
1008
  /***/ }),
1009
1009
 
1010
- /***/ 523:
1010
+ /***/ 518:
1011
1011
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1012
1012
 
1013
1013
  "use strict";
@@ -1043,6 +1043,7 @@ __webpack_require__.d(__webpack_exports__, {
1043
1043
  "Divider": function() { return /* reexport */ react_divider_esm; },
1044
1044
  "Drawer": function() { return /* reexport */ react_drawer_esm; },
1045
1045
  "Dropdown": function() { return /* reexport */ Dropdown; },
1046
+ "Empty": function() { return /* reexport */ react_empty_esm; },
1046
1047
  "FileInput": function() { return /* reexport */ react_file_input_esm; },
1047
1048
  "Form": function() { return /* reexport */ react_form_esm; },
1048
1049
  "FormItem": function() { return /* reexport */ FormItem; },
@@ -6218,6 +6219,74 @@ function Dropdown(props) {
6218
6219
  children: /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().cloneElement(children, Object.assign({}, children.props))
6219
6220
  }));
6220
6221
  }
6222
+ ;// CONCATENATED MODULE: ../react-empty/esm/style/index.css
6223
+ // extracted by mini-css-extract-plugin
6224
+ /* harmony default export */ var react_empty_esm_style = ({});
6225
+ ;// CONCATENATED MODULE: ../react-empty/esm/index.js
6226
+
6227
+
6228
+
6229
+
6230
+
6231
+
6232
+ var Empty = function Empty(props) {
6233
+ var _props$prefixCls = props.prefixCls,
6234
+ prefixCls = _props$prefixCls === void 0 ? 'w-empty' : _props$prefixCls,
6235
+ className = props.className,
6236
+ _props$iconColor = props.iconColor,
6237
+ iconColor = _props$iconColor === void 0 ? '#cdcdcd' : _props$iconColor,
6238
+ _props$size = props.size,
6239
+ size = _props$size === void 0 ? 40 : _props$size,
6240
+ _props$text = props.text,
6241
+ text = _props$text === void 0 ? '暂无数据' : _props$text,
6242
+ _props$textColor = props.textColor,
6243
+ textColor = _props$textColor === void 0 ? '#cdcdcd' : _props$textColor,
6244
+ type = props.type,
6245
+ description = props.description;
6246
+ var cls = [prefixCls, className].filter(Boolean).join(' ').trim();
6247
+ var nData = type ? type : /*#__PURE__*/(0,jsx_runtime.jsxs)("svg", {
6248
+ viewBox: "0 0 1024 1024",
6249
+ version: "1.1",
6250
+ xmlns: "http://www.w3.org/2000/svg",
6251
+ "p-id": "5994",
6252
+ width: "32",
6253
+ height: "32",
6254
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6255
+ d: "M894.44765695 767.84195243a27.75019293 27.75019293 0 0 0-27.75019292 27.75019292v123.2341595a14.88130617 14.88130617 0 0 1-14.66947243 14.66947243H185.28193991a14.88130617 14.88130617 0 0 1-14.66947243-14.66947243V157.76137102a14.88130617 14.88130617 0 0 1 14.66947243-14.66947243h666.74605169a14.88130617 14.88130617 0 0 1 14.66947243 14.66947243v41.09570503a27.75019293 27.75019293 0 1 0 55.50038698 0v-41.09570503a70.22281728 70.22281728 0 0 0-70.16985941-70.16985941H607.62505101a27.75019293 27.75019293 0 0 0-13.66326385-51.89921564H439.16443192a27.75019293 27.75019293 0 0 0-13.66326385 51.89921564H185.28193991A70.22281728 70.22281728 0 0 0 115.11208049 157.76137102v761.01197483a70.22281728 70.22281728 0 0 0 70.16985942 70.16985941h666.74605169a70.22281728 70.22281728 0 0 0 70.16985941-70.16985941v-123.1812005a27.75019293 27.75019293 0 0 0-27.75019406-27.75019292z",
6256
+ "p-id": "5995",
6257
+ fill: "#cdcdcd"
6258
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6259
+ d: "M254.65742221 297.9951707h127.94745515a27.75019293 27.75019293 0 0 0 0-55.50038585H254.65742221a27.75019293 27.75019293 0 1 0 0 55.50038585zM254.65742221 553.94304h127.94745515a27.75019293 27.75019293 0 0 0 0-55.50038585H254.65742221a27.75019293 27.75019293 0 0 0 0 55.50038585zM254.65742221 809.83795029h521.26937202a27.75019293 27.75019293 0 0 0 0-55.50038584H254.65742221a27.75019293 27.75019293 0 1 0 0 55.50038584zM981.72307341 719.70278173l-88.91712625-91.61800477a27.75019293 27.75019293 0 1 0-39.82470485 38.65962041l88.91712739 91.61800476a27.75019293 27.75019293 0 1 0 39.82470371-38.6596204z",
6260
+ "p-id": "5996",
6261
+ fill: "#cdcdcd"
6262
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6263
+ d: "M929.92977464 437.85826304a260.23749859 260.23749859 0 1 0-260.23749859 260.23749746A260.50229021 260.50229021 0 0 0 929.92977464 437.85826304z m-260.18453959 204.94894535A204.73711161 204.73711161 0 1 1 874.48234666 437.85826304a204.94894535 204.94894535 0 0 1-204.73711161 204.94894535z",
6264
+ "p-id": "5997",
6265
+ fill: iconColor
6266
+ })]
6267
+ });
6268
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
6269
+ className: cls,
6270
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Icon, {
6271
+ type: nData,
6272
+ style: {
6273
+ fontSize: size,
6274
+ color: iconColor
6275
+ }
6276
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
6277
+ className: prefixCls + "-text",
6278
+ style: {
6279
+ color: textColor
6280
+ },
6281
+ children: text
6282
+ }), description && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
6283
+ className: prefixCls + "-description",
6284
+ children: description
6285
+ })]
6286
+ });
6287
+ };
6288
+
6289
+ /* harmony default export */ var react_empty_esm = (Empty);
6221
6290
  ;// CONCATENATED MODULE: ../react-file-input/esm/Input.js
6222
6291
 
6223
6292
 
@@ -10316,7 +10385,7 @@ var getAllColumnsKeys = function getAllColumnsKeys(data, keys) {
10316
10385
  ;// CONCATENATED MODULE: ../react-table/esm/index.js
10317
10386
 
10318
10387
 
10319
- var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "title", "footer", "bordered", "onCell", "onCellHead"];
10388
+ var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "title", "footer", "bordered", "onCell", "onCellHead", "empty", "children"];
10320
10389
 
10321
10390
 
10322
10391
 
@@ -10345,6 +10414,7 @@ var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "ti
10345
10414
  onCell = _props$onCell === void 0 ? noop : _props$onCell,
10346
10415
  _props$onCellHead = _props.onCellHead,
10347
10416
  onCellHead = _props$onCellHead === void 0 ? noop : _props$onCellHead,
10417
+ empty = _props.empty,
10348
10418
  other = _objectWithoutPropertiesLoose(props, react_table_esm_excluded);
10349
10419
 
10350
10420
  var cls = [prefixCls, className, bordered ? prefixCls + "-bordered" : null].filter(Boolean).join(' ').trim();
@@ -10411,6 +10481,17 @@ var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "ti
10411
10481
  })
10412
10482
  }, rowNum);
10413
10483
  })
10484
+ }), data && data.length === 0 && empty && /*#__PURE__*/(0,jsx_runtime.jsx)("tbody", {
10485
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("tr", {
10486
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("td", {
10487
+ colSpan: columns.length,
10488
+ style: {
10489
+ position: 'relative',
10490
+ left: 0
10491
+ },
10492
+ children: empty
10493
+ })
10494
+ })
10414
10495
  }), props.children]
10415
10496
  }), footer && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
10416
10497
  className: prefixCls + "-footer",
@@ -11234,6 +11315,8 @@ function TreeChecked(_ref) {
11234
11315
 
11235
11316
 
11236
11317
 
11318
+
11319
+
11237
11320
 
11238
11321
 
11239
11322
 
@@ -11327,7 +11410,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__156__;
11327
11410
  /******/ // startup
11328
11411
  /******/ // Load entry module and return exports
11329
11412
  /******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
11330
- /******/ var __webpack_exports__ = __webpack_require__(523);
11413
+ /******/ var __webpack_exports__ = __webpack_require__(518);
11331
11414
  /******/
11332
11415
  /******/ return __webpack_exports__;
11333
11416
  /******/ })()