@chaoswise/ui 2.4.1 → 2.5.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.
Files changed (223) hide show
  1. package/config/babel/index.js +1 -28
  2. package/config/swc.js +5 -0
  3. package/lib/AbreastLayout/CollapsedBtn.js +1 -1
  4. package/lib/AbreastLayout/NavTreeContainer.js +1 -1
  5. package/lib/AbreastLayout/index.js +2 -2
  6. package/lib/Ace/ace.js +2 -2
  7. package/lib/Ace/diff.js +2 -2
  8. package/lib/Ace/split.js +2 -2
  9. package/lib/AdaptiveLayout/index.js +2 -2
  10. package/lib/Alert/index.js +1 -1
  11. package/lib/AlgorithmChart/common/chart.option.js +0 -5
  12. package/lib/Anchor/index.js +3 -0
  13. package/lib/Antd/Drawer.js +2 -2
  14. package/lib/Antd3/es/cascader/index.js +0 -1
  15. package/lib/Antd3/es/message/index.js +0 -2
  16. package/lib/Antd4/message/index-copy.js +0 -2
  17. package/lib/Antd4/notification/index.js +0 -1
  18. package/lib/Antd4/statistic/utils.js +0 -1
  19. package/lib/Antd4/tabs/index.js +1 -1
  20. package/lib/Antd4/tooltip/index.js +0 -1
  21. package/lib/Antd4/tree/Tree.js +0 -1
  22. package/lib/Antd4Form/FieldList.js +2 -2
  23. package/lib/Antd4Form/FormItem.js +2 -2
  24. package/lib/Antd4Form/FormItemChildren.js +2 -2
  25. package/lib/Antd4Form/useForm.js +2 -2
  26. package/lib/AutoComplete/index.js +3 -0
  27. package/lib/Avatar/index.js +3 -0
  28. package/lib/BackTop/index.js +3 -0
  29. package/lib/Badge/index.less +5 -0
  30. package/lib/BasicLayout/Breadcrumb.js +3 -3
  31. package/lib/BasicLayout/Sider.js +5 -5
  32. package/lib/BasicLayout/index.js +2 -3
  33. package/lib/Breadcrumb/Breadcrumb.less +34 -0
  34. package/lib/Breadcrumb/index.js +2 -9
  35. package/lib/CWCascader/Cascader/index.js +2 -2
  36. package/lib/CWCascader/rc-cascader/Cascader.js +3 -3
  37. package/lib/CWCascader/rc-cascader/OptionList/Checkbox.js +2 -2
  38. package/lib/CWCascader/rc-cascader/OptionList/Column.js +5 -5
  39. package/lib/CWCascader/rc-cascader/OptionList/index.js +3 -3
  40. package/lib/CWCascader/rc-cascader/OptionList/useActive.js +1 -1
  41. package/lib/CWCascader/rc-cascader/OptionList/useKeyboard.js +1 -1
  42. package/lib/CWCascader/rc-cascader/hooks/useEntities.js +3 -3
  43. package/lib/CWCascader/rc-cascader/hooks/useSearchConfig.js +2 -2
  44. package/lib/CWCascader/rc-cascader/hooks/useSearchOptions.js +2 -2
  45. package/lib/CWMessage/MessageContent/TabList/index.js +2 -2
  46. package/lib/CWMessage/MessageContent/index.js +4 -4
  47. package/lib/CWMessage/index.js +3 -3
  48. package/lib/CWRadioTabs/index.js +2 -2
  49. package/lib/CWRangePicker/DropdownMenu/MoreHistoryList/index.js +1 -1
  50. package/lib/CWRangePicker/DropdownMenu/MoreTimeList/index.js +2 -2
  51. package/lib/CWRangePicker/DropdownMenu/index.js +4 -4
  52. package/lib/CWRangePicker/Refresh/index.js +2 -2
  53. package/lib/CWRangePicker/index.js +4 -4
  54. package/lib/CWRangePicker/utils/index.js +2 -2
  55. package/lib/CWSelect/Tag.js +1 -1
  56. package/lib/CWSelect/antd-select.js +3 -4
  57. package/lib/CWSelect/index.js +2 -2
  58. package/lib/CWTable/CWTable.js +4 -6
  59. package/lib/CWTable/EditLine.js +4 -4
  60. package/lib/CWTable/Filter.js +1 -1
  61. package/lib/CWTable/FormTable.js +2 -2
  62. package/lib/CWTable/header.js +23 -22
  63. package/lib/CWTree/index.js +14 -10
  64. package/lib/CWTree/utils/index.js +2 -2
  65. package/lib/CWUpload/upload/DragList.js +2 -2
  66. package/lib/CWUpload/upload/Dragger.js +3 -3
  67. package/lib/CWUpload/upload/Upload.js +4 -4
  68. package/lib/CWUpload/upload/UploadList.js +28 -28
  69. package/lib/Calendar/index.js +3 -0
  70. package/lib/Card/index.js +3 -0
  71. package/lib/CardSelect/index.js +0 -1
  72. package/lib/Carousel/index.js +3 -0
  73. package/lib/ChangeIcon/index.js +1 -1
  74. package/lib/Checkbox/Checkbox.js +2 -2
  75. package/lib/Checkbox/Group.js +2 -2
  76. package/lib/Col/Collapse.less +129 -0
  77. package/lib/Col/index.js +3 -0
  78. package/lib/Collapse/index.js +1 -1
  79. package/lib/ColorPicker/index.js +4 -5
  80. package/lib/Comment/index.js +3 -0
  81. package/lib/ConfigProvider/ConfigProvider.js +2 -2
  82. package/lib/ConfigProvider/Switch.js +1 -1
  83. package/lib/CustomScrollBar/index.js +2 -2
  84. package/lib/DatePicker/DatePicker.js +1 -1
  85. package/lib/DatePicker/MonthPicker.js +1 -1
  86. package/lib/DatePicker/RangePicker.js +1 -1
  87. package/lib/DateRangePicker/components/ExtraTimeFooter.js +2 -2
  88. package/lib/Descriptions/index.js +3 -0
  89. package/lib/Divider/index.js +3 -0
  90. package/lib/Documentation/Tocify.js +2 -2
  91. package/lib/Documentation/index.js +2 -3
  92. package/lib/Drawer/Drawer.less +305 -0
  93. package/lib/Drawer/index.js +120 -0
  94. package/lib/Dropdown/Dropdown.less +124 -0
  95. package/lib/Dropdown/index.js +4 -0
  96. package/lib/DropdownDatePicker/DropdownMenu/MoreTimeList/index.js +2 -2
  97. package/lib/DropdownDatePicker/DropdownMenu/index.js +4 -4
  98. package/lib/DropdownDatePicker/index.js +3 -3
  99. package/lib/DropdownDatePicker/utils/index.js +2 -2
  100. package/lib/EchartsArea/index.js +2 -2
  101. package/lib/EchartsBar/index.js +2 -2
  102. package/lib/EchartsBase/index.js +2 -3
  103. package/lib/EchartsLine/index.js +2 -3
  104. package/lib/ErrorBoundary/history.js +2 -2
  105. package/lib/ErrorBoundary/index.js +2 -2
  106. package/lib/FilterDropDown/DragList.js +3 -4
  107. package/lib/FilterDropDown/index.js +1 -1
  108. package/lib/Flow/Flow.js +0 -2
  109. package/lib/Flow/commons/initCommands.js +0 -2
  110. package/lib/Flow/components/PluginWrapper.js +2 -2
  111. package/lib/Flow/layouts/callChain.js +2 -2
  112. package/lib/Flow/plugins/CommandLifeCycle.js +2 -2
  113. package/lib/Flow/plugins/InitSideBarPlugin.js +2 -2
  114. package/lib/Flow/plugins/InitToolBarPlugin.js +2 -2
  115. package/lib/Flow/shape/nodes/baseNode.js +0 -1
  116. package/lib/Form/FormItem.js +2 -2
  117. package/lib/FormItemWrapper/index.js +2 -2
  118. package/lib/Formily/FieldList/index.js +2 -2
  119. package/lib/Formily/FormItem/index.js +3 -3
  120. package/lib/Formily/FormItem/items/Password.js +2 -2
  121. package/lib/Formily/FormItem/items/Rating.js +1 -1
  122. package/lib/Formily/FormItem/items/Switch.js +1 -1
  123. package/lib/Formily/FormItem/items/Tansfer.js +1 -1
  124. package/lib/Formily/FormItem/items/TimePicker.js +1 -1
  125. package/lib/Formily/MegaLayout/index.js +2 -2
  126. package/lib/Formily/subscribeFields/index.js +2 -2
  127. package/lib/GlobalTabs/index.js +2 -2
  128. package/lib/Header/CommonDropMenu.js +2 -2
  129. package/lib/Header/CommonIcon.js +2 -2
  130. package/lib/Header/TopNavigationMenu/index.js +2 -2
  131. package/lib/Header/UserSetting/index.js +2 -2
  132. package/lib/Header/UserSetting/utils.js +2 -2
  133. package/lib/Header/index.js +2 -2
  134. package/lib/Icon/index.js +3 -0
  135. package/lib/IconSelect/components/CustomImg/index.js +0 -1
  136. package/lib/IconSelect/index.js +1 -1
  137. package/lib/Input/InputComponent.js +2 -2
  138. package/lib/IntersectionInput/index.js +2 -2
  139. package/lib/Joyride/List.js +2 -2
  140. package/lib/Joyride/index.js +3 -3
  141. package/lib/Layout/Layout.less +6 -0
  142. package/lib/Layout/index.js +4 -0
  143. package/lib/LayoutBreadcrumb/index.js +3 -3
  144. package/lib/LazyLoadingTreeSelect/index.js +2 -2
  145. package/lib/List/index.js +3 -0
  146. package/lib/LocaleProvider/index.js +3 -0
  147. package/lib/Mention/index.js +3 -0
  148. package/lib/Mentions/index.js +3 -0
  149. package/lib/Menu/menu/MenuItem.js +2 -3
  150. package/lib/Menu/menu/SubMenu.js +2 -2
  151. package/lib/Menu/menu/index.js +2 -2
  152. package/lib/Modal/Modal.js +2 -2
  153. package/lib/Modal/custom-backup/entiretyDrag.js +2 -2
  154. package/lib/Modal/index.js +3 -4
  155. package/lib/ModuleFederation/ErrorBoundary/index.js +2 -2
  156. package/lib/ModuleFederation/index.js +1 -1
  157. package/lib/ModuleFederation/react-dynamic-remote-component/RemoteComponent.js +3 -3
  158. package/lib/PageHeader/index.js +3 -0
  159. package/lib/Pagination/index.js +2 -2
  160. package/lib/PolymerizationSearch/index.js +2 -2
  161. package/lib/Popover/index.js +3 -0
  162. package/lib/Progress/index.js +1 -1
  163. package/lib/QuickRangePicker/index.js +5 -5
  164. package/lib/QuickTransfer/Drag.js +0 -1
  165. package/lib/QuickTransfer/DragList.js +1 -1
  166. package/lib/QuickTransfer/NotDragList.js +1 -1
  167. package/lib/QuickTransfer/index.js +2 -2
  168. package/lib/QuickTransfer/utils.js +2 -4
  169. package/lib/Radio/Group.js +2 -2
  170. package/lib/Radio/Radio.js +2 -2
  171. package/lib/RangePicker/components/ExtraTimeFooter.js +3 -3
  172. package/lib/Rate/index.js +3 -0
  173. package/lib/ReactSelect/CustomArrow.js +1 -1
  174. package/lib/ReactSelect/TagMore.js +1 -1
  175. package/lib/ReactSelect/customStyles.js +2 -2
  176. package/lib/ReactSelect/index.js +2 -2
  177. package/lib/Result/index.js +3 -0
  178. package/lib/Row/index.js +3 -0
  179. package/lib/SearchBar/index.js +6 -6
  180. package/lib/Select/TreeSelect.less +10 -0
  181. package/lib/Select/index.js +4 -0
  182. package/lib/SelectBackup/index.js +2 -2
  183. package/lib/SelectBackup/select/index.js +0 -1
  184. package/lib/SiderMenu/Item.js +2 -2
  185. package/lib/SiderMenu/index.js +3 -3
  186. package/lib/SimplePagination/index.js +3 -3
  187. package/lib/SingleSpa/import-html/process-tpl.js +0 -1
  188. package/lib/SingleSpa/index.js +2 -2
  189. package/lib/SingleSpa/singleSpa/single-spa.dev.js +2 -3
  190. package/lib/Skeleton/index.js +3 -0
  191. package/lib/Spin/Spin.less +16 -0
  192. package/lib/Spin/index.js +4 -0
  193. package/lib/Statistic/index.js +3 -0
  194. package/lib/Steps/Steps.less +502 -0
  195. package/lib/Steps/index.js +4 -0
  196. package/lib/Switch/Switch.less +62 -0
  197. package/lib/Switch/index.js +4 -0
  198. package/lib/Table/Table.less +306 -0
  199. package/lib/Table/index.js +4 -0
  200. package/lib/Tabs/index.js +2 -2
  201. package/lib/Tabs/index.less +3 -0
  202. package/lib/ThemeProvider/main.js +2 -2
  203. package/lib/TimePicker/index.js +3 -2
  204. package/lib/Transfer/index.js +3 -0
  205. package/lib/Tree/TreeSelect.less +10 -0
  206. package/lib/Tree/index.js +4 -0
  207. package/lib/TreeList/index.js +2 -2
  208. package/lib/TreeSelect/TreeSelect.less +10 -0
  209. package/lib/TreeSelect/index.js +4 -0
  210. package/lib/TreeSelect111/index.js +2 -2
  211. package/lib/TreeSelect111/utils/index.js +2 -2
  212. package/lib/Typography/index.js +3 -0
  213. package/lib/WangEditor/release/wangEditor.js +0 -6
  214. package/lib/WangEditor/wangEditor.js +0 -3
  215. package/lib/Watermark/index.js +2 -2
  216. package/lib/index.js +145 -0
  217. package/lib/message/index.js +3 -5
  218. package/lib/noticeManager/globalState.js +2 -2
  219. package/lib/portalNoticeManager/usePortalDispatchNotice.js +2 -2
  220. package/lib/useLocale/index.js +2 -2
  221. package/lib/version/index.js +3 -0
  222. package/package.json +5 -2
  223. /package/config/babel/{antdComs.js → antdComs-nouse.js} +0 -0
@@ -15,8 +15,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
15
15
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16
16
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17
17
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
19
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
19
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
20
20
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
21
21
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
22
22
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -1,7 +1,7 @@
1
- import _Dropdown from "@chaoswise/ui/lib/Antd/Dropdown";
1
+ import _Dropdown from "@chaoswise/ui/lib/Dropdown";
2
2
  import "@chaoswise/ui/lib/Input/index.less";
3
3
  import _Input from "@chaoswise/ui/lib/Input";
4
- import _Icon from "@chaoswise/ui/lib/Antd/Icon";
4
+ import _Icon from "@chaoswise/ui/lib/Icon";
5
5
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6
6
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
7
7
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -0,0 +1,3 @@
1
+ import "antd/es/popover/style";
2
+ import _Popover from "antd/es/popover";
3
+ export default _Popover;
@@ -1,4 +1,4 @@
1
- import _Icon from "@chaoswise/ui/lib/Antd/Icon";
1
+ import _Icon from "@chaoswise/ui/lib/Icon";
2
2
  import "antd/es/progress/style";
3
3
  import _Progress from "antd/es/progress";
4
4
  import _useLocale2 from "@chaoswise/ui/lib/useLocale";
@@ -1,17 +1,17 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  import "@chaoswise/ui/lib/Tooltip/index.less";
3
3
  import _Tooltip from "@chaoswise/ui/lib/Tooltip";
4
- import _Icon from "@chaoswise/ui/lib/Antd/Icon";
5
- import _Row from "@chaoswise/ui/lib/Antd/Row";
6
- import _Col from "@chaoswise/ui/lib/Antd/Col";
4
+ import _Icon from "@chaoswise/ui/lib/Icon";
5
+ import _Row from "@chaoswise/ui/lib/Row";
6
+ import _Col from "@chaoswise/ui/lib/Col";
7
7
  import "@chaoswise/ui/lib/Radio/index.less";
8
8
  import _Radio from "@chaoswise/ui/lib/Radio";
9
9
  import "@chaoswise/ui/lib/DatePicker/index.less";
10
10
  import _DatePicker from "@chaoswise/ui/lib/DatePicker";
11
11
  var _excluded = ["ranges", "value", "tooltipOption", "onChange"];
12
12
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
15
15
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
16
16
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
17
17
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -23,7 +23,6 @@ var Drag = function Drag(props) {
23
23
  checkValue.splice(hoverIndex, 0, tmp); //插入放置项
24
24
  handlePreviewList(_toConsumableArray(checkValue)); //更新修改后的列表
25
25
  };
26
-
27
26
  var hasPrefixIcon = useMemo(function () {
28
27
  var isLockSort = checkValue.filter(function (item) {
29
28
  return item.disabled;
@@ -1,4 +1,4 @@
1
- import _Icon from "@chaoswise/ui/lib/Antd/Icon";
1
+ import _Icon from "@chaoswise/ui/lib/Icon";
2
2
  import "@chaoswise/ui/lib/Tooltip/index.less";
3
3
  import _Tooltip from "@chaoswise/ui/lib/Tooltip";
4
4
  import _useLocale2 from "@chaoswise/ui/lib/useLocale";
@@ -1,4 +1,4 @@
1
- import _Icon from "@chaoswise/ui/lib/Antd/Icon";
1
+ import _Icon from "@chaoswise/ui/lib/Icon";
2
2
  import React, { Fragment } from "react";
3
3
  import classnames from "classnames";
4
4
  import LockSvg from "./assets/LockSvg";
@@ -26,8 +26,8 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
26
26
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
27
27
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28
28
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
29
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
30
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
29
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
30
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
31
31
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
32
32
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
33
33
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -8,8 +8,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
8
8
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9
9
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10
10
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
12
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
12
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
13
13
  export var isShowByloopChidren = function isShowByloopChidren(list, searchInfo) {
14
14
  var isTrue = false;
15
15
  for (var index = 0; index < list.length; index++) {
@@ -60,7 +60,6 @@ export var KMPMatch = function KMPMatch(str, pattern) {
60
60
  j = next[j]; // 右移
61
61
  }
62
62
  }
63
-
64
63
  if (j === pattern.length) {
65
64
  return i - j;
66
65
  } else {
@@ -201,7 +200,6 @@ export var getKeysAndTitle = function getKeysAndTitle(arr) {
201
200
  key: item.key,
202
201
  title: item.props.originTitle // 不能用item.props.title(节点形式)
203
202
  });
204
-
205
203
  if (item.props.children && item.props.children.length > 0) {
206
204
  keys = keys.concat(getKeysAndTitle(item.props.children));
207
205
  }
@@ -10,8 +10,8 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
10
10
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
11
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
12
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
15
15
  import React, { Component } from "react";
16
16
  import classNames from "classnames";
17
17
  import shallowEqual from "shallowequal";
@@ -16,8 +16,8 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
16
16
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
17
17
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
18
18
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
20
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
19
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
20
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
21
21
  import React, { Component, Fragment } from "react";
22
22
  import RcCheckbox from "rc-checkbox";
23
23
  import classNames from "classnames";
@@ -1,7 +1,7 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  import "@chaoswise/ui/lib/Button/index.less";
3
3
  import _Button from "@chaoswise/ui/lib/Button";
4
- import _Icon from "@chaoswise/ui/lib/Antd/Icon";
4
+ import _Icon from "@chaoswise/ui/lib/Icon";
5
5
  import "antd/es/time-picker/style";
6
6
  import _TimePicker from "antd/es/time-picker";
7
7
  import _useLocale2 from "@chaoswise/ui/lib/useLocale";
@@ -9,8 +9,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
9
9
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
10
10
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11
11
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
13
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
12
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
13
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
14
14
  import React from "react";
15
15
  import classnames from "classnames";
16
16
  import langConfig from "../locale";
@@ -0,0 +1,3 @@
1
+ import "antd/es/rate/style";
2
+ import _Rate from "antd/es/rate";
3
+ export default _Rate;
@@ -1,4 +1,4 @@
1
- import _Icon from "@chaoswise/ui/lib/Antd/Icon";
1
+ import _Icon from "@chaoswise/ui/lib/Icon";
2
2
  import React from 'react';
3
3
  import { components } from 'react-select';
4
4
  function CustomArrow(props) {
@@ -1,6 +1,6 @@
1
1
  import "@chaoswise/ui/lib/Tooltip/index.less";
2
2
  import _Tooltip from "@chaoswise/ui/lib/Tooltip";
3
- import _Icon from "@chaoswise/ui/lib/Antd/Icon";
3
+ import _Icon from "@chaoswise/ui/lib/Icon";
4
4
  import React, { Fragment } from 'react';
5
5
  function TagMore(_ref) {
6
6
  var maxTagCount = _ref.maxTagCount,
@@ -2,8 +2,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  export default {
8
8
  // 自定义外层容器
9
9
  container: function container(preStyle, state) {
@@ -4,8 +4,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
6
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
9
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
10
10
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
11
11
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -0,0 +1,3 @@
1
+ import "antd/es/result/style";
2
+ import _Result from "antd/es/result";
3
+ export default _Result;
@@ -0,0 +1,3 @@
1
+ import "antd/es/row/style";
2
+ import _Row from "antd/es/row";
3
+ export default _Row;
@@ -3,12 +3,12 @@ import "@chaoswise/ui/lib/FilterDropDown/index.less";
3
3
  import _FilterDropDown from "@chaoswise/ui/lib/FilterDropDown";
4
4
  import "@chaoswise/ui/lib/Tooltip/index.less";
5
5
  import _Tooltip from "@chaoswise/ui/lib/Tooltip";
6
- import _Row from "@chaoswise/ui/lib/Antd/Row";
7
- import _Dropdown from "@chaoswise/ui/lib/Antd/Dropdown";
6
+ import _Row from "@chaoswise/ui/lib/Row";
7
+ import _Dropdown from "@chaoswise/ui/lib/Dropdown";
8
8
  import "@chaoswise/ui/lib/Form/index.less";
9
9
  import _Form from "@chaoswise/ui/lib/Form";
10
- import _Col from "@chaoswise/ui/lib/Antd/Col";
11
- import _Icon from "@chaoswise/ui/lib/Antd/Icon";
10
+ import _Col from "@chaoswise/ui/lib/Col";
11
+ import _Icon from "@chaoswise/ui/lib/Icon";
12
12
  import "@chaoswise/ui/lib/Button/index.less";
13
13
  import _Button from "@chaoswise/ui/lib/Button";
14
14
  import _Menu from "@chaoswise/ui/lib/Menu";
@@ -22,8 +22,8 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
22
22
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23
23
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
24
24
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
25
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
26
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
25
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
26
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
27
27
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
28
28
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
29
29
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
@@ -0,0 +1,10 @@
1
+ @select-prefix-cls: ~'@{ant-prefix}-select';
2
+ @select-tree-prefix-cls: ~'@{ant-prefix}-select-tree';
3
+
4
+ .@{select-prefix-cls}-tree-dropdown {
5
+ .@{select-prefix-cls}-dropdown-search {
6
+ .@{select-prefix-cls}-search__field{
7
+ background: transparent;
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,4 @@
1
+ import "antd/es/tree-select/style";
2
+ import _TreeSelect from "antd/es/tree-select";
3
+ import './TreeSelect.less';
4
+ export default _TreeSelect;
@@ -10,8 +10,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
10
10
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11
11
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12
12
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
15
15
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
16
16
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
17
17
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -193,7 +193,6 @@ var Select = /*#__PURE__*/function (_React$Component) {
193
193
  // tags: mode === 'tags',
194
194
  // combobox: _this.isCombobox()
195
195
  };
196
-
197
196
  var finalRemoveIcon = removeIcon && ( /*#__PURE__*/ /*#__PURE__*/React.isValidElement(removeIcon) ? /*#__PURE__*/React.cloneElement(removeIcon, {
198
197
  className: classNames(removeIcon.props.className, "".concat(prefixCls, "-remove-icon"))
199
198
  }) : removeIcon) || /*#__PURE__*/React.createElement(Icon, {
@@ -7,8 +7,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
7
7
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8
8
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
9
9
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
10
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
11
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
10
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
11
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
12
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
13
13
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
14
14
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
@@ -1,13 +1,13 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- import _Icon from "@chaoswise/ui/lib/Antd/Icon";
2
+ import _Icon from "@chaoswise/ui/lib/Icon";
3
3
  import _Menu from "@chaoswise/ui/lib/Menu";
4
4
  var _excluded = ["menuData", "defaultSelectedKey", "mode", "children", "render", "collapsed", "rootLevel"];
5
5
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6
6
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7
7
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8
8
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
9
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
10
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
11
11
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
12
12
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
13
13
  import React, { useMemo } from "react";
@@ -1,10 +1,10 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- import _Icon from "@chaoswise/ui/lib/Antd/Icon";
2
+ import _Icon from "@chaoswise/ui/lib/Icon";
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
8
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
9
9
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
10
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -32,7 +32,6 @@ function getEntirePath(path, baseURI) {
32
32
  return path;
33
33
  // return new URL(path, baseURI).toString();
34
34
  }
35
-
36
35
  function isValidJavaScriptType(type) {
37
36
  var handleTypes = ['text/javascript', 'module', 'application/javascript', 'text/ecmascript', 'application/ecmascript'];
38
37
  return !type || handleTypes.indexOf(type) !== -1;
@@ -4,8 +4,8 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
6
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
9
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
10
10
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
11
11
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
@@ -1,6 +1,6 @@
1
1
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
3
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
4
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
5
5
  /* single-spa@5.5.2 - ES2015 - dev */
6
6
  var singleSpa = /*#__PURE__*/Object.freeze({
@@ -1045,7 +1045,6 @@ function getAppChanges() {
1045
1045
  // all other statuses are ignored
1046
1046
  }
1047
1047
  });
1048
-
1049
1048
  return {
1050
1049
  appsToUnload: appsToUnload,
1051
1050
  appsToUnmount: appsToUnmount,
@@ -0,0 +1,3 @@
1
+ import "antd/es/skeleton/style";
2
+ import _Skeleton from "antd/es/skeleton";
3
+ export default _Skeleton;
@@ -0,0 +1,16 @@
1
+ @spin-prefix-cls: ~'@{ant-prefix}-spin';
2
+ .@{spin-prefix-cls}{
3
+ width: 32px;
4
+ height: 32px;
5
+ display: inline-flex;
6
+ align-items: center;
7
+ justify-content: center;
8
+ &-sm{
9
+ width: 16px;
10
+ height: 16px;
11
+ }
12
+ &-lg{
13
+ width: 48px;
14
+ height: 48px;
15
+ }
16
+ }
@@ -0,0 +1,4 @@
1
+ import "antd/es/spin/style";
2
+ import _Spin from "antd/es/spin";
3
+ import './Spin.less';
4
+ export default _Spin;
@@ -0,0 +1,3 @@
1
+ import "antd/es/statistic/style";
2
+ import _Statistic from "antd/es/statistic";
3
+ export default _Statistic;