@aplus-frontend/ui 6.22.0-beta.0 → 6.22.0
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 +164 -161
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +42 -36
- package/es/src/ag-grid/context.d.ts +18 -0
- package/es/src/ag-grid/context.mjs +17 -0
- package/es/src/ag-grid/index.vue.d.ts +4 -2
- package/es/src/ag-grid/index.vue.mjs +340 -205
- package/es/src/ag-grid/interface.d.ts +105 -3
- package/es/src/ag-grid/theme.d.ts +3 -0
- package/es/src/ag-grid/theme.mjs +25 -0
- package/es/src/ap-field/number/index.vue.mjs +25 -25
- package/es/src/ap-grid/utils/col.d.ts +1 -1
- package/es/src/ap-grid/utils/col.mjs +29 -29
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +108 -98
- 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/operation/index.vue.d.ts +18 -0
- package/es/src/ap-pro-card/components/operation/index.vue.mjs +4 -0
- package/es/src/ap-pro-card/components/operation/index.vue2.mjs +20 -0
- package/es/src/ap-pro-card/components/statistic/index.vue.d.ts +51 -0
- package/es/src/ap-pro-card/components/statistic/index.vue.mjs +4 -0
- package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +134 -0
- package/es/src/ap-pro-card/components/statistic-card/index.vue.d.ts +25 -0
- package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +4 -0
- package/es/src/ap-pro-card/components/statistic-card/index.vue2.mjs +116 -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 +20 -42
- package/es/src/ap-pro-card/index.mjs +22 -4
- package/es/src/ap-pro-card/interface.d.ts +66 -2
- package/es/src/ap-tag/ap-tag-group.vue.mjs +42 -42
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +17 -15
- package/es/src/business/hooks/index.d.ts +1 -0
- package/es/src/business/hooks/index.mjs +8 -6
- package/es/src/business/hooks/usePageListAgGrid.d.ts +37 -0
- package/es/src/business/hooks/usePageListAgGrid.mjs +88 -0
- package/es/src/index.mjs +277 -274
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
- package/lib/src/ag-grid/context.d.ts +18 -0
- package/lib/src/ag-grid/context.js +1 -0
- package/lib/src/ag-grid/index.vue.d.ts +4 -2
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +105 -3
- package/lib/src/ag-grid/theme.d.ts +3 -0
- package/lib/src/ag-grid/theme.js +1 -0
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-grid/utils/col.d.ts +1 -1
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
- 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/operation/index.vue.d.ts +18 -0
- package/lib/src/ap-pro-card/components/operation/index.vue.js +1 -0
- package/lib/src/ap-pro-card/components/operation/index.vue2.js +1 -0
- package/lib/src/ap-pro-card/components/statistic/index.vue.d.ts +51 -0
- package/lib/src/ap-pro-card/components/statistic/index.vue.js +1 -0
- package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -0
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.d.ts +25 -0
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -0
- package/lib/src/ap-pro-card/components/statistic-card/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 +20 -42
- package/lib/src/ap-pro-card/index.js +1 -1
- package/lib/src/ap-pro-card/interface.d.ts +66 -2
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/hooks/index.d.ts +1 -0
- package/lib/src/business/hooks/index.js +1 -1
- package/lib/src/business/hooks/usePageListAgGrid.d.ts +37 -0
- package/lib/src/business/hooks/usePageListAgGrid.js +1 -0
- package/lib/src/index.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/index.css +468 -0
- package/theme/ag-grid/index.less +25 -0
- package/theme/ap-button/ap-button.css +1 -1
- package/theme/ap-button/ap-button.less +1 -1
- package/theme/ap-pro-card/index.css +199 -0
- package/theme/ap-pro-card/index.less +203 -0
- package/theme/ap-tag/ap-tag.css +1 -1
- package/theme/ap-tag/ap-tag.less +1 -1
- package/theme/index.css +218 -2
package/theme/ag-grid/index.css
CHANGED
|
@@ -80,6 +80,457 @@
|
|
|
80
80
|
.aplus-ag-custom-header__sorter-down.active {
|
|
81
81
|
color: var(--ap-color-primary);
|
|
82
82
|
}
|
|
83
|
+
.aplus-ap-form-item-group .ant-form-item-control .ant-picker {
|
|
84
|
+
display: flex;
|
|
85
|
+
}
|
|
86
|
+
.aplus-ap-form-item-group .ant-form-item-control .ant-input-number {
|
|
87
|
+
width: 100%;
|
|
88
|
+
}
|
|
89
|
+
.aplus-ap-form-item-group-col-hidden {
|
|
90
|
+
display: none !important;
|
|
91
|
+
}
|
|
92
|
+
.aplus-ap-form-item--bordered {
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
border: 1px solid var(--ap-border-color-base);
|
|
95
|
+
border-radius: 4px;
|
|
96
|
+
padding-inline: 8px;
|
|
97
|
+
}
|
|
98
|
+
.aplus-ap-form-item--bordered .ant-input-affix-wrapper {
|
|
99
|
+
padding: 0;
|
|
100
|
+
}
|
|
101
|
+
.aplus-ap-form-item--bordered:has(.aplus-batch-input-group):has(.ant-select) .ant-input-affix-wrapper {
|
|
102
|
+
padding-right: 8px;
|
|
103
|
+
}
|
|
104
|
+
.aplus-ap-form-item--bordered .ant-input {
|
|
105
|
+
padding: 0;
|
|
106
|
+
}
|
|
107
|
+
.aplus-ap-form-item--bordered .ant-input-number-input {
|
|
108
|
+
padding: 0;
|
|
109
|
+
}
|
|
110
|
+
.aplus-ap-form-item--bordered .ant-picker {
|
|
111
|
+
padding: 0;
|
|
112
|
+
}
|
|
113
|
+
.aplus-ap-form-item--bordered .ant-form-item-control-input-content > .ant-input-group > .ant-picker-range:nth-child(1) .ant-picker-clear {
|
|
114
|
+
inset-inline-end: 0;
|
|
115
|
+
}
|
|
116
|
+
.aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
|
|
117
|
+
padding-left: 8px;
|
|
118
|
+
}
|
|
119
|
+
.aplus-ap-form-item--bordered .ant-select-selector {
|
|
120
|
+
border-width: 0 !important;
|
|
121
|
+
box-shadow: none !important;
|
|
122
|
+
}
|
|
123
|
+
.aplus-ap-form-item--bordered .ant-select-single .ant-select-selector {
|
|
124
|
+
height: 30px !important;
|
|
125
|
+
}
|
|
126
|
+
.aplus-ap-form-item--bordered:has(.ant-input-number) {
|
|
127
|
+
padding-right: 0;
|
|
128
|
+
}
|
|
129
|
+
.aplus-ap-form-item--bordered:has(.ant-select) {
|
|
130
|
+
padding-right: 0px;
|
|
131
|
+
}
|
|
132
|
+
.aplus-ap-form-item--bordered:has(.ant-select) .ant-form-item-label > label {
|
|
133
|
+
padding-right: 4px;
|
|
134
|
+
}
|
|
135
|
+
.aplus-ap-form-item--bordered div.ant-form-item-control {
|
|
136
|
+
flex: 1 1 0;
|
|
137
|
+
min-width: 0;
|
|
138
|
+
}
|
|
139
|
+
.aplus-ap-form-item--bordered .ant-form-item-label > label {
|
|
140
|
+
padding-right: 12px;
|
|
141
|
+
height: 30px;
|
|
142
|
+
}
|
|
143
|
+
.aplus-ap-form-item--bordered .ant-form-item-label > label::after {
|
|
144
|
+
margin: 0;
|
|
145
|
+
}
|
|
146
|
+
.aplus-ap-form-item--bordered .ant-form-item-control-input {
|
|
147
|
+
min-height: 30px;
|
|
148
|
+
}
|
|
149
|
+
.aplus-ap-form-item--bordered:hover {
|
|
150
|
+
border-color: var(--ap-hover-color-base);
|
|
151
|
+
}
|
|
152
|
+
.aplus-ap-form-item--bordered:focus {
|
|
153
|
+
border-color: var(--ap-active-color-base);
|
|
154
|
+
box-shadow: 0 0 0 2px var(--ap-form-bordered-shadow-color, rgba(5, 155, 255, 0.1));
|
|
155
|
+
}
|
|
156
|
+
.aplus-ap-form-item--bordered .aplus-batch-input-group-popover-input__popover {
|
|
157
|
+
width: calc(100% + 12px);
|
|
158
|
+
}
|
|
159
|
+
.aplus-ap-form-item--focused {
|
|
160
|
+
border-color: var(--ap-active-color-base);
|
|
161
|
+
box-shadow: 0 0 0 2px var(--ap-form-bordered-shadow-color, rgba(5, 155, 255, 0.1));
|
|
162
|
+
}
|
|
163
|
+
.aplus-ap-form-item .ant-form-show-help .ant-form-item-explain-error {
|
|
164
|
+
font-size: 12px;
|
|
165
|
+
line-height: 16px;
|
|
166
|
+
}
|
|
167
|
+
.aplus-ap-form-item .ant-col .ant-form-item-extra {
|
|
168
|
+
line-height: 22px;
|
|
169
|
+
min-height: unset;
|
|
170
|
+
margin-top: 4px;
|
|
171
|
+
margin-bottom: 12px;
|
|
172
|
+
}
|
|
173
|
+
.aplus-ap-form-item .ant-input-group .ant-picker:only-child {
|
|
174
|
+
width: 100%;
|
|
175
|
+
}
|
|
176
|
+
.aplus-ap-form-item .ant-input-group .ant-select + .ant-picker {
|
|
177
|
+
padding-inline: 8px;
|
|
178
|
+
flex: 1;
|
|
179
|
+
}
|
|
180
|
+
.aplus-ap-form-drawer-form__resize-bar {
|
|
181
|
+
width: 4px;
|
|
182
|
+
cursor: ew-resize;
|
|
183
|
+
position: absolute;
|
|
184
|
+
top: 0;
|
|
185
|
+
left: 0;
|
|
186
|
+
bottom: 0;
|
|
187
|
+
z-index: 100;
|
|
188
|
+
background-color: transparent;
|
|
189
|
+
}
|
|
190
|
+
.aplus-ap-form-drawer-form__resize-bar--min-disabled {
|
|
191
|
+
cursor: w-resize;
|
|
192
|
+
}
|
|
193
|
+
.aplus-ap-form-drawer-form__resize-bar--max-disabled {
|
|
194
|
+
cursor: e-resize;
|
|
195
|
+
}
|
|
196
|
+
.aplus-ap-form-modal-form .ant-modal-content {
|
|
197
|
+
padding: 0;
|
|
198
|
+
}
|
|
199
|
+
.aplus-ap-form-modal-form .ant-modal-header {
|
|
200
|
+
padding: 15px 20px;
|
|
201
|
+
border-bottom: 1px solid #E9EDF3;
|
|
202
|
+
margin-bottom: 0;
|
|
203
|
+
}
|
|
204
|
+
.aplus-ap-form-modal-form__content {
|
|
205
|
+
padding: 20px 20px 0px;
|
|
206
|
+
}
|
|
207
|
+
.aplus-ap-form-modal-form__footer {
|
|
208
|
+
padding: 12px 20px;
|
|
209
|
+
}
|
|
210
|
+
.aplus-ap-form-modal-form__footer-admin {
|
|
211
|
+
border-top: 1px solid #E9EDF3;
|
|
212
|
+
}
|
|
213
|
+
.aplus-ap-form-modal-form .ant-modal-close {
|
|
214
|
+
top: 16px;
|
|
215
|
+
}
|
|
216
|
+
.aplus-search-form-sorter-content {
|
|
217
|
+
width: 560px;
|
|
218
|
+
}
|
|
219
|
+
.aplus-search-form-sorter-header {
|
|
220
|
+
padding: 16px 16px 0px;
|
|
221
|
+
}
|
|
222
|
+
.aplus-search-form-sorter-header-title {
|
|
223
|
+
box-sizing: border-box;
|
|
224
|
+
margin: 0;
|
|
225
|
+
padding: 0;
|
|
226
|
+
color: #182948;
|
|
227
|
+
font-size: 12px;
|
|
228
|
+
font-family: inherit;
|
|
229
|
+
line-height: 18px;
|
|
230
|
+
list-style: none;
|
|
231
|
+
color: var(--ap-text-color-2);
|
|
232
|
+
font-size: 14px;
|
|
233
|
+
font-weight: 700;
|
|
234
|
+
display: inline-block;
|
|
235
|
+
padding-bottom: 4px;
|
|
236
|
+
}
|
|
237
|
+
.aplus-search-form-sorter-header-desc {
|
|
238
|
+
box-sizing: border-box;
|
|
239
|
+
margin: 0;
|
|
240
|
+
padding: 0;
|
|
241
|
+
color: #182948;
|
|
242
|
+
font-size: 12px;
|
|
243
|
+
font-family: inherit;
|
|
244
|
+
line-height: 18px;
|
|
245
|
+
list-style: none;
|
|
246
|
+
color: var(--ap-text-color-3);
|
|
247
|
+
}
|
|
248
|
+
.aplus-search-form-sorter-header-action-wrapper {
|
|
249
|
+
padding: 8px;
|
|
250
|
+
margin: -8px;
|
|
251
|
+
cursor: pointer;
|
|
252
|
+
}
|
|
253
|
+
.aplus-search-form-sorter-header-reset-btn {
|
|
254
|
+
box-sizing: border-box;
|
|
255
|
+
margin: 0;
|
|
256
|
+
padding: 0;
|
|
257
|
+
color: #182948;
|
|
258
|
+
font-size: 12px;
|
|
259
|
+
font-family: inherit;
|
|
260
|
+
line-height: 18px;
|
|
261
|
+
list-style: none;
|
|
262
|
+
color: var(--ap-color-link);
|
|
263
|
+
}
|
|
264
|
+
.aplus-search-form-sorter-sorter-wrapper {
|
|
265
|
+
display: flex;
|
|
266
|
+
flex-direction: row;
|
|
267
|
+
flex-wrap: wrap;
|
|
268
|
+
margin-left: -4px;
|
|
269
|
+
margin-right: -4px;
|
|
270
|
+
row-gap: 8px;
|
|
271
|
+
}
|
|
272
|
+
.aplus-search-form-sorter-sorter-item {
|
|
273
|
+
flex: 0 0 33.333333%;
|
|
274
|
+
max-width: 33.333333%;
|
|
275
|
+
padding-inline: 4px;
|
|
276
|
+
}
|
|
277
|
+
.aplus-search-form-sorter-sorter-item > div {
|
|
278
|
+
border: 1px solid var(--ap-color-bg);
|
|
279
|
+
border-radius: 4px;
|
|
280
|
+
padding: 8px;
|
|
281
|
+
display: flex;
|
|
282
|
+
align-items: center;
|
|
283
|
+
background-color: #fff;
|
|
284
|
+
}
|
|
285
|
+
.aplus-search-form-sorter-sorter-item > div:hover {
|
|
286
|
+
border-color: var(--ap-color-primary);
|
|
287
|
+
cursor: pointer;
|
|
288
|
+
}
|
|
289
|
+
.aplus-search-form-sorter-sorter-item > div:hover .aplus-search-form-sorter-sorter-item-holder {
|
|
290
|
+
color: var(--ap-color-primary) !important;
|
|
291
|
+
}
|
|
292
|
+
.aplus-search-form-sorter-sorter-item--hidden {
|
|
293
|
+
display: none;
|
|
294
|
+
}
|
|
295
|
+
.aplus-search-form-sorter-sorter-item-text {
|
|
296
|
+
box-sizing: border-box;
|
|
297
|
+
margin: 0;
|
|
298
|
+
padding: 0;
|
|
299
|
+
color: #182948;
|
|
300
|
+
font-size: 12px;
|
|
301
|
+
font-family: inherit;
|
|
302
|
+
line-height: 18px;
|
|
303
|
+
list-style: none;
|
|
304
|
+
padding-left: 4px;
|
|
305
|
+
color: var(--ap-text-color-2);
|
|
306
|
+
max-width: 100%;
|
|
307
|
+
white-space: nowrap;
|
|
308
|
+
overflow: hidden;
|
|
309
|
+
text-overflow: ellipsis;
|
|
310
|
+
}
|
|
311
|
+
.aplus-ap-form-search-form .ant-form-item {
|
|
312
|
+
margin-bottom: 8px;
|
|
313
|
+
}
|
|
314
|
+
.aplus-ap-form-search-form .ant-form-item-control .ant-picker {
|
|
315
|
+
display: flex;
|
|
316
|
+
}
|
|
317
|
+
.aplus-ap-form-search-form .ant-form-item-control .ant-input-number {
|
|
318
|
+
width: 100%;
|
|
319
|
+
}
|
|
320
|
+
.aplus-ap-form-search-form__popover .ant-form-item {
|
|
321
|
+
margin-bottom: 8px;
|
|
322
|
+
}
|
|
323
|
+
.aplus-ap-form-search-form__popover .ant-popover-arrow {
|
|
324
|
+
display: none;
|
|
325
|
+
}
|
|
326
|
+
.aplus-ap-form-search-form__popover .ant-popover-inner {
|
|
327
|
+
padding: 0;
|
|
328
|
+
}
|
|
329
|
+
.aplus-ap-form-search-form__popover-content {
|
|
330
|
+
padding: 12px 16px 16px;
|
|
331
|
+
}
|
|
332
|
+
.aplus-ap-form-search-form__popover-content textarea {
|
|
333
|
+
padding: 0;
|
|
334
|
+
}
|
|
335
|
+
.aplus-ap-form-search-form__popover-footer {
|
|
336
|
+
padding: 12px 16px;
|
|
337
|
+
}
|
|
338
|
+
.aplus-ap-form-search-form__popover-footer-confirm-btn {
|
|
339
|
+
margin-left: 10px;
|
|
340
|
+
}
|
|
341
|
+
.aplus-ap-form-search-form__popover-footer button.ant-btn {
|
|
342
|
+
padding-inline: 16px;
|
|
343
|
+
}
|
|
344
|
+
.aplus-ap-form-search-form-trigger-btn {
|
|
345
|
+
font-size: 0px;
|
|
346
|
+
}
|
|
347
|
+
.aplus-ap-form-search-form-trigger-btn-active {
|
|
348
|
+
color: var(--ap-hover-color-base);
|
|
349
|
+
border-color: var(--ap-hover-color-base);
|
|
350
|
+
z-index: 1;
|
|
351
|
+
}
|
|
352
|
+
.aplus-ap-form-search-form-trigger-btn-badge {
|
|
353
|
+
display: inline-block;
|
|
354
|
+
padding: 2px;
|
|
355
|
+
min-width: 14px;
|
|
356
|
+
height: 14px;
|
|
357
|
+
background-color: var(--ap-color-primary);
|
|
358
|
+
font-size: 10px;
|
|
359
|
+
line-height: 1;
|
|
360
|
+
border-radius: 7px;
|
|
361
|
+
color: #fff;
|
|
362
|
+
position: absolute;
|
|
363
|
+
top: 0;
|
|
364
|
+
left: 0;
|
|
365
|
+
transform: translate(-50%, -50%);
|
|
366
|
+
box-shadow: 0 0 0 1px #fff;
|
|
367
|
+
}
|
|
368
|
+
.aplus-ap-form-search-form-column-setting-trigger-wrapper {
|
|
369
|
+
flex-shrink: 0;
|
|
370
|
+
}
|
|
371
|
+
.aplus-ap-form-search-form-column-setting-trigger-wrapper .ant-btn:not(:only-child):first-child {
|
|
372
|
+
border-top-right-radius: 0px;
|
|
373
|
+
border-bottom-right-radius: 0px;
|
|
374
|
+
}
|
|
375
|
+
.aplus-ap-form-search-form-column-setting-trigger-wrapper .ant-btn:not(:only-child):first-child:hover {
|
|
376
|
+
z-index: 1;
|
|
377
|
+
}
|
|
378
|
+
.aplus-ap-form-search-form-column-setting-trigger-wrapper .ant-btn:not(:only-child):last-child {
|
|
379
|
+
border-top-left-radius: 0px;
|
|
380
|
+
border-bottom-left-radius: 0px;
|
|
381
|
+
margin-left: -1px;
|
|
382
|
+
}
|
|
383
|
+
.aplus-ap-form-search-form-column-setting-trigger-wrapper .ant-btn:not(:only-child):last-child:hover {
|
|
384
|
+
z-index: 1;
|
|
385
|
+
}
|
|
386
|
+
.aplus-ap-form-search-form-column-setting-trigger-wrapper span.aplus-frontend-icon {
|
|
387
|
+
line-height: 0px;
|
|
388
|
+
vertical-align: -0.125em;
|
|
389
|
+
}
|
|
390
|
+
.aplus-ap-form-search-form-action-btn {
|
|
391
|
+
padding-inline: 12px;
|
|
392
|
+
}
|
|
393
|
+
.aplus-ap-form-search-form-action-btn-reset {
|
|
394
|
+
background-color: var(--ap-color-bg);
|
|
395
|
+
}
|
|
396
|
+
.aplus-ap-form-item-text-group-compact .ant-select-focused {
|
|
397
|
+
z-index: 1;
|
|
398
|
+
}
|
|
399
|
+
.aplus-ap-form-item-text-group-compact .ant-select:hover {
|
|
400
|
+
z-index: 1;
|
|
401
|
+
}
|
|
402
|
+
.aplus-ap-form-item-text-group-compact .ant-picker-focused {
|
|
403
|
+
z-index: 1;
|
|
404
|
+
}
|
|
405
|
+
.aplus-ap-form-item-text-group-compact .ant-picker:hover {
|
|
406
|
+
z-index: 1;
|
|
407
|
+
}
|
|
408
|
+
.aplus-ap-form-item-text-group-compact .ant-input-number-focused {
|
|
409
|
+
z-index: 1;
|
|
410
|
+
}
|
|
411
|
+
.aplus-ap-form-item-text-group-compact .ant-input-number:hover {
|
|
412
|
+
z-index: 1;
|
|
413
|
+
}
|
|
414
|
+
.aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-form-item-control-input-content > :first-child,
|
|
415
|
+
.aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-select-selector {
|
|
416
|
+
border-start-end-radius: 0;
|
|
417
|
+
border-end-end-radius: 0;
|
|
418
|
+
}
|
|
419
|
+
.aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-form-item-control-input-content > .ant-input-group > :last-child,
|
|
420
|
+
.aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-select-selector {
|
|
421
|
+
border-start-end-radius: 0;
|
|
422
|
+
border-end-end-radius: 0;
|
|
423
|
+
}
|
|
424
|
+
.aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > :first-child,
|
|
425
|
+
.aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
|
|
426
|
+
border-start-start-radius: 0;
|
|
427
|
+
border-end-start-radius: 0;
|
|
428
|
+
}
|
|
429
|
+
.aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > .ant-input-group > :first-child,
|
|
430
|
+
.aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
|
|
431
|
+
border-start-start-radius: 0;
|
|
432
|
+
border-end-start-radius: 0;
|
|
433
|
+
}
|
|
434
|
+
.aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > :first-child,
|
|
435
|
+
.aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
|
|
436
|
+
border-radius: 0;
|
|
437
|
+
}
|
|
438
|
+
.aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > .ant-input-group > *,
|
|
439
|
+
.aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
|
|
440
|
+
border-radius: 0;
|
|
441
|
+
}
|
|
442
|
+
.aplus-ap-form-item-text-group-compact .ant-input-group-addon:first-child {
|
|
443
|
+
border-radius: 0;
|
|
444
|
+
}
|
|
445
|
+
.ant-form-vertical .ant-input-group.ant-input-group-compact > * {
|
|
446
|
+
vertical-align: bottom;
|
|
447
|
+
}
|
|
448
|
+
.aplus-field-checkbox--vertical {
|
|
449
|
+
display: inline-block;
|
|
450
|
+
}
|
|
451
|
+
.aplus-field-checkbox--vertical label.ant-checkbox-wrapper:not(:last-child) {
|
|
452
|
+
display: flex;
|
|
453
|
+
margin-block-end: 12px;
|
|
454
|
+
}
|
|
455
|
+
.aplus-field-number-label-left {
|
|
456
|
+
padding-right: 4px;
|
|
457
|
+
}
|
|
458
|
+
.aplus-field-number-label-right {
|
|
459
|
+
padding-left: 4px;
|
|
460
|
+
}
|
|
461
|
+
.aplus-field-radio--vertical label.ant-radio-wrapper:not(:last-child) {
|
|
462
|
+
display: flex;
|
|
463
|
+
margin-block-end: 12px;
|
|
464
|
+
}
|
|
465
|
+
.aplus-field-text-area {
|
|
466
|
+
white-space: pre-wrap;
|
|
467
|
+
word-wrap: break-word;
|
|
468
|
+
word-break: break-all;
|
|
469
|
+
}
|
|
470
|
+
.aplus-action-item {
|
|
471
|
+
box-sizing: border-box;
|
|
472
|
+
margin: 0;
|
|
473
|
+
padding: 0;
|
|
474
|
+
color: #182948;
|
|
475
|
+
font-size: 12px;
|
|
476
|
+
font-family: inherit;
|
|
477
|
+
line-height: 18px;
|
|
478
|
+
list-style: none;
|
|
479
|
+
display: inline-block;
|
|
480
|
+
cursor: pointer;
|
|
481
|
+
}
|
|
482
|
+
.aplus-action-item--primary {
|
|
483
|
+
color: var(--ap-color-link);
|
|
484
|
+
}
|
|
485
|
+
.aplus-action-item--primary:not(.aplus-action-item--disabled):hover {
|
|
486
|
+
color: var(--ap-color-link-hover);
|
|
487
|
+
}
|
|
488
|
+
.aplus-action-item--success {
|
|
489
|
+
color: var(--ap-color-success);
|
|
490
|
+
}
|
|
491
|
+
.aplus-action-item--error {
|
|
492
|
+
color: var(--ap-color-error);
|
|
493
|
+
}
|
|
494
|
+
.aplus-action-item--warn {
|
|
495
|
+
color: var(--ap-color-warn);
|
|
496
|
+
}
|
|
497
|
+
.aplus-action-item--loading {
|
|
498
|
+
opacity: 0.35;
|
|
499
|
+
transition: opacity 0.2s;
|
|
500
|
+
cursor: default;
|
|
501
|
+
}
|
|
502
|
+
.aplus-action-item--loading .btn-loading-icon {
|
|
503
|
+
margin-right: 4px;
|
|
504
|
+
}
|
|
505
|
+
.aplus-action-item--disabled {
|
|
506
|
+
cursor: not-allowed;
|
|
507
|
+
}
|
|
508
|
+
.aplus-action-item--primary.aplus-action-item--disabled {
|
|
509
|
+
color: var(--ap-color-link-disabled);
|
|
510
|
+
}
|
|
511
|
+
.aplus-action-item--success.aplus-action-item--disabled {
|
|
512
|
+
color: var(--ap-color-success-disabled);
|
|
513
|
+
}
|
|
514
|
+
.aplus-action-item--error.aplus-action-item--disabled {
|
|
515
|
+
color: var(--ap-color-error-disabled);
|
|
516
|
+
}
|
|
517
|
+
.aplus-action-item--warn.aplus-action-item--disabled {
|
|
518
|
+
color: var(--ap-color-warn-disabled);
|
|
519
|
+
}
|
|
520
|
+
.aplus-action-item-dropdown__item .aplus-action-item {
|
|
521
|
+
width: 100%;
|
|
522
|
+
}
|
|
523
|
+
.aplus-action-item-dropdown__wrapper {
|
|
524
|
+
display: inline-flex;
|
|
525
|
+
flex-direction: row;
|
|
526
|
+
align-items: center;
|
|
527
|
+
}
|
|
528
|
+
.aplus-action-item-dropdown__icon {
|
|
529
|
+
color: #0070ff;
|
|
530
|
+
margin-left: 2px;
|
|
531
|
+
font-size: 12px;
|
|
532
|
+
display: inline-flex;
|
|
533
|
+
}
|
|
83
534
|
.aplus-ag-grid ::-webkit-scrollbar {
|
|
84
535
|
width: 10px;
|
|
85
536
|
height: 10px;
|
|
@@ -202,3 +653,20 @@
|
|
|
202
653
|
.aplus-ag-grid__cell--right {
|
|
203
654
|
text-align: right;
|
|
204
655
|
}
|
|
656
|
+
.aplus-ag-grid-size-mini .ag-cell {
|
|
657
|
+
line-height: 18px;
|
|
658
|
+
width: 100%;
|
|
659
|
+
display: flex;
|
|
660
|
+
align-items: center;
|
|
661
|
+
}
|
|
662
|
+
.aplus-ag-grid-size-mini .ag-cell > div {
|
|
663
|
+
width: 100%;
|
|
664
|
+
}
|
|
665
|
+
.aplus-ag-grid-size-medium .ag-cell {
|
|
666
|
+
line-height: 18px;
|
|
667
|
+
display: flex;
|
|
668
|
+
align-items: center;
|
|
669
|
+
}
|
|
670
|
+
.aplus-ag-grid-size-medium .ag-cell > div {
|
|
671
|
+
width: 100%;
|
|
672
|
+
}
|
package/theme/ag-grid/index.less
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
@import '../mixins/mixins.less';
|
|
2
2
|
@import '../mixins/config.less';
|
|
3
3
|
@import './custom-header.less';
|
|
4
|
+
@import '../ap-form/index.less';
|
|
5
|
+
@import '../ap-field/index.less';
|
|
6
|
+
@import '../ap-action/item.less';
|
|
7
|
+
@import '../ap-action/item-dropdown.less';
|
|
4
8
|
|
|
5
9
|
@aggrid: ~'@{ns}-ag-grid-grid-wrapper';
|
|
6
10
|
@pg: ~'@{ns}-ag-grid-pagination-wrapper';
|
|
@@ -115,4 +119,25 @@
|
|
|
115
119
|
&__cell--right {
|
|
116
120
|
text-align: right;
|
|
117
121
|
}
|
|
122
|
+
&-size-mini {
|
|
123
|
+
.ag-cell {
|
|
124
|
+
line-height: @line-height-base;
|
|
125
|
+
width: 100%;
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
& > div {
|
|
129
|
+
width: 100%;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
&-size-medium {
|
|
134
|
+
.ag-cell {
|
|
135
|
+
line-height: @line-height-base;
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
& > div {
|
|
139
|
+
width: 100%;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
118
143
|
});
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
.common-style::after {
|
|
45
45
|
box-sizing: border-box;
|
|
46
46
|
}
|
|
47
|
-
.aplus-ap-action-button-border-link:not(:disabled):hover,
|
|
47
|
+
.ant-btn.aplus-ap-action-button-border-link:not(:disabled):hover,
|
|
48
48
|
.aplus-ap-action-button-border-link:not(:disabled):active,
|
|
49
49
|
.aplus-ap-action-button-border-link:not(:disabled):focus {
|
|
50
50
|
border-color: var(--button-border-color);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import '../mixins/config.less';
|
|
2
2
|
@import '../mixins/mixins.less';
|
|
3
3
|
.b(ap-action-button-border-link,{
|
|
4
|
-
&:not(:disabled):hover,&:not(:disabled):active,&:not(:disabled):focus{
|
|
4
|
+
.ant-btn&:not(:disabled):hover,&:not(:disabled):active,&:not(:disabled):focus{
|
|
5
5
|
border-color: var(--button-border-color);
|
|
6
6
|
color: var(--button-border-color) !important;
|
|
7
7
|
}
|