@para-ui/core 4.0.1 → 4.0.3
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/CycleSelector/index.d.ts +35 -0
- package/CycleSelector/index.js +716 -0
- package/CycleSelector/lang/en_US.d.ts +80 -0
- package/CycleSelector/lang/index.d.ts +161 -0
- package/CycleSelector/lang/zh_CN.d.ts +80 -0
- package/Form/index.js +1 -1
- package/FormItem/index.js +1 -1
- package/FunctionModal/index.js +2 -2
- package/Message/index.js +2 -2
- package/Modal/index.js +2 -2
- package/Notification/index.js +2 -2
- package/PasswordRules/index.js +2 -2
- package/PopConfirm/index.js +2 -2
- package/Progress/index.js +2 -2
- package/Prompt/index.d.ts +30 -0
- package/Prompt/index.js +97 -0
- package/README.md +10 -0
- package/Status/index.js +2 -2
- package/Table/index.js +1 -1
- package/Tag/index.js +1 -1
- package/index.d.ts +4 -0
- package/index.js +6 -4
- package/locale/en-US.d.ts +79 -0
- package/locale/index.d.ts +158 -0
- package/locale/index.js +158 -0
- package/locale/zh-CN.d.ts +79 -0
- package/package.json +1 -1
- package/umd/ComboSelect.js +1 -1
- package/umd/CycleSelector.js +43 -0
- package/umd/DatePicker.js +1 -1
- package/umd/DynamicMultiBox.js +2 -2
- package/umd/Form.js +1 -1
- package/umd/FormItem.js +1 -1
- package/umd/Prompt.js +29 -0
- package/umd/Table.js +1 -1
- package/umd/Tag.js +1 -1
- package/umd/TimePicker.js +1 -1
- package/umd/locale.js +1 -1
- /package/_verture/{index-00dc302a.js → index-80e8eb3f.js} +0 -0
- /package/_verture/{modalContext-ea977824.js → modalContext-8982647f.js} +0 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
placeholder: string;
|
|
3
|
+
pleaseSelect: string;
|
|
4
|
+
week1: string;
|
|
5
|
+
week2: string;
|
|
6
|
+
week3: string;
|
|
7
|
+
week4: string;
|
|
8
|
+
week5: string;
|
|
9
|
+
week6: string;
|
|
10
|
+
week0: string;
|
|
11
|
+
every: string;
|
|
12
|
+
day: string;
|
|
13
|
+
week: string;
|
|
14
|
+
month: string;
|
|
15
|
+
year: string;
|
|
16
|
+
one: string;
|
|
17
|
+
two: string;
|
|
18
|
+
three: string;
|
|
19
|
+
four: string;
|
|
20
|
+
five: string;
|
|
21
|
+
six: string;
|
|
22
|
+
seven: string;
|
|
23
|
+
day1: string;
|
|
24
|
+
day2: string;
|
|
25
|
+
day3: string;
|
|
26
|
+
day4: string;
|
|
27
|
+
day5: string;
|
|
28
|
+
day6: string;
|
|
29
|
+
day7: string;
|
|
30
|
+
day8: string;
|
|
31
|
+
day9: string;
|
|
32
|
+
day10: string;
|
|
33
|
+
day11: string;
|
|
34
|
+
day12: string;
|
|
35
|
+
day13: string;
|
|
36
|
+
day14: string;
|
|
37
|
+
day15: string;
|
|
38
|
+
day16: string;
|
|
39
|
+
day17: string;
|
|
40
|
+
day18: string;
|
|
41
|
+
day19: string;
|
|
42
|
+
day20: string;
|
|
43
|
+
day21: string;
|
|
44
|
+
day22: string;
|
|
45
|
+
day23: string;
|
|
46
|
+
day24: string;
|
|
47
|
+
day25: string;
|
|
48
|
+
day26: string;
|
|
49
|
+
day27: string;
|
|
50
|
+
day28: string;
|
|
51
|
+
day29: string;
|
|
52
|
+
day30: string;
|
|
53
|
+
day31: string;
|
|
54
|
+
the1: string;
|
|
55
|
+
the2: string;
|
|
56
|
+
the3: string;
|
|
57
|
+
the4: string;
|
|
58
|
+
the5: string;
|
|
59
|
+
infiniteRepetition: string;
|
|
60
|
+
deadline: string;
|
|
61
|
+
limitNum: string;
|
|
62
|
+
noRepetition: string;
|
|
63
|
+
repeatEveryDay: string;
|
|
64
|
+
repeatEveryWeek: string;
|
|
65
|
+
repeatEveryMonth: string;
|
|
66
|
+
repeatEveryYear: string;
|
|
67
|
+
customRepetition: string;
|
|
68
|
+
th: string;
|
|
69
|
+
repetitionFrequency: string;
|
|
70
|
+
update: string;
|
|
71
|
+
text1: string;
|
|
72
|
+
text2: string;
|
|
73
|
+
text3: string;
|
|
74
|
+
weekTip: string;
|
|
75
|
+
endRepetition: string;
|
|
76
|
+
customCycle: string;
|
|
77
|
+
cancel: string;
|
|
78
|
+
confirm: string;
|
|
79
|
+
};
|
|
80
|
+
export default _default;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
zh: {
|
|
3
|
+
placeholder: string;
|
|
4
|
+
pleaseSelect: string;
|
|
5
|
+
week1: string;
|
|
6
|
+
week2: string;
|
|
7
|
+
week3: string;
|
|
8
|
+
week4: string;
|
|
9
|
+
week5: string;
|
|
10
|
+
week6: string;
|
|
11
|
+
week0: string;
|
|
12
|
+
every: string;
|
|
13
|
+
day: string;
|
|
14
|
+
week: string;
|
|
15
|
+
month: string;
|
|
16
|
+
year: string;
|
|
17
|
+
one: string;
|
|
18
|
+
two: string;
|
|
19
|
+
three: string;
|
|
20
|
+
four: string;
|
|
21
|
+
five: string;
|
|
22
|
+
six: string;
|
|
23
|
+
seven: string;
|
|
24
|
+
day1: string;
|
|
25
|
+
day2: string;
|
|
26
|
+
day3: string;
|
|
27
|
+
day4: string;
|
|
28
|
+
day5: string;
|
|
29
|
+
day6: string;
|
|
30
|
+
day7: string;
|
|
31
|
+
day8: string;
|
|
32
|
+
day9: string;
|
|
33
|
+
day10: string;
|
|
34
|
+
day11: string;
|
|
35
|
+
day12: string;
|
|
36
|
+
day13: string;
|
|
37
|
+
day14: string;
|
|
38
|
+
day15: string;
|
|
39
|
+
day16: string;
|
|
40
|
+
day17: string;
|
|
41
|
+
day18: string;
|
|
42
|
+
day19: string;
|
|
43
|
+
day20: string;
|
|
44
|
+
day21: string;
|
|
45
|
+
day22: string;
|
|
46
|
+
day23: string;
|
|
47
|
+
day24: string;
|
|
48
|
+
day25: string;
|
|
49
|
+
day26: string;
|
|
50
|
+
day27: string;
|
|
51
|
+
day28: string;
|
|
52
|
+
day29: string;
|
|
53
|
+
day30: string;
|
|
54
|
+
day31: string;
|
|
55
|
+
the1: string;
|
|
56
|
+
the2: string;
|
|
57
|
+
the3: string;
|
|
58
|
+
the4: string;
|
|
59
|
+
the5: string;
|
|
60
|
+
infiniteRepetition: string;
|
|
61
|
+
deadline: string;
|
|
62
|
+
limitNum: string;
|
|
63
|
+
noRepetition: string;
|
|
64
|
+
repeatEveryDay: string;
|
|
65
|
+
repeatEveryWeek: string;
|
|
66
|
+
repeatEveryMonth: string;
|
|
67
|
+
repeatEveryYear: string;
|
|
68
|
+
customRepetition: string;
|
|
69
|
+
th: string;
|
|
70
|
+
repetitionFrequency: string;
|
|
71
|
+
update: string;
|
|
72
|
+
text1: string;
|
|
73
|
+
text2: string;
|
|
74
|
+
text3: string;
|
|
75
|
+
weekTip: string;
|
|
76
|
+
endRepetition: string;
|
|
77
|
+
customCycle: string;
|
|
78
|
+
cancel: string;
|
|
79
|
+
confirm: string;
|
|
80
|
+
};
|
|
81
|
+
en: {
|
|
82
|
+
placeholder: string;
|
|
83
|
+
pleaseSelect: string;
|
|
84
|
+
week1: string;
|
|
85
|
+
week2: string;
|
|
86
|
+
week3: string;
|
|
87
|
+
week4: string;
|
|
88
|
+
week5: string;
|
|
89
|
+
week6: string;
|
|
90
|
+
week0: string;
|
|
91
|
+
every: string;
|
|
92
|
+
day: string;
|
|
93
|
+
week: string;
|
|
94
|
+
month: string;
|
|
95
|
+
year: string;
|
|
96
|
+
one: string;
|
|
97
|
+
two: string;
|
|
98
|
+
three: string;
|
|
99
|
+
four: string;
|
|
100
|
+
five: string;
|
|
101
|
+
six: string;
|
|
102
|
+
seven: string;
|
|
103
|
+
day1: string;
|
|
104
|
+
day2: string;
|
|
105
|
+
day3: string;
|
|
106
|
+
day4: string;
|
|
107
|
+
day5: string;
|
|
108
|
+
day6: string;
|
|
109
|
+
day7: string;
|
|
110
|
+
day8: string;
|
|
111
|
+
day9: string;
|
|
112
|
+
day10: string;
|
|
113
|
+
day11: string;
|
|
114
|
+
day12: string;
|
|
115
|
+
day13: string;
|
|
116
|
+
day14: string;
|
|
117
|
+
day15: string;
|
|
118
|
+
day16: string;
|
|
119
|
+
day17: string;
|
|
120
|
+
day18: string;
|
|
121
|
+
day19: string;
|
|
122
|
+
day20: string;
|
|
123
|
+
day21: string;
|
|
124
|
+
day22: string;
|
|
125
|
+
day23: string;
|
|
126
|
+
day24: string;
|
|
127
|
+
day25: string;
|
|
128
|
+
day26: string;
|
|
129
|
+
day27: string;
|
|
130
|
+
day28: string;
|
|
131
|
+
day29: string;
|
|
132
|
+
day30: string;
|
|
133
|
+
day31: string;
|
|
134
|
+
the1: string;
|
|
135
|
+
the2: string;
|
|
136
|
+
the3: string;
|
|
137
|
+
the4: string;
|
|
138
|
+
the5: string;
|
|
139
|
+
infiniteRepetition: string;
|
|
140
|
+
deadline: string;
|
|
141
|
+
limitNum: string;
|
|
142
|
+
noRepetition: string;
|
|
143
|
+
repeatEveryDay: string;
|
|
144
|
+
repeatEveryWeek: string;
|
|
145
|
+
repeatEveryMonth: string;
|
|
146
|
+
repeatEveryYear: string;
|
|
147
|
+
customRepetition: string;
|
|
148
|
+
th: string;
|
|
149
|
+
repetitionFrequency: string;
|
|
150
|
+
update: string;
|
|
151
|
+
text1: string;
|
|
152
|
+
text2: string;
|
|
153
|
+
text3: string;
|
|
154
|
+
weekTip: string;
|
|
155
|
+
endRepetition: string;
|
|
156
|
+
customCycle: string;
|
|
157
|
+
cancel: string;
|
|
158
|
+
confirm: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
export default _default;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
placeholder: string;
|
|
3
|
+
pleaseSelect: string;
|
|
4
|
+
week1: string;
|
|
5
|
+
week2: string;
|
|
6
|
+
week3: string;
|
|
7
|
+
week4: string;
|
|
8
|
+
week5: string;
|
|
9
|
+
week6: string;
|
|
10
|
+
week0: string;
|
|
11
|
+
every: string;
|
|
12
|
+
day: string;
|
|
13
|
+
week: string;
|
|
14
|
+
month: string;
|
|
15
|
+
year: string;
|
|
16
|
+
one: string;
|
|
17
|
+
two: string;
|
|
18
|
+
three: string;
|
|
19
|
+
four: string;
|
|
20
|
+
five: string;
|
|
21
|
+
six: string;
|
|
22
|
+
seven: string;
|
|
23
|
+
day1: string;
|
|
24
|
+
day2: string;
|
|
25
|
+
day3: string;
|
|
26
|
+
day4: string;
|
|
27
|
+
day5: string;
|
|
28
|
+
day6: string;
|
|
29
|
+
day7: string;
|
|
30
|
+
day8: string;
|
|
31
|
+
day9: string;
|
|
32
|
+
day10: string;
|
|
33
|
+
day11: string;
|
|
34
|
+
day12: string;
|
|
35
|
+
day13: string;
|
|
36
|
+
day14: string;
|
|
37
|
+
day15: string;
|
|
38
|
+
day16: string;
|
|
39
|
+
day17: string;
|
|
40
|
+
day18: string;
|
|
41
|
+
day19: string;
|
|
42
|
+
day20: string;
|
|
43
|
+
day21: string;
|
|
44
|
+
day22: string;
|
|
45
|
+
day23: string;
|
|
46
|
+
day24: string;
|
|
47
|
+
day25: string;
|
|
48
|
+
day26: string;
|
|
49
|
+
day27: string;
|
|
50
|
+
day28: string;
|
|
51
|
+
day29: string;
|
|
52
|
+
day30: string;
|
|
53
|
+
day31: string;
|
|
54
|
+
the1: string;
|
|
55
|
+
the2: string;
|
|
56
|
+
the3: string;
|
|
57
|
+
the4: string;
|
|
58
|
+
the5: string;
|
|
59
|
+
infiniteRepetition: string;
|
|
60
|
+
deadline: string;
|
|
61
|
+
limitNum: string;
|
|
62
|
+
noRepetition: string;
|
|
63
|
+
repeatEveryDay: string;
|
|
64
|
+
repeatEveryWeek: string;
|
|
65
|
+
repeatEveryMonth: string;
|
|
66
|
+
repeatEveryYear: string;
|
|
67
|
+
customRepetition: string;
|
|
68
|
+
th: string;
|
|
69
|
+
repetitionFrequency: string;
|
|
70
|
+
update: string;
|
|
71
|
+
text1: string;
|
|
72
|
+
text2: string;
|
|
73
|
+
text3: string;
|
|
74
|
+
weekTip: string;
|
|
75
|
+
endRepetition: string;
|
|
76
|
+
customCycle: string;
|
|
77
|
+
cancel: string;
|
|
78
|
+
confirm: string;
|
|
79
|
+
};
|
|
80
|
+
export default _default;
|
package/Form/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { DeepClone } from '@paraview/lib';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-
|
|
4
|
+
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-80e8eb3f.js';
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
6
6
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-eb13cf56.js';
|
|
7
7
|
import '../TextField/index.js';
|
package/FormItem/index.js
CHANGED
package/FunctionModal/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as useModal } from '../_verture/modalContext-
|
|
2
|
-
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-
|
|
1
|
+
import { u as useModal } from '../_verture/modalContext-8982647f.js';
|
|
2
|
+
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-8982647f.js';
|
|
3
3
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
package/Message/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
3
|
import ReactDOM from 'react-dom';
|
|
4
4
|
import WarningCircleF from '@para-ui/icons/WarningCircleF';
|
|
5
|
-
import
|
|
5
|
+
import CheckCircleF from '@para-ui/icons/CheckCircleF';
|
|
6
6
|
import CloseIcon from '@para-ui/icons/Close';
|
|
7
7
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
8
8
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
@@ -16,7 +16,7 @@ const iconMapping = {
|
|
|
16
16
|
info: jsx(WarningCircleF, {}),
|
|
17
17
|
warn: jsx(WarningCircleF, {}),
|
|
18
18
|
error: jsx(CloseCircleF, {}),
|
|
19
|
-
success: jsx(
|
|
19
|
+
success: jsx(CheckCircleF, {})
|
|
20
20
|
};
|
|
21
21
|
//获取window
|
|
22
22
|
const getMsgWindow = () => {
|
package/Modal/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import clsx from 'clsx';
|
|
|
11
11
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
12
12
|
import AutoTips from '../AutoTips/index.js';
|
|
13
13
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
14
|
-
import
|
|
14
|
+
import CheckCircleF from '@para-ui/icons/CheckCircleF';
|
|
15
15
|
import WarningCircleF from '@para-ui/icons/WarningCircleF';
|
|
16
16
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
17
17
|
import { UUID } from '@paraview/lib';
|
|
@@ -32,7 +32,7 @@ styleInject(css_248z$1);
|
|
|
32
32
|
|
|
33
33
|
//图标
|
|
34
34
|
const iconMap = {
|
|
35
|
-
success: jsx(
|
|
35
|
+
success: jsx(CheckCircleF, {}),
|
|
36
36
|
warn: jsx(WarningCircleF, {}),
|
|
37
37
|
warning: jsx(WarningCircleF, {}),
|
|
38
38
|
error: jsx(CloseCircleF, {}),
|
package/Notification/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import Notification from 'rc-notification';
|
|
4
4
|
import WarningCircleF from '@para-ui/icons/WarningCircleF';
|
|
5
|
-
import
|
|
5
|
+
import CheckCircleF from '@para-ui/icons/CheckCircleF';
|
|
6
6
|
import CloseIcon from '@para-ui/icons/Close';
|
|
7
7
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
8
8
|
import clsx from 'clsx';
|
|
@@ -161,7 +161,7 @@ function getNotificationInstance(args, callback) {
|
|
|
161
161
|
}
|
|
162
162
|
//通知框类型图标
|
|
163
163
|
const typeToIcon = {
|
|
164
|
-
success:
|
|
164
|
+
success: CheckCircleF,
|
|
165
165
|
info: WarningCircleF,
|
|
166
166
|
error: CloseCircleF,
|
|
167
167
|
warning: WarningCircleF
|
package/PasswordRules/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
4
4
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
5
|
-
import
|
|
5
|
+
import CheckCircleF from '@para-ui/icons/CheckCircleF';
|
|
6
6
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
7
7
|
|
|
8
8
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2021/11/1 20:28\n* @description 文字隐藏...\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-password-rules {\n padding: 16px;\n line-height: 1.43;\n}\n.paraui-v4-password-rules > .password-rules-item:first-child > .password-rules-item-title {\n margin-top: 0px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-title {\n font-size: 14px;\n color: rgb(29, 33, 38);\n font-weight: 700;\n margin-bottom: 6px;\n margin-top: 10px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail {\n display: flex;\n margin-bottom: 6px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail:last-child {\n margin-bottom: 0;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail > .item-flag {\n min-width: 26px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail > .item-label {\n flex: 1;\n font-size: 14px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-icon > .item-flag {\n margin-top: 0px;\n line-height: 1;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-icon > .item-flag svg {\n font-size: 18px;\n color: rgb(161, 168, 179);\n position: relative;\n top: 1px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-order {\n font-size: 14px;\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-order > .item-flag {\n margin-top: -1px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-success.rules-item-detail-icon > .item-flag svg {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-error.rules-item-detail-order > .item-flag {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-password-rules > .password-rules-item > .password-rules-item-content > .rules-item-detail.rules-item-detail-error.rules-item-detail-order > .item-label {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-password-rules.paraui-v4-password-rules-box-shadow {\n box-shadow: 1px 1px 10px 2px rgba(212, 218, 227, 0.4);\n border-radius: 4px;\n}";
|
|
@@ -71,7 +71,7 @@ const PasswordRules = props => {
|
|
|
71
71
|
if (type === 'order') {
|
|
72
72
|
return "".concat(inx + 1, "\u3001");
|
|
73
73
|
}
|
|
74
|
-
if (result === true) return jsx(
|
|
74
|
+
if (result === true) return jsx(CheckCircleF, {}); // 成功
|
|
75
75
|
return jsx(CloseCircleF, {});
|
|
76
76
|
};
|
|
77
77
|
// 处理内容
|
package/PopConfirm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import { useRef, useState, useMemo, useEffect } from 'react';
|
|
4
|
-
import
|
|
4
|
+
import CheckCircleF from '@para-ui/icons/CheckCircleF';
|
|
5
5
|
import InfoOutlined from '@para-ui/icons/WarningCircle';
|
|
6
6
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
7
7
|
import WarningCircleF from '@para-ui/icons/WarningCircleF';
|
|
@@ -44,7 +44,7 @@ styleInject(css_248z);
|
|
|
44
44
|
|
|
45
45
|
//图标
|
|
46
46
|
const iconMapping = {
|
|
47
|
-
success: jsx(
|
|
47
|
+
success: jsx(CheckCircleF, {}),
|
|
48
48
|
warning: jsx(WarningCircleF, {}),
|
|
49
49
|
error: jsx(CloseCircleF, {}),
|
|
50
50
|
info: jsx(InfoOutlined, {})
|
package/Progress/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { Circle } from 'rc-progress';
|
|
4
|
-
import
|
|
4
|
+
import CheckCircleF from '@para-ui/icons/CheckCircleF';
|
|
5
5
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
6
6
|
import Check from '@para-ui/icons/Check';
|
|
7
7
|
import CloseIcon from '@para-ui/icons/Close';
|
|
@@ -252,7 +252,7 @@ const Progress = props => {
|
|
|
252
252
|
if (format) return format(percent);
|
|
253
253
|
if (isSuccessStatus) return type === 'circle' ? jsx(Check, {
|
|
254
254
|
className: "success"
|
|
255
|
-
}) : jsx(
|
|
255
|
+
}) : jsx(CheckCircleF, {
|
|
256
256
|
className: "success"
|
|
257
257
|
});
|
|
258
258
|
if (status === 'exception') return type === 'circle' ? jsx(CloseIcon, {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import './index.scss';
|
|
3
|
+
export interface PromptProps {
|
|
4
|
+
/** 自定义样式名 **/
|
|
5
|
+
className?: string;
|
|
6
|
+
/** 样式 */
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
/** 信息类型 */
|
|
9
|
+
type?: 'error' | 'success' | 'warn' | 'info';
|
|
10
|
+
/** 状态 固定 或 反馈 */
|
|
11
|
+
status?: 'fixed' | 'feedback';
|
|
12
|
+
/** 标题 */
|
|
13
|
+
title?: string;
|
|
14
|
+
/** 内容 可以为string也可以是array,也可以自定义 */
|
|
15
|
+
content?: string | string[];
|
|
16
|
+
/** 自定义内容 */
|
|
17
|
+
customContent?: ReactNode;
|
|
18
|
+
/** 是否展示 */
|
|
19
|
+
show?: boolean;
|
|
20
|
+
/** 是否展示关闭按钮 */
|
|
21
|
+
closeIcon?: boolean;
|
|
22
|
+
/** icon 自定义图标 */
|
|
23
|
+
icon?: ReactNode;
|
|
24
|
+
/** 关闭回调 */
|
|
25
|
+
onClose?: Function;
|
|
26
|
+
/** 是否显示边框 */
|
|
27
|
+
outline?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export declare const Prompt: (props: PromptProps) => JSX.Element | null;
|
|
30
|
+
export default Prompt;
|
package/Prompt/index.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { useState, useEffect, useMemo } from 'react';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
5
|
+
import WarningCircleF from '@para-ui/icons/WarningCircleF';
|
|
6
|
+
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
7
|
+
import CheckCircleF from '@para-ui/icons/CheckCircleF';
|
|
8
|
+
import CloseIcon from '@para-ui/icons/Close';
|
|
9
|
+
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
10
|
+
|
|
11
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-prompt {\n width: 100%;\n border-radius: 4px;\n padding: 10px 16px 10px 40px;\n position: relative;\n box-sizing: border-box;\n}\n.paraui-v4-prompt.prompt-outline {\n border-width: 1px;\n border-style: solid;\n}\n.paraui-v4-prompt.prompt-status-feedback-close {\n padding-right: 44px;\n}\n.paraui-v4-prompt .prompt-icon {\n width: 16px;\n height: 16px;\n position: absolute;\n top: 12px;\n left: 16px;\n z-index: 2;\n}\n.paraui-v4-prompt .prompt-icon svg {\n width: 16px;\n height: 16px;\n}\n.paraui-v4-prompt .prompt-btn-close {\n width: 16px;\n height: 16px;\n position: absolute;\n top: 12px;\n right: 12px;\n z-index: 2;\n margin-left: auto;\n cursor: pointer;\n}\n.paraui-v4-prompt .prompt-btn-close svg {\n width: 100%;\n height: 100%;\n}\n.paraui-v4-prompt .prompt-title {\n width: 100%;\n font-weight: 600;\n height: 20px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n line-height: 20px;\n margin-bottom: 4px;\n}\n.paraui-v4-prompt .prompt-content-list .prompt-content-item {\n margin-top: 4px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-prompt .prompt-content-list .prompt-content-item:first-child {\n margin-top: 0;\n}\n.paraui-v4-prompt .prompt-content-item {\n width: 100%;\n font-size: 14px;\n color: rgb(29, 33, 38);\n line-height: 20px;\n}\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-info .prompt-title,\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-info .prompt-content-item {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-error .prompt-title,\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-error .prompt-content-item {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-success .prompt-title,\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-success .prompt-content-item {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-warn .prompt-title,\n.paraui-v4-prompt.prompt-status-feedback.prompt-type-warn .prompt-content-item {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-prompt.prompt-type-info {\n background: rgb(240, 245, 255);\n}\n.paraui-v4-prompt.prompt-type-info svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-prompt.prompt-type-info.prompt-outline {\n border-color: rgb(87, 131, 235);\n}\n.paraui-v4-prompt.prompt-type-error {\n background: rgb(255, 235, 235);\n}\n.paraui-v4-prompt.prompt-type-error svg {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-prompt.prompt-type-error.prompt-outline {\n border-color: rgb(246, 103, 103);\n}\n.paraui-v4-prompt.prompt-type-success {\n background: rgb(232, 252, 239);\n}\n.paraui-v4-prompt.prompt-type-success svg {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-prompt.prompt-type-success.prompt-outline {\n border-color: rgb(19, 191, 76);\n}\n.paraui-v4-prompt.prompt-type-warn {\n background: rgb(255, 246, 235);\n}\n.paraui-v4-prompt.prompt-type-warn svg {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-prompt.prompt-type-warn.prompt-outline {\n border-color: rgb(255, 147, 38);\n}";
|
|
12
|
+
styleInject(css_248z);
|
|
13
|
+
|
|
14
|
+
const iconMap = {
|
|
15
|
+
info: jsx(WarningCircleF, {
|
|
16
|
+
className: 'icon-info'
|
|
17
|
+
}),
|
|
18
|
+
error: jsx(CloseCircleF, {
|
|
19
|
+
className: 'icon-error'
|
|
20
|
+
}),
|
|
21
|
+
success: jsx(CheckCircleF, {
|
|
22
|
+
className: 'icon-success'
|
|
23
|
+
}),
|
|
24
|
+
warn: jsx(WarningCircleF, {
|
|
25
|
+
className: 'icon-warn'
|
|
26
|
+
})
|
|
27
|
+
};
|
|
28
|
+
const Prompt = props => {
|
|
29
|
+
const {
|
|
30
|
+
className,
|
|
31
|
+
style,
|
|
32
|
+
status = 'fixed',
|
|
33
|
+
type = 'info',
|
|
34
|
+
icon,
|
|
35
|
+
show,
|
|
36
|
+
title = '',
|
|
37
|
+
content,
|
|
38
|
+
customContent,
|
|
39
|
+
closeIcon,
|
|
40
|
+
onClose,
|
|
41
|
+
outline
|
|
42
|
+
} = props;
|
|
43
|
+
const [isShow, setIsShow] = useState(true);
|
|
44
|
+
useEffect(() => {
|
|
45
|
+
if (show === undefined || show === null) return;
|
|
46
|
+
setIsShow(show);
|
|
47
|
+
}, [show]);
|
|
48
|
+
const closePanel = () => {
|
|
49
|
+
onClose && onClose();
|
|
50
|
+
setIsShow(false);
|
|
51
|
+
};
|
|
52
|
+
const contentMemo = useMemo(() => {
|
|
53
|
+
if (customContent) return customContent;
|
|
54
|
+
if (content instanceof Array) {
|
|
55
|
+
return jsx("div", Object.assign({
|
|
56
|
+
className: 'prompt-content-list'
|
|
57
|
+
}, {
|
|
58
|
+
children: content.map((str, index) => jsx("div", Object.assign({
|
|
59
|
+
className: 'prompt-content-item'
|
|
60
|
+
}, {
|
|
61
|
+
children: str
|
|
62
|
+
}), index))
|
|
63
|
+
}));
|
|
64
|
+
}
|
|
65
|
+
if (typeof content === 'string') return jsx("div", Object.assign({
|
|
66
|
+
className: 'prompt-content-item'
|
|
67
|
+
}, {
|
|
68
|
+
children: content
|
|
69
|
+
}));
|
|
70
|
+
}, [content, customContent]);
|
|
71
|
+
if (!isShow) return null;
|
|
72
|
+
return jsxs("div", Object.assign({
|
|
73
|
+
className: clsx("".concat($prefixCls, "-prompt"), className, "prompt-type-".concat(type), {
|
|
74
|
+
'prompt-outline': outline,
|
|
75
|
+
'prompt-status-feedback': status === 'feedback',
|
|
76
|
+
'prompt-status-feedback-close': closeIcon
|
|
77
|
+
}),
|
|
78
|
+
style: style
|
|
79
|
+
}, {
|
|
80
|
+
children: [jsx("div", Object.assign({
|
|
81
|
+
className: "prompt-icon"
|
|
82
|
+
}, {
|
|
83
|
+
children: icon || iconMap[type]
|
|
84
|
+
})), closeIcon && jsx("div", Object.assign({
|
|
85
|
+
className: 'prompt-btn-close',
|
|
86
|
+
onClick: closePanel
|
|
87
|
+
}, {
|
|
88
|
+
children: jsx(CloseIcon, {})
|
|
89
|
+
})), title && jsx("div", Object.assign({
|
|
90
|
+
className: "prompt-title"
|
|
91
|
+
}, {
|
|
92
|
+
children: title
|
|
93
|
+
})), contentMemo]
|
|
94
|
+
}));
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export { Prompt, Prompt as default };
|
package/README.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 版本: 4.0.3
|
|
2
|
+
para-ui/core@4.0.3 发布
|
|
3
|
+
【周期选择器-CycleSelector】新增周期选择器-CycleSelector
|
|
4
|
+
|
|
5
|
+
## 版本: 4.0.2
|
|
6
|
+
para-ui/core@4.0.2 发布
|
|
7
|
+
【表格-Table】修复表格name不传,出现浮层边框
|
|
8
|
+
【高亮提示-Prompt】新增组件
|
|
9
|
+
【标签-Tag】修复非图标tag与图标tag不对齐问题
|
|
10
|
+
|
|
1
11
|
## 版本: 4.0.1
|
|
2
12
|
para-ui/core@4.0.1 发布
|
|
3
13
|
【浮层-Popover,PopConfirm,Dropdown】修复浮层隐藏出现边框
|
package/Status/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
4
4
|
import CloseCircleF from '@para-ui/icons/CloseCircleF';
|
|
5
|
-
import
|
|
5
|
+
import CheckCircleF from '@para-ui/icons/CheckCircleF';
|
|
6
6
|
import { t as tinycolor } from '../_verture/tinycolor-ece3542d.js';
|
|
7
7
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
8
8
|
|
|
@@ -28,7 +28,7 @@ const Status = props => {
|
|
|
28
28
|
if (typeof icon === 'string') {
|
|
29
29
|
switch (icon) {
|
|
30
30
|
case 'success':
|
|
31
|
-
return jsx(
|
|
31
|
+
return jsx(CheckCircleF, {
|
|
32
32
|
className: "status-icon-".concat(icon)
|
|
33
33
|
});
|
|
34
34
|
case 'error':
|
package/Table/index.js
CHANGED
|
@@ -796,7 +796,7 @@ const TableHead$1 = props => {
|
|
|
796
796
|
}, {
|
|
797
797
|
children: jsx(Popover, Object.assign({
|
|
798
798
|
placement: "bottom-start",
|
|
799
|
-
visible: filterHead.name === headCell.name,
|
|
799
|
+
visible: headCell.name !== undefined && filterHead.name === headCell.name,
|
|
800
800
|
content: filterPopoverContent(),
|
|
801
801
|
onVisibleChange: clickHideFilter,
|
|
802
802
|
overlayClassName: str,
|
package/Tag/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import 'rc-tooltip/lib/placements';
|
|
|
15
15
|
import '@para-ui/icons/Forbid';
|
|
16
16
|
import '@paraview/lib';
|
|
17
17
|
|
|
18
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/1/12 上午9:43\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-tag-outline.paraui-v4-tag {\n border: 0.5px solid rgb(92, 101, 115);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-blue {\n border: 0.5px solid rgb(46, 101, 230);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-green {\n border: 0.5px solid rgb(19, 191, 76);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-yellow {\n border: 0.5px solid rgb(255, 147, 38);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-red {\n border: 0.5px solid rgb(244, 66, 66);\n}\n\n.paraui-v4-tag-edit-input {\n height: 24px;\n align-self: flex-start;\n margin: 0 8px 8px 0;\n font-size: 14px;\n color: rgb(29, 33, 38);\n text-indent: 8px;\n border: 1px solid rgb(46, 101, 230);\n border-radius: 4px;\n}\n\n.paraui-v4-tag {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n max-width: 100%;\n height: 24px;\n margin: 0 8px 8px 0;\n padding: 0 10px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n white-space: nowrap;\n background: rgb(234, 236, 241);\n border-radius: 2px;\n line-height: 18px;\n}\n.paraui-v4-tag .tag-custom-icon:hover {\n background: none !important;\n cursor: default;\n}\n.paraui-v4-tag .tag-close-icon:hover {\n background-color: rgb(212, 218, 227);\n}\n.paraui-v4-tag .tag-edit-icon {\n display: flex;\n}\n.paraui-v4-tag.paraui-v4-tag-small {\n height: 20px;\n font-size: 12px;\n padding: 0 6px;\n}\n.paraui-v4-tag.paraui-v4-tag-small > svg {\n font-size: 12px;\n}\n.paraui-v4-tag.paraui-v4-tag-small > svg + .paraui-v4-auto-tips {\n margin-left: 2px;\n}\n.paraui-v4-tag.paraui-v4-tag-small .tag-close-icon {\n margin-left: 2px;\n}\n.paraui-v4-tag.paraui-v4-tag-small .tag-edit-icon {\n font-size: 12px;\n}\n.paraui-v4-tag > svg {\n color: inherit;\n font-size: 16px;\n}\n.paraui-v4-tag .tag-edit-icon {\n color: inherit;\n font-size: 16px;\n cursor: pointer;\n}\n.paraui-v4-tag .tag-edit-icon > svg {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-tag .tag-close-icon {\n margin-left: 4px;\n color: inherit;\n font-size: 16px;\n cursor: pointer;\n}\n.paraui-v4-tag .tag-close-icon:hover {\n color: inherit;\n}\n.paraui-v4-tag > svg + .paraui-v4-auto-tips {\n margin-left: 4px;\n}\n.paraui-v4-tag.paraui-v4-tag-has-color, .paraui-v4-tag.paraui-v4-tag-has-color svg, .paraui-v4-tag.paraui-v4-tag-has-color svg:hover {\n color: inherit;\n}\n.paraui-v4-tag.paraui-v4-tag-blue {\n color: rgb(46, 101, 230);\n background-color: rgba(46, 101, 230, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-green {\n color: rgb(19, 191, 76);\n background-color: rgba(19, 191, 76, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-yellow {\n color: rgb(255, 147, 38);\n background-color: rgba(255, 147, 38, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-red {\n color: rgb(244, 66, 66);\n background-color: rgba(244, 66, 66, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-hidden {\n display: none;\n}\n\n.paraui-v4-tag-small svg {\n font-size: 12px;\n}\n\n.paraui-v4-tag-group {\n display: flex;\n align-items: center;\n flex-flow: row wrap;\n}\n.paraui-v4-tag-group .tag-group-input {\n height: 24px;\n align-self: flex-start;\n font-size: 14px;\n color: rgb(29, 33, 38);\n text-indent: 8px;\n border: 1px solid rgb(46, 101, 230);\n border-radius: 4px;\n}\n.paraui-v4-tag-group .tag-group-input .tag-group-input-large {\n height: 28px;\n}\n.paraui-v4-tag-group .tag-group-new .tag-group-new-icon {\n padding: 0 5px;\n}\n.paraui-v4-tag-group .tag-group-add-btn {\n border: 1px dashed rgb(212, 218, 227);\n}\n.paraui-v4-tag-group .tag-group-add-btn .tag-edit-icon {\n background: none !important;\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover {\n cursor: pointer;\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover .tag-text {\n color: rgb(46, 101, 230);\n}";
|
|
18
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/1/12 上午9:43\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-tag-outline.paraui-v4-tag {\n border: 0.5px solid rgb(92, 101, 115);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-blue {\n border: 0.5px solid rgb(46, 101, 230);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-green {\n border: 0.5px solid rgb(19, 191, 76);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-yellow {\n border: 0.5px solid rgb(255, 147, 38);\n}\n.paraui-v4-tag-outline.paraui-v4-tag-red {\n border: 0.5px solid rgb(244, 66, 66);\n}\n\n.paraui-v4-tag-edit-input {\n height: 24px;\n align-self: flex-start;\n margin: 0 8px 8px 0;\n font-size: 14px;\n color: rgb(29, 33, 38);\n text-indent: 8px;\n border: 1px solid rgb(46, 101, 230);\n border-radius: 4px;\n}\n\n.paraui-v4-tag {\n vertical-align: bottom;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n max-width: 100%;\n height: 24px;\n margin: 0 8px 8px 0;\n padding: 0 10px;\n font-size: 14px;\n color: rgb(29, 33, 38);\n white-space: nowrap;\n background: rgb(234, 236, 241);\n border-radius: 2px;\n line-height: 18px;\n}\n.paraui-v4-tag .tag-custom-icon:hover {\n background: none !important;\n cursor: default;\n}\n.paraui-v4-tag .tag-close-icon:hover {\n background-color: rgb(212, 218, 227);\n}\n.paraui-v4-tag .tag-edit-icon {\n display: flex;\n}\n.paraui-v4-tag.paraui-v4-tag-small {\n height: 20px;\n font-size: 12px;\n padding: 0 6px;\n}\n.paraui-v4-tag.paraui-v4-tag-small > svg {\n font-size: 12px;\n}\n.paraui-v4-tag.paraui-v4-tag-small > svg + .paraui-v4-auto-tips {\n margin-left: 2px;\n}\n.paraui-v4-tag.paraui-v4-tag-small .tag-close-icon {\n margin-left: 2px;\n}\n.paraui-v4-tag.paraui-v4-tag-small .tag-edit-icon {\n font-size: 12px;\n}\n.paraui-v4-tag > svg {\n color: inherit;\n font-size: 16px;\n}\n.paraui-v4-tag .tag-edit-icon {\n color: inherit;\n font-size: 16px;\n cursor: pointer;\n}\n.paraui-v4-tag .tag-edit-icon > svg {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-tag .tag-close-icon {\n margin-left: 4px;\n color: inherit;\n font-size: 16px;\n cursor: pointer;\n}\n.paraui-v4-tag .tag-close-icon:hover {\n color: inherit;\n}\n.paraui-v4-tag > svg + .paraui-v4-auto-tips {\n margin-left: 4px;\n}\n.paraui-v4-tag.paraui-v4-tag-has-color, .paraui-v4-tag.paraui-v4-tag-has-color svg, .paraui-v4-tag.paraui-v4-tag-has-color svg:hover {\n color: inherit;\n}\n.paraui-v4-tag.paraui-v4-tag-blue {\n color: rgb(46, 101, 230);\n background-color: rgba(46, 101, 230, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-green {\n color: rgb(19, 191, 76);\n background-color: rgba(19, 191, 76, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-yellow {\n color: rgb(255, 147, 38);\n background-color: rgba(255, 147, 38, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-red {\n color: rgb(244, 66, 66);\n background-color: rgba(244, 66, 66, 0.1);\n}\n.paraui-v4-tag.paraui-v4-tag-hidden {\n display: none;\n}\n\n.paraui-v4-tag-small svg {\n font-size: 12px;\n}\n\n.paraui-v4-tag-group {\n display: flex;\n align-items: center;\n flex-flow: row wrap;\n}\n.paraui-v4-tag-group .tag-group-input {\n height: 24px;\n align-self: flex-start;\n font-size: 14px;\n color: rgb(29, 33, 38);\n text-indent: 8px;\n border: 1px solid rgb(46, 101, 230);\n border-radius: 4px;\n}\n.paraui-v4-tag-group .tag-group-input .tag-group-input-large {\n height: 28px;\n}\n.paraui-v4-tag-group .tag-group-new .tag-group-new-icon {\n padding: 0 5px;\n}\n.paraui-v4-tag-group .tag-group-add-btn {\n border: 1px dashed rgb(212, 218, 227);\n}\n.paraui-v4-tag-group .tag-group-add-btn .tag-edit-icon {\n background: none !important;\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover {\n cursor: pointer;\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover svg {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tag-group .tag-group-add-btn:hover .tag-text {\n color: rgb(46, 101, 230);\n}";
|
|
19
19
|
styleInject(css_248z);
|
|
20
20
|
|
|
21
21
|
//tag group
|