@aplus-frontend/ui 6.20.1 → 6.21.1
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/es/index.mjs +159 -155
- package/es/src/ap-field/hooks/use-default-presets.d.ts +1 -0
- package/es/src/ap-field/hooks/use-default-presets.mjs +18 -12
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +25 -0
- package/es/src/ap-pro-card/components/card/index.vue.mjs +4 -0
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +226 -0
- package/es/src/ap-pro-card/components/divider/index.vue.d.ts +13 -0
- package/es/src/ap-pro-card/components/divider/index.vue.mjs +4 -0
- package/es/src/ap-pro-card/components/divider/index.vue2.mjs +29 -0
- package/es/src/ap-pro-card/components/title/index.vue.d.ts +23 -0
- package/es/src/ap-pro-card/components/title/index.vue.mjs +4 -0
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +28 -0
- package/es/src/ap-pro-card/index.d.ts +10 -0
- package/es/src/ap-pro-card/index.mjs +13 -0
- package/es/src/ap-pro-card/interface.d.ts +61 -0
- package/es/src/ap-pro-card/style/css.d.ts +0 -0
- package/es/src/ap-pro-card/style/css.js +1 -0
- package/es/src/ap-pro-card/style/index.d.ts +0 -0
- package/es/src/ap-pro-card/style/index.js +1 -0
- package/es/src/ap-pro-card/utils/css-var.d.ts +17 -0
- package/es/src/ap-pro-card/utils/css-var.mjs +29 -0
- package/es/src/business/ap-value-select-card/index.d.ts +8 -0
- package/es/src/business/ap-value-select-card/index.mjs +9 -0
- package/es/src/business/ap-value-select-card/index.vue.d.ts +48 -0
- package/es/src/business/ap-value-select-card/index.vue.mjs +4 -0
- package/es/src/business/ap-value-select-card/index.vue2.mjs +186 -0
- package/es/src/business/ap-value-select-card/interface.d.ts +107 -0
- package/es/src/business/ap-value-select-card/interface.mjs +1 -0
- package/es/src/business/ap-value-select-card/style/css.d.ts +0 -0
- package/es/src/business/ap-value-select-card/style/css.js +1 -0
- package/es/src/business/ap-value-select-card/style/index.d.ts +0 -0
- package/es/src/business/ap-value-select-card/style/index.js +1 -0
- package/es/src/business/ap-value-select-card/utils.d.ts +7 -0
- package/es/src/business/ap-value-select-card/utils.mjs +9 -0
- package/es/src/business/index.d.ts +1 -0
- package/es/src/business/index.mjs +15 -13
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +275 -271
- package/es/src/path-map.mjs +3 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +1 -0
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +25 -0
- package/lib/src/ap-pro-card/components/card/index.vue.js +1 -0
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -0
- package/lib/src/ap-pro-card/components/divider/index.vue.d.ts +13 -0
- package/lib/src/ap-pro-card/components/divider/index.vue.js +1 -0
- package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -0
- package/lib/src/ap-pro-card/components/title/index.vue.d.ts +23 -0
- package/lib/src/ap-pro-card/components/title/index.vue.js +1 -0
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -0
- package/lib/src/ap-pro-card/index.d.ts +10 -0
- package/lib/src/ap-pro-card/index.js +1 -0
- package/lib/src/ap-pro-card/interface.d.ts +61 -0
- package/lib/src/ap-pro-card/style/css.cjs +1 -0
- package/lib/src/ap-pro-card/style/css.d.ts +0 -0
- package/lib/src/ap-pro-card/style/index.cjs +1 -0
- package/lib/src/ap-pro-card/style/index.d.ts +0 -0
- package/lib/src/ap-pro-card/utils/css-var.d.ts +17 -0
- package/lib/src/ap-pro-card/utils/css-var.js +1 -0
- package/lib/src/business/ap-value-select-card/index.d.ts +8 -0
- package/lib/src/business/ap-value-select-card/index.js +1 -0
- package/lib/src/business/ap-value-select-card/index.vue.d.ts +48 -0
- package/lib/src/business/ap-value-select-card/index.vue.js +1 -0
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -0
- package/lib/src/business/ap-value-select-card/interface.d.ts +107 -0
- package/lib/src/business/ap-value-select-card/interface.js +1 -0
- package/lib/src/business/ap-value-select-card/style/css.cjs +1 -0
- package/lib/src/business/ap-value-select-card/style/css.d.ts +0 -0
- package/lib/src/business/ap-value-select-card/style/index.cjs +1 -0
- package/lib/src/business/ap-value-select-card/style/index.d.ts +0 -0
- package/lib/src/business/ap-value-select-card/utils.d.ts +7 -0
- package/lib/src/business/ap-value-select-card/utils.js +1 -0
- package/lib/src/business/index.d.ts +1 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
- package/theme/ag-grid/custom-header.css +82 -0
- package/theme/ag-grid/custom-header.less +39 -0
- package/theme/ag-grid/index.css +204 -0
- package/theme/ag-grid/index.less +118 -0
- package/theme/ap-pro-card/index.css +311 -0
- package/theme/ap-pro-card/index.less +185 -0
- package/theme/ap-value-select-card/index.css +163 -0
- package/theme/ap-value-select-card/index.less +157 -0
- package/theme/index.css +382 -0
- package/theme/index.less +2 -0
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
.reset-component {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
color: #182948;
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
font-family: inherit;
|
|
8
|
+
line-height: 18px;
|
|
9
|
+
list-style: none;
|
|
10
|
+
}
|
|
11
|
+
.reset-scrollbar ::-webkit-scrollbar {
|
|
12
|
+
width: 10px;
|
|
13
|
+
height: 10px;
|
|
14
|
+
}
|
|
15
|
+
.reset-scrollbar ::-webkit-scrollbar-thumb {
|
|
16
|
+
background-color: var(--ap-scrollbar-thumb-color-base);
|
|
17
|
+
background-clip: content-box;
|
|
18
|
+
border: 1px solid transparent;
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
}
|
|
21
|
+
.reset-scrollbar ::-webkit-scrollbar-track,
|
|
22
|
+
.reset-scrollbar ::-webkit-scrollbar-corner {
|
|
23
|
+
background-color: var(--ap-table-header-bg, #f2f6f9);
|
|
24
|
+
}
|
|
25
|
+
.reset-scrollbar ::-webkit-scrollbar-thumb:hover,
|
|
26
|
+
.reset-scrollbar ::-webkit-scrollbar-thumb:active {
|
|
27
|
+
background-color: var(--ap-scrollbar-thumb-color-hover);
|
|
28
|
+
}
|
|
29
|
+
.clear-fix::before {
|
|
30
|
+
display: table;
|
|
31
|
+
content: '';
|
|
32
|
+
}
|
|
33
|
+
.clear-fix::after {
|
|
34
|
+
display: table;
|
|
35
|
+
clear: both;
|
|
36
|
+
content: '';
|
|
37
|
+
}
|
|
38
|
+
.common-style {
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
font-size: 12px;
|
|
41
|
+
font-family: inherit;
|
|
42
|
+
}
|
|
43
|
+
.common-style::before,
|
|
44
|
+
.common-style::after {
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
}
|
|
47
|
+
.aplus-pro-card {
|
|
48
|
+
position: relative;
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
padding: 0;
|
|
53
|
+
width: 100%;
|
|
54
|
+
transition: all 0.3s;
|
|
55
|
+
background: var(--ap-pro-card-colo-bg-container);
|
|
56
|
+
border-radius: var(--ap-pro-card-border-radius);
|
|
57
|
+
}
|
|
58
|
+
.aplus-pro-card-border {
|
|
59
|
+
border: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
60
|
+
}
|
|
61
|
+
.aplus-pro-card-box-shadow {
|
|
62
|
+
border-color: transparent;
|
|
63
|
+
box-shadow: var(--ap-pro-card-box-shadow);
|
|
64
|
+
}
|
|
65
|
+
.aplus-pro-card-hoverable {
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
transition: box-shadow 0.3s, border-color 0.3s;
|
|
68
|
+
}
|
|
69
|
+
.aplus-pro-card-hoverable:hover {
|
|
70
|
+
border-color: transparent;
|
|
71
|
+
box-shadow: var(--ap-pro-card-box-shadow);
|
|
72
|
+
}
|
|
73
|
+
.aplus-pro-card-header {
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
padding: var(--ap-pro-card-header-padding);
|
|
77
|
+
}
|
|
78
|
+
.aplus-pro-card-header-title {
|
|
79
|
+
display: flex;
|
|
80
|
+
font-size: var(--ap-pro-card-header-title-font-size);
|
|
81
|
+
color: var(--ap-pro-card-header-title-font-color);
|
|
82
|
+
font-weight: 500;
|
|
83
|
+
}
|
|
84
|
+
.aplus-pro-card-header-title-tooltip {
|
|
85
|
+
margin-left: 5px;
|
|
86
|
+
font-size: 14px;
|
|
87
|
+
color: var(--ap-pro-card-tooltip-color);
|
|
88
|
+
}
|
|
89
|
+
.aplus-pro-card-header-extra {
|
|
90
|
+
margin-inline-start: auto;
|
|
91
|
+
}
|
|
92
|
+
.aplus-pro-card-header-border {
|
|
93
|
+
padding-block-end: var(--ap-pro-card-header-padding-bottom);
|
|
94
|
+
border-block-end: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
95
|
+
}
|
|
96
|
+
.aplus-pro-card-type-inner > .aplus-pro-card-header {
|
|
97
|
+
background: var(--ap-pro-card-area-color);
|
|
98
|
+
}
|
|
99
|
+
.aplus-pro-card-body {
|
|
100
|
+
display: block;
|
|
101
|
+
box-sizing: border-box;
|
|
102
|
+
height: 100%;
|
|
103
|
+
padding: var(--ap-pro-card-body-padding);
|
|
104
|
+
}
|
|
105
|
+
.aplus-pro-card-body-center {
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
justify-content: center;
|
|
109
|
+
}
|
|
110
|
+
.aplus-pro-card-body-direction-column {
|
|
111
|
+
flex-direction: column;
|
|
112
|
+
}
|
|
113
|
+
.aplus-pro-card-body-wrap {
|
|
114
|
+
flex-wrap: wrap;
|
|
115
|
+
}
|
|
116
|
+
.aplus-pro-card-contain-card > .aplus-pro-card-body {
|
|
117
|
+
display: flex;
|
|
118
|
+
}
|
|
119
|
+
.aplus-pro-card-split > .aplus-pro-card-body {
|
|
120
|
+
padding: 0;
|
|
121
|
+
}
|
|
122
|
+
.aplus-pro-card-ghost {
|
|
123
|
+
background: transparent;
|
|
124
|
+
}
|
|
125
|
+
.aplus-pro-card-ghost > .aplus-pro-card-body {
|
|
126
|
+
background: transparent;
|
|
127
|
+
padding: 0;
|
|
128
|
+
}
|
|
129
|
+
.aplus-pro-card-col {
|
|
130
|
+
width: 100%;
|
|
131
|
+
}
|
|
132
|
+
.aplus-pro-card-col-split-vertical {
|
|
133
|
+
position: relative;
|
|
134
|
+
}
|
|
135
|
+
.aplus-pro-card-col-split-vertical::after {
|
|
136
|
+
position: absolute;
|
|
137
|
+
height: var(--ap-pro-card-split-line-height);
|
|
138
|
+
top: 50%;
|
|
139
|
+
transform: translateY(-50%);
|
|
140
|
+
right: 0;
|
|
141
|
+
border-right: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
142
|
+
content: '';
|
|
143
|
+
}
|
|
144
|
+
.aplus-pro-card-col-split-horizontal {
|
|
145
|
+
position: relative;
|
|
146
|
+
}
|
|
147
|
+
.aplus-pro-card-col-split-horizontal::after {
|
|
148
|
+
position: absolute;
|
|
149
|
+
width: var(--ap-pro-card-split-line-height);
|
|
150
|
+
left: 50%;
|
|
151
|
+
transform: translateX(-50%);
|
|
152
|
+
bottom: 0;
|
|
153
|
+
border-bottom: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
154
|
+
content: '';
|
|
155
|
+
}
|
|
156
|
+
.aplus-pro-card-col-span-0 {
|
|
157
|
+
display: none;
|
|
158
|
+
}
|
|
159
|
+
.aplus-pro-card-col-span-1 {
|
|
160
|
+
flex-shrink: 0;
|
|
161
|
+
width: calc((1 / 24) * 100%);
|
|
162
|
+
}
|
|
163
|
+
.aplus-pro-card-col-span-2 {
|
|
164
|
+
flex-shrink: 0;
|
|
165
|
+
width: calc((2 / 24) * 100%);
|
|
166
|
+
}
|
|
167
|
+
.aplus-pro-card-col-span-3 {
|
|
168
|
+
flex-shrink: 0;
|
|
169
|
+
width: calc((3 / 24) * 100%);
|
|
170
|
+
}
|
|
171
|
+
.aplus-pro-card-col-span-4 {
|
|
172
|
+
flex-shrink: 0;
|
|
173
|
+
width: calc((4 / 24) * 100%);
|
|
174
|
+
}
|
|
175
|
+
.aplus-pro-card-col-span-5 {
|
|
176
|
+
flex-shrink: 0;
|
|
177
|
+
width: calc((5 / 24) * 100%);
|
|
178
|
+
}
|
|
179
|
+
.aplus-pro-card-col-span-6 {
|
|
180
|
+
flex-shrink: 0;
|
|
181
|
+
width: calc((6 / 24) * 100%);
|
|
182
|
+
}
|
|
183
|
+
.aplus-pro-card-col-span-7 {
|
|
184
|
+
flex-shrink: 0;
|
|
185
|
+
width: calc((7 / 24) * 100%);
|
|
186
|
+
}
|
|
187
|
+
.aplus-pro-card-col-span-8 {
|
|
188
|
+
flex-shrink: 0;
|
|
189
|
+
width: calc((8 / 24) * 100%);
|
|
190
|
+
}
|
|
191
|
+
.aplus-pro-card-col-span-9 {
|
|
192
|
+
flex-shrink: 0;
|
|
193
|
+
width: calc((9 / 24) * 100%);
|
|
194
|
+
}
|
|
195
|
+
.aplus-pro-card-col-span-10 {
|
|
196
|
+
flex-shrink: 0;
|
|
197
|
+
width: calc((10 / 24) * 100%);
|
|
198
|
+
}
|
|
199
|
+
.aplus-pro-card-col-span-11 {
|
|
200
|
+
flex-shrink: 0;
|
|
201
|
+
width: calc((11 / 24) * 100%);
|
|
202
|
+
}
|
|
203
|
+
.aplus-pro-card-col-span-12 {
|
|
204
|
+
flex-shrink: 0;
|
|
205
|
+
width: calc((12 / 24) * 100%);
|
|
206
|
+
}
|
|
207
|
+
.aplus-pro-card-col-span-13 {
|
|
208
|
+
flex-shrink: 0;
|
|
209
|
+
width: calc((13 / 24) * 100%);
|
|
210
|
+
}
|
|
211
|
+
.aplus-pro-card-col-span-14 {
|
|
212
|
+
flex-shrink: 0;
|
|
213
|
+
width: calc((14 / 24) * 100%);
|
|
214
|
+
}
|
|
215
|
+
.aplus-pro-card-col-span-15 {
|
|
216
|
+
flex-shrink: 0;
|
|
217
|
+
width: calc((15 / 24) * 100%);
|
|
218
|
+
}
|
|
219
|
+
.aplus-pro-card-col-span-16 {
|
|
220
|
+
flex-shrink: 0;
|
|
221
|
+
width: calc((16 / 24) * 100%);
|
|
222
|
+
}
|
|
223
|
+
.aplus-pro-card-col-span-17 {
|
|
224
|
+
flex-shrink: 0;
|
|
225
|
+
width: calc((17 / 24) * 100%);
|
|
226
|
+
}
|
|
227
|
+
.aplus-pro-card-col-span-18 {
|
|
228
|
+
flex-shrink: 0;
|
|
229
|
+
width: calc((18 / 24) * 100%);
|
|
230
|
+
}
|
|
231
|
+
.aplus-pro-card-col-span-19 {
|
|
232
|
+
flex-shrink: 0;
|
|
233
|
+
width: calc((19 / 24) * 100%);
|
|
234
|
+
}
|
|
235
|
+
.aplus-pro-card-col-span-20 {
|
|
236
|
+
flex-shrink: 0;
|
|
237
|
+
width: calc((20 / 24) * 100%);
|
|
238
|
+
}
|
|
239
|
+
.aplus-pro-card-col-span-21 {
|
|
240
|
+
flex-shrink: 0;
|
|
241
|
+
width: calc((21 / 24) * 100%);
|
|
242
|
+
}
|
|
243
|
+
.aplus-pro-card-col-span-22 {
|
|
244
|
+
flex-shrink: 0;
|
|
245
|
+
width: calc((22 / 24) * 100%);
|
|
246
|
+
}
|
|
247
|
+
.aplus-pro-card-col-span-23 {
|
|
248
|
+
flex-shrink: 0;
|
|
249
|
+
width: calc((23 / 24) * 100%);
|
|
250
|
+
}
|
|
251
|
+
.aplus-pro-card-col-span-24 {
|
|
252
|
+
flex-shrink: 0;
|
|
253
|
+
width: calc((24 / 24) * 100%);
|
|
254
|
+
}
|
|
255
|
+
.aplus-pro-card-actions {
|
|
256
|
+
border-block-start: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
257
|
+
background: var(--ap-pro-card-colo-bg-container);
|
|
258
|
+
padding: var(--ap-pro-card-actions-padding);
|
|
259
|
+
}
|
|
260
|
+
.aplus-pro-card-title-default {
|
|
261
|
+
position: relative;
|
|
262
|
+
font-weight: bold;
|
|
263
|
+
font-size: 12px;
|
|
264
|
+
display: flex;
|
|
265
|
+
align-items: center;
|
|
266
|
+
}
|
|
267
|
+
.aplus-pro-card-title-default-aplus {
|
|
268
|
+
padding-left: 10px;
|
|
269
|
+
}
|
|
270
|
+
.aplus-pro-card-title-default-aplus::before {
|
|
271
|
+
position: absolute;
|
|
272
|
+
content: '';
|
|
273
|
+
left: 0;
|
|
274
|
+
top: 50%;
|
|
275
|
+
transform: translateY(-50%);
|
|
276
|
+
width: 3px;
|
|
277
|
+
height: 14px;
|
|
278
|
+
background: #0070ff;
|
|
279
|
+
border-radius: 0px 4px 4px 0px;
|
|
280
|
+
}
|
|
281
|
+
.aplus-pro-card-title-default-admin {
|
|
282
|
+
padding-left: 14px;
|
|
283
|
+
}
|
|
284
|
+
.aplus-pro-card-title-default-admin::before {
|
|
285
|
+
position: absolute;
|
|
286
|
+
content: '';
|
|
287
|
+
left: 0;
|
|
288
|
+
top: 50%;
|
|
289
|
+
transform: translateY(-50%);
|
|
290
|
+
width: 8px;
|
|
291
|
+
height: 8px;
|
|
292
|
+
border-radius: 50%;
|
|
293
|
+
border-width: 2px;
|
|
294
|
+
border-style: solid;
|
|
295
|
+
border-color: #34b77c;
|
|
296
|
+
background: #fff;
|
|
297
|
+
}
|
|
298
|
+
.aplus-pro-card-divider {
|
|
299
|
+
flex: none;
|
|
300
|
+
background: var(--ap-pro-card-border-color-split);
|
|
301
|
+
}
|
|
302
|
+
.aplus-pro-card-divider-vertical {
|
|
303
|
+
width: var(--ap-pro-card-border-line-width);
|
|
304
|
+
margin-inline: 8px;
|
|
305
|
+
margin-block: 24px;
|
|
306
|
+
}
|
|
307
|
+
.aplus-pro-card-divider-horizontal {
|
|
308
|
+
height: var(--ap-pro-card-border-line-width);
|
|
309
|
+
margin-inline: 24px;
|
|
310
|
+
margin-block: 8px;
|
|
311
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
@import '../mixins/mixins.less';
|
|
2
|
+
|
|
3
|
+
.b(pro-card, {
|
|
4
|
+
position: relative;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
padding: 0;
|
|
9
|
+
width: 100%;
|
|
10
|
+
transition: all 0.3s;
|
|
11
|
+
background: var(--ap-pro-card-colo-bg-container);
|
|
12
|
+
border-radius: var(--ap-pro-card-border-radius);
|
|
13
|
+
&-border {
|
|
14
|
+
border: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
15
|
+
}
|
|
16
|
+
&-box-shadow {
|
|
17
|
+
border-color: transparent;
|
|
18
|
+
box-shadow: var(--ap-pro-card-box-shadow);
|
|
19
|
+
}
|
|
20
|
+
&-hoverable {
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
transition: box-shadow 0.3s, border-color 0.3s;
|
|
23
|
+
&:hover {
|
|
24
|
+
border-color: transparent;
|
|
25
|
+
box-shadow: var(--ap-pro-card-box-shadow);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
&-header {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
padding: var(--ap-pro-card-header-padding);
|
|
32
|
+
&-title {
|
|
33
|
+
display: flex;
|
|
34
|
+
font-size: var(--ap-pro-card-header-title-font-size);
|
|
35
|
+
color: var(--ap-pro-card-header-title-font-color);
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
&-tooltip {
|
|
38
|
+
margin-left: 5px;
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
color: var(--ap-pro-card-tooltip-color);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
&-extra {
|
|
44
|
+
margin-inline-start: auto;
|
|
45
|
+
}
|
|
46
|
+
&-border {
|
|
47
|
+
padding-block-end: var(--ap-pro-card-header-padding-bottom);
|
|
48
|
+
border-block-end: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
&-type-inner > &-header {
|
|
52
|
+
background: var(--ap-pro-card-area-color);
|
|
53
|
+
}
|
|
54
|
+
&-body {
|
|
55
|
+
display: block;
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
height: 100%;
|
|
58
|
+
padding: var(--ap-pro-card-body-padding);
|
|
59
|
+
&-center {
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
}
|
|
64
|
+
&-direction-column {
|
|
65
|
+
flex-direction: column
|
|
66
|
+
}
|
|
67
|
+
&-wrap {
|
|
68
|
+
flex-wrap: wrap
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
&-contain-card > &-body {
|
|
72
|
+
display: flex;
|
|
73
|
+
}
|
|
74
|
+
&-split > &-body {
|
|
75
|
+
padding: 0;
|
|
76
|
+
}
|
|
77
|
+
&-ghost {
|
|
78
|
+
background: transparent;
|
|
79
|
+
}
|
|
80
|
+
&-ghost > &-body {
|
|
81
|
+
background: transparent;
|
|
82
|
+
padding: 0;
|
|
83
|
+
}
|
|
84
|
+
&-col {
|
|
85
|
+
width: 100%;
|
|
86
|
+
&-split-vertical {
|
|
87
|
+
position: relative;
|
|
88
|
+
&::after {
|
|
89
|
+
position: absolute;
|
|
90
|
+
height: var(--ap-pro-card-split-line-height);
|
|
91
|
+
top: 50%;
|
|
92
|
+
transform: translateY(-50%);
|
|
93
|
+
right: 0;
|
|
94
|
+
border-right: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
95
|
+
content: '';
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
}
|
|
99
|
+
&-split-horizontal {
|
|
100
|
+
position: relative;
|
|
101
|
+
&::after {
|
|
102
|
+
position: absolute;
|
|
103
|
+
width: var(--ap-pro-card-split-line-height);
|
|
104
|
+
left: 50%;
|
|
105
|
+
transform: translateX(-50%);
|
|
106
|
+
bottom: 0;
|
|
107
|
+
border-bottom: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
108
|
+
content: '';
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
}
|
|
112
|
+
&-span-0 {
|
|
113
|
+
display: none;
|
|
114
|
+
}
|
|
115
|
+
.loop-span(@i) when (@i <= 24) {
|
|
116
|
+
&-span-@{i} {
|
|
117
|
+
flex-shrink: 0;
|
|
118
|
+
width: calc((@i / 24) * 100%);
|
|
119
|
+
}
|
|
120
|
+
.loop-span(@i + 1);
|
|
121
|
+
}
|
|
122
|
+
.loop-span(1);
|
|
123
|
+
}
|
|
124
|
+
&-actions {
|
|
125
|
+
border-block-start:var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
126
|
+
background: var(--ap-pro-card-colo-bg-container);
|
|
127
|
+
padding: var(--ap-pro-card-actions-padding);
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
.b(pro-card-title, {
|
|
132
|
+
&-default {
|
|
133
|
+
position: relative;
|
|
134
|
+
font-weight: bold;
|
|
135
|
+
font-size: 12px;
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
&-aplus {
|
|
139
|
+
padding-left: 10px;
|
|
140
|
+
&::before {
|
|
141
|
+
position: absolute;
|
|
142
|
+
content: '';
|
|
143
|
+
left: 0;
|
|
144
|
+
top: 50%;
|
|
145
|
+
transform: translateY(-50%);
|
|
146
|
+
width: 3px;
|
|
147
|
+
height: 14px;
|
|
148
|
+
background: #0070ff;
|
|
149
|
+
border-radius: 0px 4px 4px 0px;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
&-admin {
|
|
153
|
+
padding-left: 14px;
|
|
154
|
+
&::before {
|
|
155
|
+
position: absolute;
|
|
156
|
+
content: '';
|
|
157
|
+
left: 0;
|
|
158
|
+
top: 50%;
|
|
159
|
+
transform: translateY(-50%);
|
|
160
|
+
width: 8px;
|
|
161
|
+
height: 8px;
|
|
162
|
+
border-radius: 50%;
|
|
163
|
+
border-width: 2px;
|
|
164
|
+
border-style: solid;
|
|
165
|
+
border-color: #34b77c;
|
|
166
|
+
background: #fff;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
|
|
172
|
+
.b(pro-card-divider, {
|
|
173
|
+
flex: none;
|
|
174
|
+
background: var(--ap-pro-card-border-color-split);
|
|
175
|
+
&-vertical {
|
|
176
|
+
width: var(--ap-pro-card-border-line-width);
|
|
177
|
+
margin-inline: 8px;
|
|
178
|
+
margin-block: 24px;
|
|
179
|
+
}
|
|
180
|
+
&-horizontal {
|
|
181
|
+
height: var(--ap-pro-card-border-line-width);
|
|
182
|
+
margin-inline: 24px;
|
|
183
|
+
margin-block: 8px;
|
|
184
|
+
}
|
|
185
|
+
});
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
.reset-component {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
color: #182948;
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
font-family: inherit;
|
|
8
|
+
line-height: 18px;
|
|
9
|
+
list-style: none;
|
|
10
|
+
}
|
|
11
|
+
.reset-scrollbar ::-webkit-scrollbar {
|
|
12
|
+
width: 10px;
|
|
13
|
+
height: 10px;
|
|
14
|
+
}
|
|
15
|
+
.reset-scrollbar ::-webkit-scrollbar-thumb {
|
|
16
|
+
background-color: var(--ap-scrollbar-thumb-color-base);
|
|
17
|
+
background-clip: content-box;
|
|
18
|
+
border: 1px solid transparent;
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
}
|
|
21
|
+
.reset-scrollbar ::-webkit-scrollbar-track,
|
|
22
|
+
.reset-scrollbar ::-webkit-scrollbar-corner {
|
|
23
|
+
background-color: var(--ap-table-header-bg, #f2f6f9);
|
|
24
|
+
}
|
|
25
|
+
.reset-scrollbar ::-webkit-scrollbar-thumb:hover,
|
|
26
|
+
.reset-scrollbar ::-webkit-scrollbar-thumb:active {
|
|
27
|
+
background-color: var(--ap-scrollbar-thumb-color-hover);
|
|
28
|
+
}
|
|
29
|
+
.clear-fix::before {
|
|
30
|
+
display: table;
|
|
31
|
+
content: '';
|
|
32
|
+
}
|
|
33
|
+
.clear-fix::after {
|
|
34
|
+
display: table;
|
|
35
|
+
clear: both;
|
|
36
|
+
content: '';
|
|
37
|
+
}
|
|
38
|
+
.common-style {
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
font-size: 12px;
|
|
41
|
+
font-family: inherit;
|
|
42
|
+
}
|
|
43
|
+
.common-style::before,
|
|
44
|
+
.common-style::after {
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
}
|
|
47
|
+
.aplus-ap-value-select-card {
|
|
48
|
+
position: relative;
|
|
49
|
+
margin-top: 8px;
|
|
50
|
+
}
|
|
51
|
+
.aplus-ap-value-select-card .ant-popover {
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
.aplus-ap-value-select-card-list {
|
|
55
|
+
display: grid;
|
|
56
|
+
grid-template-columns: repeat(var(--ap-value-select-card-column-count, 5), minmax(var(--ap-value-select-card-max-width, 150px), 1fr));
|
|
57
|
+
gap: 12px;
|
|
58
|
+
}
|
|
59
|
+
.aplus-ap-value-select-card-list-item {
|
|
60
|
+
position: relative;
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
padding: 8px 16px;
|
|
63
|
+
color: var(--ap-text-color-1);
|
|
64
|
+
border: 1px solid var(--ap-color-bg);
|
|
65
|
+
border-radius: 4px;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
transition: all 0.2s ease-in-out;
|
|
68
|
+
}
|
|
69
|
+
.aplus-ap-value-select-card-list-item-close {
|
|
70
|
+
position: absolute;
|
|
71
|
+
top: 4px;
|
|
72
|
+
right: 12px;
|
|
73
|
+
z-index: 1;
|
|
74
|
+
padding: 4px;
|
|
75
|
+
color: var(--ap-text-color-3);
|
|
76
|
+
font-size: 14px;
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
}
|
|
79
|
+
.aplus-ap-value-select-card-list-item-close:hover {
|
|
80
|
+
color: #ed6f6f;
|
|
81
|
+
}
|
|
82
|
+
.aplus-ap-value-select-card-list-item .label {
|
|
83
|
+
margin-bottom: 4px;
|
|
84
|
+
font-size: 12px;
|
|
85
|
+
line-height: 18px;
|
|
86
|
+
}
|
|
87
|
+
.aplus-ap-value-select-card-list-item .value {
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
font-weight: bold;
|
|
90
|
+
font-size: 16px;
|
|
91
|
+
line-height: 24px;
|
|
92
|
+
white-space: nowrap;
|
|
93
|
+
text-overflow: ellipsis;
|
|
94
|
+
}
|
|
95
|
+
.aplus-ap-value-select-card-list-item:hover:not(.select) {
|
|
96
|
+
border: 1px solid var(--ap-color-primary);
|
|
97
|
+
}
|
|
98
|
+
.aplus-ap-value-select-card-list-item.select {
|
|
99
|
+
color: var(--ap-text-color-2);
|
|
100
|
+
border-color: transparent;
|
|
101
|
+
box-shadow: 3px 10px 30px -2px rgba(123, 121, 140, 0.15);
|
|
102
|
+
background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, var(--ap-value-select-card-bg-color, #f5f9ff) 92%);
|
|
103
|
+
}
|
|
104
|
+
.aplus-ap-value-select-card-list-item.select:hover {
|
|
105
|
+
background: var(--ap-value-select-card-bg-color, #f5f9ff);
|
|
106
|
+
}
|
|
107
|
+
.aplus-ap-value-select-card-list-item.all {
|
|
108
|
+
color: var(--ap-text-color-1);
|
|
109
|
+
background: #ffffff;
|
|
110
|
+
border: 1px solid var(--ap-color-bg);
|
|
111
|
+
box-shadow: none;
|
|
112
|
+
}
|
|
113
|
+
.aplus-ap-value-select-card-list-item.all:hover:not(.disabled) {
|
|
114
|
+
border-color: var(--ap-color-primary);
|
|
115
|
+
}
|
|
116
|
+
.aplus-ap-value-select-card-list-item.all.disabled {
|
|
117
|
+
color: #8896b0;
|
|
118
|
+
background: #f9f9fa;
|
|
119
|
+
cursor: not-allowed;
|
|
120
|
+
}
|
|
121
|
+
.aplus-ap-value-select-card-list-item.all.select {
|
|
122
|
+
background: #f5f9ff;
|
|
123
|
+
border-color: var(--ap-color-primary);
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
}
|
|
126
|
+
.aplus-ap-value-select-card-list-item.choose {
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: column;
|
|
129
|
+
align-items: center;
|
|
130
|
+
justify-content: center;
|
|
131
|
+
color: var(--ap-color-primary);
|
|
132
|
+
background: #ffffff;
|
|
133
|
+
border: 1px dashed #d1d7df;
|
|
134
|
+
box-shadow: none;
|
|
135
|
+
}
|
|
136
|
+
.aplus-ap-value-select-card-list-item.choose .text {
|
|
137
|
+
font-size: 12px;
|
|
138
|
+
margin-left: 4px;
|
|
139
|
+
}
|
|
140
|
+
.aplus-ap-value-select-card-list-item.choose:hover {
|
|
141
|
+
border-color: var(--ap-color-primary);
|
|
142
|
+
}
|
|
143
|
+
.aplus-ap-value-select-card-title {
|
|
144
|
+
display: flex;
|
|
145
|
+
align-items: center;
|
|
146
|
+
margin-bottom: 12px;
|
|
147
|
+
color: #526a90;
|
|
148
|
+
font-size: 14px;
|
|
149
|
+
}
|
|
150
|
+
.aplus-ap-value-select-card-title-icon {
|
|
151
|
+
margin-right: 4px;
|
|
152
|
+
color: #abb7cc;
|
|
153
|
+
font-size: 14px;
|
|
154
|
+
}
|
|
155
|
+
.aplus-ap-value-select-card--admin .aplus-ap-value-select-card-list-item.all.select {
|
|
156
|
+
background: #F7FCFA;
|
|
157
|
+
}
|
|
158
|
+
.aplus-ap-value-select-card--admin .aplus-ap-value-select-card-list-item.all.disabled {
|
|
159
|
+
color: #999;
|
|
160
|
+
}
|
|
161
|
+
.aplus-ap-value-select-card--admin .aplus-ap-value-select-card-title {
|
|
162
|
+
color: #666;
|
|
163
|
+
}
|