@pointcloud/pcloud-components 0.1.26 → 0.1.28

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.
@@ -5,18 +5,6 @@
5
5
  @context-menu-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
6
6
  @border-radius-base: 1px;
7
7
 
8
- @keyframes contextmenu-show {
9
- 0% {
10
- opacity: 0;
11
- transform: scale(0.8);
12
- }
13
-
14
- 100% {
15
- opacity: 1;
16
- transform: scale(1);
17
- }
18
- }
19
-
20
8
  .@{prefix}-context-menu {
21
9
  background: @context-menu-bg;
22
10
  border-radius: @border-radius-base;
@@ -27,7 +15,7 @@
27
15
  opacity: 0;
28
16
  transform: scale(0.8);
29
17
  transform-origin: top left;
30
- animation: contextMenuShow 0.2s ease-out forwards;
18
+ animation: contextmenu-show 0.2s ease-out forwards;
31
19
 
32
20
  &-item {
33
21
  padding: 5px 12px;
@@ -28,91 +28,91 @@ declare type CustomItemProps = DItemBaseProps & HTMLAttributes<HTMLElement> & {
28
28
  children?: ReactNode;
29
29
  [key: string]: any;
30
30
  };
31
- declare type DInputItemProps = {
31
+ export declare type DInputItemProps = {
32
32
  renderType?: 'dInput';
33
33
  } & DItemBaseProps & DInputProps;
34
- declare type DIpAddressProps = {
34
+ export declare type DIpAddressProps = {
35
35
  renderType?: 'ipAddress';
36
36
  } & DItemBaseProps & IPAddressProps;
37
- declare type InputItemProps = {
37
+ export declare type InputItemProps = {
38
38
  renderType?: 'input';
39
39
  } & DItemBaseProps & InputProps;
40
- declare type TextAreaItemProps = {
40
+ export declare type TextAreaItemProps = {
41
41
  renderType?: 'textArea';
42
42
  } & DItemBaseProps & TextAreaProps;
43
- declare type PasswordItemProps = {
43
+ export declare type PasswordItemProps = {
44
44
  renderType?: 'password';
45
45
  } & DItemBaseProps & PasswordProps;
46
- declare type InputNumberItemProps = {
46
+ export declare type InputNumberItemProps = {
47
47
  renderType?: 'inputNumber';
48
48
  } & DItemBaseProps & InputNumberProps;
49
- declare type AutoCompleteItemProps = {
49
+ export declare type AutoCompleteItemProps = {
50
50
  renderType?: 'autoComplete';
51
51
  } & DItemBaseProps & AutoCompleteProps;
52
- declare type DSelectItemProps = {
52
+ export declare type DSelectItemProps = {
53
53
  renderType?: 'dSelect';
54
54
  } & DItemBaseProps & DSelectProps;
55
- declare type SelectItemProps = {
55
+ export declare type SelectItemProps = {
56
56
  renderType?: 'select';
57
57
  } & DItemBaseProps & SelectProps;
58
- declare type DCascaderItemProps = {
58
+ export declare type DCascaderItemProps = {
59
59
  renderType?: 'dCascader';
60
60
  } & DItemBaseProps & DCascaderProps;
61
- declare type CascaderItemProps = {
61
+ export declare type CascaderItemProps = {
62
62
  renderType?: 'cascader';
63
63
  } & DItemBaseProps & CascaderProps;
64
- declare type DTreeSelectItemProps = {
64
+ export declare type DTreeSelectItemProps = {
65
65
  renderType?: 'dTreeSelect';
66
66
  } & DItemBaseProps & DTreeSelectProps;
67
- declare type TreeSelectItemProps = {
67
+ export declare type TreeSelectItemProps = {
68
68
  renderType?: 'treeSelect';
69
69
  } & DItemBaseProps & TreeSelectProps;
70
- declare type DatePickerItemProps = {
70
+ export declare type DatePickerItemProps = {
71
71
  renderType?: 'datePicker';
72
72
  } & DItemBaseProps & DatePickerProps;
73
- declare type TimePickerItemProps = {
73
+ export declare type TimePickerItemProps = {
74
74
  renderType?: 'timePicker';
75
75
  } & DItemBaseProps & TimePickerProps;
76
- declare type RangePickerItemProps = {
76
+ export declare type RangePickerItemProps = {
77
77
  renderType?: 'rangePicker';
78
78
  } & DItemBaseProps & RangePickerProps;
79
- declare type MentionItemProps = {
79
+ export declare type MentionItemProps = {
80
80
  renderType?: 'mentions';
81
81
  } & DItemBaseProps & MentionProps;
82
- declare type CheckboxItemProps = {
82
+ export declare type CheckboxItemProps = {
83
83
  renderType?: 'checkbox';
84
84
  } & DItemBaseProps & CheckboxProps;
85
- declare type DCheckboxGroupProps = {
85
+ export declare type DCheckboxGroupProps = {
86
86
  renderType?: 'checkboxGroup';
87
87
  } & DItemBaseProps & CheckboxGroupProps;
88
- declare type RadioItemProps = {
88
+ export declare type RadioItemProps = {
89
89
  renderType?: 'radio';
90
90
  } & DItemBaseProps & RadioProps;
91
- declare type DRadioGorupProps = {
91
+ export declare type DRadioGorupProps = {
92
92
  renderType?: 'radioGroup';
93
93
  } & DItemBaseProps & RadioGroupProps;
94
- declare type RateItemProps = {
94
+ export declare type RateItemProps = {
95
95
  renderType?: 'rate';
96
96
  } & DItemBaseProps & RateProps;
97
- declare type SliderItemProps = {
97
+ export declare type SliderItemProps = {
98
98
  renderType?: 'slider';
99
99
  } & DItemBaseProps & SliderSingleProps;
100
- declare type SwitchItemProps = {
100
+ export declare type SwitchItemProps = {
101
101
  renderType?: 'switch';
102
102
  } & DItemBaseProps & SwitchProps;
103
- declare type TransferItemProps = {
103
+ export declare type TransferItemProps = {
104
104
  renderType?: 'transfer';
105
105
  } & DItemBaseProps & TransferProps<any>;
106
- declare type UploadItemProps = {
106
+ export declare type UploadItemProps = {
107
107
  renderType?: 'upload';
108
108
  } & DItemBaseProps & UploadProps;
109
- declare type DUploadItemProps = {
109
+ export declare type DUploadItemProps = {
110
110
  renderType?: 'dUpload';
111
111
  } & DItemBaseProps & DUploadProps;
112
- declare type ButtonItemProps = {
112
+ export declare type ButtonItemProps = {
113
113
  renderType?: 'button';
114
114
  } & DItemBaseProps & ButtonProps;
115
- declare type DividerItemProps = {
115
+ export declare type DividerItemProps = {
116
116
  renderType?: 'divider';
117
117
  } & DItemBaseProps & DividerProps;
118
118
  export declare type DItemProps = CustomItemProps | DInputItemProps | DIpAddressProps | InputItemProps | TextAreaItemProps | PasswordItemProps | InputNumberItemProps | AutoCompleteItemProps | DSelectItemProps | SelectItemProps | DCascaderItemProps | CascaderItemProps | DTreeSelectItemProps | TreeSelectItemProps | DatePickerItemProps | TimePickerItemProps | RangePickerItemProps | MentionItemProps | CheckboxItemProps | CheckboxGroupProps | DCheckboxGroupProps | RadioItemProps | RadioGroupProps | DRadioGorupProps | RateItemProps | SliderItemProps | SwitchItemProps | TransferItemProps | UploadItemProps | DUploadItemProps | ButtonItemProps | DividerItemProps;
@@ -0,0 +1,4 @@
1
+ import type { InputItemProps, PasswordItemProps, ButtonItemProps } from '../DForm/DItem/itemType';
2
+ export declare const defaultUsernameItem: InputItemProps;
3
+ export declare const defaultPasswordItem: PasswordItemProps;
4
+ export declare const defaultLoginButtonItem: ButtonItemProps;
@@ -0,0 +1,35 @@
1
+ import { LockOutlined, UserOutlined } from '@ant-design/icons';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ export var defaultUsernameItem = {
4
+ name: 'username',
5
+ label: '用户名',
6
+ renderType: 'input',
7
+ formItemProps: {
8
+ rules: [{
9
+ required: true,
10
+ message: '请输入用户名'
11
+ }]
12
+ },
13
+ placeholder: '请输入用户名',
14
+ prefix: /*#__PURE__*/_jsx(UserOutlined, {})
15
+ };
16
+ export var defaultPasswordItem = {
17
+ name: 'password',
18
+ label: '密码',
19
+ renderType: 'password',
20
+ formItemProps: {
21
+ rules: [{
22
+ required: true,
23
+ message: '请输入密码'
24
+ }]
25
+ },
26
+ placeholder: '请输入密码',
27
+ prefix: /*#__PURE__*/_jsx(LockOutlined, {})
28
+ };
29
+ export var defaultLoginButtonItem = {
30
+ renderType: 'button',
31
+ type: 'primary',
32
+ htmlType: 'submit',
33
+ label: '登录',
34
+ block: true
35
+ };
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import type { FormProps, FormInstance } from 'antd';
3
+ import { type DItemProps } from "./..";
4
+ export interface LoginFormProps extends Omit<FormProps, 'onFinish'> {
5
+ /** 登录表单额外的表单项 */
6
+ extraItems?: DItemProps[];
7
+ /** 点击登录按钮的回调 */
8
+ onFinish?: (values: any) => void | Promise<any>;
9
+ /** 登录按钮文本 */
10
+ loginText?: string;
11
+ /** 是否禁用登录按钮 */
12
+ loginButtonDisabled?: boolean;
13
+ /** 用户名表单项配置 */
14
+ usernameItem?: Partial<DItemProps>;
15
+ /** 密码表单项配置 */
16
+ passwordItem?: Partial<DItemProps>;
17
+ /** 登录按钮表单项配置 */
18
+ loginButtonItem?: Partial<DItemProps>;
19
+ }
20
+ declare const LoginForm: React.ForwardRefExoticComponent<LoginFormProps & React.RefAttributes<FormInstance<any>>>;
21
+ export default LoginForm;
@@ -0,0 +1,122 @@
1
+ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
2
+ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
+ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
4
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
5
+ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
6
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
7
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
8
+ var _excluded = ["extraItems", "onFinish", "loginText", "loginButtonDisabled", "usernameItem", "passwordItem", "loginButtonItem", "className"];
9
+ import React, { useState, useEffect, forwardRef, useContext, useMemo } from 'react';
10
+ import classNames from 'classnames';
11
+ import { DForm } from "./..";
12
+ import { defaultUsernameItem, defaultPasswordItem, defaultLoginButtonItem } from "./defaultConfig";
13
+ import { ConfigContext } from "../ConfigProvider";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ var mergeItemProps = function mergeItemProps(defaultItem, item, options) {
16
+ var baseMerged = _objectSpread(_objectSpread({}, defaultItem), item);
17
+ // 检查是否存在 formItemProps 属性
18
+ if ('formItemProps' in defaultItem && 'formItemProps' in item) {
19
+ baseMerged['formItemProps'] = _objectSpread(_objectSpread({}, defaultItem.formItemProps), item.formItemProps);
20
+ }
21
+ if (options) {
22
+ baseMerged = _objectSpread(_objectSpread({}, baseMerged), options);
23
+ }
24
+ return baseMerged;
25
+ };
26
+ var LoginForm = /*#__PURE__*/forwardRef(function (props, ref) {
27
+ var _props$extraItems = props.extraItems,
28
+ extraItems = _props$extraItems === void 0 ? [] : _props$extraItems,
29
+ onFinish = props.onFinish,
30
+ _props$loginText = props.loginText,
31
+ loginText = _props$loginText === void 0 ? '登录' : _props$loginText,
32
+ _props$loginButtonDis = props.loginButtonDisabled,
33
+ loginButtonDisabled = _props$loginButtonDis === void 0 ? false : _props$loginButtonDis,
34
+ _props$usernameItem = props.usernameItem,
35
+ usernameItem = _props$usernameItem === void 0 ? {} : _props$usernameItem,
36
+ _props$passwordItem = props.passwordItem,
37
+ passwordItem = _props$passwordItem === void 0 ? {} : _props$passwordItem,
38
+ _props$loginButtonIte = props.loginButtonItem,
39
+ loginButtonItem = _props$loginButtonIte === void 0 ? {} : _props$loginButtonIte,
40
+ _props$className = props.className,
41
+ className = _props$className === void 0 ? '' : _props$className,
42
+ restProps = _objectWithoutProperties(props, _excluded);
43
+ var _useContext = useContext(ConfigContext),
44
+ prefixCls = _useContext.prefixCls,
45
+ getPrefixCls = _useContext.getPrefixCls;
46
+ var _useState = useState(false),
47
+ _useState2 = _slicedToArray(_useState, 2),
48
+ loading = _useState2[0],
49
+ setLoading = _useState2[1];
50
+ var _DForm$useForm = DForm.useForm(),
51
+ _DForm$useForm2 = _slicedToArray(_DForm$useForm, 1),
52
+ form = _DForm$useForm2[0];
53
+ var classname = getPrefixCls('login-form');
54
+ var wrapperClass = classNames(_defineProperty({}, "".concat(prefixCls, "-login-form"), !!prefixCls), classname, className).trim();
55
+ var mergedUsernameItem = useMemo(function () {
56
+ return mergeItemProps(defaultUsernameItem, usernameItem);
57
+ }, [usernameItem]);
58
+ var mergedPasswordItem = useMemo(function () {
59
+ return mergeItemProps(defaultPasswordItem, passwordItem);
60
+ }, [passwordItem]);
61
+ var mergedLoginButtonItem = useMemo(function () {
62
+ return mergeItemProps(defaultLoginButtonItem, loginButtonItem, {
63
+ label: loginText,
64
+ disabled: loginButtonDisabled || loading,
65
+ loading: loading
66
+ });
67
+ }, [loginButtonItem, loginText, loginButtonDisabled, loading]);
68
+ var items = useMemo(function () {
69
+ return [mergedUsernameItem, mergedPasswordItem].concat(_toConsumableArray(extraItems), [mergedLoginButtonItem]);
70
+ }, [mergedUsernameItem, mergedPasswordItem, extraItems, mergedLoginButtonItem]);
71
+ useEffect(function () {
72
+ if (ref) {
73
+ if (typeof ref === 'function') {
74
+ ref(form);
75
+ } else {
76
+ ref.current = form;
77
+ }
78
+ }
79
+ }, [form, ref]);
80
+ var handleFinish = /*#__PURE__*/function () {
81
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(values) {
82
+ var result;
83
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
84
+ while (1) switch (_context.prev = _context.next) {
85
+ case 0:
86
+ if (onFinish) {
87
+ _context.next = 2;
88
+ break;
89
+ }
90
+ return _context.abrupt("return");
91
+ case 2:
92
+ setLoading(true);
93
+ _context.prev = 3;
94
+ result = onFinish(values);
95
+ if (!(result instanceof Promise)) {
96
+ _context.next = 8;
97
+ break;
98
+ }
99
+ _context.next = 8;
100
+ return result;
101
+ case 8:
102
+ _context.prev = 8;
103
+ setLoading(false);
104
+ return _context.finish(8);
105
+ case 11:
106
+ case "end":
107
+ return _context.stop();
108
+ }
109
+ }, _callee, null, [[3,, 8, 11]]);
110
+ }));
111
+ return function handleFinish(_x) {
112
+ return _ref.apply(this, arguments);
113
+ };
114
+ }();
115
+ return /*#__PURE__*/_jsx(DForm, _objectSpread({
116
+ form: form,
117
+ items: items,
118
+ onFinish: handleFinish,
119
+ className: wrapperClass
120
+ }, restProps));
121
+ });
122
+ export default LoginForm;
@@ -30,6 +30,8 @@ export { default as DModal } from './DModal';
30
30
  export type { DModalProps } from './DModal/interface';
31
31
  export { default as ModalForm } from './ModalForm';
32
32
  export type { ModalFormProps } from './ModalForm';
33
+ export { default as LoginForm } from './LoginForm';
34
+ export type { LoginFormProps } from './LoginForm';
33
35
  export { default as ColorPicker } from './ColorPicker';
34
36
  export type { ColorPickerType, TwitterPickerType, HuePickerType, AlphaPickerType, BlockPickerType, ChromePickerType, CompactPickerType, CirclePickerType, SliderPickerType, } from './ColorPicker/interface';
35
37
  export { default as ScrollNumber } from './ScrollNumber';
package/dist/esm/index.js CHANGED
@@ -15,6 +15,7 @@ export { default as DTable } from "./DTable";
15
15
  export { default as DForm } from "./DForm";
16
16
  export { default as DModal } from "./DModal";
17
17
  export { default as ModalForm } from "./ModalForm";
18
+ export { default as LoginForm } from "./LoginForm";
18
19
  export { default as ColorPicker } from "./ColorPicker";
19
20
  export { default as ScrollNumber } from "./ScrollNumber";
20
21
  export { default as WordCloud } from "./WordCloud";
@@ -1 +1 @@
1
- .pui-label-value{display:inline-flex}.pui-label-value span:first-child{max-width:120px;padding-right:4px;white-space:nowrap}.pui-label-value span:last-child{flex:1 1}.pui-label-value span:last-child.no-wrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pui-search-filter{align-items:center;background-color:#fff;margin-top:10px;width:100%}.pui-search-filter span.ant-collapse-header-text{cursor:auto!important;display:inline-block;width:100%}.pui-search-filter .ant-collapse-content-box{padding:0}.pui-search-filter .search-header{display:flex;width:100%}.pui-search-filter .search-header .left{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:no-wrap}.pui-search-filter .search-header .left :global .ant-radio-wrapper:first-child{border-left:1px solid #d9d9d9;border-radius:5px 0 0 5px}.pui-search-filter .search-header .left :global .ant-radio-wrapper:last-child{border-radius:0 5px 5px 0}.pui-search-filter .search-header .left :global .ant-radio-wrapper{border:1px solid #d9d9d9;border-left-color:#fff;margin-right:0;padding:4px 6px}.pui-search-filter .search-header .left :global .ant-radio-wrapper .ant-radio{display:none}.pui-search-filter .search-header .left :global .ant-radio-wrapper:hover{color:#1890ff}.pui-search-filter .search-header .left :global .ant-radio-wrapper-checked{background:#fff;border:1px solid #1890ff;border-left:1px solid #1890ff!important;color:#1890ff;z-index:1}.pui-search-filter .search-header .right{display:flex;justify-content:center}.pui-search-filter .search-header .right .input{border-radius:4px;width:200px}.pui-search-filter .search-header .right .button{background-color:#ff7e00;border-radius:4px;color:#fff;margin-left:10px}.pui-search-filter .search-header .right .button:active,.pui-search-filter .search-header .right .button:focus,.pui-search-filter .search-header .right .button:hover{border-color:transparent}.pui-search-filter .search-header .right .button .icon{margin-left:8px;transition:transform .4s}.pui-search-filter .search-header .right .button .icon.down{transform:rotate(180deg)}.pui-search-filter .search-header .right .button .icon.up{transform:rotate(0deg)}.pui-search-filter .title{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;font-weight:700;margin:0 10px;padding-bottom:10px}.pui-search-filter .title span.icon{background-color:#ff7e00;border-radius:2px;height:16px;margin-right:6px;width:4px}.pui-search-filter .search-content .filter-row{display:flex;flex-wrap:wrap;padding:10px;width:100%}.pui-search-filter .search-content .filter-col{height:30px;line-height:30px;margin-bottom:10px}.pui-search-filter .search-content .filter-col .ant-picker{width:100%}.pui-search-filter .search-content .search-btn{justify-content:center}.pui-search-filter .search-content .search-btn>button{margin:0 5px}.pui-error-boundary{align-items:center;background-color:#dd7f7f;border-radius:10px;display:flex;flex-direction:column;justify-content:center;margin:20px;padding:15px;width:auto}.pui-error-boundary .error-text{margin-top:20px}.pui-error-boundary .error-refresh{background-color:#4593ef;border-radius:5px;color:#fff;cursor:pointer;font-weight:700;height:40px;line-height:40px;text-align:center;width:140px}.pui-error-boundary .errorDetiles .detilesLink{color:blue}.pui-error-boundary .errorDetiles .errordetails{background-color:#ccc6be;border:1px solid #777;border-radius:5px;color:#777;font-size:80%;padding:10px}.pui-picture-card{display:inline-block;padding:10px;transition:box-shadow .3s linear}.pui-picture-card .info{margin-top:10px}.pui-picture-card-bordered{border:1px solid rgba(0,0,0,.06)}.pui-picture-card-hoverable:hover{border-color:transparent;box-shadow:0 1px 2px -2px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.12),0 5px 12px 4px rgba(0,0,0,.09);cursor:pointer}.pui-picture-card.horizontal{display:flex;justify-content:space-around}.pui-loading .mask{height:100%;left:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:100000}.pui-loading .loading{background:#fff;border-radius:10px;box-shadow:3px 3px 3px rgba(0,0,0,.2);padding:20px;z-index:100001}.pui-loading .loading,.pui-nodata{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.pui-nodata .not-data-image{display:block;height:100px}.pui-nodata .no-data-text{color:#000;display:inline-block;font-size:14px;font-weight:400;margin-top:5px;opacity:.65;text-align:center;width:100%}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar{height:8px;width:8px}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border-radius:8px}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar-track{border-radius:2px}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar-corner{background-color:#f1f1f1}.pui-tree-select-dropdown .ant-select-tree-node-content-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pui-tree-select-dropdown .ant-select-tree-node-content-wrapper .ant-select-tree-title{overflow:hidden}.pui-upload .preview .ant-upload-list-item-actions a[target=_blank][rel="noopener noreferrer"]{opacity:1!important;pointer-events:auto!important}.pui-upload .ant-upload-list.ant-upload-list-picture-card .ant-upload-span .ant-upload-list-item-thumbnail{height:46px}.pui-upload .ant-upload-list.ant-upload-list-picture-card .ant-upload-span .ant-upload-list-item-name{display:inline;display:initial;position:absolute}.pui-table .ant-spin-container,.pui-table .ant-spin-nested-loading,.pui-table .ant-table,.pui-table .ant-table-container{height:100%;width:100%}.pui-table .ant-table-body{max-height:calc(100% - 56px);max-width:100%;min-height:calc(100% - 56px);min-width:100%;overflow-y:auto!important;position:absolute}.pui-table .ant-table-body .ant-table-tbody>tr>td.ant-table-cell.d-table-cell-wrap{white-space:normal}.pui-table .ant-table-body::-webkit-scrollbar{height:8px;width:4px}.pui-table .ant-table-body::-webkit-scrollbar-thumb{background-color:#0084ff}.pui-table .ant-table-body::-webkit-scrollbar-track{background-color:#f1f1f1;border-radius:2px}.pui-table .ant-table-body::-webkit-scrollbar-corner{background-color:#f1f1f1}.pui-table .ant-spin-nested-loading>div>.ant-spin{max-height:none}.pui-table .ant-pagination-total-text span{color:#40a9ff;font-weight:700}.pui-table.height-on-page .ant-table{height:calc(100% - 56px)}.pui-ip-address{border:1px solid #d9d9d9;border-radius:2px;display:inline-block;transition:all .3s}.pui-ip-address.small{height:24px}.pui-ip-address.large{padding:6.5px 10px}.pui-ip-address.middle{padding:4px 10px}.pui-ip-address.disabled{background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;color:rgba(0,0,0,.25);cursor:not-allowed;opacity:1}.pui-ip-address.disabled:hover{border-color:#d9d9d9}.pui-ip-address:hover{border-color:#4d90ff}.pui-ip-address:focus-within{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.pui-ip-address input{font-feature-settings:"tnum","tnum";background:none;border:none;box-sizing:border-box;color:#000000d9;display:inline-block;font-size:14px;font-variant:tabular-nums;line-height:1.5715;margin:0;outline:0;padding:0;position:relative;text-align:center}.pui-ip-address input[disabled]{color:inherit;cursor:not-allowed}.pui-ip-address input[type=number]{appearance:textfield}.pui-ip-address input[type=number]::-webkit-inner-spin-button,.pui-ip-address input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.pui-form .form-wrapper>.ant-form-item{margin-bottom:24px;margin-right:0;min-height:32px}.pui-form .ant-input-number,.pui-form .ant-picker{width:100%}.pui-form.ant-form-horizontal .form-wrapper>.ant-form-item:last-child,.pui-form.ant-form-vertical .form-wrapper>.ant-form-item:last-child{margin-bottom:0}.pui-form.ant-form-horizontal .ant-form-item-label{min-width:80px}.pui-form.ant-form-inline .form-wrapper,.pui-form.ant-form-inline.inlineVertical .form-wrapper{align-items:flex-end;display:flex;flex:1 1;flex-wrap:wrap;height:min-content}.pui-form.ant-form-inline .form-wrapper>.ant-form-item,.pui-form.ant-form-inline.inlineVertical .form-wrapper>.ant-form-item{padding-right:16px}.pui-form.ant-form-inline.inlineVertical .ant-form-item-row{flex-direction:column}.pui-form.ant-form-inline.inlineVertical .ant-form-item-row .ant-form-item-label{text-align:left}.pui-form.ant-form-inline.inlineVertical .grid-row{flex:1 1}.pui-modal-container .ant-modal-wrap .ant-modal{height:100%;max-width:none}.pui-modal-container .ant-modal-wrap .ant-modal .ant-modal-content{height:100%;width:100%}.pui-absolute-modal-container .ant-modal-wrap{position:fixed}.pui-relative-modal-container .ant-modal-wrap{position:absolute}.pui-color-picker .sketch-picker{box-shadow:none!important;padding:0!important}.trigger{border:5px solid #fff;border-radius:2px;box-shadow:0 0 2px #000;cursor:pointer;display:inline-block;height:26px;width:60px}.pui-infinite-scroll-wrapper .ant-list .ant-row{margin-right:0!important}.scroll-container{overflow-x:hidden;overflow-y:auto;position:relative}.scroll-container .backtop{right:50px}.scroll-container .up{background:#007aff;border-radius:3px;color:#fff;text-align:center}.toolbar{background-color:rgba(0,0,0,.5);color:#fff;justify-content:center}.toolbar,.toolbar button{align-items:center;display:flex}.toolbar button{background-color:transparent;border-width:0;cursor:pointer}.toolbar button:hover{background-color:#0074d9}.toolbar .icon>path{fill:#fff}.pui-signature-pad{align-items:center;display:flex;flex-direction:column;justify-content:center;position:relative}.pui-signature-pad-canvas{border:1px solid #d9d9d9;border-radius:4px}.pui-signature-pad-toolbar{display:flex;gap:8px;justify-content:flex-end;margin-top:8px;text-align:center}.pui-signature-pad-button{background-color:#fff;border:1px solid #1677ff;border-radius:4px;color:#1677ff;cursor:pointer;height:32px;min-width:64px;padding:4px 16px;transition:all .3s}.pui-signature-pad-button:hover{background-color:#f0f5ff}.pui-signature-pad-button:last-child{background-color:#1677ff;color:#fff}.pui-signature-pad-button:last-child:hover{background-color:#4096ff}.pui-context-menu{animation:contextMenuShow .2s ease-out forwards;background:#fff;border:1px solid #f0f0f0;border-radius:1px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);min-width:120px;opacity:0;padding:4px 0;transform:scale(.8);transform-origin:top left}.pui-context-menu-item{align-items:center;color:rgba(0,0,0,.88);cursor:pointer;display:flex;gap:8px;padding:5px 12px;transition:all .3s;-ms-user-select:none;user-select:none}.pui-context-menu-item:hover{background:rgba(0,0,0,.04)}.pui-context-menu-item-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.pui-context-menu-item-disabled:hover{background:none}.pui-context-menu-item-divider{background:#f0f0f0;height:1px;margin:4px 0}@keyframes contextmenu-show{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}
1
+ .pui-label-value{display:inline-flex}.pui-label-value span:first-child{max-width:120px;padding-right:4px;white-space:nowrap}.pui-label-value span:last-child{flex:1 1}.pui-label-value span:last-child.no-wrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pui-search-filter{align-items:center;background-color:#fff;margin-top:10px;width:100%}.pui-search-filter span.ant-collapse-header-text{cursor:auto!important;display:inline-block;width:100%}.pui-search-filter .ant-collapse-content-box{padding:0}.pui-search-filter .search-header{display:flex;width:100%}.pui-search-filter .search-header .left{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:no-wrap}.pui-search-filter .search-header .left :global .ant-radio-wrapper:first-child{border-left:1px solid #d9d9d9;border-radius:5px 0 0 5px}.pui-search-filter .search-header .left :global .ant-radio-wrapper:last-child{border-radius:0 5px 5px 0}.pui-search-filter .search-header .left :global .ant-radio-wrapper{border:1px solid #d9d9d9;border-left-color:#fff;margin-right:0;padding:4px 6px}.pui-search-filter .search-header .left :global .ant-radio-wrapper .ant-radio{display:none}.pui-search-filter .search-header .left :global .ant-radio-wrapper:hover{color:#1890ff}.pui-search-filter .search-header .left :global .ant-radio-wrapper-checked{background:#fff;border:1px solid #1890ff;border-left:1px solid #1890ff!important;color:#1890ff;z-index:1}.pui-search-filter .search-header .right{display:flex;justify-content:center}.pui-search-filter .search-header .right .input{border-radius:4px;width:200px}.pui-search-filter .search-header .right .button{background-color:#ff7e00;border-radius:4px;color:#fff;margin-left:10px}.pui-search-filter .search-header .right .button:active,.pui-search-filter .search-header .right .button:focus,.pui-search-filter .search-header .right .button:hover{border-color:transparent}.pui-search-filter .search-header .right .button .icon{margin-left:8px;transition:transform .4s}.pui-search-filter .search-header .right .button .icon.down{transform:rotate(180deg)}.pui-search-filter .search-header .right .button .icon.up{transform:rotate(0deg)}.pui-search-filter .title{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;font-weight:700;margin:0 10px;padding-bottom:10px}.pui-search-filter .title span.icon{background-color:#ff7e00;border-radius:2px;height:16px;margin-right:6px;width:4px}.pui-search-filter .search-content .filter-row{display:flex;flex-wrap:wrap;padding:10px;width:100%}.pui-search-filter .search-content .filter-col{height:30px;line-height:30px;margin-bottom:10px}.pui-search-filter .search-content .filter-col .ant-picker{width:100%}.pui-search-filter .search-content .search-btn{justify-content:center}.pui-search-filter .search-content .search-btn>button{margin:0 5px}.pui-error-boundary{align-items:center;background-color:#dd7f7f;border-radius:10px;display:flex;flex-direction:column;justify-content:center;margin:20px;padding:15px;width:auto}.pui-error-boundary .error-text{margin-top:20px}.pui-error-boundary .error-refresh{background-color:#4593ef;border-radius:5px;color:#fff;cursor:pointer;font-weight:700;height:40px;line-height:40px;text-align:center;width:140px}.pui-error-boundary .errorDetiles .detilesLink{color:blue}.pui-error-boundary .errorDetiles .errordetails{background-color:#ccc6be;border:1px solid #777;border-radius:5px;color:#777;font-size:80%;padding:10px}.pui-picture-card{display:inline-block;padding:10px;transition:box-shadow .3s linear}.pui-picture-card .info{margin-top:10px}.pui-picture-card-bordered{border:1px solid rgba(0,0,0,.06)}.pui-picture-card-hoverable:hover{border-color:transparent;box-shadow:0 1px 2px -2px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.12),0 5px 12px 4px rgba(0,0,0,.09);cursor:pointer}.pui-picture-card.horizontal{display:flex;justify-content:space-around}.pui-loading .mask{height:100%;left:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:100000}.pui-loading .loading{background:#fff;border-radius:10px;box-shadow:3px 3px 3px rgba(0,0,0,.2);padding:20px;z-index:100001}.pui-loading .loading,.pui-nodata{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.pui-nodata .not-data-image{display:block;height:100px}.pui-nodata .no-data-text{color:#000;display:inline-block;font-size:14px;font-weight:400;margin-top:5px;opacity:.65;text-align:center;width:100%}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar{height:8px;width:8px}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5);border-radius:8px}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar-track{border-radius:2px}.pui-cascader-dropdown .ant-cascader-menu::-webkit-scrollbar-corner{background-color:#f1f1f1}.pui-tree-select-dropdown .ant-select-tree-node-content-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pui-tree-select-dropdown .ant-select-tree-node-content-wrapper .ant-select-tree-title{overflow:hidden}.pui-upload .preview .ant-upload-list-item-actions a[target=_blank][rel="noopener noreferrer"]{opacity:1!important;pointer-events:auto!important}.pui-upload .ant-upload-list.ant-upload-list-picture-card .ant-upload-span .ant-upload-list-item-thumbnail{height:46px}.pui-upload .ant-upload-list.ant-upload-list-picture-card .ant-upload-span .ant-upload-list-item-name{display:inline;display:initial;position:absolute}.pui-table .ant-spin-container,.pui-table .ant-spin-nested-loading,.pui-table .ant-table,.pui-table .ant-table-container{height:100%;width:100%}.pui-table .ant-table-body{max-height:calc(100% - 56px);max-width:100%;min-height:calc(100% - 56px);min-width:100%;overflow-y:auto!important;position:absolute}.pui-table .ant-table-body .ant-table-tbody>tr>td.ant-table-cell.d-table-cell-wrap{white-space:normal}.pui-table .ant-table-body::-webkit-scrollbar{height:8px;width:4px}.pui-table .ant-table-body::-webkit-scrollbar-thumb{background-color:#0084ff}.pui-table .ant-table-body::-webkit-scrollbar-track{background-color:#f1f1f1;border-radius:2px}.pui-table .ant-table-body::-webkit-scrollbar-corner{background-color:#f1f1f1}.pui-table .ant-spin-nested-loading>div>.ant-spin{max-height:none}.pui-table .ant-pagination-total-text span{color:#40a9ff;font-weight:700}.pui-table.height-on-page .ant-table{height:calc(100% - 56px)}.pui-ip-address{border:1px solid #d9d9d9;border-radius:2px;display:inline-block;transition:all .3s}.pui-ip-address.small{height:24px}.pui-ip-address.large{padding:6.5px 10px}.pui-ip-address.middle{padding:4px 10px}.pui-ip-address.disabled{background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;color:rgba(0,0,0,.25);cursor:not-allowed;opacity:1}.pui-ip-address.disabled:hover{border-color:#d9d9d9}.pui-ip-address:hover{border-color:#4d90ff}.pui-ip-address:focus-within{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.pui-ip-address input{font-feature-settings:"tnum","tnum";background:none;border:none;box-sizing:border-box;color:#000000d9;display:inline-block;font-size:14px;font-variant:tabular-nums;line-height:1.5715;margin:0;outline:0;padding:0;position:relative;text-align:center}.pui-ip-address input[disabled]{color:inherit;cursor:not-allowed}.pui-ip-address input[type=number]{appearance:textfield}.pui-ip-address input[type=number]::-webkit-inner-spin-button,.pui-ip-address input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.pui-form .form-wrapper>.ant-form-item{margin-bottom:24px;margin-right:0;min-height:32px}.pui-form .ant-input-number,.pui-form .ant-picker{width:100%}.pui-form.ant-form-horizontal .form-wrapper>.ant-form-item:last-child,.pui-form.ant-form-vertical .form-wrapper>.ant-form-item:last-child{margin-bottom:0}.pui-form.ant-form-horizontal .ant-form-item-label{min-width:80px}.pui-form.ant-form-inline .form-wrapper,.pui-form.ant-form-inline.inlineVertical .form-wrapper{align-items:flex-end;display:flex;flex:1 1;flex-wrap:wrap;height:min-content}.pui-form.ant-form-inline .form-wrapper>.ant-form-item,.pui-form.ant-form-inline.inlineVertical .form-wrapper>.ant-form-item{padding-right:16px}.pui-form.ant-form-inline.inlineVertical .ant-form-item-row{flex-direction:column}.pui-form.ant-form-inline.inlineVertical .ant-form-item-row .ant-form-item-label{text-align:left}.pui-form.ant-form-inline.inlineVertical .grid-row{flex:1 1}.pui-modal-container .ant-modal-wrap .ant-modal{height:100%;max-width:none}.pui-modal-container .ant-modal-wrap .ant-modal .ant-modal-content{height:100%;width:100%}.pui-absolute-modal-container .ant-modal-wrap{position:fixed}.pui-relative-modal-container .ant-modal-wrap{position:absolute}.pui-color-picker .sketch-picker{box-shadow:none!important;padding:0!important}.trigger{border:5px solid #fff;border-radius:2px;box-shadow:0 0 2px #000;cursor:pointer;display:inline-block;height:26px;width:60px}.pui-infinite-scroll-wrapper .ant-list .ant-row{margin-right:0!important}.scroll-container{overflow-x:hidden;overflow-y:auto;position:relative}.scroll-container .backtop{right:50px}.scroll-container .up{background:#007aff;border-radius:3px;color:#fff;text-align:center}.toolbar{background-color:rgba(0,0,0,.5);color:#fff;justify-content:center}.toolbar,.toolbar button{align-items:center;display:flex}.toolbar button{background-color:transparent;border-width:0;cursor:pointer}.toolbar button:hover{background-color:#0074d9}.toolbar .icon>path{fill:#fff}.pui-signature-pad{align-items:center;display:flex;flex-direction:column;justify-content:center;position:relative}.pui-signature-pad-canvas{border:1px solid #d9d9d9;border-radius:4px}.pui-signature-pad-toolbar{display:flex;gap:8px;justify-content:flex-end;margin-top:8px;text-align:center}.pui-signature-pad-button{background-color:#fff;border:1px solid #1677ff;border-radius:4px;color:#1677ff;cursor:pointer;height:32px;min-width:64px;padding:4px 16px;transition:all .3s}.pui-signature-pad-button:hover{background-color:#f0f5ff}.pui-signature-pad-button:last-child{background-color:#1677ff;color:#fff}.pui-signature-pad-button:last-child:hover{background-color:#4096ff}.pui-context-menu{animation:contextmenu-show .2s ease-out forwards;background:#fff;border:1px solid #f0f0f0;border-radius:1px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);min-width:120px;opacity:0;padding:4px 0;transform:scale(.8);transform-origin:top left}.pui-context-menu-item{align-items:center;color:rgba(0,0,0,.88);cursor:pointer;display:flex;gap:8px;padding:5px 12px;transition:all .3s;-ms-user-select:none;user-select:none}.pui-context-menu-item:hover{background:rgba(0,0,0,.04)}.pui-context-menu-item-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.pui-context-menu-item-disabled:hover{background:none}.pui-context-menu-item-divider{background:#f0f0f0;height:1px;margin:4px 0}@keyframes contextmenu-show{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}