@para-ui/core 2.2.39 → 2.2.41

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 (118) hide show
  1. package/Button/SplitButton.d.ts +1 -1
  2. package/Button/index.d.ts +1 -1
  3. package/Carousel/index.d.ts +2 -2
  4. package/Cascader/index.js +1 -1
  5. package/Collapse/collapsePanel.d.ts +1 -1
  6. package/Collapse/index.d.ts +1 -1
  7. package/Collapse/util.d.ts +2 -2
  8. package/ComboSelect/WithTabsCombo/interface.d.ts +3 -3
  9. package/ComboSelect/index.d.ts +1 -1
  10. package/ComboSelect/index.js +1 -1
  11. package/ComboSelect/interface.d.ts +3 -3
  12. package/DatePicker/generatePicker/index.d.ts +16 -16
  13. package/DatePicker/index.d.ts +4 -4
  14. package/Drawer/interface.d.ts +3 -3
  15. package/Dropdown/index.d.ts +1 -1
  16. package/DynamicMultiBox/formItem.d.ts +1 -1
  17. package/DynamicMultiBox/index.js +1 -1
  18. package/DynamicMultiBox/interface.d.ts +2 -2
  19. package/Form/index.d.ts +1 -1
  20. package/Form/index.js +1 -1
  21. package/FormItem/index.d.ts +1 -1
  22. package/FormItem/index.js +1 -1
  23. package/FormItem/validateFunction.d.ts +1 -1
  24. package/FunctionModal/index.js +1 -1
  25. package/Menu/index.js +1 -1
  26. package/Menu/interface.d.ts +2 -2
  27. package/Menu/verticalMenuList.d.ts +1 -1
  28. package/Message/index.d.ts +1 -1
  29. package/Modal/Confirm/index.d.ts +2 -2
  30. package/Modal/index.d.ts +1 -1
  31. package/Notification/index.d.ts +2 -2
  32. package/OperateBtn/index.js +1 -1
  33. package/PageHeader/interface.d.ts +1 -1
  34. package/PopConfirm/index.d.ts +1 -1
  35. package/PopoverNew/TooltipNew/interface.d.ts +1 -1
  36. package/Progress/index.d.ts +6 -6
  37. package/Progress/index.js +1 -1
  38. package/README.md +12 -0
  39. package/Selector/index.js +1 -1
  40. package/SelectorPicker/index.js +1 -1
  41. package/Slider/index.d.ts +1 -1
  42. package/Slider/interface.d.ts +2 -2
  43. package/Stepper/index.d.ts +1 -1
  44. package/Switch/index.d.ts +2 -2
  45. package/Table/index.js +1 -1
  46. package/Table/interface.d.ts +5 -5
  47. package/Tag/TagGroup.d.ts +1 -1
  48. package/Tag/index.d.ts +2 -2
  49. package/TimePicker/index.d.ts +1 -1
  50. package/ToggleButton/ToggleButtonGroup.d.ts +1 -1
  51. package/Tooltip/index.d.ts +1 -1
  52. package/Tree/index.js +1 -1
  53. package/Tree/interface.d.ts +6 -6
  54. package/Upload/Dragger/index.d.ts +1 -1
  55. package/Upload/ImageUpload/index.d.ts +1 -1
  56. package/Upload/ImgCrop/EasyCrop.d.ts +1 -1
  57. package/Upload/index.d.ts +1 -1
  58. package/Upload/index.js +1 -1
  59. package/Upload/interface.d.ts +2 -2
  60. package/cdn/AutoBox/index.js +1 -1
  61. package/cdn/AutoTips/index.js +1 -1
  62. package/cdn/Breadcrumbs/index.js +1 -1
  63. package/cdn/Button/index.js +5 -5
  64. package/cdn/ButtonGroup/index.js +5 -5
  65. package/cdn/Cascader/index.js +6 -6
  66. package/cdn/Checkbox/index.js +5 -5
  67. package/cdn/CheckboxGroup/index.js +5 -5
  68. package/cdn/Collapse/index.js +2 -2
  69. package/cdn/ColorPicker/index.js +1 -1
  70. package/cdn/ComboSelect/index.js +2 -2
  71. package/cdn/DatePicker/index.js +8 -8
  72. package/cdn/Desktop/index.js +2 -2
  73. package/cdn/Drawer/index.js +5 -5
  74. package/cdn/Dropdown/index.js +3 -3
  75. package/cdn/DynamicMultiBox/index.js +8 -8
  76. package/cdn/Form/index.js +2 -2
  77. package/cdn/FormItem/index.js +5 -5
  78. package/cdn/FunctionModal/index.js +5 -5
  79. package/cdn/Help/index.js +1 -1
  80. package/cdn/InputLang/index.js +1 -1
  81. package/cdn/InputNumber/index.js +5 -5
  82. package/cdn/Label/index.js +1 -1
  83. package/cdn/Menu/index.js +2 -2
  84. package/cdn/Modal/index.js +1 -1
  85. package/cdn/MultiBox/index.js +5 -5
  86. package/cdn/Notification/index.js +2 -2
  87. package/cdn/OperateBtn/index.js +1 -1
  88. package/cdn/PageHeader/index.js +5 -5
  89. package/cdn/Pagination/index.js +1 -1
  90. package/cdn/ParauiProvider/index.js +2 -2
  91. package/cdn/PasswordRules/index.js +2 -2
  92. package/cdn/PopConfirm/index.js +5 -5
  93. package/cdn/Popover/index.js +1 -1
  94. package/cdn/PopoverNew/index.js +3 -3
  95. package/cdn/Progress/index.js +1 -1
  96. package/cdn/Radio/index.js +5 -5
  97. package/cdn/RadioGroup/index.js +6 -6
  98. package/cdn/Search/index.js +5 -5
  99. package/cdn/Select/index.js +1 -1
  100. package/cdn/SelectInput/index.js +1 -1
  101. package/cdn/Selector/index.js +10 -10
  102. package/cdn/SelectorPicker/index.js +10 -10
  103. package/cdn/SingleBox/index.js +5 -5
  104. package/cdn/Slider/index.js +3 -3
  105. package/cdn/Stepper/index.js +3 -3
  106. package/cdn/Switch/index.js +5 -5
  107. package/cdn/Table/index.js +7 -7
  108. package/cdn/Tabs/index.js +6 -6
  109. package/cdn/TextField/index.js +1 -1
  110. package/cdn/TimePicker/index.js +8 -8
  111. package/cdn/Timeline/index.js +2 -2
  112. package/cdn/ToggleButton/index.js +1 -1
  113. package/cdn/Tooltip/index.js +1 -1
  114. package/cdn/Transfer/index.js +5 -5
  115. package/cdn/Tree/index.js +2 -2
  116. package/cdn/Upload/index.js +10 -10
  117. package/index.js +1 -1
  118. package/package.json +2 -2
@@ -17,7 +17,7 @@ object-assign
17
17
  * This source code is licensed under the MIT license found in the
18
18
  * LICENSE file in the root directory of this source tree.
19
19
  */
20
- t(27418);var n=t(8156),o=60103;if(r.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),r.Fragment=a("react.fragment")}var s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,r,t){var n,a={},l=null,u=null;for(n in void 0!==t&&(l=""+t),void 0!==r.key&&(l=""+r.key),void 0!==r.ref&&(u=r.ref),r)i.call(r,n)&&!c.hasOwnProperty(n)&&(a[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===a[n]&&(a[n]=r[n]);return{$$typeof:o,type:e,key:l,ref:u,props:a,_owner:s.current}}r.jsx=l},85893:function(e,r,t){"use strict";e.exports=t(75251)},17439:function(e,r,t){var n=t(93379),o=t(41442);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var a={insert:"head",singleton:!1};n(o,a);e.exports=o.locals||{}},93379:function(e,r,t){"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},a=function(){var e={};return function(r){if(void 0===e[r]){var t=document.querySelector(r);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[r]=t}return e[r]}}(),s=[];function i(e){for(var r=-1,t=0;t<s.length;t++)if(s[t].identifier===e){r=t;break}return r}function c(e,r){for(var t={},n=[],o=0;o<e.length;o++){var a=e[o],c=r.base?a[0]+r.base:a[0],l=t[c]||0,u="".concat(c," ").concat(l);t[c]=l+1;var p=i(u),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==p?(s[p].references++,s[p].updater(f)):s.push({identifier:u,updater:y(f,r),references:1}),n.push(u)}return n}function l(e){var r=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=t.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){r.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(r);else{var s=a(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(r)}return r}var u,p=(u=[],function(e,r){return u[e]=r,u.filter(Boolean).join("\n")});function f(e,r,t,n){var o=t?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=p(r,o);else{var a=document.createTextNode(o),s=e.childNodes;s[r]&&e.removeChild(s[r]),s.length?e.insertBefore(a,s[r]):e.appendChild(a)}}function d(e,r,t){var n=t.css,o=t.media,a=t.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var g=null,m=0;function y(e,r){var t,n,o;if(r.singleton){var a=m++;t=g||(g=l(r)),n=f.bind(null,t,a,!1),o=f.bind(null,t,a,!0)}else t=l(r),n=d.bind(null,t,r),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)};return n(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;n(e=r)}else o()}}e.exports=function(e,r){(r=r||{}).singleton||"boolean"==typeof r.singleton||(r.singleton=o());var t=c(e=e||[],r);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<t.length;n++){var o=i(t[n]);s[o].references--}for(var a=c(e,r),l=0;l<t.length;l++){var u=i(t[l]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}t=a}}}},8156:function(r){"use strict";r.exports=e}},t={};function n(e){var o=t[e];if(void 0!==o)return o.exports;var a=t[e]={id:e,exports:{}};return r[e](a,a.exports,n),a.exports}n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,{a:r}),r},n.d=function(e,r){for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return function(){"use strict";n.r(o),n.d(o,{Progress:function(){return B},default:function(){return q}});var e=n(8156),r=n.n(e);function t(){return t=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},t.apply(this,arguments)}function a(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var s=n(94184),i=n.n(s),c={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},l=function(){var r=(0,e.useRef)([]),t=(0,e.useRef)(null);return(0,e.useEffect)((function(){var e=Date.now(),n=!1;r.current.forEach((function(r){if(r){n=!0;var o=r.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&e-t.current<100&&(o.transitionDuration="0s, 0s")}})),n&&(t.current=Date.now())})),r.current},u=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],p=function(r){var n=r.className,o=r.percent,s=r.prefixCls,c=r.strokeColor,p=r.strokeLinecap,f=r.strokeWidth,d=r.style,g=r.trailColor,m=r.trailWidth,y=r.transition,h=a(r,u);delete h.gapPosition;var v=Array.isArray(o)?o:[o],b=Array.isArray(c)?c:[c],x=l(),k=f/2,O=100-f/2,j="M ".concat("round"===p?k:0,",").concat(k,"\n L ").concat("round"===p?O:100,",").concat(k),w="0 0 100 ".concat(f),C=0;return e.createElement("svg",t({className:i()("".concat(s,"-line"),n),viewBox:w,preserveAspectRatio:"none",style:d},h),e.createElement("path",{className:"".concat(s,"-line-trail"),d:j,strokeLinecap:p,stroke:g,strokeWidth:m||f,fillOpacity:"0"}),v.map((function(r,t){var n=1;switch(p){case"round":n=1-f/100;break;case"square":n=1-f/2/100;break;default:n=1}var o={strokeDasharray:"".concat(r*n,"px, 100px"),strokeDashoffset:"-".concat(C,"px"),transition:y||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},a=b[t]||b[b.length-1];return C+=r,e.createElement("path",{key:t,className:"".concat(s,"-line-path"),d:j,strokeLinecap:p,stroke:a,strokeWidth:f,fillOpacity:"0",ref:function(e){x[t]=e},style:o})})))};p.defaultProps=c,p.displayName="Line";function f(e){return f="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},f(e)}function d(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function g(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],s=!0,i=!1;try{for(t=t.call(e);!(s=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);s=!0);}catch(e){i=!0,o=e}finally{try{s||null==t.return||t.return()}finally{if(i)throw o}}return a}}(e,r)||function(e,r){if(e){if("string"==typeof e)return d(e,r);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)?d(e,r):void 0}}(e,r)||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 m=0,y=!("undefined"==typeof window||!window.document||!window.document.createElement);var h=function(r){var t=g(e.useState(),2),n=t[0],o=t[1];return e.useEffect((function(){var e;o("rc_progress_".concat((y?(e=m,m+=1):e="TEST_OR_SSR",e)))}),[]),r||n},v=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function b(e){return+e.replace("%","")}function x(e){var r=null!=e?e:[];return Array.isArray(r)?r:[r]}var k=100,O=function(e,r,t,n,o,a,s,i,c,l){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,p=t/100*360*((360-a)/360),f=0===a?0:{bottom:0,top:180,left:90,right:-90}[s],d=(100-n)/100*r;return"round"===c&&100!==n&&(d+=l/2)>=r&&(d=r-.01),{stroke:"string"==typeof i?i:void 0,strokeDasharray:"".concat(r,"px ").concat(e),strokeDashoffset:d+u,transform:"rotate(".concat(o+p+f,"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},j=function(r){var n,o,s,c=r.id,u=r.prefixCls,p=r.steps,d=r.strokeWidth,g=r.trailWidth,m=r.gapDegree,y=void 0===m?0:m,j=r.gapPosition,w=r.trailColor,C=r.strokeLinecap,E=r.style,N=r.className,S=r.strokeColor,P=r.percent,L=a(r,v),_=h(c),A="".concat(_,"-gradient"),D=50-d/2,I=2*Math.PI*D,W=y>0?90+y/2:-90,M=I*((360-y)/360),T="object"===f(p)?p:{count:p,space:2},z=T.count,F=T.space,R=O(I,M,0,100,W,y,j,w,C,d),U=x(P),B=x(S),q=B.find((function(e){return e&&"object"===f(e)})),X=l();return e.createElement("svg",t({className:i()("".concat(u,"-circle"),N),viewBox:"".concat(-50," ").concat(-50," ").concat(k," ").concat(k),style:E,id:c,role:"presentation"},L),q&&e.createElement("defs",null,e.createElement("linearGradient",{id:A,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(q).sort((function(e,r){return b(e)-b(r)})).map((function(r,t){return e.createElement("stop",{key:t,offset:r,stopColor:q[r]})})))),!z&&e.createElement("circle",{className:"".concat(u,"-circle-trail"),r:D,cx:0,cy:0,stroke:w,strokeLinecap:C,strokeWidth:g||d,style:R}),z?(n=Math.round(z*(U[0]/100)),o=100/z,s=0,new Array(z).fill(null).map((function(r,t){var a=t<=n-1?B[0]:w,i=a&&"object"===f(a)?"url(#".concat(A,")"):void 0,c=O(I,M,s,o,W,y,j,a,"butt",d,F);return s+=100*(M-c.strokeDashoffset+F)/M,e.createElement("circle",{key:t,className:"".concat(u,"-circle-path"),r:D,cx:0,cy:0,stroke:i,strokeWidth:d,opacity:1,style:c,ref:function(e){X[t]=e}})}))):function(){var r=0;return U.map((function(t,n){var o=B[n]||B[B.length-1],a=o&&"object"===f(o)?"url(#".concat(A,")"):void 0,s=O(I,M,r,t,W,y,j,o,C,d);return r+=t,e.createElement("circle",{key:n,className:"".concat(u,"-circle-path"),r:D,cx:0,cy:0,stroke:a,strokeLinecap:C,strokeWidth:d,opacity:0===t?0:1,style:s,ref:function(e){X[n]=e}})})).reverse()}())};j.defaultProps=c,j.displayName="Circle";var w=j,C=n(85893);!function(e,r){void 0===r&&(r={});var t=r.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===t&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('@charset "UTF-8";\n/**\n* @author Hanz\n* @date 2021/8/25 下午3:16\n* @description icons scss\n*/\n.paraui-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-icon-primary {\n color: #3666d6;\n}\n.paraui-icon-secondary {\n color: #3666d6;\n}\n.paraui-icon-thirdary {\n color: #3666d6;\n}\n.paraui-icon-small {\n font-size: 16px;\n}\n.paraui-icon-medium {\n font-size: 18px;\n}\n.paraui-icon-large {\n font-size: 20px;\n}');var E=function(e){var r,t,n=e.path,o=e.className,a=e.color,s=void 0===a?"primary":a,i=e.size,c=void 0===i?"small":i,l=e.dataName,u=void 0===l?"":l,p=e.style,f=
20
+ t(27418);var n=t(8156),o=60103;if(r.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),r.Fragment=a("react.fragment")}var s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,r,t){var n,a={},l=null,u=null;for(n in void 0!==t&&(l=""+t),void 0!==r.key&&(l=""+r.key),void 0!==r.ref&&(u=r.ref),r)i.call(r,n)&&!c.hasOwnProperty(n)&&(a[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===a[n]&&(a[n]=r[n]);return{$$typeof:o,type:e,key:l,ref:u,props:a,_owner:s.current}}r.jsx=l},85893:function(e,r,t){"use strict";e.exports=t(75251)},17439:function(e,r,t){var n=t(93379),o=t(41442);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var a={insert:"head",singleton:!1};n(o,a);e.exports=o.locals||{}},93379:function(e,r,t){"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},a=function(){var e={};return function(r){if(void 0===e[r]){var t=document.querySelector(r);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[r]=t}return e[r]}}(),s=[];function i(e){for(var r=-1,t=0;t<s.length;t++)if(s[t].identifier===e){r=t;break}return r}function c(e,r){for(var t={},n=[],o=0;o<e.length;o++){var a=e[o],c=r.base?a[0]+r.base:a[0],l=t[c]||0,u="".concat(c," ").concat(l);t[c]=l+1;var p=i(u),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==p?(s[p].references++,s[p].updater(f)):s.push({identifier:u,updater:y(f,r),references:1}),n.push(u)}return n}function l(e){var r=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=t.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){r.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(r);else{var s=a(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(r)}return r}var u,p=(u=[],function(e,r){return u[e]=r,u.filter(Boolean).join("\n")});function f(e,r,t,n){var o=t?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=p(r,o);else{var a=document.createTextNode(o),s=e.childNodes;s[r]&&e.removeChild(s[r]),s.length?e.insertBefore(a,s[r]):e.appendChild(a)}}function d(e,r,t){var n=t.css,o=t.media,a=t.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var g=null,m=0;function y(e,r){var t,n,o;if(r.singleton){var a=m++;t=g||(g=l(r)),n=f.bind(null,t,a,!1),o=f.bind(null,t,a,!0)}else t=l(r),n=d.bind(null,t,r),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)};return n(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;n(e=r)}else o()}}e.exports=function(e,r){(r=r||{}).singleton||"boolean"==typeof r.singleton||(r.singleton=o());var t=c(e=e||[],r);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<t.length;n++){var o=i(t[n]);s[o].references--}for(var a=c(e,r),l=0;l<t.length;l++){var u=i(t[l]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}t=a}}}},8156:function(r){"use strict";r.exports=e}},t={};function n(e){var o=t[e];if(void 0!==o)return o.exports;var a=t[e]={id:e,exports:{}};return r[e](a,a.exports,n),a.exports}n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,{a:r}),r},n.d=function(e,r){for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return function(){"use strict";n.r(o),n.d(o,{Progress:function(){return B},default:function(){return q}});var e=n(8156),r=n.n(e);function t(){return t=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},t.apply(this,arguments)}function a(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var s=n(94184),i=n.n(s),c={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},l=function(){var r=(0,e.useRef)([]),t=(0,e.useRef)(null);return(0,e.useEffect)((function(){var e=Date.now(),n=!1;r.current.forEach((function(r){if(r){n=!0;var o=r.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&e-t.current<100&&(o.transitionDuration="0s, 0s")}})),n&&(t.current=Date.now())})),r.current},u=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],p=function(r){var n=r.className,o=r.percent,s=r.prefixCls,c=r.strokeColor,p=r.strokeLinecap,f=r.strokeWidth,d=r.style,g=r.trailColor,m=r.trailWidth,y=r.transition,h=a(r,u);delete h.gapPosition;var v=Array.isArray(o)?o:[o],b=Array.isArray(c)?c:[c],x=l(),k=f/2,O=100-f/2,j="M ".concat("round"===p?k:0,",").concat(k,"\n L ").concat("round"===p?O:100,",").concat(k),w="0 0 100 ".concat(f),C=0;return e.createElement("svg",t({className:i()("".concat(s,"-line"),n),viewBox:w,preserveAspectRatio:"none",style:d},h),e.createElement("path",{className:"".concat(s,"-line-trail"),d:j,strokeLinecap:p,stroke:g,strokeWidth:m||f,fillOpacity:"0"}),v.map((function(r,t){var n=1;switch(p){case"round":n=1-f/100;break;case"square":n=1-f/2/100;break;default:n=1}var o={strokeDasharray:"".concat(r*n,"px, 100px"),strokeDashoffset:"-".concat(C,"px"),transition:y||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},a=b[t]||b[b.length-1];return C+=r,e.createElement("path",{key:t,className:"".concat(s,"-line-path"),d:j,strokeLinecap:p,stroke:a,strokeWidth:f,fillOpacity:"0",ref:function(e){x[t]=e},style:o})})))};p.defaultProps=c,p.displayName="Line";function f(e){return f="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},f(e)}function d(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function g(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a,s,i=[],c=!0,l=!1;try{if(a=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;c=!1}else for(;!(c=(n=a.call(t)).done)&&(i.push(n.value),i.length!==r);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=t.return&&(s=t.return(),Object(s)!==s))return}finally{if(l)throw o}}return i}}(e,r)||function(e,r){if(e){if("string"==typeof e)return d(e,r);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)?d(e,r):void 0}}(e,r)||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 m=0,y=!("undefined"==typeof window||!window.document||!window.document.createElement);var h=function(r){var t=g(e.useState(),2),n=t[0],o=t[1];return e.useEffect((function(){var e;o("rc_progress_".concat((y?(e=m,m+=1):e="TEST_OR_SSR",e)))}),[]),r||n},v=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function b(e){return+e.replace("%","")}function x(e){var r=null!=e?e:[];return Array.isArray(r)?r:[r]}var k=100,O=function(e,r,t,n,o,a,s,i,c,l){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,p=t/100*360*((360-a)/360),f=0===a?0:{bottom:0,top:180,left:90,right:-90}[s],d=(100-n)/100*r;return"round"===c&&100!==n&&(d+=l/2)>=r&&(d=r-.01),{stroke:"string"==typeof i?i:void 0,strokeDasharray:"".concat(r,"px ").concat(e),strokeDashoffset:d+u,transform:"rotate(".concat(o+p+f,"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},j=function(r){var n,o,s,c=r.id,u=r.prefixCls,p=r.steps,d=r.strokeWidth,g=r.trailWidth,m=r.gapDegree,y=void 0===m?0:m,j=r.gapPosition,w=r.trailColor,C=r.strokeLinecap,E=r.style,N=r.className,S=r.strokeColor,P=r.percent,L=a(r,v),_=h(c),A="".concat(_,"-gradient"),D=50-d/2,I=2*Math.PI*D,W=y>0?90+y/2:-90,M=I*((360-y)/360),T="object"===f(p)?p:{count:p,space:2},z=T.count,F=T.space,R=O(I,M,0,100,W,y,j,w,C,d),U=x(P),B=x(S),q=B.find((function(e){return e&&"object"===f(e)})),X=l();return e.createElement("svg",t({className:i()("".concat(u,"-circle"),N),viewBox:"".concat(-50," ").concat(-50," ").concat(k," ").concat(k),style:E,id:c,role:"presentation"},L),q&&e.createElement("defs",null,e.createElement("linearGradient",{id:A,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(q).sort((function(e,r){return b(e)-b(r)})).map((function(r,t){return e.createElement("stop",{key:t,offset:r,stopColor:q[r]})})))),!z&&e.createElement("circle",{className:"".concat(u,"-circle-trail"),r:D,cx:0,cy:0,stroke:w,strokeLinecap:C,strokeWidth:g||d,style:R}),z?(n=Math.round(z*(U[0]/100)),o=100/z,s=0,new Array(z).fill(null).map((function(r,t){var a=t<=n-1?B[0]:w,i=a&&"object"===f(a)?"url(#".concat(A,")"):void 0,c=O(I,M,s,o,W,y,j,a,"butt",d,F);return s+=100*(M-c.strokeDashoffset+F)/M,e.createElement("circle",{key:t,className:"".concat(u,"-circle-path"),r:D,cx:0,cy:0,stroke:i,strokeWidth:d,opacity:1,style:c,ref:function(e){X[t]=e}})}))):function(){var r=0;return U.map((function(t,n){var o=B[n]||B[B.length-1],a=o&&"object"===f(o)?"url(#".concat(A,")"):void 0,s=O(I,M,r,t,W,y,j,o,C,d);return r+=t,e.createElement("circle",{key:n,className:"".concat(u,"-circle-path"),r:D,cx:0,cy:0,stroke:a,strokeLinecap:C,strokeWidth:d,opacity:0===t?0:1,style:s,ref:function(e){X[n]=e}})})).reverse()}())};j.defaultProps=c,j.displayName="Circle";var w=j,C=n(85893);!function(e,r){void 0===r&&(r={});var t=r.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===t&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('@charset "UTF-8";\n/**\n* @author Hanz\n* @date 2021/8/25 下午3:16\n* @description icons scss\n*/\n.paraui-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-icon-primary {\n color: #3666d6;\n}\n.paraui-icon-secondary {\n color: #3666d6;\n}\n.paraui-icon-thirdary {\n color: #3666d6;\n}\n.paraui-icon-small {\n font-size: 16px;\n}\n.paraui-icon-medium {\n font-size: 18px;\n}\n.paraui-icon-large {\n font-size: 20px;\n}');var E=function(e){var r,t,n=e.path,o=e.className,a=e.color,s=void 0===a?"primary":a,i=e.size,c=void 0===i?"small":i,l=e.dataName,u=void 0===l?"":l,p=e.style,f=
21
21
  /*! *****************************************************************************
22
22
  Copyright (c) Microsoft Corporation.
23
23