@para-ui/core 4.0.0-beta → 4.0.0-rc.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 (270) hide show
  1. package/AutoBox/index.d.ts +1 -1
  2. package/AutoBox/index.js +12 -12
  3. package/AutoTips/autoTipsMultiline/index.d.ts +1 -1
  4. package/AutoTips/index.d.ts +2 -2
  5. package/AutoTips/index.js +17 -17
  6. package/Badge/index.d.ts +23 -0
  7. package/Badge/index.js +54 -0
  8. package/Breadcrumbs/index.js +8 -8
  9. package/Button/SplitButton.d.ts +1 -1
  10. package/Button/index.d.ts +1 -1
  11. package/Button/index.js +4 -4
  12. package/Carousel/index.d.ts +6 -6
  13. package/Carousel/index.js +5 -5
  14. package/Cascader/Cascader.d.ts +10 -10
  15. package/Cascader/OptionList/Column.d.ts +3 -3
  16. package/Cascader/OptionList/index.d.ts +2 -2
  17. package/Cascader/index.d.ts +1 -1
  18. package/Cascader/index.js +5 -3
  19. package/Cascader/lang/en_US.d.ts +5 -0
  20. package/Cascader/lang/index.d.ts +11 -0
  21. package/Cascader/lang/zh_CN.d.ts +5 -0
  22. package/Cascader/utils/treeUtil.d.ts +1 -1
  23. package/Checkbox/index.d.ts +1 -1
  24. package/Checkbox/index.js +5 -5
  25. package/CheckboxGroup/index.d.ts +2 -2
  26. package/CheckboxGroup/index.js +3 -3
  27. package/Collapse/index.js +4 -4
  28. package/CollapseBox/index.js +12 -20
  29. package/CollapseLayout/index.js +20 -20
  30. package/ColorPicker/index.js +2 -2
  31. package/ComboSelect/index.js +53 -63
  32. package/ComboSelect/interface.d.ts +3 -3
  33. package/ComboSelect/utils.d.ts +5 -0
  34. package/Container/index.d.ts +3 -3
  35. package/Container/index.js +56 -56
  36. package/CopyText/index.d.ts +2 -2
  37. package/CopyText/index.js +2 -2
  38. package/DatePicker/generatePicker/index.d.ts +22 -22
  39. package/DatePicker/index.js +10 -8
  40. package/DatePicker/util.d.ts +1 -1
  41. package/Desktop/index.d.ts +1 -1
  42. package/Desktop/index.js +19 -14
  43. package/DragVerify/index.d.ts +1 -1
  44. package/DragVerify/index.js +15 -15
  45. package/Drawer/index.d.ts +2 -2
  46. package/Drawer/index.js +118 -17
  47. package/Drawer/interface.d.ts +10 -2
  48. package/Drawer/util.d.ts +6 -0
  49. package/Dropdown/index.d.ts +1 -1
  50. package/DynamicMultiBox/formItem.d.ts +1 -1
  51. package/DynamicMultiBox/index.d.ts +7 -2
  52. package/DynamicMultiBox/index.js +42 -39
  53. package/DynamicMultiBox/interface.d.ts +8 -8
  54. package/DynamicMultiBox/rowForm.d.ts +3 -1
  55. package/Empty/index.d.ts +1 -1
  56. package/Empty/index.js +2 -2
  57. package/Form/index.d.ts +12 -13
  58. package/Form/index.js +14 -12
  59. package/FormItem/compoments/defaultCompoments/index.d.ts +4 -4
  60. package/FormItem/compoments/formCheckboxGroup/index.d.ts +1 -1
  61. package/FormItem/compoments/formFile/index.d.ts +2 -2
  62. package/FormItem/compoments/formRadioGroup/index.d.ts +1 -1
  63. package/FormItem/compoments/formSelect/index.d.ts +7 -7
  64. package/FormItem/errorTips.d.ts +3 -3
  65. package/FormItem/index.d.ts +5 -5
  66. package/FormItem/index.js +7 -6
  67. package/FormItem/lang/en_US.d.ts +10 -0
  68. package/FormItem/lang/index.d.ts +21 -0
  69. package/FormItem/lang/zh_CN.d.ts +10 -0
  70. package/FormItem/validateFunction.d.ts +1 -1
  71. package/FunctionModal/dialog.d.ts +26 -26
  72. package/FunctionModal/index.d.ts +6 -6
  73. package/FunctionModal/index.js +9 -9
  74. package/FunctionModal/modalContext.d.ts +3 -3
  75. package/GlobalContext/componentsProps.d.ts +7 -7
  76. package/GlobalContext/index.d.ts +2 -2
  77. package/GlobalContext/index.js +1 -1
  78. package/GlobalContext/useFormatMessage.d.ts +1 -1
  79. package/Help/index.js +2 -2
  80. package/HelperText/index.js +1 -1
  81. package/InputLang/index.d.ts +2 -2
  82. package/InputLang/index.js +8 -8
  83. package/InputNumber/index.d.ts +2 -2
  84. package/InputNumber/index.js +4 -4
  85. package/Label/index.js +2 -2
  86. package/Loading/index.js +1 -1
  87. package/Menu/index.js +14 -14
  88. package/Menu/interface.d.ts +1 -1
  89. package/Message/index.js +12 -12
  90. package/Modal/Confirm/index.d.ts +3 -3
  91. package/Modal/index.d.ts +1 -1
  92. package/Modal/index.js +7 -7
  93. package/MultiBox/index.d.ts +2 -2
  94. package/MultiBox/index.js +11 -7
  95. package/Notification/index.js +2 -2
  96. package/OperateBtn/index.d.ts +2 -2
  97. package/OperateBtn/index.js +42 -37
  98. package/PageHeader/index.js +31 -31
  99. package/PageHeader/interface.d.ts +1 -1
  100. package/Pagination/index.d.ts +1 -1
  101. package/Pagination/index.js +17 -17
  102. package/ParauiProvider/index.js +1 -1
  103. package/PasswordRules/index.js +8 -8
  104. package/PopConfirm/index.js +4 -4
  105. package/Progress/Line.d.ts +10 -10
  106. package/Progress/Steps.d.ts +2 -2
  107. package/Progress/index.d.ts +12 -12
  108. package/Progress/index.js +40 -40
  109. package/Progress/utils.d.ts +4 -4
  110. package/Querying/index.d.ts +1 -1
  111. package/Querying/index.js +2 -2
  112. package/README.md +3 -0
  113. package/Radio/index.d.ts +1 -1
  114. package/Radio/index.js +5 -5
  115. package/RadioGroup/index.d.ts +2 -2
  116. package/RadioGroup/index.js +3 -3
  117. package/Search/index.js +2 -2
  118. package/Select/index.d.ts +3 -3
  119. package/Select/index.js +43 -43
  120. package/SelectInput/index.js +2 -2
  121. package/Selector/index.js +19 -19
  122. package/Selector/interface.d.ts +6 -6
  123. package/SelectorPicker/index.d.ts +4 -4
  124. package/SelectorPicker/index.js +12 -12
  125. package/SingleBox/index.d.ts +2 -2
  126. package/SingleBox/index.js +3 -3
  127. package/Slider/interface.d.ts +1 -1
  128. package/Status/index.d.ts +6 -4
  129. package/Status/index.js +21 -9
  130. package/Stepper/index.d.ts +5 -5
  131. package/Stepper/index.js +24 -24
  132. package/Styles/scrollbar.scss +66 -66
  133. package/Styles/theme.scss +62 -61
  134. package/Switch/index.d.ts +7 -7
  135. package/Switch/index.js +24 -6
  136. package/Switch/lang/en_US.d.ts +4 -0
  137. package/Switch/lang/index.d.ts +9 -0
  138. package/Switch/lang/zh_CN.d.ts +4 -0
  139. package/Table/index.js +36 -36
  140. package/Table/interface.d.ts +4 -4
  141. package/Table/tableBodyElement/index.d.ts +1 -1
  142. package/Table/tableBodyInterface.d.ts +2 -2
  143. package/Table/tableContainer/index.d.ts +1 -1
  144. package/Table/tableElement/index.d.ts +1 -1
  145. package/Table/tableHeadElement/index.d.ts +1 -1
  146. package/Table/tableHeadInterface.d.ts +1 -1
  147. package/Table/tablePaginationInterface.d.ts +6 -6
  148. package/Table/tdElement/index.d.ts +1 -1
  149. package/Table/thElement/index.d.ts +2 -2
  150. package/Table/trElement/index.d.ts +1 -1
  151. package/Table/util.d.ts +1 -1
  152. package/Tabs/index.d.ts +1 -1
  153. package/Tabs/index.js +26 -18
  154. package/Tag/TagGroup.d.ts +5 -5
  155. package/Tag/index.d.ts +7 -7
  156. package/Tag/index.js +33 -1207
  157. package/TextEditor/index.d.ts +2 -2
  158. package/TextEditor/index.js +45 -27
  159. package/TextEditor/lang/en_US.d.ts +4 -0
  160. package/TextEditor/lang/index.d.ts +9 -0
  161. package/TextEditor/lang/zh_CN.d.ts +4 -0
  162. package/TextField/index.d.ts +1 -1
  163. package/TextField/index.js +13 -13
  164. package/TimePicker/index.d.ts +1 -1
  165. package/TimePicker/index.js +2 -1
  166. package/Timeline/TimelineItem.d.ts +1 -1
  167. package/Timeline/index.d.ts +5 -5
  168. package/Timeline/index.js +14 -14
  169. package/Title/index.d.ts +6 -4
  170. package/Title/index.js +9 -5
  171. package/ToggleButton/ToggleButtonGroup.d.ts +1 -1
  172. package/ToggleButton/index.d.ts +5 -1
  173. package/ToggleButton/index.js +17 -10
  174. package/Tooltip/index.js +1 -1
  175. package/Transfer/box.d.ts +6 -6
  176. package/Transfer/index.js +27 -27
  177. package/Tree/OperateBar/index.d.ts +2 -2
  178. package/Tree/Tree.d.ts +2 -2
  179. package/Tree/index.js +4 -4
  180. package/Tree/interface.d.ts +8 -4
  181. package/Tree/utils/tools.d.ts +1 -1
  182. package/Upload/Dragger/index.d.ts +2 -2
  183. package/Upload/ErroTip/index.d.ts +1 -1
  184. package/Upload/index.d.ts +2 -2
  185. package/Upload/index.js +13 -13
  186. package/Upload/interface.d.ts +1 -1
  187. package/_verture/{index-5c77417d.js → index-0f315bca.js} +4 -4
  188. package/_verture/{index-e2881a53.js → index-19947788.js} +2 -2
  189. package/_verture/{index-d63bd287.js → index-232d890b.js} +1 -1
  190. package/_verture/{index-68db2bc3.js → index-92e406f4.js} +50 -26
  191. package/_verture/{index-7ec72724.js → index-bc461491.js} +45 -38
  192. package/_verture/{index-e6f85fd5.js → index-d251967e.js} +104 -47
  193. package/_verture/{modalContext-c12ca3e8.js → modalContext-9299acc9.js} +26 -26
  194. package/_verture/tinycolor-ece3542d.js +1180 -0
  195. package/_verture/{utils-f0e81540.js → utils-06d86594.js} +3 -6
  196. package/index.d.ts +2 -0
  197. package/index.js +14 -13
  198. package/locale/en-US.d.ts +19 -0
  199. package/locale/index.d.ts +38 -0
  200. package/locale/index.js +41 -3
  201. package/locale/zh-CN.d.ts +19 -0
  202. package/package.json +53 -8
  203. package/umd/AutoBox.js +2 -2
  204. package/umd/AutoTips.js +4 -4
  205. package/umd/Badge.js +1 -0
  206. package/umd/Breadcrumbs.js +2 -2
  207. package/umd/Button.js +2 -2
  208. package/umd/ButtonGroup.js +4 -4
  209. package/umd/Cascader.js +4 -4
  210. package/umd/Checkbox.js +5 -5
  211. package/umd/CheckboxGroup.js +5 -5
  212. package/umd/Collapse.js +1 -1
  213. package/umd/CollapseBox.js +1 -1
  214. package/umd/CollapseLayout.js +4 -4
  215. package/umd/ColorPicker.js +1 -1
  216. package/umd/ComboSelect.js +6 -6
  217. package/umd/CopyText.js +2 -2
  218. package/umd/DatePicker.js +2 -2
  219. package/umd/Desktop.js +2 -2
  220. package/umd/DragVerify.js +4 -4
  221. package/umd/Drawer.js +4 -4
  222. package/umd/DynamicMultiBox.js +4 -4
  223. package/umd/Form.js +4 -4
  224. package/umd/FormItem.js +4 -4
  225. package/umd/FunctionModal.js +2 -2
  226. package/umd/GlobalContext.js +1 -1
  227. package/umd/Help.js +2 -2
  228. package/umd/HelperText.js +1 -1
  229. package/umd/InputLang.js +4 -4
  230. package/umd/InputNumber.js +2 -2
  231. package/umd/Label.js +2 -2
  232. package/umd/Loading.js +1 -1
  233. package/umd/Menu.js +2 -2
  234. package/umd/Message.js +1 -1
  235. package/umd/Modal.js +2 -2
  236. package/umd/MultiBox.js +7 -7
  237. package/umd/Notification.js +2 -2
  238. package/umd/OperateBtn.js +2 -2
  239. package/umd/PageHeader.js +2 -2
  240. package/umd/Pagination.js +4 -4
  241. package/umd/ParauiProvider.js +1 -1
  242. package/umd/PasswordRules.js +3 -3
  243. package/umd/PopConfirm.js +2 -2
  244. package/umd/Popover.js +1 -1
  245. package/umd/Progress.js +1 -1
  246. package/umd/Radio.js +2 -2
  247. package/umd/RadioGroup.js +2 -2
  248. package/umd/Search.js +7 -7
  249. package/umd/Select.js +2 -2
  250. package/umd/SelectInput.js +2 -2
  251. package/umd/Selector.js +2 -2
  252. package/umd/SelectorPicker.js +2 -2
  253. package/umd/SingleBox.js +2 -2
  254. package/umd/Status.js +4 -4
  255. package/umd/Stepper.js +2 -2
  256. package/umd/Switch.js +5 -5
  257. package/umd/Table.js +6 -6
  258. package/umd/Tabs.js +4 -4
  259. package/umd/Tag.js +2 -2
  260. package/umd/TextEditor.js +3 -3
  261. package/umd/TextField.js +7 -7
  262. package/umd/TimePicker.js +2 -2
  263. package/umd/Title.js +2 -2
  264. package/umd/ToggleButton.js +4 -4
  265. package/umd/Tooltip.js +1 -1
  266. package/umd/Transfer.js +5 -5
  267. package/umd/Tree.js +7 -7
  268. package/umd/Upload.js +2 -2
  269. package/umd/locale.js +1 -1
  270. /package/_verture/{typeof-b240b062.js → typeof-c310ee4a.js} +0 -0
package/umd/Collapse.js CHANGED
@@ -38,4 +38,4 @@ object-assign
38
38
  *
39
39
  * This source code is licensed under the MIT license found in the
40
40
  * LICENSE file in the root directory of this source tree.
41
- */t(27418);var r=t(8156),o=60103;if(n.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),n.Fragment=i("react.fragment")}var c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,n,t){var r,i={},s=null,l=null;for(r in void 0!==t&&(s=""+t),void 0!==n.key&&(s=""+n.key),void 0!==n.ref&&(l=n.ref),n)a.call(n,r)&&!u.hasOwnProperty(r)&&(i[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===i[r]&&(i[r]=n[r]);return{$$typeof:o,type:e,key:s,ref:l,props:i,_owner:c.current}}n.jsx=s,n.jsxs=s},85893:function(e,n,t){"use strict";e.exports=t(75251)},96774:function(e){e.exports=function(e,n,t,r){var o=t?t.call(r,e,n):void 0;if(void 0!==o)return!!o;if(e===n)return!0;if("object"!=typeof e||!e||"object"!=typeof n||!n)return!1;var i=Object.keys(e),c=Object.keys(n);if(i.length!==c.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(n),u=0;u<i.length;u++){var s=i[u];if(!a(s))return!1;var l=e[s],f=n[s];if(!1===(o=t?t.call(r,l,f,s):void 0)||void 0===o&&l!==f)return!1}return!0}},47380:function(e,n,t){var r=t(93379),o=t(88224);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},93379:function(e,n,t){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),c=[];function a(e){for(var n=-1,t=0;t<c.length;t++)if(c[t].identifier===e){n=t;break}return n}function u(e,n){for(var t={},r=[],o=0;o<e.length;o++){var i=e[o],u=n.base?i[0]+n.base:i[0],s=t[u]||0,l="".concat(u," ").concat(s);t[u]=s+1;var f=a(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(c[f].references++,c[f].updater(p)):c.push({identifier:l,updater:y(p,n),references:1}),r.push(l)}return r}function s(e){var n=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=t.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){n.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(n);else{var c=i(e.insert||"head");if(!c)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");c.appendChild(n)}return n}var l,f=(l=[],function(e,n){return l[e]=n,l.filter(Boolean).join("\n")});function p(e,n,t,r){var o=t?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(n,o);else{var i=document.createTextNode(o),c=e.childNodes;c[n]&&e.removeChild(c[n]),c.length?e.insertBefore(i,c[n]):e.appendChild(i)}}function d(e,n,t){var r=t.css,o=t.media,i=t.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var v=null,m=0;function y(e,n){var t,r,o;if(n.singleton){var i=m++;t=v||(v=s(n)),r=p.bind(null,t,i,!1),o=p.bind(null,t,i,!0)}else t=s(n),r=d.bind(null,t,n),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)};return r(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;r(e=n)}else o()}}e.exports=function(e,n){(n=n||{}).singleton||"boolean"==typeof n.singleton||(n.singleton=o());var t=u(e=e||[],n);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<t.length;r++){var o=a(t[r]);c[o].references--}for(var i=u(e,n),s=0;s<t.length;s++){var l=a(t[s]);0===c[l].references&&(c[l].updater(),c.splice(l,1))}t=i}}}},37464:function(e,n,t){"use strict";t.d(n,{W:function(){return r},Z:function(){return o}});var r="paraui-v4",o="component"},8156:function(n){"use strict";n.exports=e},47111:function(e){"use strict";e.exports=n},30907:function(e,n,t){"use strict";function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}t.d(n,{Z:function(){return r}})},83878:function(e,n,t){"use strict";function r(e){if(Array.isArray(e))return e}t.d(n,{Z:function(){return r}})},97326:function(e,n,t){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,{Z:function(){return r}})},15671:function(e,n,t){"use strict";function r(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}t.d(n,{Z:function(){return r}})},43144:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(67343);function o(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,n,t){return n&&o(e.prototype,n),t&&o(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}},29388:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var r=t(61120),o=t(78814),i=t(82963);function c(e){var n=(0,o.Z)();return function(){var t,o=(0,r.Z)(e);if(n){var c=(0,r.Z)(this).constructor;t=Reflect.construct(o,arguments,c)}else t=o.apply(this,arguments);return(0,i.Z)(this,t)}}},4942:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(67343);function o(e,n,t){return(n=(0,r.Z)(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},87462:function(e,n,t){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},r.apply(this,arguments)}t.d(n,{Z:function(){return r}})},61120:function(e,n,t){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{Z:function(){return r}})},60136:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(89611);function o(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&(0,r.Z)(e,n)}},78814:function(e,n,t){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}t.d(n,{Z:function(){return r}})},31902:function(e,n,t){"use strict";function r(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,c,a=[],u=!0,s=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;u=!1}else for(;!(u=(r=i.call(t)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(s)throw o}}return a}}t.d(n,{Z:function(){return r}})},25267:function(e,n,t){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(n,{Z:function(){return r}})},1413:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(4942);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}},45987:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(63366);function o(e,n){if(null==e)return{};var t,o,i=(0,r.Z)(e,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(o=0;o<c.length;o++)t=c[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}},63366:function(e,n,t){"use strict";function r(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}t.d(n,{Z:function(){return r}})},82963:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(71002),o=t(97326);function i(e,n){if(n&&("object"===(0,r.Z)(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},89611:function(e,n,t){"use strict";function r(e,n){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},r(e,n)}t.d(n,{Z:function(){return r}})},93324:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var r=t(83878),o=t(31902),i=t(40181),c=t(25267);function a(e,n){return(0,r.Z)(e)||(0,o.Z)(e,n)||(0,i.Z)(e,n)||(0,c.Z)()}},35512:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(71002);function o(e,n){if("object"!==(0,r.Z)(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,n||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}},67343:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(71002),o=t(35512);function i(e){var n=(0,o.Z)(e,"string");return"symbol"===(0,r.Z)(n)?n:String(n)}},71002:function(e,n,t){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.d(n,{Z:function(){return r}})},40181:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(30907);function o(e,n){if(e){if("string"==typeof e)return(0,r.Z)(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?(0,r.Z)(e,n):void 0}}}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e](i,i.exports,o),i.exports}o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,{a:n}),n},o.d=function(e,n){for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var i={};return function(){"use strict";o.r(i),o.d(i,{Collapse:function(){return V},default:function(){return W}});var e=o(8156),n=o.n(e),t=o(4942),r=o(30907);var c=o(40181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,c.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var u=o(15671),s=o(43144),l=o(60136),f=o(29388),p=o(71002),d=o(94184),v=o.n(d),m=o(96774),y=o.n(m),b=o(59864);function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return n().Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?r=r.concat(h(e)):(0,b.isFragment)(e)&&e.props?r=r.concat(h(e.props.children,t)):r.push(e))})),r}var g=o(87462),O=o(93587),Z=o(93324),j=e.forwardRef((function(n,r){var o,i=n.prefixCls,c=n.forceRender,a=n.className,u=n.style,s=n.children,l=n.isActive,f=n.role,p=e.useState(l||c),d=(0,Z.Z)(p,2),m=d[0],y=d[1];return e.useEffect((function(){(c||l)&&y(!0)}),[c,l]),m?e.createElement("div",{ref:r,className:v()("".concat(i,"-content"),(o={},(0,t.Z)(o,"".concat(i,"-content-active"),l),(0,t.Z)(o,"".concat(i,"-content-inactive"),!l),o),a),style:u,role:f},e.createElement("div",{className:"".concat(i,"-content-box")},s)):null}));j.displayName="PanelContent";var w=j,S=function(n){(0,l.Z)(o,n);var r=(0,f.Z)(o);function o(){var e;(0,u.Z)(this,o);for(var n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];return(e=r.call.apply(r,[this].concat(t))).handleItemClick=function(){var n=e.props,t=n.onItemClick,r=n.panelKey;"function"==typeof t&&t(r)},e.handleKeyPress=function(n){"Enter"!==n.key&&13!==n.keyCode&&13!==n.which||e.handleItemClick()},e}return(0,s.Z)(o,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var n,r,o=this,i=this.props,c=i.className,a=i.id,u=i.style,s=i.prefixCls,l=i.header,f=i.headerClass,p=i.children,d=i.isActive,m=i.showArrow,y=i.destroyInactivePanel,b=i.accordion,h=i.forceRender,Z=i.openMotion,j=i.expandIcon,S=i.extra,E=i.collapsible,x="disabled"===E,P=v()("".concat(s,"-header"),(n={},(0,t.Z)(n,f,f),(0,t.Z)(n,"".concat(s,"-header-collapsible-only"),"header"===E),n)),C=v()((r={},(0,t.Z)(r,"".concat(s,"-item"),!0),(0,t.Z)(r,"".concat(s,"-item-active"),d),(0,t.Z)(r,"".concat(s,"-item-disabled"),x),r),c),k=e.createElement("i",{className:"arrow"});m&&"function"==typeof j&&(k=j(this.props));var A=null!=S&&"boolean"!=typeof S;return e.createElement("div",{className:C,style:u,id:a},e.createElement("div",{className:P,onClick:function(){return"header"!==E&&o.handleItemClick()},role:b?"tab":"button",tabIndex:x?-1:0,"aria-expanded":d,onKeyPress:this.handleKeyPress},m&&k,"header"===E?e.createElement("span",{onClick:this.handleItemClick,className:"".concat(s,"-header-text")},l):l,A&&e.createElement("div",{className:"".concat(s,"-extra")},S)),e.createElement(O.Z,(0,g.Z)({visible:d,leavedClassName:"".concat(s,"-content-hidden")},Z,{forceRender:h,removeOnLeave:y}),(function(n,t){var r=n.className,o=n.style;return e.createElement(w,{ref:t,prefixCls:s,className:r,style:o,isActive:d,forceRender:h,role:b?"tabpanel":null},p)})))}}]),o}(e.Component);S.defaultProps={showArrow:!0,isActive:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var E=S;function x(e){var n=e;if(!Array.isArray(n)){var t=(0,p.Z)(n);n="number"===t||"string"===t?[n]:[]}return n.map((function(e){return String(e)}))}var P=function(n){(0,l.Z)(o,n);var r=(0,f.Z)(o);function o(n){var t;(0,u.Z)(this,o),(t=r.call(this,n)).onClickItem=function(e){var n=t.state.activeKey;if(t.props.accordion)n=n[0]===e?[]:[e];else{var r=(n=a(n)).indexOf(e);r>-1?n.splice(r,1):n.push(e)}t.setActiveKey(n)},t.getNewChild=function(n,r){if(!n)return null;var o=t.state.activeKey,i=t.props,c=i.prefixCls,a=i.openMotion,u=i.accordion,s=i.destroyInactivePanel,l=i.expandIcon,f=i.collapsible,p=n.key||String(r),d=n.props,v=d.header,m=d.headerClass,y=d.destroyInactivePanel,b=d.collapsible,h=null!=b?b:f,g={key:p,panelKey:p,header:v,headerClass:m,isActive:u?o[0]===p:o.indexOf(p)>-1,prefixCls:c,destroyInactivePanel:null!=y?y:s,openMotion:a,accordion:u,children:n.props.children,onItemClick:"disabled"===h?null:t.onClickItem,expandIcon:l,collapsible:h};return"string"==typeof n.type?n:e.cloneElement(n,g)},t.getItems=function(){return h(t.props.children).map(t.getNewChild)},t.setActiveKey=function(e){"activeKey"in t.props||t.setState({activeKey:e}),t.props.onChange(t.props.accordion?e[0]:e)};var i=n.activeKey,c=n.defaultActiveKey;return"activeKey"in n&&(c=i),t.state={activeKey:x(c)},t}return(0,s.Z)(o,[{key:"shouldComponentUpdate",value:function(e,n){return!y()(this.props,e)||!y()(this.state,n)}},{key:"render",value:function(){var n,r=this.props,o=r.prefixCls,i=r.className,c=r.style,a=r.accordion,u=v()((n={},(0,t.Z)(n,o,!0),(0,t.Z)(n,i,!!i),n));return e.createElement("div",{className:u,style:c,role:a?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var n={};return"activeKey"in e&&(n.activeKey=x(e.activeKey)),n}}]),o}(e.Component);P.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},P.Panel=E;var C=P,k=(P.Panel,o(37464));function A(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function N(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})),e}var I=function(e){var t,r=e.className,o=void 0===r?"":r,i=e.showArrow,c=void 0===i||i;return n().createElement(C.Panel,N(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){A(e,n,t[n])}))}return e}({},e),{className:(t="",o&&(t+=o),c||(t+=" collapse-panel-no-arrow"),t),prefixCls:k.Z+"-collapse"}))};function L(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var D=e.isValidElement;function R(n,t){return function(n,t,r){return D(n)?e.cloneElement(n,"function"==typeof r?r(n.props||{}):r):t}(n,n,t)}function _(e,n){var t=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){L(e,n,t[n])}))}return e}({},e);return Array.isArray(n)&&n.forEach((function(e){delete t[e]})),t}var T=o(85893),M=o(97435),H=function(e){return(0,T.jsx)(M.l,Object.assign({dataName:"Right",viewBox:"0 0 24 24",path:(0,T.jsx)(T.Fragment,{children:(0,T.jsxs)("g",Object.assign({id:"Right",transform:"translate(-105 -1649)"},{children:[(0,T.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(105 1649)",fill:"none"}),(0,T.jsx)("path",{id:"icon",d:"M.933,17.867a.933.933,0,0,1-.66-1.593l7.34-7.34L.273,1.593A.933.933,0,0,1,1.593.273l8,8a.934.934,0,0,1,0,1.32l-8,8a.93.93,0,0,1-.66.273",transform:"translate(112.067 1652.067)"})]}))})},e))},K=function(){return{height:0,opacity:0}},z=function(e){return{height:e.scrollHeight,opacity:1}},F=function(e,n){return!0===(null==n?void 0:n.deadline)||"height"===n.propertyName},U={motionName:"collapse-motion-collapse",onAppearStart:K,onEnterStart:K,onAppearActive:z,onEnterActive:z,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:K,onAppearEnd:F,onEnterEnd:F,onLeaveEnd:F,motionDeadline:500};o(47380);function $(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function q(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){$(e,n,t[n])}))}return e}function B(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})),e}var V=function(e){var t,r,o,i=e.className,c=void 0===i?"":i,a=e.expandIconPosition,u=void 0===a?"left":a,s=B(q({},U),{motionAppear:!1,leavedClassName:"collapse-content-hidden"});return n().createElement(C,B(q({openMotion:s},e),{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.expandIcon,o=r?r(t):n().createElement(H,{className:"collapse-expand-svg"});return n().createElement("div",{className:"collapse-svg-box"},o)},prefixCls:k.Z+"-collapse",className:(o=k.W+"-collapse",c&&(o+=" "+c),u&&(o+=" ".concat(k.W,"-collapse-svg-").concat(u)),o)}),(r=e.children,(t=r,t?Array.isArray(t)?t:[t]:[]).map((function(e,n){var t;if(null===(t=e.props)||void 0===t?void 0:t.disabled){var r=e.key||String(n),o=e.props,i=o.disabled,c=o.collapsible;return R(e,B(q({},_(e.props,["disabled"])),{key:r,collapsible:null!=c?c:i?"disabled":void 0}))}return e}))))};V.Panel=I;var W=V}(),i}()}));
41
+ */t(27418);var r=t(8156),o=60103;if(n.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),n.Fragment=i("react.fragment")}var c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,n,t){var r,i={},s=null,l=null;for(r in void 0!==t&&(s=""+t),void 0!==n.key&&(s=""+n.key),void 0!==n.ref&&(l=n.ref),n)a.call(n,r)&&!u.hasOwnProperty(r)&&(i[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===i[r]&&(i[r]=n[r]);return{$$typeof:o,type:e,key:s,ref:l,props:i,_owner:c.current}}n.jsx=s,n.jsxs=s},85893:function(e,n,t){"use strict";e.exports=t(75251)},96774:function(e){e.exports=function(e,n,t,r){var o=t?t.call(r,e,n):void 0;if(void 0!==o)return!!o;if(e===n)return!0;if("object"!=typeof e||!e||"object"!=typeof n||!n)return!1;var i=Object.keys(e),c=Object.keys(n);if(i.length!==c.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(n),u=0;u<i.length;u++){var s=i[u];if(!a(s))return!1;var l=e[s],f=n[s];if(!1===(o=t?t.call(r,l,f,s):void 0)||void 0===o&&l!==f)return!1}return!0}},47380:function(e,n,t){var r=t(93379),o=t(88224);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},93379:function(e,n,t){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),c=[];function a(e){for(var n=-1,t=0;t<c.length;t++)if(c[t].identifier===e){n=t;break}return n}function u(e,n){for(var t={},r=[],o=0;o<e.length;o++){var i=e[o],u=n.base?i[0]+n.base:i[0],s=t[u]||0,l="".concat(u," ").concat(s);t[u]=s+1;var f=a(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(c[f].references++,c[f].updater(p)):c.push({identifier:l,updater:y(p,n),references:1}),r.push(l)}return r}function s(e){var n=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=t.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){n.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(n);else{var c=i(e.insert||"head");if(!c)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");c.appendChild(n)}return n}var l,f=(l=[],function(e,n){return l[e]=n,l.filter(Boolean).join("\n")});function p(e,n,t,r){var o=t?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(n,o);else{var i=document.createTextNode(o),c=e.childNodes;c[n]&&e.removeChild(c[n]),c.length?e.insertBefore(i,c[n]):e.appendChild(i)}}function d(e,n,t){var r=t.css,o=t.media,i=t.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var v=null,m=0;function y(e,n){var t,r,o;if(n.singleton){var i=m++;t=v||(v=s(n)),r=p.bind(null,t,i,!1),o=p.bind(null,t,i,!0)}else t=s(n),r=d.bind(null,t,n),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)};return r(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;r(e=n)}else o()}}e.exports=function(e,n){(n=n||{}).singleton||"boolean"==typeof n.singleton||(n.singleton=o());var t=u(e=e||[],n);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<t.length;r++){var o=a(t[r]);c[o].references--}for(var i=u(e,n),s=0;s<t.length;s++){var l=a(t[s]);0===c[l].references&&(c[l].updater(),c.splice(l,1))}t=i}}}},37464:function(e,n,t){"use strict";t.d(n,{W:function(){return r},Z:function(){return o}});var r="paraui-v4",o="component"},8156:function(n){"use strict";n.exports=e},47111:function(e){"use strict";e.exports=n},30907:function(e,n,t){"use strict";function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}t.d(n,{Z:function(){return r}})},83878:function(e,n,t){"use strict";function r(e){if(Array.isArray(e))return e}t.d(n,{Z:function(){return r}})},97326:function(e,n,t){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,{Z:function(){return r}})},15671:function(e,n,t){"use strict";function r(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}t.d(n,{Z:function(){return r}})},43144:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(67343);function o(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,n,t){return n&&o(e.prototype,n),t&&o(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}},29388:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var r=t(61120),o=t(78814),i=t(82963);function c(e){var n=(0,o.Z)();return function(){var t,o=(0,r.Z)(e);if(n){var c=(0,r.Z)(this).constructor;t=Reflect.construct(o,arguments,c)}else t=o.apply(this,arguments);return(0,i.Z)(this,t)}}},4942:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(67343);function o(e,n,t){return(n=(0,r.Z)(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},87462:function(e,n,t){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},r.apply(this,arguments)}t.d(n,{Z:function(){return r}})},61120:function(e,n,t){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{Z:function(){return r}})},60136:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(89611);function o(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&(0,r.Z)(e,n)}},78814:function(e,n,t){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}t.d(n,{Z:function(){return r}})},31902:function(e,n,t){"use strict";function r(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,c,a=[],u=!0,s=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;u=!1}else for(;!(u=(r=i.call(t)).done)&&(a.push(r.value),a.length!==n);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(s)throw o}}return a}}t.d(n,{Z:function(){return r}})},25267:function(e,n,t){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(n,{Z:function(){return r}})},1413:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(4942);function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}},45987:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(63366);function o(e,n){if(null==e)return{};var t,o,i=(0,r.Z)(e,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(o=0;o<c.length;o++)t=c[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}},63366:function(e,n,t){"use strict";function r(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}t.d(n,{Z:function(){return r}})},82963:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(71002),o=t(97326);function i(e,n){if(n&&("object"===(0,r.Z)(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},89611:function(e,n,t){"use strict";function r(e,n){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},r(e,n)}t.d(n,{Z:function(){return r}})},93324:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var r=t(83878),o=t(31902),i=t(40181),c=t(25267);function a(e,n){return(0,r.Z)(e)||(0,o.Z)(e,n)||(0,i.Z)(e,n)||(0,c.Z)()}},35512:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(71002);function o(e,n){if("object"!==(0,r.Z)(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,n||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}},67343:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(71002),o=t(35512);function i(e){var n=(0,o.Z)(e,"string");return"symbol"===(0,r.Z)(n)?n:String(n)}},71002:function(e,n,t){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.d(n,{Z:function(){return r}})},40181:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(30907);function o(e,n){if(e){if("string"==typeof e)return(0,r.Z)(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?(0,r.Z)(e,n):void 0}}}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e](i,i.exports,o),i.exports}o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,{a:n}),n},o.d=function(e,n){for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var i={};return function(){"use strict";o.r(i),o.d(i,{Collapse:function(){return V},default:function(){return W}});var e=o(8156),n=o.n(e),t=o(4942),r=o(30907);var c=o(40181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,c.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var u=o(15671),s=o(43144),l=o(60136),f=o(29388),p=o(71002),d=o(94184),v=o.n(d),m=o(96774),y=o.n(m),b=o(59864);function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return n().Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?r=r.concat(h(e)):(0,b.isFragment)(e)&&e.props?r=r.concat(h(e.props.children,t)):r.push(e))})),r}var g=o(87462),O=o(93587),Z=o(93324),j=e.forwardRef((function(n,r){var o,i=n.prefixCls,c=n.forceRender,a=n.className,u=n.style,s=n.children,l=n.isActive,f=n.role,p=e.useState(l||c),d=(0,Z.Z)(p,2),m=d[0],y=d[1];return e.useEffect((function(){(c||l)&&y(!0)}),[c,l]),m?e.createElement("div",{ref:r,className:v()("".concat(i,"-content"),(o={},(0,t.Z)(o,"".concat(i,"-content-active"),l),(0,t.Z)(o,"".concat(i,"-content-inactive"),!l),o),a),style:u,role:f},e.createElement("div",{className:"".concat(i,"-content-box")},s)):null}));j.displayName="PanelContent";var w=j,S=function(n){(0,l.Z)(o,n);var r=(0,f.Z)(o);function o(){var e;(0,u.Z)(this,o);for(var n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];return(e=r.call.apply(r,[this].concat(t))).handleItemClick=function(){var n=e.props,t=n.onItemClick,r=n.panelKey;"function"==typeof t&&t(r)},e.handleKeyPress=function(n){"Enter"!==n.key&&13!==n.keyCode&&13!==n.which||e.handleItemClick()},e}return(0,s.Z)(o,[{key:"shouldComponentUpdate",value:function(e){return!y()(this.props,e)}},{key:"render",value:function(){var n,r,o=this,i=this.props,c=i.className,a=i.id,u=i.style,s=i.prefixCls,l=i.header,f=i.headerClass,p=i.children,d=i.isActive,m=i.showArrow,y=i.destroyInactivePanel,b=i.accordion,h=i.forceRender,Z=i.openMotion,j=i.expandIcon,S=i.extra,E=i.collapsible,x="disabled"===E,P=v()("".concat(s,"-header"),(n={},(0,t.Z)(n,f,f),(0,t.Z)(n,"".concat(s,"-header-collapsible-only"),"header"===E),n)),C=v()((r={},(0,t.Z)(r,"".concat(s,"-item"),!0),(0,t.Z)(r,"".concat(s,"-item-active"),d),(0,t.Z)(r,"".concat(s,"-item-disabled"),x),r),c),k=e.createElement("i",{className:"arrow"});m&&"function"==typeof j&&(k=j(this.props));var A=null!=S&&"boolean"!=typeof S;return e.createElement("div",{className:C,style:u,id:a},e.createElement("div",{className:P,onClick:function(){return"header"!==E&&o.handleItemClick()},role:b?"tab":"button",tabIndex:x?-1:0,"aria-expanded":d,onKeyPress:this.handleKeyPress},m&&k,"header"===E?e.createElement("span",{onClick:this.handleItemClick,className:"".concat(s,"-header-text")},l):l,A&&e.createElement("div",{className:"".concat(s,"-extra")},S)),e.createElement(O.Z,(0,g.Z)({visible:d,leavedClassName:"".concat(s,"-content-hidden")},Z,{forceRender:h,removeOnLeave:y}),(function(n,t){var r=n.className,o=n.style;return e.createElement(w,{ref:t,prefixCls:s,className:r,style:o,isActive:d,forceRender:h,role:b?"tabpanel":null},p)})))}}]),o}(e.Component);S.defaultProps={showArrow:!0,isActive:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var E=S;function x(e){var n=e;if(!Array.isArray(n)){var t=(0,p.Z)(n);n="number"===t||"string"===t?[n]:[]}return n.map((function(e){return String(e)}))}var P=function(n){(0,l.Z)(o,n);var r=(0,f.Z)(o);function o(n){var t;(0,u.Z)(this,o),(t=r.call(this,n)).onClickItem=function(e){var n=t.state.activeKey;if(t.props.accordion)n=n[0]===e?[]:[e];else{var r=(n=a(n)).indexOf(e);r>-1?n.splice(r,1):n.push(e)}t.setActiveKey(n)},t.getNewChild=function(n,r){if(!n)return null;var o=t.state.activeKey,i=t.props,c=i.prefixCls,a=i.openMotion,u=i.accordion,s=i.destroyInactivePanel,l=i.expandIcon,f=i.collapsible,p=n.key||String(r),d=n.props,v=d.header,m=d.headerClass,y=d.destroyInactivePanel,b=d.collapsible,h=null!=b?b:f,g={key:p,panelKey:p,header:v,headerClass:m,isActive:u?o[0]===p:o.indexOf(p)>-1,prefixCls:c,destroyInactivePanel:null!=y?y:s,openMotion:a,accordion:u,children:n.props.children,onItemClick:"disabled"===h?null:t.onClickItem,expandIcon:l,collapsible:h};return"string"==typeof n.type?n:e.cloneElement(n,g)},t.getItems=function(){return h(t.props.children).map(t.getNewChild)},t.setActiveKey=function(e){"activeKey"in t.props||t.setState({activeKey:e}),t.props.onChange(t.props.accordion?e[0]:e)};var i=n.activeKey,c=n.defaultActiveKey;return"activeKey"in n&&(c=i),t.state={activeKey:x(c)},t}return(0,s.Z)(o,[{key:"shouldComponentUpdate",value:function(e,n){return!y()(this.props,e)||!y()(this.state,n)}},{key:"render",value:function(){var n,r=this.props,o=r.prefixCls,i=r.className,c=r.style,a=r.accordion,u=v()((n={},(0,t.Z)(n,o,!0),(0,t.Z)(n,i,!!i),n));return e.createElement("div",{className:u,style:c,role:a?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var n={};return"activeKey"in e&&(n.activeKey=x(e.activeKey)),n}}]),o}(e.Component);P.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},P.Panel=E;var C=P,k=(P.Panel,o(37464));function A(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function N(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})),e}var I=function(e){var t,r=e.className,o=void 0===r?"":r,i=e.showArrow,c=void 0===i||i;return n().createElement(C.Panel,N(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){A(e,n,t[n])}))}return e}({},e),{className:(t="",o&&(t+=o),c||(t+=" collapse-panel-no-arrow"),t),prefixCls:"".concat(k.Z,"-collapse")}))};function L(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var D=e.isValidElement;function R(n,t){return function(n,t,r){return D(n)?e.cloneElement(n,"function"==typeof r?r(n.props||{}):r):t}(n,n,t)}function _(e,n){var t=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){L(e,n,t[n])}))}return e}({},e);return Array.isArray(n)&&n.forEach((function(e){delete t[e]})),t}var T=o(85893),M=o(97435),H=function(e){return(0,T.jsx)(M.l,Object.assign({dataName:"Right",viewBox:"0 0 24 24",path:(0,T.jsx)(T.Fragment,{children:(0,T.jsxs)("g",Object.assign({id:"Right",transform:"translate(-105 -1649)"},{children:[(0,T.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(105 1649)",fill:"none"}),(0,T.jsx)("path",{id:"icon",d:"M.933,17.867a.933.933,0,0,1-.66-1.593l7.34-7.34L.273,1.593A.933.933,0,0,1,1.593.273l8,8a.934.934,0,0,1,0,1.32l-8,8a.93.93,0,0,1-.66.273",transform:"translate(112.067 1652.067)"})]}))})},e))},K=function(){return{height:0,opacity:0}},z=function(e){return{height:e.scrollHeight,opacity:1}},F=function(e,n){return!0===(null==n?void 0:n.deadline)||"height"===n.propertyName},U={motionName:"collapse-motion-collapse",onAppearStart:K,onEnterStart:K,onAppearActive:z,onEnterActive:z,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:K,onAppearEnd:F,onEnterEnd:F,onLeaveEnd:F,motionDeadline:500};o(47380);function $(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function q(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){$(e,n,t[n])}))}return e}function B(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})),e}var V=function(e){var t,r,o,i=e.className,c=void 0===i?"":i,a=e.expandIconPosition,u=void 0===a?"left":a,s=B(q({},U),{motionAppear:!1,leavedClassName:"collapse-content-hidden"});return n().createElement(C,B(q({openMotion:s},e),{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.expandIcon,o=r?r(t):n().createElement(H,{className:"collapse-expand-svg"});return n().createElement("div",{className:"collapse-svg-box"},o)},prefixCls:"".concat(k.Z,"-collapse"),className:(o="".concat(k.W,"-collapse"),c&&(o+=" ".concat(c)),u&&(o+=" ".concat(k.W,"-collapse-svg-").concat(u)),o)}),(r=e.children,(t=r,t?Array.isArray(t)?t:[t]:[]).map((function(e,n){var t;if(null===(t=e.props)||void 0===t?void 0:t.disabled){var r=e.key||String(n),o=e.props,i=o.disabled,c=o.collapsible;return R(e,B(q({},_(e.props,["disabled"])),{key:r,collapsible:null!=c?c:i?"disabled":void 0}))}return e}))))};V.Panel=I;var W=V}(),i}()}));
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],e):"object"==typeof exports?exports.ParaUI=e(require("react"),require("react-dom")):t.ParaUI=e(t.react,t["react-dom"])}(self,(function(t,e){return function(){var n={17283:function(t,e,n){(e=n(23645)(!1)).push([t.id,".paraui-v4-collapse-box{transition:height 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;width:100%;overflow:hidden;height:0}.paraui-v4-collapse-box>.collapse-box-wrapper{display:flex;width:100%}.paraui-v4-collapse-box>.collapse-box-wrapper>.collapse-box-wrapper-inner{width:100%}.paraui-v4-collapse-box.paraui-v4-collapse-box-entered{overflow:visible}.paraui-v4-collapse-box.paraui-v4-collapse-box-hidden{visibility:hidden}",""]),t.exports=e},23645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(a=r,u=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(u),"/*# ".concat(s," */")),i=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(i).concat([o]).join("\n")}var a,u,s;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var u=0;u<t.length;u++){var s=[].concat(t[u]);r&&o[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),e.push(s))}},e}},78214:function(t,e,n){var r=n(93379),o=n(17283);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},93379:function(t,e,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function u(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},r=[],o=0;o<t.length;o++){var i=t[o],s=e.base?i[0]+e.base:i[0],c=n[s]||0,l="".concat(s," ").concat(c);n[s]=c+1;var f=u(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:m(p,e),references:1}),r.push(l)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=i(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var l,f=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function p(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=f(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function d(t,e,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var h=null,v=0;function m(t,e){var n,r,o;if(e.singleton){var i=v++;n=h||(h=c(e)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=c(e),r=d.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=s(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=u(n[r]);a[o].references--}for(var i=s(t,e),c=0;c<n.length;c++){var l=u(n[c]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},37464:function(t,e,n){"use strict";n.d(e,{W:function(){return r}});var r="paraui-v4"},8156:function(e){"use strict";e.exports=t},47111:function(t){"use strict";t.exports=e}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,exports:{}};return n[t](i,i.exports,o),i.exports}o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nc=void 0;var i={};return function(){"use strict";o.r(i),o.d(i,{default:function(){return C}});var t=o(8156),e=o.n(t);function n(t,e){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},n(t,e)}var r=o(47111),a=o.n(r),u=!1,s=e().createContext(null),c="unmounted",l="exited",f="entering",p="entered",d="exiting",h=function(t){var r,o;function i(e,n){var r;r=t.call(this,e,n)||this;var o,i=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?i?(o=l,r.appearStatus=f):o=p:o=e.unmountOnExit||e.mountOnEnter?c:l,r.state={status:o},r.nextCallback=null,r}o=t,(r=i).prototype=Object.create(o.prototype),r.prototype.constructor=r,n(r,o),i.getDerivedStateFromProps=function(t,e){return t.in&&e.status===c?{status:l}:null};var h=i.prototype;return h.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},h.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==p&&(e=f):n!==f&&n!==p||(e=d)}this.updateStatus(!1,e)},h.componentWillUnmount=function(){this.cancelNextCallback()},h.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!=typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},h.updateStatus=function(t,e){void 0===t&&(t=!1),null!==e?(this.cancelNextCallback(),e===f?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&this.state.status===l&&this.setState({status:c})},h.performEnter=function(t){var e=this,n=this.props.enter,r=this.context?this.context.isMounting:t,o=this.props.nodeRef?[r]:[a().findDOMNode(this),r],i=o[0],s=o[1],c=this.getTimeouts(),l=r?c.appear:c.enter;!t&&!n||u?this.safeSetState({status:p},(function(){e.props.onEntered(i)})):(this.props.onEnter(i,s),this.safeSetState({status:f},(function(){e.props.onEntering(i,s),e.onTransitionEnd(l,(function(){e.safeSetState({status:p},(function(){e.props.onEntered(i,s)}))}))})))},h.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a().findDOMNode(this);e&&!u?(this.props.onExit(r),this.safeSetState({status:d},(function(){t.props.onExiting(r),t.onTransitionEnd(n.exit,(function(){t.safeSetState({status:l},(function(){t.props.onExited(r)}))}))}))):this.safeSetState({status:l},(function(){t.props.onExited(r)}))},h.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},h.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},h.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},h.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:a().findDOMNode(this),r=null==t&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],u=o[1];this.props.addEndListener(i,u)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},h.render=function(){var t=this.state.status;if(t===c)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return e().createElement(s.Provider,{value:null},"function"==typeof r?r(t,o):e().cloneElement(e().Children.only(r),o))},i}(e().Component);function v(){}h.contextType=s,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},h.UNMOUNTED=c,h.EXITED=l,h.ENTERING=f,h.ENTERED=p,h.EXITING=d;var m=h;function b(t,e){var n=t.timeout,r=t.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"==typeof n?n:n[e.mode]||0,delay:o.transitionDelay}}function x(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}var y=o(37464);o(78214);function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function S(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){g(t,e,n[e])}))}return t}function O(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return E(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var C=function(n){var r=n.className,o=n.style,i=n.in,a=n.collapsedHeight,u=void 0===a?"0px":a,s=n.timeout,c=void 0===s?"auto":s,l=n.unmountOnExit,f=n.children,p=(0,t.useRef)(null),d=(0,t.useRef)(null),h=(0,t.useRef)(null),v=(0,t.useRef)(null),E="number"==typeof u?"".concat(u,"px"):u,g=O((0,t.useState)(!1),2),C=g[0],w=g[1];(0,t.useEffect)((function(){return function(){clearTimeout(p.current)}}),[]),(0,t.useEffect)((function(){w(i)}),[i]);var j=function(t){return function(e){t&&t(e)}},T=j((function(t){t.style.height=E})),N=j((function(t){var e=h.current?h.current.clientHeight:0,n=b({style:o,timeout:c},{mode:"enter"}).duration;if("auto"===c){var r=x(e);t.style.transitionDuration="".concat(r,"ms"),v.current=r}else t.style.transitionDuration="string"==typeof n?n:"".concat(n,"ms");t.style.height="".concat(e,"px")})),k=j((function(t){t.style.height="auto"})),M=j((function(t){var e=h.current?h.current.clientHeight:0;t.style.height="".concat(e,"px")})),R=j((function(t){var e=h.current?h.current.clientHeight:0,n=b({style:o,timeout:c},{mode:"exit"}).duration;if("auto"===c){var r=x(e);t.style.transitionDuration="".concat(r,"ms"),v.current=r}else t.style.transitionDuration="string"==typeof n?n:"".concat(n,"ms");t.style.height=E})),D=function(t){var e=y.W+"-collapse-box";return r&&(e+=" "+r),"entered"===t&&(e+=" ".concat(y.W,"-collapse-box-entered")),"exited"!==t||C||"0px"!==E||(e+=" ".concat(y.W,"-collapse-box-hidden")),e};return e().createElement(m,{in:C,unmountOnExit:l,onEnter:T,onEntered:k,onEntering:N,onExit:M,onExiting:R,timeout:"auto"===c?void 0:c,addEndListener:function(t,e){p.current=setTimeout(e,v.current||0)}},(function(t,n){return e().createElement("div",S({className:D(t),style:S({minHeight:E},o),ref:d},n),e().createElement("div",{className:"collapse-box-wrapper",ref:h},e().createElement("div",{className:"collapse-box-wrapper-inner"},f)))}))}}(),i}()}));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],e):"object"==typeof exports?exports.ParaUI=e(require("react"),require("react-dom")):t.ParaUI=e(t.react,t["react-dom"])}(self,(function(t,e){return function(){var n={17283:function(t,e,n){(e=n(23645)(!1)).push([t.id,".paraui-v4-collapse-box{transition:height 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;width:100%;overflow:hidden;height:0}.paraui-v4-collapse-box>.collapse-box-wrapper{display:flex;width:100%}.paraui-v4-collapse-box>.collapse-box-wrapper>.collapse-box-wrapper-inner{width:100%}.paraui-v4-collapse-box.paraui-v4-collapse-box-entered{overflow:visible}.paraui-v4-collapse-box.paraui-v4-collapse-box-hidden{visibility:hidden}",""]),t.exports=e},23645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(a=r,u=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(u),"/*# ".concat(s," */")),i=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(i).concat([o]).join("\n")}var a,u,s;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var u=0;u<t.length;u++){var s=[].concat(t[u]);r&&o[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),e.push(s))}},e}},78214:function(t,e,n){var r=n(93379),o=n(17283);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},93379:function(t,e,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function u(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},r=[],o=0;o<t.length;o++){var i=t[o],s=e.base?i[0]+e.base:i[0],c=n[s]||0,l="".concat(s," ").concat(c);n[s]=c+1;var f=u(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:m(p,e),references:1}),r.push(l)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=i(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var l,f=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function p(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=f(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function d(t,e,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var h=null,v=0;function m(t,e){var n,r,o;if(e.singleton){var i=v++;n=h||(h=c(e)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=c(e),r=d.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=s(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=u(n[r]);a[o].references--}for(var i=s(t,e),c=0;c<n.length;c++){var l=u(n[c]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},37464:function(t,e,n){"use strict";n.d(e,{W:function(){return r}});var r="paraui-v4"},8156:function(e){"use strict";e.exports=t},47111:function(t){"use strict";t.exports=e}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,exports:{}};return n[t](i,i.exports,o),i.exports}o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nc=void 0;var i={};return function(){"use strict";o.r(i),o.d(i,{default:function(){return C}});var t=o(8156),e=o.n(t);function n(t,e){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},n(t,e)}var r=o(47111),a=o.n(r),u=!1,s=e().createContext(null),c="unmounted",l="exited",f="entering",p="entered",d="exiting",h=function(t){var r,o;function i(e,n){var r;r=t.call(this,e,n)||this;var o,i=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?i?(o=l,r.appearStatus=f):o=p:o=e.unmountOnExit||e.mountOnEnter?c:l,r.state={status:o},r.nextCallback=null,r}o=t,(r=i).prototype=Object.create(o.prototype),r.prototype.constructor=r,n(r,o),i.getDerivedStateFromProps=function(t,e){return t.in&&e.status===c?{status:l}:null};var h=i.prototype;return h.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},h.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==p&&(e=f):n!==f&&n!==p||(e=d)}this.updateStatus(!1,e)},h.componentWillUnmount=function(){this.cancelNextCallback()},h.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!=typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},h.updateStatus=function(t,e){void 0===t&&(t=!1),null!==e?(this.cancelNextCallback(),e===f?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&this.state.status===l&&this.setState({status:c})},h.performEnter=function(t){var e=this,n=this.props.enter,r=this.context?this.context.isMounting:t,o=this.props.nodeRef?[r]:[a().findDOMNode(this),r],i=o[0],s=o[1],c=this.getTimeouts(),l=r?c.appear:c.enter;!t&&!n||u?this.safeSetState({status:p},(function(){e.props.onEntered(i)})):(this.props.onEnter(i,s),this.safeSetState({status:f},(function(){e.props.onEntering(i,s),e.onTransitionEnd(l,(function(){e.safeSetState({status:p},(function(){e.props.onEntered(i,s)}))}))})))},h.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a().findDOMNode(this);e&&!u?(this.props.onExit(r),this.safeSetState({status:d},(function(){t.props.onExiting(r),t.onTransitionEnd(n.exit,(function(){t.safeSetState({status:l},(function(){t.props.onExited(r)}))}))}))):this.safeSetState({status:l},(function(){t.props.onExited(r)}))},h.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},h.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},h.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},h.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:a().findDOMNode(this),r=null==t&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],u=o[1];this.props.addEndListener(i,u)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},h.render=function(){var t=this.state.status;if(t===c)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return e().createElement(s.Provider,{value:null},"function"==typeof r?r(t,o):e().cloneElement(e().Children.only(r),o))},i}(e().Component);function v(){}h.contextType=s,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},h.UNMOUNTED=c,h.EXITED=l,h.ENTERING=f,h.ENTERED=p,h.EXITING=d;var m=h;function b(t,e){var n=t.timeout,r=t.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"==typeof n?n:n[e.mode]||0,delay:o.transitionDelay}}function x(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}var y=o(37464);o(78214);function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function S(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){g(t,e,n[e])}))}return t}function O(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return E(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var C=function(n){var r=n.className,o=n.style,i=n.in,a=n.collapsedHeight,u=void 0===a?"0px":a,s=n.timeout,c=void 0===s?"auto":s,l=n.unmountOnExit,f=n.children,p=(0,t.useRef)(null),d=(0,t.useRef)(null),h=(0,t.useRef)(null),v=(0,t.useRef)(null),E="number"==typeof u?"".concat(u,"px"):u,g=O((0,t.useState)(!1),2),C=g[0],w=g[1];(0,t.useEffect)((function(){return function(){clearTimeout(p.current)}}),[]),(0,t.useEffect)((function(){w(i)}),[i]);var j=function(t){var e="".concat(y.W,"-collapse-box");return r&&(e+=" ".concat(r)),"entered"===t&&(e+=" ".concat(y.W,"-collapse-box-entered")),"exited"!==t||C||"0px"!==E||(e+=" ".concat(y.W,"-collapse-box-hidden")),e};return e().createElement(m,{in:C,unmountOnExit:l,onEnter:function(t){t.style.height=E},onEntered:function(t){t.style.height="auto"},onEntering:function(t){var e=h.current?h.current.clientHeight:0,n=b({style:o,timeout:c},{mode:"enter"}).duration;if("auto"===c){var r=x(e);t.style.transitionDuration="".concat(r,"ms"),v.current=r}else t.style.transitionDuration="string"==typeof n?n:"".concat(n,"ms");t.style.height="".concat(e,"px")},onExit:function(t){var e=h.current?h.current.clientHeight:0;t.style.height="".concat(e,"px")},onExiting:function(t){var e=h.current?h.current.clientHeight:0,n=b({style:o,timeout:c},{mode:"exit"}).duration;if("auto"===c){var r=x(e);t.style.transitionDuration="".concat(r,"ms"),v.current=r}else t.style.transitionDuration="string"==typeof n?n:"".concat(n,"ms");t.style.height=E},timeout:"auto"===c?void 0:c,addEndListener:function(t,e){p.current=setTimeout(e,v.current||0)}},(function(t,n){return e().createElement("div",S({className:j(t),style:S({minHeight:E},o),ref:d},n),e().createElement("div",{className:"collapse-box-wrapper",ref:h},e().createElement("div",{className:"collapse-box-wrapper-inner"},f)))}))}}(),i}()}));
@@ -1,9 +1,9 @@
1
- !function(a,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ParaUI=t(require("react")):a.ParaUI=t(a.react)}(self,(function(a){return function(){var t={59116:function(a,t,l){(t=l(23645)(!1)).push([a.id,'.paraui-v4-collapse-layout{height:100%;width:100%;position:relative;overflow:hidden}.paraui-v4-collapse-layout .collapse-layout-icon-transform-top{transform:rotate(90deg)}.paraui-v4-collapse-layout .collapse-layout-icon-transform-bottom{transform:rotate(-90deg)}.paraui-v4-collapse-layout .collapse-layout-icon-transform-right{transform:rotate(180deg)}.paraui-v4-collapse-layout .collapse-layout-display{overflow:hidden}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click{position:absolute;z-index:1}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click span,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click span,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click span,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click span{font-size:12px;font-weight:400;text-align:center;color:#2e65e6}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .switch-btn{z-index:11}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .drag-line{display:none;cursor:no-drop;z-index:10;position:absolute}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .drag-line:after{position:absolute;content:"";background:#eaecf1}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move{user-select:none !important}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move .collapse-layout-click{transition:none !important}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move .collapse-layout-click .switch-btn{transition:none !important}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move .collapse-layout-click .drag-line:after{background:#2e65e6}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move .collapse-layout-display{transition:none !important}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move .collapse-layout-display .collapse-layout-display-shadow,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move .collapse-layout-display .collapse-layout-display-shadow,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move .collapse-layout-display .collapse-layout-display-shadow,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move .collapse-layout-display .collapse-layout-display-shadow{transition:none !important}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move .collapse-layout-default,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move .collapse-layout-default,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move .collapse-layout-default,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move .collapse-layout-default{transition:none !important}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-true .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-true .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-true .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-true .collapse-layout-click .drag-line{display:inline-block}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .switch-btn{right:-1px;position:absolute;top:50%;left:"";width:20px;height:70px;background:#f7f8fa;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;transition-property:right;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms;border-radius:4px 0 0 4px;border-right:1px solid #2e65e6}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-display-shadow{transition-property:margin-right;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .switch-btn{position:absolute;top:50%;left:0;width:20px;height:70px;background:#f7f8fa;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;transition-property:left;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms;border-left:1px solid #2e65e6;border-radius:0 4px 4px 0}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-display-shadow{transition-property:margin-left;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left>div,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right>div{display:inline-block;vertical-align:middle;height:100%;position:relative}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-display-shadow,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-display-shadow{height:100%}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-default,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-default{transition:width}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click{flex-direction:column}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .switch-btn{transform:translateY(-50%)}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .drag-line{width:10px;height:100%;left:100%;top:0;transform:translateX(-50%);cursor:col-resize}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .drag-line:after{left:5px;width:1px;height:100%}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .switch-btn{position:absolute;top:0;left:50%;width:70px;height:20px;background:#f7f8fa;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;transition-property:top;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms;border-top:1px solid #2e65e6;border-radius:0 0 4px 4px}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-display-shadow{transition-property:margin-top}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .switch-btn{position:absolute;top:"";left:50%;width:70px;height:20px;background:#f7f8fa;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;transition-property:bottom;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms;bottom:-1px;border-bottom:1px solid #2e65e6;border-radius:4px 4px 0 0}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-display-shadow{transition-property:margin-bottom;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top>div,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom>div{display:block;width:100%;position:relative}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-default,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-default{transition-property:height;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-display-shadow,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-display-shadow{width:100%}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .switch-btn{transform:translateX(-50%)}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .drag-line{width:100%;height:10px;left:0;top:100%;transform:translateY(-50%);cursor:row-resize}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .drag-line:after{top:5px;height:1px;width:100%}',""]),a.exports=t},23645:function(a){"use strict";a.exports=function(a){var t=[];return t.toString=function(){return this.map((function(t){var l=function(a,t){var l=a[1]||"",o=a[3];if(!o)return l;if(t&&"function"==typeof btoa){var e=(i=o,n=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),"/*# ".concat(c," */")),r=o.sources.map((function(a){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(a," */")}));return[l].concat(r).concat([e]).join("\n")}var i,n,c;return[l].join("\n")}(t,a);return t[2]?"@media ".concat(t[2]," {").concat(l,"}"):l})).join("")},t.i=function(a,l,o){"string"==typeof a&&(a=[[null,a,""]]);var e={};if(o)for(var r=0;r<this.length;r++){var i=this[r][0];null!=i&&(e[i]=!0)}for(var n=0;n<a.length;n++){var c=[].concat(a[n]);o&&e[c[0]]||(l&&(c[2]?c[2]="".concat(l," and ").concat(c[2]):c[2]=l),t.push(c))}},t}},27418:function(a){"use strict";
1
+ !function(a,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ParaUI=t(require("react")):a.ParaUI=t(a.react)}(self,(function(a){return function(){var t={59116:function(a,t,l){(t=l(23645)(!1)).push([a.id,'.paraui-v4-collapse-layout{height:100%;width:100%;position:relative;overflow:hidden}.paraui-v4-collapse-layout .collapse-layout-icon-transform-top{transform:rotate(90deg)}.paraui-v4-collapse-layout .collapse-layout-icon-transform-bottom{transform:rotate(-90deg)}.paraui-v4-collapse-layout .collapse-layout-icon-transform-right{transform:rotate(180deg)}.paraui-v4-collapse-layout .collapse-layout-display{overflow:hidden}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click{position:absolute;z-index:1}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click span,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click span,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click span,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click span{font-size:12px;font-weight:400;text-align:center;color:#2e65e6}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .switch-btn{z-index:11}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .drag-line{display:none;cursor:no-drop;z-index:10;position:absolute}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .drag-line:after{position:absolute;content:"";background:#eaecf1}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move{user-select:none !important}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move .collapse-layout-click{transition:none !important}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move .collapse-layout-click .switch-btn{transition:none !important}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move .collapse-layout-click .drag-line:after{background:#2e65e6}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move .collapse-layout-display{transition:none !important}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move .collapse-layout-display .collapse-layout-display-shadow,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move .collapse-layout-display .collapse-layout-display-shadow,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move .collapse-layout-display .collapse-layout-display-shadow,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move .collapse-layout-display .collapse-layout-display-shadow{transition:none !important}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-move .collapse-layout-default,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-move .collapse-layout-default,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-move .collapse-layout-default,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-move .collapse-layout-default{transition:none !important}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left.paraui-v4-collapse-layout-true .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right.paraui-v4-collapse-layout-true .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top.paraui-v4-collapse-layout-true .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom.paraui-v4-collapse-layout-true .collapse-layout-click .drag-line{display:inline-block}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .switch-btn{right:-1px;position:absolute;top:50%;left:"";width:20px;height:70px;background:#f7f8fa;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;transition-property:right;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms;border-radius:4px 0 0 4px;border-right:1px solid #2e65e6}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-display-shadow{transition-property:margin-right;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .switch-btn{position:absolute;top:50%;left:0;width:20px;height:70px;background:#f7f8fa;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;transition-property:left;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms;border-left:1px solid #2e65e6;border-radius:0 4px 4px 0}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-display-shadow{transition-property:margin-left;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left>div,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right>div{display:inline-block;vertical-align:middle;height:100%;position:relative}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-display-shadow,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-display-shadow{height:100%}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-default,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-default{transition:width}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click{flex-direction:column}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .switch-btn{transform:translateY(-50%)}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .drag-line{width:10px;height:100%;left:100%;top:0;transform:translateX(-50%);cursor:col-resize}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-left .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-right .collapse-layout-click .drag-line:after{left:5px;width:1px;height:100%}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .switch-btn{position:absolute;top:0;left:50%;width:70px;height:20px;background:#f7f8fa;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;transition-property:top;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms;border-top:1px solid #2e65e6;border-radius:0 0 4px 4px}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-display-shadow{transition-property:margin-top}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .switch-btn{position:absolute;top:"";left:50%;width:70px;height:20px;background:#f7f8fa;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;transition-property:bottom;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms;bottom:-1px;border-bottom:1px solid #2e65e6;border-radius:4px 4px 0 0}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-display-shadow{transition-property:margin-bottom;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top>div,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom>div{display:block;width:100%;position:relative}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-default,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-display,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-default{transition-property:height;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-delay:0ms}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-display-shadow,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-display-shadow{width:100%}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .switch-btn,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .switch-btn{transform:translateX(-50%)}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .drag-line,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .drag-line{width:100%;height:10px;left:0;top:100%;transform:translateY(-50%);cursor:row-resize}.paraui-v4-collapse-layout.paraui-v4-collapse-layout-top .collapse-layout-click .drag-line:after,.paraui-v4-collapse-layout.paraui-v4-collapse-layout-bottom .collapse-layout-click .drag-line:after{top:5px;height:1px;width:100%}',""]),a.exports=t},23645:function(a){"use strict";a.exports=function(a){var t=[];return t.toString=function(){return this.map((function(t){var l=function(a,t){var l=a[1]||"",o=a[3];if(!o)return l;if(t&&"function"==typeof btoa){var e=(i=o,c=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(n," */")),r=o.sources.map((function(a){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(a," */")}));return[l].concat(r).concat([e]).join("\n")}var i,c,n;return[l].join("\n")}(t,a);return t[2]?"@media ".concat(t[2]," {").concat(l,"}"):l})).join("")},t.i=function(a,l,o){"string"==typeof a&&(a=[[null,a,""]]);var e={};if(o)for(var r=0;r<this.length;r++){var i=this[r][0];null!=i&&(e[i]=!0)}for(var c=0;c<a.length;c++){var n=[].concat(a[c]);o&&e[n[0]]||(l&&(n[2]?n[2]="".concat(l," and ").concat(n[2]):n[2]=l),t.push(n))}},t}},27418:function(a){"use strict";
2
2
  /*
3
3
  object-assign
4
4
  (c) Sindre Sorhus
5
5
  @license MIT
6
- */var t=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;a.exports=function(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de","5"===Object.getOwnPropertyNames(a)[0])return!1;for(var t={},l=0;l<10;l++)t["_"+String.fromCharCode(l)]=l;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(a){return t[a]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(a){o[a]=a})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(a){return!1}}()?Object.assign:function(a,e){for(var r,i,n=function(a){if(null==a)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}(a),c=1;c<arguments.length;c++){for(var u in r=Object(arguments[c]))l.call(r,u)&&(n[u]=r[u]);if(t){i=t(r);for(var p=0;p<i.length;p++)o.call(r,i[p])&&(n[i[p]]=r[i[p]])}}return n}},75251:function(a,t,l){"use strict";
6
+ */var t=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;a.exports=function(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de","5"===Object.getOwnPropertyNames(a)[0])return!1;for(var t={},l=0;l<10;l++)t["_"+String.fromCharCode(l)]=l;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(a){return t[a]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(a){o[a]=a})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(a){return!1}}()?Object.assign:function(a,e){for(var r,i,c=function(a){if(null==a)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}(a),n=1;n<arguments.length;n++){for(var u in r=Object(arguments[n]))l.call(r,u)&&(c[u]=r[u]);if(t){i=t(r);for(var p=0;p<i.length;p++)o.call(r,i[p])&&(c[i[p]]=r[i[p]])}}return c}},75251:function(a,t,l){"use strict";
7
7
  /** @license React v17.0.2
8
8
  * react-jsx-runtime.production.min.js
9
9
  *
@@ -11,7 +11,7 @@ object-assign
11
11
  *
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
- */l(27418);var o=l(8156),e=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var r=Symbol.for;e=r("react.element"),t.Fragment=r("react.fragment")}var i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function u(a,t,l){var o,r={},u=null,p=null;for(o in void 0!==l&&(u=""+l),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(p=t.ref),t)n.call(t,o)&&!c.hasOwnProperty(o)&&(r[o]=t[o]);if(a&&a.defaultProps)for(o in t=a.defaultProps)void 0===r[o]&&(r[o]=t[o]);return{$$typeof:e,type:a,key:u,ref:p,props:r,_owner:i.current}}t.jsx=u,t.jsxs=u},85893:function(a,t,l){"use strict";a.exports=l(75251)},14944:function(a,t,l){var o=l(93379),e=l(59116);"string"==typeof(e=e.__esModule?e.default:e)&&(e=[[a.id,e,""]]);var r={insert:"head",singleton:!1};o(e,r);a.exports=e.locals||{}},93379:function(a,t,l){"use strict";var o,e=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var a={};return function(t){if(void 0===a[t]){var l=document.querySelector(t);if(window.HTMLIFrameElement&&l instanceof window.HTMLIFrameElement)try{l=l.contentDocument.head}catch(a){l=null}a[t]=l}return a[t]}}(),i=[];function n(a){for(var t=-1,l=0;l<i.length;l++)if(i[l].identifier===a){t=l;break}return t}function c(a,t){for(var l={},o=[],e=0;e<a.length;e++){var r=a[e],c=t.base?r[0]+t.base:r[0],u=l[c]||0,p="".concat(c," ").concat(u);l[c]=u+1;var s=n(p),y={css:r[1],media:r[2],sourceMap:r[3]};-1!==s?(i[s].references++,i[s].updater(y)):i.push({identifier:p,updater:m(y,t),references:1}),o.push(p)}return o}function u(a){var t=document.createElement("style"),o=a.attributes||{};if(void 0===o.nonce){var e=l.nc;e&&(o.nonce=e)}if(Object.keys(o).forEach((function(a){t.setAttribute(a,o[a])})),"function"==typeof a.insert)a.insert(t);else{var i=r(a.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var p,s=(p=[],function(a,t){return p[a]=t,p.filter(Boolean).join("\n")});function y(a,t,l,o){var e=l?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(a.styleSheet)a.styleSheet.cssText=s(t,e);else{var r=document.createTextNode(e),i=a.childNodes;i[t]&&a.removeChild(i[t]),i.length?a.insertBefore(r,i[t]):a.appendChild(r)}}function v(a,t,l){var o=l.css,e=l.media,r=l.sourceMap;if(e?a.setAttribute("media",e):a.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),a.styleSheet)a.styleSheet.cssText=o;else{for(;a.firstChild;)a.removeChild(a.firstChild);a.appendChild(document.createTextNode(o))}}var f=null,d=0;function m(a,t){var l,o,e;if(t.singleton){var r=d++;l=f||(f=u(t)),o=y.bind(null,l,r,!1),e=y.bind(null,l,r,!0)}else l=u(t),o=v.bind(null,l,t),e=function(){!function(a){if(null===a.parentNode)return!1;a.parentNode.removeChild(a)}(l)};return o(a),function(t){if(t){if(t.css===a.css&&t.media===a.media&&t.sourceMap===a.sourceMap)return;o(a=t)}else e()}}a.exports=function(a,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=e());var l=c(a=a||[],t);return function(a){if(a=a||[],"[object Array]"===Object.prototype.toString.call(a)){for(var o=0;o<l.length;o++){var e=n(l[o]);i[e].references--}for(var r=c(a,t),u=0;u<l.length;u++){var p=n(l[u]);0===i[p].references&&(i[p].updater(),i.splice(p,1))}l=r}}}},8156:function(t){"use strict";t.exports=a}},l={};function o(a){var e=l[a];if(void 0!==e)return e.exports;var r=l[a]={id:a,exports:{}};return t[a](r,r.exports,o),r.exports}o.n=function(a){var t=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(t,{a:t}),t},o.d=function(a,t){for(var l in t)o.o(t,l)&&!o.o(a,l)&&Object.defineProperty(a,l,{enumerable:!0,get:t[l]})},o.o=function(a,t){return Object.prototype.hasOwnProperty.call(a,t)},o.r=function(a){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.nc=void 0;var e={};return function(){"use strict";o.r(e),o.d(e,{default:function(){return f}});var a=o(8156),t=o.n(a),l=o(85893);!function(a,t){void 0===t&&(t={});var l=t.insertAt;if(a&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style");e.type="text/css","top"===l&&o.firstChild?o.insertBefore(e,o.firstChild):o.appendChild(e),e.styleSheet?e.styleSheet.cssText=a:e.appendChild(document.createTextNode(a))}}('@charset "UTF-8";\n/**\n* @author Hanz\n* @date 2021/8/25 下午3:16\n* @description icons scss\n*/\n.paraui-v4-icon {\n width: 1em;\n height: 1em;\n fill: currentColor;\n display: inline-block;\n user-select: none;\n flex-shrink: 0;\n}\n.paraui-v4-icon-primary {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-icon-secondary {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-icon-thirdary {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-icon-info {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-icon-warn {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-icon-success {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-icon-error {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-small {\n font-size: 16px;\n}\n.paraui-v4-icon-medium {\n font-size: 18px;\n}\n.paraui-v4-icon-large {\n font-size: 20px;\n}');var r=function(a){var t,o,e=a.path,r=a.className,i=a.color,n=void 0===i?"info":i,c=a.size,u=void 0===c?"small":c,p=a.dataName,s=void 0===p?"":p,y=a.style,v=
14
+ */l(27418);var o=l(8156),e=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var r=Symbol.for;e=r("react.element"),t.Fragment=r("react.fragment")}var i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,n={key:!0,ref:!0,__self:!0,__source:!0};function u(a,t,l){var o,r={},u=null,p=null;for(o in void 0!==l&&(u=""+l),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(p=t.ref),t)c.call(t,o)&&!n.hasOwnProperty(o)&&(r[o]=t[o]);if(a&&a.defaultProps)for(o in t=a.defaultProps)void 0===r[o]&&(r[o]=t[o]);return{$$typeof:e,type:a,key:u,ref:p,props:r,_owner:i.current}}t.jsx=u,t.jsxs=u},85893:function(a,t,l){"use strict";a.exports=l(75251)},14944:function(a,t,l){var o=l(93379),e=l(59116);"string"==typeof(e=e.__esModule?e.default:e)&&(e=[[a.id,e,""]]);var r={insert:"head",singleton:!1};o(e,r);a.exports=e.locals||{}},93379:function(a,t,l){"use strict";var o,e=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var a={};return function(t){if(void 0===a[t]){var l=document.querySelector(t);if(window.HTMLIFrameElement&&l instanceof window.HTMLIFrameElement)try{l=l.contentDocument.head}catch(a){l=null}a[t]=l}return a[t]}}(),i=[];function c(a){for(var t=-1,l=0;l<i.length;l++)if(i[l].identifier===a){t=l;break}return t}function n(a,t){for(var l={},o=[],e=0;e<a.length;e++){var r=a[e],n=t.base?r[0]+t.base:r[0],u=l[n]||0,p="".concat(n," ").concat(u);l[n]=u+1;var s=c(p),y={css:r[1],media:r[2],sourceMap:r[3]};-1!==s?(i[s].references++,i[s].updater(y)):i.push({identifier:p,updater:m(y,t),references:1}),o.push(p)}return o}function u(a){var t=document.createElement("style"),o=a.attributes||{};if(void 0===o.nonce){var e=l.nc;e&&(o.nonce=e)}if(Object.keys(o).forEach((function(a){t.setAttribute(a,o[a])})),"function"==typeof a.insert)a.insert(t);else{var i=r(a.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var p,s=(p=[],function(a,t){return p[a]=t,p.filter(Boolean).join("\n")});function y(a,t,l,o){var e=l?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(a.styleSheet)a.styleSheet.cssText=s(t,e);else{var r=document.createTextNode(e),i=a.childNodes;i[t]&&a.removeChild(i[t]),i.length?a.insertBefore(r,i[t]):a.appendChild(r)}}function v(a,t,l){var o=l.css,e=l.media,r=l.sourceMap;if(e?a.setAttribute("media",e):a.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),a.styleSheet)a.styleSheet.cssText=o;else{for(;a.firstChild;)a.removeChild(a.firstChild);a.appendChild(document.createTextNode(o))}}var f=null,d=0;function m(a,t){var l,o,e;if(t.singleton){var r=d++;l=f||(f=u(t)),o=y.bind(null,l,r,!1),e=y.bind(null,l,r,!0)}else l=u(t),o=v.bind(null,l,t),e=function(){!function(a){if(null===a.parentNode)return!1;a.parentNode.removeChild(a)}(l)};return o(a),function(t){if(t){if(t.css===a.css&&t.media===a.media&&t.sourceMap===a.sourceMap)return;o(a=t)}else e()}}a.exports=function(a,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=e());var l=n(a=a||[],t);return function(a){if(a=a||[],"[object Array]"===Object.prototype.toString.call(a)){for(var o=0;o<l.length;o++){var e=c(l[o]);i[e].references--}for(var r=n(a,t),u=0;u<l.length;u++){var p=c(l[u]);0===i[p].references&&(i[p].updater(),i.splice(p,1))}l=r}}}},8156:function(t){"use strict";t.exports=a}},l={};function o(a){var e=l[a];if(void 0!==e)return e.exports;var r=l[a]={id:a,exports:{}};return t[a](r,r.exports,o),r.exports}o.n=function(a){var t=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(t,{a:t}),t},o.d=function(a,t){for(var l in t)o.o(t,l)&&!o.o(a,l)&&Object.defineProperty(a,l,{enumerable:!0,get:t[l]})},o.o=function(a,t){return Object.prototype.hasOwnProperty.call(a,t)},o.r=function(a){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.nc=void 0;var e={};return function(){"use strict";o.r(e),o.d(e,{default:function(){return f}});var a=o(8156),t=o.n(a),l=o(85893);!function(a,t){void 0===t&&(t={});var l=t.insertAt;if(a&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style");e.type="text/css","top"===l&&o.firstChild?o.insertBefore(e,o.firstChild):o.appendChild(e),e.styleSheet?e.styleSheet.cssText=a:e.appendChild(document.createTextNode(a))}}('@charset "UTF-8";\n/**\n* @author Hanz\n* @date 2021/8/25 下午3:16\n* @description icons scss\n*/\n.paraui-v4-icon {\n width: 1em;\n height: 1em;\n fill: currentColor;\n display: inline-block;\n user-select: none;\n flex-shrink: 0;\n}\n.paraui-v4-icon-primary {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-icon-secondary {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-icon-thirdary {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-icon-info {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-icon-warn {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-icon-success {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-icon-error {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-small {\n font-size: 16px;\n}\n.paraui-v4-icon-medium {\n font-size: 18px;\n}\n.paraui-v4-icon-large {\n font-size: 20px;\n}');var r=function(a){var t,o,e=a.path,r=a.className,i=a.color,c=void 0===i?"info":i,n=a.size,u=void 0===n?"small":n,p=a.dataName,s=void 0===p?"":p,y=a.style,v=
15
15
  /*! *****************************************************************************
16
16
  Copyright (c) Microsoft Corporation.
17
17
 
@@ -26,4 +26,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
26
26
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
27
27
  PERFORMANCE OF THIS SOFTWARE.
28
28
  ***************************************************************************** */
29
- function(a,t){var l={};for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&t.indexOf(o)<0&&(l[o]=a[o]);if(null!=a&&"function"==typeof Object.getOwnPropertySymbols){var e=0;for(o=Object.getOwnPropertySymbols(a);e<o.length;e++)t.indexOf(o[e])<0&&Object.prototype.propertyIsEnumerable.call(a,o[e])&&(l[o[e]]=a[o[e]])}return l}(a,["path","className","color","size","dataName","style"]),f="paraui-v4",d="primary"===n||"secondary"===n||"info"===n||"success"===n||"warn"===n||"error"===n;return(0,l.jsx)("svg",Object.assign({className:(o="".concat(f,"-icon"),o+=" svg-icon",r&&(o+=" "+r),d&&(o+=" ".concat(f,"-icon-").concat(n)),u&&(o+=" ".concat(f,"-icon-").concat(u)),o),viewBox:"0 0 1024 1024","data-name":s,style:(t=Object.assign({},y),n&&!d&&(t.color=n),t)},v,{children:e}))},i=function(a){return(0,l.jsx)(r,Object.assign({dataName:"DoubleLeft",viewBox:"0 0 24 24",path:(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("g",Object.assign({id:"DoubleLeft",transform:"translate(-179 -1447)"},{children:[(0,l.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(179 1447)",fill:"none"}),(0,l.jsx)("path",{id:"icon",d:"M14.5,16.566l-7.6-7.6a.8.8,0,0,1,0-1.132l7.6-7.6a.8.8,0,0,1,1.131,1.129L8.6,8.4l7.034,7.034A.8.8,0,1,1,14.5,16.566Zm-6.667,0-7.6-7.6a.8.8,0,0,1,0-1.132l7.6-7.6A.8.8,0,0,1,8.966,1.364L1.93,8.4l7.035,7.034a.8.8,0,1,1-1.133,1.131Z",transform:"translate(183.067 1450.599)"})]}))})},a))},n=function(a){return(0,l.jsx)(r,Object.assign({dataName:"DoubleRight",viewBox:"0 0 24 24",path:(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("g",Object.assign({id:"DoubleRight",transform:"translate(-179 -1521)"},{children:[(0,l.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(179 1521)",fill:"none"}),(0,l.jsx)("path",{id:"icon",d:"M14.5.235l-7.6,7.6a.8.8,0,0,0,0,1.132l7.6,7.6a.8.8,0,0,0,1.132-1.129L8.6,8.4l7.034-7.034A.8.8,0,1,0,14.5.235Zm-6.667,0-7.6,7.6a.8.8,0,0,0,0,1.132l7.6,7.6a.8.8,0,0,0,1.133-1.129L1.931,8.4,8.966,1.366A.8.8,0,1,0,7.833.235Z",transform:"translate(198.933 1541.4) rotate(180)"})]}))})},a))},c="paraui-v4";function u(a){var t,l,o="";if("string"==typeof a||"number"==typeof a)o+=a;else if("object"==typeof a)if(Array.isArray(a))for(t=0;t<a.length;t++)a[t]&&(l=u(a[t]))&&(o&&(o+=" "),o+=l);else for(t in a)a[t]&&(o&&(o+=" "),o+=t);return o}function p(){for(var a,t,l=0,o="";l<arguments.length;)(a=arguments[l++])&&(t=u(a))&&(o&&(o+=" "),o+=t);return o}o(14944);function s(a,t){(null==t||t>a.length)&&(t=a.length);for(var l=0,o=new Array(t);l<t;l++)o[l]=a[l];return o}function y(a,t,l){return t in a?Object.defineProperty(a,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[t]=l,a}function v(a,t){return function(a){if(Array.isArray(a))return a}(a)||function(a,t){var l=null==a?null:"undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(null!=l){var o,e,r=[],i=!0,n=!1;try{for(l=l.call(a);!(i=(o=l.next()).done)&&(r.push(o.value),!t||r.length!==t);i=!0);}catch(a){n=!0,e=a}finally{try{i||null==l.return||l.return()}finally{if(n)throw e}}return r}}(a,t)||function(a,t){if(!a)return;if("string"==typeof a)return s(a,t);var l=Object.prototype.toString.call(a).slice(8,-1);"Object"===l&&a.constructor&&(l=a.constructor.name);if("Map"===l||"Set"===l)return Array.from(l);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return s(a,t)}(a,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var f=function(l){var o,e,r=l.type,u=void 0===r?"left":r,s=l.showLabel,f=l.open,d=void 0!==f&&f,m=l.hideLabel,h=l.spacing,g=void 0===h?20:h,b=l.zoomLength,w=void 0===b?0:b,x=l.minDragLength,k=void 0===x?100:x,j=l.unit,O=void 0===j?"px":j,R=l.style,L=l.className,E=void 0===L?"":L,S=l.onClickBtn,z=(0,a.useRef)({zoomLength:w||0,downPos:{}}),C=(0,a.useRef)(null),N=(0,a.useRef)(null),P=(0,a.useRef)(null),_=(0,a.useRef)(null),D=(0,a.useRef)(null),A=function(){var a=P.current,t=_.current;if(!a||!t)return 0;var l=null,o="";switch(u){case"left":l=a,o="lr";break;case"right":l=t,o="lr";break;case"top":l=t,o="tb";break;case"bottom":l=a,o="tb"}var e=l.getBoundingClientRect();return function(a){if(!a)return 0;var t=a/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}("lr"===o?e.width:e.height)}(),M=v((0,a.useState)(),2),T=M[0],B=M[1],I={layout:{left:["display","default"],right:["default","display"],top:["display","default"],bottom:["default","display"]}},U=function(a){return a.slice(0,1).toUpperCase()+a.slice(1)},Y=function(){var a="width";return"top"!==u&&"bottom"!==u||(a="height"),a},F=function(){var a={},t="margin".concat(U(u));return a[Y()]=z.current.zoomLength+O,a[t]=(T?0:z.current.zoomLength)+O,a.transitionDuration=A+"ms",a},X=function(){var a={},t=Y(),l=T?z.current.zoomLength:0;return a[t]="calc(100% - ".concat(l+g).concat(O),a["margin".concat(U(u))]=g+O,a.transitionDuration=A+"ms",a},q=function(){B(!T),S&&S(!T)},Z=function(a){z.current.downPos.pageX=a.pageX,z.current.downPos.pageY=a.pageY;var t=N.current,l=P.current,o=D.current,e=C.current;if(l&&t&&o&&e){var r=t.getBoundingClientRect(),i=l.getBoundingClientRect(),n=o.getBoundingClientRect(),u=e.getBoundingClientRect();z.current.displayRefOutsideDomRect=r,z.current.displayRefDomRect=i,z.current.btnRefDomRect=n,z.current.comRefDomRect=u,e.classList.add("".concat(c,"-collapse-layout-move")),window.addEventListener("mousemove",H),window.addEventListener("mouseup",$)}},H=function(a){var t=N.current,l=P.current,o=_.current,e=D.current;if(l&&t&&e&&o){var r=z.current.displayRefOutsideDomRect,i=z.current.comRefDomRect;switch(u){case"left":var n=a.pageX-z.current.downPos.pageX,c=r.width+n;if(i.width-c<k||c<k)return;t.style.width=c+"px",l.style.width=c+"px",o.style.width="calc(100% - ".concat(c,"px)"),e.style.left=c+"px",z.current.zoomLength=c;break;case"right":var p=a.pageX-z.current.downPos.pageX,s=r.width-p;if(i.width-s<k||s<k)return;t.style.width=s+"px",l.style.width=s+"px",o.style.width="calc(100% - ".concat(s,"px)"),e.style.right=s+"px",z.current.zoomLength=s;break;case"top":var y=a.pageY-z.current.downPos.pageY,v=r.height+y;if(i.height-v<k||v<k)return;t.style.height=v+"px",l.style.height=v+"px",o.style.height="calc(100% - ".concat(v,"px)"),e.style.top=v+"px",z.current.zoomLength=v;break;case"bottom":var f=a.pageY-z.current.downPos.pageY,d=r.height-f;if(i.height-d<k||d<k)return;t.style.height=d+"px",l.style.height=d+"px",o.style.height="calc(100% - ".concat(d,"px)"),e.style.bottom=d+"px",z.current.zoomLength=d}}},$=function(){C.current.classList.remove("".concat(c,"-collapse-layout-move")),window.removeEventListener("mousemove",H),window.removeEventListener("mouseup",$)};return(0,a.useEffect)((function(){B(d)}),[d]),t().createElement("div",{className:p("".concat(c,"-collapse-layout"),"".concat(c,"-collapse-layout-").concat(T),"".concat(c,"-collapse-layout-").concat(u),"".concat(c,"-collapse-layout-").concat(u,"-").concat(T),E),ref:C,style:R},(e=T?s:m,t().createElement("div",{className:"collapse-layout-click collapse-layout-click-label-".concat(!!e),style:(o={},y(o,u,"".concat(T?z.current.zoomLength:0).concat(O)),y(o,"transitionDuration",A+"ms"),o),ref:D},t().createElement("div",{className:"switch-btn",onClick:q},e&&t().createElement("span",null,e),T?t().createElement(i,{className:"collapse-layout-icon-transform-".concat(u)}):t().createElement(n,{className:"collapse-layout-icon-transform-".concat(u)})),t().createElement("div",{className:"drag-line",onMouseDown:Z}))),I.layout[u].map((function(a,o){return"display"===a?t().createElement("div",{key:o,className:"collapse-layout-display",style:(e={},r=(T?z.current.zoomLength:0)+O,e[Y()]=r,e.transitionDuration=A+"ms",e),ref:N},t().createElement("div",{className:"collapse-layout-display-shadow",style:F(),ref:P},l.displayContent)):t().createElement("div",{key:o,className:"collapse-layout-default",style:X(),ref:_},l.defaultContent);var e,r})))}}(),e}()}));
29
+ function(a,t){var l={};for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&t.indexOf(o)<0&&(l[o]=a[o]);if(null!=a&&"function"==typeof Object.getOwnPropertySymbols){var e=0;for(o=Object.getOwnPropertySymbols(a);e<o.length;e++)t.indexOf(o[e])<0&&Object.prototype.propertyIsEnumerable.call(a,o[e])&&(l[o[e]]=a[o[e]])}return l}(a,["path","className","color","size","dataName","style"]),f="paraui-v4",d="primary"===c||"secondary"===c||"info"===c||"success"===c||"warn"===c||"error"===c;return(0,l.jsx)("svg",Object.assign({className:(o="".concat(f,"-icon"),o+=" svg-icon",r&&(o+=" "+r),d&&(o+=" ".concat(f,"-icon-").concat(c)),u&&(o+=" ".concat(f,"-icon-").concat(u)),o),viewBox:"0 0 1024 1024","data-name":s,style:(t=Object.assign({},y),c&&!d&&(t.color=c),t)},v,{children:e}))},i=function(a){return(0,l.jsx)(r,Object.assign({dataName:"DoubleLeft",viewBox:"0 0 24 24",path:(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("g",Object.assign({id:"DoubleLeft",transform:"translate(-179 -1447)"},{children:[(0,l.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(179 1447)",fill:"none"}),(0,l.jsx)("path",{id:"icon",d:"M14.5,16.566l-7.6-7.6a.8.8,0,0,1,0-1.132l7.6-7.6a.8.8,0,0,1,1.131,1.129L8.6,8.4l7.034,7.034A.8.8,0,1,1,14.5,16.566Zm-6.667,0-7.6-7.6a.8.8,0,0,1,0-1.132l7.6-7.6A.8.8,0,0,1,8.966,1.364L1.93,8.4l7.035,7.034a.8.8,0,1,1-1.133,1.131Z",transform:"translate(183.067 1450.599)"})]}))})},a))},c=function(a){return(0,l.jsx)(r,Object.assign({dataName:"DoubleRight",viewBox:"0 0 24 24",path:(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("g",Object.assign({id:"DoubleRight",transform:"translate(-179 -1521)"},{children:[(0,l.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(179 1521)",fill:"none"}),(0,l.jsx)("path",{id:"icon",d:"M14.5.235l-7.6,7.6a.8.8,0,0,0,0,1.132l7.6,7.6a.8.8,0,0,0,1.132-1.129L8.6,8.4l7.034-7.034A.8.8,0,1,0,14.5.235Zm-6.667,0-7.6,7.6a.8.8,0,0,0,0,1.132l7.6,7.6a.8.8,0,0,0,1.133-1.129L1.931,8.4,8.966,1.366A.8.8,0,1,0,7.833.235Z",transform:"translate(198.933 1541.4) rotate(180)"})]}))})},a))},n="paraui-v4";function u(a){var t,l,o="";if("string"==typeof a||"number"==typeof a)o+=a;else if("object"==typeof a)if(Array.isArray(a))for(t=0;t<a.length;t++)a[t]&&(l=u(a[t]))&&(o&&(o+=" "),o+=l);else for(t in a)a[t]&&(o&&(o+=" "),o+=t);return o}function p(){for(var a,t,l=0,o="";l<arguments.length;)(a=arguments[l++])&&(t=u(a))&&(o&&(o+=" "),o+=t);return o}o(14944);function s(a,t){(null==t||t>a.length)&&(t=a.length);for(var l=0,o=new Array(t);l<t;l++)o[l]=a[l];return o}function y(a,t,l){return t in a?Object.defineProperty(a,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[t]=l,a}function v(a,t){return function(a){if(Array.isArray(a))return a}(a)||function(a,t){var l=null==a?null:"undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(null!=l){var o,e,r=[],i=!0,c=!1;try{for(l=l.call(a);!(i=(o=l.next()).done)&&(r.push(o.value),!t||r.length!==t);i=!0);}catch(a){c=!0,e=a}finally{try{i||null==l.return||l.return()}finally{if(c)throw e}}return r}}(a,t)||function(a,t){if(!a)return;if("string"==typeof a)return s(a,t);var l=Object.prototype.toString.call(a).slice(8,-1);"Object"===l&&a.constructor&&(l=a.constructor.name);if("Map"===l||"Set"===l)return Array.from(l);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return s(a,t)}(a,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var f=function(l){var o,e,r=l.type,u=void 0===r?"left":r,s=l.showLabel,f=l.open,d=void 0!==f&&f,m=l.hideLabel,h=l.spacing,g=void 0===h?20:h,b=l.zoomLength,w=void 0===b?0:b,x=l.minDragLength,k=void 0===x?100:x,j=l.unit,O=void 0===j?"px":j,R=l.style,L=l.className,E=void 0===L?"":L,S=l.onClickBtn,z=(0,a.useRef)({zoomLength:w||0,downPos:{}}),C=(0,a.useRef)(null),N=(0,a.useRef)(null),P=(0,a.useRef)(null),_=(0,a.useRef)(null),D=(0,a.useRef)(null),A=function(){var a=P.current,t=_.current;if(!a||!t)return 0;var l=null,o="";switch(u){case"left":l=a,o="lr";break;case"right":l=t,o="lr";break;case"top":l=t,o="tb";break;case"bottom":l=a,o="tb"}var e=l.getBoundingClientRect();return function(a){if(!a)return 0;var t=a/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}("lr"===o?e.width:e.height)}(),M=v((0,a.useState)(),2),T=M[0],B=M[1],I={layout:{left:["display","default"],right:["default","display"],top:["display","default"],bottom:["default","display"]}},U=function(a){return a.slice(0,1).toUpperCase()+a.slice(1)},Y=function(){var a="width";return"top"!==u&&"bottom"!==u||(a="height"),a},F=function(){var a={},t="margin".concat(U(u));return a[Y()]=z.current.zoomLength+O,a[t]=(T?0:z.current.zoomLength)+O,a.transitionDuration="".concat(A,"ms"),a},X=function(){var a={},t=Y(),l=T?z.current.zoomLength:0;return a[t]="calc(100% - ".concat(l+g).concat(O),a["margin".concat(U(u))]=g+O,a.transitionDuration="".concat(A,"ms"),a},q=function(){B(!T),S&&S(!T)},Z=function(a){z.current.downPos.pageX=a.pageX,z.current.downPos.pageY=a.pageY;var t=N.current,l=P.current,o=D.current,e=C.current;if(l&&t&&o&&e){var r=t.getBoundingClientRect(),i=l.getBoundingClientRect(),c=o.getBoundingClientRect(),u=e.getBoundingClientRect();z.current.displayRefOutsideDomRect=r,z.current.displayRefDomRect=i,z.current.btnRefDomRect=c,z.current.comRefDomRect=u,e.classList.add("".concat(n,"-collapse-layout-move")),window.addEventListener("mousemove",H),window.addEventListener("mouseup",$)}},H=function(a){var t=N.current,l=P.current,o=_.current,e=D.current;if(l&&t&&e&&o){var r=z.current.displayRefOutsideDomRect,i=z.current.comRefDomRect;switch(u){case"left":var c=a.pageX-z.current.downPos.pageX,n=r.width+c;if(i.width-n<k||n<k)return;t.style.width="".concat(n,"px"),l.style.width="".concat(n,"px"),o.style.width="calc(100% - ".concat(n,"px)"),e.style.left="".concat(n,"px"),z.current.zoomLength=n;break;case"right":var p=a.pageX-z.current.downPos.pageX,s=r.width-p;if(i.width-s<k||s<k)return;t.style.width="".concat(s,"px"),l.style.width="".concat(s,"px"),o.style.width="calc(100% - ".concat(s,"px)"),e.style.right="".concat(s,"px"),z.current.zoomLength=s;break;case"top":var y=a.pageY-z.current.downPos.pageY,v=r.height+y;if(i.height-v<k||v<k)return;t.style.height="".concat(v,"px"),l.style.height="".concat(v,"px"),o.style.height="calc(100% - ".concat(v,"px)"),e.style.top="".concat(v,"px"),z.current.zoomLength=v;break;case"bottom":var f=a.pageY-z.current.downPos.pageY,d=r.height-f;if(i.height-d<k||d<k)return;t.style.height="".concat(d,"px"),l.style.height="".concat(d,"px"),o.style.height="calc(100% - ".concat(d,"px)"),e.style.bottom="".concat(d,"px"),z.current.zoomLength=d}}},$=function(){C.current.classList.remove("".concat(n,"-collapse-layout-move")),window.removeEventListener("mousemove",H),window.removeEventListener("mouseup",$)};return(0,a.useEffect)((function(){B(d)}),[d]),t().createElement("div",{className:p("".concat(n,"-collapse-layout"),"".concat(n,"-collapse-layout-").concat(T),"".concat(n,"-collapse-layout-").concat(u),"".concat(n,"-collapse-layout-").concat(u,"-").concat(T),E),ref:C,style:R},(e=T?s:m,t().createElement("div",{className:"collapse-layout-click collapse-layout-click-label-".concat(!!e),style:(o={},y(o,u,"".concat(T?z.current.zoomLength:0).concat(O)),y(o,"transitionDuration","".concat(A,"ms")),o),ref:D},t().createElement("div",{className:"switch-btn",onClick:q},e&&t().createElement("span",null,e),T?t().createElement(i,{className:"collapse-layout-icon-transform-".concat(u)}):t().createElement(c,{className:"collapse-layout-icon-transform-".concat(u)})),t().createElement("div",{className:"drag-line",onMouseDown:Z}))),I.layout[u].map((function(a,o){return"display"===a?t().createElement("div",{key:o,className:"collapse-layout-display",style:(e={},r=(T?z.current.zoomLength:0)+O,e[Y()]=r,e.transitionDuration="".concat(A,"ms"),e),ref:N},t().createElement("div",{className:"collapse-layout-display-shadow",style:F(),ref:P},l.displayContent)):t().createElement("div",{key:o,className:"collapse-layout-default",style:X(),ref:_},l.defaultContent);var e,r})))}}(),e}()}));