@para-ui/core 4.0.33 → 4.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Anchor/anchorMenu/index.d.ts +16 -0
- package/Anchor/index.d.ts +4 -0
- package/Anchor/index.js +394 -0
- package/Anchor/lang/en_US.d.ts +4 -0
- package/Anchor/lang/index.d.ts +9 -0
- package/Anchor/lang/zh_CN.d.ts +4 -0
- package/Anchor/type.d.ts +42 -0
- package/Argv/batchEdit/index.d.ts +18 -0
- package/Argv/dataGenerator/config.d.ts +16 -0
- package/Argv/dataGenerator/index.d.ts +24 -0
- package/Argv/index.d.ts +36 -0
- package/Argv/index.js +738 -0
- package/Argv/lang/en_US.d.ts +15 -0
- package/Argv/lang/index.d.ts +31 -0
- package/Argv/lang/zh_CN.d.ts +15 -0
- package/AutoBox/index.js +1 -1
- package/AutoButton/index.js +1 -1
- package/AutoTips/index.js +1 -1
- package/Breadcrumbs/index.js +1 -1
- package/Button/index.d.ts +2 -2
- package/Button/index.js +4 -4
- package/ButtonGroup/index.d.ts +4 -0
- package/ButtonGroup/index.js +53 -37
- package/Card/index.js +3 -3
- package/Carousel/index.js +1 -1
- package/Cascader/index.js +3 -3
- package/Checkbox/index.js +1 -1
- package/CheckboxGroup/index.js +1 -1
- package/ComboSelect/index.js +2 -2
- package/CopyText/index.js +1 -1
- package/CycleSelector/index.js +1 -1
- package/DatePicker/index.js +1 -1
- package/Descriptions/index.js +1 -1
- package/Desktop/index.js +1 -1
- package/DragVerify/index.js +1 -1
- package/Drawer/index.js +1 -1
- package/DynamicMultiBox/index.js +2 -2
- package/Form/index.js +3 -3
- package/FormItem/index.js +3 -3
- package/FunctionModal/index.js +3 -3
- package/Help/index.js +1 -1
- package/Image/index.js +1 -1
- package/InputCode/index.js +1 -1
- package/InputLang/index.js +1 -1
- package/InputNumber/index.js +1 -1
- package/Label/index.js +1 -1
- package/Menu/index.js +1 -1
- package/Modal/index.js +1 -1
- package/MultiBox/index.js +1 -1
- package/OperateBtn/index.js +1 -1
- package/PageHeader/index.js +1 -1
- package/Pagination/index.js +1 -1
- package/PopConfirm/index.js +1 -1
- package/PopMenu/index.js +1 -1
- package/Popover/index.js +1 -1
- package/Progress/index.js +1 -1
- package/Querying/index.js +4 -4
- package/QuickReply/index.js +1 -1
- package/README.md +32 -0
- package/Radio/index.js +1 -1
- package/RadioGroup/index.js +1 -1
- package/RangeInput/index.js +1 -1
- package/Search/index.js +1 -1
- package/Select/index.js +3 -3
- package/SelectInput/index.js +1 -1
- package/Selector/index.js +53 -41
- package/Selector/interface.d.ts +2 -1
- package/SelectorPicker/index.js +1 -1
- package/SingleBox/index.js +1 -1
- package/Slider/index.js +1 -1
- package/Stepper/index.js +1 -1
- package/Switch/index.js +1 -1
- package/Table/index.js +6 -3
- package/Tabs/index.js +1 -1
- package/Tag/index.js +1 -1
- package/TextEditor/index.js +1 -1
- package/TextField/index.js +1 -1
- package/TimePicker/index.js +1 -1
- package/Timeline/index.js +1 -1
- package/Title/index.js +1 -1
- package/ToggleButton/ToggleButtonGroup.d.ts +4 -2
- package/ToggleButton/index.d.ts +4 -3
- package/ToggleButton/index.js +27 -11
- package/Tooltip/index.js +1 -1
- package/Transfer/index.js +1 -1
- package/Tree/index.js +3 -3
- package/Upload/index.js +79 -23
- package/Upload/interface.d.ts +4 -0
- package/Upload/util.d.ts +32 -0
- package/Utils/index.d.ts +7 -0
- package/Utils/index.js +10 -1
- package/Utils/type.d.ts +1 -0
- package/_verture/{index-8752ccab.js → index-63345bd4.js} +1 -1
- package/_verture/{index-567b5779.js → index-77fff5bd.js} +1 -1
- package/_verture/{modalContext-10f0c5aa.js → modalContext-205db1f4.js} +1 -1
- package/_verture/{tslib.es6-55ed4bd2.js → tslib.es6-f43aa41d.js} +1 -1
- package/index.d.ts +4 -0
- package/index.js +21 -16
- package/locale/en-US.d.ts +17 -0
- package/locale/index.d.ts +34 -0
- package/locale/index.js +34 -0
- package/locale/zh-CN.d.ts +17 -0
- package/package.json +6 -4
- package/umd/Anchor.js +43 -0
- package/umd/Argv.js +43 -0
- package/umd/AutoButton.js +1 -1
- package/umd/Button.js +1 -1
- package/umd/ButtonGroup.js +5 -5
- package/umd/ComboSelect.js +2 -2
- package/umd/CopyText.js +3 -3
- package/umd/CycleSelector.js +3 -3
- package/umd/DatePicker.js +1 -1
- package/umd/Descriptions.js +1 -1
- package/umd/Desktop.js +3 -3
- package/umd/Drawer.js +1 -1
- package/umd/DynamicMultiBox.js +3 -3
- package/umd/Form.js +2 -2
- package/umd/FormItem.js +3 -3
- package/umd/FunctionModal.js +1 -1
- package/umd/InputCode.js +3 -3
- package/umd/InputLang.js +3 -3
- package/umd/Message.js +15 -16
- package/umd/Modal.js +1 -1
- package/umd/MultiBox.js +3 -3
- package/umd/OperateBtn.js +1 -1
- package/umd/PageHeader.js +1 -1
- package/umd/Pagination.js +3 -3
- package/umd/PopConfirm.js +1 -1
- package/umd/QuickReply.js +3 -3
- package/umd/Search.js +3 -3
- package/umd/Selector.js +4 -4
- package/umd/SelectorPicker.js +6 -6
- package/umd/SingleBox.js +3 -3
- package/umd/Table.js +3 -3
- package/umd/Tabs.js +1 -1
- package/umd/TextField.js +2 -2
- package/umd/TimePicker.js +1 -1
- package/umd/ToggleButton.js +6 -6
- package/umd/Transfer.js +2 -2
- package/umd/Upload.js +2 -2
- package/umd/Utils.js +1 -1
- package/umd/locale.js +1 -1
- /package/_verture/{index-e229330e.js → index-cf52327b.js} +0 -0
package/umd/Message.js
CHANGED
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ParaUI=t(require("react"),require("react-dom")):e.ParaUI=t(e.react,e["react-dom"])}(self,((e,t)=>(()=>{var r={
|
|
2
|
-
/*
|
|
3
|
-
object-assign
|
|
4
|
-
(c) Sindre Sorhus
|
|
5
|
-
@license MIT
|
|
6
|
-
*/var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))r.call(a,l)&&(s[l]=a[l]);if(t){i=t(a);for(var u=0;u<i.length;u++)n.call(a,i[u])&&(s[i[u]]=a[i[u]])}}return s}},21020:(e,t,r)=>{"use strict";
|
|
7
|
-
/** @license React v17.0.2
|
|
8
|
-
* react-jsx-runtime.production.min.js
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the MIT license found in the
|
|
13
|
-
* LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/r(45228);var n=r(39155),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),t.Fragment=a("react.fragment")}var i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,a={},l=null,u=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,n)&&!c.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:o,type:e,key:l,ref:u,props:a,_owner:i.current}}t.jsx=l,t.jsxs=l},74848:(e,t,r)=>{"use strict";e.exports=r(21020)},53857:(e,t,r)=>{var n=r(85072),o=r(30130);"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||{}},85072:(e,t,r)=>{"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(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),i=[];function s(e){for(var t=-1,r=0;r<i.length;r++)if(i[r].identifier===e){t=r;break}return t}function c(e,t){for(var r={},n=[],o=0;o<e.length;o++){var a=e[o],c=t.base?a[0]+t.base:a[0],l=r[c]||0,u="".concat(c," ").concat(l);r[c]=l+1;var d=s(u),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==d?(i[d].references++,i[d].updater(f)):i.push({identifier:u,updater:v(f,t),references:1}),n.push(u)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=r.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.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 u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,r,n){var o=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function m(e,t,r){var n=r.css,o=r.media,a=r.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 p=null,g=0;function v(e,t){var r,n,o;if(t.singleton){var a=g++;r=p||(p=l(t)),n=f.bind(null,r,a,!1),o=f.bind(null,r,a,!0)}else r=l(t),n=m.bind(null,r,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var r=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var o=s(r[n]);i[o].references--}for(var a=c(e,t),l=0;l<r.length;l++){var u=s(r[l]);0===i[u].references&&(i[u].updater(),i.splice(u,1))}r=a}}}},39155:t=>{"use strict";t.exports=e},69514:e=>{"use strict";e.exports=t}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={id:e,exports:{}};return r[e](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return(()=>{"use strict";o.r(a),o.d(a,{Message:()=>k,MessageBar:()=>y,default:()=>j});var e=o(39155),t=o.n(e),r=o(69514),n=o.n(r),i=o(74848);!function(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&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-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 s=function(e){var t,r,n=e.path,o=e.className,a=e.color,s=void 0===a?"info":a,c=e.size,l=void 0===c?"small":c,u=e.dataName,d=void 0===u?"":u,f=e.style,m=
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ParaUI=t(require("react"),require("react-dom")):e.ParaUI=t(e.react,e["react-dom"])}(self,((e,t)=>(()=>{var r={6406:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(74848),o=r(55307),a=function(e){return(0,n.jsx)(o.A,Object.assign({dataName:"CheckCircleF",viewBox:"0 0 24 24",path:(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("g",Object.assign({id:"CheckCircleF",transform:"translate(-88 -157)"},{children:[(0,n.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(88 157)",fill:"none"}),(0,n.jsx)("path",{id:"路径_20943","data-name":"路径 20943",d:"M117.67,0a9.6,9.6,0,1,0,9.6,9.6,9.611,9.611,0,0,0-9.6-9.6m4.813,7.307-5.707,5.707a.71.71,0,0,1-.267.173.807.807,0,0,1-.293.067.8.8,0,0,1-.573-.24l-2.787-2.788a.8.8,0,0,1,1.133-1.132l2.227,2.227,5.133-5.133a.8.8,0,0,1,1.133,1.12",transform:"translate(-17.67 159.399)"})]}))})},e))}},39864:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(74848),o=r(55307),a=function(e){return(0,n.jsx)(o.A,Object.assign({dataName:"Close",viewBox:"0 0 24 24",path:(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("g",Object.assign({id:"Close",transform:"translate(-288 -287)"},{children:[(0,n.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(288 287)",fill:"none"}),(0,n.jsx)("path",{id:"icon",d:"M8.92,7.6l6.007-6.007a.933.933,0,0,0-1.32-1.32L7.6,6.28,1.593.273a.933.933,0,0,0-1.32,1.32L6.28,7.6.273,13.607a.933.933,0,0,0,1.32,1.32L7.6,8.92l6.007,6.007a.933.933,0,0,0,1.32-1.32Z",transform:"translate(292.4 291.4)"})]}))})},e))}},97978:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(74848),o=r(55307),a=function(e){return(0,n.jsx)(o.A,Object.assign({dataName:"CloseCircleF",viewBox:"0 0 24 24",path:(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("g",Object.assign({id:"CloseCircleF",transform:"translate(-70 -157)"},{children:[(0,n.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(70 157)",fill:"none"}),(0,n.jsx)("path",{id:"路径_20942","data-name":"路径 20942",d:"M81.6,0a9.6,9.6,0,1,0,9.6,9.6A9.611,9.611,0,0,0,81.6,0m3.627,13.16a.768.768,0,0,1-.56.24.786.786,0,0,1-.56-.227l-2.493-2.44L79.16,13.227a.775.775,0,0,1-.573.24.834.834,0,0,1-.56-.227.8.8,0,0,1,0-1.133l2.44-2.493L77.973,7.16a.785.785,0,0,1-.013-1.12.8.8,0,0,1,1.133-.013l2.493,2.44,2.44-2.493A.8.8,0,0,1,85.16,5.96a.813.813,0,0,1,.013,1.133L82.72,9.587l2.507,2.44a.8.8,0,0,1,0,1.133",transform:"translate(0.4 159.4)"})]}))})},e))}},55307:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(74848);
|
|
15
2
|
/*! *****************************************************************************
|
|
16
3
|
Copyright (c) Microsoft Corporation.
|
|
17
4
|
|
|
@@ -25,5 +12,17 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
25
12
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
26
13
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
27
14
|
PERFORMANCE OF THIS SOFTWARE.
|
|
28
|
-
***************************************************************************** */
|
|
29
|
-
|
|
15
|
+
***************************************************************************** */!function(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&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-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 o=function(e){var t,r,o=e.path,a=e.className,i=e.color,s=void 0===i?"info":i,c=e.size,l=void 0===c?"small":c,u=e.dataName,d=void 0===u?"":u,f=e.style,m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["path","className","color","size","dataName","style"]),p="paraui-v4",g="primary"===s||"secondary"===s||"info"===s||"success"===s||"warn"===s||"error"===s;return(0,n.jsx)("svg",Object.assign({className:(r="".concat(p,"-icon"),r+=" svg-icon",a&&(r+=" "+a),g&&(r+=" ".concat(p,"-icon-").concat(s)),l&&(r+=" ".concat(p,"-icon-").concat(l)),r),viewBox:"0 0 1024 1024","data-name":d,style:(t=Object.assign({},f),s&&!g&&(t.color=s),t)},m,{children:o}))}},26402:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(74848),o=r(55307),a=function(e){return(0,n.jsx)(o.A,Object.assign({dataName:"WarningCircleF",viewBox:"0 0 24 24",path:(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("g",Object.assign({id:"WarningCircleF",transform:"translate(-182 -738)"},{children:[(0,n.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(182 738)",fill:"#fff",opacity:"0.001"}),(0,n.jsx)("path",{id:"icon",d:"M10.2,0A10.2,10.2,0,1,0,20.4,10.2,10.212,10.212,0,0,0,10.2,0m0,16.222a1.063,1.063,0,1,1,1.063-1.063A1.063,1.063,0,0,1,10.2,16.222m.792-4.393a.794.794,0,1,1-1.584,0h0L8.929,5.661A1.333,1.333,0,0,1,10.2,4.181a1.331,1.331,0,0,1,1.271,1.48Z",transform:"translate(183.8 739.8)"})]}))})},e))}},30130:(e,t,r)=>{(t=r(76314)(!1)).push([e.id,".paraui-v4-message-box--message-float{position:fixed;top:3%;left:0;z-index:9999;text-align:center;width:100%;pointer-events:none}.paraui-v4-message-box .message-no-close .msg-text{max-width:384px;margin-right:0}.paraui-v4-message-box .msg-icon{position:absolute;top:11px;left:16px;line-height:0}.paraui-v4-message-box .msg-icon svg{font-size:18px;color:currentColor}.paraui-v4-message-box .msg-text{display:inline-block;max-width:352px;word-wrap:break-word;margin-right:32px;margin-left:24px;line-height:20px;word-break:break-all}.paraui-v4-message-box .msg-text--title{font-weight:700}.paraui-v4-message-box .msg-text--noicon{margin-left:0}.paraui-v4-message-box .msg-text .msg-desc{display:block;margin-top:8px;font-weight:400;word-wrap:break-word}.paraui-v4-message-box .msg-close{width:18px;height:18px;border-radius:2px;display:flex;align-items:center;justify-content:center;position:absolute;right:16px;top:11px;cursor:pointer;line-height:0;pointer-events:auto}.paraui-v4-message-box .msg-close svg{font-size:18px;color:currentColor}.paraui-v4-message-box .msg-item-fill .msg-wrapper{width:100%}.paraui-v4-message-box .msg-wrapper{position:relative;display:inline-block;margin:10px auto;min-height:40px;padding:10px 16px;border-radius:4px;font-size:14px;text-align:left}.paraui-v4-message-box .msg-wrapper.msg-wrapper-title{padding:16px 16px}.paraui-v4-message-box .msg-wrapper.msg-wrapper-title .msg-icon{top:17px}.paraui-v4-message-box .msg-wrapper.msg-wrapper-title .msg-close{top:17px}.paraui-v4-message-box .msg-info{background-color:#f0f5ff;color:#2e65e6}.paraui-v4-message-box .msg-info .msg-close{color:#2e65e6}.paraui-v4-message-box .msg-info .msg-close:hover{background-color:rgba(46,101,230,.1)}.paraui-v4-message-box .msg-warn{background-color:#fff6eb;color:#ff9326}.paraui-v4-message-box .msg-warn .msg-close{color:#ff9326}.paraui-v4-message-box .msg-warn .msg-close:hover{background-color:rgba(255,147,38,.1)}.paraui-v4-message-box .msg-error{background-color:#ffebeb;color:#f44242}.paraui-v4-message-box .msg-error .msg-close{color:#f44242}.paraui-v4-message-box .msg-error .msg-close:hover{background-color:rgba(244,66,66,.1)}.paraui-v4-message-box .msg-success{background-color:#e8fcef;color:#13bf4c}.paraui-v4-message-box .msg-success .msg-close{color:#13bf4c}.paraui-v4-message-box .msg-success .msg-close:hover{background-color:rgba(19,191,76,.1)}.paraui-v4-message-box .message-fadeInDown{animation-duration:.5s;animation-name:messageFadeInDown}@keyframes messageFadeInDown{from{opacity:0;transform:translate(0, -50px)}to{opacity:1;transform:translate(0, 0)}}",""]),e.exports=t},76314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var o=(i=n,s=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(c," */")),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(a).concat([o]).join("\n")}var i,s,c;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&o[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},45228:e=>{"use strict";
|
|
16
|
+
/*
|
|
17
|
+
object-assign
|
|
18
|
+
(c) Sindre Sorhus
|
|
19
|
+
@license MIT
|
|
20
|
+
*/var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))r.call(a,l)&&(s[l]=a[l]);if(t){i=t(a);for(var u=0;u<i.length;u++)n.call(a,i[u])&&(s[i[u]]=a[i[u]])}}return s}},21020:(e,t,r)=>{"use strict";
|
|
21
|
+
/** @license React v17.0.2
|
|
22
|
+
* react-jsx-runtime.production.min.js
|
|
23
|
+
*
|
|
24
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
25
|
+
*
|
|
26
|
+
* This source code is licensed under the MIT license found in the
|
|
27
|
+
* LICENSE file in the root directory of this source tree.
|
|
28
|
+
*/r(45228);var n=r(39155),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),t.Fragment=a("react.fragment")}var i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,a={},l=null,u=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,n)&&!c.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:o,type:e,key:l,ref:u,props:a,_owner:i.current}}t.jsx=l,t.jsxs=l},74848:(e,t,r)=>{"use strict";e.exports=r(21020)},53857:(e,t,r)=>{var n=r(85072),o=r(30130);"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||{}},85072:(e,t,r)=>{"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(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),i=[];function s(e){for(var t=-1,r=0;r<i.length;r++)if(i[r].identifier===e){t=r;break}return t}function c(e,t){for(var r={},n=[],o=0;o<e.length;o++){var a=e[o],c=t.base?a[0]+t.base:a[0],l=r[c]||0,u="".concat(c," ").concat(l);r[c]=l+1;var d=s(u),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==d?(i[d].references++,i[d].updater(f)):i.push({identifier:u,updater:v(f,t),references:1}),n.push(u)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=r.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.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 u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,r,n){var o=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function m(e,t,r){var n=r.css,o=r.media,a=r.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 p=null,g=0;function v(e,t){var r,n,o;if(t.singleton){var a=g++;r=p||(p=l(t)),n=f.bind(null,r,a,!1),o=f.bind(null,r,a,!0)}else r=l(t),n=m.bind(null,r,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var r=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var o=s(r[n]);i[o].references--}for(var a=c(e,t),l=0;l<r.length;l++){var u=s(r[l]);0===i[u].references&&(i[u].updater(),i.splice(u,1))}r=a}}}},14552:(e,t,r)=>{"use strict";r.d(t,{n:()=>n});var n="paraui-v4"},39155:t=>{"use strict";t.exports=e},69514:e=>{"use strict";e.exports=t}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={id:e,exports:{}};return r[e](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return(()=>{"use strict";o.r(a),o.d(a,{Message:()=>E,MessageBar:()=>b,default:()=>x});var e=o(39155),t=o.n(e),r=o(69514),n=o.n(r),i=o(26402),s=o(6406),c=o(39864),l=o(97978),u=o(14552);o(53857);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function p(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(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 g={info:t().createElement(i.A,null),warn:t().createElement(i.A,null),error:t().createElement(l.A,null),success:t().createElement(s.A,null)},v=function(){return window===window.top?window:window.top},b=function(r){var n=r.className,o=r.style,a=r.type,i=h(),s=C(),c=O(r.className||"");return n&&(c+=" ".concat(n)),(0,e.useEffect)((function(){var e=document.getElementById(i);return w(e,m(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){f(e,t,r[t])}))}return e}({},r),{id:s,icon:g[a]}),0,!1,!0),function(){var t=document.querySelector("#".concat(s));t&&(null==e||e.removeChild(t))}}),p(Object.values(r))),t().createElement("div",{id:i,className:c,style:o})},h=function(){return"msgbox_".concat(String(1e5*Math.random()|0+(new Date).getTime()))},y=h();function x(){return t().createElement("div",{className:"".concat(u.n,"-message-box"),id:y})}var w=function(e,r,o,a,i){var s=r.icon,l=r.text,u=r.id,d=r.type,f=r.html,m=r.close,p=r.desc,g=r.hideIcon,v=function(e){var t=e.icon,r=e.text,n=e.id,o=e.type,a=e.html,i=e.close,s=e.desc,c=e.hideIcon,l=document.createElement("div");l.className="msg-item",l.id=n||"",l.innerHTML='<div class="msg-wrapper message-fadeInDown '.concat(i?"message-close":"message-no-close"," msg-").concat(o,'">\n ').concat(t?'<div class="msg-icon"></div>':"",'\n <div class="msg-text"></div>\n ').concat(i?'<div class="msg-close"></div>':"","\n </div>\n ");var u=l.querySelector(".msg-wrapper"),d=l.querySelector(".msg-text");if(!d||!u)return l;if(a?d.innerHTML=r:d.textContent=r,s){var f=document.createElement("span");f.className="msg-desc",f.textContent=s||"",d.classList.add("msg-text--title"),u.classList.add("msg-wrapper-title"),d.appendChild(f)}c&&d.classList.add("msg-text--noicon");var m=l.querySelector(".msg-close");return m&&m.addEventListener("click",(function(){var e;document.querySelector("#".concat(n))&&(null==l||null===(e=l.parentNode)||void 0===e||e.removeChild(l),l=null)})),l}({id:u,text:l,icon:s,type:d,html:f,close:m,desc:p,hideIcon:g});i&&v&&v.classList.add("msg-item-fill"),null==e||e.appendChild(v);var b=document.querySelector("#".concat(u," .msg-icon"));b&&s&&!g&&n().render(s,b);var h=document.querySelector("#".concat(u," .msg-close"));h&&n().render(t().createElement(c.A,null),h),a&&setTimeout((function(){document.querySelector("#".concat(v.id))&&(null==e||e.removeChild(v))}),o)},j=function(e,t,r,n){var o,a,i,s=function(){return v().__msg_conf__||{}},c=g[r],l="",d="",f=!1,m=!1,p=null!==(o=s().maxCount)&&void 0!==o?o:1/0,b=null!==(a=s().duration)&&void 0!==a?a:t,h=!isNaN(b)&&b>0;"string"==typeof e?l=e:"object"==typeof e&&(l=e.text||"",d=e.desc,c=e.icon||g[r],f=e.html||!1,m=e.hideIcon||!1,e.maxCount>0&&(p=e.maxCount||1/0)),i="object"==typeof e&&"boolean"==typeof e.close?e.close:!h;var y=document.getElementById(n);y||((y=document.createElement("div")).id=n,document.body.appendChild(y)),y.className=O(""),y.className+=" "+"".concat(u.n,"-message-box--message-float");var x=C();w(y,{id:x,text:l,icon:c,type:r,html:f,close:i,desc:d,hideIcon:m},b,h),S(y,p)},O=function(e){return"".concat(u.n,"-message-box").concat(e?" ".concat(e):"")},C=function(){return"msgitem_".concat(String(1e5*Math.random()|0+(new Date).getTime()))},S=function(e,t){var r;if(e&&(null===(r=e.children)||void 0===r?void 0:r.length)){var n=e.children,o=n.length;if(o>t)for(var a=0;a<o;a++){var i;if(a<t&&n[a])null===(i=n[a].parentNode)||void 0===i||i.removeChild(n[a])}}},_=function(e){var t=document.getElementById(e);t&&(t.innerHTML="")},E={info:function(e){return j(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3,"info",y)},warn:function(e){return j(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3,"warn",y)},error:function(e){return j(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3,"error",y)},success:function(e){return j(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3,"success",y)},clear:function(){return _(y)},destroyAll:function(){return _(y)},config:function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v().__msg_conf__=e}(e)}}})(),a})()));
|
package/umd/Modal.js
CHANGED
|
@@ -35,7 +35,7 @@ Ye=function(){return t};var e,t={},n=Object.prototype,o=n.hasOwnProperty,r=Objec
|
|
|
35
35
|
*
|
|
36
36
|
* This source code is licensed under the MIT license found in the
|
|
37
37
|
* LICENSE file in the root directory of this source tree.
|
|
38
|
-
*/n(45228);var o=n(39155),r=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;r=i("react.element"),t.Fragment=i("react.fragment")}var a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var o,i={},u=null,s=null;for(o in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(s=t.ref),t)c.call(t,o)&&!l.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===i[o]&&(i[o]=t[o]);return{$$typeof:r,type:e,key:u,ref:s,props:i,_owner:a.current}}t.jsx=u,t.jsxs=u},74848:(e,t,n)=>{"use strict";e.exports=n(21020)},43591:(e,t,n)=>{"use strict";n.d(t,{default:()=>E});var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var c=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,u=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function i(){n&&(n=!1,e()),o&&l()}function c(){a(i)}function l(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(c,t);r=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),s=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=g(0,0,0,0);function d(e){return parseFloat(e)||0}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var o=p(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=d(i)}return t}(o),i=r.left+r.right,a=r.top+r.bottom,c=d(o.width),l=d(o.height);if("border-box"===o.boxSizing&&(Math.round(c+i)!==t&&(c-=v(o,"left","right")+i),Math.round(l+a)!==n&&(l-=v(o,"top","bottom")+a)),!function(e){return e===p(e).document.documentElement}(e)){var u=Math.round(c+i)-t,s=Math.round(l+a)-n;1!==Math.abs(u)&&(c-=u),1!==Math.abs(s)&&(l-=s)}return g(r.left,r.top,c,l)}var h="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return r?h(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):m(e):f}function g(e,t,n,o){return{x:e,y:t,width:n,height:o}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),w=function(e,t){var n,o,r,i,a,c,l,u=(o=(n=t).x,r=n.y,i=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(c.prototype),s(l,{x:o,y:r,width:i,height:a,top:r,right:o+i,bottom:a+r,left:o}),l);s(this,{target:e,contentRect:u})},A=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new o,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new w(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),O="undefined"!=typeof WeakMap?new WeakMap:new o,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance(),o=new A(t,n,this);O.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=O.get(this))[e].apply(t,arguments)}}));const E=void 0!==i.ResizeObserver?i.ResizeObserver:x},10458:(e,t,n)=>{var o=n(85072),r=n(16543);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},54497:(e,t,n)=>{var o=n(85072),r=n(45848);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},53112:(e,t,n)=>{var o=n(85072),r=n(11057);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},81173:(e,t,n)=>{var o=n(85072),r=n(26468);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},5276:(e,t,n)=>{var o=n(85072),r=n(1995);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},20735:(e,t,n)=>{var o=n(85072),r=n(17680);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},33981:(e,t,n)=>{var o=n(85072),r=n(96742);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},85072:(e,t,n)=>{"use strict";var o,r=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function c(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},o=[],r=0;r<e.length;r++){var i=e[r],l=t.base?i[0]+t.base:i[0],u=n[l]||0,s="".concat(l," ").concat(u);n[l]=u+1;var p=c(s),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==p?(a[p].references++,a[p].updater(f)):a.push({identifier:s,updater:h(f,t),references:1}),o.push(s)}return o}function u(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var r=n.nc;r&&(o.nonce=r)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.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(t)}return t}var s,p=(s=[],function(e,t){return s[e]=t,s.filter(Boolean).join("\n")});function f(e,t,n,o){var r=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=p(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t,n){var o=n.css,r=n.media,i=n.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var v=null,m=0;function h(e,t){var n,o,r;if(t.singleton){var i=m++;n=v||(v=u(t)),o=f.bind(null,n,i,!1),r=f.bind(null,n,i,!0)}else n=u(t),o=d.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var r=c(n[o]);a[r].references--}for(var i=l(e,t),u=0;u<n.length;u++){var s=c(n[u]);0===a[s].references&&(a[s].updater(),a.splice(s,1))}n=i}}}},69004:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var o=n(39155),r=n.n(o),i=n(17234),a=n(14552),c=n(32663);n(10458);n(54497);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.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 l(e,t)}(e,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.")}()}const s=function(e){var t=e.children,n=e.arrow,l=void 0!==n&&n,s=e.placement,p=void 0===s?"bottom-start":s,f=e.tips,d=void 0===f?"":f,v=e.className,m=void 0===v?"":v,h=e.beyondText,b=void 0===h||h,g=e.interactive,y=void 0===g||g,w=e.tipMaxWidth,A=e.style,O=(0,o.useRef)(),x=(0,o.useRef)(),E=u((0,o.useState)(""),2),C=E[0],k=E[1];(0,o.useEffect)((function(){k(d)}),[d]);var S;return r().createElement(i.default,{arrow:l,title:C,placement:p,interactive:y,boundariesElement:"viewport",overlayClassName:"".concat(a.n,"-auto-tips-tooltip"),maxWidth:w},r().createElement("div",{ref:O,className:(S="".concat(a.n,"-auto-tips"),function(){var e=navigator.userAgent;if(/^((?!chrome|android).)*safari/i.test(e))return!0}()&&(S+=" ".concat(a.n,"-auto-tips-safari")),m&&(S+=" ".concat(m)),S),onMouseOver:function(){var e="",n=O.current,o=n.getBoundingClientRect(),r=x.current.getBoundingClientRect();O.current&&((0,c.isIE)()?o.width>r.width&&(e=d||(b?n.innerText:t)):r.width>o.width&&(e=d||(b?n.innerText:t))),k(e)},style:A},r().createElement("div",{className:"auto-tips-content",ref:x},t)))}},59079:(e,t,n)=>{"use strict";n.d(t,{default:()=>x});var o=n(39155),r=n.n(o),i=n(20053),a=n(51078),c=n(17234),l=n(15664),u=n(96342),s=n(7569);const p={zh:{moreActions:"更多操作"},en:{moreActions:"More actions"}};var f=n(14552),d=n(69004);n(53112);function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){v(e,t,n[t])}))}return e}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){b(e,t,n[t])}))}return e}function y(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function w(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.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 h(e,t)}(e,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 O=function(e){var t=e.variant,n=void 0===t?"contained":t,l=e.size,u=void 0===l?"large":l,s=e.className,p=e.disabled,d=void 0!==p&&p,v=e.children,m=e.startIcon,h=e.endIcon,b=e.loading,O=void 0!==b&&b,x=e.toolTipTitle,E=void 0===x?"":x,C=e.TooltipProps,k=e.danger,S=void 0!==k&&k,P=e.href,T=e.target,j=w(e,["variant","size","className","disabled","children","startIcon","endIcon","loading","toolTipTitle","TooltipProps","danger","href","target"]),M=A((0,o.useState)(!1),2),N=M[0],D=M[1],_="href"in e,L=function(){return(0,i.A)("".concat(f.n,"-button"),s,"".concat(f.n,"-button-").concat(n),"".concat(f.n,"-button-").concat(u),N&&"".concat(f.n,"-button-loading"),S&&!d&&"".concat(f.n,"-button-dangerous"),_&&"".concat(f.n,"-button-link"),_&&d&&"".concat(f.n,"-button-link-disabled"))},R=function(e){if(!N)return"start"===e&&m?r().createElement("span",{className:"button-icon"},m):"end"===e&&h?r().createElement("span",{className:"button-icon button-icon-end"},h):null;if("object"==typeof O){var t=O.delay||0;setTimeout((function(){return D(!1)}),t)}return"start"===e?r().createElement("span",{className:"button-icon button-icon-loading"},r().createElement(a.A,null)):null},I=function(){return _?r().createElement("a",y(g({},j),{href:P,target:T,className:L()}),R("start"),v&&r().createElement("span",{className:"button-label"},v),R("end")):r().createElement("button",y(g({},j),{disabled:d,type:"button",className:L()}),R("start"),v&&r().createElement("span",{className:"button-label"},v),R("end"))};return(0,o.useEffect)((function(){D(!!O)}),[O]),d&&E?r().createElement(c.default,y(g({arrow:!1,placement:"bottomLeft"},C),{disabled:d,title:E}),r().createElement("span",{className:"".concat(f.n,"-button--disabled")},I())):I()};O.IconButton=function(e){var t=e.variant,n=void 0===t?"contained":t,l=e.size,u=void 0===l?"large":l,s=e.toolTipTitle,p=void 0===s?"":s,d=e.children,v=e.className,m=e.disabled,h=void 0!==m&&m,b=e.loading,O=void 0!==b&&b,x=e.TooltipProps,E=e.danger,C=void 0!==E&&E,k=e.href,S=e.target,P=w(e,["variant","size","toolTipTitle","children","className","disabled","loading","TooltipProps","danger","href","target"]),T=A((0,o.useState)(!1),2),j=T[0],M=T[1],N="href"in e,D=function(){return(0,i.A)("".concat(f.n,"-button ").concat(f.n,"-icon-button"),v,"".concat(f.n,"-icon-button-").concat(n),"".concat(f.n,"-icon-button-").concat(u),j&&"".concat(f.n,"-icon-button-loading"),C&&!h&&"".concat(f.n,"-icon-button-dangerous"),N&&"".concat(f.n,"-button-link"),N&&h&&"".concat(f.n,"-button-link-disabled"))},_=function(){if(!j)return d;if("object"==typeof O){var e=O.delay||0;setTimeout((function(){return M(!1)}),e)}return r().createElement("span",{className:"button-loading-icon"},r().createElement(a.A,null))},L=function(){return N?r().createElement("a",y(g({},P),{href:k,target:S,className:D()}),_()):r().createElement("button",y(g({},P),{disabled:h,type:"button",className:D()}),_())};return(0,o.useEffect)((function(){M(!!O)}),[O]),p?r().createElement(c.default,y(g({key:+j,arrow:!1,placement:"bottomLeft"},x),{disabled:h,title:p}),h?r().createElement("span",{className:"".concat(f.n,"-button--disabled")},L()):L()):L()},O.SplitButton=function(e){var t,n=e.buttonText,a=e.options,v=void 0===a?[]:a,h=e.className,b=e.style,g=e.disabled,y=void 0!==g&&g,w=e.onClick,A=e.optionRender,O=e.placement,E=void 0===O?"bottomLeft":O,C=e.buttonProps,k=e.iconButton,S=void 0!==k&&k,P=e.popperStyle,T=e.popperClassName,j=void 0===T?"":T,M=e.getPopupContainer,N=e.variant,D=e.hideStartIcon,_=e.optionMaxWidth,L=void 0===_?"500px":_,R=e.optionTipsPlacement,I=void 0===R?"top-start":R,H=(0,s.A)("Button",p),z=(0,o.useRef)(),F=function(e,t,n){var o;e.disabled?n.stopPropagation():(null===(o=z.current)||void 0===o||o.classList.remove("".concat(f.n,"-button-split--active")),null==w||w(e,n))};return r().createElement("div",{className:(0,i.A)("".concat(f.n,"-button-split"),h),style:b},r().createElement(u.default,{overlay:(t=function(e){var t=(null==A?void 0:A(e))||r().createElement(d.default,{placement:I},e.label),n=e.disabled,o=e.disabledTooltip;return n&&o?r().createElement(c.default,m({disabled:!0},o),(null==A?void 0:A(e))||e.label):t},r().createElement("div",{className:"".concat(f.n,"-button-split-list")},r().createElement("ul",null,v.map((function(e,n){return Array.isArray(e)?function(e,n){return r().createElement("li",{className:"split-li-group",key:n},e.map((function(e,o){var a="".concat(n,"-").concat(o);return r().createElement("div",{key:a,className:(0,i.A)("split-li",e.disabled?"split-li--disabled":"split-li--hover"),style:{maxWidth:L},onClick:function(t){return F(e,0,t)}},t(e))})))}(e,n):r().createElement("li",{key:n,className:(0,i.A)("split-li",e.disabled?"split-li--disabled":"split-li--hover"),style:{maxWidth:L},onClick:function(t){return F(e,0,t)}},t(e))}))))),placement:E,overlayStyle:P,overlayClassName:j,getPopupContainer:M},S?N?r().createElement(x.IconButton,m({variant:N,size:"small",disabled:y},C),null!=n?n:H({id:"moreActions"})):r().createElement(x.IconButton,m({variant:"text",size:"small",disabled:y},C),null!=n?n:H({id:"moreActions"})):r().createElement(x,m({variant:N||"outlined",size:"large",startIcon:D?null:r().createElement(l.A,null),disabled:y},C),null!=n?n:H({id:"moreActions"}))))};const x=O},6564:(e,t,n)=>{"use strict";n.d(t,{l5:()=>r});n(74353),n(25400);function o(e,t){var n,r,i,a=e.parentNode,c=(null==a||null===(n=a.nodeName)||void 0===n?void 0:n.toLowerCase())||"";if(["html","body","#document"].includes(c))return null;if(r=a,null!=(i=window.HTMLElement)&&"undefined"!=typeof Symbol&&i[Symbol.hasInstance]?i[Symbol.hasInstance](r):r instanceof i){var l=window.getComputedStyle(a).position;if(new RegExp(t).test(l))return a}return o(a,t)}function r(e,t){var n=document.getElementsByClassName("".concat(t))[0];if(n){var r=o(n,e?"fixed":"absolute");r&&(e?(r.style.position="absolute",r.style.left="0",r.style.top="0"):(r.style.position="fixed",r.style.left="-9999px",r.style.top="-9999px"))}}},96342:(e,t,n)=>{"use strict";n.d(t,{default:()=>M});var o=n(39155),r=n.n(o),i=n(89379),a=n(64467),c=n(3453),l=n(80045),u=n(1748),s=n(46942),p=n.n(s),f={adjustX:1,adjustY:1},d=[0,0];const v={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:d}};var m=n(16928),h=n(25371),b=m.A.ESC,g=m.A.TAB;var y=n(8719),w=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function A(e,t){var n=e.arrow,r=void 0!==n&&n,s=e.prefixCls,f=void 0===s?"rc-dropdown":s,d=e.transitionName,m=e.animation,A=e.align,O=e.placement,x=void 0===O?"bottomLeft":O,E=e.placements,C=void 0===E?v:E,k=e.getPopupContainer,S=e.showAction,P=e.hideAction,T=e.overlayClassName,j=e.overlayStyle,M=e.visible,N=e.trigger,D=void 0===N?["hover"]:N,_=e.autoFocus,L=(0,l.A)(e,w),R=o.useState(),I=(0,c.A)(R,2),H=I[0],z=I[1],F="visible"in e?M:H,V=o.useRef(null);o.useImperativeHandle(t,(function(){return V.current}));var W=o.useRef(null),B="".concat(f,"-menu");!function(e){var t=e.visible,n=e.setTriggerVisible,r=e.triggerRef,i=e.menuRef,a=e.onVisibleChange,c=e.autoFocus,l=o.useRef(!1),u=function(){var e,o,i,c;t&&r.current&&(null===(e=r.current)||void 0===e||null===(o=e.triggerRef)||void 0===o||null===(i=o.current)||void 0===i||null===(c=i.focus)||void 0===c||c.call(i),n(!1),"function"==typeof a&&a(!1))},s=function(){var e,t;null===(e=i.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e),l.current=!0},p=function(e){var t;switch(e.keyCode){case b:u();break;case g:!l.current&&(null===(t=i.current)||void 0===t?void 0:t.focus)?(e.preventDefault(),s()):u()}};o.useEffect((function(){return t?(window.addEventListener("keydown",p),c&&(0,h.A)(s,3),function(){window.removeEventListener("keydown",p),l.current=!1}):function(){l.current=!1}}),[t])}({visible:F,setTriggerVisible:z,triggerRef:V,menuRef:W,onVisibleChange:e.onVisibleChange,autoFocus:_});var U,$,Y,K,X,G,q=function(){var t=e.overlay;return"function"==typeof t?t():t},Z=function(t){var n=e.onOverlayClick,o=q().props;z(!1),n&&n(t),o.onClick&&o.onClick(t)},Q=function(){var e,t=q(),n=(0,y.K4)(W,t.ref),i=(e={prefixCls:B},(0,a.A)(e,"data-dropdown-inject",!0),(0,a.A)(e,"onClick",Z),(0,a.A)(e,"ref",(0,y.f3)(t)?n:void 0),e);return"string"==typeof t.type&&(delete i.prefixCls,delete i["data-dropdown-inject"]),o.createElement(o.Fragment,null,r&&o.createElement("div",{className:"".concat(f,"-arrow")}),o.cloneElement(t,i))},J=P;return J||-1===D.indexOf("contextMenu")||(J=["click"]),o.createElement(u.A,(0,i.A)((0,i.A)({builtinPlacements:C},L),{},{prefixCls:f,ref:V,popupClassName:p()(T,(0,a.A)({},"".concat(f,"-show-arrow"),r)),popupStyle:j,action:D,showAction:S,hideAction:J||[],popupPlacement:x,popupAlign:A,popupTransitionName:d,popupAnimation:m,popupVisible:F,stretch:(X=e.minOverlayWidthMatchTrigger,G=e.alignPoint,("minOverlayWidthMatchTrigger"in e?X:!G)?"minWidth":""),popup:"function"==typeof e.overlay?Q:Q(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;z(t),"function"==typeof n&&n(t)},getPopupContainer:k}),($=e.children,Y=$.props?$.props:{},K=p()(Y.className,void 0!==(U=e.openClassName)?U:"".concat(f,"-open")),F&&$?o.cloneElement($,{className:K}):$))}const O=o.forwardRef(A);var x=n(14552),E=n(25400),C=n(20053),k=n(6564),S=n(32663);n(81173);function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var j=function(e){var t,n,o,i=r().useRef(),a=(0,E.A)(i,e.getPopupContainer),c=r().useRef((0,S.UUID)());return r().createElement(O,T(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){P(e,t,n[t])}))}return e}({},e),{prefixCls:"".concat(x.g,"-dropdown"),overlayClassName:(0,C.A)("".concat(x.n,"-dropdown"),e.overlayClassName,c.current),animation:"slide-up",align:{offset:(t=e.placement,null!==(o=null===(n={top:{offset:[0,-8]},topLeft:{offset:[0,-8]},topRight:{offset:[0,-8]},bottom:{offset:[0,8]},bottomRight:{offset:[0,8]},bottomLeft:{offset:[0,8]}}[t])||void 0===n?void 0:n.offset)&&void 0!==o?o:[0,0])},getPopupContainer:a,ref:i,onVisibleChange:function(t){var n;null===(n=e.onVisibleChange)||void 0===n||n.call(e,t),e.isolationPopupOnHide&&(0,k.l5)(t,c.current)}}),e.children)};j.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,trigger:["hover"],placement:"bottomRight",isolationPopupOnHide:!1};const M=j},14552:(e,t,n)=>{"use strict";n.d(t,{g:()=>r,n:()=>o});var o="paraui-v4",r="component"},4205:(e,t,n)=>{"use strict";n.d(t,{default:()=>f,getConfirmLocale:()=>s});var o=n(39155),r=n.n(o),i=n(16217),a=n(32663);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){c(e,t,n[t])}))}return e}var u=l({},n(89601).A.zh),s=function(){return u},p=r().createContext({language:(0,a.GetLanguage)(),intlFormat:function(e,t){return function(e,n){var o=(0,a.GetLanguage)();return(0,i.Is)({ops:e,i18nData:{},lang:o,params:n,defI18nData:t})}},componentsProps:{}});const f=p},16217:(e,t,n)=>{"use strict";n.d(t,{Is:()=>r});n(39155);var o=function(e,t){if(!t)return e;e=e.replace(/\"/g,'\\"');var n=/({[^{}]+})/g;return e.split(n).map((function(e){if(e.match(n)){var o=e.replace(/({|})/g,""),r=function(e,t,n){var o=t.replace(/\[(\d+)\]/g,".$1").split("."),r=e,i=!0,a=!1,c=void 0;try{for(var l,u=o[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var s=l.value;if(void 0===(r=Object(r)[s]))return n}}catch(e){a=!0,c=e}finally{try{i||null==u.return||u.return()}finally{if(a)throw c}}return r}(t,o);return void 0===r?o:r}return e}))},r=function(e){var t,n,r,i,a=e.ops,c=e.i18nData,l=e.lang,u=e.params,s=e.defI18nData;if("string"==typeof a)n=a;else if("object"==typeof a){if("string"!=typeof a.id)return'i18n intl object "id" is missing';n=a.id}void 0!==n&&(void 0===(t=null===(r=c[l])||void 0===r?void 0:r[n])&&s&&(t=null===(i=s[l])||void 0===i?void 0:i[n]));return"string"!=typeof t?"{".concat(n,"}"):o(t,u)}},7569:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(39155),r=n.n(o),i=n(4205);const a=function(e,t){var n=r().useContext(i.default).intlFormat;return t.zh_CN=t.zh,t["zh-CN"]=t.zh,t.en_US=t.en,t["en-US"]=t.en,n&&n(e,t)}},25400:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(39155),r=n.n(o);function i(e){var t,n,o,r,a,c,l,u,s,p=e.parentNode||e.ownerDocument,f=(null==p||null===(t=p.nodeName)||void 0===t?void 0:t.toLowerCase())||"";return["html","body","#document"].includes(f)?null==e||null===(n=e.ownerDocument)||void 0===n?void 0:n.body:(u=p,(null!=(s=window.HTMLElement)&&"undefined"!=typeof Symbol&&s[Symbol.hasInstance]?s[Symbol.hasInstance](u):u instanceof s)&&(o=p,r=window.getComputedStyle(o),a=r.overflow,c=r.overflowX,l=r.overflowY,/auto|scroll|overlay/.test(a+l+c))?p:i(p))}function a(e,t){var n=r().useRef();return r().useEffect((function(){return function(){n.current&&(n.current.style.position="")}}),[]),function(o){var r;if(t)r=t(o)||document.body;else{var a,c,l,u,s=null===(c=e.current)||void 0===c||null===(a=c.getRootDomNode)||void 0===a?void 0:a.call(c);if(s)(r=i(s)).scrollHeight<=r.clientHeight&&(r=document.body);else r=document.body;if("body"!==(null===(l=r.nodeName)||void 0===l?void 0:l.toLowerCase()))"static"===(null===(u=window.getComputedStyle(r))||void 0===u?void 0:u.position)&&(r.style.position="relative");n.current=r}return r}}},89601:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const o={cancel:"Cancel",ok:"Ok"},r={cancel:"取 消",ok:"确 定"},i={zh:r,en:o,"zh-CN":r,"en-US":o}},17234:(e,t,n)=>{"use strict";n.d(t,{default:()=>C});var o=n(39155),r=n.n(o),i=n(34307),a=n(94934),c=n(20053),l=n(14552);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){u(e,t,n[t])}))}return e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var f={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function v(e){return"boolean"==typeof e?e?f:d:s({},d,e)}function m(e){var t=r().isValidElement(e)?e:r().createElement("span",null,e);if("button"===t.type&&t.props.disabled){var n=function(e,t){var n={},o=s({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete o[t])})),{picked:n,omitted:o}}(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=n.picked,i=n.omitted,a=p(s({display:"inline-block"},o),{cursor:"not-allowed",width:t.props.block?"100%":null}),u=p(s({},i),{pointerEvents:"none"}),f=r().cloneElement(t,{style:u,className:null});return r().createElement("span",{style:a,className:(0,c.A)(t.props.className,"".concat(l.g,"-tooltip-disabled-compatible-wrapper"))},f)}return t}function h(e){return{"bottom-end":"bottomRight","bottom-start":"bottomLeft","left-end":"leftBottom","left-start":"leftTop","right-end":"rightBottom","right-start":"rightTop","top-end":"topRight","top-start":"topLeft"}[e]||e}var b=n(2842);n(33981);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){y(e,t,n[t])}))}return e}function A(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function O(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.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 g(e,t)}(e,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 E=r().forwardRef((function(e,t){var n,o=x(r().useState(e.defaultVisible),2),u=o[0],f=o[1],d=r().useRef(),g=r().useRef(),y=x(r().useState([0,0]),2),E=y[0],C=y[1];r().useEffect((function(){var t;("visible"in e||"open"in e)&&f(!!(null!==(t=e.visible)&&void 0!==t?t:e.open))}),[null!==(n=e.visible)&&void 0!==n?n:e.open]);var k=function(){var t=e.title;return!t&&0!==t},S=function(){var t=e.builtinPlacements,n=e.autoAdjustOverflow;return t||function(e){var t=e.horizontalArrowShift,n=void 0===t?16:t,o=e.verticalArrowShift,r=void 0===o?8:o,i=e.autoAdjustOverflow,c={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tc"],offset:[-n,-8]},leftTop:{points:["tr","cl"],offset:[-8,-r]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-r]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,r]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,r]}};return Object.keys(c).forEach((function(e){var t,n;c[e]=p(s({},a.DD[e]),{offset:(t=e,n=h(t),{left:{offset:[-8,0]},right:{offset:[8,0]},top:{offset:[0,-8]},bottom:{offset:[0,8]},topLeft:{offset:[0,-8]},leftTop:{offset:[-8,0]},topRight:{offset:[0,-8]},rightTop:{offset:[8,0]},bottomRight:{offset:[0,8]},rightBottom:{offset:[8,0]},bottomLeft:{offset:[0,8]},leftBottom:{offset:[-8,0]}}[n]).offset,overflow:v(i)}),c[e].ignoreShake=!0})),c}({autoAdjustOverflow:n})},P=e.prefixCls,T=void 0===P?"".concat(l.g,"-tooltip"):P,j=e.getPopupContainer,M=e.overlayClassName,N=e.overlayInnerStyle,D=e.overlayStyle,_=e.children,L=e.title,R=e.placement,I=e.isPopover,H=e.followCursor,z=e.maxWidth,F=e.disabled,V=O(e,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),W=u;"visible"in e||"open"in e||!k()||(W=!1);var B=(0,c.A)(!I&&"".concat(l.n,"-tooltip"),M),U=w({},D);z&&(U.maxWidth=z);var $={targetOffset:E};return e.offset&&($.offset=e.offset),r().createElement(i.A,A(w({},V),{prefixCls:T,placement:H?"top":h(R),overlayClassName:B,getTooltipContainer:j,ref:t||g,builtinPlacements:S(),overlay:r().createElement(r().Fragment,null,F&&r().createElement(b.A,{className:"disabled-svg"}),L),visible:W,align:$,onVisibleChange:function(t){var n;("visible"in e||"open"in e||f(!k()&&t),k())||(null===(n=e.onVisibleChange)||void 0===n||n.call(e,t))},onPopupAlign:function(e,t){var n=S(),o=Object.keys(n).find((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}));if(o){var r=e.getBoundingClientRect(),i={top:"50%",left:"50%"};o.indexOf("top")>=0||o.indexOf("Bottom")>=0?i.top="".concat(r.height-t.offset[1],"px"):(o.indexOf("Top")>=0||o.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),o.indexOf("left")>=0||o.indexOf("Right")>=0?i.left="".concat(r.width-t.offset[0],"px"):(o.indexOf("right")>=0||o.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:U,overlayInnerStyle:N,arrowContent:null,motion:{motionName:"".concat(l.g,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),H?r().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(e){if(d.current){var t,n,o,r,i=(null===(r=g.current)||void 0===r||null===(o=r.popupRef)||void 0===o||null===(n=o.current)||void 0===n||null===(t=n.getElement())||void 0===t?void 0:t.offsetHeight)||0,a=0===i?60:30,c=d.current.getBoundingClientRect(),l=c.x,u=c.y,s=c.width,p=e.clientX-(l+s/2),f=e.clientY-u+i+a;setTimeout((function(){C([-p,-f])}))}}},m(_)):m(_))}));E.displayName="Tooltip",E.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};const C=E},32663:e=>{"use strict";e.exports=n},39155:t=>{"use strict";t.exports=e},69514:e=>{"use strict";e.exports=t},46942:(e,t)=>{var n;
|
|
38
|
+
*/n(45228);var o=n(39155),r=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;r=i("react.element"),t.Fragment=i("react.fragment")}var a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var o,i={},u=null,s=null;for(o in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(s=t.ref),t)c.call(t,o)&&!l.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===i[o]&&(i[o]=t[o]);return{$$typeof:r,type:e,key:u,ref:s,props:i,_owner:a.current}}t.jsx=u,t.jsxs=u},74848:(e,t,n)=>{"use strict";e.exports=n(21020)},43591:(e,t,n)=>{"use strict";n.d(t,{default:()=>E});var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var c=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,u=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function i(){n&&(n=!1,e()),o&&l()}function c(){a(i)}function l(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(c,t);r=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),s=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=g(0,0,0,0);function d(e){return parseFloat(e)||0}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var o=p(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=d(i)}return t}(o),i=r.left+r.right,a=r.top+r.bottom,c=d(o.width),l=d(o.height);if("border-box"===o.boxSizing&&(Math.round(c+i)!==t&&(c-=v(o,"left","right")+i),Math.round(l+a)!==n&&(l-=v(o,"top","bottom")+a)),!function(e){return e===p(e).document.documentElement}(e)){var u=Math.round(c+i)-t,s=Math.round(l+a)-n;1!==Math.abs(u)&&(c-=u),1!==Math.abs(s)&&(l-=s)}return g(r.left,r.top,c,l)}var h="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return r?h(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):m(e):f}function g(e,t,n,o){return{x:e,y:t,width:n,height:o}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),w=function(e,t){var n,o,r,i,a,c,l,u=(o=(n=t).x,r=n.y,i=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(c.prototype),s(l,{x:o,y:r,width:i,height:a,top:r,right:o+i,bottom:a+r,left:o}),l);s(this,{target:e,contentRect:u})},A=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new o,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new w(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),O="undefined"!=typeof WeakMap?new WeakMap:new o,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance(),o=new A(t,n,this);O.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=O.get(this))[e].apply(t,arguments)}}));const E=void 0!==i.ResizeObserver?i.ResizeObserver:x},10458:(e,t,n)=>{var o=n(85072),r=n(16543);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},54497:(e,t,n)=>{var o=n(85072),r=n(45848);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},53112:(e,t,n)=>{var o=n(85072),r=n(11057);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},81173:(e,t,n)=>{var o=n(85072),r=n(26468);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},5276:(e,t,n)=>{var o=n(85072),r=n(1995);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},20735:(e,t,n)=>{var o=n(85072),r=n(17680);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},33981:(e,t,n)=>{var o=n(85072),r=n(96742);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},85072:(e,t,n)=>{"use strict";var o,r=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function c(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},o=[],r=0;r<e.length;r++){var i=e[r],l=t.base?i[0]+t.base:i[0],u=n[l]||0,s="".concat(l," ").concat(u);n[l]=u+1;var p=c(s),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==p?(a[p].references++,a[p].updater(f)):a.push({identifier:s,updater:h(f,t),references:1}),o.push(s)}return o}function u(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var r=n.nc;r&&(o.nonce=r)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.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(t)}return t}var s,p=(s=[],function(e,t){return s[e]=t,s.filter(Boolean).join("\n")});function f(e,t,n,o){var r=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=p(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t,n){var o=n.css,r=n.media,i=n.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var v=null,m=0;function h(e,t){var n,o,r;if(t.singleton){var i=m++;n=v||(v=u(t)),o=f.bind(null,n,i,!1),r=f.bind(null,n,i,!0)}else n=u(t),o=d.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var r=c(n[o]);a[r].references--}for(var i=l(e,t),u=0;u<n.length;u++){var s=c(n[u]);0===a[s].references&&(a[s].updater(),a.splice(s,1))}n=i}}}},69004:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var o=n(39155),r=n.n(o),i=n(17234),a=n(14552),c=n(32663);n(10458);n(54497);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.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 l(e,t)}(e,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.")}()}const s=function(e){var t=e.children,n=e.arrow,l=void 0!==n&&n,s=e.placement,p=void 0===s?"bottom-start":s,f=e.tips,d=void 0===f?"":f,v=e.className,m=void 0===v?"":v,h=e.beyondText,b=void 0===h||h,g=e.interactive,y=void 0===g||g,w=e.tipMaxWidth,A=e.style,O=(0,o.useRef)(),x=(0,o.useRef)(),E=u((0,o.useState)(""),2),C=E[0],k=E[1];(0,o.useEffect)((function(){k(d)}),[d]);var S;return r().createElement(i.default,{arrow:l,title:C,placement:p,interactive:y,boundariesElement:"viewport",overlayClassName:"".concat(a.n,"-auto-tips-tooltip"),maxWidth:w},r().createElement("div",{ref:O,className:(S="".concat(a.n,"-auto-tips"),function(){var e=navigator.userAgent;if(/^((?!chrome|android).)*safari/i.test(e))return!0}()&&(S+=" ".concat(a.n,"-auto-tips-safari")),m&&(S+=" ".concat(m)),S),onMouseOver:function(){var e="",n=O.current,o=n.getBoundingClientRect(),r=x.current.getBoundingClientRect();O.current&&((0,c.isIE)()?o.width>r.width&&(e=d||(b?n.innerText:t)):r.width>o.width&&(e=d||(b?n.innerText:t))),k(e)},style:A},r().createElement("div",{className:"auto-tips-content",ref:x},t)))}},59079:(e,t,n)=>{"use strict";n.d(t,{default:()=>x});var o=n(39155),r=n.n(o),i=n(20053),a=n(51078),c=n(17234),l=n(15664),u=n(96342),s=n(7569);const p={zh:{moreActions:"更多操作"},en:{moreActions:"More actions"}};var f=n(14552),d=n(69004);n(53112);function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){v(e,t,n[t])}))}return e}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){b(e,t,n[t])}))}return e}function y(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function w(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.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 h(e,t)}(e,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 O=function(e){var t=e.variant,n=void 0===t?"contained":t,l=e.size,u=void 0===l?"large":l,s=e.className,p=e.disabled,d=void 0!==p&&p,v=e.children,m=e.startIcon,h=e.endIcon,b=e.loading,O=void 0!==b&&b,x=e.toolTipTitle,E=void 0===x?"":x,C=e.TooltipProps,k=e.danger,S=void 0!==k&&k,P=e.href,T=e.target,j=w(e,["variant","size","className","disabled","children","startIcon","endIcon","loading","toolTipTitle","TooltipProps","danger","href","target"]),M=A((0,o.useState)(!1),2),N=M[0],D=M[1],_="href"in e,L=function(){return(0,i.A)("".concat(f.n,"-button"),s,"".concat(f.n,"-button-").concat(n),"".concat(f.n,"-button-").concat(u),N&&"".concat(f.n,"-button-loading"),S&&!d&&"".concat(f.n,"-button-dangerous"),_&&"".concat(f.n,"-button-link"),_&&d&&"".concat(f.n,"-button-link-disabled"))},R=function(e){if(!N)return"start"===e&&m?r().createElement("span",{className:"button-icon"},m):"end"===e&&h?r().createElement("span",{className:"button-icon button-icon-end"},h):null;if("object"==typeof O){var t=O.delay||0;setTimeout((function(){return D(!1)}),t)}return"start"===e?r().createElement("span",{className:"button-icon button-icon-loading"},r().createElement(a.A,null)):null},I=function(){return _?r().createElement("a",y(g({},j),{href:P,target:T,className:L()}),R("start"),v&&r().createElement("span",{className:"button-label"},v),R("end")):r().createElement("button",y(g({},j),{disabled:d,type:"button",className:L()}),R("start"),v&&r().createElement("span",{className:"button-label"},v),R("end"))};return(0,o.useEffect)((function(){D(!!O)}),[O]),E?r().createElement(c.default,y(g({arrow:!1,placement:"bottomLeft"},C),{disabled:d,title:E}),d?r().createElement("span",{className:"".concat(f.n,"-button--disabled")},I()):I()):I()};O.IconButton=function(e){var t=e.variant,n=void 0===t?"contained":t,l=e.size,u=void 0===l?"large":l,s=e.toolTipTitle,p=void 0===s?"":s,d=e.children,v=e.className,m=e.disabled,h=void 0!==m&&m,b=e.loading,O=void 0!==b&&b,x=e.TooltipProps,E=e.danger,C=void 0!==E&&E,k=e.href,S=e.target,P=w(e,["variant","size","toolTipTitle","children","className","disabled","loading","TooltipProps","danger","href","target"]),T=A((0,o.useState)(!1),2),j=T[0],M=T[1],N="href"in e,D=function(){return(0,i.A)("".concat(f.n,"-button ").concat(f.n,"-icon-button"),v,"".concat(f.n,"-icon-button-").concat(n),"".concat(f.n,"-icon-button-").concat(u),j&&"".concat(f.n,"-icon-button-loading"),C&&!h&&"".concat(f.n,"-icon-button-dangerous"),N&&"".concat(f.n,"-button-link"),N&&h&&"".concat(f.n,"-button-link-disabled"))},_=function(){if(!j)return d;if("object"==typeof O){var e=O.delay||0;setTimeout((function(){return M(!1)}),e)}return r().createElement("span",{className:"button-loading-icon"},r().createElement(a.A,null))},L=function(){return N?r().createElement("a",y(g({},P),{href:k,target:S,className:D()}),_()):r().createElement("button",y(g({},P),{disabled:h,type:"button",className:D()}),_())};return(0,o.useEffect)((function(){M(!!O)}),[O]),p?r().createElement(c.default,y(g({key:+j,arrow:!1,placement:"bottomLeft"},x),{disabled:h,title:p}),h?r().createElement("span",{className:"".concat(f.n,"-button--disabled")},L()):L()):L()},O.SplitButton=function(e){var t,n=e.buttonText,a=e.options,v=void 0===a?[]:a,h=e.className,b=e.style,g=e.disabled,y=void 0!==g&&g,w=e.onClick,A=e.optionRender,O=e.placement,E=void 0===O?"bottomLeft":O,C=e.buttonProps,k=e.iconButton,S=void 0!==k&&k,P=e.popperStyle,T=e.popperClassName,j=void 0===T?"":T,M=e.getPopupContainer,N=e.variant,D=e.hideStartIcon,_=e.optionMaxWidth,L=void 0===_?"500px":_,R=e.optionTipsPlacement,I=void 0===R?"top-start":R,H=(0,s.A)("Button",p),z=(0,o.useRef)(),F=function(e,t,n){var o;e.disabled?n.stopPropagation():(null===(o=z.current)||void 0===o||o.classList.remove("".concat(f.n,"-button-split--active")),null==w||w(e,n))};return r().createElement("div",{className:(0,i.A)("".concat(f.n,"-button-split"),h),style:b},r().createElement(u.default,{overlay:(t=function(e){var t=(null==A?void 0:A(e))||r().createElement(d.default,{placement:I},e.label),n=e.disabled,o=e.disabledTooltip;return n&&o?r().createElement(c.default,m({disabled:!0},o),(null==A?void 0:A(e))||e.label):t},r().createElement("div",{className:"".concat(f.n,"-button-split-list")},r().createElement("ul",null,v.map((function(e,n){return Array.isArray(e)?function(e,n){return r().createElement("li",{className:"split-li-group",key:n},e.map((function(e,o){var a="".concat(n,"-").concat(o);return r().createElement("div",{key:a,className:(0,i.A)("split-li",e.disabled?"split-li--disabled":"split-li--hover"),style:{maxWidth:L},onClick:function(t){return F(e,0,t)}},t(e))})))}(e,n):r().createElement("li",{key:n,className:(0,i.A)("split-li",e.disabled?"split-li--disabled":"split-li--hover"),style:{maxWidth:L},onClick:function(t){return F(e,0,t)}},t(e))}))))),placement:E,overlayStyle:P,overlayClassName:j,getPopupContainer:M},S?N?r().createElement(x.IconButton,m({variant:N,size:"small",disabled:y},C),null!=n?n:H({id:"moreActions"})):r().createElement(x.IconButton,m({variant:"text",size:"small",disabled:y},C),null!=n?n:H({id:"moreActions"})):r().createElement(x,m({variant:N||"outlined",size:"large",startIcon:D?null:r().createElement(l.A,null),disabled:y},C),null!=n?n:H({id:"moreActions"}))))};const x=O},6564:(e,t,n)=>{"use strict";n.d(t,{l5:()=>r});n(74353),n(25400);function o(e,t){var n,r,i,a=e.parentNode,c=(null==a||null===(n=a.nodeName)||void 0===n?void 0:n.toLowerCase())||"";if(["html","body","#document"].includes(c))return null;if(r=a,null!=(i=window.HTMLElement)&&"undefined"!=typeof Symbol&&i[Symbol.hasInstance]?i[Symbol.hasInstance](r):r instanceof i){var l=window.getComputedStyle(a).position;if(new RegExp(t).test(l))return a}return o(a,t)}function r(e,t){var n=document.getElementsByClassName("".concat(t))[0];if(n){var r=o(n,e?"fixed":"absolute");r&&(e?(r.style.position="absolute",r.style.left="0",r.style.top="0"):(r.style.position="fixed",r.style.left="-9999px",r.style.top="-9999px"))}}},96342:(e,t,n)=>{"use strict";n.d(t,{default:()=>M});var o=n(39155),r=n.n(o),i=n(89379),a=n(64467),c=n(3453),l=n(80045),u=n(1748),s=n(46942),p=n.n(s),f={adjustX:1,adjustY:1},d=[0,0];const v={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:d}};var m=n(16928),h=n(25371),b=m.A.ESC,g=m.A.TAB;var y=n(8719),w=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function A(e,t){var n=e.arrow,r=void 0!==n&&n,s=e.prefixCls,f=void 0===s?"rc-dropdown":s,d=e.transitionName,m=e.animation,A=e.align,O=e.placement,x=void 0===O?"bottomLeft":O,E=e.placements,C=void 0===E?v:E,k=e.getPopupContainer,S=e.showAction,P=e.hideAction,T=e.overlayClassName,j=e.overlayStyle,M=e.visible,N=e.trigger,D=void 0===N?["hover"]:N,_=e.autoFocus,L=(0,l.A)(e,w),R=o.useState(),I=(0,c.A)(R,2),H=I[0],z=I[1],F="visible"in e?M:H,V=o.useRef(null);o.useImperativeHandle(t,(function(){return V.current}));var W=o.useRef(null),B="".concat(f,"-menu");!function(e){var t=e.visible,n=e.setTriggerVisible,r=e.triggerRef,i=e.menuRef,a=e.onVisibleChange,c=e.autoFocus,l=o.useRef(!1),u=function(){var e,o,i,c;t&&r.current&&(null===(e=r.current)||void 0===e||null===(o=e.triggerRef)||void 0===o||null===(i=o.current)||void 0===i||null===(c=i.focus)||void 0===c||c.call(i),n(!1),"function"==typeof a&&a(!1))},s=function(){var e,t;null===(e=i.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e),l.current=!0},p=function(e){var t;switch(e.keyCode){case b:u();break;case g:!l.current&&(null===(t=i.current)||void 0===t?void 0:t.focus)?(e.preventDefault(),s()):u()}};o.useEffect((function(){return t?(window.addEventListener("keydown",p),c&&(0,h.A)(s,3),function(){window.removeEventListener("keydown",p),l.current=!1}):function(){l.current=!1}}),[t])}({visible:F,setTriggerVisible:z,triggerRef:V,menuRef:W,onVisibleChange:e.onVisibleChange,autoFocus:_});var U,$,Y,K,X,G,q=function(){var t=e.overlay;return"function"==typeof t?t():t},Z=function(t){var n=e.onOverlayClick,o=q().props;z(!1),n&&n(t),o.onClick&&o.onClick(t)},Q=function(){var e,t=q(),n=(0,y.K4)(W,t.ref),i=(e={prefixCls:B},(0,a.A)(e,"data-dropdown-inject",!0),(0,a.A)(e,"onClick",Z),(0,a.A)(e,"ref",(0,y.f3)(t)?n:void 0),e);return"string"==typeof t.type&&(delete i.prefixCls,delete i["data-dropdown-inject"]),o.createElement(o.Fragment,null,r&&o.createElement("div",{className:"".concat(f,"-arrow")}),o.cloneElement(t,i))},J=P;return J||-1===D.indexOf("contextMenu")||(J=["click"]),o.createElement(u.A,(0,i.A)((0,i.A)({builtinPlacements:C},L),{},{prefixCls:f,ref:V,popupClassName:p()(T,(0,a.A)({},"".concat(f,"-show-arrow"),r)),popupStyle:j,action:D,showAction:S,hideAction:J||[],popupPlacement:x,popupAlign:A,popupTransitionName:d,popupAnimation:m,popupVisible:F,stretch:(X=e.minOverlayWidthMatchTrigger,G=e.alignPoint,("minOverlayWidthMatchTrigger"in e?X:!G)?"minWidth":""),popup:"function"==typeof e.overlay?Q:Q(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;z(t),"function"==typeof n&&n(t)},getPopupContainer:k}),($=e.children,Y=$.props?$.props:{},K=p()(Y.className,void 0!==(U=e.openClassName)?U:"".concat(f,"-open")),F&&$?o.cloneElement($,{className:K}):$))}const O=o.forwardRef(A);var x=n(14552),E=n(25400),C=n(20053),k=n(6564),S=n(32663);n(81173);function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var j=function(e){var t,n,o,i=r().useRef(),a=(0,E.A)(i,e.getPopupContainer),c=r().useRef((0,S.UUID)());return r().createElement(O,T(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){P(e,t,n[t])}))}return e}({},e),{prefixCls:"".concat(x.g,"-dropdown"),overlayClassName:(0,C.A)("".concat(x.n,"-dropdown"),e.overlayClassName,c.current),animation:"slide-up",align:{offset:(t=e.placement,null!==(o=null===(n={top:{offset:[0,-8]},topLeft:{offset:[0,-8]},topRight:{offset:[0,-8]},bottom:{offset:[0,8]},bottomRight:{offset:[0,8]},bottomLeft:{offset:[0,8]}}[t])||void 0===n?void 0:n.offset)&&void 0!==o?o:[0,0])},getPopupContainer:a,ref:i,onVisibleChange:function(t){var n;null===(n=e.onVisibleChange)||void 0===n||n.call(e,t),e.isolationPopupOnHide&&(0,k.l5)(t,c.current)}}),e.children)};j.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,trigger:["hover"],placement:"bottomRight",isolationPopupOnHide:!1};const M=j},14552:(e,t,n)=>{"use strict";n.d(t,{g:()=>r,n:()=>o});var o="paraui-v4",r="component"},4205:(e,t,n)=>{"use strict";n.d(t,{default:()=>f,getConfirmLocale:()=>s});var o=n(39155),r=n.n(o),i=n(16217),a=n(32663);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){c(e,t,n[t])}))}return e}var u=l({},n(89601).A.zh),s=function(){return u},p=r().createContext({language:(0,a.GetLanguage)(),intlFormat:function(e,t){return function(e,n){var o=(0,a.GetLanguage)();return(0,i.Is)({ops:e,i18nData:{},lang:o,params:n,defI18nData:t})}},componentsProps:{}});const f=p},16217:(e,t,n)=>{"use strict";n.d(t,{Is:()=>r});n(39155);var o=function(e,t){if(!t)return e;e=e.replace(/\"/g,'\\"');var n=/({[^{}]+})/g;return e.split(n).map((function(e){if(e.match(n)){var o=e.replace(/({|})/g,""),r=function(e,t,n){var o=t.replace(/\[(\d+)\]/g,".$1").split("."),r=e,i=!0,a=!1,c=void 0;try{for(var l,u=o[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var s=l.value;if(void 0===(r=Object(r)[s]))return n}}catch(e){a=!0,c=e}finally{try{i||null==u.return||u.return()}finally{if(a)throw c}}return r}(t,o);return void 0===r?o:r}return e}))},r=function(e){var t,n,r,i,a=e.ops,c=e.i18nData,l=e.lang,u=e.params,s=e.defI18nData;if("string"==typeof a)n=a;else if("object"==typeof a){if("string"!=typeof a.id)return'i18n intl object "id" is missing';n=a.id}void 0!==n&&(void 0===(t=null===(r=c[l])||void 0===r?void 0:r[n])&&s&&(t=null===(i=s[l])||void 0===i?void 0:i[n]));return"string"!=typeof t?"{".concat(n,"}"):o(t,u)}},7569:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(39155),r=n.n(o),i=n(4205);const a=function(e,t){var n=r().useContext(i.default).intlFormat;return t.zh_CN=t.zh,t["zh-CN"]=t.zh,t.en_US=t.en,t["en-US"]=t.en,n&&n(e,t)}},25400:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(39155),r=n.n(o);function i(e){var t,n,o,r,a,c,l,u,s,p=e.parentNode||e.ownerDocument,f=(null==p||null===(t=p.nodeName)||void 0===t?void 0:t.toLowerCase())||"";return["html","body","#document"].includes(f)?null==e||null===(n=e.ownerDocument)||void 0===n?void 0:n.body:(u=p,(null!=(s=window.HTMLElement)&&"undefined"!=typeof Symbol&&s[Symbol.hasInstance]?s[Symbol.hasInstance](u):u instanceof s)&&(o=p,r=window.getComputedStyle(o),a=r.overflow,c=r.overflowX,l=r.overflowY,/auto|scroll|overlay/.test(a+l+c))?p:i(p))}function a(e,t){var n=r().useRef();return r().useEffect((function(){return function(){n.current&&(n.current.style.position="")}}),[]),function(o){var r;if(t)r=t(o)||document.body;else{var a,c,l,u,s=null===(c=e.current)||void 0===c||null===(a=c.getRootDomNode)||void 0===a?void 0:a.call(c);if(s)(r=i(s)).scrollHeight<=r.clientHeight&&(r=document.body);else r=document.body;if("body"!==(null===(l=r.nodeName)||void 0===l?void 0:l.toLowerCase()))"static"===(null===(u=window.getComputedStyle(r))||void 0===u?void 0:u.position)&&(r.style.position="relative");n.current=r}return r}}},89601:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const o={cancel:"Cancel",ok:"Ok"},r={cancel:"取 消",ok:"确 定"},i={zh:r,en:o,"zh-CN":r,"en-US":o}},17234:(e,t,n)=>{"use strict";n.d(t,{default:()=>C});var o=n(39155),r=n.n(o),i=n(34307),a=n(94934),c=n(20053),l=n(14552);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){u(e,t,n[t])}))}return e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var f={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function v(e){return"boolean"==typeof e?e?f:d:s({},d,e)}function m(e){var t=r().isValidElement(e)?e:r().createElement("span",null,e);if("button"===t.type&&t.props.disabled){var n=function(e,t){var n={},o=s({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete o[t])})),{picked:n,omitted:o}}(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=n.picked,i=n.omitted,a=p(s({display:"inline-block"},o),{cursor:"not-allowed",width:t.props.block?"100%":null}),u=p(s({},i),{pointerEvents:"none"}),f=r().cloneElement(t,{style:u,className:null});return r().createElement("span",{style:a,className:(0,c.A)(t.props.className,"".concat(l.g,"-tooltip-disabled-compatible-wrapper"))},f)}return t}function h(e){return{"bottom-end":"bottomRight","bottom-start":"bottomLeft","left-end":"leftBottom","left-start":"leftTop","right-end":"rightBottom","right-start":"rightTop","top-end":"topRight","top-start":"topLeft"}[e]||e}var b=n(2842);n(33981);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){y(e,t,n[t])}))}return e}function A(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function O(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.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 g(e,t)}(e,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 E=r().forwardRef((function(e,t){var n,o=x(r().useState(e.defaultVisible),2),u=o[0],f=o[1],d=r().useRef(),g=r().useRef(),y=x(r().useState([0,0]),2),E=y[0],C=y[1];r().useEffect((function(){var t;("visible"in e||"open"in e)&&f(!!(null!==(t=e.visible)&&void 0!==t?t:e.open))}),[null!==(n=e.visible)&&void 0!==n?n:e.open]);var k=function(){var t=e.title;return!t&&0!==t},S=function(){var t=e.builtinPlacements,n=e.autoAdjustOverflow;return t||function(e){var t=e.horizontalArrowShift,n=void 0===t?16:t,o=e.verticalArrowShift,r=void 0===o?8:o,i=e.autoAdjustOverflow,c={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tc"],offset:[-n,-8]},leftTop:{points:["tr","cl"],offset:[-8,-r]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-r]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,r]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,r]}};return Object.keys(c).forEach((function(e){var t,n;c[e]=p(s({},a.DD[e]),{offset:(t=e,n=h(t),{left:{offset:[-8,0]},right:{offset:[8,0]},top:{offset:[0,-8]},bottom:{offset:[0,8]},topLeft:{offset:[0,-8]},leftTop:{offset:[-8,0]},topRight:{offset:[0,-8]},rightTop:{offset:[8,0]},bottomRight:{offset:[0,8]},rightBottom:{offset:[8,0]},bottomLeft:{offset:[0,8]},leftBottom:{offset:[-8,0]}}[n]).offset,overflow:v(i)}),c[e].ignoreShake=!0})),c}({autoAdjustOverflow:n})},P=e.prefixCls,T=void 0===P?"".concat(l.g,"-tooltip"):P,j=e.getPopupContainer,M=e.overlayClassName,N=e.overlayInnerStyle,D=e.overlayStyle,_=e.children,L=e.title,R=e.placement,I=e.isPopover,H=e.followCursor,z=e.maxWidth,F=e.disabled,V=O(e,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),W=u;"visible"in e||"open"in e||!k()||(W=!1);var B=(0,c.A)(!I&&"".concat(l.n,"-tooltip"),M),U=w({},D);z&&(U.maxWidth=z);var $={targetOffset:E};return e.offset&&($.offset=e.offset),r().createElement(i.A,A(w({},V),{prefixCls:T,placement:H?"top":h(R),overlayClassName:B,getTooltipContainer:j,ref:t||g,builtinPlacements:S(),overlay:r().createElement(r().Fragment,null,F&&r().createElement(b.A,{className:"disabled-svg"}),L),visible:W,align:$,onVisibleChange:function(t){var n;("visible"in e||"open"in e||f(!k()&&t),k())||(null===(n=e.onVisibleChange)||void 0===n||n.call(e,t))},onPopupAlign:function(e,t){var n=S(),o=Object.keys(n).find((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}));if(o){var r=e.getBoundingClientRect(),i={top:"50%",left:"50%"};o.indexOf("top")>=0||o.indexOf("Bottom")>=0?i.top="".concat(r.height-t.offset[1],"px"):(o.indexOf("Top")>=0||o.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),o.indexOf("left")>=0||o.indexOf("Right")>=0?i.left="".concat(r.width-t.offset[0],"px"):(o.indexOf("right")>=0||o.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:U,overlayInnerStyle:N,arrowContent:null,motion:{motionName:"".concat(l.g,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),H?r().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(e){if(d.current){var t,n,o,r,i=(null===(r=g.current)||void 0===r||null===(o=r.popupRef)||void 0===o||null===(n=o.current)||void 0===n||null===(t=n.getElement())||void 0===t?void 0:t.offsetHeight)||0,a=0===i?60:30,c=d.current.getBoundingClientRect(),l=c.x,u=c.y,s=c.width,p=e.clientX-(l+s/2),f=e.clientY-u+i+a;setTimeout((function(){C([-p,-f])}))}}},m(_)):m(_))}));E.displayName="Tooltip",E.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};const C=E},32663:e=>{"use strict";e.exports=n},39155:t=>{"use strict";t.exports=e},69514:e=>{"use strict";e.exports=t},46942:(e,t)=>{var n;
|
|
39
39
|
/*!
|
|
40
40
|
Copyright (c) 2018 Jed Watson.
|
|
41
41
|
Licensed under the MIT License (MIT), see
|