@para-ui/core 4.0.3 → 4.0.5
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/ComboSelect/index.js +1 -1
- package/CycleSelector/index.d.ts +15 -1
- package/CycleSelector/index.js +104 -37
- package/CycleSelector/lang/en_US.d.ts +2 -1
- package/CycleSelector/lang/index.d.ts +4 -2
- package/CycleSelector/lang/zh_CN.d.ts +2 -1
- package/DynamicMultiBox/index.js +18 -2
- package/Form/index.js +2 -2
- package/FormItem/index.js +2 -2
- package/GlobalContext/componentsProps.d.ts +2 -0
- package/InputLang/index.d.ts +7 -3
- package/InputLang/index.js +33 -8
- package/README.md +12 -0
- package/Tree/index.js +2 -2
- package/Utils/index.d.ts +13 -0
- package/Utils/index.js +22 -0
- package/_verture/{index-e3011376.js → index-767e63dd.js} +1 -1
- package/index.d.ts +2 -0
- package/index.js +3 -2
- package/locale/en-US.d.ts +2 -1
- package/locale/index.d.ts +4 -2
- package/locale/index.js +6 -4
- package/locale/zh-CN.d.ts +2 -1
- package/package.json +1 -1
- package/umd/ComboSelect.js +1 -1
- package/umd/CycleSelector.js +4 -4
- package/umd/DynamicMultiBox.js +4 -4
- package/umd/Form.js +1 -1
- package/umd/FormItem.js +1 -1
- package/umd/InputLang.js +1 -1
- package/umd/Tree.js +1 -1
- package/umd/Utils.js +1 -0
- package/umd/locale.js +1 -1
- /package/_verture/{index-80e8eb3f.js → index-d795d1f0.js} +0 -0
package/InputLang/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import Internet from '@para-ui/icons/Internet';
|
|
|
9
9
|
import { GetLanguage, ArrayToObject } from '@paraview/lib';
|
|
10
10
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
11
11
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
12
|
+
import { u as useGlobalProps } from '../_verture/useGlobalProps-1e416658.js';
|
|
12
13
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
13
14
|
import '../Label/index.js';
|
|
14
15
|
import '../Help/index.js';
|
|
@@ -23,8 +24,6 @@ import '@para-ui/icons/PreviewOpen';
|
|
|
23
24
|
import '@para-ui/icons/CloseCircleF';
|
|
24
25
|
import '../Loading/index.js';
|
|
25
26
|
import '@para-ui/icons/LoadingF';
|
|
26
|
-
import '../_verture/useGlobalProps-1e416658.js';
|
|
27
|
-
import '@para-ui/core/GlobalContext';
|
|
28
27
|
import '../_verture/index-389675ab.js';
|
|
29
28
|
import 'rc-dropdown';
|
|
30
29
|
import '../_verture/usePopupContainer-635f66f4.js';
|
|
@@ -32,6 +31,7 @@ import 'dayjs';
|
|
|
32
31
|
import '@para-ui/icons/Delete';
|
|
33
32
|
import '@para-ui/icons/PlusCircleF';
|
|
34
33
|
import '../_verture/useFormatMessage-eb13cf56.js';
|
|
34
|
+
import '@para-ui/core/GlobalContext';
|
|
35
35
|
|
|
36
36
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-input-lang {\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-v4-input-lang .input-lang-text-field > .text-field-content > .text-field-content-before .lang-key {\n max-width: 100px;\n}\n.paraui-v4-input-lang .input-lang-text-field > .text-field-content > .text-field-content-within > .right-icon .lang-list-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.paraui-v4-input-lang .input-lang-text-field > .text-field-content > .text-field-content-within > .right-icon .lang-list-icon:hover svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-input-lang .input-lang-text-field > .paraui-v4-helper-text {\n display: none;\n}\n\n.paraui-v4-input-lang-popover > .component-popover-content > .component-popover-inner {\n padding: 20px;\n line-height: 0;\n}\n.paraui-v4-input-lang-popover > .component-popover-content > .component-popover-inner .input-lang-multi-box {\n padding-bottom: 0;\n}\n.paraui-v4-input-lang-popover > .component-popover-content > .component-popover-inner .input-lang-multi-box .multi-box-content .multi-box-content-item .multi-box-content-item-input .multi-box-text-field:first-child {\n flex: 1;\n}\n.paraui-v4-input-lang-popover > .component-popover-content > .component-popover-inner .input-lang-multi-box .multi-box-content .multi-box-content-item .multi-box-content-item-input .multi-box-text-field:last-child {\n flex: 3;\n}\n.paraui-v4-input-lang-popover.paraui-v4-input-lang-popover-disabled-add > .component-popover-content > .component-popover-inner .input-lang-multi-box .multi-box-add {\n display: none;\n}\n.paraui-v4-input-lang-popover.paraui-v4-input-lang-popover-disabled-delete > .component-popover-content > .component-popover-inner .input-lang-multi-box .multi-box-content > .multi-box-content-item .opera-box {\n display: none;\n}";
|
|
37
37
|
styleInject(css_248z);
|
|
@@ -60,8 +60,10 @@ const InputLang = props => {
|
|
|
60
60
|
defaultLang,
|
|
61
61
|
disabledDelete,
|
|
62
62
|
disabledAdd,
|
|
63
|
-
disabledKey
|
|
64
|
-
|
|
63
|
+
disabledKey,
|
|
64
|
+
typeOutput = 'object',
|
|
65
|
+
i18n
|
|
66
|
+
} = useGlobalProps(props, 'InputLang');
|
|
65
67
|
const [open, setOpen] = useState(false); // 打开弹窗
|
|
66
68
|
const [lang, setLang] = useState(GetLanguage() || 'zh'); // 当前语言
|
|
67
69
|
const [langMapping, setLangMapping] = useState({});
|
|
@@ -76,6 +78,8 @@ const InputLang = props => {
|
|
|
76
78
|
const refDom = useRef(null);
|
|
77
79
|
constData.current.lang = lang;
|
|
78
80
|
constData.current.disabledDelete = disabledDelete;
|
|
81
|
+
constData.current.typeOutput = typeOutput;
|
|
82
|
+
constData.current.i18n = typeOutput === "string" && i18n === undefined ? true : i18n;
|
|
79
83
|
useEffect(() => {
|
|
80
84
|
if (props.defaultValue !== undefined) {
|
|
81
85
|
handValue(props.defaultValue);
|
|
@@ -123,7 +127,19 @@ const InputLang = props => {
|
|
|
123
127
|
* 处理值
|
|
124
128
|
*/
|
|
125
129
|
const handValue = val => {
|
|
126
|
-
|
|
130
|
+
let jsonVal;
|
|
131
|
+
if (val) {
|
|
132
|
+
try {
|
|
133
|
+
if (typeof val === "string") jsonVal = JSON.parse(val);else jsonVal = val || {};
|
|
134
|
+
} catch (e) {
|
|
135
|
+
jsonVal = {};
|
|
136
|
+
}
|
|
137
|
+
if (constData.current.i18n === true) {
|
|
138
|
+
constData.current._i18n = jsonVal._i18n || 1;
|
|
139
|
+
delete jsonVal._i18n;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
const valueCopy = Object.assign({}, jsonVal || constData.current.valueCom);
|
|
127
143
|
const arr = [];
|
|
128
144
|
const json = {};
|
|
129
145
|
if (constData.current.disabledDelete) {
|
|
@@ -163,11 +179,20 @@ const InputLang = props => {
|
|
|
163
179
|
* 向外抛值
|
|
164
180
|
* */
|
|
165
181
|
const outValue = val => {
|
|
182
|
+
let valHand = Object.assign({}, val);
|
|
166
183
|
if (props.value === undefined) {
|
|
167
|
-
constData.current.valueCom = Object.assign({},
|
|
168
|
-
setValueCom(
|
|
184
|
+
constData.current.valueCom = Object.assign({}, valHand);
|
|
185
|
+
setValueCom(valHand);
|
|
186
|
+
}
|
|
187
|
+
if (constData.current.typeOutput === 'string') {
|
|
188
|
+
try {
|
|
189
|
+
if (constData.current.i18n === true) {
|
|
190
|
+
valHand._i18n = constData.current._i18n || 1;
|
|
191
|
+
}
|
|
192
|
+
valHand = JSON.stringify(valHand);
|
|
193
|
+
} catch (e) {}
|
|
169
194
|
}
|
|
170
|
-
onChange && onChange(
|
|
195
|
+
onChange && onChange(valHand);
|
|
171
196
|
};
|
|
172
197
|
/**
|
|
173
198
|
* 改变当前语言
|
package/README.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
## 版本: 4.0.5
|
|
3
|
+
para-ui/core@4.0.5 发布
|
|
4
|
+
【周期选择器-CycleSelector】修改初始化报错
|
|
5
|
+
【树-tree】修改树样式问题
|
|
6
|
+
|
|
7
|
+
## 版本: 4.0.4
|
|
8
|
+
para-ui/core@4.0.4 发布
|
|
9
|
+
【国际化输入框-InputLang】支持输出输入为string | object, 是否带有i18n标识
|
|
10
|
+
【DynamicMultibox】动态多值框中输入框支持联想下拉列表
|
|
11
|
+
【周期选择器-CycleSelector】新增disabled,disabledDate,disabledTime,以及错误信息参数
|
|
12
|
+
|
|
1
13
|
## 版本: 4.0.3
|
|
2
14
|
para-ui/core@4.0.3 发布
|
|
3
15
|
【周期选择器-CycleSelector】新增周期选择器-CycleSelector
|
package/Tree/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Tree } from '../_verture/index-
|
|
2
|
-
export { T as default } from '../_verture/index-
|
|
1
|
+
import { T as Tree } from '../_verture/index-767e63dd.js';
|
|
2
|
+
export { T as default } from '../_verture/index-767e63dd.js';
|
|
3
3
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
package/Utils/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface DateYYYYMMddHHMM {
|
|
2
|
+
month?: number;
|
|
3
|
+
day?: number;
|
|
4
|
+
week?: number;
|
|
5
|
+
weekDay?: number;
|
|
6
|
+
hm?: string;
|
|
7
|
+
date?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const getDateYYYYMMddHHMM: (str: string) => DateYYYYMMddHHMM;
|
|
10
|
+
declare const _default: {
|
|
11
|
+
getDateYYYYMMddHHMM: (str: string) => DateYYYYMMddHHMM;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
package/Utils/index.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const getDateYYYYMMddHHMM = str => {
|
|
2
|
+
const time = new Date(str);
|
|
3
|
+
const month = time.getMonth() + 1;
|
|
4
|
+
const day = time.getDate();
|
|
5
|
+
const weekDay = time.getDay() === 0 ? 7 : time.getDay();
|
|
6
|
+
const hm = str.split(' ')[1];
|
|
7
|
+
const date = str.split(' ')[0];
|
|
8
|
+
const week = Math.ceil((day + 6 - weekDay) / 7);
|
|
9
|
+
return {
|
|
10
|
+
month,
|
|
11
|
+
day,
|
|
12
|
+
weekDay,
|
|
13
|
+
hm,
|
|
14
|
+
week,
|
|
15
|
+
date
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
var index = {
|
|
19
|
+
getDateYYYYMMddHHMM
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { index as default, getDateYYYYMMddHHMM };
|
|
@@ -1291,7 +1291,7 @@ if (!Element.prototype.closest) {
|
|
|
1291
1291
|
};
|
|
1292
1292
|
}
|
|
1293
1293
|
|
|
1294
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/9 下午8:39\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-tree-treenode-leaf-last .paraui-v4-tree-switcher-leaf-line::before {\n top: auto !important;\n bottom: auto !important;\n height: 14px !important;\n}\n\n@keyframes treeCheckboxEffect {\n 0% {\n transform: scale(1);\n opacity: 0.5;\n }\n 100% {\n transform: scale(1.6);\n opacity: 0;\n }\n}\n.paraui-v4-tree-rtl {\n direction: rtl;\n}\n.paraui-v4-tree-rtl .paraui-v4-tree-node-content-wrapper[draggable=true] .paraui-v4-tree-drop-indicator::after {\n right: -6px;\n left: unset;\n}\n.paraui-v4-tree .paraui-v4-tree-treenode-rtl {\n direction: rtl;\n}\n.paraui-v4-tree-rtl .paraui-v4-tree-switcher_close .paraui-v4-tree-switcher-icon svg {\n transform: rotate(90deg);\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-indent-unit::before .paraui-v4-tree-rtl.paraui-v4-tree-show-line .paraui-v4-tree-indent-unit::before {\n right: auto;\n left: -13px;\n border-right: none;\n border-left: 1px solid #d9d9d9;\n}\n.paraui-v4-tree-checkbox .paraui-v4-tree-rtl.paraui-v4-tree-checkbox {\n margin: 4px 0 0 8px;\n}\n\n.paraui-v4-tree-select-dropdown-rtl .paraui-v4-select-tree-checkbox {\n margin: 4px 0 0 8px;\n}\n\n.paraui-v4-tree-checkbox {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n position: relative;\n top: 0.2em;\n line-height: 1;\n white-space: nowrap;\n outline: none;\n cursor: pointer;\n}\n.paraui-v4-tree-checkbox-wrapper:hover .paraui-v4-tree-checkbox-inner, .paraui-v4-tree-checkbox:hover .paraui-v4-tree-checkbox-inner, .paraui-v4-tree-checkbox-input:focus + .paraui-v4-tree-checkbox-inner {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-tree-checkbox:hover::after, .paraui-v4-tree-checkbox-wrapper:hover .paraui-v4-tree-checkbox::after {\n visibility: visible;\n}\n.paraui-v4-tree-checkbox-inner {\n position: relative;\n top: 0;\n left: 0;\n display: block;\n margin-top: 2px;\n width: 14px;\n height: 14px;\n direction: ltr;\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n border-radius: 2px;\n border-collapse: separate;\n transition: all 0.3s;\n}\n.paraui-v4-tree-checkbox-inner::after {\n position: absolute;\n top: 50%;\n left: 21.5%;\n display: table;\n width: 6px;\n height: 9px;\n border: 2px solid rgb(255, 255, 255);\n border-top: 0;\n border-left: 0;\n transform: rotate(45deg) scale(0) translate(-50%, -50%);\n opacity: 0;\n transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;\n content: \" \";\n box-sizing: border-box;\n}\n.paraui-v4-tree-checkbox-input {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1;\n width: 100%;\n height: 100%;\n cursor: pointer;\n opacity: 0;\n}\n\n.paraui-v4-tree-checkbox-checked .paraui-v4-tree-checkbox-inner::after {\n position: absolute;\n display: table;\n border: 1px solid rgb(255, 255, 255);\n border-top: 0;\n border-left: 0;\n width: 4px;\n height: 8px;\n top: 45%;\n left: 21%;\n transform: rotate(45deg) scale(1) translate(-50%, -50%);\n opacity: 1;\n transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;\n line-height: 16px;\n content: \" \";\n}\n\n.paraui-v4-tree-checkbox-checked .paraui-v4-tree-checkbox-inner {\n background-color: rgb(46, 101, 230);\n border-color: rgba(0, 0, 0, 0);\n line-height: 16px;\n}\n\n.paraui-v4-tree-checkbox-disabled {\n cursor: not-allowed;\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-tree-checkbox-disabled.paraui-v4-tree-checkbox-checked .paraui-v4-tree-checkbox-inner {\n background-color: rgb(212, 218, 227);\n border: none !important;\n}\n.paraui-v4-tree-checkbox-disabled.paraui-v4-tree-checkbox-checked:hover .paraui-v4-tree-checkbox-inner {\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-tree-checkbox-disabled.paraui-v4-tree-checkbox-checked .paraui-v4-tree-checkbox-inner::after {\n border-color: rgb(255, 255, 255);\n color: rgb(255, 255, 255);\n}\n.paraui-v4-tree-checkbox-disabled .paraui-v4-tree-checkbox-input {\n cursor: not-allowed;\n}\n.paraui-v4-tree-checkbox-disabled .paraui-v4-tree-checkbox-inner {\n background-color: rgb(234, 236, 241);\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-tree-checkbox-disabled .paraui-v4-tree-checkbox-inner::after {\n border-color: #fff !important;\n border-collapse: separate;\n animation-name: none;\n}\n.paraui-v4-tree-checkbox-disabled + span {\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.paraui-v4-tree-checkbox-disabled:hover::after, .paraui-v4-tree-checkbox-wrapper:hover .paraui-v4-tree-checkbox-disabled::after {\n visibility: hidden;\n}\n\n.paraui-v4-tree-checkbox-disabled + .paraui-v4-tree-node-content-wrapper {\n color: rgb(161, 168, 179) !important;\n}\n\n.paraui-v4-tree-checkbox-wrapper {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n display: inline-flex;\n align-items: baseline;\n line-height: unset;\n cursor: pointer;\n}\n.paraui-v4-tree-checkbox-wrapper.paraui-v4-tree-checkbox-wrapper-disabled {\n cursor: not-allowed;\n}\n.paraui-v4-tree-checkbox-wrapper + .paraui-v4-tree-checkbox-wrapper {\n margin-left: 8px;\n}\n\n.paraui-v4-tree-checkbox-group {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n display: inline-block;\n}\n.paraui-v4-tree-checkbox-group-item {\n margin-right: 8px;\n}\n.paraui-v4-tree-checkbox-group-item:last-child {\n margin-right: 0;\n}\n.paraui-v4-tree-checkbox-group-item + .paraui-v4-tree-checkbox-group-item {\n margin-left: 0;\n}\n\n.paraui-v4-tree-checkbox-indeterminate .paraui-v4-tree-checkbox-inner {\n background-color: rgb(46, 101, 230);\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-tree-checkbox-indeterminate .paraui-v4-tree-checkbox-inner::after {\n top: 50%;\n left: 50%;\n width: 8px;\n height: 2px;\n background-color: rgb(255, 255, 255);\n border: 0;\n transform: translate(-50%, -50%) scale(1);\n opacity: 1;\n content: \" \";\n}\n.paraui-v4-tree-checkbox-indeterminate.paraui-v4-tree-checkbox-disabled .paraui-v4-tree-checkbox-inner::after {\n background-color: rgba(0, 0, 0, 0.25);\n border-color: rgba(0, 0, 0, 0.25);\n}\n\n.paraui-v4-tree-wrapper .paraui-v4-tree-empty {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.paraui-v4-tree {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n background: rgb(255, 255, 255);\n border-radius: 2px;\n transition: background-color 0.3s;\n}\n.paraui-v4-tree-focused:not(:hover):not(.paraui-v4-tree-active-focused) {\n background: #e6f7ff;\n}\n.paraui-v4-tree-list-holder-inner {\n align-items: flex-start;\n}\n.paraui-v4-tree.paraui-v4-tree-block-node .paraui-v4-tree-list-holder-inner {\n align-items: stretch;\n}\n.paraui-v4-tree.paraui-v4-tree-block-node .paraui-v4-tree-list-holder-inner .paraui-v4-tree-node-content-wrapper {\n flex: auto;\n}\n.paraui-v4-tree .paraui-v4-tree-treenode {\n display: flex;\n align-items: center;\n outline: none;\n}\n.paraui-v4-tree .paraui-v4-tree-treenode-disabled .paraui-v4-tree-node-content-wrapper {\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.paraui-v4-tree .paraui-v4-tree-treenode-disabled .paraui-v4-tree-node-content-wrapper:hover {\n background: transparent;\n}\n.paraui-v4-tree .paraui-v4-tree-treenode-active .paraui-v4-tree-node-content-wrapper {\n background: #f5f5f5;\n}\n.paraui-v4-tree .paraui-v4-tree-treenode:not(.paraui-v4-tree .paraui-v4-tree-treenode-disabled).filter-node .paraui-v4-tree-title {\n color: inherit;\n font-weight: 500;\n}\n.paraui-v4-tree-indent {\n align-self: stretch;\n white-space: nowrap;\n user-select: none;\n}\n.paraui-v4-tree-indent-unit {\n display: inline-block;\n width: 24px;\n}\n.paraui-v4-tree-switcher {\n position: relative;\n flex: none;\n text-align: center;\n width: 16px;\n margin-right: 4px;\n cursor: pointer;\n user-select: none;\n}\n.paraui-v4-tree-switcher .paraui-v4-tree-switcher-icon,\n.paraui-v4-tree-switcher .paraui-v4-select-tree-switcher-icon {\n display: inline-block;\n vertical-align: middle;\n transition: transform 0.3s;\n color: inherit;\n}\n.paraui-v4-tree-switcher .paraui-v4-tree-switcher-icon svg,\n.paraui-v4-tree-switcher .paraui-v4-select-tree-switcher-icon svg {\n font-size: inherit;\n color: inherit;\n transition: transform 0.3s;\n}\n.paraui-v4-tree-switcher-noop {\n cursor: default;\n}\n.paraui-v4-tree-switcher-icon[data-name=DownTriangleF]:hover {\n color: rgb(46, 101, 230);\n background: rgb(247, 248, 250);\n}\n.paraui-v4-tree-switcher_close .paraui-v4-tree-switcher-icon {\n transform: rotate(-90deg);\n}\n.paraui-v4-tree-switcher_close .paraui-v4-tree-switcher-icon svg {\n color: currentColor;\n transform: rotate(-90deg);\n}\n.paraui-v4-tree-switcher-loading-icon {\n color: rgb(46, 101, 230);\n will-change: transform;\n transition: transform 0.3s ease-in-out;\n animation: treeLoadingCircle 1s infinite linear;\n vertical-align: middle;\n font-size: 14px !important;\n}\n@keyframes treeLoadingCircle {\n 100% {\n transform: rotate(360deg);\n }\n}\n.paraui-v4-tree-switcher-leaf-line {\n position: relative;\n z-index: 1;\n display: inline-block;\n width: 100%;\n height: 100%;\n}\n.paraui-v4-tree-switcher-leaf-line::before {\n position: absolute;\n top: 0;\n bottom: -4px;\n margin-left: -1px;\n border-left: 1px solid #d9d9d9;\n content: \" \";\n}\n.paraui-v4-tree-switcher-leaf-line::after {\n position: absolute;\n width: 10px;\n height: 14px;\n margin-left: -1px;\n border-bottom: 1px solid #d9d9d9;\n content: \" \";\n}\n.paraui-v4-tree-checkbox {\n top: initial;\n width: 18px;\n height: 18px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper {\n padding: 0 8px;\n position: relative;\n z-index: auto;\n min-height: 24px;\n margin: 2px 0 0 0;\n color: inherit;\n line-height: 24px;\n background: transparent;\n border-radius: 2px;\n cursor: pointer;\n transition: all 0.3s, border 0s, line-height 0s, box-shadow 0s;\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper:hover {\n background-color: rgb(247, 248, 250);\n border-radius: 4px;\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper.paraui-v4-tree-node-selected {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper .paraui-v4-tree-iconEle {\n display: inline-block;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n line-height: 26px;\n text-align: center;\n vertical-align: top;\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper .paraui-v4-tree-iconEle > svg {\n vertical-align: -0.125em;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper .paraui-v4-tree-iconEle:empty {\n display: none;\n}\n.paraui-v4-tree-unselectable .paraui-v4-tree-node-content-wrapper:hover {\n background-color: transparent;\n}\n.paraui-v4-tree-node-content-wrapper[draggable=true] {\n line-height: 24px;\n user-select: none;\n}\n.paraui-v4-tree-node-content-wrapper[draggable=true] .paraui-v4-tree-drop-indicator {\n position: absolute;\n z-index: 1;\n height: 2px;\n background-color: rgb(46, 101, 230);\n border-radius: 1px;\n pointer-events: none;\n}\n.paraui-v4-tree-node-content-wrapper[draggable=true] .paraui-v4-tree-drop-indicator::after {\n position: absolute;\n top: -3px;\n left: -6px;\n width: 8px;\n height: 8px;\n background-color: transparent;\n border: 2px solid rgb(46, 101, 230);\n border-radius: 50%;\n content: \"\";\n}\n.paraui-v4-tree .paraui-v4-tree-treenode.drop-container > [draggable] {\n box-shadow: 0 0 0 2px rgb(46, 101, 230);\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-indent-unit {\n position: relative;\n height: 100%;\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-indent-unit::before {\n position: absolute;\n top: 0;\n right: 12px;\n bottom: -4px;\n border-right: 1px solid #d9d9d9;\n content: \"\";\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-indent-unit-end::before {\n display: none;\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-switcher {\n background: rgb(255, 255, 255);\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-switcher_close svg {\n transform: rotate(-90deg);\n color: inherit;\n font-size: 14px;\n transition: transform 0.3s;\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-switcher_open svg {\n color: inherit;\n font-size: 14px;\n transition: transform 0.3s;\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-switcher-line-icon {\n vertical-align: -0.225em;\n color: inherit;\n font-size: 14px;\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-switcher-line-icon[data-name=DownTriangleF]:hover {\n color: rgb(46, 101, 230);\n background: rgb(247, 248, 250);\n}\n.paraui-v4-tree-node-content-wrapper {\n overflow: hidden;\n display: flex;\n}\n.paraui-v4-tree-node-content-wrapper .paraui-v4-tree-title {\n display: flex;\n align-items: center;\n width: 100%;\n}\n.paraui-v4-tree-node-content-wrapper .paraui-v4-tree-treenode-more-wrapper {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper--active {\n background-color: rgb(247, 248, 250) !important;\n border-radius: 2px !important;\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper--active .sector-anchor {\n opacity: 1 !important;\n}\n.paraui-v4-tree.paraui-v4-tree-block-node .paraui-v4-tree-list-holder-inner .paraui-v4-tree-node-content-wrapper {\n flex-grow: 0;\n flex-shrink: 1;\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper {\n display: inline-flex;\n align-items: center;\n overflow: hidden;\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper .sector-anchor {\n position: relative;\n margin: 3px 0 0 10px;\n line-height: 14px;\n opacity: 0;\n transition: opacity 0.3s;\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper .sector-anchor:before {\n content: \" \";\n position: absolute;\n left: -9px;\n top: 0;\n width: 1px;\n height: 14px;\n background-color: rgb(247, 248, 250);\n pointer-events: none;\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper .sector-anchor svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper .sector-anchor svg:hover {\n background: rgba(212, 218, 227, 0.4);\n border-radius: 2px;\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper .sector-anchor--active.sector-anchor svg {\n color: rgb(46, 101, 230);\n background: rgba(212, 218, 227, 0.4);\n border-radius: 2px;\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper--active .sector-anchor {\n opacity: 1;\n}\n.paraui-v4-tree.paraui-v4-tree-radioable .paraui-v4-tree-iconEle {\n position: absolute;\n left: 8px;\n top: 0;\n}\n.paraui-v4-tree.paraui-v4-tree-radioable .paraui-v4-tree-checkbox {\n display: none !important;\n}\n.paraui-v4-tree.paraui-v4-tree-radioable .paraui-v4-tree-checkbox-checked + .paraui-v4-tree-node-content-wrapper {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tree.paraui-v4-tree-radioable .paraui-v4-tree-node-radio {\n width: 16px;\n height: 16px;\n padding: 0;\n margin-top: 4px;\n}\n.paraui-v4-tree.paraui-v4-tree-radioable-showradio .paraui-v4-tree-node-content-wrapper {\n padding-left: 28px;\n}\n\n.paraui-v4-tree-motion-collapse {\n overflow: hidden;\n transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;\n}";
|
|
1294
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/9 下午8:39\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-tree-treenode-leaf-last .paraui-v4-tree-switcher-leaf-line::before {\n top: auto !important;\n bottom: auto !important;\n height: 14px !important;\n}\n\n@keyframes treeCheckboxEffect {\n 0% {\n transform: scale(1);\n opacity: 0.5;\n }\n 100% {\n transform: scale(1.6);\n opacity: 0;\n }\n}\n.paraui-v4-tree-rtl {\n direction: rtl;\n}\n.paraui-v4-tree-rtl .paraui-v4-tree-node-content-wrapper[draggable=true] .paraui-v4-tree-drop-indicator::after {\n right: -6px;\n left: unset;\n}\n.paraui-v4-tree .paraui-v4-tree-treenode-rtl {\n direction: rtl;\n}\n.paraui-v4-tree-rtl .paraui-v4-tree-switcher_close .paraui-v4-tree-switcher-icon svg {\n transform: rotate(90deg);\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-indent-unit::before .paraui-v4-tree-rtl.paraui-v4-tree-show-line .paraui-v4-tree-indent-unit::before {\n right: auto;\n left: -13px;\n border-right: none;\n border-left: 1px solid #d9d9d9;\n}\n.paraui-v4-tree-checkbox .paraui-v4-tree-rtl.paraui-v4-tree-checkbox {\n margin: 4px 0 0 8px;\n}\n\n.paraui-v4-tree-select-dropdown-rtl .paraui-v4-select-tree-checkbox {\n margin: 4px 0 0 8px;\n}\n\n.paraui-v4-tree-checkbox {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n position: relative;\n top: 0.2em;\n line-height: 1;\n white-space: nowrap;\n outline: none;\n cursor: pointer;\n}\n.paraui-v4-tree-checkbox-wrapper:hover .paraui-v4-tree-checkbox-inner, .paraui-v4-tree-checkbox:hover .paraui-v4-tree-checkbox-inner, .paraui-v4-tree-checkbox-input:focus + .paraui-v4-tree-checkbox-inner {\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-tree-checkbox:hover::after, .paraui-v4-tree-checkbox-wrapper:hover .paraui-v4-tree-checkbox::after {\n visibility: visible;\n}\n.paraui-v4-tree-checkbox-inner {\n position: relative;\n top: 0;\n left: 0;\n display: block;\n margin-top: 2px;\n width: 14px;\n height: 14px;\n direction: ltr;\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n border-radius: 2px;\n border-collapse: separate;\n transition: all 0.3s;\n}\n.paraui-v4-tree-checkbox-inner::after {\n position: absolute;\n top: 50%;\n left: 21.5%;\n display: table;\n width: 6px;\n height: 9px;\n border: 2px solid rgb(255, 255, 255);\n border-top: 0;\n border-left: 0;\n transform: rotate(45deg) scale(0) translate(-50%, -50%);\n opacity: 0;\n transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;\n content: \" \";\n box-sizing: border-box;\n}\n.paraui-v4-tree-checkbox-input {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1;\n width: 100%;\n height: 100%;\n cursor: pointer;\n opacity: 0;\n}\n\n.paraui-v4-tree-checkbox-checked .paraui-v4-tree-checkbox-inner::after {\n position: absolute;\n display: table;\n border: 1px solid rgb(255, 255, 255);\n border-top: 0;\n border-left: 0;\n width: 4px;\n height: 8px;\n top: 45%;\n left: 21%;\n transform: rotate(45deg) scale(1) translate(-50%, -50%);\n opacity: 1;\n transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;\n line-height: 16px;\n content: \" \";\n}\n\n.paraui-v4-tree-checkbox-checked .paraui-v4-tree-checkbox-inner {\n background-color: rgb(46, 101, 230);\n border-color: rgba(0, 0, 0, 0);\n line-height: 16px;\n}\n\n.paraui-v4-tree-checkbox-disabled {\n cursor: not-allowed;\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-tree-checkbox-disabled.paraui-v4-tree-checkbox-checked .paraui-v4-tree-checkbox-inner {\n background-color: rgb(212, 218, 227);\n border: none !important;\n}\n.paraui-v4-tree-checkbox-disabled.paraui-v4-tree-checkbox-checked:hover .paraui-v4-tree-checkbox-inner {\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-tree-checkbox-disabled.paraui-v4-tree-checkbox-checked .paraui-v4-tree-checkbox-inner::after {\n border-color: rgb(255, 255, 255);\n color: rgb(255, 255, 255);\n}\n.paraui-v4-tree-checkbox-disabled .paraui-v4-tree-checkbox-input {\n cursor: not-allowed;\n}\n.paraui-v4-tree-checkbox-disabled .paraui-v4-tree-checkbox-inner {\n background-color: rgb(234, 236, 241);\n border-color: rgb(212, 218, 227);\n}\n.paraui-v4-tree-checkbox-disabled .paraui-v4-tree-checkbox-inner::after {\n border-color: #fff !important;\n border-collapse: separate;\n animation-name: none;\n}\n.paraui-v4-tree-checkbox-disabled + span {\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.paraui-v4-tree-checkbox-disabled:hover::after, .paraui-v4-tree-checkbox-wrapper:hover .paraui-v4-tree-checkbox-disabled::after {\n visibility: hidden;\n}\n\n.paraui-v4-tree-checkbox-disabled + .paraui-v4-tree-node-content-wrapper {\n color: rgb(161, 168, 179) !important;\n}\n\n.paraui-v4-tree-checkbox-wrapper {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n display: inline-flex;\n align-items: baseline;\n line-height: unset;\n cursor: pointer;\n}\n.paraui-v4-tree-checkbox-wrapper.paraui-v4-tree-checkbox-wrapper-disabled {\n cursor: not-allowed;\n}\n.paraui-v4-tree-checkbox-wrapper + .paraui-v4-tree-checkbox-wrapper {\n margin-left: 8px;\n}\n\n.paraui-v4-tree-checkbox-group {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n display: inline-block;\n}\n.paraui-v4-tree-checkbox-group-item {\n margin-right: 8px;\n}\n.paraui-v4-tree-checkbox-group-item:last-child {\n margin-right: 0;\n}\n.paraui-v4-tree-checkbox-group-item + .paraui-v4-tree-checkbox-group-item {\n margin-left: 0;\n}\n\n.paraui-v4-tree-checkbox-indeterminate .paraui-v4-tree-checkbox-inner {\n background-color: rgb(46, 101, 230);\n border-color: rgb(46, 101, 230);\n}\n.paraui-v4-tree-checkbox-indeterminate .paraui-v4-tree-checkbox-inner::after {\n top: 50%;\n left: 50%;\n width: 8px;\n height: 2px;\n background-color: rgb(255, 255, 255);\n border: 0;\n transform: translate(-50%, -50%) scale(1);\n opacity: 1;\n content: \" \";\n}\n.paraui-v4-tree-checkbox-indeterminate.paraui-v4-tree-checkbox-disabled .paraui-v4-tree-checkbox-inner::after {\n background-color: rgba(0, 0, 0, 0.25);\n border-color: rgba(0, 0, 0, 0.25);\n}\n\n.paraui-v4-tree-wrapper .paraui-v4-tree-empty {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.paraui-v4-tree {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgb(29, 33, 38);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n background: rgb(255, 255, 255);\n border-radius: 2px;\n transition: background-color 0.3s;\n}\n.paraui-v4-tree-focused:not(:hover):not(.paraui-v4-tree-active-focused) {\n background: #e6f7ff;\n}\n.paraui-v4-tree-list-holder-inner {\n align-items: flex-start;\n}\n.paraui-v4-tree.paraui-v4-tree-block-node .paraui-v4-tree-list-holder-inner {\n align-items: stretch;\n}\n.paraui-v4-tree.paraui-v4-tree-block-node .paraui-v4-tree-list-holder-inner .paraui-v4-tree-node-content-wrapper {\n flex: auto;\n}\n.paraui-v4-tree .paraui-v4-tree-treenode {\n display: flex;\n align-items: center;\n outline: none;\n}\n.paraui-v4-tree .paraui-v4-tree-treenode-disabled .paraui-v4-tree-node-content-wrapper {\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.paraui-v4-tree .paraui-v4-tree-treenode-disabled .paraui-v4-tree-node-content-wrapper:hover {\n background: transparent;\n}\n.paraui-v4-tree .paraui-v4-tree-treenode-active .paraui-v4-tree-node-content-wrapper {\n background: #f5f5f5;\n}\n.paraui-v4-tree .paraui-v4-tree-treenode:not(.paraui-v4-tree .paraui-v4-tree-treenode-disabled).filter-node .paraui-v4-tree-title {\n color: inherit;\n font-weight: 500;\n}\n.paraui-v4-tree-indent {\n align-self: stretch;\n white-space: nowrap;\n user-select: none;\n}\n.paraui-v4-tree-indent-unit {\n display: inline-block;\n width: 24px;\n}\n.paraui-v4-tree-switcher {\n position: relative;\n flex: none;\n text-align: center;\n width: 16px;\n margin-right: 4px;\n cursor: pointer;\n user-select: none;\n}\n.paraui-v4-tree-switcher .paraui-v4-tree-switcher-icon,\n.paraui-v4-tree-switcher .paraui-v4-select-tree-switcher-icon {\n display: inline-block;\n vertical-align: middle;\n transition: transform 0.3s;\n color: inherit;\n}\n.paraui-v4-tree-switcher .paraui-v4-tree-switcher-icon svg,\n.paraui-v4-tree-switcher .paraui-v4-select-tree-switcher-icon svg {\n font-size: inherit;\n color: inherit;\n transition: transform 0.3s;\n}\n.paraui-v4-tree-switcher-noop {\n cursor: default;\n}\n.paraui-v4-tree-switcher-icon[data-name=DownTriangleF]:hover {\n color: rgb(46, 101, 230);\n background: rgb(247, 248, 250);\n}\n.paraui-v4-tree-switcher_close .paraui-v4-tree-switcher-icon {\n transform: rotate(-90deg);\n}\n.paraui-v4-tree-switcher_close .paraui-v4-tree-switcher-icon svg {\n color: currentColor;\n transform: rotate(-90deg);\n}\n.paraui-v4-tree-switcher-loading-icon {\n color: rgb(46, 101, 230);\n will-change: transform;\n transition: transform 0.3s ease-in-out;\n animation: treeLoadingCircle 1s infinite linear;\n vertical-align: middle;\n font-size: 14px !important;\n}\n@keyframes treeLoadingCircle {\n 100% {\n transform: rotate(360deg);\n }\n}\n.paraui-v4-tree-switcher-leaf-line {\n position: relative;\n z-index: 1;\n display: inline-block;\n width: 100%;\n height: 100%;\n}\n.paraui-v4-tree-switcher-leaf-line::before {\n position: absolute;\n top: 0;\n bottom: -4px;\n margin-left: -1px;\n border-left: 1px solid #d9d9d9;\n content: \" \";\n}\n.paraui-v4-tree-switcher-leaf-line::after {\n position: absolute;\n width: 10px;\n height: 14px;\n margin-left: -1px;\n border-bottom: 1px solid #d9d9d9;\n content: \" \";\n}\n.paraui-v4-tree-checkbox {\n top: initial;\n width: 18px;\n height: 18px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper {\n padding: 0 8px;\n position: relative;\n z-index: auto;\n min-height: 24px;\n margin: 2px 0 0 0;\n color: inherit;\n line-height: 24px;\n background: transparent;\n border-radius: 2px;\n cursor: pointer;\n transition: all 0.3s, border 0s, line-height 0s, box-shadow 0s;\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper:hover {\n background-color: rgb(247, 248, 250);\n border-radius: 4px;\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper.paraui-v4-tree-node-selected {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper .paraui-v4-tree-iconEle {\n display: inline-block;\n height: 24px;\n margin-right: 8px;\n line-height: 26px;\n text-align: center;\n vertical-align: top;\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper .paraui-v4-tree-iconEle > svg {\n vertical-align: -0.125em;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper .paraui-v4-tree-iconEle:empty {\n display: none;\n}\n.paraui-v4-tree-unselectable .paraui-v4-tree-node-content-wrapper:hover {\n background-color: transparent;\n}\n.paraui-v4-tree-node-content-wrapper[draggable=true] {\n line-height: 24px;\n user-select: none;\n}\n.paraui-v4-tree-node-content-wrapper[draggable=true] .paraui-v4-tree-drop-indicator {\n position: absolute;\n z-index: 1;\n height: 2px;\n background-color: rgb(46, 101, 230);\n border-radius: 1px;\n pointer-events: none;\n}\n.paraui-v4-tree-node-content-wrapper[draggable=true] .paraui-v4-tree-drop-indicator::after {\n position: absolute;\n top: -3px;\n left: -6px;\n width: 8px;\n height: 8px;\n background-color: transparent;\n border: 2px solid rgb(46, 101, 230);\n border-radius: 50%;\n content: \"\";\n}\n.paraui-v4-tree .paraui-v4-tree-treenode.drop-container > [draggable] {\n box-shadow: 0 0 0 2px rgb(46, 101, 230);\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-indent-unit {\n position: relative;\n height: 100%;\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-indent-unit::before {\n position: absolute;\n top: 0;\n right: 12px;\n bottom: -4px;\n border-right: 1px solid #d9d9d9;\n content: \"\";\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-indent-unit-end::before {\n display: none;\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-switcher {\n background: rgb(255, 255, 255);\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-switcher_close svg {\n transform: rotate(-90deg);\n color: inherit;\n font-size: 14px;\n transition: transform 0.3s;\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-switcher_open svg {\n color: inherit;\n font-size: 14px;\n transition: transform 0.3s;\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-switcher-line-icon {\n vertical-align: -0.225em;\n color: inherit;\n font-size: 14px;\n}\n.paraui-v4-tree-show-line .paraui-v4-tree-switcher-line-icon[data-name=DownTriangleF]:hover {\n color: rgb(46, 101, 230);\n background: rgb(247, 248, 250);\n}\n.paraui-v4-tree-node-content-wrapper {\n overflow: hidden;\n display: flex;\n}\n.paraui-v4-tree-node-content-wrapper .paraui-v4-tree-title {\n display: flex;\n align-items: center;\n width: 100%;\n}\n.paraui-v4-tree-node-content-wrapper .paraui-v4-tree-treenode-more-wrapper {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper--active {\n background-color: rgb(247, 248, 250) !important;\n border-radius: 2px !important;\n}\n.paraui-v4-tree .paraui-v4-tree-node-content-wrapper--active .sector-anchor {\n opacity: 1 !important;\n}\n.paraui-v4-tree.paraui-v4-tree-block-node .paraui-v4-tree-list-holder-inner .paraui-v4-tree-node-content-wrapper {\n flex-grow: 0;\n flex-shrink: 1;\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper {\n display: inline-flex;\n align-items: center;\n overflow: hidden;\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper .sector-anchor {\n position: relative;\n margin: 3px 0 0 10px;\n line-height: 14px;\n opacity: 0;\n transition: opacity 0.3s;\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper .sector-anchor:before {\n content: \" \";\n position: absolute;\n left: -9px;\n top: 0;\n width: 1px;\n height: 14px;\n background-color: rgb(247, 248, 250);\n pointer-events: none;\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper .sector-anchor svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper .sector-anchor svg:hover {\n background: rgba(212, 218, 227, 0.4);\n border-radius: 2px;\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper .sector-anchor--active.sector-anchor svg {\n color: rgb(46, 101, 230);\n background: rgba(212, 218, 227, 0.4);\n border-radius: 2px;\n}\n.paraui-v4-tree .paraui-v4-tree-title-wrapper--active .sector-anchor {\n opacity: 1;\n}\n.paraui-v4-tree.paraui-v4-tree-radioable .paraui-v4-tree-iconEle {\n position: absolute;\n left: 8px;\n top: 0;\n}\n.paraui-v4-tree.paraui-v4-tree-radioable .paraui-v4-tree-checkbox {\n display: none !important;\n}\n.paraui-v4-tree.paraui-v4-tree-radioable .paraui-v4-tree-checkbox-checked + .paraui-v4-tree-node-content-wrapper {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tree.paraui-v4-tree-radioable .paraui-v4-tree-node-radio {\n width: 16px;\n height: 16px;\n padding: 0;\n margin-top: 4px;\n}\n.paraui-v4-tree.paraui-v4-tree-radioable-showradio .paraui-v4-tree-node-content-wrapper {\n padding-left: 28px;\n}\n\n.paraui-v4-tree-motion-collapse {\n overflow: hidden;\n transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;\n}";
|
|
1295
1295
|
styleInject(css_248z);
|
|
1296
1296
|
|
|
1297
1297
|
export { Tree as T };
|
package/index.d.ts
CHANGED
|
@@ -152,5 +152,7 @@ export { default as Tree } from './Tree';
|
|
|
152
152
|
export * from './Tree';
|
|
153
153
|
export { default as Upload } from './Upload';
|
|
154
154
|
export * from './Upload';
|
|
155
|
+
export { default as Utils } from './Utils';
|
|
156
|
+
export * from './Utils';
|
|
155
157
|
export { default as locale } from './locale';
|
|
156
158
|
export * from './locale';
|
package/index.js
CHANGED
|
@@ -25,7 +25,7 @@ export { D as Dropdown } from './_verture/index-389675ab.js';
|
|
|
25
25
|
export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
|
|
26
26
|
export { default as Empty } from './Empty/index.js';
|
|
27
27
|
export { default as Form } from './Form/index.js';
|
|
28
|
-
export { F as FormItem } from './_verture/index-
|
|
28
|
+
export { F as FormItem } from './_verture/index-d795d1f0.js';
|
|
29
29
|
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-8982647f.js';
|
|
30
30
|
export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
|
|
31
31
|
export { default as Help } from './Help/index.js';
|
|
@@ -73,8 +73,9 @@ export { Title } from './Title/index.js';
|
|
|
73
73
|
export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
|
|
74
74
|
export { Tooltip } from './Tooltip/index.js';
|
|
75
75
|
export { SSortablejs, Transfer } from './Transfer/index.js';
|
|
76
|
-
export { T as Tree } from './_verture/index-
|
|
76
|
+
export { T as Tree } from './_verture/index-767e63dd.js';
|
|
77
77
|
export { default as Upload } from './Upload/index.js';
|
|
78
|
+
export { default as Utils, getDateYYYYMMddHHMM } from './Utils/index.js';
|
|
78
79
|
export { default as locale } from './locale/index.js';
|
|
79
80
|
import 'react/jsx-runtime';
|
|
80
81
|
import 'react';
|
package/locale/en-US.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ declare const _default: {
|
|
|
28
28
|
week4: string;
|
|
29
29
|
week5: string;
|
|
30
30
|
week6: string;
|
|
31
|
-
|
|
31
|
+
week7: string;
|
|
32
32
|
every: string;
|
|
33
33
|
day: string;
|
|
34
34
|
week: string;
|
|
@@ -97,6 +97,7 @@ declare const _default: {
|
|
|
97
97
|
customCycle: string;
|
|
98
98
|
cancel: string;
|
|
99
99
|
confirm: string;
|
|
100
|
+
next: string;
|
|
100
101
|
};
|
|
101
102
|
DatePicker: {
|
|
102
103
|
lang: {
|
package/locale/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ declare const _default: {
|
|
|
29
29
|
week4: string;
|
|
30
30
|
week5: string;
|
|
31
31
|
week6: string;
|
|
32
|
-
|
|
32
|
+
week7: string;
|
|
33
33
|
every: string;
|
|
34
34
|
day: string;
|
|
35
35
|
week: string;
|
|
@@ -98,6 +98,7 @@ declare const _default: {
|
|
|
98
98
|
customCycle: string;
|
|
99
99
|
cancel: string;
|
|
100
100
|
confirm: string;
|
|
101
|
+
next: string;
|
|
101
102
|
};
|
|
102
103
|
DatePicker: {
|
|
103
104
|
lang: {
|
|
@@ -302,7 +303,7 @@ declare const _default: {
|
|
|
302
303
|
week4: string;
|
|
303
304
|
week5: string;
|
|
304
305
|
week6: string;
|
|
305
|
-
|
|
306
|
+
week7: string;
|
|
306
307
|
every: string;
|
|
307
308
|
day: string;
|
|
308
309
|
week: string;
|
|
@@ -371,6 +372,7 @@ declare const _default: {
|
|
|
371
372
|
customCycle: string;
|
|
372
373
|
cancel: string;
|
|
373
374
|
confirm: string;
|
|
375
|
+
next: string;
|
|
374
376
|
};
|
|
375
377
|
DatePicker: {
|
|
376
378
|
lang: {
|
package/locale/index.js
CHANGED
|
@@ -28,7 +28,7 @@ var enUS = {
|
|
|
28
28
|
"week4": "Thursday",
|
|
29
29
|
"week5": "Friday",
|
|
30
30
|
"week6": "Saturday",
|
|
31
|
-
"
|
|
31
|
+
"week7": "Sunday",
|
|
32
32
|
"every": "Every ",
|
|
33
33
|
"day": "Day",
|
|
34
34
|
"week": "Week",
|
|
@@ -96,7 +96,8 @@ var enUS = {
|
|
|
96
96
|
"endRepetition": "End repetition",
|
|
97
97
|
"customCycle": "Custom cycle",
|
|
98
98
|
"cancel": "Cancel",
|
|
99
|
-
"confirm": "Confirm"
|
|
99
|
+
"confirm": "Confirm",
|
|
100
|
+
"next": "Next"
|
|
100
101
|
},
|
|
101
102
|
"DatePicker": {
|
|
102
103
|
"lang": {
|
|
@@ -302,7 +303,7 @@ var zhCN = {
|
|
|
302
303
|
"week4": "星期四",
|
|
303
304
|
"week5": "星期五",
|
|
304
305
|
"week6": "星期六",
|
|
305
|
-
"
|
|
306
|
+
"week7": "星期日",
|
|
306
307
|
"every": "每",
|
|
307
308
|
"day": "天",
|
|
308
309
|
"week": "周",
|
|
@@ -370,7 +371,8 @@ var zhCN = {
|
|
|
370
371
|
"endRepetition": "结束重复",
|
|
371
372
|
"customCycle": "自定义周期",
|
|
372
373
|
"cancel": "取 消",
|
|
373
|
-
"confirm": "确 定"
|
|
374
|
+
"confirm": "确 定",
|
|
375
|
+
"next": "次后"
|
|
374
376
|
},
|
|
375
377
|
"DatePicker": {
|
|
376
378
|
"lang": {
|
package/locale/zh-CN.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ declare const _default: {
|
|
|
28
28
|
week4: string;
|
|
29
29
|
week5: string;
|
|
30
30
|
week6: string;
|
|
31
|
-
|
|
31
|
+
week7: string;
|
|
32
32
|
every: string;
|
|
33
33
|
day: string;
|
|
34
34
|
week: string;
|
|
@@ -97,6 +97,7 @@ declare const _default: {
|
|
|
97
97
|
customCycle: string;
|
|
98
98
|
cancel: string;
|
|
99
99
|
confirm: string;
|
|
100
|
+
next: string;
|
|
100
101
|
};
|
|
101
102
|
DatePicker: {
|
|
102
103
|
lang: {
|