@para-ui/core 4.0.22 → 4.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AutoTips/index.js +11 -0
- package/Button/index.js +1 -1
- package/ButtonGroup/index.js +1 -1
- package/Cascader/index.js +7 -6
- package/ComboSelect/index.js +2 -2
- package/CopyText/index.js +1 -1
- package/CycleSelector/index.js +1 -1
- package/DatePicker/index.js +1 -1
- package/Descriptions/index.js +1 -1
- package/Desktop/index.js +1 -1
- package/Drawer/index.js +1 -1
- package/Dropdown/index.js +1 -1
- package/DynamicMultiBox/index.js +2 -2
- package/Empty/index.js +0 -6
- package/Form/index.js +11 -8
- package/FormItem/index.js +3 -3
- package/FunctionModal/index.js +3 -3
- package/Image/PreviewGroup.d.ts +20 -0
- package/Image/index.d.ts +10 -0
- package/Image/index.js +1485 -0
- package/InputLang/index.js +1 -1
- package/Modal/index.js +1 -1
- package/MultiBox/index.js +1 -1
- package/OperateBtn/index.js +1 -1
- package/PageHeader/index.js +1 -1
- package/Pagination/index.js +3 -3
- package/PopConfirm/index.js +1 -1
- package/Popover/index.js +1 -1
- package/Querying/index.js +0 -12
- package/QuickReply/index.js +1 -1
- package/README.md +13 -0
- package/Search/index.js +1 -1
- package/Select/index.d.ts +2 -0
- package/Select/index.js +27 -10
- package/SelectInput/index.js +1 -1
- package/Selector/index.js +3 -326
- package/SelectorPicker/index.js +2 -1
- package/SingleBox/index.js +1 -1
- package/Slider/index.js +29 -14
- package/Slider/interface.d.ts +4 -0
- package/Table/index.js +9 -3
- package/Tabs/index.js +1 -1
- package/TextField/index.js +5 -4
- package/TimePicker/index.js +1 -1
- package/ToggleButton/index.js +1 -1
- package/Transfer/index.js +1 -1
- package/Tree/index.js +2 -2
- package/Upload/ImgCrop/EasyCrop.d.ts +2 -2
- package/Upload/ImgCrop/constants.d.ts +12 -0
- package/Upload/ImgCrop/interface.d.ts +10 -0
- package/Upload/index.js +1182 -527
- package/Upload/interface.d.ts +43 -0
- package/Upload/util.d.ts +7 -0
- package/_verture/Portal-5bd49559.js +1698 -0
- package/_verture/{index-066d47d4.js → index-2a6adf4d.js} +38 -1727
- package/_verture/index-8ac46bd9.js +327 -0
- package/_verture/{index-b892f976.js → index-bbe5660a.js} +2 -2
- package/_verture/{index-389675ab.js → index-bde7aabe.js} +1 -1
- package/index.d.ts +2 -0
- package/index.js +19 -12
- package/locale/index.js +2 -2
- package/package.json +3 -2
- package/umd/AutoBox.js +1 -1
- package/umd/AutoTips.js +1 -1
- package/umd/Breadcrumbs.js +1 -1
- package/umd/Button.js +1 -1
- package/umd/ButtonGroup.js +1 -1
- package/umd/ComboSelect.js +3 -3
- package/umd/CopyText.js +2 -2
- package/umd/CycleSelector.js +2 -2
- package/umd/DatePicker.js +1 -1
- package/umd/Descriptions.js +1 -1
- package/umd/Desktop.js +2 -2
- package/umd/Drawer.js +1 -1
- package/umd/Dropdown.js +1 -1
- package/umd/DynamicMultiBox.js +3 -3
- package/umd/Empty.js +1 -1
- package/umd/Form.js +4 -4
- package/umd/FormItem.js +3 -3
- package/umd/FunctionModal.js +6 -6
- package/umd/Image.js +42 -0
- package/umd/InputLang.js +2 -2
- package/umd/Modal.js +4 -4
- package/umd/MultiBox.js +2 -2
- package/umd/OperateBtn.js +4 -4
- package/umd/PageHeader.js +1 -1
- package/umd/Pagination.js +2 -2
- package/umd/PopConfirm.js +3 -3
- package/umd/PopMenu.js +1 -1
- package/umd/Popover.js +1 -1
- package/umd/Querying.js +1 -1
- package/umd/QuickReply.js +4 -4
- package/umd/Search.js +2 -2
- package/umd/Select.js +3 -3
- package/umd/SelectInput.js +2 -2
- package/umd/Selector.js +2 -2
- package/umd/SelectorPicker.js +5 -5
- package/umd/SingleBox.js +2 -2
- package/umd/Slider.js +2 -2
- package/umd/Table.js +6 -6
- package/umd/Tabs.js +4 -4
- package/umd/TextField.js +2 -2
- package/umd/TimePicker.js +1 -1
- package/umd/ToggleButton.js +1 -1
- package/umd/Transfer.js +2 -2
- package/umd/Tree.js +1 -1
- package/umd/Upload.js +6 -6
- package/umd/locale.js +1 -1
- /package/_verture/{index-4b965dd7.js → index-8cfd01fd.js} +0 -0
- /package/_verture/{modalContext-c8cc3107.js → modalContext-0c08a396.js} +0 -0
package/InputLang/index.js
CHANGED
|
@@ -24,7 +24,7 @@ import '@para-ui/icons/PreviewOpen';
|
|
|
24
24
|
import '@para-ui/icons/CloseCircleF';
|
|
25
25
|
import '../Loading/index.js';
|
|
26
26
|
import '@para-ui/icons/LoadingF';
|
|
27
|
-
import '../_verture/index-
|
|
27
|
+
import '../_verture/index-bde7aabe.js';
|
|
28
28
|
import 'rc-dropdown';
|
|
29
29
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
30
30
|
import 'dayjs';
|
package/Modal/index.js
CHANGED
|
@@ -21,7 +21,7 @@ import 'rc-tooltip';
|
|
|
21
21
|
import 'rc-tooltip/lib/placements';
|
|
22
22
|
import '@para-ui/icons/Forbid';
|
|
23
23
|
import '@para-ui/icons/Down';
|
|
24
|
-
import '../_verture/index-
|
|
24
|
+
import '../_verture/index-bde7aabe.js';
|
|
25
25
|
import 'rc-dropdown';
|
|
26
26
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
27
27
|
import 'dayjs';
|
package/MultiBox/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import '../Loading/index.js';
|
|
|
23
23
|
import '@para-ui/icons/LoadingF';
|
|
24
24
|
import '../_verture/useGlobalProps-4ae1a007.js';
|
|
25
25
|
import '../_verture/index-ca413216.js';
|
|
26
|
-
import '../_verture/index-
|
|
26
|
+
import '../_verture/index-bde7aabe.js';
|
|
27
27
|
import 'rc-dropdown';
|
|
28
28
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
29
29
|
import 'dayjs';
|
package/OperateBtn/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import clsx from 'clsx';
|
|
|
13
13
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
14
14
|
import '@para-ui/icons/LoadingF';
|
|
15
15
|
import '@para-ui/icons/Down';
|
|
16
|
-
import '../_verture/index-
|
|
16
|
+
import '../_verture/index-bde7aabe.js';
|
|
17
17
|
import 'rc-dropdown';
|
|
18
18
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
19
19
|
import 'dayjs';
|
package/PageHeader/index.js
CHANGED
|
@@ -18,7 +18,7 @@ import 'clsx';
|
|
|
18
18
|
import '@para-ui/icons/Forbid';
|
|
19
19
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
20
20
|
import '@para-ui/icons/LoadingF';
|
|
21
|
-
import '../_verture/index-
|
|
21
|
+
import '../_verture/index-bde7aabe.js';
|
|
22
22
|
import 'rc-dropdown';
|
|
23
23
|
import 'dayjs';
|
|
24
24
|
import '../_verture/useFormatMessage-1fc7c957.js';
|
package/Pagination/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import '../Loading/index.js';
|
|
|
30
30
|
import '@para-ui/icons/LoadingF';
|
|
31
31
|
import '../HelperText/index.js';
|
|
32
32
|
import '../_verture/useGlobalProps-4ae1a007.js';
|
|
33
|
-
import '../_verture/index-
|
|
33
|
+
import '../_verture/index-bde7aabe.js';
|
|
34
34
|
import 'rc-dropdown';
|
|
35
35
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
36
36
|
import 'dayjs';
|
|
@@ -60,8 +60,8 @@ var zh = {
|
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
var localeJson = {
|
|
63
|
-
zh
|
|
64
|
-
en
|
|
63
|
+
zh,
|
|
64
|
+
en
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2021/10/26 13:57\n* @description 分页样式\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-pagination {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n color: rgb(29, 33, 38);\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n opacity: 1;\n}\n.paraui-v4-pagination.paraui-v4-pagination-over {\n overflow: hidden;\n height: 32px;\n opacity: 0;\n transition: all 0.3s;\n}\n.paraui-v4-pagination.paraui-v4-pagination-no-left-arrow > .pagination-content {\n padding-left: 0;\n}\n.paraui-v4-pagination.paraui-v4-pagination-no-right-arrow > .pagination-content {\n padding-right: 0;\n}\n.paraui-v4-pagination > .pagination-space {\n margin-right: 10px;\n}\n.paraui-v4-pagination > .pagination-space:last-child {\n margin-right: 0;\n}\n.paraui-v4-pagination > .pagination-content {\n display: flex;\n border-radius: 4px;\n height: 32px;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-pagination > .pagination-content > .left-page, .paraui-v4-pagination > .pagination-content > .right-page {\n display: inline-block;\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div, .paraui-v4-pagination > .pagination-content > .right-page > div {\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n width: 32px;\n height: 32px;\n border-radius: 4px;\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div.disabled-btn, .paraui-v4-pagination > .pagination-content > .right-page > div.disabled-btn {\n cursor: not-allowed;\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div.disabled-btn > svg, .paraui-v4-pagination > .pagination-content > .right-page > div.disabled-btn > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div.disabled-btn:hover, .paraui-v4-pagination > .pagination-content > .right-page > div.disabled-btn:hover {\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div.disabled-btn:hover > svg, .paraui-v4-pagination > .pagination-content > .right-page > div.disabled-btn:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div:last-child, .paraui-v4-pagination > .pagination-content > .right-page > div:last-child {\n margin-right: 0;\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div:hover, .paraui-v4-pagination > .pagination-content > .right-page > div:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div:hover > svg, .paraui-v4-pagination > .pagination-content > .right-page > div:hover > svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-pagination > .pagination-content > .left-page > div > svg, .paraui-v4-pagination > .pagination-content > .right-page > div > svg {\n font-size: 16px;\n color: rgb(92, 101, 115);\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination {\n height: 100%;\n display: inline-block;\n box-shadow: none;\n vertical-align: top;\n line-height: 30px;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li {\n min-width: 32px;\n height: 32px;\n line-height: 32px;\n display: inline-block;\n text-align: center;\n cursor: pointer;\n border-radius: 4px;\n margin-right: 6px;\n padding: 0 6px;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li:first-child, .paraui-v4-pagination > .pagination-content > .component-pagination > li:last-child, .paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-next {\n display: none;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-jump-next, .paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-jump-prev {\n padding: 0;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-prev-icon svg, .paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-next-icon svg {\n display: none;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-prev-icon span, .paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-next-icon span {\n display: inline-block;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-prev-icon:hover svg, .paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-next-icon:hover svg {\n display: inline-block;\n vertical-align: middle;\n color: rgb(46, 101, 230);\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-prev-icon:hover span, .paraui-v4-pagination > .pagination-content > .component-pagination > li > .jump-next-icon:hover span {\n display: none;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li:hover {\n background-color: rgb(247, 248, 250);\n color: rgb(46, 101, 230);\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-item-active {\n color: rgb(46, 101, 230);\n border: 1px solid;\n border-color: rgb(46, 101, 230);\n line-height: 30px;\n}\n.paraui-v4-pagination > .pagination-content > .component-pagination > li.component-pagination-item-active:hover {\n background: rgb(255, 255, 255);\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-pagination > .pagination-btn-content button:first-child {\n margin-right: 10px;\n}\n.paraui-v4-pagination > .page-line-memo > span {\n display: inline-block;\n margin-right: 8px;\n vertical-align: middle;\n}\n.paraui-v4-pagination > .page-line-memo .page-line-select {\n width: 110px;\n vertical-align: middle;\n}\n.paraui-v4-pagination > .skip-page-memo {\n display: flex;\n align-items: center;\n}\n.paraui-v4-pagination > .skip-page-memo > span {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-pagination > .skip-page-memo > .skip-page-text-field {\n width: 50px;\n margin: 0 4px;\n}\n.paraui-v4-pagination > .skip-page-memo > .skip-page-text-field .right-icon {\n margin-right: 8px;\n}";
|
package/PopConfirm/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { u as usePopupContainer } from '../_verture/usePopupContainer-635f66f4.j
|
|
|
14
14
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
15
15
|
import '@para-ui/icons/LoadingF';
|
|
16
16
|
import '@para-ui/icons/Down';
|
|
17
|
-
import '../_verture/index-
|
|
17
|
+
import '../_verture/index-bde7aabe.js';
|
|
18
18
|
import 'rc-dropdown';
|
|
19
19
|
import 'dayjs';
|
|
20
20
|
import '@paraview/lib';
|
package/Popover/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import 'rc-tooltip';
|
|
|
10
10
|
import 'rc-tooltip/lib/placements';
|
|
11
11
|
import '@para-ui/icons/Forbid';
|
|
12
12
|
|
|
13
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/6/7 上午11:06\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-popover {\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1500;\n font-weight: 400;\n white-space: normal;\n text-align: left;\n cursor: auto;\n user-select: text;\n}\n.paraui-v4-popover::after {\n position: absolute;\n content: \"\";\n}\n.paraui-v4-popover.component-popover-hidden {\n display: none;\n}\n.paraui-v4-popover.component-popover-hidden .component-popover-inner {\n border: none;\n}\n.paraui-v4-popover .component-popover-inner {\n background-color: rgb(255, 255, 255);\n background-clip: padding-box;\n border-radius: 4px;\n box-shadow: 1px 1px 10px 2px rgba(212, 218, 227, 0.4);\n border: 1px solid rgba(212, 218, 227, 0.4);\n}\n.paraui-v4-popover .component-popover-title {\n margin: 0;\n padding: 0 20px;\n color: rgb(29, 33, 38);\n font-weight: 700;\n border-bottom: 1px solid #f0f0f0;\n min-height: 44px;\n display: flex;\n align-items: center;\n}\n.paraui-v4-popover .component-popover-inner-content {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-popover .component-popover-buttons {\n margin-bottom: 4px;\n text-align: right;\n}\n.paraui-v4-popover .component-popover-buttons button {\n margin-left: 8px;\n}\n.paraui-v4-popover .component-popover-arrow {\n position: absolute;\n display: none;\n width: 16px;\n height: 16px;\n overflow: hidden;\n background: transparent;\n pointer-events: none;\n}\n.paraui-v4-popover .component-popover-arrow-content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n width: 11.3137085px;\n height: 11.3137085px;\n margin: auto;\n background-color: rgb(255, 255, 255);\n content: \"\";\n border-radius: 0 0 4px;\n pointer-events: none;\n}\n.paraui-v4-popover .component-popover-arrow-content::before {\n position: absolute;\n top: -11.3137085px;\n left: -11.3137085px;\n width: 33.9411255px;\n height: 33.9411255px;\n background: rgb(255, 255, 255) -10px -10px no-repeat;\n content: \"\";\n -webkit-clip-path: path(\"M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z\");\n}\n.paraui-v4-popover.component-popover-placement-top .component-popover-arrow, .paraui-v4-popover.component-popover-placement-topLeft .component-popover-arrow, .paraui-v4-popover.component-popover-placement-topRight .component-popover-arrow {\n bottom: -0.6862915px;\n}\n.paraui-v4-popover.component-popover-placement-top .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-topLeft .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-topRight .component-popover-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateY(-1px) rotate(45deg);\n}\n.paraui-v4-popover.component-popover-placement-top .component-popover-arrow {\n left: 50%;\n transform: translateX(-50%);\n}\n.paraui-v4-popover.component-popover-placement-topLeft .component-popover-arrow {\n left: 16px;\n}\n.paraui-v4-popover.component-popover-placement-topRight .component-popover-arrow {\n right: 16px;\n}\n.paraui-v4-popover.component-popover-placement-right .component-popover-arrow, .paraui-v4-popover.component-popover-placement-rightTop .component-popover-arrow, .paraui-v4-popover.component-popover-placement-rightBottom .component-popover-arrow {\n left: -0.6862915px;\n}\n.paraui-v4-popover.component-popover-placement-right .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-rightTop .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-rightBottom .component-popover-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateX(1px) rotate(135deg);\n}\n.paraui-v4-popover.component-popover-placement-right .component-popover-arrow {\n top: 50%;\n transform: translateY(-50%);\n}\n.paraui-v4-popover.component-popover-placement-rightTop .component-popover-arrow {\n top: 12px;\n}\n.paraui-v4-popover.component-popover-placement-rightBottom .component-popover-arrow {\n bottom: 12px;\n}\n.paraui-v4-popover.component-popover-placement-bottom .component-popover-arrow, .paraui-v4-popover.component-popover-placement-bottomLeft .component-popover-arrow, .paraui-v4-popover.component-popover-placement-bottomRight .component-popover-arrow {\n top: -0.6862915px;\n}\n.paraui-v4-popover.component-popover-placement-bottom .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-bottomLeft .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-bottomRight .component-popover-arrow-content {\n box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.06);\n transform: translateY(1px) rotate(-135deg);\n}\n.paraui-v4-popover.component-popover-placement-bottom .component-popover-arrow {\n left: 50%;\n transform: translateX(-50%);\n}\n.paraui-v4-popover.component-popover-placement-bottomLeft .component-popover-arrow {\n left: 16px;\n}\n.paraui-v4-popover.component-popover-placement-bottomRight .component-popover-arrow {\n right: 16px;\n}\n.paraui-v4-popover.component-popover-placement-left .component-popover-arrow, .paraui-v4-popover.component-popover-placement-leftTop .component-popover-arrow, .paraui-v4-popover.component-popover-placement-leftBottom .component-popover-arrow {\n right: -0.6862915px;\n}\n.paraui-v4-popover.component-popover-placement-left .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-leftTop .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-leftBottom .component-popover-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateX(-1px) rotate(-45deg);\n}\n.paraui-v4-popover.component-popover-placement-left .component-popover-arrow {\n top: 50%;\n transform: translateY(-50%);\n}\n.paraui-v4-popover.component-popover-placement-leftTop .component-popover-arrow {\n top: 12px;\n}\n.paraui-v4-popover.component-popover-placement-leftBottom .component-popover-arrow {\n bottom: 12px;\n}\n\n.component-popover-zoom-big-enter,\n.component-popover-zoom-big-appear {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.component-popover-zoom-big-leave {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.component-popover-zoom-big-enter.component-popover-zoom-big-enter-active,\n.component-popover-zoom-big-appear.component-popover-zoom-big-appear-active {\n animation-name: componentPopoverZoomBigIn;\n animation-play-state: running;\n}\n\n.component-popover-zoom-big-leave.component-popover-zoom-big-leave-active {\n animation-name: componentPopoverZoomBigOut;\n animation-play-state: running;\n pointer-events: none;\n}\n\n.component-popover-zoom-big-enter,\n.component-popover-zoom-big-appear {\n transform: scale(0);\n opacity: 0;\n animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n\n.component-popover-zoom-big-enter-prepare,\n.component-popover-zoom-big-appear-prepare {\n transform: none;\n}\n\n.component-popover-zoom-big-leave {\n animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n\n@keyframes componentPopoverZoomBigIn {\n 0% {\n transform: scale(0.8);\n opacity: 0;\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes componentPopoverZoomBigOut {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0.8);\n opacity: 0;\n }\n}";
|
|
13
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/6/7 上午11:06\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-popover {\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1500;\n font-weight: 400;\n white-space: normal;\n text-align: left;\n cursor: auto;\n user-select: text;\n}\n.paraui-v4-popover::after {\n position: absolute;\n content: \"\";\n}\n.paraui-v4-popover.component-popover-hidden {\n display: none;\n}\n.paraui-v4-popover.component-popover-hidden .component-popover-inner {\n border: none;\n box-shadow: none;\n}\n.paraui-v4-popover .component-popover-inner {\n background-color: rgb(255, 255, 255);\n background-clip: padding-box;\n border-radius: 4px;\n box-shadow: 1px 1px 10px 2px rgba(212, 218, 227, 0.4);\n border: 1px solid rgba(212, 218, 227, 0.4);\n}\n.paraui-v4-popover .component-popover-title {\n margin: 0;\n padding: 0 20px;\n color: rgb(29, 33, 38);\n font-weight: 700;\n border-bottom: 1px solid #f0f0f0;\n min-height: 44px;\n display: flex;\n align-items: center;\n}\n.paraui-v4-popover .component-popover-inner-content {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-popover .component-popover-buttons {\n margin-bottom: 4px;\n text-align: right;\n}\n.paraui-v4-popover .component-popover-buttons button {\n margin-left: 8px;\n}\n.paraui-v4-popover .component-popover-arrow {\n position: absolute;\n display: none;\n width: 16px;\n height: 16px;\n overflow: hidden;\n background: transparent;\n pointer-events: none;\n}\n.paraui-v4-popover .component-popover-arrow-content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n width: 11.3137085px;\n height: 11.3137085px;\n margin: auto;\n background-color: rgb(255, 255, 255);\n content: \"\";\n border-radius: 0 0 4px;\n pointer-events: none;\n}\n.paraui-v4-popover .component-popover-arrow-content::before {\n position: absolute;\n top: -11.3137085px;\n left: -11.3137085px;\n width: 33.9411255px;\n height: 33.9411255px;\n background: rgb(255, 255, 255) -10px -10px no-repeat;\n content: \"\";\n -webkit-clip-path: path(\"M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z\");\n}\n.paraui-v4-popover.component-popover-placement-top .component-popover-arrow, .paraui-v4-popover.component-popover-placement-topLeft .component-popover-arrow, .paraui-v4-popover.component-popover-placement-topRight .component-popover-arrow {\n bottom: -0.6862915px;\n}\n.paraui-v4-popover.component-popover-placement-top .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-topLeft .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-topRight .component-popover-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateY(-1px) rotate(45deg);\n}\n.paraui-v4-popover.component-popover-placement-top .component-popover-arrow {\n left: 50%;\n transform: translateX(-50%);\n}\n.paraui-v4-popover.component-popover-placement-topLeft .component-popover-arrow {\n left: 16px;\n}\n.paraui-v4-popover.component-popover-placement-topRight .component-popover-arrow {\n right: 16px;\n}\n.paraui-v4-popover.component-popover-placement-right .component-popover-arrow, .paraui-v4-popover.component-popover-placement-rightTop .component-popover-arrow, .paraui-v4-popover.component-popover-placement-rightBottom .component-popover-arrow {\n left: -0.6862915px;\n}\n.paraui-v4-popover.component-popover-placement-right .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-rightTop .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-rightBottom .component-popover-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateX(1px) rotate(135deg);\n}\n.paraui-v4-popover.component-popover-placement-right .component-popover-arrow {\n top: 50%;\n transform: translateY(-50%);\n}\n.paraui-v4-popover.component-popover-placement-rightTop .component-popover-arrow {\n top: 12px;\n}\n.paraui-v4-popover.component-popover-placement-rightBottom .component-popover-arrow {\n bottom: 12px;\n}\n.paraui-v4-popover.component-popover-placement-bottom .component-popover-arrow, .paraui-v4-popover.component-popover-placement-bottomLeft .component-popover-arrow, .paraui-v4-popover.component-popover-placement-bottomRight .component-popover-arrow {\n top: -0.6862915px;\n}\n.paraui-v4-popover.component-popover-placement-bottom .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-bottomLeft .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-bottomRight .component-popover-arrow-content {\n box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.06);\n transform: translateY(1px) rotate(-135deg);\n}\n.paraui-v4-popover.component-popover-placement-bottom .component-popover-arrow {\n left: 50%;\n transform: translateX(-50%);\n}\n.paraui-v4-popover.component-popover-placement-bottomLeft .component-popover-arrow {\n left: 16px;\n}\n.paraui-v4-popover.component-popover-placement-bottomRight .component-popover-arrow {\n right: 16px;\n}\n.paraui-v4-popover.component-popover-placement-left .component-popover-arrow, .paraui-v4-popover.component-popover-placement-leftTop .component-popover-arrow, .paraui-v4-popover.component-popover-placement-leftBottom .component-popover-arrow {\n right: -0.6862915px;\n}\n.paraui-v4-popover.component-popover-placement-left .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-leftTop .component-popover-arrow-content, .paraui-v4-popover.component-popover-placement-leftBottom .component-popover-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateX(-1px) rotate(-45deg);\n}\n.paraui-v4-popover.component-popover-placement-left .component-popover-arrow {\n top: 50%;\n transform: translateY(-50%);\n}\n.paraui-v4-popover.component-popover-placement-leftTop .component-popover-arrow {\n top: 12px;\n}\n.paraui-v4-popover.component-popover-placement-leftBottom .component-popover-arrow {\n bottom: 12px;\n}\n\n.component-popover-zoom-big-enter,\n.component-popover-zoom-big-appear {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.component-popover-zoom-big-leave {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.component-popover-zoom-big-enter.component-popover-zoom-big-enter-active,\n.component-popover-zoom-big-appear.component-popover-zoom-big-appear-active {\n animation-name: componentPopoverZoomBigIn;\n animation-play-state: running;\n}\n\n.component-popover-zoom-big-leave.component-popover-zoom-big-leave-active {\n animation-name: componentPopoverZoomBigOut;\n animation-play-state: running;\n pointer-events: none;\n}\n\n.component-popover-zoom-big-enter,\n.component-popover-zoom-big-appear {\n transform: scale(0);\n opacity: 0;\n animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n\n.component-popover-zoom-big-enter-prepare,\n.component-popover-zoom-big-appear-prepare {\n transform: none;\n}\n\n.component-popover-zoom-big-leave {\n animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n\n@keyframes componentPopoverZoomBigIn {\n 0% {\n transform: scale(0.8);\n opacity: 0;\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes componentPopoverZoomBigOut {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0.8);\n opacity: 0;\n }\n}";
|
|
14
14
|
styleInject(css_248z);
|
|
15
15
|
|
|
16
16
|
//popover
|
package/Querying/index.js
CHANGED
|
@@ -380,12 +380,6 @@ const LargeSearch = () => {
|
|
|
380
380
|
rx: "3.014",
|
|
381
381
|
transform: "translate(220.537 180.513)",
|
|
382
382
|
fill: "#dde7ff"
|
|
383
|
-
}), jsx("path", {
|
|
384
|
-
id: "\u8DEF\u5F84_17905",
|
|
385
|
-
"data-name": "\u8DEF\u5F84 17905",
|
|
386
|
-
d: "M20.356,21.964l-9.429-10.17v2.289H9.107V9.83H20.239a3.921,3.921,0,1,1,0,7.842h-.65L17.9,15.845h2.328a2.087,2.087,0,0,0,0-4.175H13.288L21.2,20.182l1.613,1.782Zm-4.773-4.3h-4.65v4.3H9.1V15.858h4.767l1.7,1.834Z",
|
|
387
|
-
transform: "translate(217.468 107.352)",
|
|
388
|
-
fill: "#3666d6"
|
|
389
383
|
}), jsxs("g", Object.assign({
|
|
390
384
|
id: "\u7EC4_19234",
|
|
391
385
|
"data-name": "\u7EC4 19234",
|
|
@@ -615,12 +609,6 @@ const SmallSearch = () => {
|
|
|
615
609
|
rx: "1.681",
|
|
616
610
|
transform: "translate(236.978 155.663)",
|
|
617
611
|
fill: "#d5e0fa"
|
|
618
|
-
}), jsx("path", {
|
|
619
|
-
id: "\u8DEF\u5F84_17905",
|
|
620
|
-
"data-name": "\u8DEF\u5F84 17905",
|
|
621
|
-
d: "M15.38,16.6l-5.26-5.674V12.2H9.1V9.83h6.211a2.188,2.188,0,1,1,0,4.375h-.363l-.943-1.019h1.3a1.164,1.164,0,1,0,0-2.329H11.436l4.415,4.749.9.994Zm-2.663-2.4H10.123v2.4H9.1V13.19h2.659l.95,1.023Z",
|
|
622
|
-
transform: "translate(231.243 110.503)",
|
|
623
|
-
fill: "#2e65e6"
|
|
624
612
|
}), jsxs("g", Object.assign({
|
|
625
613
|
id: "\u7EC4_19234",
|
|
626
614
|
"data-name": "\u7EC4 19234",
|
package/QuickReply/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import 'rc-tooltip';
|
|
|
27
27
|
import 'rc-tooltip/lib/placements';
|
|
28
28
|
import '@para-ui/icons/Forbid';
|
|
29
29
|
import '@para-ui/icons/Down';
|
|
30
|
-
import '../_verture/index-
|
|
30
|
+
import '../_verture/index-bde7aabe.js';
|
|
31
31
|
import 'rc-dropdown';
|
|
32
32
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
33
33
|
import 'dayjs';
|
package/README.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## 版本: 4.0.24
|
|
2
|
+
【超出省略-AutoTips】修复多行超出省略,丢失只多出的最后一个字符
|
|
3
|
+
【表单-Form】修复输入框输入丢失焦点问题
|
|
4
|
+
【输入框-TextField】去除搜索空状态显示阴影
|
|
5
|
+
|
|
6
|
+
## 版本: 4.0.23
|
|
7
|
+
【下拉框-Select】新增blurChangeValueBol,失去焦点改变值
|
|
8
|
+
【空状态-Empty】去除R
|
|
9
|
+
【查询-Querying】去除R
|
|
10
|
+
【表格-Table】刷新增加清空选中操作
|
|
11
|
+
【上传-Upload】上传组件UI优化和BUG修复
|
|
12
|
+
【滑动输入条-Slider】文档DEMO优化;圆点上方数值调整为常显
|
|
13
|
+
|
|
1
14
|
## 版本: 4.0.22
|
|
2
15
|
【Tree】修复从左侧移入树节点时,超出省略弹窗未展示
|
|
3
16
|
【colors】添加色卡
|
package/Search/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import '@para-ui/icons/LoadingF';
|
|
|
23
23
|
import '../HelperText/index.js';
|
|
24
24
|
import '../_verture/useGlobalProps-4ae1a007.js';
|
|
25
25
|
import '../_verture/index-ca413216.js';
|
|
26
|
-
import '../_verture/index-
|
|
26
|
+
import '../_verture/index-bde7aabe.js';
|
|
27
27
|
import 'rc-dropdown';
|
|
28
28
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
29
29
|
import 'dayjs';
|
package/Select/index.d.ts
CHANGED
|
@@ -92,6 +92,8 @@ export interface SelectProps extends HelperTextDetailProps {
|
|
|
92
92
|
onClear?: () => void;
|
|
93
93
|
/** 浮层渲染容器,默认body */
|
|
94
94
|
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
|
|
95
|
+
/** 失去焦点改变值 */
|
|
96
|
+
blurChangeValueBol?: boolean;
|
|
95
97
|
[name: string]: any;
|
|
96
98
|
}
|
|
97
99
|
declare const Select: FunctionComponent<SelectProps>;
|
package/Select/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import React__default, { useRef, useState, useEffect, useMemo } from 'react';
|
|
3
3
|
import Empty from '../Empty/index.js';
|
|
4
4
|
import Label from '../Label/index.js';
|
|
5
|
-
import { D as Dropdown } from '../_verture/index-
|
|
5
|
+
import { D as Dropdown } from '../_verture/index-bde7aabe.js';
|
|
6
6
|
import { UUID, DeepClone } from '@paraview/lib';
|
|
7
7
|
import { G as GlobalContext } from '../_verture/index-ca413216.js';
|
|
8
8
|
import CloseIcon from '@para-ui/icons/Close';
|
|
@@ -127,7 +127,8 @@ const Select = props => {
|
|
|
127
127
|
onClear,
|
|
128
128
|
getPopupContainer,
|
|
129
129
|
renderContent,
|
|
130
|
-
selectCheckIcon = true
|
|
130
|
+
selectCheckIcon = true,
|
|
131
|
+
blurChangeValueBol = false
|
|
131
132
|
} = useGlobalProps(props, 'Select');
|
|
132
133
|
/**
|
|
133
134
|
* 处理初始化数据,让list支持传入字符串
|
|
@@ -563,6 +564,26 @@ const Select = props => {
|
|
|
563
564
|
}
|
|
564
565
|
searchInputProps && searchInputProps.onKeyDown && searchInputProps.onKeyDown(e);
|
|
565
566
|
};
|
|
567
|
+
/**
|
|
568
|
+
* 失去焦点搜索框
|
|
569
|
+
* @param event 搜索框元素
|
|
570
|
+
*/
|
|
571
|
+
const onBlurSearch = event => {
|
|
572
|
+
var _a;
|
|
573
|
+
if (props.input && blurChangeValueBol && searchValue.trim() !== '') {
|
|
574
|
+
let arr = '';
|
|
575
|
+
if (multiple) {
|
|
576
|
+
arr = [...valueCom, searchValue];
|
|
577
|
+
} else {
|
|
578
|
+
arr = searchValue;
|
|
579
|
+
}
|
|
580
|
+
if (props.value === undefined) setValueCom(arr);
|
|
581
|
+
onChange && onChange(arr, event);
|
|
582
|
+
setSearchValue('');
|
|
583
|
+
}
|
|
584
|
+
constData.inputOpen = false;
|
|
585
|
+
searchInputProps && ((_a = searchInputProps.onBlur) === null || _a === void 0 ? void 0 : _a.call(searchInputProps, event));
|
|
586
|
+
};
|
|
566
587
|
/**
|
|
567
588
|
* 多选框设置input框长度
|
|
568
589
|
* @param text 文本
|
|
@@ -786,11 +807,7 @@ const Select = props => {
|
|
|
786
807
|
constData.inputOpen = true;
|
|
787
808
|
searchInputProps && ((_a = searchInputProps.onClick) === null || _a === void 0 ? void 0 : _a.call(searchInputProps, event));
|
|
788
809
|
},
|
|
789
|
-
onBlur:
|
|
790
|
-
var _a;
|
|
791
|
-
constData.inputOpen = false;
|
|
792
|
-
searchInputProps && ((_a = searchInputProps.onBlur) === null || _a === void 0 ? void 0 : _a.call(searchInputProps, event));
|
|
793
|
-
},
|
|
810
|
+
onBlur: onBlurSearch,
|
|
794
811
|
className: str,
|
|
795
812
|
value: searchValue,
|
|
796
813
|
onChange: changeSearch,
|
|
@@ -823,7 +840,7 @@ const Select = props => {
|
|
|
823
840
|
})), handInput('radio')]
|
|
824
841
|
})
|
|
825
842
|
});
|
|
826
|
-
}, [multiple, showText, overLineCom, listJson, valueCom, showName, search, searchModel, searchValue, disabled, input, searchInputProps, renderContent]);
|
|
843
|
+
}, [multiple, showText, overLineCom, listJson, valueCom, showName, search, searchModel, searchValue, disabled, input, searchInputProps, renderContent, blurChangeValueBol]);
|
|
827
844
|
// 多选内容
|
|
828
845
|
const CheckMemo = useMemo(() => {
|
|
829
846
|
const handContent = index => {
|
|
@@ -870,7 +887,7 @@ const Select = props => {
|
|
|
870
887
|
})(), handInput('check')]
|
|
871
888
|
}))
|
|
872
889
|
});
|
|
873
|
-
}, [multiple, showText, valueCom, morePos, listJson, disabled, onChange, searchValue, search, searchModel, input, searchInputProps, renderContent]);
|
|
890
|
+
}, [multiple, showText, valueCom, morePos, listJson, disabled, onChange, searchValue, search, searchModel, input, searchInputProps, renderContent, blurChangeValueBol]);
|
|
874
891
|
const clickClean = e => {
|
|
875
892
|
e.stopPropagation();
|
|
876
893
|
let val = '';
|
|
@@ -970,7 +987,7 @@ const Select = props => {
|
|
|
970
987
|
})), RadioMemo, CheckMemo]
|
|
971
988
|
}))
|
|
972
989
|
}));
|
|
973
|
-
}, [posDom, showText, labelMode, placeholder, label, labelSign, required, overLineCom, listJson, valueCom, showName, multiple, morePos, disabled, onChange, searchValue, searchModel, input, showSelect, searchInputProps, allowClear, onClear, openMore, renderContent]);
|
|
990
|
+
}, [posDom, showText, labelMode, placeholder, label, labelSign, required, overLineCom, listJson, valueCom, showName, multiple, morePos, disabled, onChange, searchValue, searchModel, input, showSelect, searchInputProps, allowClear, onClear, openMore, renderContent, blurChangeValueBol]);
|
|
974
991
|
// 下拉框popover 列表
|
|
975
992
|
const SelectPopoverListMemo = useMemo(() => {
|
|
976
993
|
const handClass = () => {
|
package/SelectInput/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import 'rc-tooltip';
|
|
|
17
17
|
import 'rc-tooltip/lib/placements';
|
|
18
18
|
import '@para-ui/icons/Forbid';
|
|
19
19
|
import '@para-ui/icons/Help';
|
|
20
|
-
import '../_verture/index-
|
|
20
|
+
import '../_verture/index-bde7aabe.js';
|
|
21
21
|
import 'rc-dropdown';
|
|
22
22
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
23
23
|
import 'dayjs';
|
package/Selector/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { a as __awaiter, _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
|
2
2
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useRef, useEffect, Fragment as Fragment$1 } from 'react';
|
|
4
4
|
import { _ as _slicedToArray } from '../_verture/slicedToArray-a8206399.js';
|
|
5
|
-
import {
|
|
5
|
+
import { r as regenerator } from '../_verture/index-8ac46bd9.js';
|
|
6
6
|
import { Radio } from '../Radio/index.js';
|
|
7
7
|
import { Checkbox } from '../Checkbox/index.js';
|
|
8
8
|
import { Popover } from '../Popover/index.js';
|
|
@@ -20,6 +20,7 @@ import Refresh from '@para-ui/icons/Refresh';
|
|
|
20
20
|
import { ArrayToObject, Get, Post, Cancel } from '@paraview/lib';
|
|
21
21
|
import { u as useGlobalProps } from '../_verture/useGlobalProps-4ae1a007.js';
|
|
22
22
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
23
|
+
import '../_verture/typeof-6ec38efd.js';
|
|
23
24
|
import '../Label/index.js';
|
|
24
25
|
import '../Help/index.js';
|
|
25
26
|
import '../Tooltip/index.js';
|
|
@@ -36,336 +37,12 @@ import '@para-ui/icons/PreviewClose';
|
|
|
36
37
|
import '@para-ui/icons/PreviewOpen';
|
|
37
38
|
import '@para-ui/icons/CloseCircleF';
|
|
38
39
|
import '../HelperText/index.js';
|
|
39
|
-
import '../_verture/index-
|
|
40
|
+
import '../_verture/index-bde7aabe.js';
|
|
40
41
|
import 'rc-dropdown';
|
|
41
42
|
import 'dayjs';
|
|
42
43
|
import '@para-ui/icons/More';
|
|
43
44
|
import '@para-ui/icons/Return';
|
|
44
45
|
|
|
45
|
-
var regeneratorRuntime$1 = {exports: {}};
|
|
46
|
-
|
|
47
|
-
(function (module) {
|
|
48
|
-
var _typeof$1 = _typeof.exports["default"];
|
|
49
|
-
function _regeneratorRuntime() {
|
|
50
|
-
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
51
|
-
return e;
|
|
52
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
53
|
-
var t,
|
|
54
|
-
e = {},
|
|
55
|
-
r = Object.prototype,
|
|
56
|
-
n = r.hasOwnProperty,
|
|
57
|
-
o = Object.defineProperty || function (t, e, r) {
|
|
58
|
-
t[e] = r.value;
|
|
59
|
-
},
|
|
60
|
-
i = "function" == typeof Symbol ? Symbol : {},
|
|
61
|
-
a = i.iterator || "@@iterator",
|
|
62
|
-
c = i.asyncIterator || "@@asyncIterator",
|
|
63
|
-
u = i.toStringTag || "@@toStringTag";
|
|
64
|
-
function define(t, e, r) {
|
|
65
|
-
return Object.defineProperty(t, e, {
|
|
66
|
-
value: r,
|
|
67
|
-
enumerable: !0,
|
|
68
|
-
configurable: !0,
|
|
69
|
-
writable: !0
|
|
70
|
-
}), t[e];
|
|
71
|
-
}
|
|
72
|
-
try {
|
|
73
|
-
define({}, "");
|
|
74
|
-
} catch (t) {
|
|
75
|
-
define = function define(t, e, r) {
|
|
76
|
-
return t[e] = r;
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
function wrap(t, e, r, n) {
|
|
80
|
-
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
81
|
-
a = Object.create(i.prototype),
|
|
82
|
-
c = new Context(n || []);
|
|
83
|
-
return o(a, "_invoke", {
|
|
84
|
-
value: makeInvokeMethod(t, r, c)
|
|
85
|
-
}), a;
|
|
86
|
-
}
|
|
87
|
-
function tryCatch(t, e, r) {
|
|
88
|
-
try {
|
|
89
|
-
return {
|
|
90
|
-
type: "normal",
|
|
91
|
-
arg: t.call(e, r)
|
|
92
|
-
};
|
|
93
|
-
} catch (t) {
|
|
94
|
-
return {
|
|
95
|
-
type: "throw",
|
|
96
|
-
arg: t
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
e.wrap = wrap;
|
|
101
|
-
var h = "suspendedStart",
|
|
102
|
-
l = "suspendedYield",
|
|
103
|
-
f = "executing",
|
|
104
|
-
s = "completed",
|
|
105
|
-
y = {};
|
|
106
|
-
function Generator() {}
|
|
107
|
-
function GeneratorFunction() {}
|
|
108
|
-
function GeneratorFunctionPrototype() {}
|
|
109
|
-
var p = {};
|
|
110
|
-
define(p, a, function () {
|
|
111
|
-
return this;
|
|
112
|
-
});
|
|
113
|
-
var d = Object.getPrototypeOf,
|
|
114
|
-
v = d && d(d(values([])));
|
|
115
|
-
v && v !== r && n.call(v, a) && (p = v);
|
|
116
|
-
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
117
|
-
function defineIteratorMethods(t) {
|
|
118
|
-
["next", "throw", "return"].forEach(function (e) {
|
|
119
|
-
define(t, e, function (t) {
|
|
120
|
-
return this._invoke(e, t);
|
|
121
|
-
});
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
function AsyncIterator(t, e) {
|
|
125
|
-
function invoke(r, o, i, a) {
|
|
126
|
-
var c = tryCatch(t[r], t, o);
|
|
127
|
-
if ("throw" !== c.type) {
|
|
128
|
-
var u = c.arg,
|
|
129
|
-
h = u.value;
|
|
130
|
-
return h && "object" == _typeof$1(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
131
|
-
invoke("next", t, i, a);
|
|
132
|
-
}, function (t) {
|
|
133
|
-
invoke("throw", t, i, a);
|
|
134
|
-
}) : e.resolve(h).then(function (t) {
|
|
135
|
-
u.value = t, i(u);
|
|
136
|
-
}, function (t) {
|
|
137
|
-
return invoke("throw", t, i, a);
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
a(c.arg);
|
|
141
|
-
}
|
|
142
|
-
var r;
|
|
143
|
-
o(this, "_invoke", {
|
|
144
|
-
value: function value(t, n) {
|
|
145
|
-
function callInvokeWithMethodAndArg() {
|
|
146
|
-
return new e(function (e, r) {
|
|
147
|
-
invoke(t, n, e, r);
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
151
|
-
}
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
function makeInvokeMethod(e, r, n) {
|
|
155
|
-
var o = h;
|
|
156
|
-
return function (i, a) {
|
|
157
|
-
if (o === f) throw Error("Generator is already running");
|
|
158
|
-
if (o === s) {
|
|
159
|
-
if ("throw" === i) throw a;
|
|
160
|
-
return {
|
|
161
|
-
value: t,
|
|
162
|
-
done: !0
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
for (n.method = i, n.arg = a;;) {
|
|
166
|
-
var c = n.delegate;
|
|
167
|
-
if (c) {
|
|
168
|
-
var u = maybeInvokeDelegate(c, n);
|
|
169
|
-
if (u) {
|
|
170
|
-
if (u === y) continue;
|
|
171
|
-
return u;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
175
|
-
if (o === h) throw o = s, n.arg;
|
|
176
|
-
n.dispatchException(n.arg);
|
|
177
|
-
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
178
|
-
o = f;
|
|
179
|
-
var p = tryCatch(e, r, n);
|
|
180
|
-
if ("normal" === p.type) {
|
|
181
|
-
if (o = n.done ? s : l, p.arg === y) continue;
|
|
182
|
-
return {
|
|
183
|
-
value: p.arg,
|
|
184
|
-
done: n.done
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
188
|
-
}
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
function maybeInvokeDelegate(e, r) {
|
|
192
|
-
var n = r.method,
|
|
193
|
-
o = e.iterator[n];
|
|
194
|
-
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
195
|
-
var i = tryCatch(o, e.iterator, r.arg);
|
|
196
|
-
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
197
|
-
var a = i.arg;
|
|
198
|
-
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
199
|
-
}
|
|
200
|
-
function pushTryEntry(t) {
|
|
201
|
-
var e = {
|
|
202
|
-
tryLoc: t[0]
|
|
203
|
-
};
|
|
204
|
-
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
205
|
-
}
|
|
206
|
-
function resetTryEntry(t) {
|
|
207
|
-
var e = t.completion || {};
|
|
208
|
-
e.type = "normal", delete e.arg, t.completion = e;
|
|
209
|
-
}
|
|
210
|
-
function Context(t) {
|
|
211
|
-
this.tryEntries = [{
|
|
212
|
-
tryLoc: "root"
|
|
213
|
-
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
214
|
-
}
|
|
215
|
-
function values(e) {
|
|
216
|
-
if (e || "" === e) {
|
|
217
|
-
var r = e[a];
|
|
218
|
-
if (r) return r.call(e);
|
|
219
|
-
if ("function" == typeof e.next) return e;
|
|
220
|
-
if (!isNaN(e.length)) {
|
|
221
|
-
var o = -1,
|
|
222
|
-
i = function next() {
|
|
223
|
-
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
224
|
-
return next.value = t, next.done = !0, next;
|
|
225
|
-
};
|
|
226
|
-
return i.next = i;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
throw new TypeError(_typeof$1(e) + " is not iterable");
|
|
230
|
-
}
|
|
231
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
232
|
-
value: GeneratorFunctionPrototype,
|
|
233
|
-
configurable: !0
|
|
234
|
-
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
235
|
-
value: GeneratorFunction,
|
|
236
|
-
configurable: !0
|
|
237
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
238
|
-
var e = "function" == typeof t && t.constructor;
|
|
239
|
-
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
240
|
-
}, e.mark = function (t) {
|
|
241
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
242
|
-
}, e.awrap = function (t) {
|
|
243
|
-
return {
|
|
244
|
-
__await: t
|
|
245
|
-
};
|
|
246
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
247
|
-
return this;
|
|
248
|
-
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
249
|
-
void 0 === i && (i = Promise);
|
|
250
|
-
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
251
|
-
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
252
|
-
return t.done ? t.value : a.next();
|
|
253
|
-
});
|
|
254
|
-
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
255
|
-
return this;
|
|
256
|
-
}), define(g, "toString", function () {
|
|
257
|
-
return "[object Generator]";
|
|
258
|
-
}), e.keys = function (t) {
|
|
259
|
-
var e = Object(t),
|
|
260
|
-
r = [];
|
|
261
|
-
for (var n in e) r.push(n);
|
|
262
|
-
return r.reverse(), function next() {
|
|
263
|
-
for (; r.length;) {
|
|
264
|
-
var t = r.pop();
|
|
265
|
-
if (t in e) return next.value = t, next.done = !1, next;
|
|
266
|
-
}
|
|
267
|
-
return next.done = !0, next;
|
|
268
|
-
};
|
|
269
|
-
}, e.values = values, Context.prototype = {
|
|
270
|
-
constructor: Context,
|
|
271
|
-
reset: function reset(e) {
|
|
272
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
273
|
-
},
|
|
274
|
-
stop: function stop() {
|
|
275
|
-
this.done = !0;
|
|
276
|
-
var t = this.tryEntries[0].completion;
|
|
277
|
-
if ("throw" === t.type) throw t.arg;
|
|
278
|
-
return this.rval;
|
|
279
|
-
},
|
|
280
|
-
dispatchException: function dispatchException(e) {
|
|
281
|
-
if (this.done) throw e;
|
|
282
|
-
var r = this;
|
|
283
|
-
function handle(n, o) {
|
|
284
|
-
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
285
|
-
}
|
|
286
|
-
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
287
|
-
var i = this.tryEntries[o],
|
|
288
|
-
a = i.completion;
|
|
289
|
-
if ("root" === i.tryLoc) return handle("end");
|
|
290
|
-
if (i.tryLoc <= this.prev) {
|
|
291
|
-
var c = n.call(i, "catchLoc"),
|
|
292
|
-
u = n.call(i, "finallyLoc");
|
|
293
|
-
if (c && u) {
|
|
294
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
295
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
296
|
-
} else if (c) {
|
|
297
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
298
|
-
} else {
|
|
299
|
-
if (!u) throw Error("try statement without catch or finally");
|
|
300
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
abrupt: function abrupt(t, e) {
|
|
306
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
307
|
-
var o = this.tryEntries[r];
|
|
308
|
-
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
309
|
-
var i = o;
|
|
310
|
-
break;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
314
|
-
var a = i ? i.completion : {};
|
|
315
|
-
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
316
|
-
},
|
|
317
|
-
complete: function complete(t, e) {
|
|
318
|
-
if ("throw" === t.type) throw t.arg;
|
|
319
|
-
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
|
320
|
-
},
|
|
321
|
-
finish: function finish(t) {
|
|
322
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
323
|
-
var r = this.tryEntries[e];
|
|
324
|
-
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
"catch": function _catch(t) {
|
|
328
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
329
|
-
var r = this.tryEntries[e];
|
|
330
|
-
if (r.tryLoc === t) {
|
|
331
|
-
var n = r.completion;
|
|
332
|
-
if ("throw" === n.type) {
|
|
333
|
-
var o = n.arg;
|
|
334
|
-
resetTryEntry(r);
|
|
335
|
-
}
|
|
336
|
-
return o;
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
throw Error("illegal catch attempt");
|
|
340
|
-
},
|
|
341
|
-
delegateYield: function delegateYield(e, r, n) {
|
|
342
|
-
return this.delegate = {
|
|
343
|
-
iterator: values(e),
|
|
344
|
-
resultName: r,
|
|
345
|
-
nextLoc: n
|
|
346
|
-
}, "next" === this.method && (this.arg = t), y;
|
|
347
|
-
}
|
|
348
|
-
}, e;
|
|
349
|
-
}
|
|
350
|
-
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
351
|
-
} (regeneratorRuntime$1));
|
|
352
|
-
|
|
353
|
-
// TODO(Babel 8): Remove this file.
|
|
354
|
-
|
|
355
|
-
var runtime = regeneratorRuntime$1.exports();
|
|
356
|
-
var regenerator = runtime;
|
|
357
|
-
|
|
358
|
-
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
359
|
-
try {
|
|
360
|
-
regeneratorRuntime = runtime;
|
|
361
|
-
} catch (accidentalStrictMode) {
|
|
362
|
-
if (typeof globalThis === "object") {
|
|
363
|
-
globalThis.regeneratorRuntime = runtime;
|
|
364
|
-
} else {
|
|
365
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
|
|
369
46
|
var en = {
|
|
370
47
|
root: 'root',
|
|
371
48
|
selectAll: 'Select all',
|