@para-ui/core 3.0.105 → 3.0.107-rc
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 +5 -9
- package/AutoTips/index.js +4 -11
- package/Breadcrumbs/index.js +7 -11
- package/Button/index.js +8 -12
- package/ButtonGroup/index.js +8 -12
- package/Carousel/index.js +4 -8
- package/Cascader/index.js +7 -11
- package/Checkbox/index.js +4 -8
- package/CheckboxGroup/index.js +4 -8
- package/Collapse/index.js +1 -5
- package/CollapseBox/index.js +4 -8
- package/CollapseLayout/index.js +6 -10
- package/ColorPicker/index.js +0 -2
- package/ComboSelect/index.js +14 -18
- package/Container/index.js +1 -5
- package/DatePicker/index.js +10 -14
- package/Desktop/index.js +10 -14
- package/DragVerify/index.js +6 -10
- package/Drawer/index.js +8 -12
- package/Dropdown/index.js +3 -4
- package/DynamicMultiBox/index.js +15 -19
- package/Empty/index.js +3 -7
- package/Form/index.js +15 -16
- package/FormItem/index.js +15 -16
- package/FunctionModal/index.js +14 -15
- package/GlobalContext/index.js +3 -3
- package/Help/index.js +4 -8
- package/HelperText/index.js +1 -5
- package/InputLang/index.js +11 -15
- package/InputNumber/index.js +4 -8
- package/Label/index.js +4 -8
- package/Loading/index.js +1 -5
- package/Menu/index.js +5 -9
- package/Message/index.js +4 -8
- package/Modal/index.js +10 -17
- package/MultiBox/index.js +10 -14
- package/Notification/index.js +3 -7
- package/OperateBtn/index.js +9 -13
- package/PageHeader/index.js +9 -13
- package/Pagination/index.js +11 -15
- package/ParauiProvider/index.d.ts +1 -0
- package/ParauiProvider/index.js +3 -7
- package/PasswordRules/index.js +3 -7
- package/PopConfirm/index.js +8 -12
- package/Popover/index.js +5 -9
- package/Progress/index.js +2 -6
- package/Querying/index.js +3 -7
- package/README.md +10 -0
- package/Radio/index.js +4 -8
- package/RadioGroup/index.js +4 -8
- package/Search/index.js +9 -13
- package/Select/index.js +11 -15
- package/SelectInput/index.js +11 -12
- package/Selector/index.js +11 -24
- package/SelectorPicker/index.js +12 -16
- package/SingleBox/index.js +10 -14
- package/Slider/index.js +6 -10
- package/Split/index.js +4 -8
- package/Status/index.js +1 -5
- package/Stepper/index.js +3 -7
- package/Styles/theme/theme-api.scss +75 -0
- package/Styles/theme/theme-default.scss +74 -0
- package/Styles/theme/theme-shrcb.scss +80 -0
- package/Styles/theme.scss +1 -69
- package/Switch/index.js +6 -10
- package/Table/index.js +16 -39
- package/Tabs/index.js +9 -13
- package/Tag/index.js +7 -11
- package/TextEditor/index.js +5 -12
- package/TextField/index.js +8 -12
- package/TimePicker/index.js +10 -11
- package/Timeline/index.js +4 -8
- package/Title/index.js +1 -5
- package/ToggleButton/index.js +9 -13
- package/Tooltip/index.js +4 -8
- package/Transfer/index.js +13 -17
- package/Tree/index.js +12 -13
- package/Upload/ImageUpload/index.d.ts +2 -7
- package/Upload/index.js +113 -57
- package/Upload/interface.d.ts +18 -0
- package/_verture/{index-f4f86121.js → closestPolyfill-aa558c48.js} +8 -15
- package/_verture/closestPolyfill-e4aed056.js +1354 -0
- package/_verture/constant-8992bf83.js +10 -0
- package/_verture/{defineProperty-62acccfc.js → defineProperty-19daf078.js} +1 -1
- package/_verture/defineProperty-dbb356cd.js +34 -0
- package/_verture/{index-effca97a.js → index-5ca0cf2c.js} +4 -11
- package/_verture/{index-77f9e0fb.js → index-6217784a.js} +2 -6
- package/_verture/index-78f024fe.js +757 -0
- package/_verture/index-82ba60b5.js +232 -0
- package/_verture/index-8b6ea6cc.js +340 -0
- package/_verture/index-d7a0e820.js +18 -0
- package/_verture/{intl-4a9f1b44.js → intl-1d1097e2.js} +1 -1
- package/_verture/intl-23fe77b7.js +81 -0
- package/_verture/{modalContext-c04790c8.js → modalContext-32a590e2.js} +4 -8
- package/_verture/modalContext-d13603c6.js +197 -0
- package/_verture/{slicedToArray-76060636.js → slicedToArray-d0df4205.js} +1 -1
- package/_verture/slicedToArray-d0e9ca41.js +43 -0
- package/_verture/sortable.esm-476eb33a.js +3791 -0
- package/_verture/{toConsumableArray-81040c9e.js → toConsumableArray-0e19ce18.js} +1 -1
- package/_verture/toConsumableArray-d872f770.js +19 -0
- package/_verture/tslib.es6-85d7d0d5.js +38 -0
- package/_verture/typeof-efd93d53.js +11 -0
- package/_verture/unsupportedIterableToArray-eba4c7dc.js +16 -0
- package/_verture/useFormatMessage-df50b866.js +20 -0
- package/_verture/useGlobalProps-277b28c9.js +11 -0
- package/_verture/usePopupContainer-f7dd18e3.js +68 -0
- package/_verture/util-fb1ffb04.js +18 -0
- package/_verture/{utils-1ffeadec.js → utils-8c2aabfe.js} +1 -1
- package/_verture/utils-a36cfe72.js +92 -0
- package/index.js +20 -22
- package/package.json +4 -1
- package/theme/theme-shrcb.css +14616 -0
- package/theme/theme.css +15012 -0
- package/umd/Breadcrumbs.js +1 -1
- package/umd/Button.js +1 -1
- package/umd/ButtonGroup.js +1 -1
- package/umd/Checkbox.js +1 -1
- package/umd/CheckboxGroup.js +1 -1
- package/umd/CollapseLayout.js +3 -3
- package/umd/ComboSelect.js +2 -2
- package/umd/DatePicker.js +1 -1
- package/umd/Desktop.js +1 -1
- package/umd/DragVerify.js +1 -1
- package/umd/Drawer.js +1 -1
- package/umd/DynamicMultiBox.js +2 -2
- package/umd/Empty.js +1 -1
- package/umd/Form.js +2 -2
- package/umd/FormItem.js +2 -2
- package/umd/FunctionModal.js +4 -4
- package/umd/Help.js +1 -1
- package/umd/InputLang.js +1 -1
- package/umd/InputNumber.js +1 -1
- package/umd/Label.js +1 -1
- package/umd/Menu.js +3 -3
- package/umd/Message.js +1 -1
- package/umd/Modal.js +3 -3
- package/umd/MultiBox.js +1 -1
- package/umd/Notification.js +1 -1
- package/umd/OperateBtn.js +1 -1
- package/umd/PageHeader.js +7 -7
- package/umd/Pagination.js +4 -4
- package/umd/ParauiProvider.js +1 -1
- package/umd/PopConfirm.js +1 -1
- package/umd/Progress.js +1 -1
- package/umd/Radio.js +1 -1
- package/umd/RadioGroup.js +1 -1
- package/umd/Search.js +1 -1
- package/umd/Select.js +1 -1
- package/umd/SelectInput.js +1 -1
- package/umd/Selector.js +1 -1
- package/umd/SelectorPicker.js +1 -1
- package/umd/SingleBox.js +1 -1
- package/umd/Slider.js +1 -1
- package/umd/Stepper.js +4 -4
- package/umd/Switch.js +4 -4
- package/umd/Table.js +2 -2
- package/umd/Tabs.js +1 -1
- package/umd/Tag.js +1 -1
- package/umd/TextEditor.js +1 -1
- package/umd/TextField.js +1 -1
- package/umd/TimePicker.js +1 -1
- package/umd/Timeline.js +1 -1
- package/umd/Title.js +1 -1
- package/umd/ToggleButton.js +1 -1
- package/umd/Transfer.js +1 -1
- package/umd/Tree.js +1 -1
- package/umd/Upload.js +5 -5
- package/_verture/index-a369ca3f.js +0 -4
- package/_verture/style-inject.es-300983ab.js +0 -28
- /package/_verture/{constant-66aa48a1.js → constant-0ef8de65.js} +0 -0
- /package/_verture/{index-65bbd1e4.js → index-178adec2.js} +0 -0
- /package/_verture/{index-beef914f.js → index-485070a0.js} +0 -0
- /package/_verture/{sortable.esm-49896035.js → sortable.esm-30288b43.js} +0 -0
- /package/_verture/{tslib.es6-55ed4bd2.js → tslib.es6-575049a5.js} +0 -0
- /package/_verture/{typeof-498dd2b1.js → typeof-d4922fc6.js} +0 -0
- /package/_verture/{unsupportedIterableToArray-cb478f24.js → unsupportedIterableToArray-878ef803.js} +0 -0
- /package/_verture/{useFormatMessage-703f8b20.js → useFormatMessage-24a86ca6.js} +0 -0
- /package/_verture/{useGlobalProps-1b846a65.js → useGlobalProps-13b65974.js} +0 -0
- /package/_verture/{usePopupContainer-87febeb9.js → usePopupContainer-6db7e9f3.js} +0 -0
- /package/_verture/{util-7e1fb1e2.js → util-10192b53.js} +0 -0
package/Stepper/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _typeof } from '../_verture/typeof-
|
|
2
|
-
import { _ as __rest } from '../_verture/tslib.es6-
|
|
1
|
+
import { _ as _typeof } from '../_verture/typeof-efd93d53.js';
|
|
2
|
+
import { _ as __rest } from '../_verture/tslib.es6-85d7d0d5.js';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import RcSteps from 'rc-steps';
|
|
@@ -13,9 +13,8 @@ import Seven from '@para-ui/icons/Seven';
|
|
|
13
13
|
import Eight from '@para-ui/icons/Eight';
|
|
14
14
|
import Nine from '@para-ui/icons/Nine';
|
|
15
15
|
import Check from '@para-ui/icons/Check';
|
|
16
|
-
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-
|
|
16
|
+
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-8992bf83.js';
|
|
17
17
|
import clsx from 'clsx';
|
|
18
|
-
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
19
18
|
|
|
20
19
|
//默认图标
|
|
21
20
|
var Icons = {
|
|
@@ -31,9 +30,6 @@ var Icons = {
|
|
|
31
30
|
'done': jsx(Check, {})
|
|
32
31
|
};
|
|
33
32
|
|
|
34
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/26 下午2:57\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-stepper {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgb(46, 55, 67);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n display: flex;\n width: 100%;\n text-align: initial;\n}\n.paraui-v3-stepper .component-stepper-item {\n position: relative;\n display: inline-block;\n flex: 1;\n vertical-align: top;\n}\n.paraui-v3-stepper .component-stepper-item-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n outline: none;\n}\n.paraui-v3-stepper .component-stepper-item:last-child > .component-stepper-item-container > .component-stepper-item-tail,\n.paraui-v3-stepper .component-stepper-item:last-child > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-title::after {\n display: none;\n}\n.paraui-v3-stepper .component-stepper-item-icon,\n.paraui-v3-stepper .component-stepper-item-content {\n display: block;\n vertical-align: top;\n}\n.paraui-v3-stepper .component-stepper-item-icon {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: 30px;\n height: 30px;\n font-size: 16px;\n line-height: 30px;\n text-align: center;\n border-radius: 50%;\n background-color: rgba(171, 176, 185, 0.12);\n transition: background-color 0.3s, border-color 0.3s;\n}\n.paraui-v3-stepper .component-stepper-item-icon .component-stepper-icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n color: rgba(46, 55, 67, 0.7);\n vertical-align: middle;\n}\n.paraui-v3-stepper .component-stepper-item-icon .component-stepper-icon svg {\n color: inherit;\n}\n.paraui-v3-stepper .component-stepper-item-tail {\n position: absolute;\n top: 12px;\n left: 0;\n width: 100%;\n padding: 0 10px;\n}\n.paraui-v3-stepper .component-stepper-item-tail::after {\n display: inline-block;\n width: 100%;\n height: 1px;\n border-radius: 1px;\n transition: background 0.3s;\n content: \"\";\n}\n.paraui-v3-stepper .component-stepper-item-title {\n display: inline-block;\n color: rgba(46, 55, 67, 0.7);\n font-size: 14px;\n font-weight: 400;\n line-height: 30px;\n}\n.paraui-v3-stepper .component-stepper-item-title::after {\n position: absolute;\n display: block;\n height: 1px;\n content: \"\";\n top: 15px;\n left: calc(50% + 30px);\n right: calc(-50% + 30px);\n}\n.paraui-v3-stepper .component-stepper-item-subtitle {\n display: inline;\n margin-left: 8px;\n color: rgb(46, 55, 67);\n font-weight: normal;\n font-size: 14px;\n}\n.paraui-v3-stepper .component-stepper-item-description {\n color: rgb(46, 55, 67);\n font-size: 14px;\n}\n.paraui-v3-stepper .component-stepper-item-wait .component-stepper-item-icon {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-stepper .component-stepper-item-wait .component-stepper-item-icon > .component-stepper-icon {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-stepper .component-stepper-item-wait .component-stepper-item-icon > .component-stepper-icon .component-stepper-icon-dot {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-stepper .component-stepper-item-wait > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-title {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-stepper .component-stepper-item-wait > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-title::after {\n border-top: 1px dashed rgba(171, 176, 185, 0.4);\n height: 0;\n background: transparent;\n}\n.paraui-v3-stepper .component-stepper-item-wait > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-description {\n color: rgb(235, 96, 84);\n}\n.paraui-v3-stepper .component-stepper-item-wait > .component-stepper-item-container > .component-stepper-item-tail::after {\n border-left: 1px dashed rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-stepper .component-stepper-item-process .component-stepper-item-icon {\n background-color: rgb(255, 255, 255);\n}\n.paraui-v3-stepper .component-stepper-item-process .component-stepper-item-icon > .component-stepper-icon {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-stepper .component-stepper-item-process .component-stepper-item-icon > .component-stepper-icon .component-stepper-icon-dot {\n background: rgb(54, 102, 214);\n}\n.paraui-v3-stepper .component-stepper-item-process > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-title {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-stepper .component-stepper-item-process > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-title::after {\n background: linear-gradient(90deg, rgb(61, 102, 248), rgb(119, 147, 249) 74%, rgb(216, 223, 250));\n}\n.paraui-v3-stepper .component-stepper-item-process > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-description {\n color: rgb(46, 55, 67);\n}\n.paraui-v3-stepper .component-stepper-item-process > .component-stepper-item-container > .component-stepper-item-tail::after {\n background: linear-gradient(180deg, rgb(61, 102, 248), rgb(119, 147, 249) 74%, rgb(216, 223, 250));\n}\n.paraui-v3-stepper .component-stepper-item-process > .component-stepper-item-container > .component-stepper-item-icon {\n background: rgb(54, 102, 214);\n}\n.paraui-v3-stepper .component-stepper-item-process > .component-stepper-item-container > .component-stepper-item-icon .component-stepper-icon {\n color: rgb(255, 255, 255);\n}\n.paraui-v3-stepper .component-stepper-item-process > .component-stepper-item-container > .component-stepper-item-title {\n font-weight: 400;\n}\n.paraui-v3-stepper .component-stepper-item-finish .component-stepper-item-icon {\n background-color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-stepper .component-stepper-item-finish .component-stepper-item-icon > .component-stepper-icon {\n color: rgb(255, 255, 255);\n}\n.paraui-v3-stepper .component-stepper-item-finish .component-stepper-item-icon > .component-stepper-icon .component-stepper-icon-dot {\n background: rgb(54, 102, 214);\n}\n.paraui-v3-stepper .component-stepper-item-finish > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-title {\n color: rgb(46, 55, 67);\n}\n.paraui-v3-stepper .component-stepper-item-finish > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-title::after {\n background-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-stepper .component-stepper-item-finish > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-description {\n color: rgb(46, 55, 67);\n}\n.paraui-v3-stepper .component-stepper-item-finish > .component-stepper-item-container > .component-stepper-item-tail::after {\n border-left: 1px solid rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-stepper .component-stepper-item-error .component-stepper-item-icon {\n background-color: rgb(255, 255, 255);\n border-color: rgb(235, 96, 84);\n}\n.paraui-v3-stepper .component-stepper-item-error .component-stepper-item-icon > .component-stepper-icon {\n color: rgb(235, 96, 84);\n}\n.paraui-v3-stepper .component-stepper-item-error .component-stepper-item-icon > .component-stepper-icon .component-stepper-icon-dot {\n background: rgb(235, 96, 84);\n}\n.paraui-v3-stepper .component-stepper-item-error > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-title {\n color: rgb(235, 96, 84);\n}\n.paraui-v3-stepper .component-stepper-item-error > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-title::after {\n background-color: rgba(248, 249, 251, 0.8);\n}\n.paraui-v3-stepper .component-stepper-item-error > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-description {\n color: rgb(235, 96, 84);\n}\n.paraui-v3-stepper .component-stepper-item-error > .component-stepper-item-container > .component-stepper-item-tail::after {\n background-color: rgba(248, 249, 251, 0.8);\n}\n.paraui-v3-stepper .component-stepper-item.component-stepper-next-error .component-stepper-item-title::after {\n background: rgb(235, 96, 84);\n}\n.paraui-v3-stepper .component-stepper-item-disabled {\n cursor: not-allowed;\n}\n.paraui-v3-stepper .component-stepper .component-stepper-item:not(.component-stepper-item-active) > .component-stepper-item-container[role=button] {\n cursor: pointer;\n}\n.paraui-v3-stepper .component-stepper .component-stepper-item:not(.component-stepper-item-active) > .component-stepper-item-container[role=button] .component-stepper-item-title,\n.paraui-v3-stepper .component-stepper .component-stepper-item:not(.component-stepper-item-active) > .component-stepper-item-container[role=button] .component-stepper-item-subtitle,\n.paraui-v3-stepper .component-stepper .component-stepper-item:not(.component-stepper-item-active) > .component-stepper-item-container[role=button] .component-stepper-item-description,\n.paraui-v3-stepper .component-stepper .component-stepper-item:not(.component-stepper-item-active) > .component-stepper-item-container[role=button] .component-stepper-item-icon .component-stepper-icon {\n transition: color 0.3s;\n}\n.paraui-v3-stepper .component-stepper .component-stepper-item:not(.component-stepper-item-active) > .component-stepper-item-container[role=button]:hover .component-stepper-item-title,\n.paraui-v3-stepper .component-stepper .component-stepper-item:not(.component-stepper-item-active) > .component-stepper-item-container[role=button]:hover .component-stepper-item-subtitle,\n.paraui-v3-stepper .component-stepper .component-stepper-item:not(.component-stepper-item-active) > .component-stepper-item-container[role=button]:hover .component-stepper-item-description {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-stepper .component-stepper .component-stepper-item:not(.component-stepper-item-active):not(.component-stepper-item-process) > .component-stepper-item-container[role=button]:hover .component-stepper-item-icon {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-stepper .component-stepper .component-stepper-item:not(.component-stepper-item-active):not(.component-stepper-item-process) > .component-stepper-item-container[role=button]:hover .component-stepper-item-icon .component-stepper-icon {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-stepper .component-stepper-item-custom > .component-stepper-item-container > .component-stepper-item-icon {\n height: auto;\n border: 0;\n}\n.paraui-v3-stepper .component-stepper-item-custom > .component-stepper-item-container > .component-stepper-item-icon > .component-stepper-icon {\n top: 0;\n left: 0;\n width: 30px;\n height: 30px;\n background-color: rgba(171, 176, 185, 0.12);\n border-radius: 50%;\n}\n.paraui-v3-stepper .component-stepper-item-custom.component-stepper-item-process .component-stepper-item-icon > .component-stepper-icon {\n background: rgb(54, 102, 214);\n}\n.paraui-v3-stepper.component-stepper-horizontal:not(.component-stepper-label-vertical) .component-stepper-item {\n white-space: nowrap;\n}\n.paraui-v3-stepper.component-stepper-horizontal:not(.component-stepper-label-vertical) .component-stepper-item:first-child {\n padding-left: 0;\n}\n.paraui-v3-stepper.component-stepper-horizontal:not(.component-stepper-label-vertical) .component-stepper-item:last-child .component-stepper-item-title {\n padding-right: 0;\n}\n.paraui-v3-stepper.component-stepper-horizontal:not(.component-stepper-label-vertical) .component-stepper-item-tail {\n display: none;\n}\n.paraui-v3-stepper.component-stepper-horizontal:not(.component-stepper-label-vertical) .component-stepper-item-description {\n max-width: 140px;\n white-space: normal;\n}\n.paraui-v3-stepper.component-stepper:not(.component-stepper-vertical) .component-stepper-item-custom .component-stepper-item-icon {\n width: auto;\n background: none;\n}\n.paraui-v3-stepper.component-stepper:not(.component-stepper-vertical) .component-stepper-item-custom.component-stepper-item-process .component-stepper-item-icon {\n background: rgb(54, 102, 214);\n}\n.paraui-v3-stepper.component-stepper:not(.component-stepper-vertical) .component-stepper-item-custom.component-stepper-item-finish .component-stepper-item-icon {\n background: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-stepper.component-stepper-small.component-stepper-horizontal:not(.component-stepper-label-vertical) .component-stepper-item {\n padding-left: 12px;\n}\n.paraui-v3-stepper.component-stepper-small.component-stepper-horizontal:not(.component-stepper-label-vertical) .component-stepper-item:first-child {\n padding-left: 0;\n}\n.paraui-v3-stepper.component-stepper-small .component-stepper-item-icon {\n width: 24px;\n height: 24px;\n margin: 0 8px 0 0;\n font-size: 12px;\n line-height: 24px;\n text-align: center;\n border-radius: 24px;\n}\n.paraui-v3-stepper.component-stepper-small .component-stepper-item-title {\n padding-right: 12px;\n font-size: 14px;\n line-height: 24px;\n}\n.paraui-v3-stepper.component-stepper-small .component-stepper-item-title::after {\n top: 12px;\n}\n.paraui-v3-stepper.component-stepper-small .component-stepper-item-description {\n color: rgb(46, 55, 67);\n font-size: 14px;\n}\n.paraui-v3-stepper.component-stepper-small .component-stepper-item-tail {\n top: 8px;\n}\n.paraui-v3-stepper.component-stepper-small .component-stepper-item-custom .component-stepper-item-icon {\n width: inherit;\n height: inherit;\n line-height: inherit;\n background: none;\n border: 0;\n border-radius: 0;\n}\n.paraui-v3-stepper.component-stepper-small .component-stepper-item-custom .component-stepper-item-icon > .component-stepper-icon {\n font-size: 24px;\n line-height: 24px;\n transform: none;\n}\n.paraui-v3-stepper.component-stepper-vertical {\n display: flex;\n flex-direction: column;\n}\n.paraui-v3-stepper.component-stepper-vertical > .component-stepper-item {\n display: block;\n flex: 1 0 auto;\n padding-left: 0;\n overflow: visible;\n}\n.paraui-v3-stepper.component-stepper-vertical > .component-stepper-item .component-stepper-item-icon {\n float: left;\n margin-right: 16px;\n}\n.paraui-v3-stepper.component-stepper-vertical > .component-stepper-item .component-stepper-item-content {\n display: block;\n min-height: 68px;\n overflow: hidden;\n}\n.paraui-v3-stepper.component-stepper-vertical > .component-stepper-item .component-stepper-item-title {\n line-height: 32px;\n}\n.paraui-v3-stepper.component-stepper-vertical > .component-stepper-item .component-stepper-item-description {\n padding-bottom: 12px;\n}\n.paraui-v3-stepper.component-stepper-vertical > .component-stepper-item > .component-stepper-item-container {\n flex-direction: row;\n align-items: flex-start;\n}\n.paraui-v3-stepper.component-stepper-vertical > .component-stepper-item > .component-stepper-item-container > .component-stepper-item-tail {\n position: absolute;\n top: 0;\n left: 15px;\n width: 1px;\n height: 100%;\n padding: 36px 0 6px;\n}\n.paraui-v3-stepper.component-stepper-vertical > .component-stepper-item > .component-stepper-item-container > .component-stepper-item-tail::after {\n width: 1px;\n height: 100%;\n}\n.paraui-v3-stepper.component-stepper-vertical > .component-stepper-item:not(:last-child) > .component-stepper-item-container > .component-stepper-item-tail {\n display: block;\n}\n.paraui-v3-stepper.component-stepper-vertical > .component-stepper-item > .component-stepper-item-container > .component-stepper-item-content > .component-stepper-item-title::after {\n display: none;\n}\n.paraui-v3-stepper.component-stepper-vertical.component-stepper-small .component-stepper-item-container .component-stepper-item-tail {\n position: absolute;\n top: 0;\n left: 12px;\n padding: 30px 0 6px;\n}\n.paraui-v3-stepper.component-stepper-vertical.component-stepper-small .component-stepper-item-container .component-stepper-item-title {\n line-height: 24px;\n}\n.paraui-v3-stepper.component-stepper-label-vertical .component-stepper-item {\n overflow: visible;\n}\n.paraui-v3-stepper.component-stepper-label-vertical .component-stepper-item-tail {\n margin-left: 58px;\n padding: 3.5px 24px;\n}\n.paraui-v3-stepper.component-stepper-label-vertical .component-stepper-item-content {\n display: block;\n width: 116px;\n margin-top: 8px;\n text-align: center;\n}\n.paraui-v3-stepper.component-stepper-label-vertical .component-stepper-item-icon {\n display: inline-block;\n margin-left: 42px;\n}\n.paraui-v3-stepper.component-stepper-label-vertical .component-stepper-item-title {\n padding-right: 0;\n padding-left: 0;\n}\n.paraui-v3-stepper.component-stepper-label-vertical .component-stepper-item-title::after {\n display: none;\n}\n.paraui-v3-stepper.component-stepper-label-vertical .component-stepper-item-subtitle {\n display: block;\n margin-bottom: 4px;\n margin-left: 0;\n line-height: 1.5715;\n}\n.paraui-v3-stepper.component-stepper-label-vertical.component-stepper-small:not(.component-stepper-dot) .component-stepper-item-icon {\n margin-left: 46px;\n}";
|
|
35
|
-
styleInject(css_248z);
|
|
36
|
-
|
|
37
33
|
//steps
|
|
38
34
|
var Stepper = function Stepper(props) {
|
|
39
35
|
var _props$current = props.current,
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Hanz
|
|
3
|
+
* @date 2021/10/20 下午2:08
|
|
4
|
+
* @description color
|
|
5
|
+
*/
|
|
6
|
+
// 组件库前缀
|
|
7
|
+
$prefixCls: 'paraui-v3';
|
|
8
|
+
// rc组件前缀
|
|
9
|
+
$rcPrefixCls: 'component';
|
|
10
|
+
|
|
11
|
+
//导航&主题色
|
|
12
|
+
$A1: rgba(0, 70, 102, 1);
|
|
13
|
+
$A2: rgba(0, 99, 132, 1);
|
|
14
|
+
$A3: rgba(198, 223, 231, 1);
|
|
15
|
+
$A4: rgba(128, 176, 200, 1);
|
|
16
|
+
$A5: rgba(0, 70, 102, 1);
|
|
17
|
+
//辅助色
|
|
18
|
+
$B1: linear-gradient(90deg, #004666 0.11%, #99B5C2 73.89%, #CCDAE0 99.81%);
|
|
19
|
+
$B2: rgba(0, 70, 102, 0.8);
|
|
20
|
+
$B3: rgba(0, 70, 102, 0.4);
|
|
21
|
+
$B4: rgba(0, 70, 102, 0.2);
|
|
22
|
+
$B5: rgba(0, 70, 102, 0.05);
|
|
23
|
+
$B6: rgba(168, 173, 179, 0.4);
|
|
24
|
+
$B7: rgba(168, 173, 179, 0.2);
|
|
25
|
+
$B8: rgba(168, 173, 179, 0.12);
|
|
26
|
+
$B9: rgba(248, 249, 251, 0.8);
|
|
27
|
+
$B10: rgba(255, 255, 255, 1);
|
|
28
|
+
$B11: rgba(243, 246, 252, 1);
|
|
29
|
+
$B12: rgba(253, 251, 242, 1);
|
|
30
|
+
$B13: rgba(250, 244, 246, 1);
|
|
31
|
+
$B14: rgba(250, 251, 246, 1);
|
|
32
|
+
//状态色
|
|
33
|
+
$C1: rgba(162, 30, 77, 1);
|
|
34
|
+
$C2: rgba(162, 30, 77, 0.05);
|
|
35
|
+
$C3: rgba(149, 168, 68, 1);
|
|
36
|
+
$C4: rgba(149, 168, 68, 0.05);
|
|
37
|
+
$C5: rgba(216, 170, 0, 1);
|
|
38
|
+
$C6: rgba(216, 170, 0, 0.05);
|
|
39
|
+
$C7: rgba(162, 30, 77, 0.4);
|
|
40
|
+
|
|
41
|
+
//文字色
|
|
42
|
+
$D1: rgba(76, 83, 86, 1);
|
|
43
|
+
$D2: rgba(76, 83, 86, 0.7);
|
|
44
|
+
$D3: rgba(76, 83, 86, 0.4);
|
|
45
|
+
//字体
|
|
46
|
+
$font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
|
|
47
|
+
$large: 18px;
|
|
48
|
+
$medium: 16px;
|
|
49
|
+
$small: 14px;
|
|
50
|
+
$smallest: 12px;
|
|
51
|
+
$normal: 400;
|
|
52
|
+
$bold: 700;
|
|
53
|
+
$light: 300;
|
|
54
|
+
// 实色
|
|
55
|
+
$Z1: rgba(248, 249, 251, 1);
|
|
56
|
+
$Z2: rgba(237, 241, 249, 1);
|
|
57
|
+
$Z3: rgba(227, 234, 247, 1);
|
|
58
|
+
$Z4: rgba(245, 246, 247, 1);
|
|
59
|
+
$Z5: rgba(243, 246, 252, 1);
|
|
60
|
+
$Z6: rgba(253, 246, 245, 1);
|
|
61
|
+
$Z7: rgba(245, 251, 242, 1);
|
|
62
|
+
$Z8: rgba(254, 249, 245, 1);
|
|
63
|
+
$Z9: rgba(236, 238, 240, 1);
|
|
64
|
+
$Z10: rgba(79, 89, 105, 1);
|
|
65
|
+
$Z11: rgba(249, 250, 251, 1);
|
|
66
|
+
|
|
67
|
+
//阴影
|
|
68
|
+
$boxShadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.40);
|
|
69
|
+
$boxShadowLeft: inset -10px 0 10px -8px rgba(0, 0, 0, 0.1); // 表格固定列
|
|
70
|
+
$boxShadowRight: inset 10px 0 10px -8px rgba(0, 0, 0, 0.1); // 表格固定列
|
|
71
|
+
$radius: 4px;
|
|
72
|
+
|
|
73
|
+
//全局弹窗index,往body里面插入的,比如toolTip,popover这类
|
|
74
|
+
$ZIndexBody: 1500;
|
|
75
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Hanz
|
|
3
|
+
* @date 2021/10/20 下午2:08
|
|
4
|
+
* @description color
|
|
5
|
+
*/
|
|
6
|
+
// 组件库前缀
|
|
7
|
+
$prefixCls: 'paraui-v3';
|
|
8
|
+
// rc组件前缀
|
|
9
|
+
$rcPrefixCls: 'component';
|
|
10
|
+
|
|
11
|
+
//导航&主题色
|
|
12
|
+
$A1: rgba(28, 41, 60, 1);
|
|
13
|
+
$A2: rgba(34, 62, 103, 1);
|
|
14
|
+
$A3: linear-gradient(180deg, rgba(241, 241, 244, 1), rgba(243, 243, 243, 1));
|
|
15
|
+
$A4: rgba(255, 255, 255, 0.6);
|
|
16
|
+
$A5: rgba(54, 102, 214, 1);
|
|
17
|
+
//辅助色
|
|
18
|
+
$B1: linear-gradient(90deg, rgba(61, 102, 248, 1), rgba(119, 147, 249, 1) 74%, rgba(216, 223, 250, 1));
|
|
19
|
+
$B2: rgba(54, 102, 214, 0.8);
|
|
20
|
+
$B3: rgba(54, 102, 214, 0.4);
|
|
21
|
+
$B4: rgba(54, 102, 214, 0.2);
|
|
22
|
+
$B5: rgba(54, 102, 214, 0.05);
|
|
23
|
+
$B6: rgba(171, 176, 185, 0.4);
|
|
24
|
+
$B7: rgba(171, 176, 185, 0.2);
|
|
25
|
+
$B8: rgba(171, 176, 185, 0.12);
|
|
26
|
+
$B9: rgba(248, 249, 251, 0.8);
|
|
27
|
+
$B10: rgba(255, 255, 255, 1);
|
|
28
|
+
$B11: rgba(243, 246, 252, 1);
|
|
29
|
+
$B12: rgba(254, 249, 245, 1);
|
|
30
|
+
$B13: rgba(253, 246, 245, 1);
|
|
31
|
+
$B14: rgba(245, 251, 242, 1);
|
|
32
|
+
//状态色
|
|
33
|
+
$C1: rgba(235, 96, 84, 1);
|
|
34
|
+
$C2: rgba(235, 96, 84, 0.05);
|
|
35
|
+
$C3: rgba(83, 195, 27, 1);
|
|
36
|
+
$C4: rgba(83, 195, 27, 0.05);
|
|
37
|
+
$C5: rgba(255, 161, 80, 1);
|
|
38
|
+
$C6: rgba(255, 161, 80, 0.05);
|
|
39
|
+
$C7: rgba(235, 96, 84, 0.8);
|
|
40
|
+
//文字色
|
|
41
|
+
$D1: rgba(46, 55, 67, 1);
|
|
42
|
+
$D2: rgba(46, 55, 67, 0.7);
|
|
43
|
+
$D3: rgba(46, 55, 67, 0.4);
|
|
44
|
+
//字体
|
|
45
|
+
$font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
|
|
46
|
+
$large: 18px;
|
|
47
|
+
$medium: 16px;
|
|
48
|
+
$small: 14px;
|
|
49
|
+
$smallest: 12px;
|
|
50
|
+
$normal: 400;
|
|
51
|
+
$bold: 700;
|
|
52
|
+
$light: 300;
|
|
53
|
+
// 实色
|
|
54
|
+
$Z1: rgba(248, 249, 251, 1);
|
|
55
|
+
$Z2: rgba(237, 241, 249, 1);
|
|
56
|
+
$Z3: rgba(227, 234, 247, 1);
|
|
57
|
+
$Z4: rgba(245, 246, 247, 1);
|
|
58
|
+
$Z5: rgba(243, 246, 252, 1);
|
|
59
|
+
$Z6: rgba(253, 246, 245, 1);
|
|
60
|
+
$Z7: rgba(245, 251, 242, 1);
|
|
61
|
+
$Z8: rgba(254, 249, 245, 1);
|
|
62
|
+
$Z9: rgba(236, 238, 240, 1);
|
|
63
|
+
$Z10: rgba(79, 89, 105, 1);
|
|
64
|
+
$Z11: rgba(249, 250, 251, 1);
|
|
65
|
+
|
|
66
|
+
//阴影
|
|
67
|
+
$boxShadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.40);
|
|
68
|
+
$boxShadowLeft: inset -10px 0 10px -8px rgba(0, 0, 0, 0.1); // 表格固定列
|
|
69
|
+
$boxShadowRight: inset 10px 0 10px -8px rgba(0, 0, 0, 0.1); // 表格固定列
|
|
70
|
+
$radius: 4px;
|
|
71
|
+
|
|
72
|
+
//全局弹窗index,往body里面插入的,比如toolTip,popover这类
|
|
73
|
+
$ZIndexBody: 1500;
|
|
74
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author lisq
|
|
3
|
+
* @date 20214/05/28
|
|
4
|
+
* @description 上海农商行背景色
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @author Hanz
|
|
8
|
+
* @date 2021/10/20 下午2:08
|
|
9
|
+
* @description color
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// 组件库前缀
|
|
13
|
+
$prefixCls: 'paraui-v3';
|
|
14
|
+
// rc组件前缀
|
|
15
|
+
$rcPrefixCls: 'component';
|
|
16
|
+
|
|
17
|
+
//导航&主题色
|
|
18
|
+
$A1: rgba(28, 41, 60, 1);
|
|
19
|
+
$A2: rgba(34, 62, 103, 1);
|
|
20
|
+
$A3: linear-gradient(180deg, rgba(241, 241, 244, 1), rgba(243, 243, 243, 1));
|
|
21
|
+
$A4: rgba(255, 255, 255, 0.6);
|
|
22
|
+
$A5: rgba(14,30,182, 1);
|
|
23
|
+
//辅助色
|
|
24
|
+
$B1: linear-gradient(90deg, rgba(61, 102, 248, 1), rgba(119, 147, 249, 1) 74%, rgba(216, 223, 250, 1));
|
|
25
|
+
$B2: rgba(14,30,182, 0.8);
|
|
26
|
+
$B3: rgba(14,30,182, 0.4);
|
|
27
|
+
$B4: rgba(14,30,182, 0.2);
|
|
28
|
+
$B5: rgba(14,30,182, 0.05);
|
|
29
|
+
$B6: rgba(171, 176, 185, 0.4);
|
|
30
|
+
$B7: rgba(171, 176, 185, 0.2);
|
|
31
|
+
$B8: rgba(171, 176, 185, 0.12);
|
|
32
|
+
$B9: rgba(248, 249, 251, 0.8);
|
|
33
|
+
$B10: rgba(255, 255, 255, 1);
|
|
34
|
+
$B11: rgba(243, 246, 252, 1);
|
|
35
|
+
$B12: rgba(254, 249, 245, 1);
|
|
36
|
+
$B13: rgba(253, 246, 245, 1);
|
|
37
|
+
$B14: rgba(245, 251, 242, 1);
|
|
38
|
+
//状态色
|
|
39
|
+
$C1: rgba(235, 96, 84, 1);
|
|
40
|
+
$C2: rgba(235, 96, 84, 0.05);
|
|
41
|
+
$C3: rgba(83, 195, 27, 1);
|
|
42
|
+
$C4: rgba(83, 195, 27, 0.05);
|
|
43
|
+
$C5: rgba(255, 161, 80, 1);
|
|
44
|
+
$C6: rgba(255, 161, 80, 0.05);
|
|
45
|
+
$C7: rgba(235, 96, 84, 0.8);
|
|
46
|
+
//文字色
|
|
47
|
+
$D1: rgba(46, 55, 67, 1);
|
|
48
|
+
$D2: rgba(46, 55, 67, 0.7);
|
|
49
|
+
$D3: rgba(46, 55, 67, 0.4);
|
|
50
|
+
//字体
|
|
51
|
+
$font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
|
|
52
|
+
$large: 18px;
|
|
53
|
+
$medium: 16px;
|
|
54
|
+
$small: 14px;
|
|
55
|
+
$smallest: 12px;
|
|
56
|
+
$normal: 400;
|
|
57
|
+
$bold: 700;
|
|
58
|
+
$light: 300;
|
|
59
|
+
// 实色
|
|
60
|
+
$Z1: rgba(248, 249, 251, 1);
|
|
61
|
+
$Z2: rgba(237, 241, 249, 1);
|
|
62
|
+
$Z3: rgba(227, 234, 247, 1);
|
|
63
|
+
$Z4: rgba(245, 246, 247, 1);
|
|
64
|
+
$Z5: rgba(243, 246, 252, 1);
|
|
65
|
+
$Z6: rgba(253, 246, 245, 1);
|
|
66
|
+
$Z7: rgba(245, 251, 242, 1);
|
|
67
|
+
$Z8: rgba(254, 249, 245, 1);
|
|
68
|
+
$Z9: rgba(236, 238, 240, 1);
|
|
69
|
+
$Z10: rgba(79, 89, 105, 1);
|
|
70
|
+
$Z11: rgba(249, 250, 251, 1);
|
|
71
|
+
|
|
72
|
+
//阴影
|
|
73
|
+
$boxShadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.40);
|
|
74
|
+
$boxShadowLeft: inset -10px 0 10px -8px rgba(0, 0, 0, 0.1); // 表格固定列
|
|
75
|
+
$boxShadowRight: inset 10px 0 10px -8px rgba(0, 0, 0, 0.1); // 表格固定列
|
|
76
|
+
$radius: 4px;
|
|
77
|
+
|
|
78
|
+
//全局弹窗index,往body里面插入的,比如toolTip,popover这类
|
|
79
|
+
$ZIndexBody: 1500;
|
|
80
|
+
|
package/Styles/theme.scss
CHANGED
|
@@ -3,72 +3,4 @@
|
|
|
3
3
|
* @date 2021/10/20 下午2:08
|
|
4
4
|
* @description color
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
$prefixCls: 'paraui-v3';
|
|
8
|
-
// rc组件前缀
|
|
9
|
-
$rcPrefixCls: 'component';
|
|
10
|
-
|
|
11
|
-
//导航&主题色
|
|
12
|
-
$A1: rgba(28, 41, 60, 1);
|
|
13
|
-
$A2: rgba(34, 62, 103, 1);
|
|
14
|
-
$A3: linear-gradient(180deg, rgba(241, 241, 244, 1), rgba(243, 243, 243, 1));
|
|
15
|
-
$A4: rgba(255, 255, 255, 0.6);
|
|
16
|
-
$A5: rgba(54, 102, 214, 1);
|
|
17
|
-
//辅助色
|
|
18
|
-
$B1: linear-gradient(90deg, rgba(61, 102, 248, 1), rgba(119, 147, 249, 1) 74%, rgba(216, 223, 250, 1));
|
|
19
|
-
$B2: rgba(54, 102, 214, 0.8);
|
|
20
|
-
$B3: rgba(54, 102, 214, 0.4);
|
|
21
|
-
$B4: rgba(54, 102, 214, 0.2);
|
|
22
|
-
$B5: rgba(54, 102, 214, 0.05);
|
|
23
|
-
$B6: rgba(171, 176, 185, 0.4);
|
|
24
|
-
$B7: rgba(171, 176, 185, 0.2);
|
|
25
|
-
$B8: rgba(171, 176, 185, 0.12);
|
|
26
|
-
$B9: rgba(248, 249, 251, 0.8);
|
|
27
|
-
$B10: rgba(255, 255, 255, 1);
|
|
28
|
-
$B11: rgba(243, 246, 252, 1);
|
|
29
|
-
$B12: rgba(254, 249, 245, 1);
|
|
30
|
-
$B13: rgba(253, 246, 245, 1);
|
|
31
|
-
$B14: rgba(245, 251, 242, 1);
|
|
32
|
-
//状态色
|
|
33
|
-
$C1: rgba(235, 96, 84, 1);
|
|
34
|
-
$C2: rgba(235, 96, 84, 0.05);
|
|
35
|
-
$C3: rgba(83, 195, 27, 1);
|
|
36
|
-
$C4: rgba(83, 195, 27, 0.05);
|
|
37
|
-
$C5: rgba(255, 161, 80, 1);
|
|
38
|
-
$C6: rgba(255, 161, 80, 0.05);
|
|
39
|
-
$C7: rgba(235, 96, 84, 0.8);
|
|
40
|
-
//文字色
|
|
41
|
-
$D1: rgba(46, 55, 67, 1);
|
|
42
|
-
$D2: rgba(46, 55, 67, 0.7);
|
|
43
|
-
$D3: rgba(46, 55, 67, 0.4);
|
|
44
|
-
//字体
|
|
45
|
-
$font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
|
|
46
|
-
$large: 18px;
|
|
47
|
-
$medium: 16px;
|
|
48
|
-
$small: 14px;
|
|
49
|
-
$smallest: 12px;
|
|
50
|
-
$normal: 400;
|
|
51
|
-
$bold: 700;
|
|
52
|
-
$light: 300;
|
|
53
|
-
// 实色
|
|
54
|
-
$Z1: rgba(248, 249, 251, 1);
|
|
55
|
-
$Z2: rgba(237, 241, 249, 1);
|
|
56
|
-
$Z3: rgba(227, 234, 247, 1);
|
|
57
|
-
$Z4: rgba(245, 246, 247, 1);
|
|
58
|
-
$Z5: rgba(243, 246, 252, 1);
|
|
59
|
-
$Z6: rgba(253, 246, 245, 1);
|
|
60
|
-
$Z7: rgba(245, 251, 242, 1);
|
|
61
|
-
$Z8: rgba(254, 249, 245, 1);
|
|
62
|
-
$Z9: rgba(236, 238, 240, 1);
|
|
63
|
-
$Z10: rgba(79, 89, 105, 1);
|
|
64
|
-
$Z11: rgba(249, 250, 251, 1);
|
|
65
|
-
|
|
66
|
-
//阴影
|
|
67
|
-
$boxShadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.40);
|
|
68
|
-
$boxShadowLeft: inset -10px 0 10px -8px rgba(0, 0, 0, 0.1); // 表格固定列
|
|
69
|
-
$boxShadowRight: inset 10px 0 10px -8px rgba(0, 0, 0, 0.1); // 表格固定列
|
|
70
|
-
$radius: 4px;
|
|
71
|
-
|
|
72
|
-
//全局弹窗index,往body里面插入的,比如toolTip,popover这类
|
|
73
|
-
$ZIndexBody: 1500;
|
|
74
|
-
|
|
6
|
+
@import "./theme/theme-shrcb";
|
package/Switch/index.js
CHANGED
|
@@ -1,25 +1,21 @@
|
|
|
1
|
-
import { _ as _defineProperty } from '../_verture/defineProperty-
|
|
2
|
-
import { _ as __rest } from '../_verture/tslib.es6-
|
|
1
|
+
import { _ as _defineProperty } from '../_verture/defineProperty-dbb356cd.js';
|
|
2
|
+
import { _ as __rest } from '../_verture/tslib.es6-85d7d0d5.js';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import RcSwitch from 'rc-switch';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import LoadingOutlined from '@para-ui/icons/LoadingF';
|
|
7
7
|
import Label from '../Label/index.js';
|
|
8
|
-
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-
|
|
9
|
-
import
|
|
10
|
-
import '../_verture/typeof-498dd2b1.js';
|
|
8
|
+
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-8992bf83.js';
|
|
9
|
+
import '../_verture/typeof-efd93d53.js';
|
|
11
10
|
import '../Help/index.js';
|
|
12
11
|
import '../Tooltip/index.js';
|
|
13
|
-
import '../_verture/slicedToArray-
|
|
14
|
-
import '../_verture/unsupportedIterableToArray-
|
|
12
|
+
import '../_verture/slicedToArray-d0df4205.js';
|
|
13
|
+
import '../_verture/unsupportedIterableToArray-eba4c7dc.js';
|
|
15
14
|
import 'react';
|
|
16
15
|
import 'rc-tooltip';
|
|
17
16
|
import 'rc-tooltip/lib/placements';
|
|
18
17
|
import '@para-ui/icons/Help';
|
|
19
18
|
|
|
20
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/3 下午5:58\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-switch {\n position: relative;\n display: inline-block;\n min-width: 32px;\n height: 18px;\n vertical-align: middle;\n background-color: transparent;\n border: 0;\n border-radius: 100px;\n cursor: pointer;\n transition: all 0.2s;\n user-select: none;\n}\n.paraui-v3-switch:before {\n position: absolute;\n top: 2px;\n left: 0;\n width: 100%;\n height: 14px;\n border-radius: 100px;\n background-color: rgba(171, 176, 185, 0.4);\n content: \"\";\n transition: all 0.2s;\n}\n.paraui-v3-switch:focus {\n outline: 0;\n box-shadow: none;\n}\n.paraui-v3-switch.component-switch-checked:focus {\n box-shadow: none;\n}\n.paraui-v3-switch:focus:hover {\n box-shadow: none;\n}\n.paraui-v3-switch.component-switch-checked:before {\n background-color: rgba(54, 102, 214, 0.2);\n}\n.paraui-v3-switch-loading, .paraui-v3-switch.component-switch-disabled {\n cursor: not-allowed;\n opacity: 0.4;\n}\n.paraui-v3-switch-loading *, .paraui-v3-switch.component-switch-disabled * {\n box-shadow: none;\n cursor: not-allowed;\n}\n.paraui-v3-switch .component-switch-inner {\n display: block;\n margin: 0 7px 0 25px;\n color: rgb(255, 255, 255);\n font-size: 14px;\n transition: margin 0.2s;\n}\n.paraui-v3-switch.component-switch-checked .component-switch-inner {\n margin: 0 25px 0 7px;\n}\n.paraui-v3-switch .component-switch-handle {\n position: absolute;\n top: 0;\n left: 0;\n width: 18px;\n height: 18px;\n transition: all 0.2s ease-in-out;\n}\n.paraui-v3-switch .component-switch-handle::before {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: #8996AA;\n border-radius: 9px;\n box-shadow: none;\n transition: all 0.2s ease-in-out;\n content: \"\";\n}\n.paraui-v3-switch.component-switch-checked .component-switch-handle {\n left: calc(100% - 18px);\n}\n.paraui-v3-switch.component-switch-checked .component-switch-handle::before {\n background-color: rgb(54, 102, 214);\n}\n.paraui-v3-switch:not(.paraui-v3-switch-disabled):active .component-switch-handle::before {\n right: -30%;\n left: 0;\n}\n.paraui-v3-switch:not(.paraui-v3-switch-disabled):active.component-switch-checked .component-switch-handle::before {\n right: 0;\n left: -30%;\n}\n.paraui-v3-switch .component-switch-loading-icon {\n position: relative;\n top: 1px;\n color: rgb(54, 102, 214);\n vertical-align: top;\n animation: switchLoadingCircle 1s infinite linear;\n}\n.paraui-v3-switch.component-switch-checked .component-switch-loading-icon {\n color: rgb(255, 255, 255);\n}\n.paraui-v3-switch-small {\n min-width: 28px;\n height: 14px;\n line-height: 14px;\n}\n.paraui-v3-switch-small .component-switch-inner {\n margin: 0 5px 0 18px;\n font-size: 14px;\n}\n.paraui-v3-switch-small .component-switch-handle {\n width: 12px;\n height: 12px;\n top: 3px;\n left: 2px;\n}\n.paraui-v3-switch-small .component-switch-loading-icon {\n top: 1.5px;\n font-size: 9px;\n}\n.paraui-v3-switch-small.component-switch-checked .component-switch-inner {\n margin: 0 18px 0 5px;\n}\n.paraui-v3-switch-small.component-switch-checked .component-switch-handle {\n left: calc(100% - 12px - 2px);\n}\n@keyframes switchLoadingCircle {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.paraui-v3-switch-label {\n display: inline-flex;\n}\n.paraui-v3-switch-label .component-switch-text {\n color: rgba(46, 55, 67, 0.7);\n font-size: 14px;\n font-weight: 400;\n}\n.paraui-v3-switch-label-top {\n flex-direction: column-reverse;\n align-items: flex-start;\n}\n.paraui-v3-switch-label-top .component-switch-text {\n margin-bottom: 8px;\n}\n.paraui-v3-switch-label-bottom {\n flex-direction: column;\n align-items: flex-start;\n}\n.paraui-v3-switch-label-bottom .component-switch-text {\n margin-top: 8px;\n margin-bottom: 0;\n}\n.paraui-v3-switch-label-start {\n flex-direction: row-reverse;\n align-items: center;\n}\n.paraui-v3-switch-label-start .component-switch-text {\n margin-right: 8px;\n margin-bottom: 0;\n}\n.paraui-v3-switch-label-end {\n flex-direction: row;\n align-items: center;\n}\n.paraui-v3-switch-label-end .component-switch-text {\n margin-left: 8px;\n margin-bottom: 0;\n}";
|
|
21
|
-
styleInject(css_248z);
|
|
22
|
-
|
|
23
19
|
//Switch 开关
|
|
24
20
|
var Switch = function Switch(props) {
|
|
25
21
|
props.compact;
|
package/Table/index.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { _ as _typeof } from '../_verture/typeof-
|
|
2
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
3
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
4
|
-
import { r as regenerator } from '../_verture/index-
|
|
5
|
-
import { _ as __rest, a as __awaiter } from '../_verture/tslib.es6-
|
|
1
|
+
import { _ as _typeof } from '../_verture/typeof-efd93d53.js';
|
|
2
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-0e19ce18.js';
|
|
3
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-d0df4205.js';
|
|
4
|
+
import { r as regenerator } from '../_verture/index-485070a0.js';
|
|
5
|
+
import { _ as __rest, a as __awaiter } from '../_verture/tslib.es6-85d7d0d5.js';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
import { useRef, useState, useEffect, useMemo, useCallback, Fragment as Fragment$1 } from 'react';
|
|
8
8
|
import { Get, Post, DeepClone, GetBrowserClass, Cancel, ArrayToObject } from '@paraview/lib';
|
|
9
|
-
import {
|
|
10
|
-
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
9
|
+
import { $ as $prefixCls } from '../_verture/constant-8992bf83.js';
|
|
11
10
|
import { Popover } from '../Popover/index.js';
|
|
12
11
|
import { Checkbox } from '../Checkbox/index.js';
|
|
13
12
|
import { Button } from '../Button/index.js';
|
|
@@ -16,28 +15,28 @@ import Screen from '@para-ui/icons/ScreenF';
|
|
|
16
15
|
import SolidArrowUp from '@para-ui/icons/UpTriangleF';
|
|
17
16
|
import SolidArrowDown from '@para-ui/icons/DownTriangleF';
|
|
18
17
|
import Panel from '@para-ui/icons/Panel';
|
|
19
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
18
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-24a86ca6.js';
|
|
20
19
|
import Empty from '../Empty/index.js';
|
|
21
|
-
import { _ as _defineProperty } from '../_verture/defineProperty-
|
|
20
|
+
import { _ as _defineProperty } from '../_verture/defineProperty-dbb356cd.js';
|
|
22
21
|
import { Radio } from '../Radio/index.js';
|
|
23
22
|
import OperateBtn from '../OperateBtn/index.js';
|
|
24
23
|
import Down from '@para-ui/icons/Down';
|
|
25
24
|
import Refresh from '@para-ui/icons/Refresh';
|
|
26
25
|
import { Pagination } from '../Pagination/index.js';
|
|
27
26
|
import { Loading } from '../Loading/index.js';
|
|
28
|
-
import { u as useGlobalProps } from '../_verture/useGlobalProps-
|
|
29
|
-
import '../_verture/unsupportedIterableToArray-
|
|
27
|
+
import { u as useGlobalProps } from '../_verture/useGlobalProps-277b28c9.js';
|
|
28
|
+
import '../_verture/unsupportedIterableToArray-eba4c7dc.js';
|
|
30
29
|
import '../Tooltip/index.js';
|
|
31
30
|
import 'rc-tooltip';
|
|
32
31
|
import 'rc-tooltip/lib/placements';
|
|
33
32
|
import 'clsx';
|
|
34
|
-
import '../_verture/usePopupContainer-
|
|
33
|
+
import '../_verture/usePopupContainer-6db7e9f3.js';
|
|
35
34
|
import '../Label/index.js';
|
|
36
35
|
import '../Help/index.js';
|
|
37
36
|
import '@para-ui/icons/Help';
|
|
38
37
|
import '@para-ui/icons/LoadingF';
|
|
39
38
|
import '@para-ui/icons/Forbid';
|
|
40
|
-
import '../_verture/index-
|
|
39
|
+
import '../_verture/index-6217784a.js';
|
|
41
40
|
import 'rc-dropdown';
|
|
42
41
|
import 'dayjs';
|
|
43
42
|
import '@para-ui/core/GlobalContext';
|
|
@@ -174,9 +173,6 @@ var closest = function closest(el, selector) {
|
|
|
174
173
|
return el;
|
|
175
174
|
};
|
|
176
175
|
|
|
177
|
-
var css_248z$7 = ".table-head-element {\n display: table-header-group;\n}";
|
|
178
|
-
styleInject(css_248z$7);
|
|
179
|
-
|
|
180
176
|
var TableHeadElement = function TableHeadElement(props) {
|
|
181
177
|
var className = props.className,
|
|
182
178
|
style = props.style,
|
|
@@ -195,9 +191,6 @@ var TableHeadElement = function TableHeadElement(props) {
|
|
|
195
191
|
}));
|
|
196
192
|
};
|
|
197
193
|
|
|
198
|
-
var css_248z$6 = ".tr-element {\n display: table-row;\n outline: 0;\n vertical-align: middle;\n}";
|
|
199
|
-
styleInject(css_248z$6);
|
|
200
|
-
|
|
201
194
|
var TrElement = function TrElement(props) {
|
|
202
195
|
var className = props.className,
|
|
203
196
|
style = props.style,
|
|
@@ -216,9 +209,6 @@ var TrElement = function TrElement(props) {
|
|
|
216
209
|
}));
|
|
217
210
|
};
|
|
218
211
|
|
|
219
|
-
var css_248z$5 = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.th-element {\n letter-spacing: 0.01071em;\n line-height: 1.43;\n padding: 0;\n font-weight: 700;\n font-size: 14px;\n background-color: rgb(248, 249, 251);\n border-bottom: 1px solid rgba(171, 176, 185, 0.12);\n height: 100%;\n}\n.th-element.th-element-draggable {\n position: relative;\n}\n.th-element:first-child {\n border-top-left-radius: 4px;\n}\n.th-element:last-child {\n border-top-right-radius: 4px;\n}\n.th-element:hover {\n background-color: rgb(237, 241, 249);\n}\n.th-element.table-operate.table-operate-small {\n width: 112px;\n}\n.th-element.table-operate.table-operate-small > .table-header-box {\n width: 112px;\n}\n.th-element > .th-element-draggable-box {\n width: 6px;\n height: 100%;\n position: absolute;\n right: 0;\n top: 0;\n}\n.th-element:hover > .th-element-draggable-box {\n background-color: rgba(54, 102, 214, 0.2);\n cursor: ew-resize;\n}";
|
|
220
|
-
styleInject(css_248z$5);
|
|
221
|
-
|
|
222
212
|
var ThElement = function ThElement(props) {
|
|
223
213
|
var className = props.className,
|
|
224
214
|
style = props.style,
|
|
@@ -1016,9 +1006,6 @@ var TableHead$1 = function TableHead(props) {
|
|
|
1016
1006
|
}));
|
|
1017
1007
|
};
|
|
1018
1008
|
|
|
1019
|
-
var css_248z$4 = ".table-body-element {\n display: table-row-group;\n}";
|
|
1020
|
-
styleInject(css_248z$4);
|
|
1021
|
-
|
|
1022
1009
|
var TableBodyElement = function TableBodyElement(props) {
|
|
1023
1010
|
var className = props.className,
|
|
1024
1011
|
style = props.style,
|
|
@@ -1037,9 +1024,6 @@ var TableBodyElement = function TableBodyElement(props) {
|
|
|
1037
1024
|
}));
|
|
1038
1025
|
};
|
|
1039
1026
|
|
|
1040
|
-
var css_248z$3 = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.td-element {\n letter-spacing: 0.01071em;\n padding: 0 8px;\n font-weight: 400;\n font-size: 14px;\n white-space: nowrap;\n border: 0;\n line-height: 1.43;\n}\n.td-element.table-operate {\n /* position: sticky;\n right: 0;*/\n}";
|
|
1041
|
-
styleInject(css_248z$3);
|
|
1042
|
-
|
|
1043
1027
|
var TdElement = function TdElement(props) {
|
|
1044
1028
|
var className = props.className,
|
|
1045
1029
|
style = props.style,
|
|
@@ -1718,9 +1702,6 @@ var TableHead = function TableHead(props) {
|
|
|
1718
1702
|
}));
|
|
1719
1703
|
};
|
|
1720
1704
|
|
|
1721
|
-
var css_248z$2 = ".table-container {\n overflow-x: auto;\n}";
|
|
1722
|
-
styleInject(css_248z$2);
|
|
1723
|
-
|
|
1724
1705
|
var TableContainer = function TableContainer(props) {
|
|
1725
1706
|
var cRef = props.cRef,
|
|
1726
1707
|
className = props.className,
|
|
@@ -1741,9 +1722,6 @@ var TableContainer = function TableContainer(props) {
|
|
|
1741
1722
|
}));
|
|
1742
1723
|
};
|
|
1743
1724
|
|
|
1744
|
-
var css_248z$1 = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.table-element {\n width: 100%;\n display: table;\n border-collapse: separate;\n border-spacing: 0;\n}\n.table-element.table-element-fixed-column > .table-body-element > .tr-element > .td-element {\n position: sticky;\n}\n.table-element > .table-head-element > .tr-element > .th-element {\n position: sticky;\n top: 0;\n z-index: 10;\n}\n.table-element > .table-head-element > .tr-element > .th-element.table-fixed-dom-left.table-fixed-dom-left-last::after {\n height: 100%;\n width: 30px;\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(100%);\n content: \"\";\n transition: box-shadow 0.3s;\n pointer-events: none;\n}\n.table-element > .table-head-element > .tr-element > .th-element.table-fixed-dom-right.table-fixed-dom-right-first::after {\n height: 100%;\n width: 30px;\n position: absolute;\n top: 0;\n left: 0;\n transform: translate(-100%);\n content: \"\";\n transition: box-shadow 0.3s;\n pointer-events: none;\n}\n.table-element > .table-head-element > .tr-element > .th-element.table-fixed-dom-left {\n z-index: 11;\n}\n.table-element > .table-head-element > .tr-element > .th-element.table-fixed-dom-right {\n z-index: 11;\n}\n.table-element > .table-body-element > .tr-element > .td-element {\n z-index: 1;\n}\n.table-element > .table-body-element > .tr-element > .td-element.table-fixed-dom-left.table-fixed-dom-left-last::after {\n height: 100%;\n width: 30px;\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(100%);\n content: \"\";\n transition: box-shadow 0.3s;\n pointer-events: none;\n}\n.table-element > .table-body-element > .tr-element > .td-element.table-fixed-dom-right.table-fixed-dom-right-first::after {\n height: 100%;\n width: 30px;\n position: absolute;\n top: 0;\n left: 0;\n transform: translate(-100%);\n content: \"\";\n transition: box-shadow 0.3s;\n pointer-events: none;\n}\n.table-element > .table-body-element > .tr-element > .td-element.table-fixed-dom-left {\n z-index: 2;\n}\n.table-element > .table-body-element > .tr-element > .td-element.table-fixed-dom-right {\n z-index: 2;\n}\n\n.table-scroll-left .table-element > .table-head-element > .tr-element > .th-element.table-fixed-dom-right.table-fixed-dom-right-first::after {\n box-shadow: inset -10px 0 10px -8px rgba(0, 0, 0, 0.1);\n}\n.table-scroll-left .table-element > .table-body-element > .tr-element > .td-element.table-fixed-dom-right.table-fixed-dom-right-first::after {\n box-shadow: inset -10px 0 10px -8px rgba(0, 0, 0, 0.1);\n}\n\n.table-scroll-right .table-element > .table-head-element > .tr-element > .th-element.table-fixed-dom-left.table-fixed-dom-left-last::after {\n box-shadow: inset 10px 0 10px -8px rgba(0, 0, 0, 0.1);\n}\n.table-scroll-right .table-element > .table-body-element > .tr-element > .td-element.table-fixed-dom-left.table-fixed-dom-left-last::after {\n box-shadow: inset 10px 0 10px -8px rgba(0, 0, 0, 0.1);\n}\n\n.table-scroll-middle .table-element > .table-head-element > .tr-element > .th-element.table-fixed-dom-left.table-fixed-dom-left-last::after {\n box-shadow: inset 10px 0 10px -8px rgba(0, 0, 0, 0.1);\n}\n.table-scroll-middle .table-element > .table-head-element > .tr-element > .th-element.table-fixed-dom-right.table-fixed-dom-right-first::after {\n box-shadow: inset -10px 0 10px -8px rgba(0, 0, 0, 0.1);\n}\n.table-scroll-middle .table-element > .table-body-element > .tr-element > .td-element.table-fixed-dom-left.table-fixed-dom-left-last::after {\n box-shadow: inset 10px 0 10px -8px rgba(0, 0, 0, 0.1);\n}\n.table-scroll-middle .table-element > .table-body-element > .tr-element > .td-element.table-fixed-dom-right.table-fixed-dom-right-first::after {\n box-shadow: inset -10px 0 10px -8px rgba(0, 0, 0, 0.1);\n}";
|
|
1745
|
-
styleInject(css_248z$1);
|
|
1746
|
-
|
|
1747
1725
|
var TableElement = function TableElement(props) {
|
|
1748
1726
|
var className = props.className,
|
|
1749
1727
|
style = props.style,
|
|
@@ -1764,9 +1742,6 @@ var TableElement = function TableElement(props) {
|
|
|
1764
1742
|
}));
|
|
1765
1743
|
};
|
|
1766
1744
|
|
|
1767
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-table {\n width: 100%;\n height: 100%;\n overflow: auto;\n background-color: white;\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 position: relative;\n}\n.paraui-v3-table.paraui-v3-table-draggable * {\n user-select: none !important;\n}\n.paraui-v3-table.paraui-v3-table-fixed-table > .table-contain > table {\n table-layout: fixed;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn > .table-contain > table .table-checkbox {\n left: 0;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn > .table-contain > table .table-radio {\n left: 0;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn > .table-contain > table .table-expandable {\n left: 0;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn.paraui-v3-table-radio.paraui-v3-table-check .table-radio {\n left: 48px;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn.paraui-v3-table-expandable.paraui-v3-table-check .table-expandable {\n left: 48px;\n}\n.paraui-v3-table.paraui-v3-table-fixed-cloumn.paraui-v3-table-expandable.paraui-v3-table-check.paraui-v3-table-radio .table-expandable {\n left: 80px;\n}\n.paraui-v3-table.paraui-v3-table-no-data > .table-container > table {\n height: 100%;\n}\n.paraui-v3-table.paraui-v3-table-no-data > .table-container > table .paraui-v3-empty {\n overflow: hidden;\n}\n.paraui-v3-table.paraui-v3-table-load.paraui-v3-table-no-data > .table-container > table {\n height: auto;\n}\n.paraui-v3-table.paraui-v3-table-pagination > .table-contain {\n height: calc(100% - 60px);\n}\n.paraui-v3-table.paraui-v3-table-pagination.table-load-more > .table-contain {\n height: 100%;\n}\n.paraui-v3-table.paraui-v3-table-load-more.paraui-v3-table-pagination > .table-contain {\n height: 100%;\n}\n.paraui-v3-table > .table-contain {\n height: 100%;\n position: relative;\n}\n.paraui-v3-table > .table-contain > table {\n height: auto;\n}\n.paraui-v3-table > .table-contain > table .table-checkbox > label {\n vertical-align: middle;\n}\n.paraui-v3-table > .table-contain > table .table-checkbox .table-header-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-table > .table-contain > table .table-radio > label {\n vertical-align: middle;\n}\n.paraui-v3-table > .table-contain > table .table-radio .table-header-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-table > .table-contain > table .table-expandable > svg {\n vertical-align: middle;\n}\n.paraui-v3-table > .table-contain > table > .table-head {\n width: 100%;\n white-space: nowrap;\n}\n.paraui-v3-table > .table-contain > table > .table-head > tr th {\n height: 50px;\n}\n.paraui-v3-table > .table-contain > table > .table-head.table-head-scroll tr th {\n max-width: 240px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-serial-number .table-header-box .table-header-title {\n padding-right: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box {\n height: 49px;\n line-height: 49px;\n position: relative;\n padding: 0 8px;\n display: flex;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-title {\n max-width: 100%;\n display: flex;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-title > .table-header-title-label {\n width: 100%;\n color: rgba(46, 55, 67, 0.7);\n font-weight: 700;\n font-size: 14px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span {\n width: 20px;\n height: 20px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n border-radius: 2px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span:hover {\n background-color: rgb(227, 234, 247);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span > svg {\n font-size: 12px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span > .up-svg {\n position: relative;\n top: 2px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-sort-svg > span > .down-svg {\n position: relative;\n top: -3px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter > span {\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n cursor: pointer;\n border-radius: 2px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter > span:hover {\n background-color: rgb(227, 234, 247);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter > span:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter > span > svg {\n font-size: 14px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter.table-header-filter-show > span > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter.table-header-filter-select > span > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box > .table-header-filter.table-header-filter-select > span:after {\n position: absolute;\n width: 4px;\n height: 4px;\n border-radius: 50%;\n background-color: rgb(235, 96, 84);\n content: \"\";\n right: 3px;\n top: 2px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-sort > .table-header-title {\n padding-right: 8px;\n max-width: calc(100% - 20px);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-filter > .table-header-title {\n padding-right: 8px;\n max-width: calc(100% - 20px);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-sort.table-header-box-filter > .table-header-title {\n max-width: calc(100% - 40px);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-sort-asc > .table-sort-svg > span > .up-svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-header-box.table-header-box-sort-desc > .table-sort-svg > span > .down-svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head .show-colums {\n width: 56px;\n cursor: pointer;\n border-left: 1px solid rgba(171, 176, 185, 0.12);\n right: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-head .show-colums .table-header-box {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 55px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .show-colums .table-header-box > svg {\n font-size: 24px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-head .show-colums .table-header-box:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-head.table-head-no-btn tr th:first-child .table-header-box {\n padding-left: 16px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-head-btn {\n width: 32px;\n padding: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-head-btn > .table-header-box {\n width: 32px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-head-btn:first-child {\n width: 48px;\n}\n.paraui-v3-table > .table-contain > table > .table-head .table-head-btn:first-child > .table-header-box {\n width: 48px;\n}\n.paraui-v3-table > .table-contain > table > .table-body {\n width: 100%;\n}\n.paraui-v3-table > .table-contain > table > .table-body.table-body-scroll tr td {\n max-width: 240px;\n}\n.paraui-v3-table > .table-contain > table > .table-body tr td {\n background-color: white;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr:nth-of-type(2n) td {\n background-color: rgb(249, 250, 251);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr:hover td {\n background-color: rgb(237, 241, 249);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr .table-expandable > svg {\n transition: all 0.3s;\n cursor: pointer;\n font-size: 16px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr .table-expandable > svg:hover {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-body tr .table-expandable > .expand {\n transform: rotate(180deg);\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table > .table-contain > table > .table-body .more-table-row {\n cursor: pointer;\n position: sticky;\n bottom: 0;\n z-index: 10;\n}\n.paraui-v3-table > .table-contain > table > .table-body .more-table-row .more-btn {\n color: rgb(54, 102, 214);\n font-size: 14px;\n}\n.paraui-v3-table > .table-contain > table > .table-body .more-table-row > .td-element {\n position: relative;\n background: white;\n box-shadow: 4px -4px 8px 0px rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-table > .table-contain > table > .table-body.table-body-no-btn tr td:first-child {\n padding-left: 16px;\n}\n.paraui-v3-table > .table-contain > table > .table-body.table-body-no-btn tr.more-table-row td:first-child {\n padding-left: 8px;\n}\n.paraui-v3-table > .table-contain > table > .table-body.table-body-no-btn > .table-no-data > td:first-child {\n padding: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-body .table-body-btn {\n width: 32px;\n padding: 0;\n}\n.paraui-v3-table > .table-contain > table > .table-body .table-body-btn:first-child {\n width: 48px;\n}\n.paraui-v3-table > .table-contain > table > .table-body > .table-no-data {\n height: calc(100% - 50px);\n}\n.paraui-v3-table > .table-contain > table > .table-body > .table-no-data:hover td {\n background-color: white;\n}\n.paraui-v3-table > .table-contain > table > .table-body > .table-no-data > td {\n padding: 56px 0 0 0;\n}\n.paraui-v3-table > .table-contain > .table-pos-line {\n position: absolute;\n top: 0;\n width: 1px;\n background-color: rgb(54, 102, 214);\n z-index: 1000;\n}\n.paraui-v3-table > .table-pagination {\n width: 100%;\n height: 60px;\n padding-right: 10px;\n display: flex;\n align-items: flex-end;\n}\n.paraui-v3-table > .table-pagination .table-pagination-right {\n display: flex;\n height: 32px;\n align-items: center;\n color: rgba(46, 55, 67, 0.7);\n line-height: 32px;\n padding-left: 16px;\n}\n.paraui-v3-table > .table-pagination .table-pagination-right .all-select {\n margin-left: 12px;\n}\n.paraui-v3-table > .table-pagination .table-pagination-right .line {\n width: 1px;\n height: 12px;\n background-color: rgba(171, 176, 185, 0.2);\n margin: 0 12px;\n}\n.paraui-v3-table > .table-pagination .table-pagination-right .check-number {\n width: 65px;\n display: inline-block;\n}\n.paraui-v3-table > .table-pagination .table-pagination-com {\n flex: 1;\n justify-content: flex-end;\n}\n.paraui-v3-table > .table-pagination .refresh-btn {\n margin-left: 16px;\n}\n\n.paraui-v3-table-show-colums-popover > .component-popover-content {\n width: 200px;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box {\n padding-top: 8px;\n max-height: 224px;\n overflow-y: auto;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item {\n height: 36px;\n line-height: 36px;\n cursor: pointer;\n display: flex;\n padding: 0 4px;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item > label {\n width: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item > span {\n color: rgb(46, 55, 67);\n font-size: 14px;\n display: inline-block;\n width: calc(100% - 32px);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item:hover > span {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item:hover > label .checkbox-box-inner {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item.show-colums-select-item-select > span {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-box > .show-colums-select-item.show-colums-select-item-select > label .checkbox-box-inner {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer {\n height: 45px;\n border-top: 1px solid rgba(171, 176, 185, 0.2);\n text-align: center;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button {\n width: 100%;\n height: 100%;\n border: 0;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button > span {\n font-size: 14px;\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button > span > span {\n margin-right: 5px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button > span > span svg {\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-table-show-colums-popover > .component-popover-content .show-colums-select > .show-colums-select-footer > button:hover > span > span svg {\n color: rgb(54, 102, 214);\n}\n\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box {\n padding-top: 8px;\n max-height: 224px;\n overflow-y: auto;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item {\n height: 36px;\n line-height: 36px;\n cursor: pointer;\n display: flex;\n padding: 0 4px;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item > label {\n width: 32px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item > span {\n color: rgb(46, 55, 67);\n font-size: 14px;\n display: inline-block;\n width: calc(100% - 32px);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item:hover > span {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item:hover > label .checkbox-box-inner {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item.filter-select-item-select > span {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-box > .filter-select-item.filter-select-item-select > label .checkbox-box-inner {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer {\n height: 45px;\n border-top: 1px solid rgba(171, 176, 185, 0.2);\n text-align: center;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button {\n width: 50%;\n height: 100%;\n border: 0;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button > span {\n font-size: 14px;\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button > span > span {\n margin-right: 5px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button > span > span svg {\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select > .filter-select-footer > button:hover > span > span svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-filter-popover > .component-popover-content .filter-select.filter-select-none {\n text-align: center;\n padding: 20px 0;\n}\n.paraui-v3-filter-popover.paraui-v3-filter-popover-default > .component-popover-content {\n width: 200px;\n}";
|
|
1768
|
-
styleInject(css_248z);
|
|
1769
|
-
|
|
1770
1745
|
var Table = function Table(propsInit) {
|
|
1771
1746
|
var props = useGlobalProps(propsInit, 'Table');
|
|
1772
1747
|
// 判断浏览器
|
|
@@ -3024,7 +2999,8 @@ var Table = function Table(propsInit) {
|
|
|
3024
2999
|
onExpand: onExpand,
|
|
3025
3000
|
defaultExpandAllRows: defaultExpandAllRows,
|
|
3026
3001
|
onRefresh: function onRefresh() {
|
|
3027
|
-
|
|
3002
|
+
setRefreshCom(Math.random());
|
|
3003
|
+
clearCheckValue();
|
|
3028
3004
|
},
|
|
3029
3005
|
posFixed: posFixed,
|
|
3030
3006
|
beyondText: beyondText,
|
|
@@ -3052,7 +3028,8 @@ var Table = function Table(propsInit) {
|
|
|
3052
3028
|
refreshInside: refreshInside,
|
|
3053
3029
|
checkCount: checkCount,
|
|
3054
3030
|
onRefresh: function onRefresh() {
|
|
3055
|
-
|
|
3031
|
+
setRefreshCom(Math.random());
|
|
3032
|
+
clearCheckValue();
|
|
3056
3033
|
},
|
|
3057
3034
|
selectStatus: headSelectStatus,
|
|
3058
3035
|
selectAll: setAllCheck,
|