@para-ui/core 2.2.39 → 2.2.40
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 -34
- package/AutoTips/index.d.ts +27 -27
- package/Breadcrumbs/index.d.ts +39 -39
- package/Button/SplitButton.d.ts +61 -61
- package/Button/index.d.ts +56 -56
- package/Button/lang/en_US.d.ts +4 -4
- package/Button/lang/index.d.ts +9 -9
- package/Button/lang/zh_CN.d.ts +4 -4
- package/ButtonGroup/index.d.ts +33 -33
- package/ButtonGroup/index.js +2 -2
- package/Carousel/index.d.ts +30 -30
- package/Cascader/index.d.ts +54 -54
- package/Cascader/index.js +1 -1
- package/Cascader/lang/en_US.d.ts +4 -4
- package/Cascader/lang/index.d.ts +9 -9
- package/Cascader/lang/zh_CN.d.ts +4 -4
- package/Checkbox/index.d.ts +40 -40
- package/CheckboxGroup/index.d.ts +46 -46
- package/CheckboxGroup/index.js +2 -2
- package/Collapse/collapsePanel.d.ts +30 -30
- package/Collapse/index.d.ts +57 -57
- package/Collapse/motion.d.ts +5 -5
- package/Collapse/util.d.ts +11 -11
- package/CollapseBox/index.d.ts +27 -27
- package/CollapseBox/util.d.ts +5 -5
- package/CollapseLayout/index.d.ts +51 -51
- package/ColorPicker/index.d.ts +4 -4
- package/ComboSelect/WithTabsCombo/index.d.ts +11 -11
- package/ComboSelect/WithTabsCombo/interface.d.ts +141 -141
- package/ComboSelect/index.d.ts +11 -11
- package/ComboSelect/index.js +1 -1
- package/ComboSelect/interface.d.ts +149 -149
- package/ComboSelect/lang/en_US.d.ts +9 -9
- package/ComboSelect/lang/index.d.ts +19 -19
- package/ComboSelect/lang/zh_CN.d.ts +9 -9
- package/ComboSelect/utils.d.ts +12 -12
- package/Container/index.d.ts +77 -77
- package/DatePicker/PickerButton.d.ts +3 -3
- package/DatePicker/PickerTag.d.ts +3 -3
- package/DatePicker/generatePicker/generateRangePicker.d.ts +4 -4
- package/DatePicker/generatePicker/generateSinglePicker.d.ts +11 -11
- package/DatePicker/generatePicker/index.d.ts +77 -77
- package/DatePicker/index.d.ts +18 -18
- package/DatePicker/lang/en_US.d.ts +3 -3
- package/DatePicker/lang/index.d.ts +7 -7
- package/DatePicker/lang/zh_CN.d.ts +3 -3
- package/DatePicker/util.d.ts +20 -20
- package/Desktop/index.d.ts +55 -55
- package/Drawer/index.d.ts +11 -11
- package/Drawer/interface.d.ts +83 -83
- package/Drawer/lang/en_US.d.ts +5 -5
- package/Drawer/lang/index.d.ts +11 -11
- package/Drawer/lang/zh_CN.d.ts +5 -5
- package/Dropdown/index.d.ts +39 -39
- package/DynamicMultiBox/formItem.d.ts +13 -13
- package/DynamicMultiBox/index.d.ts +4 -4
- package/DynamicMultiBox/index.js +2 -2
- package/DynamicMultiBox/interface.d.ts +161 -161
- package/DynamicMultiBox/rowForm.d.ts +24 -24
- package/Empty/images/index.d.ts +2 -2
- package/Empty/index.d.ts +30 -30
- package/Empty/lang/en_US.d.ts +6 -6
- package/Empty/lang/index.d.ts +13 -13
- package/Empty/lang/zh_CN.d.ts +6 -6
- package/Form/index.d.ts +181 -181
- package/Form/index.js +2 -2
- package/FormItem/compoments/defaultCompoments/index.d.ts +19 -19
- package/FormItem/compoments/formCheckboxGroup/index.d.ts +8 -8
- package/FormItem/compoments/formFile/index.d.ts +38 -38
- package/FormItem/compoments/formRadioGroup/index.d.ts +8 -8
- package/FormItem/compoments/formSelect/index.d.ts +18 -18
- package/FormItem/errorTips.d.ts +12 -12
- package/FormItem/index.d.ts +152 -152
- package/FormItem/index.js +2 -2
- package/FormItem/itemType.d.ts +42 -42
- package/FormItem/validateFunction.d.ts +15 -15
- package/FunctionModal/dialog.d.ts +58 -58
- package/FunctionModal/index.d.ts +8 -8
- package/FunctionModal/index.js +1 -1
- package/FunctionModal/modalContext.d.ts +14 -14
- package/GlobalContext/componentsProps.d.ts +21 -21
- package/GlobalContext/confirmLocale.d.ts +7 -7
- package/GlobalContext/constant.d.ts +7 -7
- package/GlobalContext/index.d.ts +28 -28
- package/GlobalContext/intl.d.ts +34 -34
- package/GlobalContext/useFormatMessage.d.ts +3 -3
- package/Help/index.d.ts +20 -20
- package/HelperText/index.d.ts +19 -19
- package/Hooks/useGlobalProps.d.ts +1 -1
- package/InputLang/index.d.ts +49 -49
- package/InputNumber/index.d.ts +74 -74
- package/Label/index.d.ts +35 -35
- package/Loading/index.d.ts +17 -17
- package/Menu/footerExpansion.d.ts +9 -9
- package/Menu/index.d.ts +10 -10
- package/Menu/index.js +1 -1
- package/Menu/interface.d.ts +139 -139
- package/Menu/logo.d.ts +9 -9
- package/Menu/verticalMenuList.d.ts +14 -14
- package/Message/index.d.ts +73 -73
- package/Modal/Confirm/index.d.ts +66 -66
- package/Modal/index.d.ts +61 -61
- package/Modal/lang/en_US.d.ts +5 -5
- package/Modal/lang/index.d.ts +11 -11
- package/Modal/lang/zh_CN.d.ts +5 -5
- package/MultiBox/index.d.ts +54 -54
- package/Notification/index.d.ts +52 -52
- package/OperateBtn/index.d.ts +59 -59
- package/OperateBtn/index.js +1 -1
- package/OperateBtn/lang/en_US.d.ts +4 -4
- package/OperateBtn/lang/index.d.ts +9 -9
- package/OperateBtn/lang/zh_CN.d.ts +4 -4
- package/PageHeader/horizontalMeun.d.ts +9 -9
- package/PageHeader/horizontalMeunRight.d.ts +9 -9
- package/PageHeader/index.d.ts +10 -10
- package/PageHeader/interface.d.ts +167 -167
- package/Pagination/index.d.ts +33 -33
- package/Pagination/lang/en_US.d.ts +8 -8
- package/Pagination/lang/index.d.ts +17 -17
- package/Pagination/lang/zh_CN.d.ts +8 -8
- package/ParauiProvider/index.d.ts +12 -12
- package/PasswordRules/index.d.ts +46 -46
- package/PopConfirm/index.d.ts +56 -56
- package/PopConfirm/lang/en_US.d.ts +5 -5
- package/PopConfirm/lang/index.d.ts +11 -11
- package/PopConfirm/lang/zh_CN.d.ts +5 -5
- package/Popover/index.d.ts +14 -14
- package/PopoverNew/TooltipNew/index.d.ts +11 -11
- package/PopoverNew/TooltipNew/interface.d.ts +31 -31
- package/PopoverNew/TooltipNew/utils.d.ts +18 -18
- package/PopoverNew/index.d.ts +16 -16
- package/Popper/index.d.ts +13 -13
- package/Progress/Line.d.ts +47 -47
- package/Progress/Steps.d.ts +17 -17
- package/Progress/index.d.ts +81 -81
- package/Progress/index.js +1 -1
- package/Progress/utils.d.ts +6 -6
- package/Querying/images/index.d.ts +2 -2
- package/Querying/index.d.ts +26 -26
- package/Querying/lang/en_US.d.ts +4 -4
- package/Querying/lang/index.d.ts +9 -9
- package/Querying/lang/zh_CN.d.ts +4 -4
- package/README.md +739 -732
- package/Radio/index.d.ts +38 -38
- package/RadioGroup/index.d.ts +47 -47
- package/RadioGroup/index.js +2 -2
- package/Search/index.d.ts +56 -56
- package/Select/index.d.ts +96 -96
- package/Select/lang/en_US.d.ts +5 -5
- package/Select/lang/index.d.ts +11 -11
- package/Select/lang/zh_CN.d.ts +5 -5
- package/SelectInput/index.d.ts +11 -11
- package/Selector/index.d.ts +11 -11
- package/Selector/index.js +2 -2
- package/Selector/interface.d.ts +428 -428
- package/Selector/lang/en_US.d.ts +11 -11
- package/Selector/lang/index.d.ts +23 -23
- package/Selector/lang/zh_CN.d.ts +11 -11
- package/Selector/selectorData/index.d.ts +10 -10
- package/Selector/selectorMain/index.d.ts +10 -10
- package/Selector/selectorNode/index.d.ts +10 -10
- package/Selector/util.d.ts +15 -15
- package/SelectorPicker/index.d.ts +53 -53
- package/SelectorPicker/index.js +2 -2
- package/SingleBox/index.d.ts +42 -42
- package/Slider/index.d.ts +14 -14
- package/Slider/interface.d.ts +102 -102
- package/Split/index.d.ts +7 -7
- package/Stepper/icons.d.ts +5 -5
- package/Stepper/index.d.ts +39 -39
- package/Switch/index.d.ts +78 -78
- package/Table/index.d.ts +10 -10
- package/Table/index.js +1 -1
- package/Table/interface.d.ts +271 -271
- package/Table/lang/en_US.d.ts +8 -8
- package/Table/lang/index.d.ts +17 -17
- package/Table/lang/zh_CN.d.ts +8 -8
- package/Table/tableBody.d.ts +9 -9
- package/Table/tableBodyElement/index.d.ts +15 -15
- package/Table/tableBodyInterface.d.ts +67 -67
- package/Table/tableContainer/index.d.ts +16 -16
- package/Table/tableElement/index.d.ts +15 -15
- package/Table/tableHead.d.ts +9 -9
- package/Table/tableHeadElement/index.d.ts +15 -15
- package/Table/tableHeadInterface.d.ts +30 -30
- package/Table/tablePagination.d.ts +9 -9
- package/Table/tablePaginationInterFace.d.ts +24 -24
- package/Table/tdElement/index.d.ts +15 -15
- package/Table/thElement/index.d.ts +15 -15
- package/Table/trElement/index.d.ts +15 -15
- package/Table/util.d.ts +28 -28
- package/Tabs/index.d.ts +48 -48
- package/Tag/TagGroup.d.ts +66 -66
- package/Tag/index.d.ts +34 -34
- package/TextField/index.d.ts +95 -95
- package/TimePicker/index.d.ts +22 -22
- package/TimePicker/locale/en_US.d.ts +3 -3
- package/TimePicker/locale/zh_CN.d.ts +3 -3
- package/TimePicker/style/index.d.ts +1 -1
- package/Timeline/index.d.ts +22 -22
- package/Title/index.d.ts +30 -30
- package/ToggleButton/ToggleButtonGroup.d.ts +49 -49
- package/ToggleButton/index.d.ts +49 -49
- package/Tooltip/index.d.ts +14 -14
- package/Transfer/index.d.ts +37 -37
- package/Transfer/lang/en_US.d.ts +8 -8
- package/Transfer/lang/index.d.ts +17 -17
- package/Transfer/lang/zh_CN.d.ts +8 -8
- package/Tree/OperateBar/index.d.ts +13 -13
- package/Tree/Tree.d.ts +4 -4
- package/Tree/index.d.ts +5 -5
- package/Tree/index.js +1 -1
- package/Tree/interface.d.ts +207 -207
- package/Tree/lang/en_US.d.ts +8 -8
- package/Tree/lang/index.d.ts +17 -17
- package/Tree/lang/zh_CN.d.ts +8 -8
- package/Tree/utils/tools.d.ts +26 -26
- package/Tree/utils/treeUtil.d.ts +15 -15
- package/Upload/Dragger/index.d.ts +10 -10
- package/Upload/ErroTip/index.d.ts +13 -13
- package/Upload/ImageUpload/index.d.ts +14 -14
- package/Upload/ImgCrop/EasyCrop.d.ts +17 -17
- package/Upload/ImgCrop/constants.d.ts +7 -7
- package/Upload/ImgCrop/index.d.ts +6 -6
- package/Upload/ImgCrop/interface.d.ts +48 -48
- package/Upload/UploadList/index.d.ts +5 -5
- package/Upload/index.d.ts +15 -15
- package/Upload/index.js +1 -1
- package/Upload/interface.d.ts +134 -134
- package/Upload/lang/en_US.d.ts +12 -12
- package/Upload/lang/index.d.ts +25 -25
- package/Upload/lang/zh_CN.d.ts +12 -12
- package/cdn/AutoBox/index.js +1 -1
- package/cdn/AutoTips/index.js +1 -1
- package/cdn/Breadcrumbs/index.js +1 -1
- package/cdn/Button/index.js +5 -5
- package/cdn/ButtonGroup/index.js +5 -5
- package/cdn/Cascader/index.js +3 -3
- package/cdn/Checkbox/index.js +5 -5
- package/cdn/CheckboxGroup/index.js +5 -5
- package/cdn/Collapse/index.js +2 -2
- package/cdn/ColorPicker/index.js +1 -1
- package/cdn/ComboSelect/index.js +3 -3
- package/cdn/DatePicker/index.js +5 -5
- package/cdn/Desktop/index.js +2 -2
- package/cdn/Drawer/index.js +5 -5
- package/cdn/Dropdown/index.js +3 -3
- package/cdn/DynamicMultiBox/index.js +6 -6
- package/cdn/Form/index.js +4 -4
- package/cdn/FormItem/index.js +5 -5
- package/cdn/FunctionModal/index.js +5 -5
- package/cdn/Help/index.js +1 -1
- package/cdn/InputLang/index.js +1 -1
- package/cdn/InputNumber/index.js +5 -5
- package/cdn/Label/index.js +1 -1
- package/cdn/Menu/index.js +2 -2
- package/cdn/Modal/index.js +1 -1
- package/cdn/MultiBox/index.js +5 -5
- package/cdn/Notification/index.js +2 -2
- package/cdn/OperateBtn/index.js +1 -1
- package/cdn/PageHeader/index.js +5 -5
- package/cdn/Pagination/index.js +2 -2
- package/cdn/ParauiProvider/index.js +2 -2
- package/cdn/PasswordRules/index.js +2 -2
- package/cdn/PopConfirm/index.js +5 -5
- package/cdn/Popover/index.js +1 -1
- package/cdn/PopoverNew/index.js +3 -3
- package/cdn/Progress/index.js +1 -1
- package/cdn/Radio/index.js +5 -5
- package/cdn/RadioGroup/index.js +6 -6
- package/cdn/Search/index.js +5 -5
- package/cdn/Select/index.js +2 -2
- package/cdn/SelectInput/index.js +2 -2
- package/cdn/Selector/index.js +5 -5
- package/cdn/SelectorPicker/index.js +5 -5
- package/cdn/SingleBox/index.js +5 -5
- package/cdn/Slider/index.js +3 -3
- package/cdn/Stepper/index.js +3 -3
- package/cdn/Switch/index.js +5 -5
- package/cdn/Table/index.js +7 -7
- package/cdn/Tabs/index.js +6 -6
- package/cdn/TextField/index.js +1 -1
- package/cdn/TimePicker/index.js +10 -10
- package/cdn/Timeline/index.js +2 -2
- package/cdn/ToggleButton/index.js +1 -1
- package/cdn/Tooltip/index.js +1 -1
- package/cdn/Transfer/index.js +5 -5
- package/cdn/Tree/index.js +2 -2
- package/cdn/Upload/index.js +2 -2
- package/index.d.ts +142 -142
- package/index.js +2 -2
- package/package.json +131 -131
package/Upload/interface.d.ts
CHANGED
|
@@ -1,134 +1,134 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { RcFile as OriRcFile, Action, UploadRequestMethod, UploadRequestHeader, BeforeUploadFileType, UploadRequestOption } from 'rc-upload/lib/interface';
|
|
3
|
-
|
|
4
|
-
export type { BeforeUploadFileType };
|
|
5
|
-
export interface RcFile extends OriRcFile {
|
|
6
|
-
readonly lastModifiedDate: Date;
|
|
7
|
-
}
|
|
8
|
-
export interface UploadFile<T = any> {
|
|
9
|
-
/** uid */
|
|
10
|
-
uid: string;
|
|
11
|
-
/** file name */
|
|
12
|
-
name: string;
|
|
13
|
-
/** file mime type */
|
|
14
|
-
type?: string;
|
|
15
|
-
/** file size */
|
|
16
|
-
size?: number;
|
|
17
|
-
/** file 时间戳 */
|
|
18
|
-
lastModified?: number;
|
|
19
|
-
/** file 日期 */
|
|
20
|
-
lastModifiedDate?: Date;
|
|
21
|
-
/** file 默认显示url */
|
|
22
|
-
url?: string;
|
|
23
|
-
/** file 上传时 dataUrl */
|
|
24
|
-
dataUrl?: string;
|
|
25
|
-
/** 原始文件 */
|
|
26
|
-
originFileObj?: RcFile;
|
|
27
|
-
}
|
|
28
|
-
export interface IShowUploadList {
|
|
29
|
-
/** 是否显示删除图标 */
|
|
30
|
-
showRemoveIcon?: boolean;
|
|
31
|
-
/** 删除图标 */
|
|
32
|
-
removeIcon?: React.ReactNode;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface UploadProps<T = any> {
|
|
36
|
-
/**上传类型*/
|
|
37
|
-
type?: UploadType;
|
|
38
|
-
/**发到后台的文件参数名*/
|
|
39
|
-
name?: string;
|
|
40
|
-
/**样式*/
|
|
41
|
-
style?: React.CSSProperties;
|
|
42
|
-
/**cls*/
|
|
43
|
-
className?: string;
|
|
44
|
-
/**禁用*/
|
|
45
|
-
disabled?: boolean;
|
|
46
|
-
/**控件默认span*/
|
|
47
|
-
component?: React.JSXElementConstructor<any>;
|
|
48
|
-
/**上传地址*/
|
|
49
|
-
action?: Action;
|
|
50
|
-
/**http method*/
|
|
51
|
-
method?: UploadRequestMethod;
|
|
52
|
-
/**文件夹上传*/
|
|
53
|
-
directory?: boolean;
|
|
54
|
-
/**上传所需额外参数或返回上传额外参数的方法*/
|
|
55
|
-
data?: object | ((file: RcFile | string | Blob) => object);
|
|
56
|
-
/**设置上传的请求头部,IE10 以上有效*/
|
|
57
|
-
headers?: UploadRequestHeader;
|
|
58
|
-
/**接受上传的文件类型*/
|
|
59
|
-
accept?: string;
|
|
60
|
-
/**是否支持多选文件,开启后按住 ctrl 可选择多个文件*/
|
|
61
|
-
multiple?: boolean;
|
|
62
|
-
/**上传文件改变时的状态*/
|
|
63
|
-
onChange?: (info: UploadFile[]) => void;
|
|
64
|
-
/**上传开始*/
|
|
65
|
-
onStart?: (file: RcFile) => void;
|
|
66
|
-
/**上传错误*/
|
|
67
|
-
onError?: (error: Error, ret?: object, file?: RcFile) => void;
|
|
68
|
-
/**上传成功*/
|
|
69
|
-
onSuccess?: (response: object, file: RcFile, xhr?: object) => void;
|
|
70
|
-
/**上传进度*/
|
|
71
|
-
onProgress?: (event: {
|
|
72
|
-
percent: number;
|
|
73
|
-
}, file?: RcFile) => void;
|
|
74
|
-
/**上传之前*/
|
|
75
|
-
beforeUpload?: (file: RcFile, FileList?: RcFile[]) => BeforeUploadFileType | Promise<void | BeforeUploadFileType>;
|
|
76
|
-
/**通过覆盖默认的上传行为,可以自定义自己的上传实现*/
|
|
77
|
-
customRequest?: (option: UploadRequestOption) => void;
|
|
78
|
-
/**上传请求时是否携带 cookie*/
|
|
79
|
-
withCredentials?: boolean;
|
|
80
|
-
/**点击打开弹框*/
|
|
81
|
-
openFileDialogOnClick?: boolean;
|
|
82
|
-
/**点击移除文件时的回调*/
|
|
83
|
-
onRemove?: (file: UploadFile<T>) => void | boolean | Promise<void | boolean>;
|
|
84
|
-
/**默认已上传的文件列表*/
|
|
85
|
-
defaultFileList?: Array<UploadFile<T>>;
|
|
86
|
-
/**已经上传的文件列表(受控)*/
|
|
87
|
-
fileList?: Array<UploadFile<T>>;
|
|
88
|
-
/**限制上传数量*/
|
|
89
|
-
maxCount?: number;
|
|
90
|
-
/**是否展示文件列表*/
|
|
91
|
-
showUploadList?: boolean | IShowUploadList;
|
|
92
|
-
/**子节点*/
|
|
93
|
-
children?: React.ReactNode;
|
|
94
|
-
/**自定义上传列表项*/
|
|
95
|
-
itemRender?: ItemRender<T>;
|
|
96
|
-
/**是否显示错误提示 leaveDelay 负数为不自动关闭*/
|
|
97
|
-
showUploadError?: boolean | {
|
|
98
|
-
uploadErrorMsg?: string;
|
|
99
|
-
leaveDelay?: number;
|
|
100
|
-
};
|
|
101
|
-
/**大小*/
|
|
102
|
-
size?: 'small' | 'medium' | 'large';
|
|
103
|
-
/** 开启暂存文件,beforeUpload 需返回 false 停止上传 */
|
|
104
|
-
stash?: boolean;
|
|
105
|
-
/** 是否显示上传loading*/
|
|
106
|
-
showLoading?: boolean;
|
|
107
|
-
/** 是否显示上传loading,后期删除*/
|
|
108
|
-
uploading?: boolean;
|
|
109
|
-
/** 当文件被拖入上传区域时执行的回调功能 */
|
|
110
|
-
onDrop?: (event: React.DragEvent) => void;
|
|
111
|
-
/** 拖拽上传时 拖拽区域元素 */
|
|
112
|
-
dragArea?: {
|
|
113
|
-
/** 图标 */
|
|
114
|
-
areaIcon?: ReactNode;
|
|
115
|
-
/** 文本 */
|
|
116
|
-
areaText?: ReactNode;
|
|
117
|
-
/** 描述 */
|
|
118
|
-
areaDesc?: ReactNode;
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
export interface UploadListProps<T = any> {
|
|
122
|
-
/**文件列表类型*/
|
|
123
|
-
listType?: 'text' | 'picture-card';
|
|
124
|
-
/**文件列表数据*/
|
|
125
|
-
items?: Array<UploadFile<T>>;
|
|
126
|
-
/**文件删除*/
|
|
127
|
-
onRemove?: (file: UploadFile<T>) => void | boolean;
|
|
128
|
-
/**是否显示删除图标*/
|
|
129
|
-
showRemoveIcon?: boolean;
|
|
130
|
-
/**删除图标节点*/
|
|
131
|
-
removeIcon?: React.ReactNode | ((file: UploadFile) => React.ReactNode);
|
|
132
|
-
/**自定义上传列表项*/
|
|
133
|
-
itemRender?: ItemRender<T>;
|
|
134
|
-
}
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { RcFile as OriRcFile, Action, UploadRequestMethod, UploadRequestHeader, BeforeUploadFileType, UploadRequestOption } from 'rc-upload/lib/interface';
|
|
3
|
+
type UploadType = 'drag' | 'select';
|
|
4
|
+
export type { BeforeUploadFileType };
|
|
5
|
+
export interface RcFile extends OriRcFile {
|
|
6
|
+
readonly lastModifiedDate: Date;
|
|
7
|
+
}
|
|
8
|
+
export interface UploadFile<T = any> {
|
|
9
|
+
/** uid */
|
|
10
|
+
uid: string;
|
|
11
|
+
/** file name */
|
|
12
|
+
name: string;
|
|
13
|
+
/** file mime type */
|
|
14
|
+
type?: string;
|
|
15
|
+
/** file size */
|
|
16
|
+
size?: number;
|
|
17
|
+
/** file 时间戳 */
|
|
18
|
+
lastModified?: number;
|
|
19
|
+
/** file 日期 */
|
|
20
|
+
lastModifiedDate?: Date;
|
|
21
|
+
/** file 默认显示url */
|
|
22
|
+
url?: string;
|
|
23
|
+
/** file 上传时 dataUrl */
|
|
24
|
+
dataUrl?: string;
|
|
25
|
+
/** 原始文件 */
|
|
26
|
+
originFileObj?: RcFile;
|
|
27
|
+
}
|
|
28
|
+
export interface IShowUploadList {
|
|
29
|
+
/** 是否显示删除图标 */
|
|
30
|
+
showRemoveIcon?: boolean;
|
|
31
|
+
/** 删除图标 */
|
|
32
|
+
removeIcon?: React.ReactNode;
|
|
33
|
+
}
|
|
34
|
+
type ItemRender<T = any> = (file: UploadFile, fileList?: Array<UploadFile<T>>) => React.ReactNode;
|
|
35
|
+
export interface UploadProps<T = any> {
|
|
36
|
+
/**上传类型*/
|
|
37
|
+
type?: UploadType;
|
|
38
|
+
/**发到后台的文件参数名*/
|
|
39
|
+
name?: string;
|
|
40
|
+
/**样式*/
|
|
41
|
+
style?: React.CSSProperties;
|
|
42
|
+
/**cls*/
|
|
43
|
+
className?: string;
|
|
44
|
+
/**禁用*/
|
|
45
|
+
disabled?: boolean;
|
|
46
|
+
/**控件默认span*/
|
|
47
|
+
component?: React.JSXElementConstructor<any>;
|
|
48
|
+
/**上传地址*/
|
|
49
|
+
action?: Action;
|
|
50
|
+
/**http method*/
|
|
51
|
+
method?: UploadRequestMethod;
|
|
52
|
+
/**文件夹上传*/
|
|
53
|
+
directory?: boolean;
|
|
54
|
+
/**上传所需额外参数或返回上传额外参数的方法*/
|
|
55
|
+
data?: object | ((file: RcFile | string | Blob) => object);
|
|
56
|
+
/**设置上传的请求头部,IE10 以上有效*/
|
|
57
|
+
headers?: UploadRequestHeader;
|
|
58
|
+
/**接受上传的文件类型*/
|
|
59
|
+
accept?: string;
|
|
60
|
+
/**是否支持多选文件,开启后按住 ctrl 可选择多个文件*/
|
|
61
|
+
multiple?: boolean;
|
|
62
|
+
/**上传文件改变时的状态*/
|
|
63
|
+
onChange?: (info: UploadFile[]) => void;
|
|
64
|
+
/**上传开始*/
|
|
65
|
+
onStart?: (file: RcFile) => void;
|
|
66
|
+
/**上传错误*/
|
|
67
|
+
onError?: (error: Error, ret?: object, file?: RcFile) => void;
|
|
68
|
+
/**上传成功*/
|
|
69
|
+
onSuccess?: (response: object, file: RcFile, xhr?: object) => void;
|
|
70
|
+
/**上传进度*/
|
|
71
|
+
onProgress?: (event: {
|
|
72
|
+
percent: number;
|
|
73
|
+
}, file?: RcFile) => void;
|
|
74
|
+
/**上传之前*/
|
|
75
|
+
beforeUpload?: (file: RcFile, FileList?: RcFile[]) => BeforeUploadFileType | Promise<void | BeforeUploadFileType>;
|
|
76
|
+
/**通过覆盖默认的上传行为,可以自定义自己的上传实现*/
|
|
77
|
+
customRequest?: (option: UploadRequestOption) => void;
|
|
78
|
+
/**上传请求时是否携带 cookie*/
|
|
79
|
+
withCredentials?: boolean;
|
|
80
|
+
/**点击打开弹框*/
|
|
81
|
+
openFileDialogOnClick?: boolean;
|
|
82
|
+
/**点击移除文件时的回调*/
|
|
83
|
+
onRemove?: (file: UploadFile<T>) => void | boolean | Promise<void | boolean>;
|
|
84
|
+
/**默认已上传的文件列表*/
|
|
85
|
+
defaultFileList?: Array<UploadFile<T>>;
|
|
86
|
+
/**已经上传的文件列表(受控)*/
|
|
87
|
+
fileList?: Array<UploadFile<T>>;
|
|
88
|
+
/**限制上传数量*/
|
|
89
|
+
maxCount?: number;
|
|
90
|
+
/**是否展示文件列表*/
|
|
91
|
+
showUploadList?: boolean | IShowUploadList;
|
|
92
|
+
/**子节点*/
|
|
93
|
+
children?: React.ReactNode;
|
|
94
|
+
/**自定义上传列表项*/
|
|
95
|
+
itemRender?: ItemRender<T>;
|
|
96
|
+
/**是否显示错误提示 leaveDelay 负数为不自动关闭*/
|
|
97
|
+
showUploadError?: boolean | {
|
|
98
|
+
uploadErrorMsg?: string;
|
|
99
|
+
leaveDelay?: number;
|
|
100
|
+
};
|
|
101
|
+
/**大小*/
|
|
102
|
+
size?: 'small' | 'medium' | 'large';
|
|
103
|
+
/** 开启暂存文件,beforeUpload 需返回 false 停止上传 */
|
|
104
|
+
stash?: boolean;
|
|
105
|
+
/** 是否显示上传loading*/
|
|
106
|
+
showLoading?: boolean;
|
|
107
|
+
/** 是否显示上传loading,后期删除*/
|
|
108
|
+
uploading?: boolean;
|
|
109
|
+
/** 当文件被拖入上传区域时执行的回调功能 */
|
|
110
|
+
onDrop?: (event: React.DragEvent) => void;
|
|
111
|
+
/** 拖拽上传时 拖拽区域元素 */
|
|
112
|
+
dragArea?: {
|
|
113
|
+
/** 图标 */
|
|
114
|
+
areaIcon?: ReactNode;
|
|
115
|
+
/** 文本 */
|
|
116
|
+
areaText?: ReactNode;
|
|
117
|
+
/** 描述 */
|
|
118
|
+
areaDesc?: ReactNode;
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
export interface UploadListProps<T = any> {
|
|
122
|
+
/**文件列表类型*/
|
|
123
|
+
listType?: 'text' | 'picture-card';
|
|
124
|
+
/**文件列表数据*/
|
|
125
|
+
items?: Array<UploadFile<T>>;
|
|
126
|
+
/**文件删除*/
|
|
127
|
+
onRemove?: (file: UploadFile<T>) => void | boolean;
|
|
128
|
+
/**是否显示删除图标*/
|
|
129
|
+
showRemoveIcon?: boolean;
|
|
130
|
+
/**删除图标节点*/
|
|
131
|
+
removeIcon?: React.ReactNode | ((file: UploadFile) => React.ReactNode);
|
|
132
|
+
/**自定义上传列表项*/
|
|
133
|
+
itemRender?: ItemRender<T>;
|
|
134
|
+
}
|
package/Upload/lang/en_US.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
uploadError: string;
|
|
3
|
-
uploading: string;
|
|
4
|
-
clickUploadFile: string;
|
|
5
|
-
dragFileUpload: string;
|
|
6
|
-
add: string;
|
|
7
|
-
edit: string;
|
|
8
|
-
disabled: string;
|
|
9
|
-
delete: string;
|
|
10
|
-
editImage: string;
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
uploadError: string;
|
|
3
|
+
uploading: string;
|
|
4
|
+
clickUploadFile: string;
|
|
5
|
+
dragFileUpload: string;
|
|
6
|
+
add: string;
|
|
7
|
+
edit: string;
|
|
8
|
+
disabled: string;
|
|
9
|
+
delete: string;
|
|
10
|
+
editImage: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
package/Upload/lang/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
zh: {
|
|
3
|
-
uploadError: string;
|
|
4
|
-
uploading: string;
|
|
5
|
-
clickUploadFile: string;
|
|
6
|
-
dragFileUpload: string;
|
|
7
|
-
add: string;
|
|
8
|
-
edit: string;
|
|
9
|
-
disabled: string;
|
|
10
|
-
delete: string;
|
|
11
|
-
editImage: string;
|
|
12
|
-
};
|
|
13
|
-
en: {
|
|
14
|
-
uploadError: string;
|
|
15
|
-
uploading: string;
|
|
16
|
-
clickUploadFile: string;
|
|
17
|
-
dragFileUpload: string;
|
|
18
|
-
add: string;
|
|
19
|
-
edit: string;
|
|
20
|
-
disabled: string;
|
|
21
|
-
delete: string;
|
|
22
|
-
editImage: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
zh: {
|
|
3
|
+
uploadError: string;
|
|
4
|
+
uploading: string;
|
|
5
|
+
clickUploadFile: string;
|
|
6
|
+
dragFileUpload: string;
|
|
7
|
+
add: string;
|
|
8
|
+
edit: string;
|
|
9
|
+
disabled: string;
|
|
10
|
+
delete: string;
|
|
11
|
+
editImage: string;
|
|
12
|
+
};
|
|
13
|
+
en: {
|
|
14
|
+
uploadError: string;
|
|
15
|
+
uploading: string;
|
|
16
|
+
clickUploadFile: string;
|
|
17
|
+
dragFileUpload: string;
|
|
18
|
+
add: string;
|
|
19
|
+
edit: string;
|
|
20
|
+
disabled: string;
|
|
21
|
+
delete: string;
|
|
22
|
+
editImage: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
package/Upload/lang/zh_CN.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
uploadError: string;
|
|
3
|
-
uploading: string;
|
|
4
|
-
clickUploadFile: string;
|
|
5
|
-
dragFileUpload: string;
|
|
6
|
-
add: string;
|
|
7
|
-
edit: string;
|
|
8
|
-
disabled: string;
|
|
9
|
-
delete: string;
|
|
10
|
-
editImage: string;
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
uploadError: string;
|
|
3
|
+
uploading: string;
|
|
4
|
+
clickUploadFile: string;
|
|
5
|
+
dragFileUpload: string;
|
|
6
|
+
add: string;
|
|
7
|
+
edit: string;
|
|
8
|
+
disabled: string;
|
|
9
|
+
delete: string;
|
|
10
|
+
editImage: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
package/cdn/AutoBox/index.js
CHANGED
|
@@ -26,7 +26,7 @@ object-assign
|
|
|
26
26
|
*
|
|
27
27
|
* This source code is licensed under the MIT license found in the
|
|
28
28
|
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/n(27418);var r=n(8156),i=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,r)&&!u.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:l,props:o,_owner:a.current}}t.jsx=c,t.jsxs=c},85893:function(e,t,n){"use strict";e.exports=n(75251)},43753:function(e,t,n){var r=n(93379),i=n(7388);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},24895:function(e,t,n){var r=n(93379),i=n(95845);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},93379:function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],u=t.base?o[0]+t.base:o[0],c=n[u]||0,l="".concat(u," ").concat(c);n[u]=c+1;var f=s(l),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==f?(a[f].references++,a[f].updater(d)):a.push({identifier:l,updater:y(d,t),references:1}),r.push(l)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,v=0;function y(e,t){var n,r,i;if(t.singleton){var o=v++;n=h||(h=c(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=c(t),r=p.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=s(n[r]);a[i].references--}for(var o=u(e,t),c=0;c<n.length;c++){var l=s(n[c]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=o}}}},36413:function(e,t,n){"use strict";n.d(t,{default:function(){return V}});var r=n(8156),i=n.n(r),o=n(87462),a=n(45987),s=n(47111),u=n(79437),c=n(86010),l=n(30626),f=n(80713),d=n(82568),p=n(52543),h=n(159),v=n(93869),y=n(76234),m=n(17294),g=n(55192),b=n(92781),x=n(15671),Z=n(43144),w=n(89062);function S(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function E(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function k(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[t,n].concat((0,w.Z)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===o.indexOf(e)&&-1===a.indexOf(e.tagName)&&S(e,i)}))}function O(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function R(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,l.Z)(e);return t.body===e?(0,f.Z)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var a=function(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(E(o)+a,"px"),n=(0,l.Z)(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(E(e)+a,"px")}))}var s=o.parentElement,u="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:o;r.push({value:u.style.overflow,key:"overflow",el:u}),u.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var P=function(){function e(){(0,x.Z)(this,e),this.modals=[],this.containers=[]}return(0,Z.Z)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&S(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);k(t,e.mountNode,e.modalRef,r,!0);var i=O(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=O(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=R(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=O(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&S(e.modalRef,!0),k(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&S(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var C=function(e){var t=e.children,n=e.disableAutoFocus,i=void 0!==n&&n,o=e.disableEnforceFocus,a=void 0!==o&&o,u=e.disableRestoreFocus,c=void 0!==u&&u,f=e.getDoc,d=e.isEnabled,p=e.open,h=r.useRef(),v=r.useRef(null),y=r.useRef(null),g=r.useRef(),b=r.useRef(null),x=r.useCallback((function(e){b.current=s.findDOMNode(e)}),[]),Z=(0,m.Z)(t.ref,x),w=r.useRef();return r.useEffect((function(){w.current=p}),[p]),!w.current&&p&&"undefined"!=typeof window&&(g.current=f().activeElement),r.useEffect((function(){if(p){var e=(0,l.Z)(b.current);i||!b.current||b.current.contains(e.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex",-1),b.current.focus());var t=function(){null!==b.current&&(e.hasFocus()&&!a&&d()&&!h.current?b.current&&!b.current.contains(e.activeElement)&&b.current.focus():h.current=!1)},n=function(t){!a&&d()&&9===t.keyCode&&e.activeElement===b.current&&(h.current=!0,t.shiftKey?y.current.focus():v.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var r=setInterval((function(){t()}),50);return function(){clearInterval(r),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),c||(g.current&&g.current.focus&&g.current.focus(),g.current=null)}}}),[i,a,c,d,p]),r.createElement(r.Fragment,null,r.createElement("div",{tabIndex:0,ref:v,"data-test":"sentinelStart"}),r.cloneElement(t,{ref:Z}),r.createElement("div",{tabIndex:0,ref:y,"data-test":"sentinelEnd"}))},j={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},A=r.forwardRef((function(e,t){var n=e.invisible,i=void 0!==n&&n,s=e.open,u=(0,a.Z)(e,["invisible","open"]);return s?r.createElement("div",(0,o.Z)({"aria-hidden":!0,ref:t},u,{style:(0,o.Z)({},j.root,i?j.invisible:{},u.style)})):null}));var T=new P,M=r.forwardRef((function(e,t){var n=(0,h.Z)(),i=(0,v.Z)({name:"MuiModal",props:(0,o.Z)({},e),theme:n}),u=i.BackdropComponent,c=void 0===u?A:u,f=i.BackdropProps,p=i.children,x=i.closeAfterTransition,Z=void 0!==x&&x,w=i.container,E=i.disableAutoFocus,k=void 0!==E&&E,O=i.disableBackdropClick,R=void 0!==O&&O,P=i.disableEnforceFocus,j=void 0!==P&&P,M=i.disableEscapeKeyDown,N=void 0!==M&&M,I=i.disablePortal,z=void 0!==I&&I,_=i.disableRestoreFocus,L=void 0!==_&&_,D=i.disableScrollLock,$=void 0!==D&&D,F=i.hideBackdrop,W=void 0!==F&&F,B=i.keepMounted,H=void 0!==B&&B,U=i.manager,q=void 0===U?T:U,V=i.onBackdropClick,G=i.onClose,J=i.onEscapeKeyDown,K=i.onRendered,X=i.open,Y=(0,a.Z)(i,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),Q=r.useState(!0),ee=Q[0],te=Q[1],ne=r.useRef({}),re=r.useRef(null),ie=r.useRef(null),oe=(0,m.Z)(ie,t),ae=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(i),se=function(){return(0,l.Z)(re.current)},ue=function(){return ne.current.modalRef=ie.current,ne.current.mountNode=re.current,ne.current},ce=function(){q.mount(ue(),{disableScrollLock:$}),ie.current.scrollTop=0},le=(0,g.Z)((function(){var e=function(e){return e="function"==typeof e?e():e,s.findDOMNode(e)}(w)||se().body;q.add(ue(),e),ie.current&&ce()})),fe=r.useCallback((function(){return q.isTopModal(ue())}),[q]),de=(0,g.Z)((function(e){re.current=e,e&&(K&&K(),X&&fe()?ce():S(ie.current,!0))})),pe=r.useCallback((function(){q.remove(ue())}),[q]);if(r.useEffect((function(){return function(){pe()}}),[pe]),r.useEffect((function(){X?le():ae&&Z||pe()}),[X,pe,ae,Z,le]),!H&&!X&&(!ae||ee))return null;var he=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:b.Z}),ve={};return void 0===p.props.tabIndex&&(ve.tabIndex=p.props.tabIndex||"-1"),ae&&(ve.onEnter=(0,d.Z)((function(){te(!1)}),p.props.onEnter),ve.onExited=(0,d.Z)((function(){te(!0),Z&&pe()}),p.props.onExited)),r.createElement(y.Z,{ref:de,container:w,disablePortal:z},r.createElement("div",(0,o.Z)({ref:oe,onKeyDown:function(e){"Escape"===e.key&&fe()&&(J&&J(e),N||(e.stopPropagation(),G&&G(e,"escapeKeyDown")))},role:"presentation"},Y,{style:(0,o.Z)({},he.root,!X&&ee?he.hidden:{},Y.style)}),W?null:r.createElement(c,(0,o.Z)({open:X,onClick:function(e){e.target===e.currentTarget&&(V&&V(e),!R&&G&&G(e,"backdropClick"))}},f)),r.createElement(C,{disableEnforceFocus:j,disableAutoFocus:k,disableRestoreFocus:L,getDoc:se,isEnabled:fe,open:X},r.cloneElement(p,ve))))})),N=n(20170),I=r.forwardRef((function(e,t){var n=e.classes,i=e.className,s=e.component,u=void 0===s?"div":s,l=e.square,f=void 0!==l&&l,d=e.elevation,p=void 0===d?1:d,h=e.variant,v=void 0===h?"elevation":h,y=(0,a.Z)(e,["classes","className","component","square","elevation","variant"]);return r.createElement(u,(0,o.Z)({className:(0,c.Z)(n.root,i,"outlined"===v?n.outlined:n["elevation".concat(p)],!f&&n.rounded),ref:t},y))})),z=(0,p.Z)((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),(0,o.Z)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(I);function _(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function L(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function D(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function $(e){return"function"==typeof e?e():e}var F=r.forwardRef((function(e,t){var n=e.action,i=e.anchorEl,p=e.anchorOrigin,h=void 0===p?{vertical:"top",horizontal:"left"}:p,v=e.anchorPosition,y=e.anchorReference,m=void 0===y?"anchorEl":y,g=e.children,b=e.classes,x=e.className,Z=e.container,w=e.elevation,S=void 0===w?8:w,E=e.getContentAnchorEl,k=e.marginThreshold,O=void 0===k?16:k,R=e.onEnter,P=e.onEntered,C=e.onEntering,j=e.onExit,A=e.onExited,T=e.onExiting,I=e.open,F=e.PaperProps,W=void 0===F?{}:F,B=e.transformOrigin,H=void 0===B?{vertical:"top",horizontal:"left"}:B,U=e.TransitionComponent,q=void 0===U?N.Z:U,V=e.transitionDuration,G=void 0===V?"auto":V,J=e.TransitionProps,K=void 0===J?{}:J,X=(0,a.Z)(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),Y=r.useRef(),Q=r.useCallback((function(e){if("anchorPosition"===m)return v;var t=$(i),n=(t&&1===t.nodeType?t:(0,l.Z)(Y.current).body).getBoundingClientRect(),r=0===e?h.vertical:"center";return{top:n.top+_(n,r),left:n.left+L(n,h.horizontal)}}),[i,h.horizontal,h.vertical,v,m]),ee=r.useCallback((function(e){var t=0;if(E&&"anchorEl"===m){var n=E(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[h.vertical,m,E]),te=r.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:_(e,H.vertical)+t,horizontal:L(e,H.horizontal)}}),[H.horizontal,H.vertical]),ne=r.useCallback((function(e){var t=ee(e),n={width:e.offsetWidth,height:e.offsetHeight},r=te(n,t);if("none"===m)return{top:null,left:null,transformOrigin:D(r)};var o=Q(t),a=o.top-r.vertical,s=o.left-r.horizontal,u=a+n.height,c=s+n.width,l=(0,f.Z)($(i)),d=l.innerHeight-O,p=l.innerWidth-O;if(a<O){var h=a-O;a-=h,r.vertical+=h}else if(u>d){var v=u-d;a-=v,r.vertical+=v}if(s<O){var y=s-O;s-=y,r.horizontal+=y}else if(c>p){var g=c-p;s-=g,r.horizontal+=g}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(s),"px"),transformOrigin:D(r)}}),[i,m,Q,ee,te,O]),re=r.useCallback((function(){var e=Y.current;if(e){var t=ne(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[ne]),ie=r.useCallback((function(e){Y.current=s.findDOMNode(e)}),[]);r.useEffect((function(){I&&re()})),r.useImperativeHandle(n,(function(){return I?{updatePosition:function(){re()}}:null}),[I,re]),r.useEffect((function(){if(I){var e=(0,u.Z)((function(){re()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[I,re]);var oe=G;"auto"!==G||q.muiSupportAuto||(oe=void 0);var ae=Z||(i?(0,l.Z)($(i)).body:void 0);return r.createElement(M,(0,o.Z)({container:ae,open:I,ref:t,BackdropProps:{invisible:!0},className:(0,c.Z)(b.root,x)},X),r.createElement(q,(0,o.Z)({appear:!0,in:I,onEnter:R,onEntered:P,onExit:j,onExited:A,onExiting:T,timeout:oe},K,{onEntering:(0,d.Z)((function(e,t){C&&C(e,t),re()}),K.onEntering)}),r.createElement(z,(0,o.Z)({elevation:S,ref:ie},W,{className:(0,c.Z)(b.paper,W.className)}),g)))})),W=(0,p.Z)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(F);n(24895);function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(){return H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H.apply(this,arguments)}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){B(e,t,n[t])}))}return e}function q(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var V=function(e){var t,n=e.className,r=e.children,o=e.classes,a=e.style,s=q(e,["className","children","classes","style"]);return i().createElement(W,H({style:U({zIndex:1300},a),className:(t="paraui-popover",n&&(t+=" "+n),t),classes:{paper:o?"paraui-popover-paper ".concat(o):"paraui-popover-paper"}},s),r)}},58543:function(e){"use strict";e.exports=n},8156:function(t){"use strict";t.exports=e},47111:function(e){"use strict";e.exports=t},30907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},83878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},45057:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e){if(Array.isArray(e))return(0,r.Z)(e)}},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},15671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},43144:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return i}})},4942:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},87462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},94578:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89611);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},59199:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},31902:function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}n.d(t,{Z:function(){return r}})},25267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},42786:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},45987:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(63366);function i(e,t){if(null==e)return{};var n,i,o=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},63366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},93324:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(83878),i=n(31902),o=n(40181),a=n(25267);function s(e,t){return(0,r.Z)(e)||(0,i.Z)(e,t)||(0,o.Z)(e,t)||(0,a.Z)()}},89062:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(45057),i=n(59199),o=n(40181),a=n(42786);function s(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},71002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,exports:{}};return r[e](n,n.exports,o),n.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return function(){"use strict";o.r(a),o.d(a,{AutoBox:function(){return f},default:function(){return d}});var e=o(8156),t=o.n(e),n=o(36413),r=o(85893);!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}('@charset "UTF-8";\n/**\n* @author Hanz\n* @date 2021/8/25 下午3:16\n* @description icons scss\n*/\n.paraui-icon {\n width: 1em;\n height: 1em;\n fill: currentColor;\n display: inline-block;\n user-select: none;\n flex-shrink: 0;\n}\n.paraui-icon-primary {\n color: #3666d6;\n}\n.paraui-icon-secondary {\n color: #3666d6;\n}\n.paraui-icon-thirdary {\n color: #3666d6;\n}\n.paraui-icon-small {\n font-size: 16px;\n}\n.paraui-icon-medium {\n font-size: 18px;\n}\n.paraui-icon-large {\n font-size: 20px;\n}');var i=function(e){var t,n,i=e.path,o=e.className,a=e.color,s=void 0===a?"primary":a,u=e.size,c=void 0===u?"small":u,l=e.dataName,f=void 0===l?"":l,d=e.style,p=
|
|
29
|
+
*/n(27418);var r=n(8156),i=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,r)&&!u.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:l,props:o,_owner:a.current}}t.jsx=c,t.jsxs=c},85893:function(e,t,n){"use strict";e.exports=n(75251)},43753:function(e,t,n){var r=n(93379),i=n(7388);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},24895:function(e,t,n){var r=n(93379),i=n(95845);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},93379:function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],u=t.base?o[0]+t.base:o[0],c=n[u]||0,l="".concat(u," ").concat(c);n[u]=c+1;var f=s(l),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==f?(a[f].references++,a[f].updater(d)):a.push({identifier:l,updater:y(d,t),references:1}),r.push(l)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,v=0;function y(e,t){var n,r,i;if(t.singleton){var o=v++;n=h||(h=c(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=c(t),r=p.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=s(n[r]);a[i].references--}for(var o=u(e,t),c=0;c<n.length;c++){var l=s(n[c]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=o}}}},36413:function(e,t,n){"use strict";n.d(t,{default:function(){return V}});var r=n(8156),i=n.n(r),o=n(87462),a=n(45987),s=n(47111),u=n(79437),c=n(86010),l=n(30626),f=n(80713),d=n(82568),p=n(52543),h=n(159),v=n(93869),y=n(76234),m=n(17294),g=n(55192),b=n(92781),x=n(15671),Z=n(43144),w=n(89062);function S(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function E(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function k(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[t,n].concat((0,w.Z)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===o.indexOf(e)&&-1===a.indexOf(e.tagName)&&S(e,i)}))}function O(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function R(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,l.Z)(e);return t.body===e?(0,f.Z)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var a=function(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(E(o)+a,"px"),n=(0,l.Z)(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(E(e)+a,"px")}))}var s=o.parentElement,u="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:o;r.push({value:u.style.overflow,key:"overflow",el:u}),u.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var P=function(){function e(){(0,x.Z)(this,e),this.modals=[],this.containers=[]}return(0,Z.Z)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&S(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);k(t,e.mountNode,e.modalRef,r,!0);var i=O(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=O(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=R(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=O(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&S(e.modalRef,!0),k(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&S(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var C=function(e){var t=e.children,n=e.disableAutoFocus,i=void 0!==n&&n,o=e.disableEnforceFocus,a=void 0!==o&&o,u=e.disableRestoreFocus,c=void 0!==u&&u,f=e.getDoc,d=e.isEnabled,p=e.open,h=r.useRef(),v=r.useRef(null),y=r.useRef(null),g=r.useRef(),b=r.useRef(null),x=r.useCallback((function(e){b.current=s.findDOMNode(e)}),[]),Z=(0,m.Z)(t.ref,x),w=r.useRef();return r.useEffect((function(){w.current=p}),[p]),!w.current&&p&&"undefined"!=typeof window&&(g.current=f().activeElement),r.useEffect((function(){if(p){var e=(0,l.Z)(b.current);i||!b.current||b.current.contains(e.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex",-1),b.current.focus());var t=function(){null!==b.current&&(e.hasFocus()&&!a&&d()&&!h.current?b.current&&!b.current.contains(e.activeElement)&&b.current.focus():h.current=!1)},n=function(t){!a&&d()&&9===t.keyCode&&e.activeElement===b.current&&(h.current=!0,t.shiftKey?y.current.focus():v.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var r=setInterval((function(){t()}),50);return function(){clearInterval(r),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),c||(g.current&&g.current.focus&&g.current.focus(),g.current=null)}}}),[i,a,c,d,p]),r.createElement(r.Fragment,null,r.createElement("div",{tabIndex:0,ref:v,"data-test":"sentinelStart"}),r.cloneElement(t,{ref:Z}),r.createElement("div",{tabIndex:0,ref:y,"data-test":"sentinelEnd"}))},j={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},A=r.forwardRef((function(e,t){var n=e.invisible,i=void 0!==n&&n,s=e.open,u=(0,a.Z)(e,["invisible","open"]);return s?r.createElement("div",(0,o.Z)({"aria-hidden":!0,ref:t},u,{style:(0,o.Z)({},j.root,i?j.invisible:{},u.style)})):null}));var T=new P,M=r.forwardRef((function(e,t){var n=(0,h.Z)(),i=(0,v.Z)({name:"MuiModal",props:(0,o.Z)({},e),theme:n}),u=i.BackdropComponent,c=void 0===u?A:u,f=i.BackdropProps,p=i.children,x=i.closeAfterTransition,Z=void 0!==x&&x,w=i.container,E=i.disableAutoFocus,k=void 0!==E&&E,O=i.disableBackdropClick,R=void 0!==O&&O,P=i.disableEnforceFocus,j=void 0!==P&&P,M=i.disableEscapeKeyDown,N=void 0!==M&&M,I=i.disablePortal,z=void 0!==I&&I,_=i.disableRestoreFocus,L=void 0!==_&&_,D=i.disableScrollLock,$=void 0!==D&&D,F=i.hideBackdrop,W=void 0!==F&&F,B=i.keepMounted,H=void 0!==B&&B,U=i.manager,q=void 0===U?T:U,V=i.onBackdropClick,G=i.onClose,J=i.onEscapeKeyDown,K=i.onRendered,X=i.open,Y=(0,a.Z)(i,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),Q=r.useState(!0),ee=Q[0],te=Q[1],ne=r.useRef({}),re=r.useRef(null),ie=r.useRef(null),oe=(0,m.Z)(ie,t),ae=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(i),se=function(){return(0,l.Z)(re.current)},ue=function(){return ne.current.modalRef=ie.current,ne.current.mountNode=re.current,ne.current},ce=function(){q.mount(ue(),{disableScrollLock:$}),ie.current.scrollTop=0},le=(0,g.Z)((function(){var e=function(e){return e="function"==typeof e?e():e,s.findDOMNode(e)}(w)||se().body;q.add(ue(),e),ie.current&&ce()})),fe=r.useCallback((function(){return q.isTopModal(ue())}),[q]),de=(0,g.Z)((function(e){re.current=e,e&&(K&&K(),X&&fe()?ce():S(ie.current,!0))})),pe=r.useCallback((function(){q.remove(ue())}),[q]);if(r.useEffect((function(){return function(){pe()}}),[pe]),r.useEffect((function(){X?le():ae&&Z||pe()}),[X,pe,ae,Z,le]),!H&&!X&&(!ae||ee))return null;var he=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:b.Z}),ve={};return void 0===p.props.tabIndex&&(ve.tabIndex=p.props.tabIndex||"-1"),ae&&(ve.onEnter=(0,d.Z)((function(){te(!1)}),p.props.onEnter),ve.onExited=(0,d.Z)((function(){te(!0),Z&&pe()}),p.props.onExited)),r.createElement(y.Z,{ref:de,container:w,disablePortal:z},r.createElement("div",(0,o.Z)({ref:oe,onKeyDown:function(e){"Escape"===e.key&&fe()&&(J&&J(e),N||(e.stopPropagation(),G&&G(e,"escapeKeyDown")))},role:"presentation"},Y,{style:(0,o.Z)({},he.root,!X&&ee?he.hidden:{},Y.style)}),W?null:r.createElement(c,(0,o.Z)({open:X,onClick:function(e){e.target===e.currentTarget&&(V&&V(e),!R&&G&&G(e,"backdropClick"))}},f)),r.createElement(C,{disableEnforceFocus:j,disableAutoFocus:k,disableRestoreFocus:L,getDoc:se,isEnabled:fe,open:X},r.cloneElement(p,ve))))})),N=n(20170),I=r.forwardRef((function(e,t){var n=e.classes,i=e.className,s=e.component,u=void 0===s?"div":s,l=e.square,f=void 0!==l&&l,d=e.elevation,p=void 0===d?1:d,h=e.variant,v=void 0===h?"elevation":h,y=(0,a.Z)(e,["classes","className","component","square","elevation","variant"]);return r.createElement(u,(0,o.Z)({className:(0,c.Z)(n.root,i,"outlined"===v?n.outlined:n["elevation".concat(p)],!f&&n.rounded),ref:t},y))})),z=(0,p.Z)((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),(0,o.Z)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(I);function _(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function L(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function D(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function $(e){return"function"==typeof e?e():e}var F=r.forwardRef((function(e,t){var n=e.action,i=e.anchorEl,p=e.anchorOrigin,h=void 0===p?{vertical:"top",horizontal:"left"}:p,v=e.anchorPosition,y=e.anchorReference,m=void 0===y?"anchorEl":y,g=e.children,b=e.classes,x=e.className,Z=e.container,w=e.elevation,S=void 0===w?8:w,E=e.getContentAnchorEl,k=e.marginThreshold,O=void 0===k?16:k,R=e.onEnter,P=e.onEntered,C=e.onEntering,j=e.onExit,A=e.onExited,T=e.onExiting,I=e.open,F=e.PaperProps,W=void 0===F?{}:F,B=e.transformOrigin,H=void 0===B?{vertical:"top",horizontal:"left"}:B,U=e.TransitionComponent,q=void 0===U?N.Z:U,V=e.transitionDuration,G=void 0===V?"auto":V,J=e.TransitionProps,K=void 0===J?{}:J,X=(0,a.Z)(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),Y=r.useRef(),Q=r.useCallback((function(e){if("anchorPosition"===m)return v;var t=$(i),n=(t&&1===t.nodeType?t:(0,l.Z)(Y.current).body).getBoundingClientRect(),r=0===e?h.vertical:"center";return{top:n.top+_(n,r),left:n.left+L(n,h.horizontal)}}),[i,h.horizontal,h.vertical,v,m]),ee=r.useCallback((function(e){var t=0;if(E&&"anchorEl"===m){var n=E(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[h.vertical,m,E]),te=r.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:_(e,H.vertical)+t,horizontal:L(e,H.horizontal)}}),[H.horizontal,H.vertical]),ne=r.useCallback((function(e){var t=ee(e),n={width:e.offsetWidth,height:e.offsetHeight},r=te(n,t);if("none"===m)return{top:null,left:null,transformOrigin:D(r)};var o=Q(t),a=o.top-r.vertical,s=o.left-r.horizontal,u=a+n.height,c=s+n.width,l=(0,f.Z)($(i)),d=l.innerHeight-O,p=l.innerWidth-O;if(a<O){var h=a-O;a-=h,r.vertical+=h}else if(u>d){var v=u-d;a-=v,r.vertical+=v}if(s<O){var y=s-O;s-=y,r.horizontal+=y}else if(c>p){var g=c-p;s-=g,r.horizontal+=g}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(s),"px"),transformOrigin:D(r)}}),[i,m,Q,ee,te,O]),re=r.useCallback((function(){var e=Y.current;if(e){var t=ne(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[ne]),ie=r.useCallback((function(e){Y.current=s.findDOMNode(e)}),[]);r.useEffect((function(){I&&re()})),r.useImperativeHandle(n,(function(){return I?{updatePosition:function(){re()}}:null}),[I,re]),r.useEffect((function(){if(I){var e=(0,u.Z)((function(){re()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[I,re]);var oe=G;"auto"!==G||q.muiSupportAuto||(oe=void 0);var ae=Z||(i?(0,l.Z)($(i)).body:void 0);return r.createElement(M,(0,o.Z)({container:ae,open:I,ref:t,BackdropProps:{invisible:!0},className:(0,c.Z)(b.root,x)},X),r.createElement(q,(0,o.Z)({appear:!0,in:I,onEnter:R,onEntered:P,onExit:j,onExited:A,onExiting:T,timeout:oe},K,{onEntering:(0,d.Z)((function(e,t){C&&C(e,t),re()}),K.onEntering)}),r.createElement(z,(0,o.Z)({elevation:S,ref:ie},W,{className:(0,c.Z)(b.paper,W.className)}),g)))})),W=(0,p.Z)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(F);n(24895);function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(){return H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H.apply(this,arguments)}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){B(e,t,n[t])}))}return e}function q(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var V=function(e){var t,n=e.className,r=e.children,o=e.classes,a=e.style,s=q(e,["className","children","classes","style"]);return i().createElement(W,H({style:U({zIndex:1300},a),className:(t="paraui-popover",n&&(t+=" "+n),t),classes:{paper:o?"paraui-popover-paper ".concat(o):"paraui-popover-paper"}},s),r)}},58543:function(e){"use strict";e.exports=n},8156:function(t){"use strict";t.exports=e},47111:function(e){"use strict";e.exports=t},30907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},83878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},45057:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e){if(Array.isArray(e))return(0,r.Z)(e)}},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},15671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},43144:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67343);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67343);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},87462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},94578:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89611);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},59199:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},31902:function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}n.d(t,{Z:function(){return r}})},25267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},42786:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},45987:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(63366);function i(e,t){if(null==e)return{};var n,i,o=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},63366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},93324:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(83878),i=n(31902),o=n(40181),a=n(25267);function s(e,t){return(0,r.Z)(e)||(0,i.Z)(e,t)||(0,o.Z)(e,t)||(0,a.Z)()}},89062:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(45057),i=n(59199),o=n(40181),a=n(42786);function s(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},35512:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(71002);function i(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},67343:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(71002),i=n(35512);function o(e){var t=(0,i.Z)(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},71002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,exports:{}};return r[e](n,n.exports,o),n.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return function(){"use strict";o.r(a),o.d(a,{AutoBox:function(){return f},default:function(){return d}});var e=o(8156),t=o.n(e),n=o(36413),r=o(85893);!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}('@charset "UTF-8";\n/**\n* @author Hanz\n* @date 2021/8/25 下午3:16\n* @description icons scss\n*/\n.paraui-icon {\n width: 1em;\n height: 1em;\n fill: currentColor;\n display: inline-block;\n user-select: none;\n flex-shrink: 0;\n}\n.paraui-icon-primary {\n color: #3666d6;\n}\n.paraui-icon-secondary {\n color: #3666d6;\n}\n.paraui-icon-thirdary {\n color: #3666d6;\n}\n.paraui-icon-small {\n font-size: 16px;\n}\n.paraui-icon-medium {\n font-size: 18px;\n}\n.paraui-icon-large {\n font-size: 20px;\n}');var i=function(e){var t,n,i=e.path,o=e.className,a=e.color,s=void 0===a?"primary":a,u=e.size,c=void 0===u?"small":u,l=e.dataName,f=void 0===l?"":l,d=e.style,p=
|
|
30
30
|
/*! *****************************************************************************
|
|
31
31
|
Copyright (c) Microsoft Corporation.
|
|
32
32
|
|