@para-ui/core 2.2.40 → 2.2.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/AutoBox/index.d.ts +34 -34
  2. package/AutoTips/index.d.ts +27 -27
  3. package/AutoTips/index.js +1 -1
  4. package/Breadcrumbs/index.d.ts +39 -39
  5. package/Breadcrumbs/index.js +1 -1
  6. package/Button/SplitButton.d.ts +61 -61
  7. package/Button/index.d.ts +56 -56
  8. package/Button/lang/en_US.d.ts +4 -4
  9. package/Button/lang/index.d.ts +9 -9
  10. package/Button/lang/zh_CN.d.ts +4 -4
  11. package/ButtonGroup/index.d.ts +33 -33
  12. package/ButtonGroup/index.js +2 -2
  13. package/Carousel/index.d.ts +30 -30
  14. package/Cascader/index.d.ts +54 -54
  15. package/Cascader/lang/en_US.d.ts +4 -4
  16. package/Cascader/lang/index.d.ts +9 -9
  17. package/Cascader/lang/zh_CN.d.ts +4 -4
  18. package/Checkbox/index.d.ts +40 -40
  19. package/CheckboxGroup/index.d.ts +46 -46
  20. package/CheckboxGroup/index.js +2 -2
  21. package/Collapse/collapsePanel.d.ts +30 -30
  22. package/Collapse/index.d.ts +57 -57
  23. package/Collapse/motion.d.ts +5 -5
  24. package/Collapse/util.d.ts +11 -11
  25. package/CollapseBox/index.d.ts +27 -27
  26. package/CollapseBox/util.d.ts +5 -5
  27. package/CollapseLayout/index.d.ts +51 -51
  28. package/ColorPicker/index.d.ts +4 -4
  29. package/ComboSelect/WithTabsCombo/index.d.ts +11 -11
  30. package/ComboSelect/WithTabsCombo/interface.d.ts +141 -141
  31. package/ComboSelect/index.d.ts +11 -11
  32. package/ComboSelect/index.js +1 -1
  33. package/ComboSelect/interface.d.ts +149 -149
  34. package/ComboSelect/lang/en_US.d.ts +9 -9
  35. package/ComboSelect/lang/index.d.ts +19 -19
  36. package/ComboSelect/lang/zh_CN.d.ts +9 -9
  37. package/ComboSelect/utils.d.ts +12 -12
  38. package/Container/index.d.ts +77 -77
  39. package/DatePicker/PickerButton.d.ts +3 -3
  40. package/DatePicker/PickerTag.d.ts +3 -3
  41. package/DatePicker/generatePicker/generateRangePicker.d.ts +4 -4
  42. package/DatePicker/generatePicker/generateSinglePicker.d.ts +11 -11
  43. package/DatePicker/generatePicker/index.d.ts +77 -77
  44. package/DatePicker/index.d.ts +18 -18
  45. package/DatePicker/lang/en_US.d.ts +3 -3
  46. package/DatePicker/lang/index.d.ts +7 -7
  47. package/DatePicker/lang/zh_CN.d.ts +3 -3
  48. package/DatePicker/util.d.ts +20 -20
  49. package/Desktop/index.d.ts +55 -55
  50. package/Drawer/index.d.ts +11 -11
  51. package/Drawer/interface.d.ts +83 -83
  52. package/Drawer/lang/en_US.d.ts +5 -5
  53. package/Drawer/lang/index.d.ts +11 -11
  54. package/Drawer/lang/zh_CN.d.ts +5 -5
  55. package/Dropdown/index.d.ts +39 -39
  56. package/DynamicMultiBox/formItem.d.ts +13 -13
  57. package/DynamicMultiBox/index.d.ts +4 -4
  58. package/DynamicMultiBox/index.js +2 -2
  59. package/DynamicMultiBox/interface.d.ts +161 -161
  60. package/DynamicMultiBox/rowForm.d.ts +24 -24
  61. package/Empty/images/index.d.ts +2 -2
  62. package/Empty/index.d.ts +30 -30
  63. package/Empty/lang/en_US.d.ts +6 -6
  64. package/Empty/lang/index.d.ts +13 -13
  65. package/Empty/lang/zh_CN.d.ts +6 -6
  66. package/Form/index.d.ts +181 -181
  67. package/Form/index.js +2 -2
  68. package/FormItem/compoments/defaultCompoments/index.d.ts +19 -19
  69. package/FormItem/compoments/formCheckboxGroup/index.d.ts +8 -8
  70. package/FormItem/compoments/formFile/index.d.ts +38 -38
  71. package/FormItem/compoments/formRadioGroup/index.d.ts +8 -8
  72. package/FormItem/compoments/formSelect/index.d.ts +18 -18
  73. package/FormItem/errorTips.d.ts +12 -12
  74. package/FormItem/index.d.ts +152 -152
  75. package/FormItem/index.js +2 -2
  76. package/FormItem/itemType.d.ts +42 -42
  77. package/FormItem/validateFunction.d.ts +15 -15
  78. package/FunctionModal/dialog.d.ts +58 -58
  79. package/FunctionModal/index.d.ts +8 -8
  80. package/FunctionModal/modalContext.d.ts +14 -14
  81. package/GlobalContext/componentsProps.d.ts +21 -21
  82. package/GlobalContext/confirmLocale.d.ts +7 -7
  83. package/GlobalContext/constant.d.ts +7 -7
  84. package/GlobalContext/index.d.ts +28 -28
  85. package/GlobalContext/intl.d.ts +34 -34
  86. package/GlobalContext/useFormatMessage.d.ts +3 -3
  87. package/Help/index.d.ts +20 -20
  88. package/HelperText/index.d.ts +19 -19
  89. package/Hooks/useGlobalProps.d.ts +1 -1
  90. package/InputLang/index.d.ts +49 -49
  91. package/InputLang/index.js +1 -1
  92. package/InputNumber/index.d.ts +74 -74
  93. package/Label/index.d.ts +35 -35
  94. package/Loading/index.d.ts +17 -17
  95. package/Menu/footerExpansion.d.ts +9 -9
  96. package/Menu/index.d.ts +10 -10
  97. package/Menu/interface.d.ts +139 -139
  98. package/Menu/logo.d.ts +9 -9
  99. package/Menu/verticalMenuList.d.ts +14 -14
  100. package/Message/index.d.ts +73 -73
  101. package/Modal/Confirm/index.d.ts +66 -66
  102. package/Modal/index.d.ts +61 -61
  103. package/Modal/lang/en_US.d.ts +5 -5
  104. package/Modal/lang/index.d.ts +11 -11
  105. package/Modal/lang/zh_CN.d.ts +5 -5
  106. package/MultiBox/index.d.ts +54 -54
  107. package/MultiBox/index.js +3 -3
  108. package/Notification/index.d.ts +52 -52
  109. package/OperateBtn/index.d.ts +59 -59
  110. package/OperateBtn/index.js +1 -1
  111. package/OperateBtn/lang/en_US.d.ts +4 -4
  112. package/OperateBtn/lang/index.d.ts +9 -9
  113. package/OperateBtn/lang/zh_CN.d.ts +4 -4
  114. package/PageHeader/horizontalMeun.d.ts +9 -9
  115. package/PageHeader/horizontalMeunRight.d.ts +9 -9
  116. package/PageHeader/index.d.ts +10 -10
  117. package/PageHeader/interface.d.ts +167 -167
  118. package/Pagination/index.d.ts +33 -33
  119. package/Pagination/index.js +1 -1
  120. package/Pagination/lang/en_US.d.ts +8 -8
  121. package/Pagination/lang/index.d.ts +17 -17
  122. package/Pagination/lang/zh_CN.d.ts +8 -8
  123. package/ParauiProvider/index.d.ts +12 -12
  124. package/PasswordRules/index.d.ts +46 -46
  125. package/PopConfirm/index.d.ts +56 -56
  126. package/PopConfirm/lang/en_US.d.ts +5 -5
  127. package/PopConfirm/lang/index.d.ts +11 -11
  128. package/PopConfirm/lang/zh_CN.d.ts +5 -5
  129. package/Popover/index.d.ts +14 -14
  130. package/PopoverNew/TooltipNew/index.d.ts +11 -11
  131. package/PopoverNew/TooltipNew/interface.d.ts +31 -31
  132. package/PopoverNew/TooltipNew/utils.d.ts +18 -18
  133. package/PopoverNew/index.d.ts +16 -16
  134. package/Popper/index.d.ts +13 -13
  135. package/Progress/Line.d.ts +47 -47
  136. package/Progress/Steps.d.ts +17 -17
  137. package/Progress/index.d.ts +81 -81
  138. package/Progress/utils.d.ts +6 -6
  139. package/Querying/images/index.d.ts +2 -2
  140. package/Querying/index.d.ts +26 -26
  141. package/Querying/lang/en_US.d.ts +4 -4
  142. package/Querying/lang/index.d.ts +9 -9
  143. package/Querying/lang/zh_CN.d.ts +4 -4
  144. package/README.md +750 -739
  145. package/Radio/index.d.ts +38 -38
  146. package/RadioGroup/index.d.ts +47 -47
  147. package/RadioGroup/index.js +2 -2
  148. package/Search/index.d.ts +56 -56
  149. package/Search/index.js +1 -1
  150. package/Select/index.d.ts +96 -96
  151. package/Select/index.js +1 -1
  152. package/Select/lang/en_US.d.ts +5 -5
  153. package/Select/lang/index.d.ts +11 -11
  154. package/Select/lang/zh_CN.d.ts +5 -5
  155. package/SelectInput/index.d.ts +11 -11
  156. package/SelectInput/index.js +1 -1
  157. package/Selector/index.d.ts +11 -11
  158. package/Selector/index.js +2 -2
  159. package/Selector/interface.d.ts +428 -428
  160. package/Selector/lang/en_US.d.ts +11 -11
  161. package/Selector/lang/index.d.ts +23 -23
  162. package/Selector/lang/zh_CN.d.ts +11 -11
  163. package/Selector/selectorData/index.d.ts +10 -10
  164. package/Selector/selectorMain/index.d.ts +10 -10
  165. package/Selector/selectorNode/index.d.ts +10 -10
  166. package/Selector/util.d.ts +15 -15
  167. package/SelectorPicker/index.d.ts +53 -53
  168. package/SelectorPicker/index.js +2 -2
  169. package/SingleBox/index.d.ts +42 -42
  170. package/SingleBox/index.js +1 -1
  171. package/Slider/index.d.ts +14 -14
  172. package/Slider/interface.d.ts +102 -102
  173. package/Split/index.d.ts +7 -7
  174. package/Stepper/icons.d.ts +5 -5
  175. package/Stepper/index.d.ts +39 -39
  176. package/Switch/index.d.ts +78 -78
  177. package/Table/index.d.ts +10 -10
  178. package/Table/index.js +1 -1
  179. package/Table/interface.d.ts +271 -271
  180. package/Table/lang/en_US.d.ts +8 -8
  181. package/Table/lang/index.d.ts +17 -17
  182. package/Table/lang/zh_CN.d.ts +8 -8
  183. package/Table/tableBody.d.ts +9 -9
  184. package/Table/tableBodyElement/index.d.ts +15 -15
  185. package/Table/tableBodyInterface.d.ts +67 -67
  186. package/Table/tableContainer/index.d.ts +16 -16
  187. package/Table/tableElement/index.d.ts +15 -15
  188. package/Table/tableHead.d.ts +9 -9
  189. package/Table/tableHeadElement/index.d.ts +15 -15
  190. package/Table/tableHeadInterface.d.ts +30 -30
  191. package/Table/tablePagination.d.ts +9 -9
  192. package/Table/tablePaginationInterFace.d.ts +24 -24
  193. package/Table/tdElement/index.d.ts +15 -15
  194. package/Table/thElement/index.d.ts +15 -15
  195. package/Table/trElement/index.d.ts +15 -15
  196. package/Table/util.d.ts +28 -28
  197. package/Tabs/index.d.ts +48 -48
  198. package/Tag/TagGroup.d.ts +66 -66
  199. package/Tag/index.d.ts +34 -34
  200. package/TextField/index.d.ts +95 -95
  201. package/TextField/index.js +1 -1
  202. package/TimePicker/index.d.ts +22 -22
  203. package/TimePicker/locale/en_US.d.ts +3 -3
  204. package/TimePicker/locale/zh_CN.d.ts +3 -3
  205. package/TimePicker/style/index.d.ts +1 -1
  206. package/Timeline/index.d.ts +22 -22
  207. package/Title/index.d.ts +30 -30
  208. package/ToggleButton/ToggleButtonGroup.d.ts +49 -49
  209. package/ToggleButton/index.d.ts +49 -49
  210. package/Tooltip/index.d.ts +14 -14
  211. package/Transfer/index.d.ts +37 -37
  212. package/Transfer/index.js +1 -1
  213. package/Transfer/lang/en_US.d.ts +8 -8
  214. package/Transfer/lang/index.d.ts +17 -17
  215. package/Transfer/lang/zh_CN.d.ts +8 -8
  216. package/Tree/OperateBar/index.d.ts +13 -13
  217. package/Tree/Tree.d.ts +4 -4
  218. package/Tree/index.d.ts +5 -5
  219. package/Tree/index.js +1 -1
  220. package/Tree/interface.d.ts +207 -207
  221. package/Tree/lang/en_US.d.ts +8 -8
  222. package/Tree/lang/index.d.ts +17 -17
  223. package/Tree/lang/zh_CN.d.ts +8 -8
  224. package/Tree/utils/tools.d.ts +26 -26
  225. package/Tree/utils/treeUtil.d.ts +15 -15
  226. package/Upload/Dragger/index.d.ts +10 -10
  227. package/Upload/ErroTip/index.d.ts +13 -13
  228. package/Upload/ImageUpload/index.d.ts +14 -14
  229. package/Upload/ImgCrop/EasyCrop.d.ts +17 -17
  230. package/Upload/ImgCrop/constants.d.ts +7 -7
  231. package/Upload/ImgCrop/index.d.ts +6 -6
  232. package/Upload/ImgCrop/interface.d.ts +48 -48
  233. package/Upload/UploadList/index.d.ts +5 -5
  234. package/Upload/index.d.ts +15 -15
  235. package/Upload/interface.d.ts +134 -134
  236. package/Upload/lang/en_US.d.ts +12 -12
  237. package/Upload/lang/index.d.ts +25 -25
  238. package/Upload/lang/zh_CN.d.ts +12 -12
  239. package/cdn/AutoTips/index.js +1 -1
  240. package/cdn/Breadcrumbs/index.js +1 -1
  241. package/cdn/ButtonGroup/index.js +2 -2
  242. package/cdn/Cascader/index.js +6 -6
  243. package/cdn/CheckboxGroup/index.js +2 -2
  244. package/cdn/ColorPicker/index.js +1 -1
  245. package/cdn/ComboSelect/index.js +2 -2
  246. package/cdn/DatePicker/index.js +8 -8
  247. package/cdn/Dropdown/index.js +3 -3
  248. package/cdn/DynamicMultiBox/index.js +7 -7
  249. package/cdn/Form/index.js +3 -3
  250. package/cdn/FormItem/index.js +3 -3
  251. package/cdn/InputLang/index.js +1 -1
  252. package/cdn/MultiBox/index.js +1 -1
  253. package/cdn/OperateBtn/index.js +1 -1
  254. package/cdn/Pagination/index.js +2 -2
  255. package/cdn/PopoverNew/index.js +3 -3
  256. package/cdn/RadioGroup/index.js +2 -2
  257. package/cdn/Search/index.js +5 -5
  258. package/cdn/Select/index.js +2 -2
  259. package/cdn/SelectInput/index.js +2 -2
  260. package/cdn/Selector/index.js +10 -10
  261. package/cdn/SelectorPicker/index.js +10 -10
  262. package/cdn/SingleBox/index.js +1 -1
  263. package/cdn/Slider/index.js +3 -3
  264. package/cdn/Table/index.js +2 -2
  265. package/cdn/Tabs/index.js +1 -1
  266. package/cdn/TextField/index.js +1 -1
  267. package/cdn/TimePicker/index.js +10 -10
  268. package/cdn/Transfer/index.js +1 -1
  269. package/cdn/Tree/index.js +1 -1
  270. package/cdn/Upload/index.js +10 -10
  271. package/index.d.ts +142 -142
  272. package/index.js +2 -2
  273. package/package.json +131 -131
  274. package/style.css +1 -1
package/Modal/index.d.ts CHANGED
@@ -1,61 +1,61 @@
1
- import React, { FunctionComponent, ReactNode } from "react";
2
- import { ButtonProps } from "../Button";
3
- import { Confirm, ConfirmObject } from "./Confirm";
4
- import './index.scss';
5
- type ModalSize = 'sm' | 'md' | 'lg' | 'auto' | 'fullScreen';
6
- export interface ModalProps {
7
- /**打开*/
8
- open?: boolean;
9
- /**标题*/
10
- title?: ReactNode;
11
- /**子节点*/
12
- children?: ReactNode;
13
- /**对话框头部*/
14
- header?: ReactNode;
15
- /**隐藏对话框头部*/
16
- hideHeader?: boolean;
17
- /**底部操作栏*/
18
- actions?: ((buttons: ReactNode[]) => ReactNode[]) | ReactNode;
19
- /**是否显示actions*/
20
- showActions?: boolean;
21
- /**确定回调*/
22
- onOk?: Function;
23
- /**取消回调 return false 不关闭*/
24
- onCancel?: () => boolean | void;
25
- /**OK文本*/
26
- okText?: string;
27
- /**取消文本*/
28
- cancelText?: string;
29
- /**确定按钮属性*/
30
- okButtonProps?: ButtonProps;
31
- /**取消按钮属性*/
32
- cancelButtonProps?: ButtonProps;
33
- /**显示取消按钮*/
34
- showCancel?: boolean;
35
- /**cls*/
36
- className?: string;
37
- /**大小*/
38
- size?: ModalSize;
39
- /**禁用backdrop点击*/
40
- disableBackdropClick?: boolean;
41
- /**禁用esc键*/
42
- disableEscapeKeyDown?: boolean;
43
- /**禁用强制焦点*/
44
- disableEnforceFocus?: boolean;
45
- /**是否全屏*/
46
- fullScreen?: boolean;
47
- /**自定义大小*/
48
- customizeSize?: React.CSSProperties;
49
- /**自定义大小 兼容customizeSize*/
50
- style?: React.CSSProperties;
51
- /**内容宽度*/
52
- contentWidth?: number | string;
53
- /**内容高度*/
54
- contentHeight?: number | string;
55
- /**内容样式*/
56
- contentStyle?: React.CSSProperties;
57
- }
58
- export declare const Modal: FunctionComponent<ModalProps>;
59
- export { Confirm };
60
- export type { ConfirmObject };
61
- export default Modal;
1
+ import React, { FunctionComponent, ReactNode } from "react";
2
+ import { ButtonProps } from "../Button";
3
+ import { Confirm, ConfirmObject } from "./Confirm";
4
+ import './index.scss';
5
+ type ModalSize = 'sm' | 'md' | 'lg' | 'auto' | 'fullScreen';
6
+ export interface ModalProps {
7
+ /**打开*/
8
+ open?: boolean;
9
+ /**标题*/
10
+ title?: ReactNode;
11
+ /**子节点*/
12
+ children?: ReactNode;
13
+ /**对话框头部*/
14
+ header?: ReactNode;
15
+ /**隐藏对话框头部*/
16
+ hideHeader?: boolean;
17
+ /**底部操作栏*/
18
+ actions?: ((buttons: ReactNode[]) => ReactNode[]) | ReactNode;
19
+ /**是否显示actions*/
20
+ showActions?: boolean;
21
+ /**确定回调*/
22
+ onOk?: Function;
23
+ /**取消回调 return false 不关闭*/
24
+ onCancel?: () => boolean | void;
25
+ /**OK文本*/
26
+ okText?: string;
27
+ /**取消文本*/
28
+ cancelText?: string;
29
+ /**确定按钮属性*/
30
+ okButtonProps?: ButtonProps;
31
+ /**取消按钮属性*/
32
+ cancelButtonProps?: ButtonProps;
33
+ /**显示取消按钮*/
34
+ showCancel?: boolean;
35
+ /**cls*/
36
+ className?: string;
37
+ /**大小*/
38
+ size?: ModalSize;
39
+ /**禁用backdrop点击*/
40
+ disableBackdropClick?: boolean;
41
+ /**禁用esc键*/
42
+ disableEscapeKeyDown?: boolean;
43
+ /**禁用强制焦点*/
44
+ disableEnforceFocus?: boolean;
45
+ /**是否全屏*/
46
+ fullScreen?: boolean;
47
+ /**自定义大小*/
48
+ customizeSize?: React.CSSProperties;
49
+ /**自定义大小 兼容customizeSize*/
50
+ style?: React.CSSProperties;
51
+ /**内容宽度*/
52
+ contentWidth?: number | string;
53
+ /**内容高度*/
54
+ contentHeight?: number | string;
55
+ /**内容样式*/
56
+ contentStyle?: React.CSSProperties;
57
+ }
58
+ export declare const Modal: FunctionComponent<ModalProps>;
59
+ export { Confirm };
60
+ export type { ConfirmObject };
61
+ export default Modal;
@@ -1,5 +1,5 @@
1
- declare const _default: {
2
- cancel: string;
3
- ok: string;
4
- };
5
- export default _default;
1
+ declare const _default: {
2
+ cancel: string;
3
+ ok: string;
4
+ };
5
+ export default _default;
@@ -1,11 +1,11 @@
1
- declare const _default: {
2
- zh: {
3
- cancel: string;
4
- ok: string;
5
- };
6
- en: {
7
- cancel: string;
8
- ok: string;
9
- };
10
- };
11
- export default _default;
1
+ declare const _default: {
2
+ zh: {
3
+ cancel: string;
4
+ ok: string;
5
+ };
6
+ en: {
7
+ cancel: string;
8
+ ok: string;
9
+ };
10
+ };
11
+ export default _default;
@@ -1,5 +1,5 @@
1
- declare const _default: {
2
- cancel: string;
3
- ok: string;
4
- };
5
- export default _default;
1
+ declare const _default: {
2
+ cancel: string;
3
+ ok: string;
4
+ };
5
+ export default _default;
@@ -1,54 +1,54 @@
1
- /**
2
- * @author linhd
3
- * @date 2021/8/23 14:20
4
- * @description 多值框
5
- */
6
- import React, { FunctionComponent, ReactNode } from 'react';
7
- import { LabelTooltipProps } from "../Label";
8
- import './index.scss';
9
- interface ReplaceFieldsProps {
10
- /** key索引 */
11
- key?: string;
12
- /** value索引 */
13
- value?: string;
14
- }
15
- export interface MultiBoxProps {
16
- /** 样式class */
17
- className?: string;
18
- /** style */
19
- style?: React.CSSProperties;
20
- /** 大小 */
21
- size?: 'small' | 'medium' | 'large';
22
- /** 标题 */
23
- label?: ReactNode;
24
- /** 帮组提示信息 */
25
- labelTooltip?: LabelTooltipProps;
26
- /** 标题提示 */
27
- labelSign?: ReactNode;
28
- /** 提示语key */
29
- placeholderKey?: ReactNode;
30
- /** 提示语value */
31
- placeholderValue?: ReactNode;
32
- /** 是否禁用 */
33
- disabled?: boolean;
34
- /** 是否必填 */
35
- required?: boolean;
36
- /** 是否错误模式 */
37
- error?: boolean;
38
- /** 错误文本 */
39
- helperText?: ReactNode;
40
- /** 默认值 不受控 */
41
- defaultValue?: any[];
42
- /** 选中值 多选时为数组 单选单值 */
43
- value?: any[];
44
- /** 替换字段 */
45
- replaceFields?: ReplaceFieldsProps;
46
- /** 改变值 */
47
- onChange?: (val: any[]) => void;
48
- /** 键值索引匹配 */
49
- fetchSuggestionsKey?: (val: string, cb: (data: any[]) => void) => void;
50
- /** 值索引匹配 */
51
- fetchSuggestionsValue?: (val: string, cb: (data: any[]) => void) => void;
52
- }
53
- export declare const MultiBox: FunctionComponent<MultiBoxProps>;
54
- export default MultiBox;
1
+ /**
2
+ * @author linhd
3
+ * @date 2021/8/23 14:20
4
+ * @description 多值框
5
+ */
6
+ import React, { FunctionComponent, ReactNode } from 'react';
7
+ import { LabelTooltipProps } from "../Label";
8
+ import './index.scss';
9
+ interface ReplaceFieldsProps {
10
+ /** key索引 */
11
+ key?: string;
12
+ /** value索引 */
13
+ value?: string;
14
+ }
15
+ export interface MultiBoxProps {
16
+ /** 样式class */
17
+ className?: string;
18
+ /** style */
19
+ style?: React.CSSProperties;
20
+ /** 大小 */
21
+ size?: 'small' | 'medium' | 'large';
22
+ /** 标题 */
23
+ label?: ReactNode;
24
+ /** 帮组提示信息 */
25
+ labelTooltip?: LabelTooltipProps;
26
+ /** 标题提示 */
27
+ labelSign?: ReactNode;
28
+ /** 提示语key */
29
+ placeholderKey?: ReactNode;
30
+ /** 提示语value */
31
+ placeholderValue?: ReactNode;
32
+ /** 是否禁用 */
33
+ disabled?: boolean;
34
+ /** 是否必填 */
35
+ required?: boolean;
36
+ /** 是否错误模式 */
37
+ error?: boolean;
38
+ /** 错误文本 */
39
+ helperText?: ReactNode;
40
+ /** 默认值 不受控 */
41
+ defaultValue?: any[];
42
+ /** 选中值 多选时为数组 单选单值 */
43
+ value?: any[];
44
+ /** 替换字段 */
45
+ replaceFields?: ReplaceFieldsProps;
46
+ /** 改变值 */
47
+ onChange?: (val: any[]) => void;
48
+ /** 键值索引匹配 */
49
+ fetchSuggestionsKey?: (val: string, cb: (data: any[]) => void) => void;
50
+ /** 值索引匹配 */
51
+ fetchSuggestionsValue?: (val: string, cb: (data: any[]) => void) => void;
52
+ }
53
+ export declare const MultiBox: FunctionComponent<MultiBoxProps>;
54
+ export default MultiBox;
package/MultiBox/index.js CHANGED
@@ -1,9 +1,9 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("@material-ui/core"),require("clsx"),require("@para-ui/icons/Help"),require("@paraview/lib"),require("@para-ui/icons/PreviewClose"),require("@para-ui/icons/PreviewOpen"),require("@para-ui/icons/CloseCircle"),require("@para-ui/icons/LoadingF"),require("@para-ui/core/GlobalContext"),require("@para-ui/icons/Plus"),require("@para-ui/icons/Delete")):"function"==typeof define&&define.amd?define(["react","@material-ui/core","clsx","@para-ui/icons/Help","@paraview/lib","@para-ui/icons/PreviewClose","@para-ui/icons/PreviewOpen","@para-ui/icons/CloseCircle","@para-ui/icons/LoadingF","@para-ui/core/GlobalContext","@para-ui/icons/Plus","@para-ui/icons/Delete"],t):"object"==typeof exports?exports.ParaUI=t(require("react"),require("@material-ui/core"),require("clsx"),require("@para-ui/icons/Help"),require("@paraview/lib"),require("@para-ui/icons/PreviewClose"),require("@para-ui/icons/PreviewOpen"),require("@para-ui/icons/CloseCircle"),require("@para-ui/icons/LoadingF"),require("@para-ui/core/GlobalContext"),require("@para-ui/icons/Plus"),require("@para-ui/icons/Delete")):e.ParaUI=t(e.react,e["@material-ui/core"],e.clsx,e["@para-ui/icons/Help"],e["@paraview/lib"],e["@para-ui/icons/PreviewClose"],e["@para-ui/icons/PreviewOpen"],e["@para-ui/icons/CloseCircle"],e["@para-ui/icons/LoadingF"],e["@para-ui/core/GlobalContext"],e["@para-ui/icons/Plus"],e["@para-ui/icons/Delete"])}(self,(function(e,t,i,n,o,r,l,a,c,u,d,s){return function(){var f={2565:function(e,t,i){(t=i(3645)(!1)).push([e.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}",""]),e.exports=t},7381:function(e,t,i){(t=i(3645)(!1)).push([e.id,".paraui-help{display:inline-block;font-size:16px;color:rgba(46,55,67,.7)}.paraui-help:hover{color:#3666d6}.paraui-help .paraui-icon{font-size:inherit;color:inherit}",""]),e.exports=t},9916:function(e,t,i){(t=i(3645)(!1)).push([e.id,".paraui-helper-text{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:12px;font-weight:400;padding-left:12px;line-height:20px;color:rgba(46,55,67,.7)}.paraui-helper-text.paraui-helper-text-error{color:#eb6054}",""]),e.exports=t},4928:function(e,t,i){(t=i(3645)(!1)).push([e.id,".paraui-label{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;color:rgba(46,55,67,.7);margin-bottom:8px;display:inline-block;line-height:1.43;word-break:break-all}.paraui-label>.paraui-label-required{margin-left:2px;color:#eb6054}.paraui-label>.paraui-help{vertical-align:top;margin-left:4px}.paraui-label>.paraui-help svg{color:rgba(46,55,67,.4);vertical-align:top;position:relative;top:2px}.paraui-label.paraui-label-line.paraui-label-tooltip{border-bottom:1px dashed rgba(46,55,67,.4);padding-bottom:2px}",""]),e.exports=t},5714:function(e,t,i){(t=i(3645)(!1)).push([e.id,"@keyframes rotateLoading{0%{transformOrigin:50% 50%}100%{transform:rotate(360deg)}}.paraui-loading{position:absolute;left:0;top:0;width:100%;height:100%}.paraui-loading .paraui-loading-mask{position:absolute;width:100%;height:100%;background-color:#fff;z-index:100}.paraui-loading .paraui-loading-box{position:absolute;width:100%;height:100%;display:flex;justify-content:center;align-items:center;z-index:101}.paraui-loading .paraui-loading-box>svg{transition:all .3s ease-in-out;animation:rotateLoading 1s infinite linear;font-size:20px}",""]),e.exports=t},7843:function(e,t,i){(t=i(3645)(!1)).push([e.id,".paraui-multi-box{display:inline-block;width:100%;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-multi-box>.multi-box-content{line-height:0}.paraui-multi-box>.multi-box-content>.multi-box-content-item{padding-bottom:15px;display:flex}.paraui-multi-box>.multi-box-content>.multi-box-content-item>.multi-box-content-item-input{width:calc(100% - 30px);display:flex}.paraui-multi-box>.multi-box-content>.multi-box-content-item>.multi-box-content-item-input>.text-field{width:calc(50% - 10px)}.paraui-multi-box>.multi-box-content>.multi-box-content-item>.multi-box-content-item-input>.text-field>.paraui-helper-text{display:none}.paraui-multi-box>.multi-box-content>.multi-box-content-item>.multi-box-content-item-input>span{display:flex;align-items:center;justify-content:center;width:20px}.paraui-multi-box>.multi-box-content>.multi-box-content-item>.single-box-content-item-svg{display:flex;align-items:center;justify-content:center;width:30px;cursor:pointer}.paraui-multi-box>.multi-box-add{text-align:center;border:1px dashed;border-color:rgba(171,176,185,.4);display:flex;align-items:center;justify-content:center;border-radius:4px;cursor:pointer;background-color:#fff}.paraui-multi-box>.multi-box-add>svg{font-size:24px}.paraui-multi-box>.multi-box-add:hover{border-color:#3666d6;color:#3666d6}.paraui-multi-box.multi-box-small>.multi-box-add{height:28px}.paraui-multi-box.multi-box-medium>.multi-box-add{height:32px}.paraui-multi-box.multi-box-large>.multi-box-add{height:36px}.paraui-multi-box.multi-box-disabled>.multi-box-content>.multi-box-content-item>.single-box-content-item-svg{cursor:not-allowed}.paraui-multi-box.multi-box-disabled>.multi-box-content>.multi-box-content-item>.single-box-content-item-svg>svg{color:rgba(46,55,67,.7)}.paraui-multi-box.multi-box-disabled>.multi-box-add{border-color:rgba(171,176,185,.4);cursor:not-allowed;background-color:rgba(171,176,185,.12);color:rgba(46,55,67,.7)}.paraui-multi-box.multi-box-disabled>.multi-box-add>svg{color:rgba(46,55,67,.7)}.paraui-multi-box.multi-box-disabled>.multi-box-add:hover{border-color:rgba(171,176,185,.4);color:rgba(46,55,67,.7)}",""]),e.exports=t},3637:function(e,t,i){(t=i(3645)(!1)).push([e.id,".paraui-text-field{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:inline-block;width:100%}.paraui-text-field>.text-field-content{border:1px solid;border-radius:4px;border-color:rgba(171,176,185,.4);display:flex;width:100%;position:relative;background-color:#fff}.paraui-text-field>.text-field-content:hover{border-color:#3666d6}.paraui-text-field>.text-field-content>.text-field-content-before{color:#2e3743;padding:0 12px;border-right:1px solid rgba(171,176,185,.4);background-color:rgba(171,176,185,.12);border-bottom-left-radius:4px;border-top-left-radius:4px;white-space:nowrap;display:flex;align-items:center}.paraui-text-field>.text-field-content>.text-field-content-before svg{font-size:20px}.paraui-text-field>.text-field-content>.text-field-content-within{position:relative;display:flex;flex-grow:1}.paraui-text-field>.text-field-content>.text-field-content-within>.clean-up-icon{display:flex;height:100%;align-items:center;margin-right:12px;cursor:pointer}.paraui-text-field>.text-field-content>.text-field-content-within>.clean-up-icon svg{color:rgba(46,55,67,.7);font-size:16px}.paraui-text-field>.text-field-content>.text-field-content-within>.clean-up-icon:hover svg{color:rgba(54,102,214,.8)}.paraui-text-field>.text-field-content>.text-field-content-within>.right-icon{display:flex;height:100%;align-items:center;margin-right:12px;cursor:pointer;color:rgba(46,55,67,.7);position:relative;z-index:1}.paraui-text-field>.text-field-content>.text-field-content-within>.right-icon.right-icon-password:hover svg{color:rgba(54,102,214,.8)}.paraui-text-field>.text-field-content>.text-field-content-within>.right-icon svg{color:rgba(46,55,67,.7);font-size:20px}.paraui-text-field>.text-field-content>.text-field-content-within>.length-limit{display:flex;height:100%;align-items:center;margin-right:12px;color:rgba(46,55,67,.7)}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input{width:100%;line-height:0;position:relative}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input input::-webkit-outer-spin-button,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input input::-webkit-inner-spin-button{-webkit-appearance:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input input[type=number]{-moz-appearance:textfield}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{width:100%;height:100%}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{width:100% !important;padding:12px;resize:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{font-size:14px;color:#2e3743;border:0;border-radius:4px;background:rgba(0,0,0,0)}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input::-ms-clear,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea::-ms-clear{display:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input::-ms-reveal,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea::-ms-reveal{display:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input:disabled,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea:disabled{background-color:rgba(0,0,0,0)}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{width:100%;position:absolute;left:0;top:0;height:100%;padding:0 12px;color:rgba(46,55,67,.4);cursor:text;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder>.text-field-required{margin-left:2px;color:#eb6054}.paraui-text-field>.text-field-content>.text-field-content-after{color:#2e3743;padding:0 12px;border-left:1px solid rgba(171,176,185,.4);background-color:rgba(171,176,185,.12);border-bottom-right-radius:4px;border-top-right-radius:4px;white-space:nowrap;display:flex;align-items:center}.paraui-text-field>.text-field-content>.text-field-content-after svg{font-size:20px}.paraui-text-field.text-field-multiline>.text-field-content .text-field-content-within>.clean-up-icon{display:none}.paraui-text-field.text-field-multiline>.text-field-content .text-field-content-within>.length-limit{position:absolute;height:22px;bottom:0;border-radius:4px;width:calc(100% - 12px);background:#fff;justify-content:flex-end;padding-bottom:8px;margin-right:0}.paraui-text-field.text-field-multiline>.text-field-content .text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{padding-top:12px;line-height:1;height:calc(100% - 24px)}.paraui-text-field.text-field-disabled>.text-field-content{background-color:rgba(171,176,185,.12)}.paraui-text-field.text-field-disabled>.text-field-content:hover{border-color:rgba(171,176,185,.4)}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-before{background-color:rgba(0,0,0,0)}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{cursor:not-allowed}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-within>.text-field-content-within-input>input,.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{cursor:not-allowed}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-after{background-color:rgba(0,0,0,0)}.paraui-text-field.text-field-disabled.text-field-multiline>.text-field-content .text-field-content-within>.length-limit{background-color:rgba(0,0,0,0)}.paraui-text-field.text-field-error>.text-field-content{border-color:#eb6054 !important}.paraui-text-field.text-field-error>.text-field-content:hover{border-color:#eb6054}.paraui-text-field.text-field-limit>.text-field-content{border-color:#eb6054 !important}.paraui-text-field.text-field-limit>.text-field-content:hover{border-color:#eb6054 !important}.paraui-text-field.text-field-limit-length>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{padding-bottom:25px}.paraui-text-field.text-field-focus>.text-field-content{border-color:#3666d6}.paraui-text-field.text-field-small>.text-field-content{height:28px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-before{line-height:26px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-within>.text-field-content-within-input{height:26px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{padding:6px 12px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{line-height:26px}.paraui-text-field.text-field-small>.text-field-content .text-field-content-after{line-height:26px}.paraui-text-field.text-field-medium>.text-field-content{height:32px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-before{line-height:30px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-within>.text-field-content-within-input{height:30px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{padding:8px 12px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{line-height:30px}.paraui-text-field.text-field-medium>.text-field-content .text-field-content-after{line-height:30px}.paraui-text-field.text-field-large>.text-field-content{height:36px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-before{line-height:34px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-within>.text-field-content-within-input{height:34px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{padding:10px 12px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{line-height:34px}.paraui-text-field.text-field-large>.text-field-content .text-field-content-after{line-height:34px}.paraui-text-field.text-field-resize>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{resize:both}.paraui-text-field-select.paraui-tooltip>div{max-width:none;padding:0;background-color:#fff;box-shadow:0px 2px 8px 0px rgba(171,176,185,.4);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}.paraui-text-field-select.paraui-tooltip>div>span{color:#fff}.paraui-text-field-select.paraui-tooltip>div .text-field-select-content{max-height:300px;overflow:auto}.paraui-text-field-select.paraui-tooltip>div .text-field-select-content>.text-field-select-content-item{display:flex;cursor:pointer;color:#2e3743;padding:0 12px}.paraui-text-field-select.paraui-tooltip>div .text-field-select-content>.text-field-select-content-item:hover{background-color:rgba(171,176,185,.12);color:#3666d6}.paraui-text-field-select.paraui-tooltip>div .text-field-select-content>.text-field-select-content-item.text-field-select-content-item-keydown{background-color:rgba(171,176,185,.12);color:#3666d6}.paraui-text-field-select.paraui-tooltip>div .text-field-select-content.text-field-select-content-loading{height:100px;position:relative;overflow:hidden}.paraui-text-field-select.paraui-tooltip.paraui-text-field-select-small>div .text-field-select-content>.text-field-select-content-item{line-height:28px}.paraui-text-field-select.paraui-tooltip.paraui-text-field-select-medium>div .text-field-select-content>.text-field-select-content-item{line-height:32px}.paraui-text-field-select.paraui-tooltip.paraui-text-field-select-large>div .text-field-select-content>.text-field-select-content-item{line-height:36px}.paraui-text-field-select.paraui-text-field-select-data.paraui-tooltip{padding:8px 0}",""]),e.exports=t},9929:function(e,t,i){(t=i(3645)(!1)).push([e.id,".paraui-tooltip>div{padding-left:12px;padding-right:12px;font-size:14px;font-weight:400;color:#fff;background-color:rgba(46,55,67,.7)}.paraui-tooltip-left-right>div{margin:0 8px}.paraui-tooltip-top-bottom>div{margin:8px 0}",""]),e.exports=t},3645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=function(e,t){var i=e[1]||"",n=e[3];if(!n)return i;if(t&&"function"==typeof btoa){var o=(l=n,a=btoa(unescape(encodeURIComponent(JSON.stringify(l)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),"/*# ".concat(c," */")),r=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[i].concat(r).concat([o]).join("\n")}var l,a,c;return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(o[l]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&o[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},7418:function(e){"use strict";
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("@material-ui/core"),require("clsx"),require("@para-ui/icons/Help"),require("@paraview/lib"),require("@para-ui/icons/PreviewClose"),require("@para-ui/icons/PreviewOpen"),require("@para-ui/icons/CloseCircle"),require("@para-ui/icons/LoadingF"),require("@para-ui/core/GlobalContext"),require("@para-ui/icons/Plus"),require("@para-ui/icons/Delete")):"function"==typeof define&&define.amd?define(["react","@material-ui/core","clsx","@para-ui/icons/Help","@paraview/lib","@para-ui/icons/PreviewClose","@para-ui/icons/PreviewOpen","@para-ui/icons/CloseCircle","@para-ui/icons/LoadingF","@para-ui/core/GlobalContext","@para-ui/icons/Plus","@para-ui/icons/Delete"],t):"object"==typeof exports?exports.ParaUI=t(require("react"),require("@material-ui/core"),require("clsx"),require("@para-ui/icons/Help"),require("@paraview/lib"),require("@para-ui/icons/PreviewClose"),require("@para-ui/icons/PreviewOpen"),require("@para-ui/icons/CloseCircle"),require("@para-ui/icons/LoadingF"),require("@para-ui/core/GlobalContext"),require("@para-ui/icons/Plus"),require("@para-ui/icons/Delete")):e.ParaUI=t(e.react,e["@material-ui/core"],e.clsx,e["@para-ui/icons/Help"],e["@paraview/lib"],e["@para-ui/icons/PreviewClose"],e["@para-ui/icons/PreviewOpen"],e["@para-ui/icons/CloseCircle"],e["@para-ui/icons/LoadingF"],e["@para-ui/core/GlobalContext"],e["@para-ui/icons/Plus"],e["@para-ui/icons/Delete"])}(self,(function(e,t,i,n,o,r,l,a,c,d,u,s){return function(){var f={2565:function(e,t,i){(t=i(3645)(!1)).push([e.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}",""]),e.exports=t},7381:function(e,t,i){(t=i(3645)(!1)).push([e.id,".paraui-help{display:inline-block;font-size:16px;color:rgba(46,55,67,.7)}.paraui-help:hover{color:#3666d6}.paraui-help .paraui-icon{font-size:inherit;color:inherit}",""]),e.exports=t},9916:function(e,t,i){(t=i(3645)(!1)).push([e.id,".paraui-helper-text{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:12px;font-weight:400;padding-left:12px;line-height:20px;color:rgba(46,55,67,.7)}.paraui-helper-text.paraui-helper-text-error{color:#eb6054}",""]),e.exports=t},4928:function(e,t,i){(t=i(3645)(!1)).push([e.id,".paraui-label{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;color:rgba(46,55,67,.7);margin-bottom:8px;display:inline-block;line-height:1.43;word-break:break-all}.paraui-label>.paraui-label-required{margin-left:2px;color:#eb6054}.paraui-label>.paraui-help{vertical-align:top;margin-left:4px}.paraui-label>.paraui-help svg{color:rgba(46,55,67,.4);vertical-align:top;position:relative;top:2px}.paraui-label.paraui-label-line.paraui-label-tooltip{border-bottom:1px dashed rgba(46,55,67,.4);padding-bottom:2px}",""]),e.exports=t},5714:function(e,t,i){(t=i(3645)(!1)).push([e.id,"@keyframes rotateLoading{0%{transformOrigin:50% 50%}100%{transform:rotate(360deg)}}.paraui-loading{position:absolute;left:0;top:0;width:100%;height:100%}.paraui-loading .paraui-loading-mask{position:absolute;width:100%;height:100%;background-color:#fff;z-index:100}.paraui-loading .paraui-loading-box{position:absolute;width:100%;height:100%;display:flex;justify-content:center;align-items:center;z-index:101}.paraui-loading .paraui-loading-box>svg{transition:all .3s ease-in-out;animation:rotateLoading 1s infinite linear;font-size:20px}",""]),e.exports=t},7843:function(e,t,i){(t=i(3645)(!1)).push([e.id,".paraui-multi-box{display:inline-block;width:100%;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-multi-box>.multi-box-content{line-height:0}.paraui-multi-box>.multi-box-content>.multi-box-content-item{padding-bottom:15px;display:flex}.paraui-multi-box>.multi-box-content>.multi-box-content-item>.multi-box-content-item-input{width:calc(100% - 30px);display:flex}.paraui-multi-box>.multi-box-content>.multi-box-content-item>.multi-box-content-item-input>.text-field{width:calc(50% - 10px)}.paraui-multi-box>.multi-box-content>.multi-box-content-item>.multi-box-content-item-input>.text-field>.paraui-helper-text{display:none}.paraui-multi-box>.multi-box-content>.multi-box-content-item>.multi-box-content-item-input>span{display:flex;align-items:center;justify-content:center;width:20px}.paraui-multi-box>.multi-box-content>.multi-box-content-item>.single-box-content-item-svg{display:flex;align-items:center;justify-content:center;width:30px;cursor:pointer}.paraui-multi-box>.multi-box-add{text-align:center;border:1px dashed;border-color:rgba(171,176,185,.4);display:flex;align-items:center;justify-content:center;border-radius:4px;cursor:pointer;background-color:#fff}.paraui-multi-box>.multi-box-add>svg{font-size:24px}.paraui-multi-box>.multi-box-add:hover{border-color:#3666d6;color:#3666d6}.paraui-multi-box.multi-box-small>.multi-box-add{height:28px}.paraui-multi-box.multi-box-medium>.multi-box-add{height:32px}.paraui-multi-box.multi-box-large>.multi-box-add{height:36px}.paraui-multi-box.multi-box-disabled>.multi-box-content>.multi-box-content-item>.single-box-content-item-svg{cursor:not-allowed}.paraui-multi-box.multi-box-disabled>.multi-box-content>.multi-box-content-item>.single-box-content-item-svg>svg{color:rgba(46,55,67,.7)}.paraui-multi-box.multi-box-disabled>.multi-box-add{border-color:rgba(171,176,185,.4);cursor:not-allowed;background-color:rgba(171,176,185,.12);color:rgba(46,55,67,.7)}.paraui-multi-box.multi-box-disabled>.multi-box-add>svg{color:rgba(46,55,67,.7)}.paraui-multi-box.multi-box-disabled>.multi-box-add:hover{border-color:rgba(171,176,185,.4);color:rgba(46,55,67,.7)}",""]),e.exports=t},3637:function(e,t,i){(t=i(3645)(!1)).push([e.id,".paraui-text-field{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:inline-block;width:100%}.paraui-text-field>.text-field-content{border:1px solid;border-radius:4px;border-color:rgba(171,176,185,.4);display:flex;width:100%;position:relative;background-color:#fff}.paraui-text-field>.text-field-content:hover{border-color:#3666d6}.paraui-text-field>.text-field-content>.text-field-content-before{color:#2e3743;padding:0 12px;border-right:1px solid rgba(171,176,185,.4);background-color:rgba(171,176,185,.12);border-bottom-left-radius:4px;border-top-left-radius:4px;white-space:nowrap;display:flex;align-items:center}.paraui-text-field>.text-field-content>.text-field-content-before svg{font-size:20px}.paraui-text-field>.text-field-content>.text-field-content-within{position:relative;display:flex;flex-grow:1}.paraui-text-field>.text-field-content>.text-field-content-within>.clean-up-icon{display:flex;height:100%;align-items:center;margin-right:12px;cursor:pointer}.paraui-text-field>.text-field-content>.text-field-content-within>.clean-up-icon svg{color:rgba(46,55,67,.7);font-size:16px}.paraui-text-field>.text-field-content>.text-field-content-within>.clean-up-icon:hover svg{color:rgba(54,102,214,.8)}.paraui-text-field>.text-field-content>.text-field-content-within>.right-icon{display:flex;height:100%;align-items:center;margin-right:12px;cursor:pointer;color:rgba(46,55,67,.7);position:relative;z-index:1}.paraui-text-field>.text-field-content>.text-field-content-within>.right-icon.right-icon-password:hover svg{color:rgba(54,102,214,.8)}.paraui-text-field>.text-field-content>.text-field-content-within>.right-icon svg{color:rgba(46,55,67,.7);font-size:20px}.paraui-text-field>.text-field-content>.text-field-content-within>.length-limit{display:flex;height:100%;align-items:center;margin-right:12px;color:rgba(46,55,67,.7)}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input{width:100%;line-height:0;position:relative}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input input::-webkit-outer-spin-button,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input input::-webkit-inner-spin-button{-webkit-appearance:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input input[type=number]{-moz-appearance:textfield}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{width:100%;height:100%}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{width:100% !important;padding:12px;resize:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{font-size:14px;color:#2e3743;border:0;border-radius:4px;background:rgba(0,0,0,0)}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input::-ms-clear,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea::-ms-clear{display:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input::-ms-reveal,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea::-ms-reveal{display:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input:disabled,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea:disabled{background-color:rgba(0,0,0,0)}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{width:100%;position:absolute;left:0;top:0;height:100%;padding:0 12px;color:rgba(46,55,67,.4);cursor:text;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder>.text-field-required{margin-left:2px;color:#eb6054}.paraui-text-field>.text-field-content>.text-field-content-after{color:#2e3743;padding:0 12px;border-left:1px solid rgba(171,176,185,.4);background-color:rgba(171,176,185,.12);border-bottom-right-radius:4px;border-top-right-radius:4px;white-space:nowrap;display:flex;align-items:center}.paraui-text-field>.text-field-content>.text-field-content-after svg{font-size:20px}.paraui-text-field.text-field-multiline>.text-field-content .text-field-content-within>.clean-up-icon{display:none}.paraui-text-field.text-field-multiline>.text-field-content .text-field-content-within>.length-limit{position:absolute;height:22px;bottom:0;border-radius:4px;width:calc(100% - 12px);background:#fff;justify-content:flex-end;padding-bottom:8px;margin-right:0}.paraui-text-field.text-field-multiline>.text-field-content .text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{padding-top:12px;line-height:1;height:calc(100% - 24px)}.paraui-text-field.text-field-disabled>.text-field-content{background-color:rgba(171,176,185,.12)}.paraui-text-field.text-field-disabled>.text-field-content:hover{border-color:rgba(171,176,185,.4)}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-before{background-color:rgba(0,0,0,0)}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{cursor:not-allowed}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-within>.text-field-content-within-input>input,.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{cursor:not-allowed}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-after{background-color:rgba(0,0,0,0)}.paraui-text-field.text-field-disabled.text-field-multiline>.text-field-content .text-field-content-within>.length-limit{background-color:rgba(0,0,0,0)}.paraui-text-field.text-field-error>.text-field-content{border-color:#eb6054 !important}.paraui-text-field.text-field-error>.text-field-content:hover{border-color:#eb6054}.paraui-text-field.text-field-limit>.text-field-content{border-color:#eb6054 !important}.paraui-text-field.text-field-limit>.text-field-content:hover{border-color:#eb6054 !important}.paraui-text-field.text-field-limit-length>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{padding-bottom:25px}.paraui-text-field.text-field-focus>.text-field-content{border-color:#3666d6}.paraui-text-field.text-field-small>.text-field-content{height:28px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-before{line-height:26px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-within>.text-field-content-within-input{height:26px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{padding:6px 12px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{line-height:26px}.paraui-text-field.text-field-small>.text-field-content .text-field-content-after{line-height:26px}.paraui-text-field.text-field-medium>.text-field-content{height:32px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-before{line-height:30px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-within>.text-field-content-within-input{height:30px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{padding:8px 12px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{line-height:30px}.paraui-text-field.text-field-medium>.text-field-content .text-field-content-after{line-height:30px}.paraui-text-field.text-field-large>.text-field-content{height:36px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-before{line-height:34px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-within>.text-field-content-within-input{height:34px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{padding:10px 12px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{line-height:34px}.paraui-text-field.text-field-large>.text-field-content .text-field-content-after{line-height:34px}.paraui-text-field.text-field-resize>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{resize:both}.paraui-text-field-select.paraui-tooltip>div{max-width:none;padding:0;background-color:#fff;box-shadow:0px 2px 8px 0px rgba(171,176,185,.4);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}.paraui-text-field-select.paraui-tooltip>div>span{color:#fff}.paraui-text-field-select.paraui-tooltip>div .text-field-select-content{max-height:300px;overflow:auto}.paraui-text-field-select.paraui-tooltip>div .text-field-select-content>.text-field-select-content-item{display:flex;cursor:pointer;color:#2e3743;padding:0 12px}.paraui-text-field-select.paraui-tooltip>div .text-field-select-content>.text-field-select-content-item:hover{background-color:rgba(171,176,185,.12);color:#3666d6}.paraui-text-field-select.paraui-tooltip>div .text-field-select-content>.text-field-select-content-item.text-field-select-content-item-keydown{background-color:rgba(171,176,185,.12);color:#3666d6}.paraui-text-field-select.paraui-tooltip>div .text-field-select-content.text-field-select-content-loading{height:100px;position:relative;overflow:hidden}.paraui-text-field-select.paraui-tooltip.paraui-text-field-select-small>div .text-field-select-content>.text-field-select-content-item{line-height:28px}.paraui-text-field-select.paraui-tooltip.paraui-text-field-select-medium>div .text-field-select-content>.text-field-select-content-item{line-height:32px}.paraui-text-field-select.paraui-tooltip.paraui-text-field-select-large>div .text-field-select-content>.text-field-select-content-item{line-height:36px}.paraui-text-field-select.paraui-text-field-select-data.paraui-tooltip{padding:8px 0}",""]),e.exports=t},9929:function(e,t,i){(t=i(3645)(!1)).push([e.id,".paraui-tooltip>div{padding-left:12px;padding-right:12px;font-size:14px;font-weight:400;color:#fff;background-color:rgba(46,55,67,.7)}.paraui-tooltip-left-right>div{margin:0 8px}.paraui-tooltip-top-bottom>div{margin:8px 0}",""]),e.exports=t},3645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=function(e,t){var i=e[1]||"",n=e[3];if(!n)return i;if(t&&"function"==typeof btoa){var o=(l=n,a=btoa(unescape(encodeURIComponent(JSON.stringify(l)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),"/*# ".concat(c," */")),r=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[i].concat(r).concat([o]).join("\n")}var l,a,c;return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(o[l]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&o[c[0]]||(i&&(c[2]?c[2]="".concat(i," and ").concat(c[2]):c[2]=i),t.push(c))}},t}},7418:function(e){"use strict";
2
2
  /*
3
3
  object-assign
4
4
  (c) Sindre Sorhus
5
5
  @license MIT
6
- */var t=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},i=0;i<10;i++)t["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var l,a,c=o(e),u=1;u<arguments.length;u++){for(var d in l=Object(arguments[u]))i.call(l,d)&&(c[d]=l[d]);if(t){a=t(l);for(var s=0;s<a.length;s++)n.call(l,a[s])&&(c[a[s]]=l[a[s]])}}return c}},5251:function(e,t,i){"use strict";
6
+ */var t=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},i=0;i<10;i++)t["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var l,a,c=o(e),d=1;d<arguments.length;d++){for(var u in l=Object(arguments[d]))i.call(l,u)&&(c[u]=l[u]);if(t){a=t(l);for(var s=0;s<a.length;s++)n.call(l,a[s])&&(c[a[s]]=l[a[s]])}}return c}},5251:function(e,t,i){"use strict";
7
7
  /** @license React v17.0.2
8
8
  * react-jsx-runtime.production.min.js
9
9
  *
@@ -11,4 +11,4 @@ object-assign
11
11
  *
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
- */i(7418);var n=i(8156),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var r=Symbol.for;o=r("react.element"),t.Fragment=r("react.fragment")}var l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,i){var n,r={},u=null,d=null;for(n in void 0!==i&&(u=""+i),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(d=t.ref),t)a.call(t,n)&&!c.hasOwnProperty(n)&&(r[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===r[n]&&(r[n]=t[n]);return{$$typeof:o,type:e,key:u,ref:d,props:r,_owner:l.current}}t.jsx=u,t.jsxs=u},5893:function(e,t,i){"use strict";e.exports=i(5251)},9271:function(e,t,i){var n=i(3379),o=i(2565);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},2113:function(e,t,i){var n=i(3379),o=i(7381);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},3936:function(e,t,i){var n=i(3379),o=i(9916);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},9663:function(e,t,i){var n=i(3379),o=i(4928);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},3492:function(e,t,i){var n=i(3379),o=i(5714);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},5415:function(e,t,i){var n=i(3379),o=i(7843);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},6202:function(e,t,i){var n=i(3379),o=i(3637);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},2310:function(e,t,i){var n=i(3379),o=i(9929);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},3379:function(e,t,i){"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),l=[];function a(e){for(var t=-1,i=0;i<l.length;i++)if(l[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},n=[],o=0;o<e.length;o++){var r=e[o],c=t.base?r[0]+t.base:r[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var s=a(d),f={css:r[1],media:r[2],sourceMap:r[3]};-1!==s?(l[s].references++,l[s].updater(f)):l.push({identifier:d,updater:b(f,t),references:1}),n.push(d)}return n}function u(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=i.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var l=r(e.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(t)}return t}var d,s=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function f(e,t,i,n){var o=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=s(t,o);else{var r=document.createTextNode(o),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(r,l[t]):e.appendChild(r)}}function p(e,t,i){var n=i.css,o=i.media,r=i.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var x=null,h=0;function b(e,t){var i,n,o;if(t.singleton){var r=h++;i=x||(x=u(t)),n=f.bind(null,i,r,!1),o=f.bind(null,i,r,!0)}else i=u(t),n=p.bind(null,i,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var o=a(i[n]);l[o].references--}for(var r=c(e,t),u=0;u<i.length;u++){var d=a(i[u]);0===l[d].references&&(l[d].updater(),l.splice(d,1))}i=r}}}},7839:function(e,t,i){"use strict";var n=i(5893),o=i(8156),r=i(7371),l=(i(9271),function(){return l=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)});t.default=function(e){var t=e.children,i=e.arrow,a=void 0!==i&&i,c=e.placement,u=void 0===c?"bottom-start":c,d=e.tips,s=void 0===d?"":d,f=e.className,p=void 0===f?"":f,x=e.beyondText,h=void 0===x||x,b=e.interactive,m=void 0===b||b,g=e.style,v=(0,o.useRef)(),y=(0,o.useRef)(),w=(0,o.useState)(""),j=w[0],S=w[1];(0,o.useEffect)((function(){S(s)}),[s]);var O;return(0,n.jsx)("div",l({ref:v,className:(O="paraui-auto-tips",p&&(O+=" "+p),O),onMouseOver:function(){var e="",i=v.current.getBoundingClientRect(),n=y.current.getBoundingClientRect();v.current&&n.width>i.width&&(e=s||(h?v.current.innerText:t)),S(e)},style:g},{children:(0,n.jsx)(r.default,l({arrow:a,title:j,placement:u,interactive:m,boundariesElement:"viewport",className:"paraui-auto-tips-tooltip"},{children:(0,n.jsx)("div",l({className:"auto-tips-content",ref:y},{children:t}))}))}))}},3566:function(e,t,i){"use strict";var n=i(5893),o=i(7371),r=i(8076),l=i.n(r),a=i(5744),c=i.n(a),u=(i(2113),function(){return u=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)}),d=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]])}return i};t.default=function(e){var t=e.title,i=void 0===t?"":t,r=e.children,a=e.arrow,s=void 0===a||a,f=e.interactive,p=void 0===f||f,x=e.className,h=e.placement,b=void 0===h?"top-start":h,m=d(e,["title","children","arrow","interactive","className","placement"]);return(0,n.jsx)(o.default,u({title:i,arrow:s,interactive:p,placement:b},m,{children:(0,n.jsx)("span",u({className:c()("paraui-help",x)},{children:r||(0,n.jsx)(l(),{})}))}))}},4254:function(e,t,i){"use strict";var n=i(5893),o=(i(3936),function(){return o=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)});t.default=function(e){var t,i=e.className,r=e.style,l=e.error,a=void 0!==l&&l,c=e.helperText;return(0,n.jsx)("p",o({className:(t="paraui-helper-text",i&&(t+=" "+i),a&&(t+=" paraui-helper-text-error"),t),style:r},{children:c}))}},6010:function(e,t,i){"use strict";i.d(t,{Z:function(){return c}});var n=i(8156),o=i.n(n),r=i(5395),l=i.n(r),a=function(){return a=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function c(e,t){var i=o().useContext(l()).componentsProps,n=i&&i[t];return a(a({},n),e)}},8767:function(e,t,i){"use strict";var n=i(5893),o=i(3566),r=(i(9663),function(){return r=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)});t.default=function(e){var t=e.className,i=e.style,l=e.label,a=e.labelSign,c=e.required,u=void 0!==c&&c,d=e.tooltip,s=e.tooltipType,f=void 0===s?"icon":s,p=e.placement,x=e.arrow,h=e.tooltipIcon,b=function(){var e="paraui-label";return f&&(e+=" paraui-label-"+f),d&&(e+=" paraui-label-tooltip"),t&&(e+=" "+t),e};return(0,n.jsxs)(n.Fragment,{children:["icon"===f&&(0,n.jsxs)("label",r({className:b(),style:i},{children:[(0,n.jsx)(n.Fragment,{children:l}),u&&(0,n.jsx)("span",r({className:"paraui-label-required"},{children:"*"})),a&&(0,n.jsx)("span",{children:a}),d&&(0,n.jsx)(o.default,r({title:d,placement:p,arrow:x},{children:h}))]})),"line"===f&&(0,n.jsx)(o.default,r({title:d||"",placement:p,arrow:x},{children:(0,n.jsxs)("label",r({className:b(),style:i},{children:[(0,n.jsx)(n.Fragment,{children:l}),u&&(0,n.jsx)("span",r({className:"paraui-label-required"},{children:"*"})),a&&(0,n.jsx)("span",{children:a})]}))}))]})}},7502:function(e,t,i){"use strict";var n=i(5893),o=i(8156),r=i(2788),l=i.n(r),a=(i(3492),function(){return a=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)});t.default=function(e){var t=e.className,i=e.style,r=e.opacity,c=void 0===r?.7:r,u=(0,o.useRef)(null);(0,o.useEffect)((function(){u&&u.current&&u.current.parentNode&&(u.current.parentNode.style.position||(u.current.parentNode.style.position="relative"))}),[]);var d;return(0,n.jsxs)("div",a({className:(d="paraui-loading",t&&(d+=" "+t),d),style:i,ref:u},{children:[(0,n.jsx)("div",a({className:"paraui-loading-box"},{children:(0,n.jsx)(l(),{})})),(0,n.jsx)("div",{className:"paraui-loading-mask",style:{opacity:c}})]}))}},7320:function(e,t,i){"use strict";var n=i(5893),o=i(8156),r=i(8767),l=i(8543),a=i(5428),c=i.n(a),u=i(9979),d=i.n(u),s=i(6788),f=i.n(s),p=i(7839),x=i(7502),h=i(7371),b=i(4254),m=i(6010),g=(i(6202),function(){return g=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)}),v=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]])}return i},y=function(e){return"number"==typeof e&&!isNaN(e)};t.default=function(e){var t=(0,m.Z)(e,"TextField"),i=t.className,a=t.style,u=t.size,s=void 0===u?"large":u,w=t.labelMode,j=void 0===w?"outside":w,S=t.placeholder,O=void 0===S?"":S,C=t.label,N=void 0===C?"":C,k=t.labelTooltip,P=t.disabled,M=void 0!==P&&P,q=t.multiline,E=void 0!==q&&q,_=t.required,F=void 0!==_&&_,T=t.labelSign,z=t.rows,L=void 0===z?2:z,H=t.error,I=void 0!==H&&H,B=t.helperText,R=void 0===B?"":B,D=t.addonBefore,A=void 0===D?"":D,K=t.addonAfter,U=void 0===K?"":K,Y=(t.defaultValue,t.value),J=t.autoFocus,V=void 0!==J&&J,W=t.type,Q=void 0===W?"text":W,G=t.onClickIcon,Z=t.rightIcon,$=t.showRightIcon,X=void 0===$||$,ee=t.allowClear,te=void 0!==ee&&ee,ie=t.limitLength,ne=t.fetchSuggestions,oe=t.selectPopoverClass,re=t.renderSelectItem,le=t.showSelectName,ae=void 0===le?"value":le,ce=t.resize,ue=void 0===ce||ce,de=t.searchEmpty,se=t.onBlur,fe=t.onFocus,pe=t.onChange,xe=t.onKeydown,he=t.onKeyUp,be=t.onEnter,me=t.onClickAddonBefore,ge=t.onClickAddonAfter,ve=t.onSelect,ye=t.onClear,we=v(t,["className","style","size","labelMode","placeholder","label","labelTooltip","disabled","multiline","required","labelSign","rows","error","helperText","addonBefore","addonAfter","defaultValue","value","autoFocus","type","onClickIcon","rightIcon","showRightIcon","allowClear","limitLength","fetchSuggestions","selectPopoverClass","renderSelectItem","showSelectName","resize","searchEmpty","onBlur","onFocus","onChange","onKeydown","onKeyUp","onEnter","onClickAddonBefore","onClickAddonAfter","onSelect","onClear"]),je=(0,o.useState)("text-field-select-content-"+(0,l.UUID)())[0],Se=(0,o.useState)(!0),Oe=Se[0],Ce=Se[1],Ne=(0,o.useState)(""),ke=Ne[0],Pe=Ne[1],Me=(0,o.useState)(!1),qe=Me[0],Ee=Me[1],_e=(0,o.useState)("text"),Fe=_e[0],Te=_e[1],ze=(0,o.useState)(!1),Le=ze[0],He=ze[1],Ie=(0,o.useState)(!1),Be=Ie[0],Re=Ie[1],De=(0,o.useState)([]),Ae=De[0],Ke=De[1],Ue=(0,o.useRef)(null),Ye=(0,o.useRef)(null);(0,o.useEffect)((function(){void 0!==e.defaultValue&&Pe(e.defaultValue)}),[]),(0,o.useEffect)((function(){Q!==Fe&&Te(Q)}),[Q]),(0,o.useEffect)((function(){void 0!==Y&&Pe(Y)}),[Y]),(0,o.useEffect)((function(){Ce(""===ke||void 0===ke)}),[ke]),(0,o.useEffect)((function(){ne&&He(qe)}),[qe,ne]),(0,o.useEffect)((function(){return Le?window.addEventListener("keydown",Ze):window.removeEventListener("keydown",Ze),function(){window.removeEventListener("keydown",Ze)}}),[Le]),(0,o.useEffect)((function(){if(!qe&&ke){var t=Ve(ke);if(t!==ke){var i={};i.target=Ue.current,i.target.value=t,void 0===e.value&&Pe(t),e.onChange&&e.onChange(i)}}}),[ke,qe]);var Je,Ve=function(t){var i=t;return y(e.limitLength)&&t.toString().length>Number(e.limitLength)&&(i=i.toString().substr(0,e.limitLength)),i},We=function(){M||(Ce(!1),(Ue&&Ue.current).focus())},Qe=function(e){var t=e.selectDom,i=e.keyCode,n=e.currentDom,o="nextSibling",r=".text-field-select-content-item";38===i&&(o="previousSibling",r=".text-field-select-content-item:last-child"),n?(n=n[o])||(n=t.querySelector(r)):n=t.querySelector(".text-field-select-content-item"),n&&(n.classList.add("text-field-select-content-item-keydown"),Ge(n,t))},Ge=function(e,t){var i=t.clientHeight,n=e.offsetTop+e.clientHeight-i;t.scrollTop=n>0?n:0},Ze=function(e){var t=document.querySelector("."+je),i=null,n=t.querySelector(".text-field-select-content-item-keydown");if(13===e.keyCode&&n){var o=n.dataset.val;at(JSON.parse(o))(e),(Ue&&Ue.current).blur()}n&&(i=n,n.classList.remove("text-field-select-content-item-keydown")),40===e.keyCode&&Qe({selectDom:t,keyCode:e.keyCode,currentDom:i}),38===e.keyCode&&Qe({selectDom:t,keyCode:e.keyCode,currentDom:i})},$e=function(e){Ee(!1),""===e.target.value&&Ce(!0),se&&se(e)},Xe=function(e){ne&&(Re(!0),ne(e,(function(e){Ke(e||[]),Re(!1)})))},et=function(e){Ee(!0),fe&&fe(e),Xe(e.target.value)},tt=function(t){var i=t.target.value;i&&Ce(!1),void 0===e.value&&Pe(i),pe&&pe(t),Xe(t.target.value)},it=function(e){13===e.keyCode&&be&&be(e),xe&&xe(e)},nt=function(e){he&&he(e)},ot=function(e){"password"===Q&&("text"===Fe&&Te("password"),"password"===Fe&&Te("text")),G&&G(e)},rt=function(){return void 0===e.value?ke:Y},lt=function(){He(!1)},at=function(e){return function(t){ve&&ve(e)}},ct=(0,o.useMemo)((function(){return(0,n.jsx)(n.Fragment,{children:y(ie)&&(0,n.jsx)("span",g({className:"length-limit"},{children:(ke?ke.toString().length:0)+"/"+ie}))})}),[ie,ke]),ut=(0,o.useMemo)((function(){var e=Z||("password"===Q?"password"===Fe?(0,n.jsx)(c(),{}):(0,n.jsx)(d(),{}):null);return(0,n.jsx)(n.Fragment,{children:X&&e&&(0,n.jsx)("span",g({className:"password"===Q?"right-icon right-icon-password":"right-icon",onClick:ot},{children:e}))})}),[X,Z,Q,Fe,G]),dt=function(){var t=Ue.current;t.value="",void 0===e.value&&Pe(""),pe&&pe({target:t}),Xe(""),ye&&ye()},st=function(){if(rt()&&!M&&te)return(0,n.jsx)("span",g({className:"clean-up-icon",onClick:dt},{children:(0,n.jsx)(f(),{})}))},ft=(0,o.useMemo)((function(){return(0,n.jsxs)("div",g({className:"text-field-content-within",ref:Ye},{children:[(0,n.jsxs)("div",g({className:"text-field-content-within-input"},{children:[E?(0,n.jsx)("textarea",g({ref:Ue,rows:L,value:rt(),onBlur:$e,onFocus:et,onChange:tt,onKeyDown:it,onKeyUp:nt,disabled:M},we)):(0,n.jsx)("input",g({ref:Ue,type:Fe,value:rt(),onBlur:$e,onFocus:et,onChange:tt,onKeyDown:it,onKeyUp:nt,disabled:M},we)),Oe&&!qe&&(0,n.jsx)("span",g({className:"text-field-label-placeholder",onClick:We},{children:"outside"===j?O:(0,n.jsxs)(n.Fragment,{children:[N||O,F&&(0,n.jsx)("span",g({className:"text-field-required"},{children:"*"})),T&&(0,n.jsx)("span",{children:T})]})}))]})),st(),ct,ut]}))}),[Oe,qe,V,Fe,ke,ct,ut,j,O,N,M,E,L,we,pe,ne,G,te,ye]),pt=(0,o.useMemo)((function(){var e,t=function(e){return"object"==typeof e&&null!==e?e[ae]:e};return(0,n.jsxs)("div",g({className:(e="text-field-select-content",Be&&(e+=" text-field-select-content-loading"),je&&(e+=" "+je),e),style:{width:(Ye&&Ye.current?Ye.current.offsetWidth:0)+"px"}},{children:[Ae&&Ae.map((function(e,i){return(0,n.jsx)("div",g({className:"text-field-select-content-item",onMouseDown:at(e),"data-val":JSON.stringify(e)},{children:re?re(e):(0,n.jsx)(p.default,{children:t(e)})}),i)})),0===Ae.length&&de,Be&&(0,n.jsx)(x.default,{})]}))}),[Ye,Le,Ae,re,ae,ve,Be,je,de]),xt=(0,o.useMemo)((function(){return(0,n.jsx)(h.default,g({open:Le,title:pt,onClose:lt,arrow:!1,interactive:!0,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,placement:"bottom-start",classes:{popper:(e="paraui-text-field-select paraui-scrollbar-small",s&&(e+=" paraui-text-field-select-"+s),oe&&(e+=" "+oe),Ae.length>0&&(e+=" paraui-text-field-select-data"),e)}},{children:ft}));var e}),[Oe,qe,V,Fe,ke,ct,ut,j,O,N,M,E,L,we,pe,ne,ve,Ye,Le,oe,s,G,Ae,te,ye,de]),ht=(0,o.useMemo)((function(){var e,t=Boolean(F||T||N);if("outside"===j&&t){return(0,n.jsx)(r.default,g({label:N,required:F,labelSign:T},k,{className:(e="text-field-label",k&&k.className&&(e+=" "+k.className),e)}))}return null}),[j,N,T,F,k]);return(0,n.jsxs)("div",g({className:(Je="paraui-text-field",Je+=" text-field",s&&!E&&(Je+=" text-field-"+s),i&&(Je+=" "+i),I&&(Je+=" text-field-error"),qe&&(Je+=" text-field-focus"),M&&(Je+=" text-field-disabled"),E&&(Je+=" text-field-multiline"),y(e.limitLength)&&(Je+=" text-field-limit-length"),y(e.limitLength)&&ke&&ke.toString().length>Number(e.limitLength)&&(Je+=" text-field-limit"),ue&&(Je+=" text-field-resize"),rt()&&(Je+=" text-field-value"),te&&(Je+=" text-field-allow-clear"),Je),style:a},{children:[ht,(0,n.jsxs)("div",g({className:"text-field-content"},{children:[A&&(0,n.jsx)("div",g({className:"text-field-content-before",onClick:function(e){me&&me(e)}},{children:A})),ne?xt:ft,U&&(0,n.jsx)("div",g({className:"text-field-content-after",onClick:function(e){ge&&ge(e)}},{children:U}))]})),(0,n.jsx)(b.default,{className:"text-field-error-text",error:I,helperText:R})]}))}},7371:function(e,t,i){"use strict";var n=i(5893),o=i(670),r=i(5744),l=i.n(r),a=(i(2310),function(){return a=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)}),c=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]])}return i};t.default=function(e){var t,i=e.placement,r=void 0===i?"top-start":i,u=e.className,d=e.arrow,s=void 0===d||d,f=e.PopperProps,p=e.boundariesElement,x=void 0===p?"scrollParent":p,h=c(e,["placement","className","arrow","PopperProps","boundariesElement"]),b=a(a({},e.classes),{popper:l()("paraui-tooltip",u,null===(t=e.classes)||void 0===t?void 0:t.popper,{"paraui-tooltip-left-right":(null==r?void 0:r.includes("left"))||(null==r?void 0:r.includes("right")),"paraui-tooltip-top-bottom":(null==r?void 0:r.includes("top"))||(null==r?void 0:r.includes("bottom"))})});return(0,n.jsx)(o.Tooltip,a({},h,{enterTouchDelay:0,arrow:s,placement:r,classes:b,PopperProps:a(a({},f),{modifiers:{preventOverflow:{boundariesElement:x}}})}))}},670:function(e){"use strict";e.exports=t},5395:function(e){"use strict";e.exports=u},6788:function(e){"use strict";e.exports=a},4104:function(e){"use strict";e.exports=s},8076:function(e){"use strict";e.exports=n},2788:function(e){"use strict";e.exports=c},1632:function(e){"use strict";e.exports=d},5428:function(e){"use strict";e.exports=r},9979:function(e){"use strict";e.exports=l},8543:function(e){"use strict";e.exports=o},5744:function(e){"use strict";e.exports=i},8156:function(t){"use strict";t.exports=e}},p={};function x(e){var t=p[e];if(void 0!==t)return t.exports;var i=p[e]={id:e,exports:{}};return f[e](i,i.exports,x),i.exports}x.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return x.d(t,{a:t}),t},x.d=function(e,t){for(var i in t)x.o(t,i)&&!x.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},x.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},x.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},x.nc=void 0;var h={};return function(){"use strict";x.r(h),x.d(h,{MultiBox:function(){return s}});var e=x(5893),t=x(8156),i=x(7320),n=x(8767),o=x(4254),r=x(1632),l=x.n(r),a=x(4104),c=x.n(a),u=(x(5415),function(){return u=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)}),d=function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},s=function(r){var a=r.className,s=r.style,f=r.size,p=void 0===f?"large":f,x=r.placeholderKey,h=void 0===x?"":x,b=r.placeholderValue,m=void 0===b?"":b,g=r.label,v=void 0===g?"":g,y=r.labelTooltip,w=r.labelSign,j=r.disabled,S=void 0!==j&&j,O=r.required,C=void 0!==O&&O,N=r.error,k=void 0!==N&&N,P=r.helperText,M=void 0===P?"":P,q=r.value,E=r.replaceFields,_=r.onChange,F=r.fetchSuggestionsKey,T=r.fetchSuggestionsValue,z=(0,t.useState)([]),L=z[0],H=z[1],I=(0,t.useState)({key:"label",value:"value"}),B=I[0],R=I[1];(0,t.useEffect)((function(){void 0!==r.defaultValue&&H(d([],r.defaultValue,!0))}),[]),(0,t.useEffect)((function(){void 0!==q&&H(d([],q,!0))}),[q]),(0,t.useEffect)((function(){if(E){var e=u(u({},B),E);R(e)}}),[E]);var D,A=function(e){return function(){S||(L.splice(e,1),void 0===r.value&&H(d([],L,!0)),_&&_(L))}},K=function(e,t){return function(i){L[t][e]=i.target.value,void 0===r.value&&H(d([],L,!0)),_&&_(L)}},U=function(e){return function(t,i){"key"===e?F&&F(t,i):T&&T(t,i)}},Y=function(e,t){return function(i){L[t][e]=i,"object"==typeof i&&null!==i&&(L[t][e]=i.value),void 0===r.value&&H(d([],L,!0)),_&&_(L)}};return(0,e.jsxs)("div",u({className:(D="paraui-multi-box multi-box",a&&(D+=" "+a),p&&(D+=" multi-box-"+p),k&&(D+=" multi-box-error"),S&&(D+=" multi-box-disabled"),D),style:s},{children:[function(){if(!v&&!w)return null;var t;return(0,e.jsx)(n.default,u({label:v,required:C,labelSign:w},y,{className:(t="multi-box-label",y&&y.className&&(t+=" "+y.className),t)}))}(),(0,e.jsx)("div",u({className:"multi-box-content"},{children:L.map((function(t,n){return(0,e.jsxs)("div",u({className:"multi-box-content-item"},{children:[(0,e.jsxs)("div",u({className:"multi-box-content-item-input"},{children:[(0,e.jsx)(i.default,{size:p,disabled:S,placeholder:h,value:t[B.key||""],onChange:K(B.key||"",n),fetchSuggestions:F?U("key"):void 0,onSelect:Y(B.key||"",n)}),(0,e.jsx)("span",{children:":"}),(0,e.jsx)(i.default,{size:p,disabled:S,placeholder:m,value:t[B.value||""],onChange:K(B.value||"",n),fetchSuggestions:T?U("value"):void 0,onSelect:Y(B.value||"",n)})]})),(0,e.jsx)("span",u({className:"single-box-content-item-svg"},{children:(0,e.jsx)(c(),{onClick:A(n)})}))]}),n)}))})),(0,e.jsx)("div",u({className:"multi-box-add",onClick:function(){S||(L.push({}),void 0===r.value&&H(d([],L,!0)),_&&_(L))}},{children:(0,e.jsx)(l(),{})})),(0,e.jsx)(o.default,{className:"multi-box-error-text",error:k,helperText:M})]}))};h.default=s}(),h}()}));
14
+ */i(7418);var n=i(8156),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var r=Symbol.for;o=r("react.element"),t.Fragment=r("react.fragment")}var l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function d(e,t,i){var n,r={},d=null,u=null;for(n in void 0!==i&&(d=""+i),void 0!==t.key&&(d=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,n)&&!c.hasOwnProperty(n)&&(r[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===r[n]&&(r[n]=t[n]);return{$$typeof:o,type:e,key:d,ref:u,props:r,_owner:l.current}}t.jsx=d,t.jsxs=d},5893:function(e,t,i){"use strict";e.exports=i(5251)},9271:function(e,t,i){var n=i(3379),o=i(2565);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},2113:function(e,t,i){var n=i(3379),o=i(7381);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},3936:function(e,t,i){var n=i(3379),o=i(9916);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},9663:function(e,t,i){var n=i(3379),o=i(4928);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},3492:function(e,t,i){var n=i(3379),o=i(5714);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},5415:function(e,t,i){var n=i(3379),o=i(7843);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},6202:function(e,t,i){var n=i(3379),o=i(3637);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},2310:function(e,t,i){var n=i(3379),o=i(9929);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var r={insert:("body","body"),singleton:!1};n(o,r);e.exports=o.locals||{}},3379:function(e,t,i){"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),l=[];function a(e){for(var t=-1,i=0;i<l.length;i++)if(l[i].identifier===e){t=i;break}return t}function c(e,t){for(var i={},n=[],o=0;o<e.length;o++){var r=e[o],c=t.base?r[0]+t.base:r[0],d=i[c]||0,u="".concat(c," ").concat(d);i[c]=d+1;var s=a(u),f={css:r[1],media:r[2],sourceMap:r[3]};-1!==s?(l[s].references++,l[s].updater(f)):l.push({identifier:u,updater:b(f,t),references:1}),n.push(u)}return n}function d(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=i.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var l=r(e.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(t)}return t}var u,s=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,i,n){var o=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=s(t,o);else{var r=document.createTextNode(o),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(r,l[t]):e.appendChild(r)}}function p(e,t,i){var n=i.css,o=i.media,r=i.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var x=null,h=0;function b(e,t){var i,n,o;if(t.singleton){var r=h++;i=x||(x=d(t)),n=f.bind(null,i,r,!1),o=f.bind(null,i,r,!0)}else i=d(t),n=p.bind(null,i,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var i=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var o=a(i[n]);l[o].references--}for(var r=c(e,t),d=0;d<i.length;d++){var u=a(i[d]);0===l[u].references&&(l[u].updater(),l.splice(u,1))}i=r}}}},7839:function(e,t,i){"use strict";var n=i(5893),o=i(8156),r=i(7371),l=(i(9271),function(){return l=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)});t.default=function(e){var t=e.children,i=e.arrow,a=void 0!==i&&i,c=e.placement,d=void 0===c?"bottom-start":c,u=e.tips,s=void 0===u?"":u,f=e.className,p=void 0===f?"":f,x=e.beyondText,h=void 0===x||x,b=e.interactive,m=void 0===b||b,g=e.style,v=(0,o.useRef)(),y=(0,o.useRef)(),w=(0,o.useState)(""),j=w[0],S=w[1];(0,o.useEffect)((function(){S(s)}),[s]);var O;return(0,n.jsx)("div",l({ref:v,className:(O="paraui-auto-tips",p&&(O+=" "+p),O),onMouseOver:function(){var e="",i=v.current,n=i.getBoundingClientRect();v.current&&i.scrollWidth>n.width&&(e=s||(h?i.innerText:t)),S(e)},style:g},{children:(0,n.jsx)(r.default,l({arrow:a,title:j,placement:d,interactive:m,boundariesElement:"viewport",className:"paraui-auto-tips-tooltip"},{children:(0,n.jsx)("div",l({className:"auto-tips-content",ref:y},{children:t}))}))}))}},3566:function(e,t,i){"use strict";var n=i(5893),o=i(7371),r=i(8076),l=i.n(r),a=i(5744),c=i.n(a),d=(i(2113),function(){return d=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)}),u=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]])}return i};t.default=function(e){var t=e.title,i=void 0===t?"":t,r=e.children,a=e.arrow,s=void 0===a||a,f=e.interactive,p=void 0===f||f,x=e.className,h=e.placement,b=void 0===h?"top-start":h,m=u(e,["title","children","arrow","interactive","className","placement"]);return(0,n.jsx)(o.default,d({title:i,arrow:s,interactive:p,placement:b},m,{children:(0,n.jsx)("span",d({className:c()("paraui-help",x)},{children:r||(0,n.jsx)(l(),{})}))}))}},4254:function(e,t,i){"use strict";var n=i(5893),o=(i(3936),function(){return o=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)});t.default=function(e){var t,i=e.className,r=e.style,l=e.error,a=void 0!==l&&l,c=e.helperText;return(0,n.jsx)("p",o({className:(t="paraui-helper-text",i&&(t+=" "+i),a&&(t+=" paraui-helper-text-error"),t),style:r},{children:c}))}},6010:function(e,t,i){"use strict";i.d(t,{Z:function(){return c}});var n=i(8156),o=i.n(n),r=i(5395),l=i.n(r),a=function(){return a=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function c(e,t){var i=o().useContext(l()).componentsProps,n=i&&i[t];return a(a({},n),e)}},8767:function(e,t,i){"use strict";var n=i(5893),o=i(3566),r=(i(9663),function(){return r=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)});t.default=function(e){var t=e.className,i=e.style,l=e.label,a=e.labelSign,c=e.required,d=void 0!==c&&c,u=e.tooltip,s=e.tooltipType,f=void 0===s?"icon":s,p=e.placement,x=e.arrow,h=e.tooltipIcon,b=function(){var e="paraui-label";return f&&(e+=" paraui-label-"+f),u&&(e+=" paraui-label-tooltip"),t&&(e+=" "+t),e};return(0,n.jsxs)(n.Fragment,{children:["icon"===f&&(0,n.jsxs)("label",r({className:b(),style:i},{children:[(0,n.jsx)(n.Fragment,{children:l}),d&&(0,n.jsx)("span",r({className:"paraui-label-required"},{children:"*"})),a&&(0,n.jsx)("span",{children:a}),u&&(0,n.jsx)(o.default,r({title:u,placement:p,arrow:x},{children:h}))]})),"line"===f&&(0,n.jsx)(o.default,r({title:u||"",placement:p,arrow:x},{children:(0,n.jsxs)("label",r({className:b(),style:i},{children:[(0,n.jsx)(n.Fragment,{children:l}),d&&(0,n.jsx)("span",r({className:"paraui-label-required"},{children:"*"})),a&&(0,n.jsx)("span",{children:a})]}))}))]})}},7502:function(e,t,i){"use strict";var n=i(5893),o=i(8156),r=i(2788),l=i.n(r),a=(i(3492),function(){return a=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)});t.default=function(e){var t=e.className,i=e.style,r=e.opacity,c=void 0===r?.7:r,d=(0,o.useRef)(null);(0,o.useEffect)((function(){d&&d.current&&d.current.parentNode&&(d.current.parentNode.style.position||(d.current.parentNode.style.position="relative"))}),[]);var u;return(0,n.jsxs)("div",a({className:(u="paraui-loading",t&&(u+=" "+t),u),style:i,ref:d},{children:[(0,n.jsx)("div",a({className:"paraui-loading-box"},{children:(0,n.jsx)(l(),{})})),(0,n.jsx)("div",{className:"paraui-loading-mask",style:{opacity:c}})]}))}},7320:function(e,t,i){"use strict";var n=i(5893),o=i(8156),r=i(8767),l=i(8543),a=i(5428),c=i.n(a),d=i(9979),u=i.n(d),s=i(6788),f=i.n(s),p=i(7839),x=i(7502),h=i(7371),b=i(4254),m=i(6010),g=(i(6202),function(){return g=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)}),v=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]])}return i},y=function(e){return"number"==typeof e&&!isNaN(e)};t.default=function(e){var t=(0,m.Z)(e,"TextField"),i=t.className,a=t.style,d=t.size,s=void 0===d?"large":d,w=t.labelMode,j=void 0===w?"outside":w,S=t.placeholder,O=void 0===S?"":S,C=t.label,N=void 0===C?"":C,k=t.labelTooltip,P=t.disabled,M=void 0!==P&&P,q=t.multiline,E=void 0!==q&&q,_=t.required,F=void 0!==_&&_,T=t.labelSign,z=t.rows,L=void 0===z?2:z,H=t.error,I=void 0!==H&&H,B=t.helperText,R=void 0===B?"":B,D=t.addonBefore,A=void 0===D?"":D,K=t.addonAfter,U=void 0===K?"":K,Y=(t.defaultValue,t.value),J=t.autoFocus,V=void 0!==J&&J,W=t.type,Q=void 0===W?"text":W,G=t.onClickIcon,Z=t.rightIcon,$=t.showRightIcon,X=void 0===$||$,ee=t.allowClear,te=void 0!==ee&&ee,ie=t.limitLength,ne=t.fetchSuggestions,oe=t.selectPopoverClass,re=t.renderSelectItem,le=t.showSelectName,ae=void 0===le?"value":le,ce=t.resize,de=void 0===ce||ce,ue=t.searchEmpty,se=t.onBlur,fe=t.onFocus,pe=t.onChange,xe=t.onKeydown,he=t.onKeyUp,be=t.onEnter,me=t.onClickAddonBefore,ge=t.onClickAddonAfter,ve=t.onSelect,ye=t.onClear,we=v(t,["className","style","size","labelMode","placeholder","label","labelTooltip","disabled","multiline","required","labelSign","rows","error","helperText","addonBefore","addonAfter","defaultValue","value","autoFocus","type","onClickIcon","rightIcon","showRightIcon","allowClear","limitLength","fetchSuggestions","selectPopoverClass","renderSelectItem","showSelectName","resize","searchEmpty","onBlur","onFocus","onChange","onKeydown","onKeyUp","onEnter","onClickAddonBefore","onClickAddonAfter","onSelect","onClear"]),je=(0,o.useState)("text-field-select-content-"+(0,l.UUID)())[0],Se=(0,o.useState)(!0),Oe=Se[0],Ce=Se[1],Ne=(0,o.useState)(""),ke=Ne[0],Pe=Ne[1],Me=(0,o.useState)(!1),qe=Me[0],Ee=Me[1],_e=(0,o.useState)("text"),Fe=_e[0],Te=_e[1],ze=(0,o.useState)(!1),Le=ze[0],He=ze[1],Ie=(0,o.useState)(!1),Be=Ie[0],Re=Ie[1],De=(0,o.useState)([]),Ae=De[0],Ke=De[1],Ue=(0,o.useRef)(null),Ye=(0,o.useRef)(null);(0,o.useEffect)((function(){void 0!==e.defaultValue&&Pe(e.defaultValue)}),[]),(0,o.useEffect)((function(){Q!==Fe&&Te(Q)}),[Q]),(0,o.useEffect)((function(){void 0!==Y&&Pe(Y)}),[Y]),(0,o.useEffect)((function(){Ce(""===ke||void 0===ke)}),[ke]),(0,o.useEffect)((function(){ne&&He(qe)}),[qe,ne]),(0,o.useEffect)((function(){return Le?window.addEventListener("keydown",Ze):window.removeEventListener("keydown",Ze),function(){window.removeEventListener("keydown",Ze)}}),[Le]),(0,o.useEffect)((function(){if(!qe&&ke){var t=Ve(ke);if(t!==ke){var i={};i.target=Ue.current,i.target.value=t,void 0===e.value&&Pe(t),e.onChange&&e.onChange(i)}}}),[ke,qe]);var Je,Ve=function(t){var i=t;return y(e.limitLength)&&t.toString().length>Number(e.limitLength)&&(i=i.toString().substr(0,e.limitLength)),i},We=function(){M||(Ce(!1),(Ue&&Ue.current).focus())},Qe=function(e){var t=e.selectDom,i=e.keyCode,n=e.currentDom,o="nextSibling",r=".text-field-select-content-item";38===i&&(o="previousSibling",r=".text-field-select-content-item:last-child"),n?(n=n[o])||(n=t.querySelector(r)):n=t.querySelector(".text-field-select-content-item"),n&&(n.classList.add("text-field-select-content-item-keydown"),Ge(n,t))},Ge=function(e,t){var i=t.clientHeight,n=e.offsetTop+e.clientHeight-i;t.scrollTop=n>0?n:0},Ze=function(e){var t=document.querySelector("."+je),i=null,n=t.querySelector(".text-field-select-content-item-keydown");if(13===e.keyCode&&n){var o=n.dataset.val;at(JSON.parse(o))(e),(Ue&&Ue.current).blur()}n&&(i=n,n.classList.remove("text-field-select-content-item-keydown")),40===e.keyCode&&Qe({selectDom:t,keyCode:e.keyCode,currentDom:i}),38===e.keyCode&&Qe({selectDom:t,keyCode:e.keyCode,currentDom:i})},$e=function(e){Ee(!1),""===e.target.value&&Ce(!0),se&&se(e)},Xe=function(e){ne&&(Re(!0),ne(e,(function(e){Ke(e||[]),Re(!1)})))},et=function(e){Ee(!0),fe&&fe(e),Xe(e.target.value)},tt=function(t){var i=t.target.value;i&&Ce(!1),void 0===e.value&&Pe(i),pe&&pe(t),Xe(t.target.value)},it=function(e){13===e.keyCode&&be&&be(e),xe&&xe(e)},nt=function(e){he&&he(e)},ot=function(e){"password"===Q&&("text"===Fe&&Te("password"),"password"===Fe&&Te("text")),G&&G(e)},rt=function(){return void 0===e.value?ke:Y},lt=function(){He(!1)},at=function(e){return function(t){ve&&ve(e)}},ct=(0,o.useMemo)((function(){return(0,n.jsx)(n.Fragment,{children:y(ie)&&(0,n.jsx)("span",g({className:"length-limit"},{children:(ke?ke.toString().length:0)+"/"+ie}))})}),[ie,ke]),dt=(0,o.useMemo)((function(){var e=Z||("password"===Q?"password"===Fe?(0,n.jsx)(c(),{}):(0,n.jsx)(u(),{}):null);return(0,n.jsx)(n.Fragment,{children:X&&e&&(0,n.jsx)("span",g({className:"password"===Q?"right-icon right-icon-password":"right-icon",onClick:ot},{children:e}))})}),[X,Z,Q,Fe,G]),ut=function(){var t=Ue.current;t.value="",void 0===e.value&&Pe(""),pe&&pe({target:t}),Xe(""),ye&&ye()},st=function(){if(rt()&&!M&&te)return(0,n.jsx)("span",g({className:"clean-up-icon",onClick:ut},{children:(0,n.jsx)(f(),{})}))},ft=(0,o.useMemo)((function(){return(0,n.jsxs)("div",g({className:"text-field-content-within",ref:Ye},{children:[(0,n.jsxs)("div",g({className:"text-field-content-within-input"},{children:[E?(0,n.jsx)("textarea",g({ref:Ue,rows:L,value:rt(),onBlur:$e,onFocus:et,onChange:tt,onKeyDown:it,onKeyUp:nt,disabled:M},we)):(0,n.jsx)("input",g({ref:Ue,type:Fe,value:rt(),onBlur:$e,onFocus:et,onChange:tt,onKeyDown:it,onKeyUp:nt,disabled:M},we)),Oe&&!qe&&(0,n.jsx)("span",g({className:"text-field-label-placeholder",onClick:We},{children:"outside"===j?O:(0,n.jsxs)(n.Fragment,{children:[N||O,F&&(0,n.jsx)("span",g({className:"text-field-required"},{children:"*"})),T&&(0,n.jsx)("span",{children:T})]})}))]})),st(),ct,dt]}))}),[Oe,qe,V,Fe,ke,ct,dt,j,O,N,M,E,L,we,pe,ne,G,te,ye]),pt=(0,o.useMemo)((function(){var e,t=function(e){return"object"==typeof e&&null!==e?e[ae]:e};return(0,n.jsxs)("div",g({className:(e="text-field-select-content",Be&&(e+=" text-field-select-content-loading"),je&&(e+=" "+je),e),style:{width:(Ye&&Ye.current?Ye.current.offsetWidth:0)+"px"}},{children:[Ae&&Ae.map((function(e,i){return(0,n.jsx)("div",g({className:"text-field-select-content-item",onMouseDown:at(e),"data-val":JSON.stringify(e)},{children:re?re(e):(0,n.jsx)(p.default,{children:t(e)})}),i)})),0===Ae.length&&ue,Be&&(0,n.jsx)(x.default,{})]}))}),[Ye,Le,Ae,re,ae,ve,Be,je,ue]),xt=(0,o.useMemo)((function(){return(0,n.jsx)(h.default,g({open:Le,title:pt,onClose:lt,arrow:!1,interactive:!0,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,placement:"bottom-start",classes:{popper:(e="paraui-text-field-select paraui-scrollbar-small",s&&(e+=" paraui-text-field-select-"+s),oe&&(e+=" "+oe),Ae.length>0&&(e+=" paraui-text-field-select-data"),e)}},{children:ft}));var e}),[Oe,qe,V,Fe,ke,ct,dt,j,O,N,M,E,L,we,pe,ne,ve,Ye,Le,oe,s,G,Ae,te,ye,ue]),ht=(0,o.useMemo)((function(){var e,t=Boolean(F||T||N);if("outside"===j&&t){return(0,n.jsx)(r.default,g({label:N,required:F,labelSign:T},k,{className:(e="text-field-label",k&&k.className&&(e+=" "+k.className),e)}))}return null}),[j,N,T,F,k]);return(0,n.jsxs)("div",g({className:(Je="paraui-text-field",Je+=" text-field",s&&!E&&(Je+=" text-field-"+s),i&&(Je+=" "+i),I&&(Je+=" text-field-error"),qe&&(Je+=" text-field-focus"),M&&(Je+=" text-field-disabled"),E&&(Je+=" text-field-multiline"),y(e.limitLength)&&(Je+=" text-field-limit-length"),y(e.limitLength)&&ke&&ke.toString().length>Number(e.limitLength)&&(Je+=" text-field-limit"),de&&(Je+=" text-field-resize"),rt()&&(Je+=" text-field-value"),te&&(Je+=" text-field-allow-clear"),Je),style:a},{children:[ht,(0,n.jsxs)("div",g({className:"text-field-content"},{children:[A&&(0,n.jsx)("div",g({className:"text-field-content-before",onClick:function(e){me&&me(e)}},{children:A})),ne?xt:ft,U&&(0,n.jsx)("div",g({className:"text-field-content-after",onClick:function(e){ge&&ge(e)}},{children:U}))]})),(0,n.jsx)(b.default,{className:"text-field-error-text",error:I,helperText:R})]}))}},7371:function(e,t,i){"use strict";var n=i(5893),o=i(670),r=i(5744),l=i.n(r),a=(i(2310),function(){return a=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)}),c=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]])}return i};t.default=function(e){var t,i=e.placement,r=void 0===i?"top-start":i,d=e.className,u=e.arrow,s=void 0===u||u,f=e.PopperProps,p=e.boundariesElement,x=void 0===p?"scrollParent":p,h=c(e,["placement","className","arrow","PopperProps","boundariesElement"]),b=a(a({},e.classes),{popper:l()("paraui-tooltip",d,null===(t=e.classes)||void 0===t?void 0:t.popper,{"paraui-tooltip-left-right":(null==r?void 0:r.includes("left"))||(null==r?void 0:r.includes("right")),"paraui-tooltip-top-bottom":(null==r?void 0:r.includes("top"))||(null==r?void 0:r.includes("bottom"))})});return(0,n.jsx)(o.Tooltip,a({},h,{enterTouchDelay:0,arrow:s,placement:r,classes:b,PopperProps:a(a({},f),{modifiers:{preventOverflow:{boundariesElement:x}}})}))}},670:function(e){"use strict";e.exports=t},5395:function(e){"use strict";e.exports=d},6788:function(e){"use strict";e.exports=a},4104:function(e){"use strict";e.exports=s},8076:function(e){"use strict";e.exports=n},2788:function(e){"use strict";e.exports=c},1632:function(e){"use strict";e.exports=u},5428:function(e){"use strict";e.exports=r},9979:function(e){"use strict";e.exports=l},8543:function(e){"use strict";e.exports=o},5744:function(e){"use strict";e.exports=i},8156:function(t){"use strict";t.exports=e}},p={};function x(e){var t=p[e];if(void 0!==t)return t.exports;var i=p[e]={id:e,exports:{}};return f[e](i,i.exports,x),i.exports}x.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return x.d(t,{a:t}),t},x.d=function(e,t){for(var i in t)x.o(t,i)&&!x.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},x.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},x.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},x.nc=void 0;var h={};return function(){"use strict";x.r(h),x.d(h,{MultiBox:function(){return s}});var e=x(5893),t=x(8156),i=x(7320),n=x(8767),o=x(4254),r=x(1632),l=x.n(r),a=x(4104),c=x.n(a),d=(x(5415),function(){return d=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)}),u=function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},s=function(r){var a=r.className,s=r.style,f=r.size,p=void 0===f?"large":f,x=r.placeholderKey,h=void 0===x?"":x,b=r.placeholderValue,m=void 0===b?"":b,g=r.label,v=void 0===g?"":g,y=r.labelTooltip,w=r.labelSign,j=r.disabled,S=void 0!==j&&j,O=r.required,C=void 0!==O&&O,N=r.error,k=void 0!==N&&N,P=r.helperText,M=void 0===P?"":P,q=r.value,E=r.replaceFields,_=r.onChange,F=r.fetchSuggestionsKey,T=r.fetchSuggestionsValue,z=(0,t.useState)([]),L=z[0],H=z[1],I=(0,t.useState)({key:"label",value:"value"}),B=I[0],R=I[1];(0,t.useEffect)((function(){void 0!==r.defaultValue&&H(u([],r.defaultValue,!0))}),[]),(0,t.useEffect)((function(){void 0!==q&&H(u([],q,!0))}),[q]),(0,t.useEffect)((function(){if(E){var e=d(d({},B),E);R(e)}}),[E]);var D,A=function(e){return function(){S||(L.splice(e,1),void 0===r.value&&H(u([],L,!0)),_&&_(L))}},K=function(e,t){return function(i){L[t][e]=i.target.value,void 0===r.value&&H(u([],L,!0)),_&&_(L)}},U=function(e){return function(t,i){"key"===e?F&&F(t,i):T&&T(t,i)}},Y=function(e,t){return function(i){L[t][e]=i,"object"==typeof i&&null!==i&&(L[t][e]=i.value),void 0===r.value&&H(u([],L,!0)),_&&_(L)}};return(0,e.jsxs)("div",d({className:(D="paraui-multi-box multi-box",a&&(D+=" "+a),p&&(D+=" multi-box-"+p),k&&(D+=" multi-box-error"),S&&(D+=" multi-box-disabled"),D),style:s},{children:[function(){if(!v&&!w)return null;var t;return(0,e.jsx)(n.default,d({label:v,required:C,labelSign:w},y,{className:(t="multi-box-label",y&&y.className&&(t+=" "+y.className),t)}))}(),(0,e.jsx)("div",d({className:"multi-box-content"},{children:L.map((function(t,n){return(0,e.jsxs)("div",d({className:"multi-box-content-item"},{children:[(0,e.jsxs)("div",d({className:"multi-box-content-item-input"},{children:[(0,e.jsx)(i.default,{size:p,disabled:S,placeholder:h,value:t[B.key||""],onChange:K(B.key||"",n),fetchSuggestions:F?U("key"):void 0,onSelect:Y(B.key||"",n)}),(0,e.jsx)("span",{children:":"}),(0,e.jsx)(i.default,{size:p,disabled:S,placeholder:m,value:t[B.value||""],onChange:K(B.value||"",n),fetchSuggestions:T?U("value"):void 0,onSelect:Y(B.value||"",n)})]})),(0,e.jsx)("span",d({className:"single-box-content-item-svg"},{children:(0,e.jsx)(c(),{onClick:A(n)})}))]}),n)}))})),(0,e.jsx)("div",d({className:"multi-box-add",onClick:function(){S||(L.push({}),void 0===r.value&&H(u([],L,!0)),_&&_(L))}},{children:(0,e.jsx)(l(),{})})),(0,e.jsx)(o.default,{className:"multi-box-error-text",error:k,helperText:M})]}))};h.default=s}(),h}()}));
@@ -1,52 +1,52 @@
1
- /**
2
- * @author Hanz
3
- * @date 2022/1/13 上午10:30
4
- * @description 通知提醒框
5
- */
6
- import React from 'react';
7
- import './index.scss';
8
- export type NotificationPlacement = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
9
- export type IconType = 'success' | 'info' | 'error' | 'warning';
10
- export interface ConfigProps {
11
- top?: number;
12
- bottom?: number;
13
- duration?: number;
14
- placement?: NotificationPlacement;
15
- getContainer?: () => HTMLElement;
16
- closeIcon?: React.ReactNode;
17
- maxCount?: number;
18
- }
19
- export interface ArgsProps {
20
- message: React.ReactNode;
21
- description?: React.ReactNode;
22
- btn?: React.ReactNode;
23
- key?: string;
24
- onClose?: () => void;
25
- duration?: number | null;
26
- icon?: React.ReactNode;
27
- placement?: NotificationPlacement;
28
- style?: React.CSSProperties;
29
- prefixCls?: string;
30
- className?: string;
31
- readonly type?: IconType;
32
- onClick?: () => void;
33
- top?: number;
34
- bottom?: number;
35
- getContainer?: () => HTMLElement;
36
- closeIcon?: React.ReactNode;
37
- }
38
- export interface NotificationInstance {
39
- success(args: ArgsProps): void;
40
- error(args: ArgsProps): void;
41
- info(args: ArgsProps): void;
42
- warning(args: ArgsProps): void;
43
- open(args: ArgsProps): void;
44
- }
45
- export interface NotificationApi extends NotificationInstance {
46
- warn(args: ArgsProps): void;
47
- close(key: string): void;
48
- config(options: ConfigProps): void;
49
- destroy(): void;
50
- }
51
- declare const _default: NotificationApi;
52
- export default _default;
1
+ /**
2
+ * @author Hanz
3
+ * @date 2022/1/13 上午10:30
4
+ * @description 通知提醒框
5
+ */
6
+ import React from 'react';
7
+ import './index.scss';
8
+ export type NotificationPlacement = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
9
+ export type IconType = 'success' | 'info' | 'error' | 'warning';
10
+ export interface ConfigProps {
11
+ top?: number;
12
+ bottom?: number;
13
+ duration?: number;
14
+ placement?: NotificationPlacement;
15
+ getContainer?: () => HTMLElement;
16
+ closeIcon?: React.ReactNode;
17
+ maxCount?: number;
18
+ }
19
+ export interface ArgsProps {
20
+ message: React.ReactNode;
21
+ description?: React.ReactNode;
22
+ btn?: React.ReactNode;
23
+ key?: string;
24
+ onClose?: () => void;
25
+ duration?: number | null;
26
+ icon?: React.ReactNode;
27
+ placement?: NotificationPlacement;
28
+ style?: React.CSSProperties;
29
+ prefixCls?: string;
30
+ className?: string;
31
+ readonly type?: IconType;
32
+ onClick?: () => void;
33
+ top?: number;
34
+ bottom?: number;
35
+ getContainer?: () => HTMLElement;
36
+ closeIcon?: React.ReactNode;
37
+ }
38
+ export interface NotificationInstance {
39
+ success(args: ArgsProps): void;
40
+ error(args: ArgsProps): void;
41
+ info(args: ArgsProps): void;
42
+ warning(args: ArgsProps): void;
43
+ open(args: ArgsProps): void;
44
+ }
45
+ export interface NotificationApi extends NotificationInstance {
46
+ warn(args: ArgsProps): void;
47
+ close(key: string): void;
48
+ config(options: ConfigProps): void;
49
+ destroy(): void;
50
+ }
51
+ declare const _default: NotificationApi;
52
+ export default _default;