@para-ui/core 2.2.1-beta → 2.2.2
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/AutoBox/index.d.ts +34 -0
- package/AutoBox/index.js +15 -0
- package/AutoTips/index.d.ts +27 -0
- package/AutoTips/index.js +15 -0
- package/Breadcrumbs/index.d.ts +39 -0
- package/Breadcrumbs/index.js +15 -0
- package/Button/SplitButton.d.ts +61 -0
- package/Button/index.d.ts +56 -0
- package/Button/index.js +14 -0
- package/Button/lang/en_US.d.ts +4 -0
- package/Button/lang/index.d.ts +9 -0
- package/Button/lang/zh_CN.d.ts +4 -0
- package/ButtonGroup/index.d.ts +33 -0
- package/ButtonGroup/index.js +14 -0
- package/Carousel/index.d.ts +30 -0
- package/Carousel/index.js +15 -0
- package/Cascader/index.d.ts +52 -0
- package/Cascader/index.js +15 -0
- package/Cascader/lang/en_US.d.ts +4 -0
- package/Cascader/lang/index.d.ts +9 -0
- package/Cascader/lang/zh_CN.d.ts +4 -0
- package/Checkbox/index.d.ts +40 -0
- package/Checkbox/index.js +14 -0
- package/CheckboxGroup/index.d.ts +46 -0
- package/CheckboxGroup/index.js +14 -0
- package/Collapse/collapsePanel.d.ts +30 -0
- package/Collapse/index.d.ts +57 -0
- package/Collapse/index.js +15 -0
- package/Collapse/motion.d.ts +5 -0
- package/Collapse/util.d.ts +11 -0
- package/CollapseBox/index.d.ts +27 -0
- package/CollapseBox/index.js +15 -0
- package/CollapseBox/util.d.ts +5 -0
- package/ColorPicker/index.d.ts +4 -0
- package/ColorPicker/index.js +1 -0
- package/ComboSelect/WithTabsCombo/index.d.ts +11 -0
- package/ComboSelect/WithTabsCombo/interface.d.ts +141 -0
- package/ComboSelect/index.d.ts +11 -0
- package/ComboSelect/index.js +14 -0
- package/ComboSelect/interface.d.ts +141 -0
- package/ComboSelect/lang/en_US.d.ts +8 -0
- package/ComboSelect/lang/index.d.ts +17 -0
- package/ComboSelect/lang/zh_CN.d.ts +8 -0
- package/ComboSelect/utils.d.ts +13 -0
- package/Container/index.d.ts +77 -0
- package/Container/index.js +15 -0
- package/DatePicker/PickerButton.d.ts +3 -0
- package/DatePicker/PickerTag.d.ts +3 -0
- package/DatePicker/generatePicker/generateRangePicker.d.ts +4 -0
- package/DatePicker/generatePicker/generateSinglePicker.d.ts +11 -0
- package/DatePicker/generatePicker/index.d.ts +77 -0
- package/DatePicker/index.d.ts +18 -0
- package/DatePicker/index.js +14 -0
- package/DatePicker/lang/en_US.d.ts +3 -0
- package/DatePicker/lang/index.d.ts +7 -0
- package/DatePicker/lang/zh_CN.d.ts +3 -0
- package/DatePicker/util.d.ts +20 -0
- package/Desktop/index.d.ts +55 -0
- package/Desktop/index.js +14 -0
- package/Drawer/index.d.ts +11 -0
- package/Drawer/index.js +14 -0
- package/Drawer/interface.d.ts +83 -0
- package/Drawer/lang/en_US.d.ts +5 -0
- package/Drawer/lang/index.d.ts +11 -0
- package/Drawer/lang/zh_CN.d.ts +5 -0
- package/Empty/images/index.d.ts +2 -0
- package/Empty/index.d.ts +30 -0
- package/Empty/index.js +14 -0
- package/Empty/lang/en_US.d.ts +6 -0
- package/Empty/lang/index.d.ts +13 -0
- package/Empty/lang/zh_CN.d.ts +6 -0
- package/Form/index.d.ts +181 -0
- package/Form/index.js +14 -0
- package/FormItem/compoments/defaultCompoments/index.d.ts +19 -0
- package/FormItem/compoments/formCheckboxGroup/index.d.ts +8 -0
- package/FormItem/compoments/formFile/index.d.ts +38 -0
- package/FormItem/compoments/formRadioGroup/index.d.ts +8 -0
- package/FormItem/compoments/formSelect/index.d.ts +18 -0
- package/FormItem/errorTips.d.ts +12 -0
- package/FormItem/index.d.ts +152 -0
- package/FormItem/index.js +14 -0
- package/FormItem/itemType.d.ts +42 -0
- package/FormItem/validateFunction.d.ts +15 -0
- package/FunctionModal/dialog.d.ts +58 -0
- package/FunctionModal/index.d.ts +8 -0
- package/FunctionModal/index.js +14 -0
- package/FunctionModal/modalContext.d.ts +14 -0
- package/GlobalContext/componentsProps.d.ts +19 -0
- package/GlobalContext/confirmLocale.d.ts +7 -0
- package/GlobalContext/index.d.ts +28 -0
- package/GlobalContext/index.js +16 -0
- package/GlobalContext/intl.d.ts +34 -0
- package/GlobalContext/useFormatMessage.d.ts +3 -0
- package/Help/index.d.ts +20 -0
- package/Help/index.js +15 -0
- package/HelperText/index.d.ts +19 -0
- package/HelperText/index.js +15 -0
- package/Hooks/useGlobalProps.d.ts +1 -0
- package/InputLang/index.d.ts +49 -0
- package/InputLang/index.js +14 -0
- package/InputNumber/index.d.ts +74 -0
- package/InputNumber/index.js +14 -0
- package/Label/index.d.ts +35 -0
- package/Label/index.js +14 -0
- package/Loading/index.d.ts +17 -0
- package/Loading/index.js +15 -0
- package/Menu/footerExpansion.d.ts +9 -0
- package/Menu/index.d.ts +10 -0
- package/Menu/index.js +14 -0
- package/Menu/interface.d.ts +139 -0
- package/Menu/logo.d.ts +9 -0
- package/Menu/verticalMenuList.d.ts +14 -0
- package/Message/index.d.ts +59 -0
- package/Message/index.js +15 -0
- package/Modal/Confirm/index.d.ts +66 -0
- package/Modal/index.d.ts +61 -0
- package/Modal/index.js +14 -0
- package/Modal/lang/en_US.d.ts +5 -0
- package/Modal/lang/index.d.ts +11 -0
- package/Modal/lang/zh_CN.d.ts +5 -0
- package/MultiBox/index.d.ts +54 -0
- package/MultiBox/index.js +14 -0
- package/Notification/index.d.ts +52 -0
- package/Notification/index.js +15 -0
- package/OperateBtn/index.d.ts +59 -0
- package/OperateBtn/index.js +14 -0
- package/OperateBtn/lang/en_US.d.ts +4 -0
- package/OperateBtn/lang/index.d.ts +9 -0
- package/OperateBtn/lang/zh_CN.d.ts +4 -0
- package/PageHeader/horizontalMeun.d.ts +9 -0
- package/PageHeader/horizontalMeunRight.d.ts +9 -0
- package/PageHeader/index.d.ts +10 -0
- package/PageHeader/index.js +14 -0
- package/PageHeader/interface.d.ts +167 -0
- package/Pagination/index.d.ts +33 -0
- package/Pagination/index.js +14 -0
- package/Pagination/lang/en_US.d.ts +8 -0
- package/Pagination/lang/index.d.ts +17 -0
- package/Pagination/lang/zh_CN.d.ts +8 -0
- package/ParauiProvider/index.d.ts +12 -0
- package/ParauiProvider/index.js +15 -0
- package/PopConfirm/index.d.ts +56 -0
- package/PopConfirm/index.js +14 -0
- package/PopConfirm/lang/en_US.d.ts +5 -0
- package/PopConfirm/lang/index.d.ts +11 -0
- package/PopConfirm/lang/zh_CN.d.ts +5 -0
- package/Popover/index.d.ts +14 -0
- package/Popover/index.js +15 -0
- package/Popper/index.d.ts +13 -0
- package/Popper/index.js +16 -0
- package/Progress/Line.d.ts +47 -0
- package/Progress/Steps.d.ts +17 -0
- package/Progress/index.d.ts +81 -0
- package/Progress/index.js +20 -0
- package/Progress/utils.d.ts +6 -0
- package/Querying/images/index.d.ts +2 -0
- package/Querying/index.d.ts +26 -0
- package/Querying/index.js +14 -0
- package/Querying/lang/en_US.d.ts +4 -0
- package/Querying/lang/index.d.ts +9 -0
- package/Querying/lang/zh_CN.d.ts +4 -0
- package/README.md +481 -0
- package/Radio/index.d.ts +38 -0
- package/Radio/index.js +14 -0
- package/RadioGroup/index.d.ts +47 -0
- package/RadioGroup/index.js +14 -0
- package/Search/index.d.ts +56 -0
- package/Search/index.js +14 -0
- package/Select/index.d.ts +86 -0
- package/Select/index.js +14 -0
- package/Select/lang/en_US.d.ts +5 -0
- package/Select/lang/index.d.ts +11 -0
- package/Select/lang/zh_CN.d.ts +5 -0
- package/SelectInput/index.d.ts +11 -0
- package/SelectInput/index.js +14 -0
- package/SingleBox/index.d.ts +42 -0
- package/SingleBox/index.js +14 -0
- package/Slider/index.d.ts +14 -0
- package/Slider/index.js +15 -0
- package/Slider/interface.d.ts +102 -0
- package/Split/index.d.ts +7 -0
- package/Split/index.js +15 -0
- package/Stepper/icons.d.ts +5 -0
- package/Stepper/index.d.ts +39 -0
- package/Stepper/index.js +15 -0
- package/Switch/index.d.ts +78 -0
- package/Switch/index.js +14 -0
- package/Table/index.d.ts +10 -0
- package/Table/index.js +14 -0
- package/Table/interface.d.ts +202 -0
- package/Table/lang/en_US.d.ts +6 -0
- package/Table/lang/index.d.ts +13 -0
- package/Table/lang/zh_CN.d.ts +6 -0
- package/Table/tableBody.d.ts +9 -0
- package/Table/tableBodyElement/index.d.ts +15 -0
- package/Table/tableBodyInterface.d.ts +67 -0
- package/Table/tableContainer/index.d.ts +16 -0
- package/Table/tableElement/index.d.ts +17 -0
- package/Table/tableHead.d.ts +9 -0
- package/Table/tableHeadElement/index.d.ts +15 -0
- package/Table/tableHeadInterface.d.ts +30 -0
- package/Table/tablePagination.d.ts +9 -0
- package/Table/tablePaginationInterFace.d.ts +24 -0
- package/Table/tdElement/index.d.ts +15 -0
- package/Table/thElement/index.d.ts +15 -0
- package/Table/trElement/index.d.ts +15 -0
- package/Table/util.d.ts +16 -0
- package/Tabs/index.d.ts +48 -0
- package/Tabs/index.js +14 -0
- package/Tag/TagGroup.d.ts +66 -0
- package/Tag/index.d.ts +34 -0
- package/Tag/index.js +14 -0
- package/Test/index.d.ts +2 -0
- package/Test/index.js +16 -0
- package/TextField/index.d.ts +93 -0
- package/TextField/index.js +14 -0
- package/TimePicker/index.d.ts +22 -0
- package/TimePicker/index.js +14 -0
- package/TimePicker/locale/en_US.d.ts +3 -0
- package/TimePicker/locale/zh_CN.d.ts +3 -0
- package/TimePicker/style/index.d.ts +1 -0
- package/Timeline/index.d.ts +22 -0
- package/Timeline/index.js +15 -0
- package/ToggleButton/ToggleButtonGroup.d.ts +49 -0
- package/ToggleButton/index.d.ts +49 -0
- package/ToggleButton/index.js +14 -0
- package/Tooltip/index.d.ts +14 -0
- package/Tooltip/index.js +15 -0
- package/Transfer/index.d.ts +17 -0
- package/Transfer/index.js +14 -0
- package/Transfer/lang/en_US.d.ts +6 -0
- package/Transfer/lang/index.d.ts +13 -0
- package/Transfer/lang/zh_CN.d.ts +6 -0
- package/Tree/OperateBar/index.d.ts +13 -0
- package/Tree/Tree.d.ts +4 -0
- package/Tree/index.d.ts +5 -0
- package/Tree/index.js +14 -0
- package/Tree/interface.d.ts +207 -0
- package/Tree/lang/en_US.d.ts +8 -0
- package/Tree/lang/index.d.ts +17 -0
- package/Tree/lang/zh_CN.d.ts +8 -0
- package/Tree/utils/closestPolyfill.d.ts +0 -0
- package/Tree/utils/tools.d.ts +26 -0
- package/Tree/utils/treeUtil.d.ts +15 -0
- package/Upload/Dragger/index.d.ts +10 -0
- package/Upload/ErroTip/index.d.ts +13 -0
- package/Upload/ImageUpload/index.d.ts +14 -0
- package/Upload/ImgCrop/EasyCrop.d.ts +17 -0
- package/Upload/ImgCrop/constants.d.ts +7 -0
- package/Upload/ImgCrop/index.d.ts +6 -0
- package/Upload/ImgCrop/interface.d.ts +24 -0
- package/Upload/UploadList/index.d.ts +5 -0
- package/Upload/index.d.ts +15 -0
- package/Upload/index.js +14 -0
- package/Upload/interface.d.ts +134 -0
- package/Upload/lang/en_US.d.ts +12 -0
- package/Upload/lang/index.d.ts +25 -0
- package/Upload/lang/zh_CN.d.ts +12 -0
- package/cdn/AutoBox/index.js +29 -0
- package/cdn/AutoTips/index.js +40 -0
- package/cdn/Breadcrumbs/index.js +53 -0
- package/cdn/Button/index.js +79 -0
- package/cdn/ButtonGroup/index.js +79 -0
- package/cdn/Carousel/index.js +6 -0
- package/cdn/Cascader/index.js +42 -0
- package/cdn/Checkbox/index.js +53 -0
- package/cdn/CheckboxGroup/index.js +53 -0
- package/cdn/Collapse/index.js +27 -0
- package/cdn/CollapseBox/index.js +1 -0
- package/cdn/ColorPicker/index.js +1 -0
- package/cdn/ComboSelect/index.js +438 -0
- package/cdn/Container/index.js +1 -0
- package/cdn/DatePicker/index.js +185 -0
- package/cdn/Desktop/index.js +24 -0
- package/cdn/Drawer/index.js +84 -0
- package/cdn/Empty/index.js +1 -0
- package/cdn/Form/index.js +477 -0
- package/cdn/FormItem/index.js +477 -0
- package/cdn/FunctionModal/index.js +144 -0
- package/cdn/GlobalContext/index.js +1 -0
- package/cdn/Help/index.js +53 -0
- package/cdn/HelperText/index.js +1 -0
- package/cdn/InputLang/index.js +144 -0
- package/cdn/InputNumber/index.js +118 -0
- package/cdn/Label/index.js +53 -0
- package/cdn/Loading/index.js +14 -0
- package/cdn/Menu/index.js +40 -0
- package/cdn/Message/index.js +53 -0
- package/cdn/Modal/index.js +144 -0
- package/cdn/MultiBox/index.js +131 -0
- package/cdn/Notification/index.js +66 -0
- package/cdn/OperateBtn/index.js +92 -0
- package/cdn/PageHeader/index.js +92 -0
- package/cdn/Pagination/index.js +214 -0
- package/cdn/ParauiProvider/index.js +9 -0
- package/cdn/PopConfirm/index.js +131 -0
- package/cdn/Popover/index.js +16 -0
- package/cdn/Popper/index.js +26 -0
- package/cdn/Progress/index.js +58 -0
- package/cdn/Querying/index.js +1 -0
- package/cdn/Radio/index.js +53 -0
- package/cdn/RadioGroup/index.js +53 -0
- package/cdn/Search/index.js +144 -0
- package/cdn/Select/index.js +131 -0
- package/cdn/SelectInput/index.js +131 -0
- package/cdn/SingleBox/index.js +131 -0
- package/cdn/Slider/index.js +16 -0
- package/cdn/Split/index.js +1 -0
- package/cdn/Stepper/index.js +154 -0
- package/cdn/Switch/index.js +71 -0
- package/cdn/Table/index.js +292 -0
- package/cdn/Tabs/index.js +165 -0
- package/cdn/Tag/index.js +27 -0
- package/cdn/Test/index.js +1 -0
- package/cdn/TextField/index.js +105 -0
- package/cdn/TimePicker/index.js +185 -0
- package/cdn/Timeline/index.js +16 -0
- package/cdn/ToggleButton/index.js +79 -0
- package/cdn/Tooltip/index.js +40 -0
- package/cdn/Transfer/index.js +170 -0
- package/cdn/Tree/index.js +170 -0
- package/cdn/Upload/index.js +252 -0
- package/index.d.ts +128 -0
- package/index.js +19 -0
- package/package.json +21 -21
- package/style.css +72 -0
package/Popover/index.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("@material-ui/core")):"function"==typeof define&&define.amd?define(["react","@material-ui/core"],t):"object"==typeof exports?exports.ParaUI=t(require("react"),require("@material-ui/core")):e.ParaUI=t(e.react,e["@material-ui/core"])}(self,(function(e,t){return function(){var r={5845:function(e,t,r){(t=r(3645)(!1)).push([e.id,".paraui-popover-paper{box-shadow:0px 2px 8px 0px rgba(171,176,185,.4)}",""]),e.exports=t},3645:function(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,c=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(u," */")),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(a).concat([o]).join("\n")}var i,c,u;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 c=0;c<e.length;c++){var u=[].concat(e[c]);n&&o[u[0]]||(r&&(u[2]?u[2]="".concat(r," and ").concat(u[2]):u[2]=r),t.push(u))}},t}},7418:function(e){"use strict";
|
|
2
|
+
/*
|
|
3
|
+
object-assign
|
|
4
|
+
(c) Sindre Sorhus
|
|
5
|
+
@license MIT
|
|
6
|
+
*/var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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,a){for(var i,c,u=o(e),s=1;s<arguments.length;s++){for(var f in i=Object(arguments[s]))r.call(i,f)&&(u[f]=i[f]);if(t){c=t(i);for(var l=0;l<c.length;l++)n.call(i,c[l])&&(u[c[l]]=i[c[l]])}}return u}},5251:function(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
|
+
*/
|
|
15
|
+
r(7418);var n=r(8156),o=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),a("react.fragment")}var i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var n,a={},s=null,f=null;for(n in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(f=t.ref),t)c.call(t,n)&&!u.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:s,ref:f,props:a,_owner:i.current}}t.jsx=s},5893:function(e,t,r){"use strict";e.exports=r(5251)},8939:function(e,t,r){var n=r(3379),o=r(5845);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var a={insert:("body","body"),singleton:!1};n(o,a);e.exports=o.locals||{}},3379:function(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 c(e){for(var t=-1,r=0;r<i.length;r++)if(i[r].identifier===e){t=r;break}return t}function u(e,t){for(var r={},n=[],o=0;o<e.length;o++){var a=e[o],u=t.base?a[0]+t.base:a[0],s=r[u]||0,f="".concat(u," ").concat(s);r[u]=s+1;var l=c(f),p={css:a[1],media:a[2],sourceMap:a[3]};-1!==l?(i[l].references++,i[l].updater(p)):i.push({identifier:f,updater:b(p,t),references:1}),n.push(f)}return n}function s(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 f,l=(f=[],function(e,t){return f[e]=t,f.filter(Boolean).join("\n")});function p(e,t,r,n){var o=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=l(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 d(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 v=null,y=0;function b(e,t){var r,n,o;if(t.singleton){var a=y++;r=v||(v=s(t)),n=p.bind(null,r,a,!1),o=p.bind(null,r,a,!0)}else r=s(t),n=d.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=u(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=c(r[n]);i[o].references--}for(var a=u(e,t),s=0;s<r.length;s++){var f=c(r[s]);0===i[f].references&&(i[f].updater(),i.splice(f,1))}r=a}}}},670:function(e){"use strict";e.exports=t},8156:function(t){"use strict";t.exports=e}},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=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(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=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return function(){"use strict";o.r(a),o.d(a,{Popover:function(){return i}});var e=o(5893),t=o(670),r=(o(8939),function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)}),n=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},i=function(o){var a,i=o.className,c=o.children,u=o.classes,s=o.style,f=n(o,["className","children","classes","style"]);return(0,e.jsx)(t.Popover,r({style:r({zIndex:1500},s),className:(a="paraui-popover",i&&(a+=" "+i),a),classes:{paper:u?"paraui-popover-paper ".concat(u):"paraui-popover-paper"}},f,{children:c}))};a.default=i}(),a}()}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author linhd
|
|
3
|
+
* @date 2021/8/12 18:25
|
|
4
|
+
* @description 弹出框
|
|
5
|
+
*/
|
|
6
|
+
import { FunctionComponent } from 'react';
|
|
7
|
+
import { PopperProps as MuiPopperProps } from '@material-ui/core';
|
|
8
|
+
export interface PopperProps extends MuiPopperProps {
|
|
9
|
+
/** 样式class */
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const Popper: FunctionComponent<PopperProps>;
|
|
13
|
+
export default Popper;
|
package/Popper/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react"),require("@material-ui/core")):"function"==typeof define&&define.amd?define(["react","@material-ui/core"],r):"object"==typeof exports?exports.ParaUI=r(require("react"),require("@material-ui/core")):e.ParaUI=r(e.react,e["@material-ui/core"])}(self,(function(e,r){return function(){"use strict";var t={7418:function(e){
|
|
2
|
+
/*
|
|
3
|
+
object-assign
|
|
4
|
+
(c) Sindre Sorhus
|
|
5
|
+
@license MIT
|
|
6
|
+
*/
|
|
7
|
+
var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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 r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[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,a){for(var i,c,u=o(e),f=1;f<arguments.length;f++){for(var p in i=Object(arguments[f]))t.call(i,p)&&(u[p]=i[p]);if(r){c=r(i);for(var l=0;l<c.length;l++)n.call(i,c[l])&&(u[c[l]]=i[c[l]])}}return u}},5251:function(e,r,t){
|
|
8
|
+
/** @license React v17.0.2
|
|
9
|
+
* react-jsx-runtime.production.min.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
t(7418);var n=t(8156),o=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),a("react.fragment")}var i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function f(e,r,t){var n,a={},f=null,p=null;for(n in void 0!==t&&(f=""+t),void 0!==r.key&&(f=""+r.key),void 0!==r.ref&&(p=r.ref),r)c.call(r,n)&&!u.hasOwnProperty(n)&&(a[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===a[n]&&(a[n]=r[n]);return{$$typeof:o,type:e,key:f,ref:p,props:a,_owner:i.current}}r.jsx=f},5893:function(e,r,t){e.exports=t(5251)},670:function(e){e.exports=r},8156:function(r){r.exports=e}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,{a:r}),r},o.d=function(e,r){for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){o.r(a),o.d(a,{Popper:function(){return i}});var e=o(5893),r=o(670),t=function(){return t=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},t.apply(this,arguments)},n=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]])}return t},i=function(o){var a,i=o.className,c=o.children,u=n(o,["className","children"]);return(0,e.jsx)(r.Popper,t({className:(a="paraui-popper",i&&(a+=" "+i),a)},u,{children:c}))};a.default=i}(),a}()}));
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author jill
|
|
3
|
+
* @date 2022/3/10 18:25
|
|
4
|
+
* @description 线性进度条
|
|
5
|
+
*/
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { ProgressProps, StringGradients, DirectionType } from "./index";
|
|
8
|
+
interface LineProps extends ProgressProps {
|
|
9
|
+
direction?: DirectionType;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 转换 百分比 到 样式格式
|
|
14
|
+
* {
|
|
15
|
+
* "0%": "#afc163",
|
|
16
|
+
* "75%": "#009900",
|
|
17
|
+
* "50%": "green", // ====> '#afc163 0%, #66FF00 25%, #00CC00 50%, #009900 75%, #ffffff 100%'
|
|
18
|
+
* "25%": "#66FF00",
|
|
19
|
+
* "100%": "#ffffff"
|
|
20
|
+
* }
|
|
21
|
+
* @param gradients 渐变的参数
|
|
22
|
+
* @return {string} 样式值
|
|
23
|
+
*/
|
|
24
|
+
export declare const sortGradient: (gradients: StringGradients) => string;
|
|
25
|
+
/**
|
|
26
|
+
* 转换传进来 渐变的参数 为css样式
|
|
27
|
+
* {
|
|
28
|
+
* "0%": "#afc163",
|
|
29
|
+
* "25%": "#66FF00",
|
|
30
|
+
* "50%": "#00CC00", // ====> linear-gradient(to right, #afc163 0%, #66FF00 25%,
|
|
31
|
+
* "75%": "#009900", // #00CC00 50%, #009900 75%, #ffffff 100%)
|
|
32
|
+
* "100%": "#ffffff"
|
|
33
|
+
* }
|
|
34
|
+
*
|
|
35
|
+
* {
|
|
36
|
+
* "from": "#afc163",
|
|
37
|
+
* "to": "#66FF00",// ====> linear-gradient(to right, #afc163, #66FF00)
|
|
38
|
+
* }
|
|
39
|
+
*
|
|
40
|
+
* @param {string} strokeColor 颜色值
|
|
41
|
+
* @return 返回 backgroundImage 的样式值
|
|
42
|
+
*/
|
|
43
|
+
export declare const handleGradient: (strokeColor: any, directionConfig: DirectionType) => {
|
|
44
|
+
backgroundImage: string;
|
|
45
|
+
};
|
|
46
|
+
declare const Line: React.FC<LineProps>;
|
|
47
|
+
export default Line;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author jill
|
|
3
|
+
* @date 2022/3/10 18:25
|
|
4
|
+
* @description 进度条的步骤条
|
|
5
|
+
*/
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { ProgressProps } from "./index";
|
|
8
|
+
interface StepsProps extends ProgressProps {
|
|
9
|
+
/** 一共有多少步 **/
|
|
10
|
+
steps: number;
|
|
11
|
+
/** 进度条高亮部分颜色配置 **/
|
|
12
|
+
strokeColor?: string;
|
|
13
|
+
/** 进度条轨道部分颜色配置 **/
|
|
14
|
+
trailColor?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const Steps: React.FC<StepsProps>;
|
|
17
|
+
export default Steps;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author jill
|
|
3
|
+
* @date 2022/3/10 18:25
|
|
4
|
+
* @description 进度条
|
|
5
|
+
*/
|
|
6
|
+
import React, { FunctionComponent } from "react";
|
|
7
|
+
import "./index.scss";
|
|
8
|
+
/** 进度条类型 **/
|
|
9
|
+
declare enum ProgressTypes {
|
|
10
|
+
"line" = 0,
|
|
11
|
+
"circle" = 1,
|
|
12
|
+
"dashboard" = 2
|
|
13
|
+
}
|
|
14
|
+
export declare type ProgressType = typeof ProgressTypes[number];
|
|
15
|
+
/** 进度条状态 **/
|
|
16
|
+
declare enum ProgressStatuses {
|
|
17
|
+
"normal" = 0,
|
|
18
|
+
"exception" = 1,
|
|
19
|
+
"active" = 2,
|
|
20
|
+
"success" = 3
|
|
21
|
+
}
|
|
22
|
+
/** 渐变进度条入参格式 两种 **/
|
|
23
|
+
export declare type StringGradients = {
|
|
24
|
+
[percentage: string]: string;
|
|
25
|
+
};
|
|
26
|
+
declare type FromToGradients = {
|
|
27
|
+
from: string;
|
|
28
|
+
to: string;
|
|
29
|
+
};
|
|
30
|
+
declare type ColorStringGradients = [string, StringGradients];
|
|
31
|
+
export declare type ProgressGradient = {
|
|
32
|
+
direction?: string;
|
|
33
|
+
} & (StringGradients | FromToGradients);
|
|
34
|
+
/** 进度条渐变方向 **/
|
|
35
|
+
export declare type DirectionType = "ltr" | "rtl" | undefined;
|
|
36
|
+
/** 成功的进度条的配置 **/
|
|
37
|
+
export interface SuccessProps {
|
|
38
|
+
/** 进度条值 **/
|
|
39
|
+
percent: number;
|
|
40
|
+
/** 进度条颜色 **/
|
|
41
|
+
strokeColor?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface ProgressProps {
|
|
44
|
+
/** 自定义样式名 **/
|
|
45
|
+
className?: string;
|
|
46
|
+
/** 类型,可选 line circle dashboard **/
|
|
47
|
+
type?: ProgressType;
|
|
48
|
+
/** 百分比 **/
|
|
49
|
+
percent?: number | number[];
|
|
50
|
+
/** 内容的模板函数 **/
|
|
51
|
+
format?: (percent?: number | number[], successPercent?: number) => React.ReactNode;
|
|
52
|
+
/** 状态,可选:success exception normal active(仅限 line) **/
|
|
53
|
+
status?: typeof ProgressStatuses[number];
|
|
54
|
+
/** 是否显示进度数值或状态图标 **/
|
|
55
|
+
showInfo?: boolean;
|
|
56
|
+
/** 进度条线的宽度,单位 px **/
|
|
57
|
+
strokeWidth?: number;
|
|
58
|
+
/** 进度条的样式 **/
|
|
59
|
+
strokeLinecap?: "butt" | "square" | "round";
|
|
60
|
+
/** 进度条的色彩 **/
|
|
61
|
+
strokeColor?: string | ({
|
|
62
|
+
direction?: string;
|
|
63
|
+
} & (StringGradients | FromToGradients | ColorStringGradients));
|
|
64
|
+
/** 未完成的分段的颜色 **/
|
|
65
|
+
trailColor?: string;
|
|
66
|
+
/** 圆形进度条画布宽度,单位 px **/
|
|
67
|
+
width?: number;
|
|
68
|
+
/** 成功进度条相关配置 **/
|
|
69
|
+
success?: SuccessProps;
|
|
70
|
+
/** 仪表盘进度条缺口角度,可取值 0 ~ 295 **/
|
|
71
|
+
gapDegree?: number;
|
|
72
|
+
/** 仪表盘进度条缺口位置 **/
|
|
73
|
+
gapPosition?: "top" | "bottom" | "left" | "right";
|
|
74
|
+
/** 进度条总共步数 **/
|
|
75
|
+
steps?: number;
|
|
76
|
+
/** 渐变颜色的方向 **/
|
|
77
|
+
direction?: DirectionType;
|
|
78
|
+
children?: React.ReactNode;
|
|
79
|
+
}
|
|
80
|
+
export declare const Progress: FunctionComponent<ProgressProps>;
|
|
81
|
+
export default Progress;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react"),require("@para-ui/icons/CheckCircleF"),require("@para-ui/icons/CloseCircleF"),require("@para-ui/icons/Check"),require("@para-ui/icons/Close")):"function"==typeof define&&define.amd?define(["react","@para-ui/icons/CheckCircleF","@para-ui/icons/CloseCircleF","@para-ui/icons/Check","@para-ui/icons/Close"],r):"object"==typeof exports?exports.ParaUI=r(require("react"),require("@para-ui/icons/CheckCircleF"),require("@para-ui/icons/CloseCircleF"),require("@para-ui/icons/Check"),require("@para-ui/icons/Close")):e.ParaUI=r(e.react,e["@para-ui/icons/CheckCircleF"],e["@para-ui/icons/CloseCircleF"],e["@para-ui/icons/Check"],e["@para-ui/icons/Close"])}(self,(function(e,r,t,o,n){return function(){var s={4184:function(e,r){var t;
|
|
2
|
+
/*!
|
|
3
|
+
Copyright (c) 2018 Jed Watson.
|
|
4
|
+
Licensed under the MIT License (MIT), see
|
|
5
|
+
http://jedwatson.github.io/classnames
|
|
6
|
+
*/!function(){"use strict";var o={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var t=arguments[r];if(t){var s=typeof t;if("string"===s||"number"===s)e.push(t);else if(Array.isArray(t)){if(t.length){var i=n.apply(null,t);i&&e.push(i)}}else if("object"===s)if(t.toString===Object.prototype.toString)for(var a in t)o.call(t,a)&&t[a]&&e.push(a);else e.push(t.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(t=function(){return n}.apply(r,[]))||(e.exports=t)}()},1442:function(e,r,t){(r=t(3645)(!1)).push([e.id,'.paraui-progress-line .progress-outer{display:flex;margin-right:8px;margin-bottom:8px}.paraui-progress-line .progress-outer .progress-inner{width:100%}.paraui-progress-line .progress-outer .progress-inner .rc-progress-line{height:10px;width:100%}.paraui-progress-line .progress-outer .progress-inner .steps-outer{display:flex;flex-direction:row;align-items:center}.paraui-progress-line .progress-outer .progress-inner .steps-outer .steps-item{flex-shrink:0;min-width:2px;margin-right:2px;background:#f3f3f3;transition:all .3s}.paraui-progress-line .progress-outer .progress-inner .steps-outer .steps-item-active{background-color:#2db7f5}.paraui-progress-line .progress-outer .progress-inner .trail-bar{position:relative;display:inline-block;width:100%;overflow:hidden;vertical-align:middle;background-color:rgba(0,0,0,.0392156863);border-radius:100px}.paraui-progress-line .progress-outer .progress-inner .trail-bar .active-bar{position:relative;background-color:var(--ant-primary-color);border-radius:100px;transition:all .4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s}.paraui-progress-line .progress-outer .progress-text{font-size:12px;font-weight:700;text-align:left;color:#3d66f8;display:inline-block;margin-left:20px;white-space:nowrap;text-align:left;vertical-align:middle;word-break:normal;display:flex;align-items:center}.paraui-progress-line .progress-outer .progress-text svg{width:14px;height:14px;position:relative;top:2px}.paraui-progress-line .progress-outer .progress-text svg.success{color:#41d658 !important}.paraui-progress-line .progress-outer .progress-text svg.error{color:#f46b53 !important}.paraui-progress-circle,.paraui-progress-dashboard{display:inline-block;position:relative;margin:0 5px}.paraui-progress-circle .progress-outer .progress-text,.paraui-progress-dashboard .progress-outer .progress-text{position:absolute;top:50%;left:50%;width:100%;margin:0;padding:0;color:rgba(0,0,0,.8509803922);font-size:1em;line-height:1;white-space:normal;text-align:center;transform:translate(-50%, -50%)}.paraui-progress-circle .progress-outer .progress-text svg,.paraui-progress-dashboard .progress-outer .progress-text svg{width:2em;height:2em}.paraui-progress-circle .progress-outer .progress-text svg.success,.paraui-progress-dashboard .progress-outer .progress-text svg.success{color:#52c41a !important}.paraui-progress-circle .progress-outer .progress-text svg.error,.paraui-progress-dashboard .progress-outer .progress-text svg.error{color:#ff4d4f !important}.paraui-progress-success-status .progress-text{color:#52c41a !important}.paraui-progress-exception-status .progress-text{color:#ff4d4f !important}.paraui-progress-active-status .active-bar:before{position:absolute;inset:0;background:#fff;border-radius:10px;opacity:0;-webkit-animation:progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;animation:progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;content:""}@keyframes progress-active{0%{transform:translateX(-100%) scaleX(0);opacity:.1}20%{transform:translateX(-100%) scaleX(0);opacity:.5}100%{transform:translateX(0) scaleX(1);opacity:0}}',""]),e.exports=r},3645:function(e){"use strict";e.exports=function(e){var r=[];return r.toString=function(){return this.map((function(r){var t=function(e,r){var t=e[1]||"",o=e[3];if(!o)return t;if(r&&"function"==typeof btoa){var n=(i=o,a=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),"/*# ".concat(c," */")),s=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[t].concat(s).concat([n]).join("\n")}var i,a,c;return[t].join("\n")}(r,e);return r[2]?"@media ".concat(r[2]," {").concat(t,"}"):t})).join("")},r.i=function(e,t,o){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(o)for(var s=0;s<this.length;s++){var i=this[s][0];null!=i&&(n[i]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);o&&n[c[0]]||(t&&(c[2]?c[2]="".concat(t," and ").concat(c[2]):c[2]=t),r.push(c))}},r}},7418:function(e){"use strict";
|
|
7
|
+
/*
|
|
8
|
+
object-assign
|
|
9
|
+
(c) Sindre Sorhus
|
|
10
|
+
@license MIT
|
|
11
|
+
*/var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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 r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,s){for(var i,a,c=n(e),l=1;l<arguments.length;l++){for(var u in i=Object(arguments[l]))t.call(i,u)&&(c[u]=i[u]);if(r){a=r(i);for(var p=0;p<a.length;p++)o.call(i,a[p])&&(c[a[p]]=i[a[p]])}}return c}},5251:function(e,r,t){"use strict";
|
|
12
|
+
/** @license React v17.0.2
|
|
13
|
+
* react-jsx-runtime.production.min.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/
|
|
20
|
+
t(7418);var o=t(8156),n=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var s=Symbol.for;n=s("react.element"),s("react.fragment")}var i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,r,t){var o,s={},l=null,u=null;for(o in void 0!==t&&(l=""+t),void 0!==r.key&&(l=""+r.key),void 0!==r.ref&&(u=r.ref),r)a.call(r,o)&&!c.hasOwnProperty(o)&&(s[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===s[o]&&(s[o]=r[o]);return{$$typeof:n,type:e,key:l,ref:u,props:s,_owner:i.current}}r.jsx=l,r.jsxs=l},5893:function(e,r,t){"use strict";e.exports=t(5251)},2738:function(e,r,t){var o=t(3379),n=t(1442);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.id,n,""]]);var s={insert:("body","body"),singleton:!1};o(n,s);e.exports=n.locals||{}},3379:function(e,r,t){"use strict";var o,n=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},s=function(){var e={};return function(r){if(void 0===e[r]){var t=document.querySelector(r);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[r]=t}return e[r]}}(),i=[];function a(e){for(var r=-1,t=0;t<i.length;t++)if(i[t].identifier===e){r=t;break}return r}function c(e,r){for(var t={},o=[],n=0;n<e.length;n++){var s=e[n],c=r.base?s[0]+r.base:s[0],l=t[c]||0,u="".concat(c," ").concat(l);t[c]=l+1;var p=a(u),f={css:s[1],media:s[2],sourceMap:s[3]};-1!==p?(i[p].references++,i[p].updater(f)):i.push({identifier:u,updater:h(f,r),references:1}),o.push(u)}return o}function l(e){var r=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var n=t.nc;n&&(o.nonce=n)}if(Object.keys(o).forEach((function(e){r.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(r);else{var i=s(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(r)}return r}var u,p=(u=[],function(e,r){return u[e]=r,u.filter(Boolean).join("\n")});function f(e,r,t,o){var n=t?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=p(r,n);else{var s=document.createTextNode(n),i=e.childNodes;i[r]&&e.removeChild(i[r]),i.length?e.insertBefore(s,i[r]):e.appendChild(s)}}function d(e,r,t){var o=t.css,n=t.media,s=t.sourceMap;if(n?e.setAttribute("media",n):e.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var g=null,y=0;function h(e,r){var t,o,n;if(r.singleton){var s=y++;t=g||(g=l(r)),o=f.bind(null,t,s,!1),n=f.bind(null,t,s,!0)}else t=l(r),o=d.bind(null,t,r),n=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)};return o(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;o(e=r)}else n()}}e.exports=function(e,r){(r=r||{}).singleton||"boolean"==typeof r.singleton||(r.singleton=n());var t=c(e=e||[],r);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<t.length;o++){var n=a(t[o]);i[n].references--}for(var s=c(e,r),l=0;l<t.length;l++){var u=a(t[l]);0===i[u].references&&(i[u].updater(),i.splice(u,1))}t=s}}}},2004:function(e){"use strict";e.exports=o},1014:function(e){"use strict";e.exports=r},5927:function(e){"use strict";e.exports=n},6649:function(e){"use strict";e.exports=t},8156:function(r){"use strict";r.exports=e}},i={};function a(e){var r=i[e];if(void 0!==r)return r.exports;var t=i[e]={id:e,exports:{}};return s[e](t,t.exports,a),t.exports}a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,{a:r}),r},a.d=function(e,r){for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nc=void 0;var c={};return function(){"use strict";a.r(c),a.d(c,{Progress:function(){return $},default:function(){return H}});var e=a(5893);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},r.apply(this,arguments)}function t(e,r){if(null==e)return{};var t,o,n=function(e,r){if(null==e)return{};var t,o,n={},s=Object.keys(e);for(o=0;o<s.length;o++)t=s[o],r.indexOf(t)>=0||(n[t]=e[t]);return n}(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)t=s[o],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}var o=a(8156),n=a(4184),s=a.n(n),i={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},l=function(){var e=(0,o.useRef)([]),r=(0,o.useRef)(null);return(0,o.useEffect)((function(){var t=Date.now(),o=!1;e.current.forEach((function(e){if(e){o=!0;var n=e.style;n.transitionDuration=".3s, .3s, .3s, .06s",r.current&&t-r.current<100&&(n.transitionDuration="0s, 0s")}})),o&&(r.current=Date.now())})),e.current},u=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],p=function(e){var n=e.className,i=e.percent,a=e.prefixCls,c=e.strokeColor,p=e.strokeLinecap,f=e.strokeWidth,d=e.style,g=e.trailColor,y=e.trailWidth,h=e.transition,v=t(e,u);delete v.gapPosition;var m=Array.isArray(i)?i:[i],b=Array.isArray(c)?c:[c],x=l(),k=f/2,j=100-f/2,O="M ".concat("round"===p?k:0,",").concat(k,"\n L ").concat("round"===p?j:100,",").concat(k),w="0 0 100 ".concat(f),C=0;return o.createElement("svg",r({className:s()("".concat(a,"-line"),n),viewBox:w,preserveAspectRatio:"none",style:d},v),o.createElement("path",{className:"".concat(a,"-line-trail"),d:O,strokeLinecap:p,stroke:g,strokeWidth:y||f,fillOpacity:"0"}),m.map((function(e,r){var t=1;switch(p){case"round":t=1-f/100;break;case"square":t=1-f/2/100;break;default:t=1}var n={strokeDasharray:"".concat(e*t,"px, 100px"),strokeDashoffset:"-".concat(C,"px"),transition:h||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},s=b[r]||b[b.length-1];return C+=e,o.createElement("path",{key:r,className:"".concat(a,"-line-path"),d:O,strokeLinecap:p,stroke:s,strokeWidth:f,fillOpacity:"0",ref:function(e){x[r]=e},style:n})})))};p.defaultProps=i,p.displayName="Line";function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function g(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,s=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(s.push(o.value),!r||s.length!==r);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return s}}(e,r)||function(e,r){if(e){if("string"==typeof e)return d(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?d(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var y=0,h=!("undefined"==typeof window||!window.document||!window.document.createElement);var v=function(e){var r=g(o.useState(),2),t=r[0],n=r[1];return o.useEffect((function(){var e;n("rc_progress_".concat((h?(e=y,y+=1):e="TEST_OR_SSR",e)))}),[]),e||t},m=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function b(e){return+e.replace("%","")}function x(e){var r=null!=e?e:[];return Array.isArray(r)?r:[r]}var k=100,j=function(e,r,t,o,n,s,i,a,c,l){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,p=t/100*360*((360-s)/360),f=0===s?0:{bottom:0,top:180,left:90,right:-90}[i],d=(100-o)/100*r;return"round"===c&&100!==o&&(d+=l/2)>=r&&(d=r-.01),{stroke:"string"==typeof a?a:void 0,strokeDasharray:"".concat(r,"px ").concat(e),strokeDashoffset:d+u,transform:"rotate(".concat(n+p+f,"deg)"),transformOrigin:"50% 50%",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},O=function(e){var n,i,a,c=e.id,u=e.prefixCls,p=e.steps,d=e.strokeWidth,g=e.trailWidth,y=e.gapDegree,h=void 0===y?0:y,O=e.gapPosition,w=e.trailColor,C=e.strokeLinecap,S=e.style,N=e.className,P=e.strokeColor,E=e.percent,_=t(e,m),D=v(c),W="".concat(D,"-gradient"),A=50-d/2,I=2*Math.PI*A,L=h>0?90+h/2:-90,F=I*((360-h)/360),M="object"===f(p)?p:{count:p,space:2},R=M.count,T=M.space,q=j(I,F,0,100,L,h,O,w,C,d),U=x(E),B=x(P),X=B.find((function(e){return e&&"object"===f(e)})),z=l();return o.createElement("svg",r({className:s()("".concat(u,"-circle"),N),viewBox:"0 0 ".concat(k," ").concat(k),style:S,id:c},_),X&&o.createElement("defs",null,o.createElement("linearGradient",{id:W,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(X).sort((function(e,r){return b(e)-b(r)})).map((function(e,r){return o.createElement("stop",{key:r,offset:e,stopColor:X[e]})})))),!R&&o.createElement("circle",{className:"".concat(u,"-circle-trail"),r:A,cx:50,cy:50,stroke:w,strokeLinecap:C,strokeWidth:g||d,style:q}),R?(n=Math.round(R*(U[0]/100)),i=100/R,a=0,new Array(R).fill(null).map((function(e,r){var t=r<=n-1?B[0]:w,s=t&&"object"===f(t)?"url(#".concat(W,")"):void 0,c=j(I,F,a,i,L,h,O,t,"butt",d,T);return a+=100*(F-c.strokeDashoffset+T)/F,o.createElement("circle",{key:r,className:"".concat(u,"-circle-path"),r:A,cx:50,cy:50,stroke:s,strokeWidth:d,opacity:1,style:c,ref:function(e){z[r]=e}})}))):function(){var e=0;return U.map((function(r,t){var n=B[t]||B[B.length-1],s=n&&"object"===f(n)?"url(#".concat(W,")"):void 0,i=j(I,F,e,r,L,h,O,n,C,d);return e+=r,o.createElement("circle",{key:t,className:"".concat(u,"-circle-path"),r:A,cx:50,cy:50,stroke:s,strokeLinecap:C,strokeWidth:d,opacity:0===r?0:1,style:i,ref:function(e){z[t]=e}})})).reverse()}())};O.defaultProps=i,O.displayName="Circle";var w=O,C=a(1014),S=a.n(C),N=a(6649),P=a.n(N),E=a(2004),_=a.n(E),D=a(5927),W=a.n(D),A=function(){return A=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},A.apply(this,arguments)},I=function(r){for(var t=r.steps,o=r.percent,n=void 0===o?0:o,s=r.strokeWidth,i=void 0===s?8:s,a=r.strokeColor,c=r.trailColor,l=r.children,u="number"==typeof n?Math.round(t*(n/100)):1,p=[],f=0;f<t;f+=1)p.push((0,e.jsx)("div",{className:f<=u-1?"steps-item steps-item-active":"steps-item",style:{backgroundColor:f<=u-1?a:c,width:14,height:i}},f));return(0,e.jsxs)("div",A({className:"steps-outer"},{children:[p,l]}))};function L(e){return!e||e<0?0:e>100?100:e}var F,M,R=function(){return R=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},R.apply(this,arguments)},T=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)r.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]])}return t},q=function(e,r){var t,o,n=e.from,s=void 0===n?"#3D66F8":n,i=e.to,a=void 0===i?"#4F93F0":i,c=e.direction,l=void 0===c?"rtl"===r?"to left":"to right":c,u=T(e,["from","to","direction"]);if(0!==Object.keys(u).length){var p=(t=u,o=[],Object.keys(t).forEach((function(e){var r=parseFloat(e.replace(/%/g,""));isNaN(r)||o.push({key:r,value:t[e]})})),(o=o.sort((function(e,r){return e.key-r.key}))).map((function(e){var r=e.key,t=e.value;return"".concat(t," ").concat(r,"%")})).join(", "));return{backgroundImage:"linear-gradient(".concat(l,", ").concat(p,")")}}return{backgroundImage:"linear-gradient(".concat(l,", ").concat(s,", ").concat(a,")")}},U=function(r){var t=r.direction,o=r.percent,n=r.strokeWidth,s=r.strokeColor,i=r.strokeLinecap,a=r.trailColor,c=s&&"string"!=typeof s?q(s,t):{background:s},l=a?{backgroundColor:a}:void 0,u=R({width:"".concat(L(o),"%"),height:n||10,borderRadius:"square"===i?0:""},c);return(0,e.jsx)("div",R({className:"trail-bar",style:l},{children:(0,e.jsx)("div",{className:"active-bar",style:u})}))},B=(a(2738),function(){return B=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},B.apply(this,arguments)}),X=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)r.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]])}return t};!function(e){e[e.line=0]="line",e[e.circle=1]="circle",e[e.dashboard=2]="dashboard"}(F||(F={})),function(e){e[e.normal=0]="normal",e[e.exception=1]="exception",e[e.active=2]="active",e[e.success=3]="success"}(M||(M={}));var z={success:"#41D658",exception:"#F46B53",normal:"#3D66F8",active:"#3D66F8"},$=function(r){var t,o=r.type,n=void 0===o?"line":o,s=r.className,i=(r.children,r.status),a=r.width,c=void 0===a?132:a,l=r.showInfo,u=void 0===l||l,p=r.format,f=r.success,d=r.percent,g=void 0===d?0:d,y=r.steps,h=r.direction,v=r.strokeColor,m=r.gapDegree,b=void 0===m?75:m,x=X(r,["type","className","children","status","width","showInfo","format","success","percent","steps","direction","strokeColor","gapDegree"]),k=function(){return v||(f&&f.percent<g?[f.strokeColor||z.success,z.normal]:O?z.success:z[i||"normal"])},j=function(){return f&&f.percent<g&&"number"==typeof g?[f.percent,g-f.percent]:g},O=g&&100===g&&!i||"success"===i,C="circle"===n||"dashboard"===n?{width:c,height:c}:{},N=function(){return p?p(g):O?"circle"===n?(0,e.jsx)(_(),{className:"success"}):(0,e.jsx)(S(),{className:"success"}):"exception"===i?"circle"===n?(0,e.jsx)(W(),{className:"error"}):(0,e.jsx)(P(),{className:"error"}):L(g)+"%"},E=y?(0,e.jsx)(I,B({steps:y,strokeColor:k(),percent:j()},x,{children:u&&(0,e.jsx)("div",B({className:"progress-text"},{children:N()}))})):(0,e.jsx)(U,B({strokeColor:k(),percent:j(),direction:h},x,{children:" "})),D=(0,e.jsx)(w,B({strokeWidth:6,trailWidth:6,strokeColor:k(),percent:j()},x)),A=(0,e.jsx)(w,B({strokeWidth:6,trailWidth:6,gapPosition:"bottom",gapDegree:b,strokeColor:k(),percent:j()},x));return(0,e.jsx)("div",B({className:(t="paraui-progress paraui-progress-".concat(n||"default"),O&&(t+=" paraui-progress-success-status"),"exception"===i&&(t+=" paraui-progress-exception-status"),"active"===i&&(t+=" paraui-progress-active-status"),s&&(t+=" "+s),t)},{children:(0,e.jsxs)("div",B({className:"progress-outer"},{children:[(0,e.jsx)("div",B({className:"progress-inner",style:C},{children:"dashboard"===n?A:"circle"===n?D:E})),u&&!y&&(0,e.jsx)("div",B({className:"progress-text"},{children:N()}))]}))}))},H=$}(),c}()}));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Hanz
|
|
3
|
+
* @date 2022/4/2 上午10:45
|
|
4
|
+
* @description
|
|
5
|
+
*/
|
|
6
|
+
import React, { FC } from "react";
|
|
7
|
+
import './index.scss';
|
|
8
|
+
export interface QueryingProps {
|
|
9
|
+
/** cls */
|
|
10
|
+
className?: string;
|
|
11
|
+
/** style */
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
/** 尺寸 */
|
|
14
|
+
size?: 'large' | 'small';
|
|
15
|
+
/** 图片样式 */
|
|
16
|
+
imageStyle?: React.CSSProperties;
|
|
17
|
+
/** 图片 */
|
|
18
|
+
image?: React.ReactNode;
|
|
19
|
+
/** 描述 */
|
|
20
|
+
description?: React.ReactNode;
|
|
21
|
+
/** 自定义节点 */
|
|
22
|
+
customQuerying?: React.ReactNode;
|
|
23
|
+
[name: string]: any;
|
|
24
|
+
}
|
|
25
|
+
declare const Querying: FC<QueryingProps>;
|
|
26
|
+
export default Querying;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("clsx"),require("@para-ui/core/GlobalContext")):"function"==typeof define&&define.amd?define(["react","clsx","@para-ui/core/GlobalContext"],e):"object"==typeof exports?exports.ParaUI=e(require("react"),require("clsx"),require("@para-ui/core/GlobalContext")):t.ParaUI=e(t.react,t.clsx,t["@para-ui/core/GlobalContext"])}(self,(function(t,e,r){return function(){var a={665:function(t,e,r){(e=r(3645)(!1)).push([t.id,".paraui-querying{display:inline-flex;flex-direction:column;align-items:center}.paraui-querying-image img{width:100%}.paraui-querying-description{line-height:17px;font-size:14px;font-weight:400;color:rgba(46,55,67,.7)}.paraui-querying>.paraui-querying-image{line-height:0}.paraui-querying-large .paraui-querying-description{margin-top:24px}.paraui-querying-small .paraui-querying-description{margin-top:12px;font-size:12px}",""]),t.exports=e},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=function(t,e){var r=t[1]||"",a=t[3];if(!a)return r;if(e&&"function"==typeof btoa){var n=(s=a,o=btoa(unescape(encodeURIComponent(JSON.stringify(s)))),f="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),"/*# ".concat(f," */")),i=a.sources.map((function(t){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(t," */")}));return[r].concat(i).concat([n]).join("\n")}var s,o,f;return[r].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,a){"string"==typeof t&&(t=[[null,t,""]]);var n={};if(a)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(n[s]=!0)}for(var o=0;o<t.length;o++){var f=[].concat(t[o]);a&&n[f[0]]||(r&&(f[2]?f[2]="".concat(r," and ").concat(f[2]):f[2]=r),e.push(f))}},e}},7418:function(t){"use strict";
|
|
2
|
+
/*
|
|
3
|
+
object-assign
|
|
4
|
+
(c) Sindre Sorhus
|
|
5
|
+
@license MIT
|
|
6
|
+
*/var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function n(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(t){a[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(t){return!1}}()?Object.assign:function(t,i){for(var s,o,f=n(t),l=1;l<arguments.length;l++){for(var d in s=Object(arguments[l]))r.call(s,d)&&(f[d]=s[d]);if(e){o=e(s);for(var c=0;c<o.length;c++)a.call(s,o[c])&&(f[o[c]]=s[o[c]])}}return f}},5251:function(t,e,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(7418);var a=r(8156),n=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;n=i("react.element"),e.Fragment=i("react.fragment")}var s=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o=Object.prototype.hasOwnProperty,f={key:!0,ref:!0,__self:!0,__source:!0};function l(t,e,r){var a,i={},l=null,d=null;for(a in void 0!==r&&(l=""+r),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(d=e.ref),e)o.call(e,a)&&!f.hasOwnProperty(a)&&(i[a]=e[a]);if(t&&t.defaultProps)for(a in e=t.defaultProps)void 0===i[a]&&(i[a]=e[a]);return{$$typeof:n,type:t,key:l,ref:d,props:i,_owner:s.current}}e.jsx=l,e.jsxs=l},5893:function(t,e,r){"use strict";t.exports=r(5251)},7385:function(t,e,r){var a=r(3379),n=r(665);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[t.id,n,""]]);var i={insert:("body","body"),singleton:!1};a(n,i);t.exports=n.locals||{}},3379:function(t,e,r){"use strict";var a,n=function(){return void 0===a&&(a=Boolean(window&&document&&document.all&&!window.atob)),a},i=function(){var t={};return function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}t[e]=r}return t[e]}}(),s=[];function o(t){for(var e=-1,r=0;r<s.length;r++)if(s[r].identifier===t){e=r;break}return e}function f(t,e){for(var r={},a=[],n=0;n<t.length;n++){var i=t[n],f=e.base?i[0]+e.base:i[0],l=r[f]||0,d="".concat(f," ").concat(l);r[f]=l+1;var c=o(d),h={css:i[1],media:i[2],sourceMap:i[3]};-1!==c?(s[c].references++,s[c].updater(h)):s.push({identifier:d,updater:g(h,e),references:1}),a.push(d)}return a}function l(t){var e=document.createElement("style"),a=t.attributes||{};if(void 0===a.nonce){var n=r.nc;n&&(a.nonce=n)}if(Object.keys(a).forEach((function(t){e.setAttribute(t,a[t])})),"function"==typeof t.insert)t.insert(e);else{var s=i(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var d,c=(d=[],function(t,e){return d[t]=e,d.filter(Boolean).join("\n")});function h(t,e,r,a){var n=r?"":a.media?"@media ".concat(a.media," {").concat(a.css,"}"):a.css;if(t.styleSheet)t.styleSheet.cssText=c(e,n);else{var i=document.createTextNode(n),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function u(t,e,r){var a=r.css,n=r.media,i=r.sourceMap;if(n?t.setAttribute("media",n):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=a;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(a))}}var m=null,x=0;function g(t,e){var r,a,n;if(e.singleton){var i=x++;r=m||(m=l(e)),a=h.bind(null,r,i,!1),n=h.bind(null,r,i,!0)}else r=l(e),a=u.bind(null,r,e),n=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(r)};return a(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;a(t=e)}else n()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=n());var r=f(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var a=0;a<r.length;a++){var n=o(r[a]);s[n].references--}for(var i=f(t,e),l=0;l<r.length;l++){var d=o(r[l]);0===s[d].references&&(s[d].updater(),s.splice(d,1))}r=i}}}},3054:function(t,e,r){"use strict";var a=r(8156),n=r.n(a),i=r(5395),s=r.n(i);e.Z=function(t,e){var r=n().useContext(s()).intlFormat;return e.zh_CN=e.zh,e.en_US=e.en,r&&r(t,e)}},6010:function(t,e,r){"use strict";r.d(e,{Z:function(){return f}});var a=r(8156),n=r.n(a),i=r(5395),s=r.n(i),o=function(){return o=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},o.apply(this,arguments)};function f(t,e){var r=n().useContext(s()).componentsProps,a=r&&r[e];return o(o({},a),t)}},5395:function(t){"use strict";t.exports=r},5744:function(t){"use strict";t.exports=e},8156:function(e){"use strict";e.exports=t}},n={};function i(t){var e=n[t];if(void 0!==e)return e.exports;var r=n[t]={id:t,exports:{}};return a[t](r,r.exports,i),r.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var s={};return function(){"use strict";i.r(s),i.d(s,{default:function(){return c}});var t=i(5893),e=i(5744),r=i.n(e),a=function(){return a=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},a.apply(this,arguments)},n=i(3054),o={zh:{querying:"数据查询中"},en:{querying:"Data querying"}},f=(i(7385),i(6010)),l=function(){return l=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},l.apply(this,arguments)},d={large:(0,t.jsx)((function(){return(0,t.jsx)("svg",a({xmlns:"http://www.w3.org/2000/svg",width:"334",height:"238",viewBox:"0 0 334 238"},{children:(0,t.jsxs)("g",a({id:"数据查询中-大",transform:"translate(-303 -696)"},{children:[(0,t.jsx)("rect",{id:"矩形_20296","data-name":"矩形 20296",width:"334",height:"238",transform:"translate(303 696)",fill:"rgba(255,255,255,0)"}),(0,t.jsxs)("g",a({id:"插画",transform:"translate(174.443 675.406)"},{children:[(0,t.jsxs)("g",a({id:"底",transform:"translate(142.557 33.595)"},{children:[(0,t.jsx)("path",{id:"背景",d:"M4637.062,989.227c3.9-4.993,13.692-26.559,55.608-26.734,21.923,2.127,40.048,22.729,50.663,42.262s49.942,22.464,64.316,26.146,41.027,22.905,32.384,57.476-49.9,29.156-82.36,47.8-45.434,26.558-84.576,21.854c-20.6-4.352-34.522-18.288-31.249-38.791,1.555-10.4,11.784-29.468,13.7-43.442s-19.939-44.82-23.007-51.922C4627.981,1014.233,4633.166,994.22,4637.062,989.227Z",transform:"translate(-4572.552 -948.18)",fill:"#edf2fd"}),(0,t.jsx)("rect",{id:"矩形_20289","data-name":"矩形 20289",width:"47.466",height:"8.288",rx:"4.144",transform:"translate(18.459 56.507)",fill:"#edf2fd"}),(0,t.jsx)("rect",{id:"矩形_20290","data-name":"矩形 20290",width:"47.466",height:"8.288",rx:"4.144",transform:"translate(42.569 79.864)",fill:"#edf2fd"}),(0,t.jsx)("rect",{id:"矩形_20291","data-name":"矩形 20291",width:"47.466",height:"8.288",rx:"4.144",transform:"translate(220.378 162.741)",fill:"#edf2fd"}),(0,t.jsx)("rect",{id:"矩形_20292","data-name":"矩形 20292",width:"47.466",height:"8.288",rx:"4.144",transform:"translate(258.803 140.138)",fill:"#edf2fd"}),(0,t.jsxs)("g",a({id:"组_20015","data-name":"组 20015",transform:"translate(275.563 90.228) rotate(-90)"},{children:[(0,t.jsx)("rect",{id:"矩形_20286","data-name":"矩形 20286",width:"6.974",height:"1.162",rx:"0.581",transform:"translate(6.974 4.068) rotate(180)",fill:"#99b6f8"}),(0,t.jsx)("rect",{id:"矩形_20286-2","data-name":"矩形 20286",width:"6.974",height:"1.162",rx:"0.581",transform:"translate(4.068) rotate(90)",fill:"#99b6f8"})]})),(0,t.jsx)("rect",{id:"矩形_20286-3","data-name":"矩形 20286",width:"9.041",height:"1.507",rx:"0.753",transform:"translate(5.274 78.734) rotate(90)",fill:"#99b6f8"}),(0,t.jsx)("rect",{id:"矩形_20286-4","data-name":"矩形 20286",width:"9.041",height:"1.507",rx:"0.753",transform:"translate(0 82.501)",fill:"#99b6f8"}),(0,t.jsxs)("g",a({id:"椭圆_10195","data-name":"椭圆 10195",transform:"translate(29.007 34.658)",fill:"none",stroke:"#99b6f8",strokeWidth:"2",opacity:"0.999"},{children:[(0,t.jsx)("circle",{cx:"5.274",cy:"5.274",r:"5.274",stroke:"none"}),(0,t.jsx)("circle",{cx:"5.274",cy:"5.274",r:"4.274",fill:"none"})]})),(0,t.jsxs)("g",a({id:"矩形_20287","data-name":"矩形 20287",transform:"translate(225.538 54.258) rotate(-45)",fill:"none",stroke:"#99b6f8",strokeWidth:"2"},{children:[(0,t.jsx)("rect",{width:"9.041",height:"9.041",rx:"1",stroke:"none"}),(0,t.jsx)("rect",{x:"1",y:"1",width:"7.041",height:"7.041",fill:"none"})]})),(0,t.jsxs)("g",a({id:"矩形_20288","data-name":"矩形 20288",transform:"translate(53.192 116.356) rotate(-45)",fill:"none",stroke:"#99b6f8",strokeWidth:"2"},{children:[(0,t.jsx)("rect",{width:"6.027",height:"6.027",rx:"1",stroke:"none"}),(0,t.jsx)("rect",{x:"1",y:"1",width:"4.027",height:"4.027",fill:"none"})]})),(0,t.jsxs)("g",a({id:"椭圆_10196","data-name":"椭圆 10196",transform:"translate(194.762)",fill:"none",stroke:"#99b6f8",strokeWidth:"2",opacity:"0.999"},{children:[(0,t.jsx)("circle",{cx:"3.767",cy:"3.767",r:"3.767",stroke:"none"}),(0,t.jsx)("circle",{cx:"3.767",cy:"3.767",r:"2.767",fill:"none"})]})),(0,t.jsxs)("g",a({id:"椭圆_10197","data-name":"椭圆 10197",transform:"translate(29.007 165.755)",fill:"none",stroke:"#99b6f8",strokeWidth:"2",opacity:"0.999"},{children:[(0,t.jsx)("circle",{cx:"3.767",cy:"3.767",r:"3.767",stroke:"none"}),(0,t.jsx)("circle",{cx:"3.767",cy:"3.767",r:"2.767",fill:"none"})]})),(0,t.jsxs)("g",a({id:"组_20016","data-name":"组 20016",transform:"translate(213.221 201.543) rotate(-90)"},{children:[(0,t.jsx)("rect",{id:"矩形_20286-5","data-name":"矩形 20286",width:"6.974",height:"1.162",rx:"0.581",transform:"translate(6.974 4.068) rotate(180)",fill:"#99b6f8"}),(0,t.jsx)("rect",{id:"矩形_20286-6","data-name":"矩形 20286",width:"6.974",height:"1.162",rx:"0.581",transform:"translate(4.068) rotate(90)",fill:"#99b6f8"})]}))]})),(0,t.jsxs)("g",a({id:"记录",transform:"translate(217.857 94.956)"},{children:[(0,t.jsx)("path",{id:"路径_18121","data-name":"路径 18121",d:"M12.284,0H171.972a12.284,12.284,0,0,1,12.284,12.284v90.593a12.284,12.284,0,0,1-12.284,12.284H12.284A12.284,12.284,0,0,1,0,102.876V12.284A12.284,12.284,0,0,1,12.284,0Z",transform:"translate(0 0)",fill:"#dde7ff"}),(0,t.jsx)("path",{id:"矩形_131","data-name":"矩形 131",d:"M6,0H178.256a6,6,0,0,1,6,6v6.934a0,0,0,0,1,0,0H0a0,0,0,0,1,0,0V6A6,6,0,0,1,6,0Z",transform:"translate(0 0)",fill:"#6487d9"}),(0,t.jsx)("rect",{id:"矩形_139","data-name":"矩形 139",width:"3.839",height:"3.839",rx:"1.919",transform:"translate(3.293 3.012)",fill:"#fff"}),(0,t.jsx)("rect",{id:"矩形_20046","data-name":"矩形 20046",width:"3.839",height:"3.839",rx:"1.919",transform:"translate(10.203 3.012)",fill:"#fff"}),(0,t.jsx)("rect",{id:"矩形_20047","data-name":"矩形 20047",width:"3.839",height:"3.839",rx:"1.919",transform:"translate(17.113 3.012)",fill:"#fff"})]})),(0,t.jsxs)("g",a({id:"记录-2","data-name":"记录",transform:"translate(207.876 86.958)"},{children:[(0,t.jsx)("rect",{id:"矩形_20062","data-name":"矩形 20062",width:"184.256",height:"115.16",rx:"16",fill:"#f7f9ff"}),(0,t.jsx)("path",{id:"矩形_131-2","data-name":"矩形 131",d:"M6,0H178.256a6,6,0,0,1,6,6v6.934a0,0,0,0,1,0,0H0a0,0,0,0,1,0,0V6A6,6,0,0,1,6,0Z",fill:"#3666d6"}),(0,t.jsx)("rect",{id:"矩形_139-2","data-name":"矩形 139",width:"3.839",height:"3.839",rx:"1.919",transform:"translate(4.829 4.548)",fill:"#fff"}),(0,t.jsx)("rect",{id:"矩形_20046-2","data-name":"矩形 20046",width:"3.839",height:"3.839",rx:"1.919",transform:"translate(11.739 4.548)",fill:"#fff"}),(0,t.jsx)("rect",{id:"矩形_20047-2","data-name":"矩形 20047",width:"3.839",height:"3.839",rx:"1.919",transform:"translate(18.648 4.548)",fill:"#fff"})]})),(0,t.jsx)("rect",{id:"矩形_130","data-name":"矩形 130",width:"37.672",height:"91.919",rx:"6",transform:"translate(215.025 104.592)",fill:"#fff"}),(0,t.jsx)("rect",{id:"矩形_20294","data-name":"矩形 20294",width:"123.563",height:"91.919",rx:"6",transform:"translate(260.23 104.592)",fill:"#fff"}),(0,t.jsx)("rect",{id:"矩形_20293","data-name":"矩形 20293",width:"143.152",height:"3.767",rx:"1.884",transform:"translate(243.893 91.609)",fill:"#fff",opacity:"0.4"}),(0,t.jsx)("rect",{id:"矩形_19933","data-name":"矩形 19933",width:"27.124",height:"25.617",rx:"2",transform:"translate(220.537 110.444)",fill:"#dde7ff"}),(0,t.jsx)("rect",{id:"矩形_19935","data-name":"矩形 19935",width:"27.124",height:"6.027",rx:"3.014",transform:"translate(220.537 148.869)",fill:"#dde7ff"}),(0,t.jsx)("rect",{id:"矩形_19936","data-name":"矩形 19936",width:"27.124",height:"6.027",rx:"3.014",transform:"translate(220.537 159.417)",fill:"#dde7ff"}),(0,t.jsx)("rect",{id:"矩形_19938","data-name":"矩形 19938",width:"27.124",height:"6.027",rx:"3.014",transform:"translate(220.537 169.965)",fill:"#dde7ff"}),(0,t.jsx)("rect",{id:"矩形_19939","data-name":"矩形 19939",width:"13.562",height:"6.027",rx:"3.014",transform:"translate(220.537 180.513)",fill:"#dde7ff"}),(0,t.jsx)("path",{id:"路径_17905","data-name":"路径 17905",d:"M20.356,21.964l-9.429-10.17v2.289H9.107V9.83H20.239a3.921,3.921,0,1,1,0,7.842h-.65L17.9,15.845h2.328a2.087,2.087,0,0,0,0-4.175H13.288L21.2,20.182l1.613,1.782Zm-4.773-4.3h-4.65v4.3H9.1V15.858h4.767l1.7,1.834Z",transform:"translate(217.468 107.352)",fill:"#3666d6"}),(0,t.jsxs)("g",a({id:"组_19234","data-name":"组 19234",transform:"matrix(0.819, -0.574, 0.574, 0.819, 352.183, 181.295)"},{children:[(0,t.jsx)("rect",{id:"矩形_19826","data-name":"矩形 19826",width:"3.819",height:"15.414",transform:"translate(16.505 35.056)",fill:"#939fba"}),(0,t.jsx)("circle",{id:"椭圆_10118","data-name":"椭圆 10118",cx:"18.415",cy:"18.415",r:"18.415",transform:"translate(0 0)",fill:"#3666d6"}),(0,t.jsx)("circle",{id:"椭圆_10119","data-name":"椭圆 10119",cx:"14.595",cy:"14.595",r:"14.595",transform:"translate(3.819 3.819)",fill:"#e2e9ff"}),(0,t.jsx)("path",{id:"路径_17675","data-name":"路径 17675",d:"M1.625,0A10.484,10.484,0,0,0,.642,9.4c1.97,4.34,4.6,5.151,4.6,5.151",transform:"matrix(0.848, 0.53, -0.53, 0.848, 11.766, 8.135)",fill:"none",stroke:"#fff",strokeLinecap:"round",strokeWidth:"3"}),(0,t.jsx)("rect",{id:"矩形_19827","data-name":"矩形 19827",width:"5.729",height:"23.053",rx:"2.865",transform:"translate(15.55 47.196)",fill:"#3666d6"}),(0,t.jsx)("rect",{id:"矩形_19828","data-name":"矩形 19828",width:"5.729",height:"1.091",transform:"translate(15.55 49.924)",fill:"#ffa150"}),(0,t.jsx)("rect",{id:"矩形_19829","data-name":"矩形 19829",width:"5.729",height:"1.091",transform:"translate(15.55 66.566)",fill:"#ffa150"})]}))]}))]}))}))}),{}),small:(0,t.jsx)((function(){return(0,t.jsx)("svg",a({xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120"},{children:(0,t.jsxs)("g",a({id:"数据查询中-小",transform:"translate(-1048 -245)"},{children:[(0,t.jsx)("g",a({id:"边缘框",transform:"translate(1048 245)"},{children:(0,t.jsx)("rect",{id:"边缘框-2","data-name":"边缘框",width:"120",height:"120",fill:"none"})})),(0,t.jsxs)("g",a({id:"插画",transform:"translate(823.877 167.068)"},{children:[(0,t.jsxs)("g",a({id:"记录",transform:"translate(235.483 107.933)"},{children:[(0,t.jsx)("path",{id:"路径_18536","data-name":"路径 18536",d:"M3.723,0H99.067a3.723,3.723,0,0,1,3.723,3.723v56.8a3.723,3.723,0,0,1-3.723,3.723H3.723A3.723,3.723,0,0,1,0,60.521V3.723A3.723,3.723,0,0,1,3.723,0Z",transform:"translate(0.057 0.215)",fill:"#dde7ff"}),(0,t.jsx)("path",{id:"路径_18540","data-name":"路径 18540",d:"M3.723,0H99.067a3.723,3.723,0,0,1,3.723,3.723V7.215H0V3.723A3.723,3.723,0,0,1,3.723,0Z",transform:"translate(0 0)",fill:"#6487d9"}),(0,t.jsx)("rect",{id:"矩形_139","data-name":"矩形 139",width:"2.141",height:"2.141",rx:"1.071",transform:"translate(1.837 1.68)",fill:"#fff"}),(0,t.jsx)("rect",{id:"矩形_20046","data-name":"矩形 20046",width:"2.141",height:"2.141",rx:"1.071",transform:"translate(5.692 1.68)",fill:"#fff"}),(0,t.jsx)("rect",{id:"矩形_20047","data-name":"矩形 20047",width:"2.141",height:"2.141",rx:"1.071",transform:"translate(9.547 1.68)",fill:"#fff"})]})),(0,t.jsxs)("g",a({id:"记录-2","data-name":"记录",transform:"translate(229.915 103.472)"},{children:[(0,t.jsx)("path",{id:"路径_18538","data-name":"路径 18538",d:"M3.723,0H99.067a3.723,3.723,0,0,1,3.723,3.723v56.8a3.723,3.723,0,0,1-3.723,3.723H3.723A3.723,3.723,0,0,1,0,60.521V3.723A3.723,3.723,0,0,1,3.723,0Z",fill:"#f7f9ff"}),(0,t.jsx)("path",{id:"路径_18537","data-name":"路径 18537",d:"M3.723,0H99.067a3.723,3.723,0,0,1,3.723,3.723V7.215H0V3.723A3.723,3.723,0,0,1,3.723,0Z",fill:"#3666d6"}),(0,t.jsx)("rect",{id:"矩形_139-2","data-name":"矩形 139",width:"2.141",height:"2.141",rx:"1.071",transform:"translate(2.694 2.537)",fill:"#fff"}),(0,t.jsx)("rect",{id:"矩形_20046-2","data-name":"矩形 20046",width:"2.141",height:"2.141",rx:"1.071",transform:"translate(6.549 2.537)",fill:"#fff"}),(0,t.jsx)("rect",{id:"矩形_20047-2","data-name":"矩形 20047",width:"2.141",height:"2.141",rx:"1.071",transform:"translate(10.403 2.537)",fill:"#fff"})]})),(0,t.jsx)("rect",{id:"矩形_130","data-name":"矩形 130",width:"21.016",height:"51.278",rx:"6",transform:"translate(233.903 113.309)",fill:"#fff"}),(0,t.jsx)("path",{id:"路径_18539","data-name":"路径 18539",d:"M2.793,0H66.139a2.793,2.793,0,0,1,2.793,2.793V48.486a2.793,2.793,0,0,1-2.793,2.793H2.793A2.793,2.793,0,0,1,0,48.486V2.793A2.793,2.793,0,0,1,2.793,0Z",transform:"translate(259.122 113.309)",fill:"#fff"}),(0,t.jsx)("rect",{id:"矩形_20293","data-name":"矩形 20293",width:"79.859",height:"2.102",rx:"1.051",transform:"translate(250.008 106.066)",fill:"#fff",opacity:"0.4"}),(0,t.jsx)("rect",{id:"矩形_19933","data-name":"矩形 19933",width:"15.131",height:"14.291",rx:"2",transform:"translate(236.978 116.574)",fill:"#dde7ff"}),(0,t.jsx)("rect",{id:"矩形_19935","data-name":"矩形 19935",width:"15.131",height:"3.363",rx:"1.681",transform:"translate(236.978 138.01)",fill:"#dde7ff"}),(0,t.jsx)("rect",{id:"矩形_19936","data-name":"矩形 19936",width:"15.131",height:"3.363",rx:"1.681",transform:"translate(236.978 143.894)",fill:"#dde7ff"}),(0,t.jsx)("rect",{id:"矩形_19938","data-name":"矩形 19938",width:"15.131",height:"3.363",rx:"1.681",transform:"translate(236.978 149.778)",fill:"#dde7ff"}),(0,t.jsx)("rect",{id:"矩形_19939","data-name":"矩形 19939",width:"7.566",height:"3.363",rx:"1.681",transform:"translate(236.978 155.663)",fill:"#dde7ff"}),(0,t.jsx)("path",{id:"路径_17905","data-name":"路径 17905",d:"M15.38,16.6l-5.26-5.674V12.2H9.1V9.83h6.211a2.188,2.188,0,1,1,0,4.375h-.363l-.943-1.019h1.3a1.164,1.164,0,0,0,0-2.329H11.436l4.415,4.749.9.994Zm-2.663-2.4H10.123v2.4H9.1v-3.41h2.659l.95,1.023Z",transform:"translate(231.243 110.503)",fill:"#3666d6"}),(0,t.jsxs)("g",a({id:"组_19234","data-name":"组 19234",transform:"matrix(0.819, -0.574, 0.574, 0.819, 283.948, 133.735)"},{children:[(0,t.jsx)("rect",{id:"矩形_19826","data-name":"矩形 19826",width:"2.131",height:"8.599",transform:"translate(9.208 19.557)",fill:"#939fba"}),(0,t.jsx)("circle",{id:"椭圆_10118","data-name":"椭圆 10118",cx:"10.273",cy:"10.273",r:"10.273",transform:"translate(0 0)",fill:"#3666d6"}),(0,t.jsx)("circle",{id:"椭圆_10119","data-name":"椭圆 10119",cx:"8.142",cy:"8.142",r:"8.142",transform:"translate(2.131 2.131)",fill:"#e2e9ff"}),(0,t.jsx)("path",{id:"路径_17675","data-name":"路径 17675",d:"M.906,0A5.849,5.849,0,0,0,.358,5.243c1.1,2.421,2.566,2.874,2.566,2.874",transform:"matrix(0.848, 0.53, -0.53, 0.848, 6.564, 4.538)",fill:"none",stroke:"#fff",strokeLinecap:"round",strokeWidth:"3"}),(0,t.jsx)("rect",{id:"矩形_19827","data-name":"矩形 19827",width:"3.196",height:"12.86",rx:"1.598",transform:"translate(8.675 26.329)",fill:"#3666d6"}),(0,t.jsx)("rect",{id:"矩形_19828","data-name":"矩形 19828",width:"3.196",height:"0.609",transform:"translate(8.675 27.851)",fill:"#ffa150"}),(0,t.jsx)("rect",{id:"矩形_19829","data-name":"矩形 19829",width:"3.196",height:"0.609",transform:"translate(8.675 37.135)",fill:"#ffa150"})]}))]}))]}))}))}),{})},c=function(e){var a=(0,f.Z)(e,"Querying"),i=a.className,s=a.style,c=a.size,h=void 0===c?"large":c,u=a.imageStyle,m=a.image,x=void 0===m?d[h]:m,g=a.description,p=a.customQuerying,j=(0,n.Z)("Querying",o),y=void 0!==g?g:j({id:"querying"}),v="string"==typeof y?y:"querying",_=null;return _="string"==typeof x?(0,t.jsx)("img",{src:x,alt:v}):x,(0,t.jsx)("div",l({className:r()("paraui-querying",i,"paraui-querying-".concat(h)),style:s},{children:p||(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",l({className:"paraui-querying-image",style:u},{children:_})),y&&(0,t.jsx)("div",l({className:"paraui-querying-description"},{children:y}))]})}))}}(),s}()}));
|