@chaoswise/ui 3.0.12 → 3.0.14

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 (214) hide show
  1. package/lib/AbreastLayout/index.js +2 -2
  2. package/lib/AdaptiveLayout/index.js +2 -2
  3. package/lib/Antd5/_util/transButton.js +2 -2
  4. package/lib/Antd5/alert/Alert.js +2 -2
  5. package/lib/Antd5/app/style/index.js +2 -1
  6. package/lib/Antd5/avatar/avatar.js +2 -2
  7. package/lib/Antd5/badge/ScrollNumber.js +2 -2
  8. package/lib/Antd5/badge/index.js +2 -2
  9. package/lib/Antd5/breadcrumb/Breadcrumb.js +2 -2
  10. package/lib/Antd5/breadcrumb/BreadcrumbItem.js +2 -2
  11. package/lib/Antd5/breadcrumb/useItemRender.js +2 -2
  12. package/lib/Antd5/breadcrumb/useItems.js +2 -2
  13. package/lib/Antd5/button/button-group.js +2 -2
  14. package/lib/Antd5/button/button.js +2 -2
  15. package/lib/Antd5/card/Card.js +2 -2
  16. package/lib/Antd5/card/Grid.js +2 -2
  17. package/lib/Antd5/card/Meta.js +2 -2
  18. package/lib/Antd5/carousel/index.js +2 -2
  19. package/lib/Antd5/cascader/index.js +2 -2
  20. package/lib/Antd5/checkbox/Checkbox.js +2 -2
  21. package/lib/Antd5/checkbox/Group.js +2 -2
  22. package/lib/Antd5/color-picker/ColorPicker.js +2 -2
  23. package/lib/Antd5/color-picker/ColorPickerPanel.js +2 -2
  24. package/lib/Antd5/color-picker/components/ColorTrigger.js +2 -2
  25. package/lib/Antd5/color-picker/components/PanelPicker.js +2 -2
  26. package/lib/Antd5/config-provider/index.js +2 -2
  27. package/lib/Antd5/date-picker/generatePicker/generateRangePicker.js +2 -2
  28. package/lib/Antd5/date-picker/generatePicker/generateSinglePicker.js +2 -2
  29. package/lib/Antd5/descriptions/hooks/useItems.js +2 -2
  30. package/lib/Antd5/descriptions/index.js +2 -2
  31. package/lib/Antd5/divider/index.js +2 -2
  32. package/lib/Antd5/drawer/index.js +2 -2
  33. package/lib/Antd5/dropdown/dropdown-button.js +2 -2
  34. package/lib/Antd5/empty/index.js +2 -2
  35. package/lib/Antd5/flex/index.js +2 -2
  36. package/lib/Antd5/float-button/BackTop.js +2 -2
  37. package/lib/Antd5/float-button/FloatButton.js +2 -2
  38. package/lib/Antd5/float-button/FloatButtonGroup.js +2 -2
  39. package/lib/Antd5/float-button/PurePanel.js +2 -2
  40. package/lib/Antd5/form/Form.js +2 -2
  41. package/lib/Antd5/form/FormItem/ItemHolder.js +2 -2
  42. package/lib/Antd5/form/FormItemLabel.js +2 -2
  43. package/lib/Antd5/form/FormList.js +2 -2
  44. package/lib/Antd5/grid/col.js +2 -2
  45. package/lib/Antd5/grid/row.js +2 -2
  46. package/lib/Antd5/image/PreviewGroup.js +2 -2
  47. package/lib/Antd5/image/index.js +2 -2
  48. package/lib/Antd5/input/Input.js +2 -2
  49. package/lib/Antd5/input/OTP/OTPInput.js +2 -2
  50. package/lib/Antd5/input/OTP/index.js +2 -2
  51. package/lib/Antd5/input/Password.js +2 -2
  52. package/lib/Antd5/input/Search.js +2 -2
  53. package/lib/Antd5/input/TextArea.js +2 -2
  54. package/lib/Antd5/input-number/index.js +2 -2
  55. package/lib/Antd5/layout/Sider.js +2 -2
  56. package/lib/Antd5/layout/layout.js +2 -2
  57. package/lib/Antd5/list/Item.js +2 -2
  58. package/lib/Antd5/list/index.js +2 -2
  59. package/lib/Antd5/mentions/index.js +2 -2
  60. package/lib/Antd5/menu/MenuDivider.js +2 -2
  61. package/lib/Antd5/menu/OverrideContext.js +2 -2
  62. package/lib/Antd5/menu/menu.js +2 -2
  63. package/lib/Antd5/message/PurePanel.js +2 -2
  64. package/lib/Antd5/message/useMessage.js +2 -2
  65. package/lib/Antd5/modal/ConfirmDialog.js +2 -2
  66. package/lib/Antd5/modal/Modal.js +2 -2
  67. package/lib/Antd5/modal/PurePanel.js +2 -2
  68. package/lib/Antd5/modal/useModal/HookModal.js +2 -2
  69. package/lib/Antd5/notification/PurePanel.js +2 -2
  70. package/lib/Antd5/notification/useNotification.js +2 -2
  71. package/lib/Antd5/pagination/Pagination.js +2 -2
  72. package/lib/Antd5/popconfirm/PurePanel.js +2 -2
  73. package/lib/Antd5/popconfirm/index.js +2 -2
  74. package/lib/Antd5/popover/PurePanel.js +2 -2
  75. package/lib/Antd5/popover/index.js +2 -2
  76. package/lib/Antd5/progress/Line.js +2 -2
  77. package/lib/Antd5/progress/progress.js +2 -2
  78. package/lib/Antd5/radio/radio.js +2 -2
  79. package/lib/Antd5/radio/radioButton.js +2 -2
  80. package/lib/Antd5/rate/index.js +2 -2
  81. package/lib/Antd5/segmented/index.js +2 -2
  82. package/lib/Antd5/select/index.js +2 -2
  83. package/lib/Antd5/slider/index.js +2 -2
  84. package/lib/Antd5/space/Compact.js +2 -2
  85. package/lib/Antd5/space/index.js +2 -2
  86. package/lib/Antd5/spin/index.js +2 -2
  87. package/lib/Antd5/statistic/Countdown.js +2 -2
  88. package/lib/Antd5/statistic/Statistic.js +2 -2
  89. package/lib/Antd5/steps/index.js +2 -2
  90. package/lib/Antd5/switch/index.js +2 -2
  91. package/lib/Antd5/table/hooks/usePagination.js +2 -2
  92. package/lib/Antd5/tabs/hooks/useLegacyItems.js +2 -2
  93. package/lib/Antd5/tabs/index.js +2 -2
  94. package/lib/Antd5/tag/CheckableTag.js +2 -2
  95. package/lib/Antd5/tag/index.js +2 -2
  96. package/lib/Antd5/theme/useToken.js +2 -2
  97. package/lib/Antd5/theme/util/alias.js +2 -2
  98. package/lib/Antd5/time-picker/index.js +2 -2
  99. package/lib/Antd5/timeline/Timeline.js +2 -2
  100. package/lib/Antd5/timeline/TimelineItem.js +2 -2
  101. package/lib/Antd5/timeline/TimelineItemList.js +2 -2
  102. package/lib/Antd5/tooltip/index.js +2 -2
  103. package/lib/Antd5/tour/PurePanel.js +2 -2
  104. package/lib/Antd5/tour/index.js +2 -2
  105. package/lib/Antd5/tree/DirectoryTree.js +2 -2
  106. package/lib/Antd5/tree-select/index.js +2 -2
  107. package/lib/Antd5/typography/Base/index.js +2 -2
  108. package/lib/Antd5/typography/Link.js +2 -2
  109. package/lib/Antd5/typography/Text.js +2 -2
  110. package/lib/Antd5/typography/Title.js +2 -2
  111. package/lib/Antd5/typography/Typography.js +2 -2
  112. package/lib/Antd5/upload/Dragger.js +2 -2
  113. package/lib/Antd5/upload/Upload.js +1 -1
  114. package/lib/AppHolder/index.js +19 -0
  115. package/lib/Badge/index.style.js +42 -10
  116. package/lib/BasicLayout/Breadcrumb.js +2 -2
  117. package/lib/BasicLayout/Footer.js +2 -2
  118. package/lib/BasicLayout/Sider.js +8 -4
  119. package/lib/BasicLayout/style/sider.js +53 -49
  120. package/lib/Button/index.js +2 -2
  121. package/lib/CWCascader/Cascader/index.js +2 -2
  122. package/lib/CWCascader/rc-cascader/Cascader.js +2 -2
  123. package/lib/CWMessage/MessageContent/TabList/index.js +2 -2
  124. package/lib/CWMessage/MessageContent/index.js +6 -6
  125. package/lib/CWMessage/index.js +82 -92
  126. package/lib/CWMessage/index.style.js +2 -4
  127. package/lib/CWRadioTabs/index.js +2 -2
  128. package/lib/CWRangePicker/DropdownMenu/index.js +41 -37
  129. package/lib/CWRangePicker/DropdownMenu/index.style.js +129 -130
  130. package/lib/CWRangePicker/Refresh/index.js +8 -4
  131. package/lib/CWRangePicker/Refresh/index.style.js +16 -19
  132. package/lib/CWRangePicker/TimeSpan/index.js +7 -2
  133. package/lib/CWRangePicker/TimeSpan/index.style.js +9 -12
  134. package/lib/CWRangePicker/index.js +8 -4
  135. package/lib/CWRangePicker/index.style.js +47 -52
  136. package/lib/CWTable/CWTable.js +3 -3
  137. package/lib/CWTable/header.js +2 -2
  138. package/lib/CWTree/index.js +8 -4
  139. package/lib/CWTree/index.style.js +97 -99
  140. package/lib/CardSelect/index.js +2 -2
  141. package/lib/ChangeIcon/index.js +1 -1
  142. package/lib/Collapse/index.js +2 -2
  143. package/lib/ConfigProvider/ConfigProvider.js +17 -5
  144. package/lib/CustomScrollBar/index.js +2 -2
  145. package/lib/Drawer/index.js +2 -2
  146. package/lib/Dropdown/DropdownButton.js +2 -2
  147. package/lib/Dropdown/index.js +2 -2
  148. package/lib/EchartsArea/index.js +2 -2
  149. package/lib/EchartsBar/index.js +2 -2
  150. package/lib/EchartsBarRow/index.js +2 -2
  151. package/lib/EchartsBase/index.js +2 -2
  152. package/lib/EchartsLine/index.js +2 -2
  153. package/lib/EchartsPie/index.js +2 -2
  154. package/lib/EchartsRing/index.js +2 -2
  155. package/lib/Empty/index.js +2 -2
  156. package/lib/Exception/index.js +1 -1
  157. package/lib/FilterDropDown/index.js +1 -1
  158. package/lib/Flow/BasicLayout/Chain.js +2 -2
  159. package/lib/Flow/Flow.js +2 -2
  160. package/lib/Form/FormItem.js +2 -2
  161. package/lib/Form/index.js +2 -2
  162. package/lib/FormItemWrapper/index.js +2 -2
  163. package/lib/GlobalTabs/index.js +2 -2
  164. package/lib/Header/CommonDropMenu.js +2 -2
  165. package/lib/Header/LocaleSwitcher.js +2 -2
  166. package/lib/Header/Message/index.js +2 -2
  167. package/lib/Header/TopNavigationMenu/index.js +1 -1
  168. package/lib/Header/UserSetting/index.js +1 -1
  169. package/lib/Header/index.js +1 -1
  170. package/lib/Icon/index.js +2 -2
  171. package/lib/IconSelect/index.js +1 -1
  172. package/lib/Input/InputComponent.js +2 -2
  173. package/lib/InputNumber/index.js +2 -2
  174. package/lib/Joyride/index.js +2 -2
  175. package/lib/LayoutBreadcrumb/index.js +2 -2
  176. package/lib/LayoutWrapper/Footer.js +7 -3
  177. package/lib/LayoutWrapper/Header.js +7 -3
  178. package/lib/LayoutWrapper/index.js +5 -2
  179. package/lib/LeftNavigation/index.js +1 -1
  180. package/lib/Modal/Modal.js +2 -2
  181. package/lib/Modal/index.js +2 -2
  182. package/lib/ModuleFederation/react-dynamic-remote-component/RemoteComponent.js +2 -2
  183. package/lib/ModuleTitle/index.js +2 -2
  184. package/lib/Pagination/index.js +2 -2
  185. package/lib/QuickRangePicker/index.js +2 -2
  186. package/lib/QuickTransfer/index.js +7 -3
  187. package/lib/ScrollLoad/index.js +2 -2
  188. package/lib/SearchBar/index.js +3 -3
  189. package/lib/SiderMenu/index.js +2 -2
  190. package/lib/SimpleCard/index.js +2 -2
  191. package/lib/SimplePagination/index.js +1 -1
  192. package/lib/SingleSpa/index.js +2 -2
  193. package/lib/Slider/index.js +2 -2
  194. package/lib/Tabs/index.js +2 -2
  195. package/lib/Tag/CheckableTag.js +2 -2
  196. package/lib/Tag/index.js +2 -2
  197. package/lib/Tag/index.style.js +41 -9
  198. package/lib/ThemeProvider/main.js +2 -2
  199. package/lib/Tooltip/index.js +4 -4
  200. package/lib/TooltipText/index.js +3 -3
  201. package/lib/UniversalLayout/index.js +5 -1
  202. package/lib/WangEditor/editor4.js +2 -2
  203. package/lib/WangEditor/index.js +2 -2
  204. package/lib/antd-style/factories/createStyleProvider/index.js +2 -2
  205. package/lib/antd-style/factories/createStyles/index.js +2 -2
  206. package/lib/antd-style/factories/createThemeProvider/AntdProvider.js +2 -2
  207. package/lib/antd-style/factories/createThemeProvider/TokenContainer.js +2 -2
  208. package/lib/antd-style/factories/createThemeProvider/index.js +2 -2
  209. package/lib/antd-style/functions/index.js +6 -5
  210. package/lib/configHoc/index.js +2 -2
  211. package/lib/locales/en_US.json +1 -0
  212. package/lib/locales/zh_CN.json +1 -0
  213. package/lib/locales/zh_TW.json +1 -0
  214. package/package.json +1 -1
@@ -4,8 +4,8 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
4
4
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
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
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
8
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
7
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
8
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
9
9
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _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(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
package/lib/Tag/index.js CHANGED
@@ -11,8 +11,8 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
11
11
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
12
12
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
13
13
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
14
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
15
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
14
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
15
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
16
16
  import React, { forwardRef } from "react";
17
17
  import Tag from "../Antd5/tag";
18
18
  import PropTypes from "prop-types";
@@ -1,15 +1,43 @@
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
- var _templateObject, _templateObject2, _templateObject3, _templateObject4;
3
2
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
4
3
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
5
4
  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); }
6
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
7
5
  import { genStyleHooks } from "../Antd5/theme/internal";
8
- import { keyframes } from "../antd-style";
9
- var k_loadingK = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% {\n left: 0;\n transform: scale(1.1)\n }\n\n 50% {\n left: 100%;\n transform: scale(1)\n }\n\n 100% {\n left: 0;\n transform: scale(1.1)\n }\n"])));
10
- var k_loadingM = keyframes(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n 0% {\n z-index: 0\n }\n\n 50% {\n z-index: 1\n }\n\n 100% {\n z-index: 0\n }\n"])));
11
- var k_loadingL = keyframes(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n 0% {\n left: 100%;\n transform: scale(1.1)\n }\n\n 50% {\n left: 0;\n transform: scale(1)\n }\n\n 100% {\n left: 100%;\n transform: scale(1.1)\n }\n"])));
12
- var k_loadingN = keyframes(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n 0% {\n z-index: 1\n }\n\n 50% {\n z-index: 0\n }\n\n 100% {\n z-index: 1\n }\n"])));
6
+ import { Keyframes } from "@ant-design/cssinjs";
7
+ var k_loadingK = new Keyframes("k_loadingK", {
8
+ "0%": {
9
+ left: 0,
10
+ transform: "scale(1.1)",
11
+ zIndex: 0
12
+ },
13
+ "50%": {
14
+ left: "100%",
15
+ transform: "scale(1)",
16
+ zIndex: 1
17
+ },
18
+ "100%": {
19
+ left: 0,
20
+ transform: 'scale(1.1)',
21
+ zIndex: 0
22
+ }
23
+ });
24
+ var k_loadingL = new Keyframes("k_loadingL", {
25
+ "0%": {
26
+ left: "100%",
27
+ transform: 'scale(1.1)',
28
+ zIndex: 1
29
+ },
30
+ "50%": {
31
+ left: 0,
32
+ transform: "scale(1)",
33
+ zIndex: 1
34
+ },
35
+ "100%": {
36
+ left: "100%",
37
+ transform: 'scale(1.1)',
38
+ zIndex: 0
39
+ }
40
+ });
13
41
  var prepareComponentToken = function prepareComponentToken(token) {
14
42
  return {
15
43
  checkableTagBg: token.Tag.checkableTagBg,
@@ -90,11 +118,15 @@ var genCustomCWTagStyle = function genCustomCWTagStyle(token) {
90
118
  },
91
119
  "&::before": {
92
120
  background: token.colorPrimary,
93
- animation: "".concat(k_loadingK, " 1s ease-in-out infinite, ").concat(k_loadingM, " 0.33s ease-in-out infinite")
121
+ animationName: k_loadingK,
122
+ animationDuration: '1s',
123
+ animationIterationCount: 'infinite'
94
124
  },
95
125
  "&:after": {
96
126
  background: token.colorSuccess,
97
- animation: "".concat(k_loadingL, " 1s ease-in-out infinite, ").concat(k_loadingN, " 0.33s ease-in-out infinite")
127
+ animationName: k_loadingL,
128
+ animationDuration: '1s',
129
+ animationIterationCount: 'infinite'
98
130
  }
99
131
  }), "".concat(tagPrefix, "-processing-text"), {
100
132
  display: "inline-block",
@@ -12,8 +12,8 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
12
12
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
13
13
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
14
14
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
15
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
16
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
15
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
16
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
17
17
  import * as React from "react";
18
18
  import { findCommentNode, arrayToObject, createLinkElement, isElement, fixedFlashing } from "./utils";
19
19
  import defaultThemeVars from "../../config/theme/default";
@@ -10,8 +10,8 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
10
10
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
11
11
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
12
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
13
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
14
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
13
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
14
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
15
15
  import React, { forwardRef } from "react";
16
16
  import AntdTooltip from "../Antd5/tooltip";
17
17
  import classnames from "classnames";
@@ -31,14 +31,14 @@ function CWTooltip(_ref, ref) {
31
31
  resp = _objectWithoutProperties(_ref, _excluded);
32
32
  var _useConfigContext = useConfigContext(),
33
33
  getPrefixCls = _useConfigContext.getPrefixCls;
34
- var prefixCls = getPrefixCls("tooltip-use-ui-rule");
34
+ var prefixCls = getPrefixCls("tooltip");
35
35
  var _useStyle = useStyle(prefixCls),
36
36
  _useStyle2 = _slicedToArray(_useStyle, 3),
37
37
  wrapCSSVar = _useStyle2[0],
38
38
  hashId = _useStyle2[1],
39
39
  cssVarCls = _useStyle2[2];
40
40
  return wrapCSSVar( /*#__PURE__*/React.createElement(AntdTooltip, _extends({
41
- overlayClassName: classnames(_defineProperty({}, "".concat(prefixCls), useUiRule), overlayClassName),
41
+ overlayClassName: classnames(_defineProperty({}, "".concat(prefixCls, "-use-ui-rule"), useUiRule), overlayClassName),
42
42
  ref: ref,
43
43
  open: visible,
44
44
  onOpenChange: onVisibleChange
@@ -11,8 +11,8 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
11
11
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
12
12
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
13
13
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
14
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
15
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
14
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
15
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
16
16
  import React, { useRef, useEffect, useState, useMemo, memo } from "react";
17
17
  import classnames from "classnames";
18
18
  import PropTypes from "prop-types";
@@ -105,7 +105,7 @@ var TooltipText = function TooltipText(_ref) {
105
105
  }, children));
106
106
  }
107
107
  return children;
108
- }, [width, wrapperWidth, children, isCenterEllipsis, isShowTooltip]);
108
+ }, [ellipsisWidth, width, wrapperWidth, children, isCenterEllipsis, isShowTooltip]);
109
109
  return wrapCSSVar( /*#__PURE__*/React.createElement(_Tooltip, _extends({
110
110
  title: isShowTooltip ? title ? title : children : ""
111
111
  }, resP), /*#__PURE__*/React.createElement("span", {
@@ -8,6 +8,7 @@ import React from "react";
8
8
  import PropTypes from "prop-types";
9
9
  import useStyle from "./index.style";
10
10
  import classnames from "classnames";
11
+ import useConfigContext from "../useConfigContext";
11
12
  var _ = require("lodash-es");
12
13
 
13
14
  /**
@@ -19,7 +20,10 @@ export default function UniversalLayout(_ref) {
19
20
  style = _ref.style,
20
21
  itemStyle = _ref.itemStyle,
21
22
  children = _ref.children;
22
- var _useStyle = useStyle("cw-universal-layout"),
23
+ var _useConfigContext = useConfigContext(),
24
+ getPrefixCls = _useConfigContext.getPrefixCls;
25
+ var prefixCls = getPrefixCls();
26
+ var _useStyle = useStyle("".concat(prefixCls, "-universal-layout")),
23
27
  _useStyle2 = _slicedToArray(_useStyle, 3),
24
28
  wrapCSSVar = _useStyle2[0],
25
29
  hashId = _useStyle2[1],
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["isSeparation", "customAlert", "htmlContent", "appendHtmlContent", "getHtml", "getText", "getJSON", "setJSON", "clearContent", "compatibleMode", "highLight", "fullScreen", "onChange", "onFocus", "onBlur", "linkImgCallback", "onlineVideoCallback", "onlineVideoCheck", "linkCheck", "pasteTextHandle", "customUploadImg", "customUploadVideo", "disable", "onCatalogChange", "headId"];
2
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
2
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useEffect, Fragment } from 'react';
5
5
  import E from 'wangeditor';
6
6
  import hljs from 'highlight.js';
@@ -5,8 +5,8 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
5
5
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
6
6
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
7
7
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
8
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
9
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
8
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
9
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
10
10
  import React, { useEffect, Fragment, useRef, forwardRef } from "react";
11
11
  import E from "./wangEditor";
12
12
  import PropTypes from "prop-types";
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
5
5
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
6
6
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
7
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
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
9
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
8
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
9
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  import { createEmotion } from '../../core/createEmotion';
12
12
  import { StyleProvider as AntdStyleProvider } from '@ant-design/cssinjs';
@@ -7,8 +7,8 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
7
7
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
9
9
  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); }
10
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
11
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
10
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
11
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
12
12
  import { useContext, useMemo } from 'react';
13
13
  import { createCSS, serializeCSS } from '../../core';
14
14
  import { isReactCssResult } from '../../utils';
@@ -15,8 +15,8 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
15
15
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
16
16
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
17
17
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
18
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
19
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
18
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
19
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
20
20
  import { jsxs as _jsxs } from "react/jsx-runtime";
21
21
  import { ConfigProvider, message, Modal, notification, theme } from '../../../Antd5';
22
22
  import { memo, useEffect, useMemo } from 'react';
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
5
5
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
6
6
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
7
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
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
9
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
8
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
9
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  import { useMemo } from 'react';
12
12
  import { serializeCSS } from '../../core';
@@ -5,8 +5,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
5
5
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
6
6
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
7
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
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
9
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
8
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
9
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  import { memo, useContext } from 'react';
12
12
  import { DEFAULT_THEME_CONTEXT, DEFAULT_THEME_PROVIDER } from '../../functions/setupStyled';
@@ -1,10 +1,11 @@
1
- import { DEFAULT_CSS_PREFIX_KEY } from '../core';
2
- import { createInstance } from './createInstance';
3
- export { extractStaticStyle } from './extractStaticStyle';
4
- export { setupStyled } from './setupStyled';
1
+ var _process, _process2;
2
+ import { DEFAULT_CSS_PREFIX_KEY } from "../core";
3
+ import { createInstance } from "./createInstance";
4
+ export { extractStaticStyle } from "./extractStaticStyle";
5
+ export { setupStyled } from "./setupStyled";
5
6
  export { createInstance };
6
7
  var styleInstance = createInstance({
7
- key: DEFAULT_CSS_PREFIX_KEY,
8
+ key: (_process = process) !== null && _process !== void 0 && (_process = _process.env) !== null && _process !== void 0 && _process.DEFAULT_CSS_PREFIX_KEY ? (_process2 = process) === null || _process2 === void 0 || (_process2 = _process2.env) === null || _process2 === void 0 ? void 0 : _process2.DEFAULT_CSS_PREFIX_KEY : DEFAULT_CSS_PREFIX_KEY,
8
9
  speedy: false
9
10
  });
10
11
  var createStyles = styleInstance.createStyles,
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["forwardedRef"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
3
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React, { forwardRef } from "react";
6
6
  import { ConfigConsumer } from "../Antd5/config-provider";
7
7
  var configHoc = function configHoc(Com) {
@@ -66,6 +66,7 @@
66
66
  "d9ef3e74-3325-4272-aa97-2b861fdcf8ff": "Load failed",
67
67
  "dd25dcba-5aea-4f44-9653-9ff61442e830": "Back",
68
68
  "dd9a42ea-9eca-4315-b925-8cc97cacfd41": "Absolute",
69
+ "dda16720-d447-4d73-9e71-b5af7b5bbcfd": "Click or drag files to this area",
69
70
  "df9a3bfb-00df-44cd-9761-87dc21ffc0e8": "Smooth forward",
70
71
  "e1f25f97-3a00-4e98-b73c-069638e57184": "The browser version is too early. We recommended that upgrade the browser to avoid potential security risks",
71
72
  "e2008629-6fc2-4222-b28c-ada43aa79a74": "Does not match the input format, please re-enter",
@@ -66,6 +66,7 @@
66
66
  "d9ef3e74-3325-4272-aa97-2b861fdcf8ff": "加载失败",
67
67
  "dd25dcba-5aea-4f44-9653-9ff61442e830": "上一步",
68
68
  "dd9a42ea-9eca-4315-b925-8cc97cacfd41": "绝对",
69
+ "dda16720-d447-4d73-9e71-b5af7b5bbcfd": "单击或拖动文件到此区域",
69
70
  "df9a3bfb-00df-44cd-9761-87dc21ffc0e8": "向前平滑",
70
71
  "e1f25f97-3a00-4e98-b73c-069638e57184": "浏览器版本过低,为避免可能存在的安全隐患,推荐升级一下浏览器",
71
72
  "e2008629-6fc2-4222-b28c-ada43aa79a74": "不符合输入格式,请重新输入",
@@ -66,6 +66,7 @@
66
66
  "d9ef3e74-3325-4272-aa97-2b861fdcf8ff": "加載失敗",
67
67
  "dd25dcba-5aea-4f44-9653-9ff61442e830": "上一步",
68
68
  "dd9a42ea-9eca-4315-b925-8cc97cacfd41": "絕對",
69
+ "dda16720-d447-4d73-9e71-b5af7b5bbcfd": "單擊或拖動檔案到此區域",
69
70
  "df9a3bfb-00df-44cd-9761-87dc21ffc0e8": "向前平滑",
70
71
  "e1f25f97-3a00-4e98-b73c-069638e57184": "瀏覽器版本過低,爲避免可能存在的安全隱患,推薦升級一下瀏覽器",
71
72
  "e2008629-6fc2-4222-b28c-ada43aa79a74": "不符合輸入格式,請重新輸入",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chaoswise/ui",
3
3
  "packageName": "chaoswiseUI",
4
- "version": "3.0.12",
4
+ "version": "3.0.14",
5
5
  "description": "公共UI库",
6
6
  "keywords": [
7
7
  "ui",