@para-ui/core 3.0.0 → 3.0.2
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 +180 -68
- package/AutoBox/protal.d.ts +17 -0
- package/AutoTips/index.js +4 -3
- package/Breadcrumbs/index.js +10 -7
- package/Button/index.d.ts +8 -0
- package/Button/index.js +77 -37
- package/ButtonGroup/index.js +3 -2
- package/Carousel/index.js +7 -5
- package/Cascader/index.d.ts +3 -1
- package/Cascader/index.js +13 -5
- package/Checkbox/index.js +27 -8
- package/CheckboxGroup/index.d.ts +2 -5
- package/CheckboxGroup/index.js +13 -10
- package/Collapse/index.js +11 -10
- package/CollapseBox/index.js +7 -6
- package/ComboSelect/index.js +266 -93
- package/ComboSelect/interface.d.ts +12 -9
- package/ComboSelect/lang/en_US.d.ts +1 -0
- package/ComboSelect/lang/index.d.ts +2 -0
- package/ComboSelect/lang/zh_CN.d.ts +1 -0
- package/Container/index.js +27 -31
- package/DatePicker/index.js +12 -17
- package/DatePicker/util.d.ts +0 -1
- package/Desktop/index.js +6 -5
- package/Drawer/index.js +10 -9
- package/Dropdown/index.js +59 -6
- package/Empty/index.js +7 -6
- package/Form/index.js +6 -5
- package/FormItem/compoments/formFile/index.d.ts +16 -16
- package/FormItem/index.d.ts +19 -19
- package/FormItem/index.js +3 -2
- package/FunctionModal/index.js +3 -2
- package/GlobalContext/componentsProps.d.ts +2 -0
- package/GlobalContext/constant.d.ts +8 -0
- package/Help/index.js +3 -2
- package/HelperText/index.d.ts +9 -5
- package/HelperText/index.js +9 -4
- package/InputLang/index.d.ts +2 -5
- package/InputLang/index.js +13 -7
- package/InputNumber/index.d.ts +2 -5
- package/InputNumber/index.js +15 -12
- package/Label/index.d.ts +2 -0
- package/Label/index.js +12 -8
- package/Loading/index.js +5 -4
- package/Menu/index.js +18 -17
- package/Message/index.js +5 -4
- package/Modal/index.js +28 -26
- package/MultiBox/index.d.ts +2 -5
- package/MultiBox/index.js +13 -6
- package/Notification/index.js +3 -2
- package/OperateBtn/index.js +15 -12
- package/PageHeader/index.js +22 -23
- package/Pagination/index.js +10 -4
- package/ParauiProvider/index.js +1 -1
- package/PopConfirm/index.d.ts +2 -0
- package/PopConfirm/index.js +3 -2
- package/Popover/index.js +7 -4
- package/Progress/index.d.ts +2 -0
- package/Progress/index.js +13 -9
- package/Querying/index.js +6 -5
- package/README.md +32 -1
- package/Radio/index.js +22 -8
- package/RadioGroup/index.d.ts +2 -5
- package/RadioGroup/index.js +10 -7
- package/Search/index.js +13 -8
- package/Select/index.d.ts +4 -5
- package/Select/index.js +27 -22
- package/SelectInput/index.js +3 -2
- package/Selector/index.d.ts +3 -19
- package/Selector/index.js +2102 -213
- package/Selector/interface.d.ts +365 -0
- package/Selector/lang/en_US.d.ts +9 -0
- package/Selector/lang/index.d.ts +17 -0
- package/Selector/lang/zh_CN.d.ts +9 -0
- package/Selector/selectorData/index.d.ts +10 -0
- package/Selector/selectorMain/index.d.ts +2 -9
- package/Selector/selectorNode/index.d.ts +10 -0
- package/Selector/util.d.ts +15 -0
- package/SelectorPicker/index.d.ts +46 -0
- package/SelectorPicker/index.js +319 -0
- package/SingleBox/index.d.ts +2 -5
- package/SingleBox/index.js +11 -6
- package/Slider/index.d.ts +4 -4
- package/Slider/index.js +9 -4
- package/Split/index.js +8 -7
- package/Stepper/index.js +7 -3
- package/Switch/index.js +10 -12
- package/Table/index.js +542 -313
- package/Table/interface.d.ts +43 -1
- package/Table/tableElement/index.d.ts +2 -2
- package/Table/util.d.ts +13 -1
- package/Tabs/index.js +7 -6
- package/Tag/index.js +12 -14
- package/TextField/index.d.ts +4 -5
- package/TextField/index.js +23 -20
- package/TimePicker/index.js +1 -0
- package/Timeline/index.js +13 -12
- package/Title/index.d.ts +30 -0
- package/Title/index.js +49 -0
- package/ToggleButton/index.js +13 -13
- package/Tooltip/index.js +51 -11
- package/Tooltip/interface.d.ts +2 -0
- package/Transfer/index.d.ts +6 -2
- package/Transfer/index.js +8 -4
- package/Tree/index.js +3 -2
- package/Tree/interface.d.ts +0 -2
- package/Tree/utils/tools.d.ts +0 -1
- package/Upload/ImgCrop/EasyCrop.d.ts +1 -1
- package/Upload/ImgCrop/constants.d.ts +1 -1
- package/Upload/ImgCrop/interface.d.ts +5 -0
- package/Upload/index.js +56 -45
- package/_verture/constant-bf34e6fa.js +11 -0
- package/_verture/{index-3d26f6a5.js → index-cc4c83b8.js} +63 -31
- package/_verture/{index-ce3860a0.js → index-cf5bf211.js} +30 -21
- package/_verture/{modalContext-fc19f4ae.js → modalContext-95c3fc87.js} +0 -0
- package/index.d.ts +4 -0
- package/index.js +10 -6
- package/package.json +8 -5
- package/Selector/branchNode/index.d.ts +0 -32
- package/Selector/leafNode/index.d.ts +0 -34
- package/Selector/selectorRight/index.d.ts +0 -16
- package/Selector/selectorTop/index.d.ts +0 -16
package/MultiBox/index.js
CHANGED
|
@@ -8,6 +8,7 @@ import Label from '../Label/index.js';
|
|
|
8
8
|
import HelperText from '../HelperText/index.js';
|
|
9
9
|
import Plus from '@para-ui/icons/Plus';
|
|
10
10
|
import Delete from '@para-ui/icons/Delete';
|
|
11
|
+
import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
|
|
11
12
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
12
13
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
13
14
|
import '@paraview/lib';
|
|
@@ -28,7 +29,7 @@ import 'rc-dropdown';
|
|
|
28
29
|
import '../Help/index.js';
|
|
29
30
|
import '@para-ui/icons/Help';
|
|
30
31
|
|
|
31
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-multi-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-multi-box > .multi-box-content {\n line-height: 0;\n}\n.paraui-multi-box > .multi-box-content > .multi-box-content-item {\n padding-bottom: 15px;\n display: flex;\n}\n.paraui-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input {\n width: calc(100% - 30px);\n display: flex;\n}\n.paraui-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input > .text-field {\n width: calc(50% - 10px);\n}\n.paraui-
|
|
32
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-multi-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-multi-box > .multi-box-content {\n line-height: 0;\n}\n.paraui-v3-multi-box > .multi-box-content > .multi-box-content-item {\n padding-bottom: 15px;\n display: flex;\n}\n.paraui-v3-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input {\n width: calc(100% - 30px);\n display: flex;\n}\n.paraui-v3-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input > .multi-box-text-field {\n width: calc(50% - 10px);\n}\n.paraui-v3-multi-box > .multi-box-content > .multi-box-content-item > .multi-box-content-item-input > span {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n}\n.paraui-v3-multi-box > .multi-box-content > .multi-box-content-item > .single-box-content-item-svg {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 30px;\n cursor: pointer;\n}\n.paraui-v3-multi-box > .multi-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: rgb(255, 255, 255);\n}\n.paraui-v3-multi-box > .multi-box-add > svg {\n font-size: 24px;\n}\n.paraui-v3-multi-box > .multi-box-add:hover {\n border-color: rgb(54, 102, 214);\n color: rgb(54, 102, 214);\n}\n.paraui-v3-multi-box.paraui-v3-multi-box-small > .multi-box-add {\n height: 28px;\n}\n.paraui-v3-multi-box.paraui-v3-multi-box-medium > .multi-box-add {\n height: 32px;\n}\n.paraui-v3-multi-box.paraui-v3-multi-box-large > .multi-box-add {\n height: 36px;\n}\n.paraui-v3-multi-box.paraui-v3-multi-box-disabled > .multi-box-content > .multi-box-content-item > .single-box-content-item-svg {\n cursor: not-allowed;\n}\n.paraui-v3-multi-box.paraui-v3-multi-box-disabled > .multi-box-content > .multi-box-content-item > .single-box-content-item-svg > svg {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-multi-box.paraui-v3-multi-box-disabled > .multi-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.7);\n}\n.paraui-v3-multi-box.paraui-v3-multi-box-disabled > .multi-box-add > svg {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-multi-box.paraui-v3-multi-box-disabled > .multi-box-add:hover {\n border-color: rgba(171, 176, 185, 0.4);\n color: rgba(46, 55, 67, 0.7);\n}";
|
|
32
33
|
styleInject(css_248z);
|
|
33
34
|
|
|
34
35
|
var MultiBox = function MultiBox(props) {
|
|
@@ -50,6 +51,7 @@ var MultiBox = function MultiBox(props) {
|
|
|
50
51
|
required = _props$required === void 0 ? false : _props$required,
|
|
51
52
|
_props$error = props.error,
|
|
52
53
|
error = _props$error === void 0 ? false : _props$error,
|
|
54
|
+
hideErrorDom = props.hideErrorDom,
|
|
53
55
|
_props$helperText = props.helperText,
|
|
54
56
|
helperText = _props$helperText === void 0 ? '' : _props$helperText,
|
|
55
57
|
value = props.value,
|
|
@@ -165,11 +167,11 @@ var MultiBox = function MultiBox(props) {
|
|
|
165
167
|
|
|
166
168
|
|
|
167
169
|
var handClass = function handClass() {
|
|
168
|
-
var str = '
|
|
170
|
+
var str = $prefixCls + '-multi-box multi-box';
|
|
169
171
|
if (className) str += ' ' + className;
|
|
170
|
-
if (size) str +=
|
|
171
|
-
if (error) str +=
|
|
172
|
-
if (disabled) str +=
|
|
172
|
+
if (size) str += " ".concat($prefixCls, "-multi-box-").concat(size);
|
|
173
|
+
if (error) str += " ".concat($prefixCls, "-multi-box-error");
|
|
174
|
+
if (disabled) str += " ".concat($prefixCls, "-multi-box-disabled");
|
|
173
175
|
return str;
|
|
174
176
|
};
|
|
175
177
|
|
|
@@ -188,20 +190,24 @@ var MultiBox = function MultiBox(props) {
|
|
|
188
190
|
className: "multi-box-content-item-input"
|
|
189
191
|
}, {
|
|
190
192
|
children: [jsx(TextField, {
|
|
193
|
+
className: 'multi-box-text-field',
|
|
191
194
|
size: size,
|
|
192
195
|
disabled: disabled,
|
|
193
196
|
placeholder: placeholderKey,
|
|
194
197
|
value: item[replaceFieldsCom.key || ''],
|
|
198
|
+
hideErrorDom: true,
|
|
195
199
|
onChange: changeValue(replaceFieldsCom.key || '', index),
|
|
196
200
|
fetchSuggestions: fetchSuggestionsKey ? fetchSuggestions('key') : undefined,
|
|
197
201
|
onSelect: selectValue(replaceFieldsCom.key || '', index)
|
|
198
202
|
}), jsx("span", {
|
|
199
203
|
children: ":"
|
|
200
204
|
}), jsx(TextField, {
|
|
205
|
+
className: 'multi-box-text-field',
|
|
201
206
|
size: size,
|
|
202
207
|
disabled: disabled,
|
|
203
208
|
placeholder: placeholderValue,
|
|
204
209
|
value: item[replaceFieldsCom.value || ''],
|
|
210
|
+
hideErrorDom: true,
|
|
205
211
|
onChange: changeValue(replaceFieldsCom.value || '', index),
|
|
206
212
|
fetchSuggestions: fetchSuggestionsValue ? fetchSuggestions('value') : undefined,
|
|
207
213
|
onSelect: selectValue(replaceFieldsCom.value || '', index)
|
|
@@ -223,7 +229,8 @@ var MultiBox = function MultiBox(props) {
|
|
|
223
229
|
})), jsx(HelperText, {
|
|
224
230
|
className: "multi-box-error-text",
|
|
225
231
|
error: error,
|
|
226
|
-
helperText: helperText
|
|
232
|
+
helperText: helperText,
|
|
233
|
+
hideErrorDom: hideErrorDom
|
|
227
234
|
})]
|
|
228
235
|
}));
|
|
229
236
|
};
|
package/Notification/index.js
CHANGED
|
@@ -7,9 +7,10 @@ import CompleteIcon from '@para-ui/icons/CheckCircleF';
|
|
|
7
7
|
import CloseIcon from '@para-ui/icons/Close';
|
|
8
8
|
import CloseCircleFilled from '@para-ui/icons/CloseCircleF';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
|
+
import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
|
|
10
11
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
11
12
|
|
|
12
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n * @author Hanz\n * @date 2022/1/13 上午10:30\n * @description 通知提醒框\n */\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-notification {\n position: fixed;\n margin: 0 24px 0 0;\n padding: 0;\n color: rgb(46, 55, 67);\n font-size: 14px;\n z-index: 9999;\n}\n.paraui-notification-topLeft, .paraui-notification-bottomLeft {\n margin-right: 0;\n margin-left: 24px;\n}\n.paraui-notification-topLeft .paraui-notification-fade-enter.paraui-notification-fade-enter-active, .paraui-notification-bottomLeft .paraui-notification-fade-enter.paraui-notification-fade-enter-active, .paraui-notification-topLeft .paraui-notification-fade-appear.paraui-notification-fade-appear-active, .paraui-notification-bottomLeft .paraui-notification-fade-appear.paraui-notification-fade-appear-active {\n animation-name: NotificationLeftFadeIn;\n}\n.paraui-notification-hook-holder, .paraui-notification-notice {\n position: relative;\n width: 430px;\n max-width: calc(100vw - 48px);\n margin-bottom: 16px;\n margin-left: auto;\n overflow: hidden;\n word-wrap: break-word;\n background: rgb(255, 255, 255);\n border-radius: 4px;\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n}\n.paraui-notification-topLeft .paraui-notification-hook-holder, .paraui-notification-topLeft .paraui-notification-notice, .paraui-notification-bottomLeft .paraui-notification-hook-holder, .paraui-notification-bottomLeft .paraui-notification-notice {\n margin-right: auto;\n margin-left: 0;\n}\n.paraui-notification-hook-holder > .paraui-notification-notice {\n margin-bottom: 0;\n box-shadow: none;\n}\n.paraui-notification-notice {\n padding: 20px;\n line-height: 1.5715;\n}\n.paraui-notification-notice-content {\n position: relative;\n}\n.paraui-notification-notice-message {\n margin-bottom: 8px;\n color: rgb(46, 55, 67);\n font-size: 14px;\n font-weight: 700;\n line-height: 24px;\n}\n.paraui-notification-notice-message-single-line-auto-margin {\n display: block;\n width: calc(264px - 100%);\n max-width: 4px;\n background-color: transparent;\n pointer-events: none;\n}\n.paraui-notification-notice-message-single-line-auto-margin::before {\n display: block;\n content: \"\";\n}\n.paraui-notification-notice-description {\n font-size: 14px;\n font-weight: 400;\n}\n.paraui-notification-notice-closable .paraui-notification-notice-message {\n padding-right: 24px;\n}\n.paraui-notification-notice-with-icon .paraui-notification-notice-message {\n margin-bottom: 4px;\n margin-left: 24px;\n}\n.paraui-notification-notice-with-icon .paraui-notification-notice-description {\n margin-left: 24px;\n}\n.paraui-notification .paraui-notification-notice-icon {\n position: absolute;\n top: 4px;\n font-size: 16px;\n line-height: 24px;\n}\n.paraui-notification .paraui-notification-notice-icon-success {\n color: rgb(83, 195, 27);\n}\n.paraui-notification .paraui-notification-notice-icon-info {\n color: rgb(54, 102, 214);\n}\n.paraui-notification .paraui-notification-notice-icon-warning {\n color: rgb(255, 161, 80);\n}\n.paraui-notification .paraui-notification-notice-icon-error {\n color: rgb(235, 96, 84);\n}\n.paraui-notification-notice-close {\n position: absolute;\n top: 16px;\n right: 22px;\n color: rgba(46, 55, 67, 0.7);\n outline: none;\n}\n.paraui-notification-notice-close:hover {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-notification .paraui-notification-close-icon {\n font-size: 18px;\n cursor: pointer;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-notification-notice-btn {\n float: right;\n margin-top: 16px;\n}\n.paraui-notification .notification-fade-effect {\n animation-duration: 0.24s;\n animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n animation-fill-mode: both;\n}\n.paraui-notification-fade-enter, .paraui-notification-fade-appear {\n animation-duration: 0.24s;\n animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n animation-fill-mode: both;\n opacity: 0;\n animation-play-state: paused;\n}\n.paraui-notification-fade-leave {\n animation-duration: 0.24s;\n animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n.paraui-notification-fade-enter.paraui-notification-fade-enter-active, .paraui-notification-fade-appear.paraui-notification-fade-appear-active {\n animation-name: NotificationFadeIn;\n animation-play-state: running;\n}\n.paraui-notification-fade-leave.paraui-notification-fade-leave-active {\n animation-name: NotificationFadeOut;\n animation-play-state: running;\n}\n@keyframes NotificationFadeIn {\n 0% {\n left: 430px;\n opacity: 0;\n }\n 100% {\n left: 0;\n opacity: 1;\n }\n}\n@keyframes NotificationLeftFadeIn {\n 0% {\n right: 430px;\n opacity: 0;\n }\n 100% {\n right: 0;\n opacity: 1;\n }\n}\n@keyframes NotificationFadeOut {\n 0% {\n max-height: 150px;\n margin-bottom: 16px;\n opacity: 1;\n }\n 100% {\n max-height: 0;\n margin-bottom: 0;\n padding-top: 0;\n padding-bottom: 0;\n opacity: 0;\n }\n}";
|
|
13
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n * @author Hanz\n * @date 2022/1/13 上午10:30\n * @description 通知提醒框\n */\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-notification {\n position: fixed;\n margin: 0 24px 0 0;\n padding: 0;\n color: rgb(46, 55, 67);\n font-size: 14px;\n z-index: 9999;\n}\n.paraui-v3-notification-topLeft, .paraui-v3-notification-bottomLeft {\n margin-right: 0;\n margin-left: 24px;\n}\n.paraui-v3-notification-topLeft .paraui-v3-notification-fade-enter.paraui-v3-notification-fade-enter-active, .paraui-v3-notification-bottomLeft .paraui-v3-notification-fade-enter.paraui-v3-notification-fade-enter-active, .paraui-v3-notification-topLeft .paraui-v3-notification-fade-appear.paraui-v3-notification-fade-appear-active, .paraui-v3-notification-bottomLeft .paraui-v3-notification-fade-appear.paraui-v3-notification-fade-appear-active {\n animation-name: NotificationLeftFadeIn;\n}\n.paraui-v3-notification-hook-holder, .paraui-v3-notification-notice {\n position: relative;\n width: 430px;\n max-width: calc(100vw - 48px);\n margin-bottom: 16px;\n margin-left: auto;\n overflow: hidden;\n word-wrap: break-word;\n background: rgb(255, 255, 255);\n border-radius: 4px;\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-notification-topLeft .paraui-v3-notification-hook-holder, .paraui-v3-notification-topLeft .paraui-v3-notification-notice, .paraui-v3-notification-bottomLeft .paraui-v3-notification-hook-holder, .paraui-v3-notification-bottomLeft .paraui-v3-notification-notice {\n margin-right: auto;\n margin-left: 0;\n}\n.paraui-v3-notification-hook-holder > .paraui-v3-notification-notice {\n margin-bottom: 0;\n box-shadow: none;\n}\n.paraui-v3-notification-notice {\n padding: 20px;\n line-height: 1.5715;\n}\n.paraui-v3-notification-notice-content {\n position: relative;\n}\n.paraui-v3-notification-notice-message {\n margin-bottom: 8px;\n color: rgb(46, 55, 67);\n font-size: 14px;\n font-weight: 700;\n line-height: 24px;\n}\n.paraui-v3-notification-notice-message-single-line-auto-margin {\n display: block;\n width: calc(264px - 100%);\n max-width: 4px;\n background-color: transparent;\n pointer-events: none;\n}\n.paraui-v3-notification-notice-message-single-line-auto-margin::before {\n display: block;\n content: \"\";\n}\n.paraui-v3-notification-notice-description {\n font-size: 14px;\n font-weight: 400;\n}\n.paraui-v3-notification-notice-closable .paraui-v3-notification-notice-message {\n padding-right: 24px;\n}\n.paraui-v3-notification-notice-with-icon .paraui-v3-notification-notice-message {\n margin-bottom: 4px;\n margin-left: 24px;\n}\n.paraui-v3-notification-notice-with-icon .paraui-v3-notification-notice-description {\n margin-left: 24px;\n}\n.paraui-v3-notification .paraui-v3-notification-notice-icon {\n position: absolute;\n top: 4px;\n font-size: 16px;\n line-height: 24px;\n}\n.paraui-v3-notification .paraui-v3-notification-notice-icon-success {\n color: rgb(83, 195, 27);\n}\n.paraui-v3-notification .paraui-v3-notification-notice-icon-info {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-notification .paraui-v3-notification-notice-icon-warning {\n color: rgb(255, 161, 80);\n}\n.paraui-v3-notification .paraui-v3-notification-notice-icon-error {\n color: rgb(235, 96, 84);\n}\n.paraui-v3-notification-notice-close {\n position: absolute;\n top: 16px;\n right: 22px;\n color: rgba(46, 55, 67, 0.7);\n outline: none;\n}\n.paraui-v3-notification-notice-close:hover {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-notification .paraui-v3-notification-close-icon {\n font-size: 18px;\n cursor: pointer;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-notification-notice-btn {\n float: right;\n margin-top: 16px;\n}\n.paraui-v3-notification .notification-fade-effect {\n animation-duration: 0.24s;\n animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n animation-fill-mode: both;\n}\n.paraui-v3-notification-fade-enter, .paraui-v3-notification-fade-appear {\n animation-duration: 0.24s;\n animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n animation-fill-mode: both;\n opacity: 0;\n animation-play-state: paused;\n}\n.paraui-v3-notification-fade-leave {\n animation-duration: 0.24s;\n animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n.paraui-v3-notification-fade-enter.paraui-v3-notification-fade-enter-active, .paraui-v3-notification-fade-appear.paraui-v3-notification-fade-appear-active {\n animation-name: NotificationFadeIn;\n animation-play-state: running;\n}\n.paraui-v3-notification-fade-leave.paraui-v3-notification-fade-leave-active {\n animation-name: NotificationFadeOut;\n animation-play-state: running;\n}\n@keyframes NotificationFadeIn {\n 0% {\n left: 430px;\n opacity: 0;\n }\n 100% {\n left: 0;\n opacity: 1;\n }\n}\n@keyframes NotificationLeftFadeIn {\n 0% {\n right: 430px;\n opacity: 0;\n }\n 100% {\n right: 0;\n opacity: 1;\n }\n}\n@keyframes NotificationFadeOut {\n 0% {\n max-height: 150px;\n margin-bottom: 16px;\n opacity: 1;\n }\n 100% {\n max-height: 0;\n margin-bottom: 0;\n padding-top: 0;\n padding-bottom: 0;\n opacity: 0;\n }\n}";
|
|
13
14
|
styleInject(css_248z);
|
|
14
15
|
|
|
15
16
|
var notificationInstance = {}; // 默认值
|
|
@@ -114,7 +115,7 @@ function getNotificationInstance(args, callback) {
|
|
|
114
115
|
getContainer = _args$getContainer === void 0 ? defaultGetContainer : _args$getContainer,
|
|
115
116
|
_args$closeIcon = args.closeIcon,
|
|
116
117
|
closeIcon = _args$closeIcon === void 0 ? defaultCloseIcon : _args$closeIcon;
|
|
117
|
-
var prefixCls =
|
|
118
|
+
var prefixCls = "".concat($prefixCls, "-notification");
|
|
118
119
|
var cacheKey = "".concat(prefixCls, "-").concat(placement);
|
|
119
120
|
var cacheInstance = notificationInstance[cacheKey];
|
|
120
121
|
|
package/OperateBtn/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import More from '@para-ui/icons/More';
|
|
|
7
7
|
import { Button } from '../Button/index.js';
|
|
8
8
|
import { Popover } from '../Popover/index.js';
|
|
9
9
|
import AutoTips from '../AutoTips/index.js';
|
|
10
|
+
import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
|
|
10
11
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
11
12
|
import '../_verture/typeof-498dd2b1.js';
|
|
12
13
|
import 'clsx';
|
|
@@ -21,7 +22,7 @@ import 'rc-dropdown';
|
|
|
21
22
|
import '../_verture/useFormatMessage-ac9d6acf.js';
|
|
22
23
|
import '@para-ui/core/GlobalContext';
|
|
23
24
|
|
|
24
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2022/4/13 10:48 AM\n* @description 表格操作按钮\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-operate-btn {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n display: flex;\n align-items: center;\n}\n.paraui-operate-btn > .
|
|
25
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2022/4/13 10:48 AM\n* @description 表格操作按钮\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-operate-btn {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n display: flex;\n align-items: center;\n}\n.paraui-v3-operate-btn > .operate-btn-line {\n display: inline-block;\n width: 1px;\n background-color: rgba(54, 102, 214, 0.2);\n margin: 0 12px;\n}\n.paraui-v3-operate-btn.paraui-v3-operate-btn-small > .operate-btn-line {\n height: 12px;\n}\n.paraui-v3-operate-btn.paraui-v3-operate-btn-small button svg {\n font-size: 18px;\n}\n.paraui-v3-operate-btn.paraui-v3-operate-btn-medium > .operate-btn-line {\n height: 14px;\n}\n.paraui-v3-operate-btn.paraui-v3-operate-btn-medium button svg {\n font-size: 24px;\n}\n.paraui-v3-operate-btn.paraui-v3-operate-btn-large > .operate-btn-line {\n height: 16px;\n}\n.paraui-v3-operate-btn.paraui-v3-operate-btn-large button > svg {\n font-size: 28px;\n}\n\n.paraui-v3-operate-btn-popover .operate-btn-list {\n padding: 8px 0;\n}\n.paraui-v3-operate-btn-popover .operate-btn-list > .operate-btn-list-item {\n padding: 0 12px;\n max-width: 120px;\n cursor: pointer;\n color: rgb(46, 55, 67);\n line-height: 36px;\n text-align: left;\n}\n.paraui-v3-operate-btn-popover .operate-btn-list > .operate-btn-list-item:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-operate-btn-popover .operate-btn-list > .operate-btn-list-item-disabled {\n cursor: not-allowed;\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-operate-btn-popover .operate-btn-list > .operate-btn-list-item-danger {\n color: rgb(235, 96, 84);\n}";
|
|
25
26
|
styleInject(css_248z);
|
|
26
27
|
|
|
27
28
|
var OperateBtn = function OperateBtn(props) {
|
|
@@ -149,7 +150,7 @@ var OperateBtn = function OperateBtn(props) {
|
|
|
149
150
|
|
|
150
151
|
|
|
151
152
|
var handClassPopover = function handClassPopover() {
|
|
152
|
-
var str = '
|
|
153
|
+
var str = $prefixCls + '-operate-btn-popover';
|
|
153
154
|
if (popoverClassName) str += ' ' + popoverClassName;
|
|
154
155
|
return str;
|
|
155
156
|
};
|
|
@@ -158,15 +159,15 @@ var OperateBtn = function OperateBtn(props) {
|
|
|
158
159
|
var arr = (list === null || list === void 0 ? void 0 : list.slice(showNum, list === null || list === void 0 ? void 0 : list.length)) || [];
|
|
159
160
|
|
|
160
161
|
var handPopoverClass = function handPopoverClass(item) {
|
|
161
|
-
var str = '
|
|
162
|
-
if (item.disabled) str += '
|
|
163
|
-
if (item.danger) str += '
|
|
162
|
+
var str = 'operate-btn-list-item';
|
|
163
|
+
if (item.disabled) str += ' operate-btn-list-item-disabled';
|
|
164
|
+
if (item.danger) str += ' operate-btn-list-item-danger';
|
|
164
165
|
if (item.className) str += ' ' + className;
|
|
165
166
|
return str;
|
|
166
167
|
};
|
|
167
168
|
|
|
168
169
|
return jsx("div", Object.assign({
|
|
169
|
-
className: "
|
|
170
|
+
className: "operate-btn-list"
|
|
170
171
|
}, {
|
|
171
172
|
children: arr.map(function (item, index) {
|
|
172
173
|
return jsx("div", Object.assign({
|
|
@@ -196,10 +197,11 @@ var OperateBtn = function OperateBtn(props) {
|
|
|
196
197
|
variant: 'text',
|
|
197
198
|
toolTipTitle: !openMoreCom && '更多',
|
|
198
199
|
TooltipProps: {
|
|
199
|
-
placement: placement
|
|
200
|
+
placement: placement,
|
|
201
|
+
arrow: false
|
|
200
202
|
},
|
|
201
203
|
onClick: clickMore,
|
|
202
|
-
className: '
|
|
204
|
+
className: 'operate-btn-more'
|
|
203
205
|
}, {
|
|
204
206
|
children: jsx(More, {})
|
|
205
207
|
}))
|
|
@@ -208,9 +210,9 @@ var OperateBtn = function OperateBtn(props) {
|
|
|
208
210
|
};
|
|
209
211
|
|
|
210
212
|
var handClass = function handClass() {
|
|
211
|
-
var str = '
|
|
213
|
+
var str = $prefixCls + '-operate-btn';
|
|
212
214
|
if (className) str += ' ' + className;
|
|
213
|
-
if (size) str +=
|
|
215
|
+
if (size) str += " ".concat($prefixCls, "-operate-btn-").concat(size);
|
|
214
216
|
return str;
|
|
215
217
|
};
|
|
216
218
|
|
|
@@ -241,7 +243,8 @@ var OperateBtn = function OperateBtn(props) {
|
|
|
241
243
|
variant: 'text',
|
|
242
244
|
toolTipTitle: item.toolTipTitle || item.label || '',
|
|
243
245
|
TooltipProps: {
|
|
244
|
-
placement: item.placement || placement
|
|
246
|
+
placement: item.placement || placement,
|
|
247
|
+
arrow: false
|
|
245
248
|
},
|
|
246
249
|
loading: handLoadStatus(item, index),
|
|
247
250
|
disabled: item.disabled,
|
|
@@ -250,7 +253,7 @@ var OperateBtn = function OperateBtn(props) {
|
|
|
250
253
|
}, {
|
|
251
254
|
children: item.icon
|
|
252
255
|
})), bol && jsx("span", {
|
|
253
|
-
className: '
|
|
256
|
+
className: 'operate-btn-line'
|
|
254
257
|
})]
|
|
255
258
|
}, index);
|
|
256
259
|
}), moreRender()]
|
package/PageHeader/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import Down from '@para-ui/icons/Down';
|
|
|
7
7
|
import * as iconList from '@para-ui/icons';
|
|
8
8
|
import More from '@para-ui/icons/More';
|
|
9
9
|
import { UUID, DeepClone } from '@paraview/lib';
|
|
10
|
+
import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
|
|
10
11
|
import { Button } from '../Button/index.js';
|
|
11
12
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
12
13
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
@@ -69,12 +70,11 @@ var MenuItemPopper = function MenuItemPopper(props) {
|
|
|
69
70
|
var mouseEnterItem = function mouseEnterItem(item, index) {
|
|
70
71
|
return function (e) {
|
|
71
72
|
// 防止火狐浏览器一直重绘,死循环,不触发点击事件了
|
|
72
|
-
if (timerJson.lastItem && timerJson.lastItem.path === item.path) {
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
timerJson.lastItem = item;
|
|
77
73
|
|
|
74
|
+
/*if (timerJson.lastItem && timerJson.lastItem.path === item.path) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
timerJson.lastItem = item;*/
|
|
78
78
|
(function (event) {
|
|
79
79
|
clearTimeout(timerJson.leaveTimer);
|
|
80
80
|
timerJson.leaveTimer = setTimeout(function () {
|
|
@@ -247,8 +247,7 @@ var MenuItemPopper = function MenuItemPopper(props) {
|
|
|
247
247
|
};
|
|
248
248
|
|
|
249
249
|
var HorizontalMenu = function HorizontalMenu(props) {
|
|
250
|
-
var
|
|
251
|
-
list = _props$list2 === void 0 ? [] : _props$list2,
|
|
250
|
+
var list = props.list,
|
|
252
251
|
_props$selectMenu2 = props.selectMenu,
|
|
253
252
|
selectMenu = _props$selectMenu2 === void 0 ? '' : _props$selectMenu2,
|
|
254
253
|
onClickMenu = props.onClickMenu,
|
|
@@ -316,7 +315,7 @@ var HorizontalMenu = function HorizontalMenu(props) {
|
|
|
316
315
|
if (selectMenu !== selectMenuCom) setSelectMenuCom(selectMenu);
|
|
317
316
|
}, [selectMenu]);
|
|
318
317
|
useEffect(function () {
|
|
319
|
-
handList(list);
|
|
318
|
+
handList(list || []);
|
|
320
319
|
changeSize();
|
|
321
320
|
window.addEventListener("resize", changeSize);
|
|
322
321
|
return function () {
|
|
@@ -330,7 +329,7 @@ var HorizontalMenu = function HorizontalMenu(props) {
|
|
|
330
329
|
clearTimeout(timerJson.timerResize);
|
|
331
330
|
handleCloseMore();
|
|
332
331
|
timerJson.timerResize = setTimeout(function () {
|
|
333
|
-
setMorePos(list.length);
|
|
332
|
+
setMorePos((list || []).length);
|
|
334
333
|
handMultiline();
|
|
335
334
|
}, 100);
|
|
336
335
|
};
|
|
@@ -342,7 +341,7 @@ var HorizontalMenu = function HorizontalMenu(props) {
|
|
|
342
341
|
|
|
343
342
|
var handMultiline = function handMultiline(index) {
|
|
344
343
|
if (index === null || index === 0) return;
|
|
345
|
-
if (index === undefined) index = list.length;
|
|
344
|
+
if (index === undefined) index = (list || []).length;
|
|
346
345
|
var boxDom = document.querySelector('.' + classOne);
|
|
347
346
|
if (!boxDom) return;
|
|
348
347
|
|
|
@@ -353,7 +352,7 @@ var HorizontalMenu = function HorizontalMenu(props) {
|
|
|
353
352
|
handMultiline(num);
|
|
354
353
|
} else {
|
|
355
354
|
// 一行
|
|
356
|
-
if (list.length <= index) handleCloseMore();
|
|
355
|
+
if ((list || []).length <= index) handleCloseMore();
|
|
357
356
|
}
|
|
358
357
|
}; // 关闭显示更多
|
|
359
358
|
|
|
@@ -528,8 +527,8 @@ var HorizontalMenu = function HorizontalMenu(props) {
|
|
|
528
527
|
clearTimeout(timerJson.leaveTimer);
|
|
529
528
|
var childListHand = [];
|
|
530
529
|
|
|
531
|
-
for (var i = Number(morePos), l = list.length; i < l; i++) {
|
|
532
|
-
childListHand.push(list[i]);
|
|
530
|
+
for (var i = Number(morePos), l = (list || []).length; i < l; i++) {
|
|
531
|
+
childListHand.push((list || [])[i]);
|
|
533
532
|
}
|
|
534
533
|
|
|
535
534
|
setOpenChildIndex(morePos);
|
|
@@ -559,7 +558,7 @@ var HorizontalMenu = function HorizontalMenu(props) {
|
|
|
559
558
|
return jsxs("div", Object.assign({
|
|
560
559
|
className: handClass()
|
|
561
560
|
}, {
|
|
562
|
-
children: [list.map(function (item, index) {
|
|
561
|
+
children: [(list || []).map(function (item, index) {
|
|
563
562
|
if (morePos !== null && morePos <= index) return null;
|
|
564
563
|
var icon = handIcon(item);
|
|
565
564
|
var arrow = handArrow(item);
|
|
@@ -568,7 +567,7 @@ var HorizontalMenu = function HorizontalMenu(props) {
|
|
|
568
567
|
trigger: 'hover',
|
|
569
568
|
placement: "bottom-start",
|
|
570
569
|
content: MenuItemPopperMemo,
|
|
571
|
-
overlayClassName: '
|
|
570
|
+
overlayClassName: $prefixCls + '-horizontal-menu-popper',
|
|
572
571
|
onVisibleChange: onVisibleChange
|
|
573
572
|
}, {
|
|
574
573
|
children: jsxs("div", Object.assign({
|
|
@@ -594,13 +593,13 @@ var HorizontalMenu = function HorizontalMenu(props) {
|
|
|
594
593
|
}))
|
|
595
594
|
}), index);
|
|
596
595
|
}), function () {
|
|
597
|
-
if (morePos !== null && list.length > morePos) {
|
|
596
|
+
if (morePos !== null && (list || []).length > morePos) {
|
|
598
597
|
return jsx(Popover, Object.assign({
|
|
599
598
|
visible: openChildIndex === morePos,
|
|
600
599
|
trigger: 'hover',
|
|
601
600
|
placement: "bottom-start",
|
|
602
601
|
content: MenuItemPopperMemo,
|
|
603
|
-
overlayClassName: '
|
|
602
|
+
overlayClassName: $prefixCls + '-horizontal-menu-popper',
|
|
604
603
|
onVisibleChange: onVisibleChange
|
|
605
604
|
}, {
|
|
606
605
|
children: jsx("div", Object.assign({
|
|
@@ -811,7 +810,7 @@ var Language = function Language(props) {
|
|
|
811
810
|
visible: showDialog,
|
|
812
811
|
placement: "bottom-start",
|
|
813
812
|
content: selectPopover(),
|
|
814
|
-
overlayClassName: '
|
|
813
|
+
overlayClassName: $prefixCls + '-horizontal-meun-right-popover',
|
|
815
814
|
onVisibleChange: onVisibleChange
|
|
816
815
|
}, {
|
|
817
816
|
children: jsx("div", Object.assign({
|
|
@@ -1057,7 +1056,7 @@ var User = function User(props) {
|
|
|
1057
1056
|
visible: showDialog,
|
|
1058
1057
|
placement: "bottom-start",
|
|
1059
1058
|
content: selectPopover(),
|
|
1060
|
-
overlayClassName: '
|
|
1059
|
+
overlayClassName: $prefixCls + '-horizontal-meun-right-popover',
|
|
1061
1060
|
onVisibleChange: onVisibleChange
|
|
1062
1061
|
}, {
|
|
1063
1062
|
children: jsx("div", Object.assign({
|
|
@@ -1085,7 +1084,7 @@ var HorizontalMeunRight = function HorizontalMeunRight(props) {
|
|
|
1085
1084
|
*/
|
|
1086
1085
|
|
|
1087
1086
|
var handClass = function handClass() {
|
|
1088
|
-
var str = '
|
|
1087
|
+
var str = 'horizontal-meun-right';
|
|
1089
1088
|
if (className) str += ' ' + className;
|
|
1090
1089
|
return str;
|
|
1091
1090
|
};
|
|
@@ -1119,7 +1118,7 @@ var HorizontalMeunRight = function HorizontalMeunRight(props) {
|
|
|
1119
1118
|
});
|
|
1120
1119
|
};
|
|
1121
1120
|
|
|
1122
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-page-header {\n width: 100%;\n height: 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 display: flex;\n justify-content: space-between;\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n padding: 0 16px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-page-header > .paraui-page-header-left {\n white-space: nowrap;\n display: flex;\n justify-content: left;\n align-items: center;\n}\n.paraui-page-header > .menu-box {\n width: 100%;\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list {\n width: 100%;\n height: 100%;\n line-height: 0;\n overflow: hidden;\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item {\n padding: 0 20px;\n height: 100%;\n display: flex;\n align-items: center;\n position: relative;\n white-space: nowrap;\n float: left;\n cursor: pointer;\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item:after {\n position: absolute;\n left: 0;\n top: 0;\n content: \"\";\n z-index: 1;\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item:hover > .menu-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item:hover > .menu-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item:hover > .menu-item-arrow {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item:hover > .menu-item-arrow svg {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item > .menu-item-icon > svg {\n font-size: 18px;\n color: rgba(46, 55, 67, 0.7);\n margin-right: 5px;\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item > .menu-item-label {\n font-size: 14px;\n color: rgba(46, 55, 67, 0.7);\n white-space: nowrap;\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item > .menu-item-arrow > svg {\n font-size: 18px;\n transition: all 0.3s;\n color: rgba(46, 55, 67, 0.7);\n margin-left: 2px;\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-select > .menu-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-select > .menu-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-select > .menu-item-arrow {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-select > .menu-item-arrow svg {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-hover > .menu-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-hover > .menu-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-hover > .menu-item-arrow {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-hover > .menu-item-arrow svg {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header .paraui-horizontal-meun-right {\n height: 100%;\n display: flex;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .back-btn {\n padding: 0 12px;\n height: 100%;\n display: flex;\n align-items: center;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .back-btn > button {\n width: 100%;\n white-space: nowrap;\n padding: 0 10px 0 14px;\n line-height: 14px;\n font-size: 14px;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .back-btn > button svg {\n color: white;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .language {\n height: 100%;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .language .language-item {\n display: flex;\n padding: 0 12px;\n cursor: pointer;\n align-items: center;\n height: 100%;\n position: relative;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .language .language-item:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .language .language-item:hover > .language-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .language .language-item:hover > .language-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .language .language-item:hover > .language-item-arrow > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .language .language-item > .language-item-icon {\n display: flex;\n align-items: center;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .language .language-item > .language-item-icon > svg {\n font-size: 18px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .language .language-item > .language-item-label {\n font-size: 14px;\n line-height: 14px;\n color: rgba(46, 55, 67, 0.7);\n white-space: nowrap;\n margin-left: 5px;\n display: inline-block;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .language.language-select .language-item > .language-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .language.language-select .language-item > .language-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .btn-list {\n display: flex;\n height: 100%;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .btn-list > .btn-list-item {\n display: flex;\n padding: 0 12px;\n cursor: pointer;\n align-items: center;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .btn-list > .btn-list-item.btn-list-item-sign > .btn-list-item-icon {\n position: relative;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .btn-list > .btn-list-item.btn-list-item-sign > .btn-list-item-icon:after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n width: 4px;\n height: 4px;\n border-radius: 50%;\n background-color: rgb(235, 96, 84);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .btn-list > .btn-list-item:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .btn-list > .btn-list-item:hover > .btn-list-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .btn-list > .btn-list-item:hover > .btn-list-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .btn-list > .btn-list-item > .btn-list-item-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .btn-list > .btn-list-item > .btn-list-item-icon > svg {\n font-size: 18px;\n color: rgba(46, 55, 67, 0.7);\n position: relative;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .btn-list > .btn-list-item > .btn-list-item-icon > svg:after {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n content: \"\";\n z-index: 1;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .btn-list > .btn-list-item > .btn-list-item-label {\n font-size: 14px;\n line-height: 14px;\n color: rgba(46, 55, 67, 0.7);\n width: 100%;\n white-space: nowrap;\n margin-left: 5px;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .logo {\n display: flex;\n padding: 0 12px;\n align-items: center;\n height: 100%;\n cursor: pointer;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .logo.logo-show-dialog {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .logo:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-page-header .paraui-horizontal-meun-right > .logo > img {\n height: 36px;\n width: 36px;\n border-radius: 50%;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .logo > .label {\n font-size: 14px;\n line-height: 14px;\n color: rgba(46, 55, 67, 0.7);\n font-weight: 700;\n white-space: nowrap;\n margin-left: 12px;\n max-width: 160px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .logo > .arrow {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-left: 5px;\n color: rgba(46, 55, 67, 0.7);\n font-size: 18px;\n}\n.paraui-page-header .paraui-horizontal-meun-right > .logo > .arrow > svg {\n color: rgba(46, 55, 67, 0.7);\n font-size: 18px;\n}\n\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item {\n position: relative;\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content {\n width: 140px;\n height: 40px;\n line-height: 40px;\n padding: 0 10px;\n display: flex;\n cursor: pointer;\n align-items: center;\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover > .menu-item-icon > svg, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover > .menu-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover > .menu-item-label, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover > .menu-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover > .menu-item-arrow > svg, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover > .menu-item-arrow > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-icon, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-right: 5px;\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-icon > svg, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-icon > svg {\n font-size: 20px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-icon > svg:after, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-icon > svg:after {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n content: \"\";\n z-index: 1;\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-label, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-label {\n font-size: 14px;\n color: rgba(46, 55, 67, 0.7);\n width: 100%;\n white-space: nowrap;\n text-align: left;\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow > svg, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow > svg {\n font-size: 20px;\n transition: all 0.3s;\n color: rgba(46, 55, 67, 0.7);\n transform: rotate(270deg);\n position: relative;\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow > svg:after, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow > svg:after {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n content: \"\";\n z-index: 1;\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow > .opacity-pos-svg, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow > .opacity-pos-svg {\n opacity: 0;\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-popper, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-popper {\n padding-left: 5px;\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item.menu-item-popper-content-item-select > .menu-item-popper-content-item-content > .menu-item-icon > svg, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item.menu-item-popper-content-item-select > .menu-item-popper-content-item-content > .menu-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item.menu-item-popper-content-item-select > .menu-item-popper-content-item-content > .menu-item-label, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item.menu-item-popper-content-item-select > .menu-item-popper-content-item-content > .menu-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item.menu-item-popper-content-item-select > .menu-item-popper-content-item-content > .menu-item-arrow > svg, .paraui-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item.menu-item-popper-content-item-select > .menu-item-popper-content-item-content > .menu-item-arrow > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-horizontal-menu-popper .menu-item-popper-child {\n position: absolute;\n transform: none !important;\n left: 100% !important;\n top: 0;\n}\n.paraui-horizontal-menu-popper .menu-item-popper-child > .menu-item-popper-content {\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n border-radius: 4px;\n background-color: white;\n}\n\n.paraui-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item {\n height: 36px;\n line-height: 36px;\n padding: 0 10px;\n display: flex;\n cursor: pointer;\n align-items: center;\n}\n.paraui-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item:hover > .icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item:hover > .label {\n color: rgb(54, 102, 214);\n}\n.paraui-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item > .icon {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item > .icon > svg {\n font-size: 18px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item > .icon > svg:after {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n content: \"\";\n z-index: 1;\n}\n.paraui-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item > .label {\n font-size: 14px;\n color: rgba(46, 55, 67, 0.7);\n width: 100%;\n white-space: nowrap;\n text-align: left;\n}\n.paraui-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item.menu-popover-item-select > .icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item.menu-popover-item-select > .label {\n color: rgb(54, 102, 214);\n}";
|
|
1121
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-page-header {\n width: 100%;\n height: 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 display: flex;\n justify-content: space-between;\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n padding: 0 16px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-page-header > .page-header-left {\n white-space: nowrap;\n display: flex;\n justify-content: left;\n align-items: center;\n}\n.paraui-v3-page-header > .menu-box {\n width: 100%;\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list {\n width: 100%;\n height: 100%;\n line-height: 0;\n overflow: hidden;\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item {\n padding: 0 20px;\n height: 100%;\n display: flex;\n align-items: center;\n position: relative;\n white-space: nowrap;\n float: left;\n cursor: pointer;\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item:after {\n position: absolute;\n left: 0;\n top: 0;\n content: \"\";\n z-index: 1;\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item:hover > .menu-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item:hover > .menu-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item:hover > .menu-item-arrow {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item:hover > .menu-item-arrow svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item > .menu-item-icon > svg {\n font-size: 18px;\n color: rgba(46, 55, 67, 0.7);\n margin-right: 5px;\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item > .menu-item-label {\n font-size: 14px;\n color: rgba(46, 55, 67, 0.7);\n white-space: nowrap;\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item > .menu-item-arrow > svg {\n font-size: 18px;\n transition: all 0.3s;\n color: rgba(46, 55, 67, 0.7);\n margin-left: 2px;\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-select > .menu-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-select > .menu-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-select > .menu-item-arrow {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-select > .menu-item-arrow svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-hover > .menu-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-hover > .menu-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-hover > .menu-item-arrow {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header > .menu-box > .horizontal-menu-list > .horizontal-menu-list-item.horizontal-menu-list-item-hover > .menu-item-arrow svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header .horizontal-meun-right {\n height: 100%;\n display: flex;\n}\n.paraui-v3-page-header .horizontal-meun-right > .back-btn {\n padding: 0 12px;\n height: 100%;\n display: flex;\n align-items: center;\n}\n.paraui-v3-page-header .horizontal-meun-right > .back-btn > button {\n width: 100%;\n white-space: nowrap;\n padding: 0 10px 0 14px;\n line-height: 14px;\n font-size: 14px;\n}\n.paraui-v3-page-header .horizontal-meun-right > .back-btn > button svg {\n color: white;\n}\n.paraui-v3-page-header .horizontal-meun-right > .language {\n height: 100%;\n}\n.paraui-v3-page-header .horizontal-meun-right > .language .language-item {\n display: flex;\n padding: 0 12px;\n cursor: pointer;\n align-items: center;\n height: 100%;\n position: relative;\n}\n.paraui-v3-page-header .horizontal-meun-right > .language .language-item:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-page-header .horizontal-meun-right > .language .language-item:hover > .language-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header .horizontal-meun-right > .language .language-item:hover > .language-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header .horizontal-meun-right > .language .language-item:hover > .language-item-arrow > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header .horizontal-meun-right > .language .language-item > .language-item-icon {\n display: flex;\n align-items: center;\n}\n.paraui-v3-page-header .horizontal-meun-right > .language .language-item > .language-item-icon > svg {\n font-size: 18px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-page-header .horizontal-meun-right > .language .language-item > .language-item-label {\n font-size: 14px;\n line-height: 14px;\n color: rgba(46, 55, 67, 0.7);\n white-space: nowrap;\n margin-left: 5px;\n display: inline-block;\n}\n.paraui-v3-page-header .horizontal-meun-right > .language.language-select .language-item > .language-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header .horizontal-meun-right > .language.language-select .language-item > .language-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header .horizontal-meun-right > .btn-list {\n display: flex;\n height: 100%;\n}\n.paraui-v3-page-header .horizontal-meun-right > .btn-list > .btn-list-item {\n display: flex;\n padding: 0 12px;\n cursor: pointer;\n align-items: center;\n}\n.paraui-v3-page-header .horizontal-meun-right > .btn-list > .btn-list-item.btn-list-item-sign > .btn-list-item-icon {\n position: relative;\n}\n.paraui-v3-page-header .horizontal-meun-right > .btn-list > .btn-list-item.btn-list-item-sign > .btn-list-item-icon:after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n width: 4px;\n height: 4px;\n border-radius: 50%;\n background-color: rgb(235, 96, 84);\n}\n.paraui-v3-page-header .horizontal-meun-right > .btn-list > .btn-list-item:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-page-header .horizontal-meun-right > .btn-list > .btn-list-item:hover > .btn-list-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header .horizontal-meun-right > .btn-list > .btn-list-item:hover > .btn-list-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-page-header .horizontal-meun-right > .btn-list > .btn-list-item > .btn-list-item-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-page-header .horizontal-meun-right > .btn-list > .btn-list-item > .btn-list-item-icon > svg {\n font-size: 18px;\n color: rgba(46, 55, 67, 0.7);\n position: relative;\n}\n.paraui-v3-page-header .horizontal-meun-right > .btn-list > .btn-list-item > .btn-list-item-icon > svg:after {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n content: \"\";\n z-index: 1;\n}\n.paraui-v3-page-header .horizontal-meun-right > .btn-list > .btn-list-item > .btn-list-item-label {\n font-size: 14px;\n line-height: 14px;\n color: rgba(46, 55, 67, 0.7);\n width: 100%;\n white-space: nowrap;\n margin-left: 5px;\n}\n.paraui-v3-page-header .horizontal-meun-right > .logo {\n display: flex;\n padding: 0 12px;\n align-items: center;\n height: 100%;\n cursor: pointer;\n}\n.paraui-v3-page-header .horizontal-meun-right > .logo.logo-show-dialog {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-page-header .horizontal-meun-right > .logo:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-page-header .horizontal-meun-right > .logo > img {\n height: 36px;\n width: 36px;\n border-radius: 50%;\n}\n.paraui-v3-page-header .horizontal-meun-right > .logo > .label {\n font-size: 14px;\n color: rgba(46, 55, 67, 0.7);\n font-weight: 700;\n white-space: nowrap;\n margin-left: 12px;\n max-width: 160px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.paraui-v3-page-header .horizontal-meun-right > .logo > .arrow {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-left: 5px;\n color: rgba(46, 55, 67, 0.7);\n font-size: 18px;\n}\n.paraui-v3-page-header .horizontal-meun-right > .logo > .arrow > svg {\n color: rgba(46, 55, 67, 0.7);\n font-size: 18px;\n}\n\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content {\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item {\n position: relative;\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content {\n width: 140px;\n height: 40px;\n line-height: 40px;\n padding: 0 10px;\n display: flex;\n cursor: pointer;\n align-items: center;\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover > .menu-item-icon > svg, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover > .menu-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover > .menu-item-label, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover > .menu-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover > .menu-item-arrow > svg, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content:hover > .menu-item-arrow > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-icon, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-right: 5px;\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-icon > svg, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-icon > svg {\n font-size: 20px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-icon > svg:after, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-icon > svg:after {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n content: \"\";\n z-index: 1;\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-label, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-label {\n font-size: 14px;\n color: rgba(46, 55, 67, 0.7);\n width: 100%;\n white-space: nowrap;\n text-align: left;\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow > svg, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow > svg {\n font-size: 20px;\n transition: all 0.3s;\n color: rgba(46, 55, 67, 0.7);\n transform: rotate(270deg);\n position: relative;\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow > svg:after, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow > svg:after {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n content: \"\";\n z-index: 1;\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow > .opacity-pos-svg, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-arrow > .opacity-pos-svg {\n opacity: 0;\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-popper, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item > .menu-item-popper-content-item-content > .menu-item-popper {\n padding-left: 5px;\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item.menu-item-popper-content-item-select > .menu-item-popper-content-item-content > .menu-item-icon > svg, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item.menu-item-popper-content-item-select > .menu-item-popper-content-item-content > .menu-item-icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item.menu-item-popper-content-item-select > .menu-item-popper-content-item-content > .menu-item-label, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item.menu-item-popper-content-item-select > .menu-item-popper-content-item-content > .menu-item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item.menu-item-popper-content-item-select > .menu-item-popper-content-item-content > .menu-item-arrow > svg, .paraui-v3-horizontal-menu-popper.menu-item-popper > .menu-item-popper-content > .menu-item-popper-content-item.menu-item-popper-content-item-select > .menu-item-popper-content-item-content > .menu-item-arrow > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper-child {\n position: absolute;\n transform: none !important;\n left: 100% !important;\n top: 0;\n}\n.paraui-v3-horizontal-menu-popper .menu-item-popper-child > .menu-item-popper-content {\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n border-radius: 4px;\n background-color: white;\n}\n\n.paraui-v3-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item {\n height: 36px;\n line-height: 36px;\n padding: 0 10px;\n display: flex;\n cursor: pointer;\n align-items: center;\n}\n.paraui-v3-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item:hover > .icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item:hover > .label {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item > .icon {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.paraui-v3-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item > .icon > svg {\n font-size: 18px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item > .icon > svg:after {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n content: \"\";\n z-index: 1;\n}\n.paraui-v3-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item > .label {\n font-size: 14px;\n color: rgba(46, 55, 67, 0.7);\n width: 100%;\n white-space: nowrap;\n text-align: left;\n}\n.paraui-v3-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item.menu-popover-item-select > .icon > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-horizontal-meun-right-popover .menu-popover-box > .menu-popover-item.menu-popover-item-select > .label {\n color: rgb(54, 102, 214);\n}";
|
|
1123
1122
|
styleInject(css_248z);
|
|
1124
1123
|
|
|
1125
1124
|
var PageHeader = function PageHeader(props) {
|
|
@@ -1132,7 +1131,7 @@ var PageHeader = function PageHeader(props) {
|
|
|
1132
1131
|
style = props.style;
|
|
1133
1132
|
var LeftMemo = useMemo(function () {
|
|
1134
1133
|
return leftRender && jsx("div", Object.assign({
|
|
1135
|
-
className: '
|
|
1134
|
+
className: 'page-header-left'
|
|
1136
1135
|
}, {
|
|
1137
1136
|
children: leftRender
|
|
1138
1137
|
}));
|
|
@@ -1155,7 +1154,7 @@ var PageHeader = function PageHeader(props) {
|
|
|
1155
1154
|
*/
|
|
1156
1155
|
|
|
1157
1156
|
var handClass = function handClass() {
|
|
1158
|
-
var str = '
|
|
1157
|
+
var str = $prefixCls + '-page-header';
|
|
1159
1158
|
if (className) str += ' ' + className;
|
|
1160
1159
|
return str;
|
|
1161
1160
|
};
|
package/Pagination/index.js
CHANGED
|
@@ -10,6 +10,7 @@ import Select from '../Select/index.js';
|
|
|
10
10
|
import { TextField } from '../TextField/index.js';
|
|
11
11
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-ac9d6acf.js';
|
|
12
12
|
import GlobalContext from '@para-ui/core/GlobalContext';
|
|
13
|
+
import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-bf34e6fa.js';
|
|
13
14
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
14
15
|
import '../_verture/defineProperty-0590dc61.js';
|
|
15
16
|
import '../_verture/toConsumableArray-f8047a75.js';
|
|
@@ -61,7 +62,7 @@ var localeJson = {
|
|
|
61
62
|
en: en
|
|
62
63
|
};
|
|
63
64
|
|
|
64
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2021/10/26 13:57\n* @description 分页样式\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-pagination {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n color: rgba(46, 55, 67, 0.7);\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n opacity: 1;\n}\n.paraui-pagination.paraui-pagination-over {\n overflow: hidden;\n height: 32px;\n opacity: 0;\n transition: all 0.3s;\n}\n.paraui-pagination > .total-num {\n margin-right: 24px;\n}\n.paraui-pagination > .current-page {\n margin-right: 24px;\n}\n.paraui-pagination > .current-page > .current-page-num {\n color: rgb(46, 55, 67);\n margin-right: 4px;\n margin-left: 4px;\n}\n.paraui-pagination > .current-page > .current-page-sign {\n margin-right: 3px;\n}\n.paraui-pagination > .page-line-memo {\n margin-right: 24px;\n}\n.paraui-pagination > .page-line-memo > span {\n display: inline-block;\n margin-right: 8px;\n vertical-align: middle;\n}\n.paraui-pagination > .page-line-memo .
|
|
65
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2021/10/26 13:57\n* @description 分页样式\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-pagination {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n color: rgba(46, 55, 67, 0.7);\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n opacity: 1;\n}\n.paraui-v3-pagination.paraui-v3-pagination-over {\n overflow: hidden;\n height: 32px;\n opacity: 0;\n transition: all 0.3s;\n}\n.paraui-v3-pagination > .total-num {\n margin-right: 24px;\n}\n.paraui-v3-pagination > .current-page {\n margin-right: 24px;\n}\n.paraui-v3-pagination > .current-page > .current-page-num {\n color: rgb(46, 55, 67);\n margin-right: 4px;\n margin-left: 4px;\n}\n.paraui-v3-pagination > .current-page > .current-page-sign {\n margin-right: 3px;\n}\n.paraui-v3-pagination > .page-line-memo {\n margin-right: 24px;\n}\n.paraui-v3-pagination > .page-line-memo > span {\n display: inline-block;\n margin-right: 8px;\n vertical-align: middle;\n}\n.paraui-v3-pagination > .page-line-memo .page-line-select {\n min-width: 80px;\n width: inherit;\n vertical-align: middle;\n}\n.paraui-v3-pagination > .pagination-content {\n border: 1px solid rgba(171, 176, 185, 0.4);\n border-radius: 4px;\n height: 32px;\n line-height: 30px;\n padding: 0 12px;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v3-pagination > .pagination-content > .left-page, .paraui-v3-pagination > .pagination-content > .right-page {\n display: inline-block;\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div, .paraui-v3-pagination > .pagination-content > .right-page > div {\n display: inline-block;\n line-height: 0;\n vertical-align: top;\n cursor: pointer;\n width: 20px;\n height: 20px;\n border-radius: 2px;\n margin-right: 8px;\n position: relative;\n top: 5px;\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div.disabled-btn, .paraui-v3-pagination > .pagination-content > .right-page > div.disabled-btn {\n cursor: not-allowed;\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div.disabled-btn > svg, .paraui-v3-pagination > .pagination-content > .right-page > div.disabled-btn > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div.disabled-btn:hover, .paraui-v3-pagination > .pagination-content > .right-page > div.disabled-btn:hover {\n background-color: white;\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div.disabled-btn:hover > svg, .paraui-v3-pagination > .pagination-content > .right-page > div.disabled-btn:hover > svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div:last-child, .paraui-v3-pagination > .pagination-content > .right-page > div:last-child {\n margin-right: 0;\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div:hover, .paraui-v3-pagination > .pagination-content > .right-page > div:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div:hover > svg, .paraui-v3-pagination > .pagination-content > .right-page > div:hover > svg {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-pagination > .pagination-content > .left-page > div > svg, .paraui-v3-pagination > .pagination-content > .right-page > div > svg {\n font-size: 16px;\n position: relative;\n top: 2px;\n left: 2px;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-pagination > .pagination-content > .left-page {\n margin-right: 8px;\n}\n.paraui-v3-pagination > .pagination-content > .component-pagination {\n height: 100%;\n display: inline-block;\n box-shadow: none;\n vertical-align: top;\n line-height: 30px;\n}\n.paraui-v3-pagination > .pagination-content > .component-pagination > li {\n min-width: 20px;\n height: 20px;\n line-height: 20px;\n display: inline-block;\n text-align: center;\n cursor: pointer;\n border-radius: 2px;\n padding: 0 5px;\n margin: 0 3px;\n}\n.paraui-v3-pagination > .pagination-content > .component-pagination > li:first-child, .paraui-v3-pagination > .pagination-content > .component-pagination > li:last-child, .paraui-v3-pagination > .pagination-content > .component-pagination > li.component-pagination-next {\n display: none;\n}\n.paraui-v3-pagination > .pagination-content > .component-pagination > li:hover {\n background-color: rgba(171, 176, 185, 0.12);\n color: rgb(54, 102, 214);\n}\n.paraui-v3-pagination > .pagination-content > .component-pagination > li.component-pagination-item-active {\n background-color: rgba(171, 176, 185, 0.12);\n color: rgb(54, 102, 214);\n}\n.paraui-v3-pagination > .pagination-content > .right-page {\n margin-left: 8px;\n}\n.paraui-v3-pagination > .skip-page-memo {\n margin-left: 24px;\n display: flex;\n align-items: center;\n}\n.paraui-v3-pagination > .skip-page-memo > span {\n margin-right: 8px;\n}\n.paraui-v3-pagination > .skip-page-memo > .skip-page-text-field {\n width: 58px;\n}\n.paraui-v3-pagination > .skip-page-memo > .skip-page-text-field .right-icon {\n margin-right: 8px;\n}\n.paraui-v3-pagination > .skip-page-memo > .skip-page-text-field .text-field-content .text-field-content-within .text-field-content-within-input input {\n padding-left: 8px;\n padding-right: 4px;\n}\n.paraui-v3-pagination > .skip-page-memo > .skip-page-text-field .text-field-content .text-field-content-within .text-field-content-within-input .text-field-label-placeholder {\n padding: 0 8px;\n}";
|
|
65
66
|
styleInject(css_248z);
|
|
66
67
|
|
|
67
68
|
var Pagination = function Pagination(props) {
|
|
@@ -219,7 +220,7 @@ var Pagination = function Pagination(props) {
|
|
|
219
220
|
clearTimeout(constData.timerClass);
|
|
220
221
|
var current = refDom.current;
|
|
221
222
|
if (!current) return;
|
|
222
|
-
current.classList.add('
|
|
223
|
+
current.classList.add($prefixCls + '-pagination-over');
|
|
223
224
|
constData.timer = setTimeout(function () {
|
|
224
225
|
if (!current) return;
|
|
225
226
|
var skipDom = current.querySelector('.skip-page-memo'); // 简单模式,不存在跳转
|
|
@@ -236,7 +237,7 @@ var Pagination = function Pagination(props) {
|
|
|
236
237
|
}
|
|
237
238
|
|
|
238
239
|
constData.timerClass = setTimeout(function () {
|
|
239
|
-
current.classList.remove('
|
|
240
|
+
current.classList.remove($prefixCls + '-pagination-over');
|
|
240
241
|
}, 200);
|
|
241
242
|
}, 200);
|
|
242
243
|
}; // 点击每页行数下拉
|
|
@@ -345,9 +346,11 @@ var Pagination = function Pagination(props) {
|
|
|
345
346
|
id: 'linePerPage'
|
|
346
347
|
})
|
|
347
348
|
}), jsx(Select, {
|
|
349
|
+
className: 'page-line-select',
|
|
348
350
|
size: "medium",
|
|
349
351
|
value: currentRowsPerPageCom,
|
|
350
352
|
list: rowsPerPageCom,
|
|
353
|
+
hideErrorDom: true,
|
|
351
354
|
onChange: clickRowsPerPage,
|
|
352
355
|
allowClear: false
|
|
353
356
|
})]
|
|
@@ -403,6 +406,7 @@ var Pagination = function Pagination(props) {
|
|
|
403
406
|
children: jsx(NavigateBefore, {})
|
|
404
407
|
}))]
|
|
405
408
|
})), typeCom === 'complex' && jsx(PaginationCom, {
|
|
409
|
+
prefixCls: $rcPrefixCls + '-pagination',
|
|
406
410
|
current: pageCom,
|
|
407
411
|
pageSize: currentRowsPerPageCom,
|
|
408
412
|
total: total,
|
|
@@ -438,6 +442,7 @@ var Pagination = function Pagination(props) {
|
|
|
438
442
|
id: 'jumpTo'
|
|
439
443
|
})
|
|
440
444
|
}), jsx(TextField, {
|
|
445
|
+
className: 'skip-page-text-field',
|
|
441
446
|
size: "medium",
|
|
442
447
|
type: "number",
|
|
443
448
|
value: skipValue || '',
|
|
@@ -445,6 +450,7 @@ var Pagination = function Pagination(props) {
|
|
|
445
450
|
rightIcon: intl({
|
|
446
451
|
id: 'page'
|
|
447
452
|
}),
|
|
453
|
+
hideErrorDom: true,
|
|
448
454
|
onKeyDown: keyPress,
|
|
449
455
|
onKeyUp: keyUp
|
|
450
456
|
})]
|
|
@@ -452,7 +458,7 @@ var Pagination = function Pagination(props) {
|
|
|
452
458
|
}, [skipValue, totalPage, language, locale]); // 处理class
|
|
453
459
|
|
|
454
460
|
var handClass = function handClass() {
|
|
455
|
-
var str = '
|
|
461
|
+
var str = $prefixCls + '-pagination';
|
|
456
462
|
if (className) str += ' ' + className;
|
|
457
463
|
return str;
|
|
458
464
|
};
|