@para-ui/core 3.0.93 → 3.0.95-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 +20 -0
- package/Radio/index.js +4 -8
- package/RadioGroup/index.js +4 -8
- package/Search/index.js +9 -13
- package/Select/index.js +83 -64
- 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.scss +1 -69
- package/Switch/index.js +6 -10
- package/Table/index.js +19 -40
- 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/index.js +12 -28
- package/_verture/{index-fbe34f08.js → closestPolyfill-1f3d8885.js} +9 -16
- package/_verture/closestPolyfill-55009cd4.js +1354 -0
- package/_verture/constant-c4f21813.js +10 -0
- package/_verture/{defineProperty-62acccfc.js → defineProperty-9cd6b888.js} +1 -1
- package/_verture/defineProperty-dd0ddf90.js +34 -0
- package/_verture/{index-5012c592.js → index-5ab1c1f8.js} +8 -15
- package/_verture/index-61c7cce0.js +340 -0
- package/_verture/{index-77f9e0fb.js → index-8264e32f.js} +2 -6
- package/_verture/index-8b103e68.js +757 -0
- package/_verture/index-ac8562a6.js +18 -0
- package/_verture/index-ae484362.js +232 -0
- package/_verture/{intl-4a9f1b44.js → intl-93d3c84b.js} +1 -1
- package/_verture/intl-aab78ec7.js +81 -0
- package/_verture/{modalContext-630bdb73.js → modalContext-082ab462.js} +4 -8
- package/_verture/modalContext-441e0540.js +197 -0
- package/_verture/{slicedToArray-76060636.js → slicedToArray-584edca0.js} +1 -1
- package/_verture/slicedToArray-c362d95e.js +43 -0
- package/_verture/sortable.esm-93b3036b.js +3791 -0
- package/_verture/{toConsumableArray-81040c9e.js → toConsumableArray-33b0d5a4.js} +1 -1
- package/_verture/toConsumableArray-895b7245.js +19 -0
- package/_verture/tslib.es6-9e21ac6d.js +38 -0
- package/_verture/typeof-18c3b299.js +11 -0
- package/_verture/unsupportedIterableToArray-c71822a1.js +16 -0
- package/_verture/useFormatMessage-ef5cc2d8.js +20 -0
- package/_verture/useGlobalProps-8c02e87f.js +11 -0
- package/_verture/usePopupContainer-f4ec7fcd.js +68 -0
- package/_verture/util-d3045815.js +18 -0
- package/_verture/{utils-c9b9a157.js → utils-39e3696b.js} +1 -1
- package/_verture/utils-cf148ca3.js +77 -0
- package/index.js +20 -22
- package/locale/index.js +4 -4
- package/package.json +4 -1
- package/theme/theme-api.css +14173 -0
- package/theme/theme.css +14569 -0
- package/umd/ComboSelect.js +1 -1
- package/umd/DynamicMultiBox.js +1 -1
- package/umd/Form.js +1 -1
- package/umd/FormItem.js +1 -1
- package/umd/Pagination.js +1 -1
- package/umd/ParauiProvider.js +1 -1
- package/umd/Select.js +1 -1
- package/umd/SelectInput.js +1 -1
- package/umd/Table.js +2 -2
- package/umd/Tree.js +1 -1
- package/umd/locale.js +1 -1
- package/_verture/index-a369ca3f.js +0 -4
- package/_verture/style-inject.es-300983ab.js +0 -28
- /package/_verture/{constant-66aa48a1.js → constant-a05ec1bd.js} +0 -0
- /package/_verture/{index-beef914f.js → index-3121b733.js} +0 -0
- /package/_verture/{index-65bbd1e4.js → index-8f5d8694.js} +0 -0
- /package/_verture/{sortable.esm-49896035.js → sortable.esm-6024abb6.js} +0 -0
- /package/_verture/{tslib.es6-55ed4bd2.js → tslib.es6-42a6eac3.js} +0 -0
- /package/_verture/{typeof-498dd2b1.js → typeof-01b9b66d.js} +0 -0
- /package/_verture/{unsupportedIterableToArray-cb478f24.js → unsupportedIterableToArray-5e064385.js} +0 -0
- /package/_verture/{useFormatMessage-703f8b20.js → useFormatMessage-0d1b1f22.js} +0 -0
- /package/_verture/{useGlobalProps-1b846a65.js → useGlobalProps-5635c515.js} +0 -0
- /package/_verture/{usePopupContainer-87febeb9.js → usePopupContainer-bd8df4be.js} +0 -0
- /package/_verture/{util-7e1fb1e2.js → util-8b2246ae.js} +0 -0
package/SingleBox/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _typeof } from '../_verture/typeof-
|
|
2
|
-
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-
|
|
3
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _typeof } from '../_verture/typeof-01b9b66d.js';
|
|
2
|
+
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-33b0d5a4.js';
|
|
3
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-584edca0.js';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
import { useState, useEffect } from 'react';
|
|
6
6
|
import { TextField } from '../TextField/index.js';
|
|
@@ -8,11 +8,10 @@ import Label from '../Label/index.js';
|
|
|
8
8
|
import HelperText from '../HelperText/index.js';
|
|
9
9
|
import PlusCircleF from '@para-ui/icons/PlusCircleF';
|
|
10
10
|
import Delete from '@para-ui/icons/Delete';
|
|
11
|
-
import { $ as $prefixCls } from '../_verture/constant-
|
|
12
|
-
import { u as useFormatMessage } from '../_verture/useFormatMessage-
|
|
13
|
-
import
|
|
14
|
-
import '../_verture/
|
|
15
|
-
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
11
|
+
import { $ as $prefixCls } from '../_verture/constant-a05ec1bd.js';
|
|
12
|
+
import { u as useFormatMessage } from '../_verture/useFormatMessage-0d1b1f22.js';
|
|
13
|
+
import '../_verture/unsupportedIterableToArray-c71822a1.js';
|
|
14
|
+
import '../_verture/tslib.es6-9e21ac6d.js';
|
|
16
15
|
import '@paraview/lib';
|
|
17
16
|
import '@para-ui/icons/PreviewClose';
|
|
18
17
|
import '@para-ui/icons/PreviewOpen';
|
|
@@ -24,11 +23,11 @@ import 'rc-tooltip/lib/placements';
|
|
|
24
23
|
import 'clsx';
|
|
25
24
|
import '../Loading/index.js';
|
|
26
25
|
import '@para-ui/icons/LoadingF';
|
|
27
|
-
import '../_verture/useGlobalProps-
|
|
26
|
+
import '../_verture/useGlobalProps-8c02e87f.js';
|
|
28
27
|
import '@para-ui/core/GlobalContext';
|
|
29
|
-
import '../_verture/index-
|
|
28
|
+
import '../_verture/index-ae484362.js';
|
|
30
29
|
import 'rc-dropdown';
|
|
31
|
-
import '../_verture/usePopupContainer-
|
|
30
|
+
import '../_verture/usePopupContainer-bd8df4be.js';
|
|
32
31
|
import 'dayjs';
|
|
33
32
|
import '../Help/index.js';
|
|
34
33
|
import '@para-ui/icons/Help';
|
|
@@ -46,9 +45,6 @@ var localeJson = {
|
|
|
46
45
|
en: en
|
|
47
46
|
};
|
|
48
47
|
|
|
49
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-single-box {\n display: inline-block;\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-v3-single-box > .single-box-content {\n line-height: 0;\n}\n.paraui-v3-single-box > .single-box-content > .single-box-content-item {\n display: flex;\n}\n.paraui-v3-single-box > .single-box-content > .single-box-content-item .content-box {\n flex: 1;\n}\n.paraui-v3-single-box > .single-box-content > .single-box-content-item .content-box .single-box-text-field .paraui-v3-helper-text {\n min-height: 12px;\n}\n.paraui-v3-single-box > .single-box-content > .single-box-content-item > .opera-box {\n display: flex;\n align-items: center;\n margin-left: 12px;\n}\n.paraui-v3-single-box > .single-box-content > .single-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-v3-single-box > .single-box-content > .single-box-content-item > .opera-box > .del-box:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-single-box > .single-box-content > .single-box-content-item > .opera-box > .del-box:hover svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-single-box > .single-box-content > .single-box-content-item > .opera-box > .del-box svg {\n font-size: 24px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-single-box > .single-box-add {\n text-align: center;\n border: 1px dashed;\n border-color: rgba(171, 176, 185, 0.4);\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 4px;\n cursor: pointer;\n background-color: rgba(171, 176, 185, 0.12);\n color: rgb(54, 102, 214);\n font-size: 14px;\n}\n.paraui-v3-single-box > .single-box-add > svg {\n font-size: 16px;\n color: rgb(54, 102, 214);\n margin-right: 8px;\n}\n.paraui-v3-single-box > .single-box-add:hover {\n border-color: rgba(54, 102, 214, 0.4);\n background-color: rgba(54, 102, 214, 0.05);\n}\n.paraui-v3-single-box.paraui-v3-single-box-small > .single-box-content > .single-box-content-item > .opera-box {\n height: 28px;\n}\n.paraui-v3-single-box.paraui-v3-single-box-small > .single-box-content > .single-box-content-item > .opera-box > .del-box {\n width: 28px;\n height: 28px;\n}\n.paraui-v3-single-box.paraui-v3-single-box-small > .single-box-add {\n height: 28px;\n}\n.paraui-v3-single-box.paraui-v3-single-box-medium > .single-box-content > .single-box-content-item > .opera-box {\n height: 32px;\n}\n.paraui-v3-single-box.paraui-v3-single-box-medium > .single-box-content > .single-box-content-item > .opera-box > .del-box {\n width: 32px;\n height: 32px;\n}\n.paraui-v3-single-box.paraui-v3-single-box-medium > .single-box-add {\n height: 32px;\n}\n.paraui-v3-single-box.paraui-v3-single-box-large > .single-box-content > .single-box-content-item > .opera-box {\n height: 36px;\n}\n.paraui-v3-single-box.paraui-v3-single-box-large > .single-box-content > .single-box-content-item > .opera-box > .del-box {\n width: 36px;\n height: 36px;\n}\n.paraui-v3-single-box.paraui-v3-single-box-large > .single-box-add {\n height: 36px;\n}\n.paraui-v3-single-box.paraui-v3-single-box-disabled > .single-box-content > .single-box-content-item > .opera-box > .del-box {\n cursor: not-allowed;\n}\n.paraui-v3-single-box.paraui-v3-single-box-disabled > .single-box-content > .single-box-content-item > .opera-box > .del-box:hover {\n background-color: transparent;\n}\n.paraui-v3-single-box.paraui-v3-single-box-disabled > .single-box-content > .single-box-content-item > .opera-box > .del-box:hover svg {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-single-box.paraui-v3-single-box-disabled > .single-box-content > .single-box-content-item > .opera-box > .del-box svg {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-single-box.paraui-v3-single-box-disabled > .single-box-add {\n border-color: rgba(171, 176, 185, 0.4);\n cursor: not-allowed;\n background-color: rgba(171, 176, 185, 0.12);\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-single-box.paraui-v3-single-box-disabled > .single-box-add > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-single-box.paraui-v3-single-box-disabled > .single-box-add:hover {\n border-color: rgba(171, 176, 185, 0.4);\n color: rgba(46, 55, 67, 0.4);\n}";
|
|
50
|
-
styleInject(css_248z);
|
|
51
|
-
|
|
52
48
|
var SingleBox = function SingleBox(props) {
|
|
53
49
|
var className = props.className,
|
|
54
50
|
style = props.style,
|
package/Slider/index.js
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import { _ as _defineProperty } from '../_verture/defineProperty-
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
3
|
-
import { _ as _typeof } from '../_verture/typeof-
|
|
4
|
-
import { _ as __rest } from '../_verture/tslib.es6-
|
|
1
|
+
import { _ as _defineProperty } from '../_verture/defineProperty-9cd6b888.js';
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-584edca0.js';
|
|
3
|
+
import { _ as _typeof } from '../_verture/typeof-01b9b66d.js';
|
|
4
|
+
import { _ as __rest } from '../_verture/tslib.es6-9e21ac6d.js';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
import React__default from 'react';
|
|
7
7
|
import RcSlider, { Range, SliderTooltip, Handle } from 'rc-slider';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-
|
|
10
|
-
import
|
|
11
|
-
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
12
|
-
|
|
13
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/4 下午2:58\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-slider {\n position: relative;\n height: 8px;\n padding: 0;\n width: 100%;\n border-radius: 4px;\n touch-action: none;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.paraui-v3-slider .component-slider-rail {\n position: absolute;\n width: 100%;\n background-color: rgba(171, 176, 185, 0.2);\n height: 8px;\n border-radius: 4px;\n}\n.paraui-v3-slider .component-slider-track {\n position: absolute;\n left: 0;\n height: 8px;\n border-radius: 4px;\n background-color: rgb(54, 102, 214);\n}\n.paraui-v3-slider .component-slider-handle {\n position: absolute;\n width: 16px;\n height: 16px;\n cursor: pointer;\n margin-top: -4px;\n border-radius: 50%;\n border: solid 2px rgb(54, 102, 214);\n background-color: rgb(255, 255, 255);\n touch-action: pan-x;\n}\n.paraui-v3-slider .component-slider-handle-dragging {\n border-color: rgb(54, 102, 214);\n box-shadow: 0 0 5px rgba(54, 102, 214, 0.2);\n outline: 2px solid rgba(54, 102, 214, 0.2);\n}\n.paraui-v3-slider .component-slider-handle:focus {\n outline: none;\n}\n.paraui-v3-slider .component-slider-handle-click-focused:focus {\n border-color: rgb(54, 102, 214);\n box-shadow: unset;\n}\n.paraui-v3-slider .component-slider-handle:hover {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-slider .component-slider-handle:active {\n border-color: rgb(54, 102, 214);\n box-shadow: 0 0 5px rgba(54, 102, 214, 0.2);\n outline: 2px solid rgba(54, 102, 214, 0.2);\n cursor: grabbing;\n}\n.paraui-v3-slider .component-slider-mark {\n position: absolute;\n top: 18px;\n left: 0;\n width: 100%;\n font-size: 12px;\n}\n.paraui-v3-slider .component-slider-mark-text {\n position: absolute;\n display: inline-block;\n vertical-align: middle;\n text-align: center;\n cursor: pointer;\n color: #999;\n}\n.paraui-v3-slider .component-slider-mark-text-active {\n color: #666;\n}\n.paraui-v3-slider .component-slider-step {\n position: absolute;\n width: 100%;\n height: 8px;\n background: transparent;\n}\n.paraui-v3-slider .component-slider-dot {\n position: absolute;\n bottom: -2px;\n margin-left: -4px;\n width: 12px;\n height: 12px;\n border: solid 2px rgba(171, 176, 185, 0.4);\n background-color: rgb(255, 255, 255);\n cursor: pointer;\n border-radius: 50%;\n vertical-align: middle;\n}\n.paraui-v3-slider .component-slider-dot-active {\n border-color: rgb(54, 102, 214);\n}\n.paraui-v3-slider .component-slider-dot-reverse {\n margin-right: -4px;\n}\n.paraui-v3-slider.component-slider-disabled {\n background-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-v3-slider.component-slider-disabled .component-slider-track {\n background-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-slider.component-slider-disabled .component-slider-handle, .paraui-v3-slider.component-slider-disabled .component-slider-dot {\n border-color: #ccc;\n box-shadow: none;\n background-color: rgb(255, 255, 255);\n cursor: not-allowed;\n}\n.paraui-v3-slider.component-slider-disabled .component-slider-mark-text, .paraui-v3-slider.component-slider-disabled .component-slider-dot {\n cursor: not-allowed !important;\n}\n.paraui-v3-slider.component-slider-vertical {\n width: 14px;\n height: 100%;\n padding: 0 5px;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-rail {\n height: 100%;\n width: 4px;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-track {\n left: 5px;\n bottom: 0;\n width: 4px;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-handle {\n margin-left: -6px;\n touch-action: pan-y;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-mark {\n top: 0;\n left: 18px;\n height: 100%;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-step {\n height: 100%;\n width: 4px;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-dot {\n left: 0px;\n margin-bottom: -4px;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-dot:first-child {\n margin-bottom: -4px;\n}\n.paraui-v3-slider.component-slider-vertical .component-slider-dot:last-child {\n margin-bottom: -4px;\n}\n\n.component-slider-tooltip {\n position: absolute;\n display: block;\n left: -9999px;\n top: -9999px;\n max-width: 250px;\n z-index: 1500;\n visibility: visible;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.component-slider-tooltip-hidden {\n display: none;\n}\n.component-slider-tooltip-inner {\n min-width: 24px;\n font-size: 14px;\n line-height: 1;\n color: rgba(46, 55, 67, 0.7);\n text-align: center;\n text-decoration: none;\n background-color: transparent;\n border-radius: 6px;\n white-space: nowrap;\n box-shadow: none;\n}\n.component-slider-tooltip-arrow {\n display: none;\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.component-slider-tooltip-placement-top .component-slider-tooltip-arrow {\n bottom: 4px;\n left: 50%;\n margin-left: -4px;\n border-width: 4px 4px 0;\n border-top-color: #6c6c6c;\n}\n.component-slider-tooltip-zoom-down-enter, .component-slider-tooltip-zoom-down-appear {\n animation-duration: 0.3s;\n animation-fill-mode: both;\n display: block !important;\n animation-play-state: paused;\n}\n.component-slider-tooltip-zoom-down-leave {\n animation-duration: 0.3s;\n animation-fill-mode: both;\n display: block !important;\n animation-play-state: paused;\n}\n.component-slider-tooltip-zoom-down-enter.component-slider-tooltip-zoom-down-enter-active, .component-slider-tooltip-zoom-down-appear.component-slider-tooltip-zoom-down-appear-active {\n animation-name: sliderTooltipZoomDownIn;\n animation-play-state: running;\n}\n.component-slider-tooltip-zoom-down-leave.component-slider-tooltip-zoom-down-leave-active {\n animation-name: sliderTooltipZoomDownOut;\n animation-play-state: running;\n}\n.component-slider-tooltip-zoom-down-enter, .component-slider-tooltip-zoom-down-appear {\n transform: scale(0, 0);\n animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.component-slider-tooltip-zoom-down-leave {\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n@keyframes sliderTooltipZoomDownIn {\n 0% {\n opacity: 0;\n transform-origin: 50% 100%;\n transform: scale(0, 0);\n }\n 100% {\n transform-origin: 50% 100%;\n transform: scale(1, 1);\n }\n}\n@keyframes sliderTooltipZoomDownOut {\n 0% {\n transform-origin: 50% 100%;\n transform: scale(1, 1);\n }\n 100% {\n opacity: 0;\n transform-origin: 50% 100%;\n transform: scale(0, 0);\n }\n}";
|
|
14
|
-
styleInject(css_248z);
|
|
9
|
+
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-a05ec1bd.js';
|
|
10
|
+
import '../_verture/unsupportedIterableToArray-c71822a1.js';
|
|
15
11
|
|
|
16
12
|
//slider 滑块
|
|
17
13
|
var Slider = function Slider(props) {
|
package/Split/index.js
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import { _ as _typeof } from '../_verture/typeof-
|
|
2
|
-
import { _ as _slicedToArray } from '../_verture/slicedToArray-
|
|
1
|
+
import { _ as _typeof } from '../_verture/typeof-01b9b66d.js';
|
|
2
|
+
import { _ as _slicedToArray } from '../_verture/slicedToArray-584edca0.js';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import { $ as $prefixCls } from '../_verture/constant-
|
|
6
|
-
import
|
|
7
|
-
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
|
8
|
-
|
|
9
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-split {\n display: flex;\n min-height: 200px;\n -webkit-user-select: none;\n user-select: none;\n}\n.paraui-v3-split .split-left {\n background-color: #ffffff;\n position: relative;\n min-width: 201px;\n}\n.paraui-v3-split .split-left .split-separator {\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n width: 6px;\n height: 100%;\n background-color: white;\n box-shadow: 0 0 2px rgba(0, 0, 0, 0.35);\n cursor: col-resize;\n}\n.paraui-v3-split .split-left .split-separator i {\n display: inline-block;\n height: 14px;\n width: 1px;\n background-color: #e9e9e9;\n margin: 0 1px;\n}\n.paraui-v3-split .split-left .split-left-content {\n padding: 20px 34px 20px 20px;\n}\n.paraui-v3-split .split-right {\n background-color: #ffffff;\n flex: 1;\n}\n.paraui-v3-split .split-right-content {\n padding: 20px;\n}";
|
|
10
|
-
styleInject(css_248z);
|
|
5
|
+
import { $ as $prefixCls } from '../_verture/constant-a05ec1bd.js';
|
|
6
|
+
import '../_verture/unsupportedIterableToArray-c71822a1.js';
|
|
11
7
|
|
|
12
8
|
var Split = function Split(props) {
|
|
13
9
|
var _props$minWidth = props.minWidth,
|
package/Status/index.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
-
import { $ as $prefixCls } from '../_verture/constant-
|
|
4
|
-
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
5
|
-
|
|
6
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/11/8 6:32 PM\n* @description 状态\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-v3-status {\n display: inline-flex;\n align-items: center;\n}\n.paraui-v3-status .status-ink {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: 10px;\n height: 10px;\n border-radius: 5px;\n}\n.paraui-v3-status .status-ink:before {\n content: \" \";\n width: 6px;\n height: 6px;\n border-radius: 3px;\n}\n.paraui-v3-status .status-icon {\n display: inline-flex;\n font-size: 16px;\n}\n.paraui-v3-status .status-icon svg {\n font-size: 16px;\n}\n.paraui-v3-status .status-text {\n margin-left: 4px;\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-status-info .status-ink {\n background-color: rgba(54, 102, 214, 0.05);\n}\n.paraui-v3-status-info .status-ink:before {\n background-color: #3666d6;\n}\n.paraui-v3-status-success .status-ink {\n background-color: rgba(83, 195, 27, 0.05);\n}\n.paraui-v3-status-success .status-ink:before {\n background-color: #53c31b;\n}\n.paraui-v3-status-warning .status-ink {\n background-color: rgba(255, 161, 80, 0.05);\n}\n.paraui-v3-status-warning .status-ink:before {\n background-color: #ffa150;\n}\n.paraui-v3-status-error .status-ink {\n background-color: rgba(235, 96, 84, 0.05);\n}\n.paraui-v3-status-error .status-ink:before {\n background-color: #eb6054;\n}\n.paraui-v3-status-completed .status-ink {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-status-completed .status-ink:before {\n background-color: rgba(46, 55, 67, 0.4);\n}";
|
|
7
|
-
styleInject(css_248z);
|
|
3
|
+
import { $ as $prefixCls } from '../_verture/constant-a05ec1bd.js';
|
|
8
4
|
|
|
9
5
|
//状态
|
|
10
6
|
var Status = function Status(props) {
|
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-01b9b66d.js';
|
|
2
|
+
import { _ as __rest } from '../_verture/tslib.es6-9e21ac6d.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-a05ec1bd.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
|
+
|
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-default";
|
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-9cd6b888.js';
|
|
2
|
+
import { _ as __rest } from '../_verture/tslib.es6-9e21ac6d.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-a05ec1bd.js';
|
|
9
|
+
import '../_verture/typeof-01b9b66d.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-584edca0.js';
|
|
13
|
+
import '../_verture/unsupportedIterableToArray-c71822a1.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;
|