@para-ui/core 2.1.35 → 2.1.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/AutoBox/index.d.ts +34 -0
- package/AutoBox/index.js +28 -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 +28 -0
- package/Button/SplitButton.d.ts +59 -0
- package/Button/index.d.ts +56 -0
- package/Button/index.js +53 -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 +53 -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 +41 -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 +27 -0
- package/CheckboxGroup/index.d.ts +46 -0
- package/CheckboxGroup/index.js +27 -0
- package/Collapse/collapsePanel.d.ts +30 -0
- package/Collapse/index.d.ts +57 -0
- package/Collapse/index.js +28 -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 +391 -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 +144 -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 +53 -0
- package/Drawer/interface.d.ts +78 -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 +172 -0
- package/Form/index.js +248 -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 +145 -0
- package/FormItem/index.js +248 -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 +118 -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 +28 -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 +118 -0
- package/InputNumber/index.d.ts +74 -0
- package/InputNumber/index.js +79 -0
- package/Label/index.d.ts +35 -0
- package/Label/index.js +27 -0
- package/Loading/index.d.ts +17 -0
- package/Loading/index.js +28 -0
- package/Menu/footerExpansion.d.ts +9 -0
- package/Menu/index.d.ts +10 -0
- package/Menu/index.js +53 -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 +67 -0
- package/Modal/Confirm/index.d.ts +66 -0
- package/Modal/index.d.ts +61 -0
- package/Modal/index.js +118 -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 +105 -0
- package/Notification/index.d.ts +52 -0
- package/Notification/index.js +67 -0
- package/OperateBtn/index.d.ts +59 -0
- package/OperateBtn/index.js +66 -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 +66 -0
- package/PageHeader/interface.d.ts +167 -0
- package/Pagination/index.d.ts +33 -0
- package/Pagination/index.js +183 -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 +50 -0
- package/PopConfirm/index.js +105 -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/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 +29 -1
- package/Radio/index.d.ts +38 -0
- package/Radio/index.js +27 -0
- package/RadioGroup/index.d.ts +47 -0
- package/RadioGroup/index.js +27 -0
- package/Search/index.d.ts +56 -0
- package/Search/index.js +118 -0
- package/Select/index.d.ts +86 -0
- package/Select/index.js +105 -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 +105 -0
- package/SingleBox/index.d.ts +42 -0
- package/SingleBox/index.js +105 -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 +145 -0
- package/Switch/index.d.ts +78 -0
- package/Switch/index.js +40 -0
- package/Table/index.d.ts +10 -0
- package/Table/index.js +261 -0
- package/Table/interface.d.ts +200 -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 +131 -0
- package/Tag/TagGroup.d.ts +66 -0
- package/Tag/index.d.ts +34 -0
- package/Tag/index.js +40 -0
- package/TextField/index.d.ts +93 -0
- package/TextField/index.js +79 -0
- package/TimePicker/index.d.ts +22 -0
- package/TimePicker/index.js +144 -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 +53 -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 +144 -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 +131 -0
- package/Tree/interface.d.ts +201 -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/{docs/view/autoTips/index.scss → 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 +196 -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 +40 -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 +183 -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 +295 -0
- package/cdn/FormItem/index.js +295 -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/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 +14 -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/TextField/index.js +105 -0
- package/cdn/TimePicker/index.js +183 -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 +249 -0
- package/index.d.ts +124 -0
- package/index.js +729 -0
- package/package.json +5 -4
- package/{temp/style.css → style.css} +12 -10
- package/.eslintignore +0 -12
- package/babel.config.js +0 -7
- package/docs/App.tsx +0 -277
- package/docs/Router.tsx +0 -79
- package/docs/assets/1.jpeg +0 -0
- package/docs/assets/P.svg +0 -1
- package/docs/assets/icon.ico +0 -0
- package/docs/assets/icon.png +0 -0
- package/docs/assets/logo.png +0 -0
- package/docs/config/interceptors.ts +0 -73
- package/docs/config/router.tsx +0 -212
- package/docs/context/global.tsx +0 -65
- package/docs/index.tsx +0 -42
- package/docs/locale/index.ts +0 -64
- package/docs/locale/lang/en_US.ts +0 -16
- package/docs/locale/lang/zh_CN.ts +0 -16
- package/docs/react-app-env.d.ts +0 -18
- package/docs/services/api.ts +0 -6
- package/docs/styles/index.scss +0 -31
- package/docs/view/autoBox/api.tsx +0 -67
- package/docs/view/autoBox/codeString.tsx +0 -137
- package/docs/view/autoBox/index.scss +0 -15
- package/docs/view/autoBox/index.tsx +0 -97
- package/docs/view/autoTips/api.tsx +0 -49
- package/docs/view/autoTips/codeString.tsx +0 -34
- package/docs/view/autoTips/index.tsx +0 -53
- package/docs/view/breadcrumbs/api.tsx +0 -72
- package/docs/view/breadcrumbs/codeString.tsx +0 -160
- package/docs/view/breadcrumbs/index.scss +0 -14
- package/docs/view/breadcrumbs/index.tsx +0 -173
- package/docs/view/button/api.tsx +0 -131
- package/docs/view/button/codeString.tsx +0 -153
- package/docs/view/button/index.scss +0 -23
- package/docs/view/button/index.tsx +0 -165
- package/docs/view/buttonGroup/api.tsx +0 -55
- package/docs/view/buttonGroup/codeString.tsx +0 -108
- package/docs/view/buttonGroup/index.scss +0 -9
- package/docs/view/buttonGroup/index.tsx +0 -93
- package/docs/view/carousel/api.tsx +0 -165
- package/docs/view/carousel/codeString.tsx +0 -207
- package/docs/view/carousel/index.scss +0 -12
- package/docs/view/carousel/index.tsx +0 -174
- package/docs/view/cascader/api.tsx +0 -116
- package/docs/view/cascader/codeString.tsx +0 -584
- package/docs/view/cascader/index.scss +0 -0
- package/docs/view/cascader/index.tsx +0 -261
- package/docs/view/checkbox/api.tsx +0 -148
- package/docs/view/checkbox/codeString.tsx +0 -215
- package/docs/view/checkbox/index.scss +0 -0
- package/docs/view/checkbox/index.tsx +0 -233
- package/docs/view/collapse/api.tsx +0 -109
- package/docs/view/collapse/codeString.tsx +0 -186
- package/docs/view/collapse/index.scss +0 -0
- package/docs/view/collapse/index.tsx +0 -171
- package/docs/view/colorPicker/api.tsx +0 -30
- package/docs/view/colorPicker/codeString.tsx +0 -58
- package/docs/view/colorPicker/index.scss +0 -5
- package/docs/view/colorPicker/index.tsx +0 -39
- package/docs/view/comboSelect/api.tsx +0 -255
- package/docs/view/comboSelect/codeString.tsx +0 -629
- package/docs/view/comboSelect/index.scss +0 -5
- package/docs/view/comboSelect/index.tsx +0 -402
- package/docs/view/container/api.tsx +0 -61
- package/docs/view/container/codeString.tsx +0 -64
- package/docs/view/container/index.scss +0 -0
- package/docs/view/container/index.tsx +0 -84
- package/docs/view/datePicker/api.tsx +0 -264
- package/docs/view/datePicker/codeString.tsx +0 -185
- package/docs/view/datePicker/index.scss +0 -8
- package/docs/view/datePicker/index.tsx +0 -205
- package/docs/view/drawer/api.tsx +0 -123
- package/docs/view/drawer/codeString.tsx +0 -122
- package/docs/view/drawer/index.scss +0 -5
- package/docs/view/drawer/index.tsx +0 -200
- package/docs/view/empty/api.tsx +0 -57
- package/docs/view/empty/codeString.tsx +0 -38
- package/docs/view/empty/index.scss +0 -11
- package/docs/view/empty/index.tsx +0 -43
- package/docs/view/form/api.tsx +0 -266
- package/docs/view/form/codeString.tsx +0 -203
- package/docs/view/form/index.scss +0 -0
- package/docs/view/form/index.tsx +0 -225
- package/docs/view/help/api.tsx +0 -58
- package/docs/view/help/codeString.tsx +0 -39
- package/docs/view/help/index.scss +0 -5
- package/docs/view/help/index.tsx +0 -40
- package/docs/view/helperText/api.tsx +0 -31
- package/docs/view/helperText/codeString.tsx +0 -16
- package/docs/view/helperText/index.scss +0 -0
- package/docs/view/helperText/index.tsx +0 -33
- package/docs/view/home/index.scss +0 -55
- package/docs/view/home/index.tsx +0 -119
- package/docs/view/icons/index.scss +0 -48
- package/docs/view/icons/index.tsx +0 -87
- package/docs/view/inputLang/api.tsx +0 -99
- package/docs/view/inputLang/codeString.tsx +0 -66
- package/docs/view/inputLang/index.scss +0 -0
- package/docs/view/inputLang/index.tsx +0 -85
- package/docs/view/inputNumber/api.tsx +0 -169
- package/docs/view/inputNumber/codeString.tsx +0 -129
- package/docs/view/inputNumber/index.scss +0 -0
- package/docs/view/inputNumber/index.tsx +0 -141
- package/docs/view/label/api.tsx +0 -63
- package/docs/view/label/codeString.tsx +0 -63
- package/docs/view/label/index.scss +0 -0
- package/docs/view/label/index.tsx +0 -82
- package/docs/view/loading/api.tsx +0 -26
- package/docs/view/loading/codeString.tsx +0 -13
- package/docs/view/loading/index.scss +0 -0
- package/docs/view/loading/index.tsx +0 -38
- package/docs/view/menu/api.tsx +0 -227
- package/docs/view/menu/codeString.tsx +0 -302
- package/docs/view/menu/index.scss +0 -42
- package/docs/view/menu/index.tsx +0 -289
- package/docs/view/message/api.tsx +0 -35
- package/docs/view/message/codeString.tsx +0 -73
- package/docs/view/message/index.scss +0 -7
- package/docs/view/message/index.tsx +0 -64
- package/docs/view/modal/api.tsx +0 -141
- package/docs/view/modal/codeString.tsx +0 -222
- package/docs/view/modal/index.scss +0 -9
- package/docs/view/modal/index.tsx +0 -222
- package/docs/view/multiBox/api.tsx +0 -99
- package/docs/view/multiBox/codeString.tsx +0 -104
- package/docs/view/multiBox/index.scss +0 -0
- package/docs/view/multiBox/index.tsx +0 -123
- package/docs/view/notification/api.tsx +0 -148
- package/docs/view/notification/codeString.tsx +0 -110
- package/docs/view/notification/index.scss +0 -9
- package/docs/view/notification/index.tsx +0 -118
- package/docs/view/operateBtn/api.tsx +0 -127
- package/docs/view/operateBtn/codeString.tsx +0 -165
- package/docs/view/operateBtn/index.scss +0 -0
- package/docs/view/operateBtn/index.tsx +0 -160
- package/docs/view/pageHeader/api.tsx +0 -321
- package/docs/view/pageHeader/codeString.tsx +0 -252
- package/docs/view/pageHeader/index.scss +0 -6
- package/docs/view/pageHeader/index.tsx +0 -291
- package/docs/view/pagination/api.tsx +0 -71
- package/docs/view/pagination/codeString.tsx +0 -45
- package/docs/view/pagination/index.scss +0 -0
- package/docs/view/pagination/index.tsx +0 -54
- package/docs/view/popConfirm/api.tsx +0 -96
- package/docs/view/popConfirm/codeString.tsx +0 -130
- package/docs/view/popConfirm/index.scss +0 -33
- package/docs/view/popConfirm/index.tsx +0 -167
- package/docs/view/popover/api.tsx +0 -80
- package/docs/view/popover/codeString.tsx +0 -40
- package/docs/view/popover/index.scss +0 -4
- package/docs/view/popover/index.tsx +0 -53
- package/docs/view/querying/api.tsx +0 -46
- package/docs/view/querying/codeString.tsx +0 -28
- package/docs/view/querying/index.scss +0 -11
- package/docs/view/querying/index.tsx +0 -35
- package/docs/view/radio/api.tsx +0 -142
- package/docs/view/radio/codeString.tsx +0 -136
- package/docs/view/radio/index.scss +0 -0
- package/docs/view/radio/index.tsx +0 -154
- package/docs/view/search/api.tsx +0 -132
- package/docs/view/search/codeString.tsx +0 -164
- package/docs/view/search/index.scss +0 -0
- package/docs/view/search/index.tsx +0 -142
- package/docs/view/select/api.tsx +0 -195
- package/docs/view/select/codeString.tsx +0 -379
- package/docs/view/select/index.scss +0 -12
- package/docs/view/select/index.tsx +0 -370
- package/docs/view/selectInput/api.tsx +0 -161
- package/docs/view/selectInput/codeString.tsx +0 -171
- package/docs/view/selectInput/index.scss +0 -12
- package/docs/view/selectInput/index.tsx +0 -167
- package/docs/view/singleBox/api.tsx +0 -89
- package/docs/view/singleBox/codeString.tsx +0 -94
- package/docs/view/singleBox/index.scss +0 -0
- package/docs/view/singleBox/index.tsx +0 -111
- package/docs/view/slider/api.tsx +0 -135
- package/docs/view/slider/codeString.tsx +0 -99
- package/docs/view/slider/index.scss +0 -11
- package/docs/view/slider/index.tsx +0 -95
- package/docs/view/stepper/api.tsx +0 -49
- package/docs/view/stepper/codeString.tsx +0 -64
- package/docs/view/stepper/index.scss +0 -3
- package/docs/view/stepper/index.tsx +0 -57
- package/docs/view/switch/api.tsx +0 -70
- package/docs/view/switch/codeString.tsx +0 -48
- package/docs/view/switch/index.scss +0 -16
- package/docs/view/switch/index.tsx +0 -50
- package/docs/view/table/api.tsx +0 -330
- package/docs/view/table/codeString.tsx +0 -737
- package/docs/view/table/index.scss +0 -0
- package/docs/view/table/index.tsx +0 -549
- package/docs/view/tabs/api.tsx +0 -106
- package/docs/view/tabs/codeString.tsx +0 -243
- package/docs/view/tabs/index.scss +0 -5
- package/docs/view/tabs/index.tsx +0 -132
- package/docs/view/tag/api.tsx +0 -119
- package/docs/view/tag/codeString.tsx +0 -95
- package/docs/view/tag/index.scss +0 -5
- package/docs/view/tag/index.tsx +0 -91
- package/docs/view/textField/api.tsx +0 -229
- package/docs/view/textField/codeString.tsx +0 -251
- package/docs/view/textField/index.scss +0 -3
- package/docs/view/textField/index.tsx +0 -327
- package/docs/view/timeLine/api.tsx +0 -43
- package/docs/view/timeLine/codeString.tsx +0 -85
- package/docs/view/timeLine/index.scss +0 -5
- package/docs/view/timeLine/index.tsx +0 -73
- package/docs/view/timePicker/api.tsx +0 -178
- package/docs/view/timePicker/codeString.tsx +0 -66
- package/docs/view/timePicker/index.scss +0 -8
- package/docs/view/timePicker/index.tsx +0 -75
- package/docs/view/toggleButton/api.tsx +0 -100
- package/docs/view/toggleButton/codeString.tsx +0 -152
- package/docs/view/toggleButton/index.scss +0 -5
- package/docs/view/toggleButton/index.tsx +0 -108
- package/docs/view/toolTip/api.tsx +0 -96
- package/docs/view/toolTip/codeString.tsx +0 -42
- package/docs/view/toolTip/index.scss +0 -5
- package/docs/view/toolTip/index.tsx +0 -44
- package/docs/view/transfer/api.tsx +0 -33
- package/docs/view/transfer/codeString.tsx +0 -44
- package/docs/view/transfer/index.scss +0 -0
- package/docs/view/transfer/index.tsx +0 -59
- package/docs/view/tree/api.tsx +0 -413
- package/docs/view/tree/codeString.tsx +0 -437
- package/docs/view/tree/index.scss +0 -5
- package/docs/view/tree/index.tsx +0 -362
- package/docs/view/upload/api.tsx +0 -302
- package/docs/view/upload/codeString.tsx +0 -248
- package/docs/view/upload/index.scss +0 -7
- package/docs/view/upload/index.tsx +0 -207
- package/publish.sh +0 -5
- package/run.js +0 -43
- package/scripts/extract-css.js +0 -9
- package/temp/main.js +0 -1103
- package/tsconfig.json +0 -40
- package/webpack.cdn.config.js +0 -81
- package/webpack.config.js +0 -249
- package/webpack.extract.css.js +0 -86
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author linhd
|
|
3
|
+
* @date 2022/4/13 10:49 AM
|
|
4
|
+
* @description 表格操作按钮
|
|
5
|
+
*/
|
|
6
|
+
import React, { FunctionComponent } from 'react';
|
|
7
|
+
import './index.scss';
|
|
8
|
+
/** 按钮配置 */
|
|
9
|
+
export interface OperateBtnListProps {
|
|
10
|
+
/** 样式class */
|
|
11
|
+
className?: string;
|
|
12
|
+
/** style */
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
/** key 表示唯一值 */
|
|
15
|
+
key?: string;
|
|
16
|
+
/** 显示名 */
|
|
17
|
+
label?: React.ReactNode;
|
|
18
|
+
/** 鼠标移上去显示的内容 */
|
|
19
|
+
toolTipTitle?: React.ReactNode;
|
|
20
|
+
/** 图标 */
|
|
21
|
+
icon?: React.ReactNode;
|
|
22
|
+
/** 定位方向 */
|
|
23
|
+
placement?: "top-start" | "bottom-end" | "bottom-start" | "bottom" | "left-end" | "left-start" | "left" | "right-end" | "right-start" | "right" | "top-end" | "top";
|
|
24
|
+
/** 是否禁用 */
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
/** 设置危险按钮 */
|
|
27
|
+
danger?: boolean;
|
|
28
|
+
/** 点击事件 */
|
|
29
|
+
onClick?: (item: OperateBtnListProps, e: any) => void | Promise<boolean | any>;
|
|
30
|
+
[name: string]: any;
|
|
31
|
+
}
|
|
32
|
+
export interface OperateBtnProps {
|
|
33
|
+
/** 样式class */
|
|
34
|
+
className?: string;
|
|
35
|
+
/** style */
|
|
36
|
+
style?: React.CSSProperties;
|
|
37
|
+
/** listItem索引下标 */
|
|
38
|
+
key?: string;
|
|
39
|
+
/** 大小 */
|
|
40
|
+
size?: 'small' | 'medium' | 'large';
|
|
41
|
+
/** 按钮列表配置 */
|
|
42
|
+
list?: OperateBtnListProps[];
|
|
43
|
+
/** 加载对象映射 */
|
|
44
|
+
loadingMapping?: {
|
|
45
|
+
[name: string]: true | false;
|
|
46
|
+
};
|
|
47
|
+
/** 显示几个, 多余的放到更多里面 */
|
|
48
|
+
showNum?: number;
|
|
49
|
+
/** 下拉框样式 */
|
|
50
|
+
popoverClassName?: string;
|
|
51
|
+
/** 定位方向 */
|
|
52
|
+
placement?: "top-start" | "bottom-end" | "bottom-start" | "bottom" | "left-end" | "left-start" | "left" | "right-end" | "right-start" | "right" | "top-end" | "top";
|
|
53
|
+
/** 点击是否关闭更多 */
|
|
54
|
+
clickCloseMore?: boolean;
|
|
55
|
+
/** 点击事件, 如果listItem里面存在onClick事件,则不触发改事件 */
|
|
56
|
+
onClick?: (item: OperateBtnListProps, e: any) => void | Promise<boolean | any>;
|
|
57
|
+
}
|
|
58
|
+
declare const OperateBtn: FunctionComponent<OperateBtnProps>;
|
|
59
|
+
export default OperateBtn;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("@material-ui/core"),require("@para-ui/core/GlobalContext")):"function"==typeof define&&define.amd?define(["react","@material-ui/core","@para-ui/core/GlobalContext"],e):"object"==typeof exports?exports.ParaUI=e(require("react"),require("@material-ui/core"),require("@para-ui/core/GlobalContext")):t.ParaUI=e(t.react,t["@material-ui/core"],t["@para-ui/core/GlobalContext"])}(self,(function(t,e,n){return function(){var r={4352:function(t,e,n){var r;self,t.exports=(r=n(8156),function(){var t={466:function(t,e,n){(e=n(3645)(!1)).push([t.id,".paraui-icon{width:1em;height:1em;fill:currentColor;display:inline-block;user-select:none;flex-shrink:0}.paraui-icon-primary{color:#3666d6}.paraui-icon-secondary{color:#3666d6}.paraui-icon-thirdary{color:#3666d6}.paraui-icon-small{font-size:16px}.paraui-icon-medium{font-size:18px}.paraui-icon-large{font-size:20px}\n",""]),t.exports=e},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,r,o,a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"==typeof btoa){var c=(n=i,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),u=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[a].concat(u).concat([c]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),e.push(u))}},e}},7418:function(t){"use strict";
|
|
2
|
+
/*
|
|
3
|
+
object-assign
|
|
4
|
+
(c) Sindre Sorhus
|
|
5
|
+
@license MIT
|
|
6
|
+
*/var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(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={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,a){for(var i,c,u=o(t),l=1;l<arguments.length;l++){for(var s in i=Object(arguments[l]))n.call(i,s)&&(u[s]=i[s]);if(e){c=e(i);for(var p=0;p<c.length;p++)r.call(i,c[p])&&(u[c[p]]=i[c[p]])}}return u}},5251:function(t,e,n){"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
|
+
*/n(7418);var r=n(8156),o=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),e.Fragment=a("react.fragment")}var i=r.__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 l(t,e,n){var r,a={},l=null,s=null;for(r in void 0!==n&&(l=""+n),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(s=e.ref),e)c.call(e,r)&&!u.hasOwnProperty(r)&&(a[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===a[r]&&(a[r]=e[r]);return{$$typeof:o,type:t,key:l,ref:s,props:a,_owner:i.current}}e.jsx=l},5893:function(t,e,n){"use strict";t.exports=n(5251)},7856:function(t,e,n){var r=n(3379),o=n(466);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]),r(o,{insert:"head",singleton:!1}),t.exports=o.locals||{}},3379:function(t,e,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),i=[];function c(t){for(var e=-1,n=0;n<i.length;n++)if(i[n].identifier===t){e=n;break}return e}function u(t,e){for(var n={},r=[],o=0;o<t.length;o++){var a=t[o],u=e.base?a[0]+e.base:a[0],l=n[u]||0,s="".concat(u," ").concat(l);n[u]=l+1;var p=c(s),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==p?(i[p].references++,i[p].updater(f)):i.push({identifier:s,updater:h(f,e),references:1}),r.push(s)}return r}function l(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var i=a(t.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(e)}return e}var s,p=(s=[],function(t,e){return s[t]=e,s.filter(Boolean).join("\n")});function f(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=p(e,o);else{var a=document.createTextNode(o),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(a,i[e]):t.appendChild(a)}}function d(t,e,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var b=null,v=0;function h(t,e){var n,r,o;if(e.singleton){var a=v++;n=b||(b=l(e)),r=f.bind(null,n,a,!1),o=f.bind(null,n,a,!0)}else n=l(e),r=d.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=u(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=c(n[r]);i[o].references--}for(var a=u(t,e),l=0;l<n.length;l++){var s=c(n[l]);0===i[s].references&&(i[s].updater(),i.splice(s,1))}n=a}}}},4939:function(t,e,n){"use strict";var r=n(5893),o=(n(7856),function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o.apply(this,arguments)}),a=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n};e.default=function(t){var e,n=t.path,i=t.className,c=t.color,u=void 0===c?"primary":c,l=t.size,s=void 0===l?"small":l,p=t.dataName,f=void 0===p?"":p,d=a(t,["path","className","color","size","dataName"]);return(0,r.jsx)("svg",o({className:(e="paraui-icon",e+=" svg-icon",i&&(e+=" "+i),u&&(e+=" paraui-icon-"+u),s&&(e+=" paraui-icon-"+s),e),viewBox:"0 0 1024 1024","data-name":f},d,{children:n}),void 0)}},8156:function(t){"use strict";t.exports=r}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var a=e[r]={id:r,exports:{}};return t[r](a,a.exports,n),a.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return function(){"use strict";n.r(o),n.d(o,{Down:function(){return a}});var t=n(5893),e=n(4939),r=function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)},a=function(n){return(0,t.jsx)(e.default,r({dataName:"Down",path:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("path",{d:"M813.696 318.464a42.666667 42.666667 0 0 0-30.165333 12.501333L512 602.496 240.469333 330.965333a42.666667 42.666667 0 0 0-60.330666 60.373334l301.696 301.653333a42.666667 42.666667 0 0 0 60.330666 0l301.696-301.653333a42.666667 42.666667 0 0 0-30.165333-72.874667z"},void 0)},void 0)},n),void 0)};o.default=a}(),o}())},465:function(t,e,n){var r;self,t.exports=(r=n(8156),function(){var t={466:function(t,e,n){(e=n(3645)(!1)).push([t.id,".paraui-icon{width:1em;height:1em;fill:currentColor;display:inline-block;user-select:none;flex-shrink:0}.paraui-icon-primary{color:#3666d6}.paraui-icon-secondary{color:#3666d6}.paraui-icon-thirdary{color:#3666d6}.paraui-icon-small{font-size:16px}.paraui-icon-medium{font-size:18px}.paraui-icon-large{font-size:20px}\n",""]),t.exports=e},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,r,o,a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"==typeof btoa){var c=(n=i,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),u=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[a].concat(u).concat([c]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),e.push(u))}},e}},7418:function(t){"use strict";
|
|
15
|
+
/*
|
|
16
|
+
object-assign
|
|
17
|
+
(c) Sindre Sorhus
|
|
18
|
+
@license MIT
|
|
19
|
+
*/var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(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={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,a){for(var i,c,u=o(t),l=1;l<arguments.length;l++){for(var s in i=Object(arguments[l]))n.call(i,s)&&(u[s]=i[s]);if(e){c=e(i);for(var p=0;p<c.length;p++)r.call(i,c[p])&&(u[c[p]]=i[c[p]])}}return u}},5251:function(t,e,n){"use strict";
|
|
20
|
+
/** @license React v17.0.2
|
|
21
|
+
* react-jsx-runtime.production.min.js
|
|
22
|
+
*
|
|
23
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
24
|
+
*
|
|
25
|
+
* This source code is licensed under the MIT license found in the
|
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
|
27
|
+
*/n(7418);var r=n(8156),o=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),e.Fragment=a("react.fragment")}var i=r.__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 l(t,e,n){var r,a={},l=null,s=null;for(r in void 0!==n&&(l=""+n),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(s=e.ref),e)c.call(e,r)&&!u.hasOwnProperty(r)&&(a[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===a[r]&&(a[r]=e[r]);return{$$typeof:o,type:t,key:l,ref:s,props:a,_owner:i.current}}e.jsx=l},5893:function(t,e,n){"use strict";t.exports=n(5251)},7856:function(t,e,n){var r=n(3379),o=n(466);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]),r(o,{insert:"head",singleton:!1}),t.exports=o.locals||{}},3379:function(t,e,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),i=[];function c(t){for(var e=-1,n=0;n<i.length;n++)if(i[n].identifier===t){e=n;break}return e}function u(t,e){for(var n={},r=[],o=0;o<t.length;o++){var a=t[o],u=e.base?a[0]+e.base:a[0],l=n[u]||0,s="".concat(u," ").concat(l);n[u]=l+1;var p=c(s),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==p?(i[p].references++,i[p].updater(f)):i.push({identifier:s,updater:h(f,e),references:1}),r.push(s)}return r}function l(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var i=a(t.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(e)}return e}var s,p=(s=[],function(t,e){return s[t]=e,s.filter(Boolean).join("\n")});function f(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=p(e,o);else{var a=document.createTextNode(o),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(a,i[e]):t.appendChild(a)}}function d(t,e,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var b=null,v=0;function h(t,e){var n,r,o;if(e.singleton){var a=v++;n=b||(b=l(e)),r=f.bind(null,n,a,!1),o=f.bind(null,n,a,!0)}else n=l(e),r=d.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=u(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=c(n[r]);i[o].references--}for(var a=u(t,e),l=0;l<n.length;l++){var s=c(n[l]);0===i[s].references&&(i[s].updater(),i.splice(s,1))}n=a}}}},4939:function(t,e,n){"use strict";var r=n(5893),o=(n(7856),function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o.apply(this,arguments)}),a=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n};e.default=function(t){var e,n=t.path,i=t.className,c=t.color,u=void 0===c?"primary":c,l=t.size,s=void 0===l?"small":l,p=t.dataName,f=void 0===p?"":p,d=a(t,["path","className","color","size","dataName"]);return(0,r.jsx)("svg",o({className:(e="paraui-icon",e+=" svg-icon",i&&(e+=" "+i),u&&(e+=" paraui-icon-"+u),s&&(e+=" paraui-icon-"+s),e),viewBox:"0 0 1024 1024","data-name":f},d,{children:n}),void 0)}},8156:function(t){"use strict";t.exports=r}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var a=e[r]={id:r,exports:{}};return t[r](a,a.exports,n),a.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return function(){"use strict";n.r(o),n.d(o,{Forbid:function(){return a}});var t=n(5893),e=n(4939),r=function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)},a=function(n){return(0,t.jsx)(e.default,r({dataName:"Forbid",path:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("path",{d:"M865.536 204.288a42.368 42.368 0 0 0-9.429333-14.506667 41.130667 41.130667 0 0 0-9.386667-6.186666 481.024 481.024 0 1 0 18.816 20.693333zM512 128a381.952 381.952 0 0 1 251.264 94.250667L222.336 763.264A383.402667 383.402667 0 0 1 512 128z m0 768a381.44 381.44 0 0 1-226.858667-74.922667L821.12 285.141333A383.274667 383.274667 0 0 1 512 896z"},void 0)},void 0)},n),void 0)};o.default=a}(),o}())},1217:function(t,e,n){var r;self,t.exports=(r=n(8156),function(){var t={466:function(t,e,n){(e=n(3645)(!1)).push([t.id,".paraui-icon{width:1em;height:1em;fill:currentColor;display:inline-block;user-select:none;flex-shrink:0}.paraui-icon-primary{color:#3666d6}.paraui-icon-secondary{color:#3666d6}.paraui-icon-thirdary{color:#3666d6}.paraui-icon-small{font-size:16px}.paraui-icon-medium{font-size:18px}.paraui-icon-large{font-size:20px}\n",""]),t.exports=e},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,r,o,a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"==typeof btoa){var c=(n=i,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),u=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[a].concat(u).concat([c]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),e.push(u))}},e}},7418:function(t){"use strict";
|
|
28
|
+
/*
|
|
29
|
+
object-assign
|
|
30
|
+
(c) Sindre Sorhus
|
|
31
|
+
@license MIT
|
|
32
|
+
*/var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(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={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,a){for(var i,c,u=o(t),l=1;l<arguments.length;l++){for(var s in i=Object(arguments[l]))n.call(i,s)&&(u[s]=i[s]);if(e){c=e(i);for(var p=0;p<c.length;p++)r.call(i,c[p])&&(u[c[p]]=i[c[p]])}}return u}},5251:function(t,e,n){"use strict";
|
|
33
|
+
/** @license React v17.0.2
|
|
34
|
+
* react-jsx-runtime.production.min.js
|
|
35
|
+
*
|
|
36
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
37
|
+
*
|
|
38
|
+
* This source code is licensed under the MIT license found in the
|
|
39
|
+
* LICENSE file in the root directory of this source tree.
|
|
40
|
+
*/n(7418);var r=n(8156),o=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),e.Fragment=a("react.fragment")}var i=r.__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 l(t,e,n){var r,a={},l=null,s=null;for(r in void 0!==n&&(l=""+n),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(s=e.ref),e)c.call(e,r)&&!u.hasOwnProperty(r)&&(a[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===a[r]&&(a[r]=e[r]);return{$$typeof:o,type:t,key:l,ref:s,props:a,_owner:i.current}}e.jsx=l},5893:function(t,e,n){"use strict";t.exports=n(5251)},7856:function(t,e,n){var r=n(3379),o=n(466);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]),r(o,{insert:"head",singleton:!1}),t.exports=o.locals||{}},3379:function(t,e,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),i=[];function c(t){for(var e=-1,n=0;n<i.length;n++)if(i[n].identifier===t){e=n;break}return e}function u(t,e){for(var n={},r=[],o=0;o<t.length;o++){var a=t[o],u=e.base?a[0]+e.base:a[0],l=n[u]||0,s="".concat(u," ").concat(l);n[u]=l+1;var p=c(s),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==p?(i[p].references++,i[p].updater(f)):i.push({identifier:s,updater:h(f,e),references:1}),r.push(s)}return r}function l(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var i=a(t.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(e)}return e}var s,p=(s=[],function(t,e){return s[t]=e,s.filter(Boolean).join("\n")});function f(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=p(e,o);else{var a=document.createTextNode(o),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(a,i[e]):t.appendChild(a)}}function d(t,e,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var b=null,v=0;function h(t,e){var n,r,o;if(e.singleton){var a=v++;n=b||(b=l(e)),r=f.bind(null,n,a,!1),o=f.bind(null,n,a,!0)}else n=l(e),r=d.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=u(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=c(n[r]);i[o].references--}for(var a=u(t,e),l=0;l<n.length;l++){var s=c(n[l]);0===i[s].references&&(i[s].updater(),i.splice(s,1))}n=a}}}},4939:function(t,e,n){"use strict";var r=n(5893),o=(n(7856),function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o.apply(this,arguments)}),a=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n};e.default=function(t){var e,n=t.path,i=t.className,c=t.color,u=void 0===c?"primary":c,l=t.size,s=void 0===l?"small":l,p=t.dataName,f=void 0===p?"":p,d=a(t,["path","className","color","size","dataName"]);return(0,r.jsx)("svg",o({className:(e="paraui-icon",e+=" svg-icon",i&&(e+=" "+i),u&&(e+=" paraui-icon-"+u),s&&(e+=" paraui-icon-"+s),e),viewBox:"0 0 1024 1024","data-name":f},d,{children:n}),void 0)}},8156:function(t){"use strict";t.exports=r}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var a=e[r]={id:r,exports:{}};return t[r](a,a.exports,n),a.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return function(){"use strict";n.r(o),n.d(o,{LoadingF:function(){return a}});var t=n(5893),e=n(4939),r=function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)},a=function(n){return(0,t.jsx)(e.default,r({dataName:"LoadingF",path:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("path",{d:"M512 0a512 512 0 0 1 512 512h-64A448 448 0 0 0 512 64V0z","p-id":"11109"},void 0)},void 0)},n),void 0)};o.default=a}(),o}())},2950:function(t,e,n){var r;self,t.exports=(r=n(8156),function(){var t={466:function(t,e,n){(e=n(3645)(!1)).push([t.id,".paraui-icon{width:1em;height:1em;fill:currentColor;display:inline-block;user-select:none;flex-shrink:0}.paraui-icon-primary{color:#3666d6}.paraui-icon-secondary{color:#3666d6}.paraui-icon-thirdary{color:#3666d6}.paraui-icon-small{font-size:16px}.paraui-icon-medium{font-size:18px}.paraui-icon-large{font-size:20px}\n",""]),t.exports=e},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,r,o,a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"==typeof btoa){var c=(n=i,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),u=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[a].concat(u).concat([c]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),e.push(u))}},e}},7418:function(t){"use strict";
|
|
41
|
+
/*
|
|
42
|
+
object-assign
|
|
43
|
+
(c) Sindre Sorhus
|
|
44
|
+
@license MIT
|
|
45
|
+
*/var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(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={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,a){for(var i,c,u=o(t),l=1;l<arguments.length;l++){for(var s in i=Object(arguments[l]))n.call(i,s)&&(u[s]=i[s]);if(e){c=e(i);for(var p=0;p<c.length;p++)r.call(i,c[p])&&(u[c[p]]=i[c[p]])}}return u}},5251:function(t,e,n){"use strict";
|
|
46
|
+
/** @license React v17.0.2
|
|
47
|
+
* react-jsx-runtime.production.min.js
|
|
48
|
+
*
|
|
49
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
50
|
+
*
|
|
51
|
+
* This source code is licensed under the MIT license found in the
|
|
52
|
+
* LICENSE file in the root directory of this source tree.
|
|
53
|
+
*/n(7418);var r=n(8156),o=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),e.Fragment=a("react.fragment")}var i=r.__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 l(t,e,n){var r,a={},l=null,s=null;for(r in void 0!==n&&(l=""+n),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(s=e.ref),e)c.call(e,r)&&!u.hasOwnProperty(r)&&(a[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===a[r]&&(a[r]=e[r]);return{$$typeof:o,type:t,key:l,ref:s,props:a,_owner:i.current}}e.jsx=l,e.jsxs=l},5893:function(t,e,n){"use strict";t.exports=n(5251)},7856:function(t,e,n){var r=n(3379),o=n(466);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]),r(o,{insert:"head",singleton:!1}),t.exports=o.locals||{}},3379:function(t,e,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),i=[];function c(t){for(var e=-1,n=0;n<i.length;n++)if(i[n].identifier===t){e=n;break}return e}function u(t,e){for(var n={},r=[],o=0;o<t.length;o++){var a=t[o],u=e.base?a[0]+e.base:a[0],l=n[u]||0,s="".concat(u," ").concat(l);n[u]=l+1;var p=c(s),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==p?(i[p].references++,i[p].updater(f)):i.push({identifier:s,updater:h(f,e),references:1}),r.push(s)}return r}function l(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var i=a(t.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(e)}return e}var s,p=(s=[],function(t,e){return s[t]=e,s.filter(Boolean).join("\n")});function f(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=p(e,o);else{var a=document.createTextNode(o),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(a,i[e]):t.appendChild(a)}}function d(t,e,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var b=null,v=0;function h(t,e){var n,r,o;if(e.singleton){var a=v++;n=b||(b=l(e)),r=f.bind(null,n,a,!1),o=f.bind(null,n,a,!0)}else n=l(e),r=d.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=u(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=c(n[r]);i[o].references--}for(var a=u(t,e),l=0;l<n.length;l++){var s=c(n[l]);0===i[s].references&&(i[s].updater(),i.splice(s,1))}n=a}}}},4939:function(t,e,n){"use strict";var r=n(5893),o=(n(7856),function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o.apply(this,arguments)}),a=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n};e.default=function(t){var e,n=t.path,i=t.className,c=t.color,u=void 0===c?"primary":c,l=t.size,s=void 0===l?"small":l,p=t.dataName,f=void 0===p?"":p,d=a(t,["path","className","color","size","dataName"]);return(0,r.jsx)("svg",o({className:(e="paraui-icon",e+=" svg-icon",i&&(e+=" "+i),u&&(e+=" paraui-icon-"+u),s&&(e+=" paraui-icon-"+s),e),viewBox:"0 0 1024 1024","data-name":f},d,{children:n}),void 0)}},8156:function(t){"use strict";t.exports=r}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var a=e[r]={id:r,exports:{}};return t[r](a,a.exports,n),a.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return function(){"use strict";n.r(o),n.d(o,{More:function(){return a}});var t=n(5893),e=n(4939),r=function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)},a=function(n){return(0,t.jsx)(e.default,r({dataName:"More",path:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M298.666667 490.666667A64 64 0 1 1 234.666667 426.666667 64 64 0 0 1 298.666667 490.666667"},void 0),(0,t.jsx)("path",{d:"M568.96 490.666667a64 64 0 1 1-64-64 64 64 0 0 1 64 64"},void 0),(0,t.jsx)("path",{d:"M839.253333 490.666667a64 64 0 1 1-64-64 64 64 0 0 1 64 64"},void 0)]},void 0)},n),void 0)};o.default=a}(),o}())},6010:function(t,e,n){"use strict";function r(t){var e,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=r(t[e]))&&(o&&(o+=" "),o+=n);else for(e in t)t[e]&&(o&&(o+=" "),o+=e);return o}function o(){for(var t,e,n=0,o="";n<arguments.length;)(t=arguments[n++])&&(e=r(t))&&(o&&(o+=" "),o+=e);return o}n.d(e,{Z:function(){return o}})},2565:function(t,e,n){(e=n(3645)(!1)).push([t.id,".paraui-auto-tips{max-width:100%;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.paraui-auto-tips>.auto-tips-content{display:inline;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.paraui-auto-tips-tooltip>div{max-height:calc(100vh - 25px);overflow:auto}\n",""]),t.exports=e},8313:function(t,e,n){(e=n(3645)(!1)).push([t.id,"@keyframes loadingSpin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.paraui-button{min-width:auto;padding:0 16px;line-height:0;text-transform:none;border-radius:4px;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;font-size:14px;font-weight:400;white-space:nowrap}.paraui-button-label{height:100%}.paraui-button-loading{pointer-events:none}.paraui-button-contained{color:#fff;background-color:#3666d6;box-shadow:none}.paraui-button-contained:hover{background-color:rgba(54,102,214,0.8);box-shadow:none}.paraui-button-contained[disabled]{color:rgba(46,55,67,0.4);background-color:rgba(171,176,185,0.12);border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-button-contained[disabled]:hover{background-color:rgba(171,176,185,0.12)}.paraui-button-contained .btn-icon{display:inline-flex;color:inherit}.paraui-button-contained .btn-icon svg{color:inherit;font-size:16px}.paraui-button-contained .btn-icon.start-icon{margin-left:3px}.paraui-button-contained .btn-icon.end-icon{margin-right:3px}.paraui-button-contained .btn-icon.loading-icon{margin-left:3px;animation:loadingSpin 1s infinite linear}.paraui-button-contained.paraui-button-dangerous{background-color:#eb6054}.paraui-button-contained.paraui-button-dangerous:hover{background-color:rgba(235,96,84,0.8)}.paraui-button-outlined{color:rgba(46,55,67,0.7);background-color:#fff;border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-button-outlined:hover{color:#3666d6;border-color:rgba(54,102,214,0.2);background-color:#fff;box-shadow:none}.paraui-button-outlined[disabled]{color:rgba(46,55,67,0.4);background-color:rgba(171,176,185,0.12);border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-button-outlined[disabled]:hover{background-color:rgba(171,176,185,0.12)}.paraui-button-outlined .btn-icon{display:inline-flex;color:inherit}.paraui-button-outlined .btn-icon svg{color:inherit;font-size:16px}.paraui-button-outlined .btn-icon.start-icon{margin-left:3px}.paraui-button-outlined .btn-icon.end-icon{margin-right:3px}.paraui-button-outlined .btn-icon.loading-icon{margin-left:3px;animation:loadingSpin 1s infinite linear}.paraui-button-outlined.paraui-button-dangerous{color:#eb6054;border-color:#eb6054}.paraui-button-outlined.paraui-button-dangerous:hover{color:rgba(235,96,84,0.8);border-color:rgba(235,96,84,0.8)}.paraui-button-text{color:rgba(46,55,67,0.7);background-color:#fff;border:1px solid rgba(171,176,185,0.4);box-shadow:none;color:#3666d6;background-color:transparent;border:none}.paraui-button-text:hover{color:rgba(54,102,214,0.8);background-color:transparent;box-shadow:none}.paraui-button-text[disabled]{color:rgba(46,55,67,0.4);background-color:transparent;border:none}.paraui-button-text[disabled]:hover{background-color:transparent}.paraui-button-text .btn-icon{display:inline-flex;color:inherit}.paraui-button-text .btn-icon svg{color:inherit;font-size:16px}.paraui-button-text .btn-icon.start-icon{margin-left:3px}.paraui-button-text .btn-icon.end-icon{margin-right:3px}.paraui-button-text .btn-icon.loading-icon{margin-left:3px;animation:loadingSpin 1s infinite linear}.paraui-button-text.paraui-button-dangerous{color:#eb6054}.paraui-button-text.paraui-button-dangerous:hover{color:rgba(235,96,84,0.8)}.paraui-button-large{height:36px}.paraui-button-medium{height:32px}.paraui-button-small{height:28px}.paraui-button--disabled{display:inline-block}.paraui-icon-button{padding:0;border-radius:4px}.paraui-icon-button-loading{pointer-events:none}.paraui-icon-button-loading .loading-icon{display:inline-flex;animation:loadingSpin 1s infinite linear}.paraui-icon-button-contained{color:#fff;background-color:#3666d6;box-shadow:none}.paraui-icon-button-contained:hover{background-color:rgba(54,102,214,0.8);box-shadow:none}.paraui-icon-button-contained[disabled]{color:rgba(46,55,67,0.4);background-color:rgba(171,176,185,0.12);border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-icon-button-contained[disabled]:hover{background-color:rgba(171,176,185,0.12)}.paraui-icon-button-contained svg{color:inherit;font-size:16px}.paraui-icon-button-contained.paraui-icon-button-dangerous{background-color:#eb6054}.paraui-icon-button-contained.paraui-icon-button-dangerous:hover{background-color:rgba(235,96,84,0.8)}.paraui-icon-button-outlined{color:rgba(46,55,67,0.7);background-color:#fff;border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-icon-button-outlined:hover{color:#3666d6;border-color:rgba(54,102,214,0.2);box-shadow:none;background-color:#fff}.paraui-icon-button-outlined[disabled]{color:rgba(46,55,67,0.4);background-color:rgba(171,176,185,0.12);border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-icon-button-outlined[disabled]:hover{background-color:rgba(171,176,185,0.12)}.paraui-icon-button-outlined svg{color:inherit;font-size:16px}.paraui-icon-button-outlined.paraui-icon-button-dangerous{color:#eb6054;border-color:#eb6054}.paraui-icon-button-outlined.paraui-icon-button-dangerous:hover{color:rgba(235,96,84,0.8);border-color:rgba(235,96,84,0.8)}.paraui-icon-button-text{color:#3666d6}.paraui-icon-button-text:hover{color:rgba(54,102,214,0.8);background-color:transparent}.paraui-icon-button-text[disabled]{color:rgba(46,55,67,0.4)}.paraui-icon-button-text[disabled]:hover{background-color:transparent}.paraui-icon-button-text svg{color:inherit}.paraui-icon-button-text.paraui-icon-button-dangerous{color:#eb6054}.paraui-icon-button-text.paraui-icon-button-dangerous:hover{color:rgba(235,96,84,0.8)}.paraui-icon-button-text.paraui-icon-button-large{width:auto;height:auto}.paraui-icon-button-text.paraui-icon-button-large svg{font-size:28px}.paraui-icon-button-text.paraui-icon-button-medium{width:auto;height:auto}.paraui-icon-button-text.paraui-icon-button-medium svg{font-size:24px}.paraui-icon-button-text.paraui-icon-button-small{width:auto;height:auto}.paraui-icon-button-text.paraui-icon-button-small svg{font-size:20px}.paraui-icon-button-large{width:36px;height:36px}.paraui-icon-button-medium{width:32px;height:32px}.paraui-icon-button-small{width:28px;height:28px}.paraui-button-split{display:inline-block}.paraui-button-split .paraui-button:hover{border-color:rgba(54,102,214,0.8)}.paraui-button-split .paraui-button-split--active{color:#3666d6;border-color:rgba(54,102,214,0.8);box-shadow:none;background-color:#fff}.paraui-button-split-list{padding:8px 0;margin:8px 0;border-radius:4px;box-shadow:0px 2px 8px 0px rgba(171,176,185,0.4);background-color:#fff}.paraui-button-split-list ul .split-li{min-width:140px;padding:11px 12px;color:#2e3743;font-size:14px;line-height:1;cursor:pointer;transition:background-color .3s, color .3s}.paraui-button-split-list ul .split-li:hover{background-color:rgba(171,176,185,0.12)}.paraui-button-split-list ul .split-li.split-li--active{color:#3666d6}.paraui-button-split-list ul .split-li.split-li--active:hover{background-color:rgba(171,176,185,0.12)}.paraui-button-split-list ul .split-li.split-li--disabled{color:rgba(46,55,67,0.4);cursor:not-allowed}.paraui-button-split-list ul .split-li.split-li--disabled:hover{background-color:#fff}.paraui-button-split-list ul .split-li-group:not(:first-child){position:relative;margin-top:16px}.paraui-button-split-list ul .split-li-group:not(:first-child):before{content:'';position:absolute;top:-8px;left:8px;right:8px;border-top:1px solid rgba(171,176,185,0.2)}\n",""]),t.exports=e},1457:function(t,e,n){(e=n(3645)(!1)).push([t.id,".paraui-operate-btn{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;font-size:14px;font-weight:400;display:flex;align-items:center}.paraui-operate-btn>.paraui-operate-btn-line{display:inline-block;width:1px;background-color:rgba(54,102,214,0.2);margin:0 12px}.paraui-operate-btn.paraui-operate-btn-small>.paraui-operate-btn-line{height:12px}.paraui-operate-btn.paraui-operate-btn-small button>span svg{font-size:18px}.paraui-operate-btn.paraui-operate-btn-medium>.paraui-operate-btn-line{height:14px}.paraui-operate-btn.paraui-operate-btn-medium button>span svg{font-size:24px}.paraui-operate-btn.paraui-operate-btn-large>.paraui-operate-btn-line{height:16px}.paraui-operate-btn.paraui-operate-btn-large button>span>svg{font-size:28px}.paraui-operate-btn-popover{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;font-size:14px;font-weight:400}.paraui-operate-btn-popover>.paraui-popover-paper{margin-top:8px}.paraui-operate-btn-popover>.paraui-popover-paper>.paraui-operate-btn-list{margin:8px 0}.paraui-operate-btn-popover>.paraui-popover-paper>.paraui-operate-btn-list>.paraui-operate-btn-list-item{padding:0 12px;max-width:120px;cursor:pointer;color:#2e3743;line-height:36px;text-align:left}.paraui-operate-btn-popover>.paraui-popover-paper>.paraui-operate-btn-list>.paraui-operate-btn-list-item:hover{background-color:rgba(171,176,185,0.12)}.paraui-operate-btn-popover>.paraui-popover-paper>.paraui-operate-btn-list>.paraui-operate-btn-list-item-disabled{cursor:not-allowed;color:rgba(46,55,67,0.4)}.paraui-operate-btn-popover>.paraui-popover-paper>.paraui-operate-btn-list>.paraui-operate-btn-list-item-danger{color:#eb6054}\n",""]),t.exports=e},5845:function(t,e,n){(e=n(3645)(!1)).push([t.id,".paraui-popover-paper{box-shadow:0px 2px 8px 0px rgba(171,176,185,0.4)}\n",""]),t.exports=e},9929:function(t,e,n){(e=n(3645)(!1)).push([t.id,".paraui-tooltip>div{padding-left:12px;padding-right:12px;font-size:14px;font-weight:400;color:#fff;background-color:rgba(46,55,67,0.7)}.paraui-tooltip-left-right>div{margin:0 8px}.paraui-tooltip-top-bottom>div{margin:8px 0}\n",""]),t.exports=e},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(i=r,c=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(u," */")),a=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(a).concat([o]).join("\n")}var i,c,u;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),e.push(u))}},e}},7418:function(t){"use strict";
|
|
54
|
+
/*
|
|
55
|
+
object-assign
|
|
56
|
+
(c) Sindre Sorhus
|
|
57
|
+
@license MIT
|
|
58
|
+
*/var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(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={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,a){for(var i,c,u=o(t),l=1;l<arguments.length;l++){for(var s in i=Object(arguments[l]))n.call(i,s)&&(u[s]=i[s]);if(e){c=e(i);for(var p=0;p<c.length;p++)r.call(i,c[p])&&(u[c[p]]=i[c[p]])}}return u}},5251:function(t,e,n){"use strict";
|
|
59
|
+
/** @license React v17.0.2
|
|
60
|
+
* react-jsx-runtime.production.min.js
|
|
61
|
+
*
|
|
62
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
63
|
+
*
|
|
64
|
+
* This source code is licensed under the MIT license found in the
|
|
65
|
+
* LICENSE file in the root directory of this source tree.
|
|
66
|
+
*/n(7418);var r=n(8156),o=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),e.Fragment=a("react.fragment")}var i=r.__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 l(t,e,n){var r,a={},l=null,s=null;for(r in void 0!==n&&(l=""+n),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(s=e.ref),e)c.call(e,r)&&!u.hasOwnProperty(r)&&(a[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===a[r]&&(a[r]=e[r]);return{$$typeof:o,type:t,key:l,ref:s,props:a,_owner:i.current}}e.jsx=l,e.jsxs=l},5893:function(t,e,n){"use strict";t.exports=n(5251)},9271:function(t,e,n){var r=n(3379),o=n(2565);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var a={insert:("body","body"),singleton:!1};r(o,a);t.exports=o.locals||{}},5822:function(t,e,n){var r=n(3379),o=n(8313);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var a={insert:("body","body"),singleton:!1};r(o,a);t.exports=o.locals||{}},7623:function(t,e,n){var r=n(3379),o=n(1457);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var a={insert:("body","body"),singleton:!1};r(o,a);t.exports=o.locals||{}},8939:function(t,e,n){var r=n(3379),o=n(5845);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var a={insert:("body","body"),singleton:!1};r(o,a);t.exports=o.locals||{}},2310:function(t,e,n){var r=n(3379),o=n(9929);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var a={insert:("body","body"),singleton:!1};r(o,a);t.exports=o.locals||{}},3379:function(t,e,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),i=[];function c(t){for(var e=-1,n=0;n<i.length;n++)if(i[n].identifier===t){e=n;break}return e}function u(t,e){for(var n={},r=[],o=0;o<t.length;o++){var a=t[o],u=e.base?a[0]+e.base:a[0],l=n[u]||0,s="".concat(u," ").concat(l);n[u]=l+1;var p=c(s),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==p?(i[p].references++,i[p].updater(f)):i.push({identifier:s,updater:h(f,e),references:1}),r.push(s)}return r}function l(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var i=a(t.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(e)}return e}var s,p=(s=[],function(t,e){return s[t]=e,s.filter(Boolean).join("\n")});function f(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=p(e,o);else{var a=document.createTextNode(o),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(a,i[e]):t.appendChild(a)}}function d(t,e,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var b=null,v=0;function h(t,e){var n,r,o;if(e.singleton){var a=v++;n=b||(b=l(e)),r=f.bind(null,n,a,!1),o=f.bind(null,n,a,!0)}else n=l(e),r=d.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=u(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=c(n[r]);i[o].references--}for(var a=u(t,e),l=0;l<n.length;l++){var s=c(n[l]);0===i[s].references&&(i[s].updater(),i.splice(s,1))}n=a}}}},7839:function(t,e,n){"use strict";var r=n(5893),o=n(8156),a=n(7371),i=(n(9271),function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)});e.default=function(t){var e=t.children,n=t.arrow,c=void 0!==n&&n,u=t.placement,l=void 0===u?"bottom-start":u,s=t.tips,p=void 0===s?"":s,f=t.className,d=void 0===f?"":f,b=t.beyondText,v=void 0===b||b,h=t.interactive,g=void 0===h||h,m=t.style,y=(0,o.useRef)(),x=(0,o.useState)(""),j=x[0],O=x[1];(0,o.useEffect)((function(){O(p)}),[p]);var w;return(0,r.jsx)("div",i({ref:y,className:(w="paraui-auto-tips",d&&(w+=" "+d),w),onMouseOver:function(){var t="";y.current&&y.current.scrollWidth>y.current.offsetWidth&&(t=p||(v?y.current.innerText:e)),O(t)},style:m},{children:(0,r.jsx)(a.default,i({arrow:c,title:j,placement:l,interactive:g,boundariesElement:"viewport",className:"paraui-auto-tips-tooltip"},{children:(0,r.jsx)("div",i({className:"auto-tips-content"},{children:e}))}))}))}},7896:function(t,e,n){"use strict";n.d(e,{default:function(){return x}});var r=n(5893),o=n(8156),a=n(670),i=n(6010),c=n(1217),u=n.n(c),l=n(465),s=n.n(l),p=n(7371),f=n(4352),d=n.n(f),b=n(3054),v={zh:{moreActions:"更多操作"},en:{moreActions:"More actions"}},h=function(){return h=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},h.apply(this,arguments)};n(5822);var g=function(){return g=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},g.apply(this,arguments)},m=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},y=function(t){var e=t.variant,n=void 0===e?"contained":e,c=t.size,l=void 0===c?"large":c,f=t.className,d=t.disabled,b=void 0!==d&&d,v=t.children,h=t.startIcon,y=t.endIcon,x=t.loading,j=void 0!==x&&x,O=t.toolTipTitle,w=void 0===O?"":O,S=t.TooltipProps,N=t.danger,_=void 0!==N&&N,P=m(t,["variant","size","className","disabled","children","startIcon","endIcon","loading","toolTipTitle","TooltipProps","danger"]),k=(0,o.useState)(!1),C=k[0],T=k[1],E=function(t){if(!C)return"start"===t&&h?(0,r.jsx)("span",g({className:(0,i.Z)("btn-icon","start-icon")},{children:h})):"end"===t&&y?(0,r.jsx)("span",g({className:(0,i.Z)("btn-icon","end-icon")},{children:y})):null;if("object"==typeof j){var e=j.delay||0;setTimeout((function(){return T(!1)}),e)}return"start"===t?(0,r.jsx)("span",g({className:"btn-icon loading-icon"},{children:(0,r.jsx)(u(),{})})):null},M=(0,r.jsx)(a.Button,g({},P,{color:"default",variant:"contained",disabled:b,disableRipple:!0,disableElevation:!0,className:(0,i.Z)("paraui-button",f,"paraui-button-".concat(n),"paraui-button-".concat(l),C&&"paraui-button-loading",_&&!b&&"paraui-button-dangerous"),classes:{label:"paraui-button-label"},startIcon:E("start"),endIcon:E("end")},{children:v}));return(0,o.useEffect)((function(){T(!!j)}),[j]),b&&w?(0,r.jsx)(p.default,g({},S,{title:function(){if(b&&w){return(0,r.jsxs)("span",{children:[(0,r.jsx)(s(),{style:{marginRight:"4px",fontSize:"11px",color:"inherit"}}),w]})}return w}()},{children:(0,r.jsx)("span",g({className:"paraui-button--disabled"},{children:M}))})):M};y.IconButton=function(t){var e=t.variant,n=void 0===e?"contained":e,c=t.size,l=void 0===c?"large":c,f=t.toolTipTitle,d=void 0===f?"":f,b=t.children,v=t.className,h=t.disabled,y=void 0!==h&&h,x=t.loading,j=void 0!==x&&x,O=t.TooltipProps,w=t.danger,S=void 0!==w&&w,N=m(t,["variant","size","toolTipTitle","children","className","disabled","loading","TooltipProps","danger"]),_=(0,o.useState)(!1),P=_[0],k=_[1],C=(0,r.jsx)(a.IconButton,g({},N,{disabled:y,disableRipple:!0,className:(0,i.Z)("paraui-icon-button",v,"paraui-icon-button-".concat(n),"paraui-icon-button-".concat(l),P&&"paraui-icon-button-loading",S&&!y&&"paraui-icon-button-dangerous")},{children:function(){if(!P)return b;if("object"==typeof j){var t=j.delay||0;setTimeout((function(){return k(!1)}),t)}return(0,r.jsx)("span",g({className:"loading-icon"},{children:(0,r.jsx)(u(),{})}))}()}));return(0,o.useEffect)((function(){k(!!j)}),[j]),d?(0,r.jsx)(p.default,g({},O,{title:function(){if(y&&d){return(0,r.jsxs)("span",{children:[(0,r.jsx)(s(),{style:{marginRight:"4px",fontSize:"11px",color:"inherit"}}),d]})}return d}()},{children:y?(0,r.jsx)("span",g({className:"paraui-button--disabled"},{children:C})):C}),+P):C},y.SplitButton=function(t){var e=t.buttonText,n=t.options,c=void 0===n?[]:n,u=t.className,l=t.popperClassName,s=t.style,p=t.popperStyle,f=t.disabled,g=void 0!==f&&f,m=t.onClick,y=t.optionRender,j=t.placement,O=void 0===j?"bottom-end":j,w=t.buttonProps,S=(0,b.Z)("Button",v),N=(0,o.useState)(!1),_=N[0],P=N[1],k=(0,o.useRef)(null),C=(0,o.useRef)(),T=(0,o.useState)(),E=T[0],M=T[1],R=function(t,e,n){var r;t.disabled?n.stopPropagation():(M(e),P(!1),null===(r=C.current)||void 0===r||r.classList.remove("paraui-button-split--active"),null==m||m(t,n))},I=function(t){var e,n;(null===(e=k.current)||void 0===e?void 0:e.contains(t.target))||(P(!1),null===(n=C.current)||void 0===n||n.classList.remove("paraui-button-split--active"))},z=function(){return(0,r.jsx)("div",h({className:"paraui-button-split-list"},{children:(0,r.jsx)("ul",{children:c.map((function(t,e){return Array.isArray(t)?function(t,e){return(0,r.jsx)("li",h({className:"split-li-group"},{children:t.map((function(t,n){var o="".concat(e,"-").concat(n);return(0,r.jsx)("div",h({className:(0,i.Z)("split-li",o===E&&"split-li--active",t.disabled&&"split-li--disabled"),onClick:function(e){return R(t,o,e)}},{children:(null==y?void 0:y(t))||t.label}),o)}))}),e)}(t,e):(0,r.jsx)("li",h({className:(0,i.Z)("split-li",e===E&&"split-li--active",t.disabled&&"split-li--disabled"),onClick:function(n){return R(t,e,n)}},{children:(null==y?void 0:y(t))||t.label}),e)}))})}))};return(0,r.jsxs)("div",h({className:(0,i.Z)("paraui-button-split",u),ref:k,style:s,onMouseLeave:function(t){var e;t.stopPropagation(),null===(e=t.currentTarget.firstElementChild)||void 0===e||e.classList.remove("paraui-button-split--active"),P(!1)}},{children:[(0,r.jsx)(x,h({variant:"outlined",size:"large",startIcon:(0,r.jsx)(d(),{}),disabled:g},w,{onMouseEnter:function(t){t.stopPropagation();var e=t.currentTarget;C.current=e,e.classList.add("paraui-button-split--active"),P(!0)}},{children:null!=e?e:S({id:"moreActions"})})),(0,r.jsx)(a.Popper,h({open:_,anchorEl:k.current,transition:!0,placement:O,style:h({zIndex:1500},p),className:(0,i.Z)("paraui-button-split-popper",l)},{children:function(t){var e=t.TransitionProps;t.placement;return(0,r.jsx)(a.Grow,h({},e,{children:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(a.ClickAwayListener,h({onClickAway:I},{children:z()}))})}))}}))]}))};var x=y},3054:function(t,e,n){"use strict";var r=n(8156),o=n.n(r),a=n(5395),i=n.n(a);e.Z=function(t,e){var n=o().useContext(i()).intlFormat;return e.zh_CN=e.zh,e.en_US=e.en,n&&n(t,e)}},7083:function(t,e,n){"use strict";var r=n(5893),o=n(670),a=(n(8939),function(){return a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},a.apply(this,arguments)}),i=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n};e.default=function(t){var e,n=t.className,c=t.children,u=t.classes,l=t.style,s=i(t,["className","children","classes","style"]);return(0,r.jsx)(o.Popover,a({style:a({zIndex:1500},l),className:(e="paraui-popover",n&&(e+=" "+n),e),classes:{paper:u?"paraui-popover-paper ".concat(u):"paraui-popover-paper"}},s,{children:c}))}},7371:function(t,e,n){"use strict";var r=n(5893),o=n(670),a=n(6010),i=(n(2310),function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)}),c=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n};e.default=function(t){var e,n=t.placement,u=void 0===n?"top-start":n,l=t.className,s=t.arrow,p=void 0===s||s,f=t.PopperProps,d=t.boundariesElement,b=void 0===d?"scrollParent":d,v=c(t,["placement","className","arrow","PopperProps","boundariesElement"]),h=i(i({},t.classes),{popper:(0,a.Z)("paraui-tooltip",l,null===(e=t.classes)||void 0===e?void 0:e.popper,{"paraui-tooltip-left-right":(null==u?void 0:u.includes("left"))||(null==u?void 0:u.includes("right")),"paraui-tooltip-top-bottom":(null==u?void 0:u.includes("top"))||(null==u?void 0:u.includes("bottom"))})});return(0,r.jsx)(o.Tooltip,i({},v,{enterTouchDelay:0,arrow:p,placement:u,classes:h,PopperProps:i(i({},f),{modifiers:{preventOverflow:{boundariesElement:b}}})}))}},670:function(t){"use strict";t.exports=e},5395:function(t){"use strict";t.exports=n},8156:function(e){"use strict";e.exports=t}},o={};function a(t){var e=o[t];if(void 0!==e)return e.exports;var n=o[t]={id:t,exports:{}};return r[t](n,n.exports,a),n.exports}a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,{a:e}),e},a.d=function(t,e){for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return function(){"use strict";a.r(i);var t=a(5893),e=a(8156),n=a(2950),r=a.n(n),o=a(7896),c=a(7083),u=a(7839),l=(a(7623),function(){return l=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},l.apply(this,arguments)}),s=function(t,e,n,r){return new(n||(n=Promise))((function(o,a){function i(t){try{u(r.next(t))}catch(t){a(t)}}function c(t){try{u(r.throw(t))}catch(t){a(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,c)}u((r=r.apply(t,e||[])).next())}))},p=function(t,e){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}};i.default=function(n){var a,i=n.className,f=void 0===i?"":i,d=n.style,b=n.size,v=void 0===b?"small":b,h=n.list,g=n.showNum,m=void 0===g?3:g,y=n.popoverClassName,x=n.placement,j=void 0===x?"bottom-end":x,O=n.clickCloseMore,w=void 0===O||O,S=n.onClick,N=n.loadingMapping,_=n.key,P=void 0===_?"key":_,k=(0,e.useState)(!1),C=k[0],T=k[1],E=(0,e.useState)({}),M=E[0],R=E[1],I=(0,e.useRef)(),z=function(t,e){return function(n){return s(void 0,void 0,void 0,(function(){var r,o,a;return p(this,(function(i){switch(i.label){case 0:return t.disabled||A(t,e)?[2]:(w&&F(),r=t[P],void 0===(o=N&&N[r])&&(M[e]=!0,R(l({},M))),t.onClick?[4,t.onClick(t,n)]:[3,2]);case 1:return a=i.sent(),[3,4];case 2:return S?[4,S(t,n)]:[3,4];case 3:a=i.sent(),i.label=4;case 4:return void 0===o&&(M[e]=a,R(l({},M))),[2]}}))}))}},L=function(){T(!0)},F=function(){T(!1)},A=function(t,e){var n,r=t[P];return void 0===(n=N&&N[r])&&(n=M[e]),n},U=(0,e.useMemo)((function(){if(!I.current)return null;var e,n=I.current.querySelector(".paraui-operate-btn-more"),r=(null==h?void 0:h.slice(m,null==h?void 0:h.length))||[],o=function(t){var e="paraui-operate-btn-list-item";return t.disabled&&(e+=" paraui-operate-btn-list-item-disabled"),t.danger&&(e+=" paraui-operate-btn-list-item-danger"),t.className&&(e+=" "+f),e};return C&&(0,t.jsx)(c.default,l({open:C,anchorEl:n,onClose:F,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},className:(e="paraui-operate-btn-popover",y&&(e+=" "+y),e)},{children:(0,t.jsx)("div",l({className:"paraui-operate-btn-list"},{children:r.map((function(e,n){return(0,t.jsx)("div",l({className:o(e),onClick:z(e,n+m),style:d},{children:(0,t.jsx)(u.default,{children:e.label||e.toolTipTitle})}),n)}))}))}))}),[C,I,h]);return(0,t.jsxs)("div",l({className:(a="paraui-operate-btn",f&&(a+=" "+f),v&&(a+=" paraui-operate-btn-"+v),a),style:d,ref:I},{children:[null==h?void 0:h.map((function(n,r){var a=!0;if(h.length>m){if(a=!0,m<r+1)return null}else h.length===r+1&&(a=!1);return(0,t.jsxs)(e.Fragment,{children:[(0,t.jsx)(o.default.IconButton,l({className:n.className,style:n.style,variant:"text",toolTipTitle:n.toolTipTitle||n.label||"",TooltipProps:{placement:n.placement||j},loading:A(n,r),disabled:n.disabled,danger:n.danger,onClick:z(n,r)},{children:n.icon})),a&&(0,t.jsx)("span",{className:"paraui-operate-btn-line"})]},r)})),(0,t.jsx)(t.Fragment,{children:h&&h.length>m&&(0,t.jsx)(o.default.IconButton,l({variant:"text",toolTipTitle:"更多",TooltipProps:{placement:j},onClick:L,className:"paraui-operate-btn-more"},{children:(0,t.jsx)(r(),{})}))}),U]}))}}(),i}()}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author linhd
|
|
3
|
+
* @date 2021/8/10 15:34
|
|
4
|
+
* @description 横向菜单详情list
|
|
5
|
+
*/
|
|
6
|
+
import { FunctionComponent } from 'react';
|
|
7
|
+
import { MenuListProps } from './interface';
|
|
8
|
+
export declare const HorizontalMenu: FunctionComponent<MenuListProps>;
|
|
9
|
+
export default HorizontalMenu;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author linhd
|
|
3
|
+
* @date 2021/8/10 16:16
|
|
4
|
+
* @description 横向菜单右侧
|
|
5
|
+
*/
|
|
6
|
+
import { FunctionComponent } from 'react';
|
|
7
|
+
import { FooterProps } from './interface';
|
|
8
|
+
export declare const HorizontalMeunRight: FunctionComponent<FooterProps>;
|
|
9
|
+
export default HorizontalMeunRight;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author linhd
|
|
3
|
+
* @date 2021/11/17 14:30
|
|
4
|
+
* @description 页头
|
|
5
|
+
*/
|
|
6
|
+
import { FunctionComponent } from 'react';
|
|
7
|
+
import { PageHeaderProps } from './interface';
|
|
8
|
+
import './index.scss';
|
|
9
|
+
export declare const PageHeader: FunctionComponent<PageHeaderProps>;
|
|
10
|
+
export default PageHeader;
|