@para-ui/core 3.0.86 → 4.0.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AutoBox/index.js +18 -19
- package/AutoTips/index.js +5 -4
- package/Breadcrumbs/index.js +5 -4
- package/Button/SplitButton.d.ts +13 -0
- package/Button/index.d.ts +1 -1
- package/Button/index.js +54 -12
- package/ButtonGroup/index.js +6 -5
- package/Carousel/index.d.ts +5 -5
- package/Carousel/index.js +21 -9
- package/Cascader/Cascader.d.ts +99 -0
- package/Cascader/OptionList/CacheContent.d.ts +7 -0
- package/Cascader/OptionList/Column.d.ts +21 -0
- package/Cascader/OptionList/index.d.ts +4 -0
- package/Cascader/OptionList/useActive.d.ts +6 -0
- package/Cascader/context.d.ts +23 -0
- package/Cascader/hooks/useDisplayValues.d.ts +10 -0
- package/Cascader/hooks/useEntities.d.ts +10 -0
- package/Cascader/hooks/useMissingValues.d.ts +3 -0
- package/Cascader/index.d.ts +3 -58
- package/Cascader/index.js +28 -177
- package/Cascader/utils/commonUtil.d.ts +18 -0
- package/Cascader/utils/treeUtil.d.ts +55 -0
- package/Checkbox/index.d.ts +7 -0
- package/Checkbox/index.js +50 -29
- package/CheckboxGroup/index.d.ts +3 -1
- package/CheckboxGroup/index.js +48 -18
- package/Collapse/index.js +2 -2
- package/Collapse/motion.d.ts +0 -2
- package/CollapseBox/index.js +3 -3
- package/CollapseLayout/index.d.ts +5 -0
- package/CollapseLayout/index.js +144 -22
- package/ColorPicker/chromePicker/index.d.ts +9 -0
- package/ColorPicker/compactPicker/index.d.ts +9 -0
- package/ColorPicker/config.d.ts +5 -0
- package/ColorPicker/index.d.ts +4 -1
- package/ColorPicker/index.js +7 -3
- package/ColorPicker/sketchPicker/index.d.ts +11 -0
- package/ColorPicker/swatchesPicker/index.d.ts +9 -0
- package/ComboSelect/index.js +14 -12
- package/Container/index.js +2 -2
- package/CopyText/index.d.ts +33 -0
- package/CopyText/index.js +180 -0
- package/DatePicker/generatePicker/generateRangePicker.d.ts +9 -2
- package/DatePicker/generatePicker/generateSinglePicker.d.ts +8 -8
- package/DatePicker/generatePicker/index.d.ts +32 -26
- package/DatePicker/generatePicker/interface.d.ts +12 -0
- package/DatePicker/index.d.ts +12 -8
- package/DatePicker/index.js +367 -454
- package/DatePicker/util.d.ts +40 -4
- package/Desktop/index.d.ts +16 -3
- package/Desktop/index.js +177 -68
- package/Desktop/lang/en_US.d.ts +6 -0
- package/Desktop/lang/index.d.ts +13 -0
- package/Desktop/lang/zh_CN.d.ts +6 -0
- package/DragVerify/index.js +9 -100
- package/Drawer/index.js +8 -8
- package/Drawer/interface.d.ts +2 -2
- package/Dropdown/index.js +2 -2
- package/DynamicMultiBox/index.js +57 -41
- package/DynamicMultiBox/interface.d.ts +4 -4
- package/Empty/index.js +2 -2
- package/Form/index.d.ts +20 -26
- package/Form/index.js +48 -69
- package/FormItem/index.js +15 -15
- package/FunctionModal/index.js +11 -9
- package/GlobalContext/constant.d.ts +1 -1
- package/GlobalContext/index.js +2 -2
- package/Help/index.js +4 -3
- package/HelperText/index.js +2 -2
- package/InputLang/index.d.ts +5 -0
- package/InputLang/index.js +35 -29
- package/InputNumber/index.d.ts +5 -0
- package/InputNumber/index.js +95 -80
- package/Label/index.js +4 -3
- package/Loading/index.js +2 -2
- package/Menu/index.js +114 -39
- package/Menu/interface.d.ts +8 -0
- package/Message/index.d.ts +4 -4
- package/Message/index.js +13 -11
- package/Modal/index.js +29 -15
- package/MultiBox/index.js +9 -8
- package/Notification/index.d.ts +9 -1
- package/Notification/index.js +29 -15
- package/OperateBtn/index.js +28 -11
- package/PageHeader/index.js +270 -74
- package/PageHeader/interface.d.ts +17 -0
- package/Pagination/index.d.ts +4 -3
- package/Pagination/index.js +117 -95
- package/Pagination/lang/en_US.d.ts +3 -2
- package/Pagination/lang/index.d.ts +6 -4
- package/Pagination/lang/zh_CN.d.ts +3 -2
- package/ParauiProvider/index.js +4 -4
- package/PasswordRules/index.js +5 -5
- package/PopConfirm/index.d.ts +15 -5
- package/PopConfirm/index.js +62 -16
- package/Popover/index.js +4 -3
- package/Progress/index.js +10 -9
- package/Querying/index.js +7 -7
- package/README.md +40 -1120
- package/Radio/index.d.ts +7 -0
- package/Radio/index.js +49 -27
- package/RadioGroup/index.d.ts +3 -1
- package/RadioGroup/index.js +48 -21
- package/Search/index.d.ts +3 -15
- package/Search/index.js +21 -83
- package/Select/index.d.ts +7 -2
- package/Select/index.js +114 -91
- package/Select/lang/en_US.d.ts +1 -1
- package/Select/lang/index.d.ts +2 -2
- package/Select/lang/zh_CN.d.ts +1 -1
- package/SelectInput/index.js +8 -7
- package/Selector/index.js +30 -22
- package/SelectorPicker/index.d.ts +5 -0
- package/SelectorPicker/index.js +47 -32
- package/SelectorPicker/lang/en_US.d.ts +1 -0
- package/SelectorPicker/lang/index.d.ts +2 -0
- package/SelectorPicker/lang/zh_CN.d.ts +1 -0
- package/SingleBox/index.js +8 -7
- package/Slider/index.js +5 -5
- package/Status/index.d.ts +6 -5
- package/Status/index.js +27 -4
- package/Stepper/index.d.ts +9 -10
- package/Stepper/index.js +69 -29
- package/Styles/index.scss +4 -0
- package/Styles/scrollbar.scss +24 -24
- package/Styles/theme.scss +104 -57
- package/Switch/index.d.ts +34 -14
- package/Switch/index.js +97 -30
- package/Table/index.js +33 -27
- package/Table/interface.d.ts +3 -1
- package/Table/tableHeadInterface.d.ts +1 -1
- package/Table/tablePaginationInterface.d.ts +5 -5
- package/Tabs/index.d.ts +11 -1
- package/Tabs/index.js +49 -16
- package/Tag/TagGroup.d.ts +11 -7
- package/Tag/index.d.ts +22 -7
- package/Tag/index.js +1382 -53
- package/TextEditor/index.js +4 -3
- package/TextField/index.d.ts +5 -0
- package/TextField/index.js +50 -32
- package/TimePicker/index.d.ts +5 -0
- package/TimePicker/index.js +39 -23
- package/Timeline/TimelineItem.d.ts +1 -1
- package/Timeline/index.d.ts +5 -5
- package/Timeline/index.js +21 -18
- package/Title/index.d.ts +15 -3
- package/Title/index.js +95 -29
- package/ToggleButton/ToggleButtonGroup.d.ts +1 -0
- package/ToggleButton/index.d.ts +4 -0
- package/ToggleButton/index.js +14 -52
- package/Tooltip/index.js +28 -34
- package/Tooltip/interface.d.ts +4 -10
- package/Tooltip/utils.d.ts +1 -3
- package/Transfer/index.d.ts +3 -3
- package/Transfer/index.js +72 -68
- package/Tree/Tree.d.ts +2 -2
- package/Tree/index.js +10 -9
- package/Tree/utils/treeUtil.d.ts +0 -7
- package/Upload/index.js +16 -14
- package/_verture/{constant-66aa48a1.js → constant-0d9802f7.js} +1 -1
- package/_verture/{defineProperty-62acccfc.js → defineProperty-1d116156.js} +1 -1
- package/_verture/index-5c77417d.js +150 -0
- package/_verture/index-68db2bc3.js +10530 -0
- package/_verture/{index-9738004e.js → index-7ec72724.js} +44 -38
- package/_verture/index-d63bd287.js +327 -0
- package/_verture/{index-fa8a0124.js → index-e6f85fd5.js} +7 -8
- package/_verture/{index-77f9e0fb.js → index-e9007d6a.js} +6 -6
- package/_verture/{intl-4a9f1b44.js → intl-5c1ec055.js} +1 -1
- package/_verture/{modalContext-20780c9a.js → modalContext-c12ca3e8.js} +3 -3
- package/_verture/slicedToArray-a8206399.js +43 -0
- package/_verture/{toConsumableArray-81040c9e.js → toConsumableArray-8f4c9589.js} +1 -1
- package/_verture/typeof-adeedc13.js +11 -0
- package/_verture/typeof-b240b062.js +16 -0
- package/_verture/{utils-c9b9a157.js → utils-f0e81540.js} +8 -8
- package/index.d.ts +2 -2
- package/index.js +32 -27
- package/locale/en-US.d.ts +10 -6
- package/locale/index.d.ts +20 -12
- package/locale/index.js +33 -25
- package/locale/zh-CN.d.ts +10 -6
- package/package.json +25 -11
- package/umd/AutoBox.js +20 -21
- package/umd/AutoTips.js +31 -4
- package/umd/Breadcrumbs.js +7 -7
- package/umd/Button.js +7 -8
- package/umd/ButtonGroup.js +7 -8
- package/umd/Carousel.js +29 -1
- package/umd/Cascader.js +20 -21
- package/umd/Checkbox.js +7 -7
- package/umd/CheckboxGroup.js +7 -7
- package/umd/Collapse.js +19 -21
- package/umd/CollapseBox.js +1 -1
- package/umd/CollapseLayout.js +4 -4
- package/umd/ColorPicker.js +1 -1
- package/umd/ComboSelect.js +7 -7
- package/umd/Container.js +1 -1
- package/umd/CopyText.js +42 -0
- package/umd/DatePicker.js +7 -7
- package/umd/Desktop.js +7 -7
- package/umd/DragVerify.js +4 -4
- package/umd/Drawer.js +7 -8
- package/umd/Dropdown.js +3 -3
- package/umd/DynamicMultiBox.js +7 -7
- package/umd/Empty.js +1 -1
- package/umd/Form.js +6 -6
- package/umd/FormItem.js +6 -6
- package/umd/FunctionModal.js +7 -7
- package/umd/Help.js +7 -7
- package/umd/HelperText.js +1 -1
- package/umd/InputLang.js +7 -7
- package/umd/InputNumber.js +7 -7
- package/umd/Label.js +7 -7
- package/umd/Loading.js +4 -5
- package/umd/Menu.js +4 -4
- package/umd/Message.js +3 -4
- package/umd/Modal.js +7 -7
- package/umd/MultiBox.js +7 -7
- package/umd/Notification.js +5 -6
- package/umd/OperateBtn.js +7 -7
- package/umd/PageHeader.js +7 -7
- package/umd/Pagination.js +7 -7
- package/umd/ParauiProvider.js +1 -1
- package/umd/PasswordRules.js +3 -4
- package/umd/PopConfirm.js +7 -7
- package/umd/Popover.js +31 -4
- package/umd/Progress.js +4 -5
- package/umd/Querying.js +1 -1
- package/umd/Radio.js +7 -7
- package/umd/RadioGroup.js +7 -7
- package/umd/Search.js +7 -7
- package/umd/Select.js +7 -7
- package/umd/SelectInput.js +7 -7
- package/umd/Selector.js +7 -7
- package/umd/SelectorPicker.js +7 -7
- package/umd/SingleBox.js +7 -7
- package/umd/Slider.js +3 -3
- package/umd/Status.js +29 -1
- package/umd/Stepper.js +20 -20
- package/umd/Switch.js +7 -7
- package/umd/Table.js +7 -7
- package/umd/Tabs.js +7 -7
- package/umd/Tag.js +7 -8
- package/umd/TextEditor.js +19 -19
- package/umd/TextField.js +7 -7
- package/umd/TimePicker.js +7 -7
- package/umd/Timeline.js +1 -1
- package/umd/Title.js +42 -1
- package/umd/ToggleButton.js +7 -8
- package/umd/Tooltip.js +31 -4
- package/umd/Transfer.js +8 -8
- package/umd/Tree.js +7 -7
- package/umd/Upload.js +8 -8
- package/umd/locale.js +1 -1
- package/Cascader/lang/en_US.d.ts +0 -4
- package/Cascader/lang/index.d.ts +0 -9
- package/Cascader/lang/zh_CN.d.ts +0 -4
- package/Split/index.d.ts +0 -7
- package/Split/index.js +0 -123
- package/_verture/index-a369ca3f.js +0 -4
- package/_verture/index-beef914f.js +0 -340
- package/_verture/slicedToArray-76060636.js +0 -43
- package/_verture/typeof-498dd2b1.js +0 -11
- package/umd/Split.js +0 -1
package/PopConfirm/index.js
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-a8206399.js';
|
|
2
2
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
3
3
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
4
|
-
import
|
|
4
|
+
import { useRef, useState, useMemo, useEffect } from 'react';
|
|
5
5
|
import CompleteIcon from '@para-ui/icons/CheckCircleF';
|
|
6
6
|
import InfoOutlined from '@para-ui/icons/WarningCircle';
|
|
7
|
-
import
|
|
7
|
+
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
8
8
|
import WarningCircleF from '@para-ui/icons/WarningCircleF';
|
|
9
9
|
import { Button } from '../Button/index.js';
|
|
10
10
|
import { Tooltip } from '../Tooltip/index.js';
|
|
11
11
|
import clsx from 'clsx';
|
|
12
12
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js';
|
|
13
|
-
import { $ as $prefixCls } from '../_verture/constant-
|
|
13
|
+
import { $ as $prefixCls } from '../_verture/constant-0d9802f7.js';
|
|
14
14
|
import { u as usePopupContainer } from '../_verture/usePopupContainer-87febeb9.js';
|
|
15
15
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
16
16
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
17
|
-
import '../_verture/typeof-
|
|
17
|
+
import '../_verture/typeof-adeedc13.js';
|
|
18
18
|
import '@para-ui/icons/LoadingF';
|
|
19
19
|
import '@para-ui/icons/Forbid';
|
|
20
20
|
import '@para-ui/icons/Down';
|
|
21
|
-
import '../_verture/index-
|
|
21
|
+
import '../_verture/index-e9007d6a.js';
|
|
22
22
|
import 'rc-dropdown';
|
|
23
23
|
import 'dayjs';
|
|
24
24
|
import '@paraview/lib';
|
|
25
|
+
import '../AutoTips/index.js';
|
|
25
26
|
import 'rc-tooltip';
|
|
26
27
|
import 'rc-tooltip/lib/placements';
|
|
27
28
|
import '@para-ui/core/GlobalContext';
|
|
@@ -41,15 +42,15 @@ var localeJson = {
|
|
|
41
42
|
en: en
|
|
42
43
|
};
|
|
43
44
|
|
|
44
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/2 下午1:44\n* @description\n*/\n/**\n* @author
|
|
45
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/2 下午1:44\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-popconfirm.paraui-v4-tooltip {\n position: absolute;\n width: 440px;\n padding: 0;\n font-size: 14px;\n color: initial;\n background-color: rgb(255, 255, 255);\n box-shadow: 0px 2px 8px 0px rgb(234, 236, 241);\n border-radius: 8px;\n}\n.paraui-v4-popconfirm.paraui-v4-tooltip .component-tooltip-inner {\n padding: 0;\n color: initial;\n background-color: transparent;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper {\n padding: 16px;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message {\n position: relative;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-icon {\n position: absolute;\n top: 2px;\n color: rgb(255, 147, 38);\n line-height: 0;\n font-size: 500;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-icon svg {\n color: inherit;\n font-size: inherit;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-body {\n padding-left: 24px;\n line-height: 20px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-title {\n font-weight: 600;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-content {\n font-weight: 400;\n margin-top: 10px;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-message-description {\n margin-top: 4px;\n color: rgb(92, 101, 115);\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-btns {\n margin-top: 12px;\n text-align: right;\n}\n.paraui-v4-popconfirm .popconfirm-wrapper .popconfirm-btns > button + button {\n margin-left: 12px;\n}\n.paraui-v4-popconfirm .paraui-v4-popconfirm-btn {\n min-width: 54px;\n}";
|
|
45
46
|
styleInject(css_248z);
|
|
46
47
|
|
|
47
48
|
//图标
|
|
48
49
|
var iconMapping = {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
success: jsx(CompleteIcon, {}),
|
|
51
|
+
warning: jsx(WarningCircleF, {}),
|
|
52
|
+
error: jsx(CloseCircleF, {}),
|
|
53
|
+
info: jsx(InfoOutlined, {})
|
|
53
54
|
};
|
|
54
55
|
//popConfirm
|
|
55
56
|
var PopConfirm = function PopConfirm(props) {
|
|
@@ -59,6 +60,7 @@ var PopConfirm = function PopConfirm(props) {
|
|
|
59
60
|
type = _props$type === void 0 ? 'warning' : _props$type,
|
|
60
61
|
title = props.title,
|
|
61
62
|
content = props.content,
|
|
63
|
+
description = props.description,
|
|
62
64
|
icon = props.icon,
|
|
63
65
|
okText = props.okText,
|
|
64
66
|
cancelText = props.cancelText,
|
|
@@ -80,18 +82,53 @@ var PopConfirm = function PopConfirm(props) {
|
|
|
80
82
|
showCancel = _props$showCancel === void 0 ? true : _props$showCancel,
|
|
81
83
|
_props$bubble = props.bubble,
|
|
82
84
|
bubble = _props$bubble === void 0 ? true : _props$bubble,
|
|
85
|
+
okButtonDanger = props.okButtonDanger,
|
|
86
|
+
countdown = props.countdown,
|
|
87
|
+
_props$countdownTime = props.countdownTime,
|
|
88
|
+
countdownTime = _props$countdownTime === void 0 ? 5 : _props$countdownTime,
|
|
83
89
|
actions = props.actions,
|
|
84
90
|
onClose = props.onClose,
|
|
91
|
+
onCountdownFinish = props.onCountdownFinish,
|
|
85
92
|
customizeContainer = props.getPopupContainer,
|
|
86
|
-
restProps = __rest(props, ["trigger", "type", "title", "content", "icon", "okText", "cancelText", "onOk", "onCancel", "okButtonProps", "cancelButtonProps", "placement", "className", "overlayClassName", "style", "children", "open", "controllable", "showCancel", "bubble", "actions", "onClose", "getPopupContainer"]);
|
|
93
|
+
restProps = __rest(props, ["trigger", "type", "title", "content", "description", "icon", "okText", "cancelText", "onOk", "onCancel", "okButtonProps", "cancelButtonProps", "placement", "className", "overlayClassName", "style", "children", "open", "controllable", "showCancel", "bubble", "okButtonDanger", "countdown", "countdownTime", "actions", "onClose", "onCountdownFinish", "getPopupContainer"]);
|
|
87
94
|
var intl = useFormatMessage('PopConfirm', localeJson);
|
|
88
|
-
var wrapRef =
|
|
95
|
+
var wrapRef = useRef();
|
|
89
96
|
var getPopupContainer = usePopupContainer(wrapRef, customizeContainer);
|
|
90
97
|
//打开
|
|
91
98
|
var _useState = useState(false),
|
|
92
99
|
_useState2 = _slicedToArray(_useState, 2),
|
|
93
100
|
inOpen = _useState2[0],
|
|
94
101
|
setInOpen = _useState2[1];
|
|
102
|
+
var countdownTimer = useRef();
|
|
103
|
+
var _useState3 = useState(countdownTime),
|
|
104
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
105
|
+
inCountdownTime = _useState4[0],
|
|
106
|
+
setInCountdownTime = _useState4[1];
|
|
107
|
+
var isCountting = useMemo(function () {
|
|
108
|
+
return countdown && inCountdownTime >= 1;
|
|
109
|
+
}, [countdown, inCountdownTime]);
|
|
110
|
+
useEffect(function () {
|
|
111
|
+
if (countdown) {
|
|
112
|
+
if (inOpen) {
|
|
113
|
+
setInCountdownTime(countdownTime);
|
|
114
|
+
countdownTimer.current = setInterval(function () {
|
|
115
|
+
setInCountdownTime(function (pre) {
|
|
116
|
+
if (pre <= 1) {
|
|
117
|
+
onCountdownFinish === null || onCountdownFinish === void 0 ? void 0 : onCountdownFinish();
|
|
118
|
+
clearInterval(countdownTimer.current);
|
|
119
|
+
return 0;
|
|
120
|
+
}
|
|
121
|
+
return pre - 1;
|
|
122
|
+
});
|
|
123
|
+
}, 1000);
|
|
124
|
+
} else {
|
|
125
|
+
clearInterval(countdownTimer.current);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return function () {
|
|
129
|
+
clearInterval(countdownTimer.current);
|
|
130
|
+
};
|
|
131
|
+
}, [inOpen, countdown]);
|
|
95
132
|
//取消
|
|
96
133
|
var handleCancel = function handleCancel() {
|
|
97
134
|
onCancel === null || onCancel === void 0 ? void 0 : onCancel();
|
|
@@ -119,12 +156,13 @@ var PopConfirm = function PopConfirm(props) {
|
|
|
119
156
|
}
|
|
120
157
|
};
|
|
121
158
|
useEffect(function () {
|
|
122
|
-
|
|
159
|
+
controllable && setInOpen(open);
|
|
123
160
|
}, [open]);
|
|
124
161
|
//渲染内容
|
|
125
162
|
var renderOverlay = function renderOverlay() {
|
|
126
163
|
var btns = jsxs(Fragment, {
|
|
127
164
|
children: [showCancel && jsx(Button, Object.assign({
|
|
165
|
+
className: "".concat($prefixCls, "-popconfirm-btn"),
|
|
128
166
|
onClick: handleCancel,
|
|
129
167
|
variant: 'outlined',
|
|
130
168
|
size: 'small'
|
|
@@ -133,11 +171,15 @@ var PopConfirm = function PopConfirm(props) {
|
|
|
133
171
|
id: 'cancel'
|
|
134
172
|
})
|
|
135
173
|
})), jsx(Button, Object.assign({
|
|
174
|
+
className: "".concat($prefixCls, "-popconfirm-btn"),
|
|
136
175
|
onClick: handleOk,
|
|
137
176
|
variant: 'contained',
|
|
138
177
|
size: 'small'
|
|
139
178
|
}, okButtonProps, {
|
|
140
|
-
|
|
179
|
+
danger: okButtonDanger !== null && okButtonDanger !== void 0 ? okButtonDanger : okButtonProps === null || okButtonProps === void 0 ? void 0 : okButtonProps.danger,
|
|
180
|
+
disabled: isCountting ? true : okButtonProps === null || okButtonProps === void 0 ? void 0 : okButtonProps.disabled
|
|
181
|
+
}, {
|
|
182
|
+
children: isCountting ? "".concat(inCountdownTime, "s") : okText !== null && okText !== void 0 ? okText : intl({
|
|
141
183
|
id: 'ok'
|
|
142
184
|
})
|
|
143
185
|
}))]
|
|
@@ -163,10 +205,14 @@ var PopConfirm = function PopConfirm(props) {
|
|
|
163
205
|
className: 'popconfirm-message-title'
|
|
164
206
|
}, {
|
|
165
207
|
children: title
|
|
166
|
-
})), jsx("div", Object.assign({
|
|
208
|
+
})), content && jsx("div", Object.assign({
|
|
167
209
|
className: 'popconfirm-message-content'
|
|
168
210
|
}, {
|
|
169
211
|
children: content
|
|
212
|
+
})), description && jsx("div", Object.assign({
|
|
213
|
+
className: 'popconfirm-message-description'
|
|
214
|
+
}, {
|
|
215
|
+
children: description
|
|
170
216
|
}))]
|
|
171
217
|
}))]
|
|
172
218
|
})), jsx("div", Object.assign({
|
package/Popover/index.js
CHANGED
|
@@ -2,16 +2,17 @@ import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
import { Tooltip } from '../Tooltip/index.js';
|
|
5
|
-
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-
|
|
5
|
+
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-0d9802f7.js';
|
|
6
6
|
import { u as usePopupContainer } from '../_verture/usePopupContainer-87febeb9.js';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
9
|
-
import '../_verture/slicedToArray-
|
|
9
|
+
import '../_verture/slicedToArray-a8206399.js';
|
|
10
10
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
11
11
|
import 'rc-tooltip';
|
|
12
12
|
import 'rc-tooltip/lib/placements';
|
|
13
|
+
import '@para-ui/icons/Forbid';
|
|
13
14
|
|
|
14
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/6/7 上午11:06\n* @description\n*/\n/**\n* @author
|
|
15
|
+
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-inner {\n background-color: rgb(255, 255, 255);\n background-clip: padding-box;\n border-radius: 4px;\n box-shadow: 0px 2px 8px 0px rgb(234, 236, 241);\n}\n.paraui-v4-popover .component-popover-title {\n margin: 0;\n padding: 0 24px;\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}";
|
|
15
16
|
styleInject(css_248z);
|
|
16
17
|
|
|
17
18
|
//popover
|
package/Progress/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { Circle } from 'rc-progress';
|
|
4
4
|
import CompleteIcon from '@para-ui/icons/CheckCircleF';
|
|
5
|
-
import
|
|
5
|
+
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
6
6
|
import Check from '@para-ui/icons/Check';
|
|
7
7
|
import CloseIcon from '@para-ui/icons/Close';
|
|
8
|
-
import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-
|
|
8
|
+
import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-0d9802f7.js';
|
|
9
9
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
10
10
|
|
|
11
11
|
var Steps = function Steps(props) {
|
|
@@ -156,7 +156,7 @@ var Line = function Line(props) {
|
|
|
156
156
|
}));
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author
|
|
159
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-progress.paraui-v4-progress-line .progress-outer {\n display: flex;\n /*margin-right: 8px;\n margin-bottom: 8px;*/\n}\n.paraui-v4-progress.paraui-v4-progress-line .progress-outer .progress-inner {\n width: 100%;\n display: flex;\n align-items: center;\n /*.component-progress-line {\n height: 10px;\n width: 100%;\n }*/\n}\n.paraui-v4-progress.paraui-v4-progress-line .progress-outer .progress-inner .steps-outer {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n.paraui-v4-progress.paraui-v4-progress-line .progress-outer .progress-inner .steps-outer .steps-item {\n flex-shrink: 0;\n min-width: 2px;\n margin-right: 2px;\n background: rgb(234, 236, 241);\n transition: all 0.3s;\n}\n.paraui-v4-progress.paraui-v4-progress-line .progress-outer .progress-inner .steps-outer .steps-item-active {\n background-color: rgb(46, 101, 230);\n}\n.paraui-v4-progress.paraui-v4-progress-line .progress-outer .progress-inner .trail-bar {\n position: relative;\n display: inline-block;\n width: 100%;\n overflow: hidden;\n vertical-align: middle;\n background-color: rgb(234, 236, 241);\n border-radius: 100px;\n}\n.paraui-v4-progress.paraui-v4-progress-line .progress-outer .progress-inner .trail-bar .active-bar {\n position: relative;\n background-color: rgb(46, 101, 230);\n border-radius: 100px;\n transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s;\n}\n.paraui-v4-progress.paraui-v4-progress-line .progress-outer .progress-text {\n min-width: 40px;\n font-size: 14px;\n font-weight: 500;\n text-align: left;\n color: rgb(46, 101, 230);\n margin-left: 10px;\n white-space: nowrap;\n vertical-align: middle;\n word-break: normal;\n display: flex;\n align-items: center;\n}\n.paraui-v4-progress.paraui-v4-progress-line .progress-outer .progress-text svg {\n width: 16px;\n height: 16px;\n position: relative;\n}\n.paraui-v4-progress.paraui-v4-progress-line .progress-outer .progress-text svg.success {\n color: rgb(19, 191, 76) !important;\n}\n.paraui-v4-progress.paraui-v4-progress-line .progress-outer .progress-text svg.error {\n color: rgb(244, 66, 66) !important;\n}\n.paraui-v4-progress.paraui-v4-progress-circle, .paraui-v4-progress.paraui-v4-progress-dashboard {\n display: inline-block;\n position: relative;\n margin: 0 5px;\n}\n.paraui-v4-progress.paraui-v4-progress-circle .progress-outer .progress-text, .paraui-v4-progress.paraui-v4-progress-dashboard .progress-outer .progress-text {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n margin: 0;\n padding: 0;\n color: rgb(46, 101, 230);\n font-size: 1em;\n line-height: 1;\n white-space: normal;\n text-align: center;\n transform: translate(-50%, -50%);\n}\n.paraui-v4-progress.paraui-v4-progress-circle .progress-outer .progress-text svg, .paraui-v4-progress.paraui-v4-progress-dashboard .progress-outer .progress-text svg {\n width: 2em;\n height: 2em;\n}\n.paraui-v4-progress.paraui-v4-progress-circle .progress-outer .progress-text svg.success, .paraui-v4-progress.paraui-v4-progress-dashboard .progress-outer .progress-text svg.success {\n color: rgb(19, 191, 76) !important;\n}\n.paraui-v4-progress.paraui-v4-progress-circle .progress-outer .progress-text svg.error, .paraui-v4-progress.paraui-v4-progress-dashboard .progress-outer .progress-text svg.error {\n color: rgb(244, 66, 66) !important;\n}\n.paraui-v4-progress.paraui-v4-progress-success-status .progress-text {\n color: rgb(19, 191, 76) !important;\n}\n.paraui-v4-progress.paraui-v4-progress-exception-status .progress-text {\n color: rgb(244, 66, 66) !important;\n}\n.paraui-v4-progress.paraui-v4-progress-active-status .active-bar:before {\n position: absolute;\n inset: 0;\n background: rgb(255, 255, 255);\n border-radius: 10px;\n opacity: 0;\n -webkit-animation: progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;\n animation: progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;\n content: \"\";\n}\n\n@keyframes progress-active {\n 0% {\n transform: translateX(-100%) scaleX(0);\n opacity: 0.1;\n }\n 20% {\n transform: translateX(-100%) scaleX(0);\n opacity: 0.5;\n }\n 100% {\n transform: translateX(0) scaleX(1);\n opacity: 0;\n }\n}";
|
|
160
160
|
styleInject(css_248z);
|
|
161
161
|
|
|
162
162
|
/** 进度条类型 **/
|
|
@@ -176,10 +176,10 @@ var ProgressStatuses;
|
|
|
176
176
|
})(ProgressStatuses || (ProgressStatuses = {}));
|
|
177
177
|
/** 每个类型对应的进度条默认颜色 **/
|
|
178
178
|
var strokeColorMap = {
|
|
179
|
-
success: "rgba(
|
|
180
|
-
exception: "rgba(
|
|
181
|
-
normal: "rgba(
|
|
182
|
-
active: "rgba(
|
|
179
|
+
success: "rgba(19, 191, 76, 1)",
|
|
180
|
+
exception: "rgba(244, 66, 66, 1)",
|
|
181
|
+
normal: "rgba(46, 101, 230, 1)",
|
|
182
|
+
active: "rgba(46, 101, 230, 1)"
|
|
183
183
|
};
|
|
184
184
|
var Progress = function Progress(props) {
|
|
185
185
|
var _props$type = props.type,
|
|
@@ -259,7 +259,7 @@ var Progress = function Progress(props) {
|
|
|
259
259
|
});
|
|
260
260
|
if (status === "exception") return type === "circle" ? jsx(CloseIcon, {
|
|
261
261
|
className: "error"
|
|
262
|
-
}) : jsx(
|
|
262
|
+
}) : jsx(CloseCircleF, {
|
|
263
263
|
className: "error"
|
|
264
264
|
});
|
|
265
265
|
return validProgress(percent) + "%";
|
|
@@ -288,7 +288,8 @@ var Progress = function Progress(props) {
|
|
|
288
288
|
trailWidth: 6,
|
|
289
289
|
strokeColor: strokeColorVal(),
|
|
290
290
|
percent: renderPercent(),
|
|
291
|
-
prefixCls: "".concat($rcPrefixCls, "-progress")
|
|
291
|
+
prefixCls: "".concat($rcPrefixCls, "-progress"),
|
|
292
|
+
trailColor: 'rgba(234,236,241,1)'
|
|
292
293
|
}, otherProps));
|
|
293
294
|
/** 仪表盘 **/
|
|
294
295
|
var renderDashboardProgress = jsx(Circle, Object.assign({
|
package/Querying/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js';
|
|
4
|
-
import { $ as $prefixCls } from '../_verture/constant-
|
|
4
|
+
import { $ as $prefixCls } from '../_verture/constant-0d9802f7.js';
|
|
5
5
|
import { u as useGlobalProps } from '../_verture/useGlobalProps-1b846a65.js';
|
|
6
6
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
7
7
|
import 'react';
|
|
@@ -10,8 +10,8 @@ import '@para-ui/core/GlobalContext';
|
|
|
10
10
|
var LargeSearch = function LargeSearch() {
|
|
11
11
|
return jsx("svg", Object.assign({
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
-
width: "
|
|
14
|
-
height: "
|
|
13
|
+
width: "100%",
|
|
14
|
+
height: "100%",
|
|
15
15
|
viewBox: "0 0 334 238"
|
|
16
16
|
}, {
|
|
17
17
|
children: jsxs("g", Object.assign({
|
|
@@ -453,8 +453,8 @@ var LargeSearch = function LargeSearch() {
|
|
|
453
453
|
var SmallSearch = function SmallSearch() {
|
|
454
454
|
return jsx("svg", Object.assign({
|
|
455
455
|
xmlns: "http://www.w3.org/2000/svg",
|
|
456
|
-
width: "
|
|
457
|
-
height: "
|
|
456
|
+
width: "100%",
|
|
457
|
+
height: "100%",
|
|
458
458
|
viewBox: "0 0 120 120"
|
|
459
459
|
}, {
|
|
460
460
|
children: jsxs("g", Object.assign({
|
|
@@ -705,7 +705,7 @@ var localeJson = {
|
|
|
705
705
|
en: en
|
|
706
706
|
};
|
|
707
707
|
|
|
708
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/4/2 上午10:55\n* @description\n*/\n/**\n* @author
|
|
708
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/4/2 上午10:55\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-querying {\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n}\n.paraui-v4-querying > .querying-image {\n line-height: 0;\n overflow: hidden;\n}\n.paraui-v4-querying > .querying-image img {\n width: 100%;\n}\n.paraui-v4-querying .querying-image-large {\n width: 334px;\n height: 238px;\n}\n.paraui-v4-querying .querying-image-small {\n width: 120px;\n height: 120px;\n}\n.paraui-v4-querying > .querying-description {\n line-height: 17px;\n font-size: 14px;\n font-weight: 400;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-querying.paraui-v4-querying-large > .querying-description {\n margin-top: 24px;\n}\n.paraui-v4-querying.paraui-v4-querying-small > .querying-description {\n margin-top: 12px;\n font-size: 12px;\n}";
|
|
709
709
|
styleInject(css_248z);
|
|
710
710
|
|
|
711
711
|
var imageMap = {
|
|
@@ -744,7 +744,7 @@ var Querying = function Querying(props) {
|
|
|
744
744
|
}, {
|
|
745
745
|
children: customQuerying ? customQuerying : jsxs(Fragment, {
|
|
746
746
|
children: [jsx("div", Object.assign({
|
|
747
|
-
className:
|
|
747
|
+
className: "querying-image ".concat(!(props === null || props === void 0 ? void 0 : props.image) ? "querying-image-".concat(size) : ''),
|
|
748
748
|
style: imageStyle
|
|
749
749
|
}, {
|
|
750
750
|
children: imageNode
|