@para-ui/core 4.0.0-beta → 4.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AutoBox/index.d.ts +1 -1
- package/AutoBox/index.js +12 -12
- package/AutoTips/autoTipsMultiline/index.d.ts +1 -1
- package/AutoTips/index.d.ts +2 -2
- package/AutoTips/index.js +17 -17
- package/Badge/index.d.ts +23 -0
- package/Badge/index.js +54 -0
- package/Breadcrumbs/index.js +8 -8
- package/Button/SplitButton.d.ts +1 -1
- package/Button/index.d.ts +1 -1
- package/Button/index.js +4 -4
- package/Carousel/index.d.ts +6 -6
- package/Carousel/index.js +5 -5
- package/Cascader/Cascader.d.ts +10 -10
- package/Cascader/OptionList/Column.d.ts +3 -3
- package/Cascader/OptionList/index.d.ts +2 -2
- package/Cascader/index.d.ts +1 -1
- package/Cascader/index.js +5 -3
- package/Cascader/lang/en_US.d.ts +5 -0
- package/Cascader/lang/index.d.ts +11 -0
- package/Cascader/lang/zh_CN.d.ts +5 -0
- package/Cascader/utils/treeUtil.d.ts +1 -1
- package/Checkbox/index.d.ts +1 -1
- package/Checkbox/index.js +5 -5
- package/CheckboxGroup/index.d.ts +2 -2
- package/CheckboxGroup/index.js +3 -3
- package/Collapse/index.js +4 -4
- package/CollapseBox/index.js +12 -20
- package/CollapseLayout/index.js +20 -20
- package/ColorPicker/index.js +2 -2
- package/ComboSelect/index.js +53 -63
- package/ComboSelect/interface.d.ts +3 -3
- package/ComboSelect/utils.d.ts +5 -0
- package/Container/index.d.ts +3 -3
- package/Container/index.js +56 -56
- package/CopyText/index.d.ts +2 -2
- package/CopyText/index.js +2 -2
- package/DatePicker/generatePicker/index.d.ts +22 -22
- package/DatePicker/index.js +10 -8
- package/DatePicker/util.d.ts +1 -1
- package/Desktop/index.d.ts +1 -1
- package/Desktop/index.js +19 -14
- package/DragVerify/index.d.ts +1 -1
- package/DragVerify/index.js +15 -15
- package/Drawer/index.d.ts +2 -2
- package/Drawer/index.js +118 -17
- package/Drawer/interface.d.ts +10 -2
- package/Drawer/util.d.ts +6 -0
- package/Dropdown/index.d.ts +1 -1
- package/DynamicMultiBox/formItem.d.ts +1 -1
- package/DynamicMultiBox/index.d.ts +7 -2
- package/DynamicMultiBox/index.js +42 -39
- package/DynamicMultiBox/interface.d.ts +8 -8
- package/DynamicMultiBox/rowForm.d.ts +3 -1
- package/Empty/index.d.ts +1 -1
- package/Empty/index.js +2 -2
- package/Form/index.d.ts +12 -13
- package/Form/index.js +14 -12
- package/FormItem/compoments/defaultCompoments/index.d.ts +4 -4
- package/FormItem/compoments/formCheckboxGroup/index.d.ts +1 -1
- package/FormItem/compoments/formFile/index.d.ts +2 -2
- package/FormItem/compoments/formRadioGroup/index.d.ts +1 -1
- package/FormItem/compoments/formSelect/index.d.ts +7 -7
- package/FormItem/errorTips.d.ts +3 -3
- package/FormItem/index.d.ts +5 -5
- package/FormItem/index.js +7 -6
- package/FormItem/lang/en_US.d.ts +10 -0
- package/FormItem/lang/index.d.ts +21 -0
- package/FormItem/lang/zh_CN.d.ts +10 -0
- package/FormItem/validateFunction.d.ts +1 -1
- package/FunctionModal/dialog.d.ts +26 -26
- package/FunctionModal/index.d.ts +6 -6
- package/FunctionModal/index.js +9 -9
- package/FunctionModal/modalContext.d.ts +3 -3
- package/GlobalContext/componentsProps.d.ts +7 -7
- package/GlobalContext/index.d.ts +2 -2
- package/GlobalContext/index.js +1 -1
- package/GlobalContext/useFormatMessage.d.ts +1 -1
- package/Help/index.js +2 -2
- package/HelperText/index.js +1 -1
- package/InputLang/index.d.ts +2 -2
- package/InputLang/index.js +8 -8
- package/InputNumber/index.d.ts +2 -2
- package/InputNumber/index.js +4 -4
- package/Label/index.js +2 -2
- package/Loading/index.js +1 -1
- package/Menu/index.js +14 -14
- package/Menu/interface.d.ts +1 -1
- package/Message/index.js +12 -12
- package/Modal/Confirm/index.d.ts +3 -3
- package/Modal/index.d.ts +1 -1
- package/Modal/index.js +7 -7
- package/MultiBox/index.d.ts +2 -2
- package/MultiBox/index.js +11 -7
- package/Notification/index.js +2 -2
- package/OperateBtn/index.d.ts +2 -2
- package/OperateBtn/index.js +42 -37
- package/PageHeader/index.js +31 -31
- package/PageHeader/interface.d.ts +1 -1
- package/Pagination/index.d.ts +1 -1
- package/Pagination/index.js +17 -17
- package/ParauiProvider/index.js +1 -1
- package/PasswordRules/index.js +8 -8
- package/PopConfirm/index.js +4 -4
- package/Progress/Line.d.ts +10 -10
- package/Progress/Steps.d.ts +2 -2
- package/Progress/index.d.ts +12 -12
- package/Progress/index.js +40 -40
- package/Progress/utils.d.ts +4 -4
- package/Querying/index.d.ts +1 -1
- package/Querying/index.js +2 -2
- package/README.md +3 -0
- package/Radio/index.d.ts +1 -1
- package/Radio/index.js +5 -5
- package/RadioGroup/index.d.ts +2 -2
- package/RadioGroup/index.js +3 -3
- package/Search/index.js +2 -2
- package/Select/index.d.ts +3 -3
- package/Select/index.js +43 -43
- package/SelectInput/index.js +2 -2
- package/Selector/index.js +19 -19
- package/Selector/interface.d.ts +6 -6
- package/SelectorPicker/index.d.ts +4 -4
- package/SelectorPicker/index.js +12 -12
- package/SingleBox/index.d.ts +2 -2
- package/SingleBox/index.js +3 -3
- package/Slider/interface.d.ts +1 -1
- package/Status/index.d.ts +6 -4
- package/Status/index.js +21 -9
- package/Stepper/index.d.ts +5 -5
- package/Stepper/index.js +24 -24
- package/Styles/scrollbar.scss +66 -66
- package/Styles/theme.scss +62 -61
- package/Switch/index.d.ts +7 -7
- package/Switch/index.js +24 -6
- package/Switch/lang/en_US.d.ts +4 -0
- package/Switch/lang/index.d.ts +9 -0
- package/Switch/lang/zh_CN.d.ts +4 -0
- package/Table/index.js +36 -36
- package/Table/interface.d.ts +4 -4
- package/Table/tableBodyElement/index.d.ts +1 -1
- package/Table/tableBodyInterface.d.ts +2 -2
- package/Table/tableContainer/index.d.ts +1 -1
- package/Table/tableElement/index.d.ts +1 -1
- package/Table/tableHeadElement/index.d.ts +1 -1
- package/Table/tableHeadInterface.d.ts +1 -1
- package/Table/tablePaginationInterface.d.ts +6 -6
- package/Table/tdElement/index.d.ts +1 -1
- package/Table/thElement/index.d.ts +2 -2
- package/Table/trElement/index.d.ts +1 -1
- package/Table/util.d.ts +1 -1
- package/Tabs/index.d.ts +1 -1
- package/Tabs/index.js +26 -18
- package/Tag/TagGroup.d.ts +5 -5
- package/Tag/index.d.ts +7 -7
- package/Tag/index.js +33 -1207
- package/TextEditor/index.d.ts +2 -2
- package/TextEditor/index.js +45 -27
- package/TextEditor/lang/en_US.d.ts +4 -0
- package/TextEditor/lang/index.d.ts +9 -0
- package/TextEditor/lang/zh_CN.d.ts +4 -0
- package/TextField/index.d.ts +1 -1
- package/TextField/index.js +13 -13
- package/TimePicker/index.d.ts +1 -1
- package/TimePicker/index.js +2 -1
- package/Timeline/TimelineItem.d.ts +1 -1
- package/Timeline/index.d.ts +5 -5
- package/Timeline/index.js +14 -14
- package/Title/index.d.ts +6 -4
- package/Title/index.js +9 -5
- package/ToggleButton/ToggleButtonGroup.d.ts +1 -1
- package/ToggleButton/index.d.ts +5 -1
- package/ToggleButton/index.js +17 -10
- package/Tooltip/index.js +1 -1
- package/Transfer/box.d.ts +6 -6
- package/Transfer/index.js +27 -27
- package/Tree/OperateBar/index.d.ts +2 -2
- package/Tree/Tree.d.ts +2 -2
- package/Tree/index.js +4 -4
- package/Tree/interface.d.ts +8 -4
- package/Tree/utils/tools.d.ts +1 -1
- package/Upload/Dragger/index.d.ts +2 -2
- package/Upload/ErroTip/index.d.ts +1 -1
- package/Upload/index.d.ts +2 -2
- package/Upload/index.js +13 -13
- package/Upload/interface.d.ts +1 -1
- package/_verture/{index-5c77417d.js → index-0f315bca.js} +4 -4
- package/_verture/{index-e2881a53.js → index-19947788.js} +2 -2
- package/_verture/{index-d63bd287.js → index-232d890b.js} +1 -1
- package/_verture/{index-68db2bc3.js → index-92e406f4.js} +50 -26
- package/_verture/{index-7ec72724.js → index-bc461491.js} +45 -38
- package/_verture/{index-e6f85fd5.js → index-d251967e.js} +104 -47
- package/_verture/{modalContext-c12ca3e8.js → modalContext-9299acc9.js} +26 -26
- package/_verture/tinycolor-ece3542d.js +1180 -0
- package/_verture/{utils-f0e81540.js → utils-06d86594.js} +3 -6
- package/index.d.ts +2 -0
- package/index.js +14 -13
- package/locale/en-US.d.ts +19 -0
- package/locale/index.d.ts +38 -0
- package/locale/index.js +41 -3
- package/locale/zh-CN.d.ts +19 -0
- package/package.json +53 -8
- package/umd/AutoBox.js +2 -2
- package/umd/AutoTips.js +4 -4
- package/umd/Badge.js +1 -0
- package/umd/Breadcrumbs.js +2 -2
- package/umd/Button.js +2 -2
- package/umd/ButtonGroup.js +4 -4
- package/umd/Cascader.js +4 -4
- package/umd/Checkbox.js +5 -5
- package/umd/CheckboxGroup.js +5 -5
- package/umd/Collapse.js +1 -1
- package/umd/CollapseBox.js +1 -1
- package/umd/CollapseLayout.js +4 -4
- package/umd/ColorPicker.js +1 -1
- package/umd/ComboSelect.js +6 -6
- package/umd/CopyText.js +2 -2
- package/umd/DatePicker.js +2 -2
- package/umd/Desktop.js +2 -2
- package/umd/DragVerify.js +4 -4
- package/umd/Drawer.js +4 -4
- package/umd/DynamicMultiBox.js +4 -4
- package/umd/Form.js +4 -4
- package/umd/FormItem.js +4 -4
- package/umd/FunctionModal.js +2 -2
- package/umd/GlobalContext.js +1 -1
- package/umd/Help.js +2 -2
- package/umd/HelperText.js +1 -1
- package/umd/InputLang.js +4 -4
- package/umd/InputNumber.js +2 -2
- package/umd/Label.js +2 -2
- package/umd/Loading.js +1 -1
- package/umd/Menu.js +2 -2
- package/umd/Message.js +1 -1
- package/umd/Modal.js +2 -2
- package/umd/MultiBox.js +7 -7
- package/umd/Notification.js +2 -2
- package/umd/OperateBtn.js +2 -2
- package/umd/PageHeader.js +2 -2
- package/umd/Pagination.js +4 -4
- package/umd/ParauiProvider.js +1 -1
- package/umd/PasswordRules.js +3 -3
- package/umd/PopConfirm.js +2 -2
- package/umd/Popover.js +1 -1
- package/umd/Progress.js +1 -1
- package/umd/Radio.js +2 -2
- package/umd/RadioGroup.js +2 -2
- package/umd/Search.js +7 -7
- package/umd/Select.js +2 -2
- package/umd/SelectInput.js +2 -2
- package/umd/Selector.js +2 -2
- package/umd/SelectorPicker.js +2 -2
- package/umd/SingleBox.js +2 -2
- package/umd/Status.js +4 -4
- package/umd/Stepper.js +2 -2
- package/umd/Switch.js +5 -5
- package/umd/Table.js +6 -6
- package/umd/Tabs.js +4 -4
- package/umd/Tag.js +2 -2
- package/umd/TextEditor.js +3 -3
- package/umd/TextField.js +7 -7
- package/umd/TimePicker.js +2 -2
- package/umd/Title.js +2 -2
- package/umd/ToggleButton.js +4 -4
- package/umd/Tooltip.js +1 -1
- package/umd/Transfer.js +5 -5
- package/umd/Tree.js +7 -7
- package/umd/Upload.js +2 -2
- package/umd/locale.js +1 -1
- /package/_verture/{typeof-b240b062.js → typeof-c310ee4a.js} +0 -0
package/InputLang/index.js
CHANGED
|
@@ -123,7 +123,7 @@ var InputLang = function InputLang(props) {
|
|
|
123
123
|
var objLabel = {};
|
|
124
124
|
for (var i = 0, l = langList.length; i < l; i++) {
|
|
125
125
|
var item = langList[i];
|
|
126
|
-
if (typeof item ===
|
|
126
|
+
if (typeof item === 'string') {
|
|
127
127
|
obj[item] = {
|
|
128
128
|
label: item,
|
|
129
129
|
value: item
|
|
@@ -216,7 +216,7 @@ var InputLang = function InputLang(props) {
|
|
|
216
216
|
var jsonMapping = ArrayToObject('label', valueListLang);
|
|
217
217
|
for (var i = 0, l = langList.length; i < l; i++) {
|
|
218
218
|
var item = langList[i];
|
|
219
|
-
if (_typeof(item) ===
|
|
219
|
+
if (_typeof(item) === 'object') {
|
|
220
220
|
item = item.label;
|
|
221
221
|
}
|
|
222
222
|
if (!jsonMapping[item] && item !== (((_a = langMapping[lang]) === null || _a === void 0 ? void 0 : _a.label) || lang)) arr.push({
|
|
@@ -268,8 +268,8 @@ var InputLang = function InputLang(props) {
|
|
|
268
268
|
}, []);
|
|
269
269
|
/** 处理弹出框className */
|
|
270
270
|
var popoverHandClass = function popoverHandClass() {
|
|
271
|
-
var str = $prefixCls
|
|
272
|
-
if (popoverClassName) str +=
|
|
271
|
+
var str = "".concat($prefixCls, "-input-lang-popover");
|
|
272
|
+
if (popoverClassName) str += " ".concat(popoverClassName);
|
|
273
273
|
if (disabledAdd) str += " ".concat($prefixCls, "-input-lang-popover-disabled-add");
|
|
274
274
|
if (disabledDelete) str += " ".concat($prefixCls, "-input-lang-popover-disabled-delete");
|
|
275
275
|
return str;
|
|
@@ -315,10 +315,10 @@ var InputLang = function InputLang(props) {
|
|
|
315
315
|
* @return {string}
|
|
316
316
|
*/
|
|
317
317
|
var handClass = function handClass() {
|
|
318
|
-
var str = $prefixCls
|
|
318
|
+
var str = "".concat($prefixCls, "-input-lang");
|
|
319
319
|
if (size) str += " ".concat($prefixCls, "-input-lang-").concat(size);
|
|
320
320
|
if (error) str += " ".concat($prefixCls, "-input-lang-error");
|
|
321
|
-
if (className) str +=
|
|
321
|
+
if (className) str += " ".concat(className);
|
|
322
322
|
return str;
|
|
323
323
|
};
|
|
324
324
|
return jsxs("div", Object.assign({
|
|
@@ -327,7 +327,7 @@ var InputLang = function InputLang(props) {
|
|
|
327
327
|
ref: refDom
|
|
328
328
|
}, {
|
|
329
329
|
children: [jsx(Popover, Object.assign({
|
|
330
|
-
placement:
|
|
330
|
+
placement: 'bottom-end',
|
|
331
331
|
visible: open,
|
|
332
332
|
content: langListPopoverContent(),
|
|
333
333
|
onVisibleChange: handleClose,
|
|
@@ -335,7 +335,7 @@ var InputLang = function InputLang(props) {
|
|
|
335
335
|
maxWidth: 'none',
|
|
336
336
|
overlayInnerStyle: {
|
|
337
337
|
minWidth: '440px',
|
|
338
|
-
width: ((_a = refDom.current) === null || _a === void 0 ? void 0 : _a.offsetWidth
|
|
338
|
+
width: "".concat((_a = refDom.current) === null || _a === void 0 ? void 0 : _a.offsetWidth, "px")
|
|
339
339
|
}
|
|
340
340
|
}, {
|
|
341
341
|
children: jsx(TextField, {
|
package/InputNumber/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* @description 数字输入框
|
|
5
5
|
*/
|
|
6
6
|
import React, { FunctionComponent, ReactNode } from 'react';
|
|
7
|
-
import { LabelTooltipProps } from
|
|
8
|
-
import { HelperTextDetailProps } from
|
|
7
|
+
import { LabelTooltipProps } from '../Label';
|
|
8
|
+
import { HelperTextDetailProps } from '../HelperText';
|
|
9
9
|
import { TooltipProps } from '../Tooltip';
|
|
10
10
|
import './index.scss';
|
|
11
11
|
export interface InputNumberProps extends HelperTextDetailProps {
|
package/InputNumber/index.js
CHANGED
|
@@ -18,7 +18,7 @@ import 'rc-tooltip';
|
|
|
18
18
|
import 'rc-tooltip/lib/placements';
|
|
19
19
|
import '@para-ui/icons/Forbid';
|
|
20
20
|
|
|
21
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-input-number {\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 font-weight: 400;\n display: inline-block;\n width: 100%;\n /*&.paraui-v4-input-number-lr {\n & > .input-number-content {\n & > .input-number-content-within {\n width: calc(100% - 60px);\n\n & > .component {\n & > .component-handler-wrap {\n position: absolute;\n width: 100%;\n height: 100%;\n\n & > .component-handler-up {\n position: absolute;\n left: -30px;\n top: 0;\n height: 100%;\n border-bottom-left-radius: $radius;\n border-top-left-radius: $radius;\n overflow: hidden;\n // 禁用加\n &.component-handler-up-disabled {\n & > .add-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $D3;\n }\n }\n\n & > svg {\n color: $D3;\n }\n }\n }\n\n & > .add-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 30px;\n height: 100%;\n cursor: pointer;\n background-color: $B8;\n\n &:hover {\n & > svg {\n color: $A5;\n }\n }\n\n & > svg {\n color: $D2;\n font-size: 20px;\n }\n }\n }\n\n & > .component-handler-down {\n position: absolute;\n right: -30px;\n top: 0;\n height: 100%;\n border-bottom-right-radius: $radius;\n border-top-right-radius: $radius;\n overflow: hidden;\n // 禁用减\n &.component-handler-down-disabled {\n & > .reduce-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $D3;\n }\n }\n\n & > svg {\n color: $D3;\n }\n }\n }\n\n & > .reduce-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 30px;\n height: 100%;\n cursor: pointer;\n background-color: $B8;\n\n &:hover {\n & > svg {\n color: $A5;\n }\n }\n\n & > svg {\n color: $D2;\n font-size: 20px;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number > .input-number-content {\n border: 1px solid;\n border-radius: 4px;\n border-color: rgb(212, 218, 227);\n display: flex;\n width: 100%;\n position: relative;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-input-number > .input-number-content:hover {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-before {\n width: 34px;\n color: rgb(92, 101, 115);\n border-right: 1px solid rgb(212, 218, 227);\n border-top-left-radius: 4px;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within {\n width: 100%;\n position: relative;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component {\n width: 100%;\n height: 100%;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap {\n width: 100%;\n height: 100%;\n position: relative;\n z-index: 1;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input {\n width: 100%;\n height: 100%;\n border: 0;\n border-radius: 4px;\n padding: 10px 0 10px 10px;\n background: transparent;\n font-size: 14px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input::-ms-clear {\n display: none;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input::-ms-reveal {\n display: none;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component.component-out-of-range > .component-input-wrap > input {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n width: 100%;\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n padding: 0 12px;\n color: rgb(161, 168, 179);\n cursor: text;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .input-number-label-placeholder > .input-number-required {\n margin-left: 2px;\n color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-after {\n width: 34px;\n color: rgb(92, 101, 115);\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within {\n width: calc(100% - 34px);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap {\n position: absolute;\n top: 0;\n right: -34px;\n width: 34px;\n height: 100%;\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n overflow: hidden;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top {\n line-height: 0;\n height: 50%;\n width: 100%;\n cursor: pointer;\n display: flex;\n align-items: flex-end;\n justify-content: center;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .tb-btn-bottom > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom {\n line-height: 0;\n height: 50%;\n width: 100%;\n cursor: pointer;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-input-number.paraui-v4-input-number-focus > .input-number-content {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-input-number.paraui-v4-input-number-error > .input-number-content {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number.paraui-v4-input-number-error > .input-number-content:hover {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content:hover {\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within {\n cursor: not-allowed;\n width: 100%;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add {\n /*&.paraui-v4-input-number-lr {\n & > .input-number-content {\n & > .input-number-content-within {\n & > .component {\n & > .component-handler-wrap {\n & > .component-handler-up {\n // 禁用加\n & > .add-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $D3;\n }\n }\n\n & > svg {\n color: $D3;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce {\n /*&.paraui-v4-input-number-lr {\n & > .input-number-content {\n & > .input-number-content-within {\n & > .component {\n & > .component-handler-wrap {\n & > .component-handler-down {\n // 禁用减\n & > .reduce-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $D3;\n }\n }\n\n & > svg {\n color: $D3;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-small > .input-number-content {\n height: 28px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-small > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 26px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-small.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-small.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium > .input-number-content {\n height: 28px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 26px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large {\n /*& > .input-number-content {\n height: 36px;\n\n & > .input-number-content-within {\n & > .input-number-label-placeholder {\n line-height: 34px;\n }\n }\n }\n\n &.paraui-v4-input-number-tb {\n & > .input-number-content {\n & > .input-number-content-within {\n & > .component {\n & > .component-handler-wrap {\n & > .component-handler-up {\n & > .tb-btn-top {\n & > svg {\n font-size: 17px;\n }\n }\n }\n\n & > .component-handler-down {\n & > .tb-btn-bottom {\n & > svg {\n font-size: 17px;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number.paraui-v4-input-number-large > .input-number-content {\n height: 32px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 30px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 14px;\n}";
|
|
21
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-input-number {\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 font-weight: 400;\n display: inline-block;\n width: 100%;\n /*&.paraui-v4-input-number-lr {\n & > .input-number-content {\n & > .input-number-content-within {\n width: calc(100% - 60px);\n\n & > .component {\n & > .component-handler-wrap {\n position: absolute;\n width: 100%;\n height: 100%;\n\n & > .component-handler-up {\n position: absolute;\n left: -30px;\n top: 0;\n height: 100%;\n border-bottom-left-radius: $radius;\n border-top-left-radius: $radius;\n overflow: hidden;\n // 禁用加\n &.component-handler-up-disabled {\n & > .add-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $ND3;\n }\n }\n\n & > svg {\n color: $ND3;\n }\n }\n }\n\n & > .add-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 30px;\n height: 100%;\n cursor: pointer;\n background-color: $B8;\n\n &:hover {\n & > svg {\n color: $NA5;\n }\n }\n\n & > svg {\n color: $ND2;\n font-size: 20px;\n }\n }\n }\n\n & > .component-handler-down {\n position: absolute;\n right: -30px;\n top: 0;\n height: 100%;\n border-bottom-right-radius: $radius;\n border-top-right-radius: $radius;\n overflow: hidden;\n // 禁用减\n &.component-handler-down-disabled {\n & > .reduce-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $ND3;\n }\n }\n\n & > svg {\n color: $ND3;\n }\n }\n }\n\n & > .reduce-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 30px;\n height: 100%;\n cursor: pointer;\n background-color: $B8;\n\n &:hover {\n & > svg {\n color: $NA5;\n }\n }\n\n & > svg {\n color: $ND2;\n font-size: 20px;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number > .input-number-content {\n border: 1px solid;\n border-radius: 4px;\n border-color: rgb(212, 218, 227);\n display: flex;\n width: 100%;\n position: relative;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-input-number > .input-number-content:hover {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-before {\n width: 34px;\n color: rgb(92, 101, 115);\n border-right: 1px solid rgb(212, 218, 227);\n border-top-left-radius: 4px;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within {\n width: 100%;\n position: relative;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component {\n width: 100%;\n height: 100%;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap {\n width: 100%;\n height: 100%;\n position: relative;\n z-index: 1;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input {\n width: 100%;\n height: 100%;\n border: 0;\n border-radius: 4px;\n padding: 10px 0 10px 10px;\n background: transparent;\n font-size: 14px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input::-ms-clear {\n display: none;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input::-ms-reveal {\n display: none;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .component.component-out-of-range > .component-input-wrap > input {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n width: 100%;\n position: absolute;\n left: 0;\n top: 0;\n height: 100%;\n padding: 0 12px;\n color: rgb(161, 168, 179);\n cursor: text;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-within > .input-number-label-placeholder > .input-number-required {\n margin-left: 2px;\n color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number > .input-number-content > .input-number-content-after {\n width: 34px;\n color: rgb(92, 101, 115);\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within {\n width: calc(100% - 34px);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap {\n position: absolute;\n top: 0;\n right: -34px;\n width: 34px;\n height: 100%;\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n overflow: hidden;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up.component-handler-up-disabled > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top {\n line-height: 0;\n height: 50%;\n width: 100%;\n cursor: pointer;\n display: flex;\n align-items: flex-end;\n justify-content: center;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down.component-handler-down-disabled > .tb-btn-bottom > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom {\n line-height: 0;\n height: 50%;\n width: 100%;\n cursor: pointer;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-input-number.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-input-number.paraui-v4-input-number-focus > .input-number-content {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-input-number.paraui-v4-input-number-error > .input-number-content {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number.paraui-v4-input-number-error > .input-number-content:hover {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content:hover {\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within {\n cursor: not-allowed;\n width: 100%;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-input-wrap > input {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add {\n /*&.paraui-v4-input-number-lr {\n & > .input-number-content {\n & > .input-number-content-within {\n & > .component {\n & > .component-handler-wrap {\n & > .component-handler-up {\n // 禁用加\n & > .add-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $ND3;\n }\n }\n\n & > svg {\n color: $ND3;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-add.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce {\n /*&.paraui-v4-input-number-lr {\n & > .input-number-content {\n & > .input-number-content-within {\n & > .component {\n & > .component-handler-wrap {\n & > .component-handler-down {\n // 禁用减\n & > .reduce-btn {\n cursor: not-allowed;\n\n &:hover {\n & > svg {\n color: $ND3;\n }\n }\n\n & > svg {\n color: $ND3;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom {\n cursor: not-allowed;\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom:hover > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-disabled-reduce.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-input-number.paraui-v4-input-number-small > .input-number-content {\n height: 28px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-small > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 26px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-small.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-small.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium > .input-number-content {\n height: 28px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 26px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-medium.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large {\n /*& > .input-number-content {\n height: 36px;\n\n & > .input-number-content-within {\n & > .input-number-label-placeholder {\n line-height: 34px;\n }\n }\n }\n\n &.paraui-v4-input-number-tb {\n & > .input-number-content {\n & > .input-number-content-within {\n & > .component {\n & > .component-handler-wrap {\n & > .component-handler-up {\n & > .tb-btn-top {\n & > svg {\n font-size: 17px;\n }\n }\n }\n\n & > .component-handler-down {\n & > .tb-btn-bottom {\n & > svg {\n font-size: 17px;\n }\n }\n }\n }\n }\n }\n }\n }*/\n}\n.paraui-v4-input-number.paraui-v4-input-number-large > .input-number-content {\n height: 32px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large > .input-number-content > .input-number-content-within > .input-number-label-placeholder {\n line-height: 30px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-up > .tb-btn-top > svg {\n font-size: 14px;\n}\n.paraui-v4-input-number.paraui-v4-input-number-large.paraui-v4-input-number-tb > .input-number-content > .input-number-content-within > .component > .component-handler-wrap > .component-handler-down > .tb-btn-bottom > svg {\n font-size: 14px;\n}";
|
|
22
22
|
styleInject(css_248z);
|
|
23
23
|
|
|
24
24
|
var InputNumber = function InputNumber(props) {
|
|
@@ -127,7 +127,7 @@ var InputNumber = function InputNumber(props) {
|
|
|
127
127
|
var handLabelClass = function handLabelClass() {
|
|
128
128
|
var str = 'input-number-label';
|
|
129
129
|
if (labelTooltip && labelTooltip.className) {
|
|
130
|
-
str +=
|
|
130
|
+
str += " ".concat(labelTooltip.className);
|
|
131
131
|
}
|
|
132
132
|
return str;
|
|
133
133
|
};
|
|
@@ -263,8 +263,8 @@ var InputNumber = function InputNumber(props) {
|
|
|
263
263
|
};
|
|
264
264
|
/** 处理class */
|
|
265
265
|
var handClass = function handClass() {
|
|
266
|
-
var str = $prefixCls
|
|
267
|
-
if (className) str +=
|
|
266
|
+
var str = "".concat($prefixCls, "-input-number ");
|
|
267
|
+
if (className) str += " ".concat(className);
|
|
268
268
|
if (size) str += " ".concat($prefixCls, "-input-number-").concat(size);
|
|
269
269
|
if (btnMode) {
|
|
270
270
|
str += " ".concat($prefixCls, "-input-number-").concat(btnMode === 'none' ? 'none' : 'tb');
|
package/Label/index.js
CHANGED
|
@@ -34,10 +34,10 @@ var Label = function Label(props) {
|
|
|
34
34
|
othersProps = __rest(props, ["className", "helpClassName", "style", "label", "labelSign", "required", "tooltip", "tooltipType", "placement", "arrow", "tooltipIcon", "onClick"]);
|
|
35
35
|
// 处理class
|
|
36
36
|
var handClass = function handClass() {
|
|
37
|
-
var str = $prefixCls
|
|
37
|
+
var str = "".concat($prefixCls, "-label");
|
|
38
38
|
if (tooltipType) str += " ".concat($prefixCls, "-label-").concat(tooltipType);
|
|
39
39
|
if (tooltip) str += " ".concat($prefixCls, "-label-tooltip");
|
|
40
|
-
if (className) str +=
|
|
40
|
+
if (className) str += " ".concat(className);
|
|
41
41
|
return str;
|
|
42
42
|
};
|
|
43
43
|
var onClickCom = function onClickCom(e) {
|
package/Loading/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var Loading = function Loading(props) {
|
|
|
23
23
|
// 处理class
|
|
24
24
|
var handClass = function handClass() {
|
|
25
25
|
var str = "".concat($prefixCls, "-loading");
|
|
26
|
-
if (className) str +=
|
|
26
|
+
if (className) str += " ".concat(className);
|
|
27
27
|
return str;
|
|
28
28
|
};
|
|
29
29
|
return jsxs("div", Object.assign({
|
package/Menu/index.js
CHANGED
|
@@ -33,7 +33,7 @@ var Logo = function Logo(props) {
|
|
|
33
33
|
*/
|
|
34
34
|
var handClass = function handClass() {
|
|
35
35
|
var str = 'menu-logo';
|
|
36
|
-
if (className) str +=
|
|
36
|
+
if (className) str += " ".concat(className);
|
|
37
37
|
if (!expansion) str += ' menu-logo-shrink';
|
|
38
38
|
return str;
|
|
39
39
|
};
|
|
@@ -66,7 +66,7 @@ var handHref = function handHref() {
|
|
|
66
66
|
var lastOne = !children || children.length === 0;
|
|
67
67
|
if (lastOne) {
|
|
68
68
|
return {
|
|
69
|
-
href: href ? href :
|
|
69
|
+
href: href ? href : "#".concat(path)
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
return {};
|
|
@@ -162,7 +162,7 @@ var VerticalMenuListItem = function VerticalMenuListItem(props) {
|
|
|
162
162
|
var handClass = function handClass() {
|
|
163
163
|
var str = 'vertical-menu-list-item';
|
|
164
164
|
if (openCom) str += ' vertical-menu-list-item-open';
|
|
165
|
-
if (className) str +=
|
|
165
|
+
if (className) str += " ".concat(className);
|
|
166
166
|
var selectMenuLast = idMenuLast[selectMenu]; // 当前选中菜单的 所有上下级 一条线
|
|
167
167
|
if (selectMenuLast) {
|
|
168
168
|
var index = selectMenuLast.indexOf(path);
|
|
@@ -190,7 +190,7 @@ var VerticalMenuListItem = function VerticalMenuListItem(props) {
|
|
|
190
190
|
paddingLeft: '0px'
|
|
191
191
|
};
|
|
192
192
|
if (level >= 0) {
|
|
193
|
-
json.paddingLeft = (level - 1) * 26 + 12
|
|
193
|
+
json.paddingLeft = "".concat((level - 1) * 26 + 12, "px");
|
|
194
194
|
}
|
|
195
195
|
return json;
|
|
196
196
|
};
|
|
@@ -345,7 +345,7 @@ var MenuItemPopper = function MenuItemPopper(props) {
|
|
|
345
345
|
* @return {string}
|
|
346
346
|
*/
|
|
347
347
|
var handPopoverClass = function handPopoverClass() {
|
|
348
|
-
var str = $prefixCls
|
|
348
|
+
var str = "".concat($prefixCls, "-vertical-menu-item-popper");
|
|
349
349
|
if (color) str += " ".concat($prefixCls, "-vertical-menu-item-popper-").concat(color);
|
|
350
350
|
if (size) str += " ".concat($prefixCls, "-vertical-menu-item-popper-").concat(size);
|
|
351
351
|
if (color === 'deep') str += " ".concat($prefixCls, "-scrollbar-small-deep");else str += " ".concat($prefixCls, "-scrollbar-small");
|
|
@@ -353,7 +353,7 @@ var MenuItemPopper = function MenuItemPopper(props) {
|
|
|
353
353
|
if (handTooltip()) {
|
|
354
354
|
str += " ".concat($prefixCls, "-vertical-menu-item-popper-tooltip");
|
|
355
355
|
}
|
|
356
|
-
if (className) str +=
|
|
356
|
+
if (className) str += " ".concat(className);
|
|
357
357
|
return str;
|
|
358
358
|
};
|
|
359
359
|
/**
|
|
@@ -639,7 +639,7 @@ var VerticalMenuList = function VerticalMenuList(props) {
|
|
|
639
639
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
640
640
|
childList = _useState22[0],
|
|
641
641
|
setChildList = _useState22[1]; // 侧边子菜单数据
|
|
642
|
-
var _useState23 = useState(
|
|
642
|
+
var _useState23 = useState(''),
|
|
643
643
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
644
644
|
selectMenuCom = _useState24[0],
|
|
645
645
|
setSelectMenuCom = _useState24[1]; // 当前选中菜单id
|
|
@@ -717,10 +717,10 @@ var VerticalMenuList = function VerticalMenuList(props) {
|
|
|
717
717
|
var height = 100;
|
|
718
718
|
var y = getTransformY(listRef.current.style.transform);
|
|
719
719
|
switch (type) {
|
|
720
|
-
case
|
|
720
|
+
case 'next':
|
|
721
721
|
y -= height;
|
|
722
722
|
break;
|
|
723
|
-
case
|
|
723
|
+
case 'prev':
|
|
724
724
|
y += height;
|
|
725
725
|
break;
|
|
726
726
|
}
|
|
@@ -770,7 +770,7 @@ var VerticalMenuList = function VerticalMenuList(props) {
|
|
|
770
770
|
for (var i = 0, l = daraChildArr.length; i < l; i++) {
|
|
771
771
|
var item = daraChildArr[i];
|
|
772
772
|
var path = item.path;
|
|
773
|
-
item._paraui_menu_id =
|
|
773
|
+
item._paraui_menu_id = "_paraui_menu_id_".concat(UUID()); // 设置唯一id
|
|
774
774
|
if (parent) {
|
|
775
775
|
var idList = DeepClone(idMap[parent.path] || []);
|
|
776
776
|
idList.push(path);
|
|
@@ -927,7 +927,7 @@ var VerticalMenuList = function VerticalMenuList(props) {
|
|
|
927
927
|
*/
|
|
928
928
|
var handClass = function handClass() {
|
|
929
929
|
var str = 'vertical-menu-list';
|
|
930
|
-
if (className) str +=
|
|
930
|
+
if (className) str += " ".concat(className);
|
|
931
931
|
return str;
|
|
932
932
|
};
|
|
933
933
|
/** 展开memo */
|
|
@@ -1085,7 +1085,7 @@ var FooterExpansion = function FooterExpansion(props) {
|
|
|
1085
1085
|
// 处理className
|
|
1086
1086
|
var handClass = function handClass() {
|
|
1087
1087
|
var str = 'footer-expansion';
|
|
1088
|
-
if (className) str +=
|
|
1088
|
+
if (className) str += " ".concat(className);
|
|
1089
1089
|
if (!expansion) str += ' footer-expansion-shrink';
|
|
1090
1090
|
return str;
|
|
1091
1091
|
};
|
|
@@ -1136,8 +1136,8 @@ var Menu = function Menu(props) {
|
|
|
1136
1136
|
* @return class名
|
|
1137
1137
|
*/
|
|
1138
1138
|
var handClass = function handClass() {
|
|
1139
|
-
var str = $prefixCls
|
|
1140
|
-
if (className) str +=
|
|
1139
|
+
var str = "".concat($prefixCls, "-vertical-menu");
|
|
1140
|
+
if (className) str += " ".concat(className);
|
|
1141
1141
|
if (size) str += " ".concat($prefixCls, "-vertical-menu-").concat(size);
|
|
1142
1142
|
if (color) str += " ".concat($prefixCls, "-vertical-menu-").concat(color);
|
|
1143
1143
|
if (!expansion) str += " ".concat($prefixCls, "-vertical-menu-shrink");
|
package/Menu/interface.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import React, { ReactNode } from 'react';
|
|
7
7
|
/** 菜单类型 */
|
|
8
|
-
export type MenuListTypeType = 'redirect' | 'router' |
|
|
8
|
+
export type MenuListTypeType = 'redirect' | 'router' | 'iframe' | 'snack' | 'snackPage';
|
|
9
9
|
/** color类型 */
|
|
10
10
|
export type ColorType = 'deep' | 'light';
|
|
11
11
|
/** logo参数 */
|
package/Message/index.js
CHANGED
|
@@ -16,10 +16,10 @@ styleInject(css_248z);
|
|
|
16
16
|
|
|
17
17
|
//图标map
|
|
18
18
|
var iconMapping = {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
info: jsx(WarningCircleF, {}),
|
|
20
|
+
warn: jsx(WarningCircleF, {}),
|
|
21
|
+
error: jsx(CloseCircleF, {}),
|
|
22
|
+
success: jsx(CompleteIcon, {})
|
|
23
23
|
};
|
|
24
24
|
//获取window
|
|
25
25
|
var getMsgWindow = function getMsgWindow() {
|
|
@@ -37,7 +37,7 @@ var template = function template(_ref) {
|
|
|
37
37
|
hideIcon = _ref.hideIcon;
|
|
38
38
|
var item = document.createElement('div');
|
|
39
39
|
item.className = "msg-item";
|
|
40
|
-
item.id = id ||
|
|
40
|
+
item.id = id || '';
|
|
41
41
|
item.innerHTML = "<div class=\"msg-wrapper message-fadeInDown msg-".concat(type, "\">\n ").concat(icon ? "<div class=\"msg-icon\"></div>" : '', "\n <div class=\"msg-text\"></div>\n ").concat(close ? "<div class=\"msg-close\"></div>" : '', "\n </div>\n ");
|
|
42
42
|
var msgWrapper = item.querySelector('.msg-wrapper');
|
|
43
43
|
var msgBox = item.querySelector('.msg-text');
|
|
@@ -72,7 +72,7 @@ var MessageBar = function MessageBar(props) {
|
|
|
72
72
|
type = props.type;
|
|
73
73
|
var pId = createParentId();
|
|
74
74
|
var mId = getMsgId();
|
|
75
|
-
var cls = getParentClassName(props.className ||
|
|
75
|
+
var cls = getParentClassName(props.className || '');
|
|
76
76
|
if (className) cls += " ".concat(className);
|
|
77
77
|
useEffect(function () {
|
|
78
78
|
var parent = document.getElementById(pId);
|
|
@@ -94,7 +94,7 @@ var MessageBar = function MessageBar(props) {
|
|
|
94
94
|
});
|
|
95
95
|
};
|
|
96
96
|
var createParentId = function createParentId() {
|
|
97
|
-
return "msgbox_"
|
|
97
|
+
return "msgbox_".concat(String(Math.random() * 100000 | 0 + new Date().getTime()));
|
|
98
98
|
};
|
|
99
99
|
//消息box id
|
|
100
100
|
var parentId = createParentId();
|
|
@@ -125,7 +125,7 @@ var renderContent = function renderContent(box, _ref2, removeTime, autoClose, fi
|
|
|
125
125
|
desc: desc,
|
|
126
126
|
hideIcon: hideIcon
|
|
127
127
|
});
|
|
128
|
-
if (fill && item) item.classList.add(
|
|
128
|
+
if (fill && item) item.classList.add('msg-item-fill');
|
|
129
129
|
box === null || box === void 0 ? void 0 : box.appendChild(item);
|
|
130
130
|
var iconDom = document.querySelector("#".concat(id, " .msg-icon"));
|
|
131
131
|
if (iconDom && icon && !hideIcon) ReactDOM.render(icon, iconDom);
|
|
@@ -154,7 +154,7 @@ var Msg = function Msg(config, removeTime, type, parentId) {
|
|
|
154
154
|
duration = (_b = getMsgConf().duration) !== null && _b !== void 0 ? _b : removeTime,
|
|
155
155
|
className = '';
|
|
156
156
|
var autoClose = !isNaN(duration) && duration > 0;
|
|
157
|
-
if (typeof config ===
|
|
157
|
+
if (typeof config === 'string') text = config;else if (_typeof(config) === 'object') {
|
|
158
158
|
text = config.text || '';
|
|
159
159
|
desc = config.desc;
|
|
160
160
|
icon = config.icon || iconMapping[type];
|
|
@@ -162,7 +162,7 @@ var Msg = function Msg(config, removeTime, type, parentId) {
|
|
|
162
162
|
hideIcon = config.hideIcon || false;
|
|
163
163
|
if (config.maxCount > 0) maxCount = config.maxCount || Infinity;
|
|
164
164
|
}
|
|
165
|
-
if (_typeof(config) ===
|
|
165
|
+
if (_typeof(config) === 'object' && typeof config.close === 'boolean') close = config.close;else close = !autoClose;
|
|
166
166
|
var parent = document.getElementById(parentId);
|
|
167
167
|
if (!parent) {
|
|
168
168
|
parent = document.createElement('div');
|
|
@@ -185,10 +185,10 @@ var Msg = function Msg(config, removeTime, type, parentId) {
|
|
|
185
185
|
dropEleWhenExceedLimit(parent, maxCount);
|
|
186
186
|
};
|
|
187
187
|
var getParentClassName = function getParentClassName(className) {
|
|
188
|
-
return "".concat($prefixCls, "-message-box").concat(className ?
|
|
188
|
+
return "".concat($prefixCls, "-message-box").concat(className ? " ".concat(className) : '');
|
|
189
189
|
};
|
|
190
190
|
var getMsgId = function getMsgId() {
|
|
191
|
-
return
|
|
191
|
+
return "msgitem_".concat(String(Math.random() * 100000 | 0 + new Date().getTime()));
|
|
192
192
|
};
|
|
193
193
|
//超出maxCount 删除之前元素
|
|
194
194
|
var dropEleWhenExceedLimit = function dropEleWhenExceedLimit(parent, maxCount) {
|
package/Modal/Confirm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from
|
|
2
|
-
import { ButtonProps } from
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps } from '../../Button';
|
|
3
3
|
import './index.scss';
|
|
4
|
-
type ConfirmType =
|
|
4
|
+
type ConfirmType = 'success' | 'info' | 'error' | 'warn' | 'warning';
|
|
5
5
|
interface ConfirmDialogProps {
|
|
6
6
|
/**图标类型*/
|
|
7
7
|
type?: ConfirmType;
|
package/Modal/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ButtonProps } from '../Button';
|
|
3
|
-
import { Confirm, ConfirmObject } from
|
|
3
|
+
import { Confirm, ConfirmObject } from './Confirm';
|
|
4
4
|
import './index.scss';
|
|
5
5
|
type ModalSize = 'sm' | 'md' | 'lg' | 'auto' | 'fullScreen';
|
|
6
6
|
export interface ModalProps {
|
package/Modal/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import Dialog from 'rc-dialog';
|
|
|
6
6
|
import { Button } from '../Button/index.js';
|
|
7
7
|
import CloseIcon from '@para-ui/icons/Close';
|
|
8
8
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js';
|
|
9
|
-
import { d as defaultModalLocale } from '../_verture/index-
|
|
9
|
+
import { d as defaultModalLocale } from '../_verture/index-19947788.js';
|
|
10
10
|
import ReactDOM from 'react-dom';
|
|
11
11
|
import clsx from 'clsx';
|
|
12
12
|
import { $ as $prefixCls } from '../_verture/constant-0d9802f7.js';
|
|
@@ -32,16 +32,16 @@ import 'rc-dropdown';
|
|
|
32
32
|
import '../_verture/usePopupContainer-87febeb9.js';
|
|
33
33
|
import 'dayjs';
|
|
34
34
|
|
|
35
|
-
var css_248z$1 = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/2 下午7:00\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-confirm.paraui-v4-modal .paraui-v4-modal-body {\n padding: 0;\n}\n.paraui-v4-confirm .confirm-wrapper {\n width: 416px;\n outline: none;\n}\n.paraui-v4-confirm .confirm-content {\n position: relative;\n padding: 32px 32px 24px;\n}\n.paraui-v4-confirm .confirm-content-close {\n position: absolute;\n right: 16px;\n top: 16px;\n border: none;\n}\n.paraui-v4-confirm .confirm-content-close svg {\n font-size: 18px;\n}\n.paraui-v4-confirm .confirm-content-icon {\n float: left;\n margin-top: 3px;\n color: rgb(255, 147, 38);\n}\n.paraui-v4-confirm .confirm-content-icon svg {\n color: inherit;\n font-size: 14px;\n}\n.paraui-v4-confirm .confirm-content-icon--warn, .paraui-v4-confirm .confirm-content-icon-warning {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-confirm .confirm-content-icon--error {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-confirm .confirm-content-icon--success {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-confirm .confirm-content-icon--info {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-confirm .confirm-content-body {\n margin: 0 16px 0 30px;\n color: rgba(29, 33, 38, 0.9);\n font-size: 14px;\n}\n.paraui-v4-confirm .confirm-content-body .confirm-body-title {\n display: block;\n margin-bottom: 8px;\n font-weight: 700;\n font-size:
|
|
35
|
+
var css_248z$1 = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/2 下午7:00\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-confirm.paraui-v4-modal .paraui-v4-modal-body {\n padding: 0;\n}\n.paraui-v4-confirm .confirm-wrapper {\n width: 416px;\n outline: none;\n}\n.paraui-v4-confirm .confirm-content {\n position: relative;\n padding: 32px 32px 24px;\n}\n.paraui-v4-confirm .confirm-content-close {\n position: absolute;\n right: 16px;\n top: 16px;\n border: none;\n}\n.paraui-v4-confirm .confirm-content-close svg {\n font-size: 18px;\n}\n.paraui-v4-confirm .confirm-content-icon {\n float: left;\n margin-top: 3px;\n color: rgb(255, 147, 38);\n}\n.paraui-v4-confirm .confirm-content-icon svg {\n color: inherit;\n font-size: 14px;\n}\n.paraui-v4-confirm .confirm-content-icon--warn, .paraui-v4-confirm .confirm-content-icon-warning {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-confirm .confirm-content-icon--error {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-confirm .confirm-content-icon--success {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-confirm .confirm-content-icon--info {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-confirm .confirm-content-body {\n margin: 0 16px 0 30px;\n color: rgba(29, 33, 38, 0.9);\n font-size: 14px;\n}\n.paraui-v4-confirm .confirm-content-body .confirm-body-title {\n display: block;\n margin-bottom: 8px;\n font-weight: 700;\n font-size: 16px;\n}\n.paraui-v4-confirm .confirm-content-actions {\n margin-top: 24px;\n text-align: right;\n}\n.paraui-v4-confirm .confirm-content-actions > button + button {\n margin-left: 16px;\n}";
|
|
36
36
|
styleInject(css_248z$1);
|
|
37
37
|
|
|
38
38
|
//图标
|
|
39
39
|
var iconMap = {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
success: jsx(CompleteIcon, {}),
|
|
41
|
+
warn: jsx(WarningCircleF, {}),
|
|
42
|
+
warning: jsx(WarningCircleF, {}),
|
|
43
|
+
error: jsx(CloseCircleF, {}),
|
|
44
|
+
info: jsx(InfoOutlined, {})
|
|
45
45
|
};
|
|
46
46
|
//confirm modal
|
|
47
47
|
var ConfirmDialog = function ConfirmDialog(props) {
|
package/MultiBox/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import React, { FunctionComponent, ReactNode } from 'react';
|
|
7
7
|
import { TextFieldProps } from '../TextField';
|
|
8
|
-
import { LabelTooltipProps } from
|
|
9
|
-
import { HelperTextDetailProps } from
|
|
8
|
+
import { LabelTooltipProps } from '../Label';
|
|
9
|
+
import { HelperTextDetailProps } from '../HelperText';
|
|
10
10
|
import './index.scss';
|
|
11
11
|
interface ReplaceFieldsProps {
|
|
12
12
|
/** key索引 */
|
package/MultiBox/index.js
CHANGED
|
@@ -47,7 +47,7 @@ var localeJson = {
|
|
|
47
47
|
en: en
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-multi-box {\n width: 100%;\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 font-weight: 400;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item {\n display: flex;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input {\n flex: 1;\n display: flex;\n align-items: center;\n align-items: flex-start;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input > .multi-box-text-field:first-child {\n margin-right: 10px;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input > .multi-box-text-field {\n flex: 1;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input > .multi-box-text-field .paraui-v4-helper-text {\n min-height: 10px;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input > .multi-box-separator {\n padding-bottom:
|
|
50
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-multi-box {\n width: 100%;\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 font-weight: 400;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item {\n display: flex;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input {\n flex: 1;\n display: flex;\n align-items: center;\n align-items: flex-start;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input.multi-box-content-item-input-error > .multi-box-separator {\n padding-bottom: 20px;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input > .multi-box-text-field:first-child {\n margin-right: 10px;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input > .multi-box-text-field {\n flex: 1;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input > .multi-box-text-field .paraui-v4-helper-text {\n min-height: 10px;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input > .multi-box-separator {\n padding-bottom: 10px;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n margin: 0 10px;\n line-height: 1;\n color: rgb(92, 101, 115);\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .opera-box {\n display: flex;\n align-items: center;\n margin-left: 10px;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .opera-box > .del-box {\n cursor: pointer;\n border-radius: 4px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .opera-box > .del-box:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .opera-box > .del-box:hover svg {\n color: rgb(87, 131, 235);\n}\n.paraui-v4-multi-box > .multi-box-content > .multi-box-content-item > .opera-box > .del-box svg {\n font-size: 20px;\n color: rgb(92, 101, 115);\n}\n.paraui-v4-multi-box > .multi-box-add {\n text-align: center;\n border: 1px dashed;\n border-color: rgb(212, 218, 227);\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 4px;\n cursor: pointer;\n background-color: rgb(247, 248, 250);\n color: rgb(46, 101, 230);\n font-size: 14px;\n}\n.paraui-v4-multi-box > .multi-box-add > svg {\n font-size: 16px;\n color: rgb(46, 101, 230);\n margin-right: 10px;\n}\n.paraui-v4-multi-box > .multi-box-add:hover {\n border-color: rgb(87, 131, 235);\n background-color: rgb(240, 245, 255);\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-separator > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input > .multi-box-text-field:first-child {\n margin-right: 0;\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-disabled > .multi-box-content > .multi-box-content-item > .opera-box > .del-box {\n cursor: not-allowed;\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-disabled > .multi-box-content > .multi-box-content-item > .opera-box > .del-box:hover {\n background-color: transparent;\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-disabled > .multi-box-content > .multi-box-content-item > .opera-box > .del-box:hover svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-disabled > .multi-box-content > .multi-box-content-item > .opera-box > .del-box svg {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-disabled > .multi-box-add {\n border-color: rgb(212, 218, 227);\n cursor: not-allowed;\n background-color: rgb(247, 248, 250);\n color: rgb(161, 168, 179);\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-disabled > .multi-box-add > svg {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-disabled > .multi-box-add:hover {\n border-color: rgb(212, 218, 227);\n color: rgb(161, 168, 179);\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-small > .multi-box-add {\n height: 28px;\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-small > .multi-box-content > .multi-box-content-item > .opera-box {\n height: 28px;\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-small > .multi-box-content > .multi-box-content-item > .opera-box > .del-box {\n width: 28px;\n height: 28px;\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-medium > .multi-box-add {\n height: 32px;\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-medium > .multi-box-content > .multi-box-content-item > .opera-box {\n height: 32px;\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-medium > .multi-box-content > .multi-box-content-item > .opera-box > .del-box {\n width: 32px;\n height: 32px;\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-large > .multi-box-add {\n height: 32px;\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-large > .multi-box-content > .multi-box-content-item > .opera-box {\n height: 32px;\n}\n.paraui-v4-multi-box.paraui-v4-multi-box-large > .multi-box-content > .multi-box-content-item > .opera-box > .del-box {\n width: 32px;\n height: 32px;\n}";
|
|
51
51
|
styleInject(css_248z);
|
|
52
52
|
|
|
53
53
|
var MultiBox = function MultiBox(props) {
|
|
@@ -156,7 +156,7 @@ var MultiBox = function MultiBox(props) {
|
|
|
156
156
|
var handLabelClass = function handLabelClass() {
|
|
157
157
|
var str = 'multi-box-label';
|
|
158
158
|
if (labelTooltip && labelTooltip.className) {
|
|
159
|
-
str +=
|
|
159
|
+
str += " ".concat(labelTooltip.className);
|
|
160
160
|
}
|
|
161
161
|
return str;
|
|
162
162
|
};
|
|
@@ -175,8 +175,12 @@ var MultiBox = function MultiBox(props) {
|
|
|
175
175
|
var valValue = item[replaceFieldsCom.value || ''] || '';
|
|
176
176
|
var disabledKey = disabled instanceof Array ? (_a = disabled[index]) === null || _a === void 0 ? void 0 : _a[keyValue] : disabled;
|
|
177
177
|
var disabledVal = disabled instanceof Array ? (_b = disabled[index]) === null || _b === void 0 ? void 0 : _b[valValue] : disabled;
|
|
178
|
+
var errorKeyObj = handError(index, replaceFieldsCom.key || '');
|
|
179
|
+
var errorValueObj = handError(index, replaceFieldsCom.value || '');
|
|
180
|
+
var str = 'multi-box-content-item-input';
|
|
181
|
+
if (errorKeyObj.error || errorValueObj.error) str += ' multi-box-content-item-input-error';
|
|
178
182
|
return jsxs("div", Object.assign({
|
|
179
|
-
className:
|
|
183
|
+
className: str
|
|
180
184
|
}, {
|
|
181
185
|
children: [jsx(TextField, Object.assign({
|
|
182
186
|
className: 'multi-box-text-field',
|
|
@@ -184,7 +188,7 @@ var MultiBox = function MultiBox(props) {
|
|
|
184
188
|
disabled: disabledKey,
|
|
185
189
|
placeholder: placeholderKey,
|
|
186
190
|
value: keyValue
|
|
187
|
-
},
|
|
191
|
+
}, errorKeyObj, {
|
|
188
192
|
onChange: changeValue(replaceFieldsCom.key || '', index),
|
|
189
193
|
fetchSuggestions: fetchSuggestionsKey ? fetchSuggestions('key') : undefined,
|
|
190
194
|
onSelect: selectValue(replaceFieldsCom.key || '', index)
|
|
@@ -198,7 +202,7 @@ var MultiBox = function MultiBox(props) {
|
|
|
198
202
|
disabled: disabledVal,
|
|
199
203
|
placeholder: placeholderValue,
|
|
200
204
|
value: valValue
|
|
201
|
-
},
|
|
205
|
+
}, errorValueObj, {
|
|
202
206
|
onChange: changeValue(replaceFieldsCom.value || '', index),
|
|
203
207
|
fetchSuggestions: fetchSuggestionsValue ? fetchSuggestions('value') : undefined,
|
|
204
208
|
onSelect: selectValue(replaceFieldsCom.value || '', index)
|
|
@@ -247,8 +251,8 @@ var MultiBox = function MultiBox(props) {
|
|
|
247
251
|
};
|
|
248
252
|
/** 处理class */
|
|
249
253
|
var handClass = function handClass() {
|
|
250
|
-
var str = $prefixCls
|
|
251
|
-
if (className) str +=
|
|
254
|
+
var str = "".concat($prefixCls, "-multi-box multi-box");
|
|
255
|
+
if (className) str += " ".concat(className);
|
|
252
256
|
if (size) str += " ".concat($prefixCls, "-multi-box-").concat(size);
|
|
253
257
|
if (error) str += " ".concat($prefixCls, "-multi-box-error");
|
|
254
258
|
if (disabled === true) str += " ".concat($prefixCls, "-multi-box-disabled");
|
package/Notification/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { $ as $prefixCls } from '../_verture/constant-0d9802f7.js';
|
|
|
11
11
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
12
12
|
import '../_verture/typeof-adeedc13.js';
|
|
13
13
|
|
|
14
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n * @author Hanz\n * @date 2022/1/13 上午10:30\n * @description 通知提醒框\n */\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-notification {\n position: fixed;\n padding: 0;\n color: rgb(29, 33, 38);\n font-size: 14px;\n z-index: 9999;\n}\n.paraui-v4-notification-topLeft .paraui-v4-notification-fade-enter.paraui-v4-notification-fade-enter-active, .paraui-v4-notification-bottomLeft .paraui-v4-notification-fade-enter.paraui-v4-notification-fade-enter-active, .paraui-v4-notification-topLeft .paraui-v4-notification-fade-appear.paraui-v4-notification-fade-appear-active, .paraui-v4-notification-bottomLeft .paraui-v4-notification-fade-appear.paraui-v4-notification-fade-appear-active {\n animation-name: NotificationLeftFadeIn;\n}\n.paraui-v4-notification-hook-holder, .paraui-v4-notification-notice {\n position: relative;\n width: 440px;\n max-width: calc(100vw - 48px);\n margin-top: 20px;\n margin-left: auto;\n overflow: hidden;\n word-wrap: break-word;\n background: #fff;\n border-radius: 4px;\n box-shadow: 0px 2px 8px 0px rgb(234, 236, 241);\n}\n.paraui-v4-notification-hook-holder:first-child, .paraui-v4-notification-notice:first-child {\n margin-top: 0;\n}\n.paraui-v4-notification-topLeft .paraui-v4-notification-hook-holder, .paraui-v4-notification-topLeft .paraui-v4-notification-notice, .paraui-v4-notification-bottomLeft .paraui-v4-notification-hook-holder, .paraui-v4-notification-bottomLeft .paraui-v4-notification-notice {\n margin-right: auto;\n margin-left: 0;\n}\n.paraui-v4-notification-hook-holder > .paraui-v4-notification-notice {\n margin-bottom: 0;\n box-shadow: none;\n}\n.paraui-v4-notification-notice {\n padding: 16px;\n line-height: 1.5715;\n}\n.paraui-v4-notification-notice-content {\n position: relative;\n}\n.paraui-v4-notification-notice-message {\n margin-bottom: 10px;\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n}\n.paraui-v4-notification-notice-message-single-line-auto-margin {\n display: block;\n width: calc(264px - 100%);\n max-width: 4px;\n background-color: transparent;\n pointer-events: none;\n}\n.paraui-v4-notification-notice-message-single-line-auto-margin::before {\n display: block;\n content: \"\";\n}\n.paraui-v4-notification-notice-description {\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n}\n.paraui-v4-notification-notice-closable .paraui-v4-notification-notice-message {\n padding-right: 24px;\n}\n.paraui-v4-notification-notice-with-icon .paraui-v4-notification-notice-message {\n margin-bottom: 10px;\n margin-left: 24px;\n}\n.paraui-v4-notification-notice-with-icon .paraui-v4-notification-notice-description {\n margin-left: 24px;\n}\n.paraui-v4-notification-notice-without-description .paraui-v4-notification-notice-message {\n margin-bottom: 0;\n}\n.paraui-v4-notification .paraui-v4-notification-notice-icon {\n position: absolute;\n top: 2px;\n font-size:
|
|
14
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n * @author Hanz\n * @date 2022/1/13 上午10:30\n * @description 通知提醒框\n */\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-notification {\n position: fixed;\n padding: 0;\n color: rgb(29, 33, 38);\n font-size: 14px;\n z-index: 9999;\n}\n.paraui-v4-notification-topLeft .paraui-v4-notification-fade-enter.paraui-v4-notification-fade-enter-active, .paraui-v4-notification-bottomLeft .paraui-v4-notification-fade-enter.paraui-v4-notification-fade-enter-active, .paraui-v4-notification-topLeft .paraui-v4-notification-fade-appear.paraui-v4-notification-fade-appear-active, .paraui-v4-notification-bottomLeft .paraui-v4-notification-fade-appear.paraui-v4-notification-fade-appear-active {\n animation-name: NotificationLeftFadeIn;\n}\n.paraui-v4-notification-hook-holder, .paraui-v4-notification-notice {\n position: relative;\n width: 440px;\n max-width: calc(100vw - 48px);\n margin-top: 20px;\n margin-left: auto;\n overflow: hidden;\n word-wrap: break-word;\n background: #fff;\n border-radius: 4px;\n box-shadow: 0px 2px 8px 0px rgb(234, 236, 241);\n}\n.paraui-v4-notification-hook-holder:first-child, .paraui-v4-notification-notice:first-child {\n margin-top: 0;\n}\n.paraui-v4-notification-topLeft .paraui-v4-notification-hook-holder, .paraui-v4-notification-topLeft .paraui-v4-notification-notice, .paraui-v4-notification-bottomLeft .paraui-v4-notification-hook-holder, .paraui-v4-notification-bottomLeft .paraui-v4-notification-notice {\n margin-right: auto;\n margin-left: 0;\n}\n.paraui-v4-notification-hook-holder > .paraui-v4-notification-notice {\n margin-bottom: 0;\n box-shadow: none;\n}\n.paraui-v4-notification-notice {\n padding: 16px;\n line-height: 1.5715;\n}\n.paraui-v4-notification-notice-content {\n position: relative;\n}\n.paraui-v4-notification-notice-message {\n margin-bottom: 10px;\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n}\n.paraui-v4-notification-notice-message-single-line-auto-margin {\n display: block;\n width: calc(264px - 100%);\n max-width: 4px;\n background-color: transparent;\n pointer-events: none;\n}\n.paraui-v4-notification-notice-message-single-line-auto-margin::before {\n display: block;\n content: \"\";\n}\n.paraui-v4-notification-notice-description {\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n}\n.paraui-v4-notification-notice-closable .paraui-v4-notification-notice-message {\n padding-right: 24px;\n}\n.paraui-v4-notification-notice-with-icon .paraui-v4-notification-notice-message {\n margin-bottom: 10px;\n margin-left: 24px;\n}\n.paraui-v4-notification-notice-with-icon .paraui-v4-notification-notice-description {\n margin-left: 24px;\n}\n.paraui-v4-notification-notice-without-description .paraui-v4-notification-notice-message {\n margin-bottom: 0;\n}\n.paraui-v4-notification .paraui-v4-notification-notice-icon {\n position: absolute;\n top: 2px;\n font-size: 16px;\n line-height: 24px;\n}\n.paraui-v4-notification .paraui-v4-notification-notice-icon-success {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-notification .paraui-v4-notification-notice-icon-info {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-notification .paraui-v4-notification-notice-icon-warning {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-notification .paraui-v4-notification-notice-icon-error {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-notification-notice-close {\n position: absolute;\n top: 16px;\n right: 16px;\n color: rgb(92, 101, 115);\n outline: none;\n}\n.paraui-v4-notification-notice-close:hover {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-notification .paraui-v4-notification-close-icon {\n font-size: 18px;\n cursor: pointer;\n color: rgb(92, 101, 115);\n}\n.paraui-v4-notification .paraui-v4-notification-close-icon:hover {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-notification-notice-btn {\n float: right;\n margin-top: 12px;\n}\n.paraui-v4-notification .notification-fade-effect {\n animation-duration: 0.24s;\n animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n animation-fill-mode: both;\n}\n.paraui-v4-notification-fade-enter, .paraui-v4-notification-fade-appear {\n animation-duration: 0.24s;\n animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n animation-fill-mode: both;\n opacity: 0;\n animation-play-state: paused;\n}\n.paraui-v4-notification-fade-leave {\n animation-duration: 0.24s;\n animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n.paraui-v4-notification-fade-enter.paraui-v4-notification-fade-enter-active, .paraui-v4-notification-fade-appear.paraui-v4-notification-fade-appear-active {\n animation-name: NotificationFadeIn;\n animation-play-state: running;\n}\n.paraui-v4-notification-fade-leave.paraui-v4-notification-fade-leave-active {\n animation-name: NotificationFadeOut;\n animation-play-state: running;\n}\n@keyframes NotificationFadeIn {\n 0% {\n left: 440px;\n opacity: 0;\n }\n 100% {\n left: 0;\n opacity: 1;\n }\n}\n@keyframes NotificationLeftFadeIn {\n 0% {\n right: 440px;\n opacity: 0;\n }\n 100% {\n right: 0;\n opacity: 1;\n }\n}\n@keyframes NotificationFadeOut {\n 0% {\n max-height: 150px;\n margin-bottom: 16px;\n opacity: 1;\n }\n 100% {\n max-height: 0;\n margin-bottom: 0;\n padding-top: 0;\n padding-bottom: 0;\n opacity: 0;\n }\n}";
|
|
15
15
|
styleInject(css_248z);
|
|
16
16
|
|
|
17
17
|
//通知框实例存储
|
|
@@ -198,7 +198,7 @@ function getNoticeProps(args, prefixCls) {
|
|
|
198
198
|
}) : null;
|
|
199
199
|
return {
|
|
200
200
|
content: jsxs("div", Object.assign({
|
|
201
|
-
className: "".concat(iconNode ? "".concat(prefixCls, "-with-icon") : '', " ").concat(description ? '' : prefixCls
|
|
201
|
+
className: "".concat(iconNode ? "".concat(prefixCls, "-with-icon") : '', " ").concat(description ? '' : "".concat(prefixCls, "-without-description"))
|
|
202
202
|
}, {
|
|
203
203
|
children: [iconNode, jsxs("div", Object.assign({
|
|
204
204
|
className: "".concat(prefixCls, "-message")
|