@aplus-frontend/ui 6.21.1 → 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.
Files changed (117) hide show
  1. package/es/index.mjs +160 -155
  2. package/es/src/ag-grid/components/body-cell/index.vue.d.ts +6 -0
  3. package/es/src/ag-grid/components/body-cell/index.vue.mjs +4 -0
  4. package/es/src/ag-grid/components/body-cell/index.vue2.mjs +27 -0
  5. package/es/src/ag-grid/components/header-cell/index.vue.d.ts +6 -0
  6. package/es/src/ag-grid/components/header-cell/index.vue.mjs +4 -0
  7. package/es/src/ag-grid/components/header-cell/index.vue2.mjs +65 -0
  8. package/es/src/ag-grid/context.d.ts +18 -0
  9. package/es/src/ag-grid/context.mjs +17 -0
  10. package/es/src/ag-grid/hooks/use-row-selection.d.ts +78 -0
  11. package/es/src/ag-grid/hooks/use-row-selection.mjs +98 -0
  12. package/es/src/ag-grid/index.d.ts +3 -0
  13. package/es/src/ag-grid/index.mjs +2 -0
  14. package/es/src/ag-grid/index.vue.d.ts +43 -0
  15. package/es/src/ag-grid/index.vue.mjs +512 -0
  16. package/es/src/ag-grid/index.vue2.mjs +4 -0
  17. package/es/src/ag-grid/interface.d.ts +296 -0
  18. package/es/src/ag-grid/interface.mjs +1 -0
  19. package/es/src/ag-grid/style/css.d.ts +0 -0
  20. package/es/src/ag-grid/style/css.js +1 -0
  21. package/es/src/ag-grid/style/index.d.ts +0 -0
  22. package/es/src/ag-grid/style/index.js +1 -0
  23. package/es/src/ag-grid/theme.d.ts +3 -0
  24. package/es/src/ag-grid/theme.mjs +25 -0
  25. package/es/src/ap-field/number/index.vue.mjs +25 -25
  26. package/es/src/ap-grid/index.vue.mjs +1 -1
  27. package/es/src/ap-grid/utils/col.d.ts +11 -0
  28. package/es/src/ap-grid/utils/col.mjs +99 -95
  29. package/es/src/ap-pro-card/components/card/index.vue2.mjs +112 -102
  30. package/es/src/ap-pro-card/components/operation/index.vue.d.ts +18 -0
  31. package/es/src/ap-pro-card/components/operation/index.vue.mjs +4 -0
  32. package/es/src/ap-pro-card/components/operation/index.vue2.mjs +20 -0
  33. package/es/src/ap-pro-card/components/statistic/index.vue.d.ts +51 -0
  34. package/es/src/ap-pro-card/components/statistic/index.vue.mjs +4 -0
  35. package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +134 -0
  36. package/es/src/ap-pro-card/components/statistic-card/index.vue.d.ts +25 -0
  37. package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +4 -0
  38. package/es/src/ap-pro-card/components/statistic-card/index.vue2.mjs +116 -0
  39. package/es/src/ap-pro-card/index.d.ts +13 -3
  40. package/es/src/ap-pro-card/index.mjs +16 -4
  41. package/es/src/ap-pro-card/interface.d.ts +64 -0
  42. package/es/src/ap-table/utils.d.ts +1 -1
  43. package/es/src/ap-tag/ap-tag-group.vue.mjs +42 -42
  44. package/es/src/business/ap-label/group/ApLabelGroup.mjs +17 -15
  45. package/es/src/business/hooks/index.d.ts +1 -0
  46. package/es/src/business/hooks/index.mjs +8 -6
  47. package/es/src/business/hooks/usePageListAgGrid.d.ts +37 -0
  48. package/es/src/business/hooks/usePageListAgGrid.mjs +88 -0
  49. package/es/src/index.d.ts +1 -0
  50. package/es/src/index.mjs +296 -290
  51. package/es/src/version.d.ts +1 -1
  52. package/es/src/version.mjs +1 -1
  53. package/lib/index.js +1 -1
  54. package/lib/src/ag-grid/components/body-cell/index.vue.d.ts +6 -0
  55. package/lib/src/ag-grid/components/body-cell/index.vue.js +1 -0
  56. package/lib/src/ag-grid/components/body-cell/index.vue2.js +1 -0
  57. package/lib/src/ag-grid/components/header-cell/index.vue.d.ts +6 -0
  58. package/lib/src/ag-grid/components/header-cell/index.vue.js +1 -0
  59. package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -0
  60. package/lib/src/ag-grid/context.d.ts +18 -0
  61. package/lib/src/ag-grid/context.js +1 -0
  62. package/lib/src/ag-grid/hooks/use-row-selection.d.ts +78 -0
  63. package/lib/src/ag-grid/hooks/use-row-selection.js +1 -0
  64. package/lib/src/ag-grid/index.d.ts +3 -0
  65. package/lib/src/ag-grid/index.js +1 -0
  66. package/lib/src/ag-grid/index.vue.d.ts +43 -0
  67. package/lib/src/ag-grid/index.vue.js +1 -0
  68. package/lib/src/ag-grid/index.vue2.js +1 -0
  69. package/lib/src/ag-grid/interface.d.ts +296 -0
  70. package/lib/src/ag-grid/interface.js +1 -0
  71. package/lib/src/ag-grid/style/css.cjs +1 -0
  72. package/lib/src/ag-grid/style/css.d.ts +0 -0
  73. package/lib/src/ag-grid/style/index.cjs +1 -0
  74. package/lib/src/ag-grid/style/index.d.ts +0 -0
  75. package/lib/src/ag-grid/theme.d.ts +3 -0
  76. package/lib/src/ag-grid/theme.js +1 -0
  77. package/lib/src/ap-field/number/index.vue.js +1 -1
  78. package/lib/src/ap-grid/index.vue.js +1 -1
  79. package/lib/src/ap-grid/utils/col.d.ts +11 -0
  80. package/lib/src/ap-grid/utils/col.js +1 -1
  81. package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
  82. package/lib/src/ap-pro-card/components/operation/index.vue.d.ts +18 -0
  83. package/lib/src/ap-pro-card/components/operation/index.vue.js +1 -0
  84. package/lib/src/ap-pro-card/components/operation/index.vue2.js +1 -0
  85. package/lib/src/ap-pro-card/components/statistic/index.vue.d.ts +51 -0
  86. package/lib/src/ap-pro-card/components/statistic/index.vue.js +1 -0
  87. package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -0
  88. package/lib/src/ap-pro-card/components/statistic-card/index.vue.d.ts +25 -0
  89. package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -0
  90. package/lib/src/ap-pro-card/components/statistic-card/index.vue2.js +1 -0
  91. package/lib/src/ap-pro-card/index.d.ts +13 -3
  92. package/lib/src/ap-pro-card/index.js +1 -1
  93. package/lib/src/ap-pro-card/interface.d.ts +64 -0
  94. package/lib/src/ap-table/utils.d.ts +1 -1
  95. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  96. package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
  97. package/lib/src/business/hooks/index.d.ts +1 -0
  98. package/lib/src/business/hooks/index.js +1 -1
  99. package/lib/src/business/hooks/usePageListAgGrid.d.ts +37 -0
  100. package/lib/src/business/hooks/usePageListAgGrid.js +1 -0
  101. package/lib/src/index.d.ts +1 -0
  102. package/lib/src/index.js +1 -1
  103. package/lib/src/version.d.ts +1 -1
  104. package/lib/src/version.js +1 -1
  105. package/package.json +3 -1
  106. package/theme/ag-grid/index.css +468 -0
  107. package/theme/ag-grid/index.less +25 -0
  108. package/theme/ap-button/ap-button.css +1 -1
  109. package/theme/ap-button/ap-button.less +1 -1
  110. package/theme/ap-grid/index.css +3 -0
  111. package/theme/ap-grid/index.less +3 -0
  112. package/theme/ap-pro-card/index.css +147 -0
  113. package/theme/ap-pro-card/index.less +147 -0
  114. package/theme/ap-tag/ap-tag.css +1 -1
  115. package/theme/ap-tag/ap-tag.less +1 -1
  116. package/theme/index.css +330 -5
  117. package/theme/index.less +1 -0
@@ -309,3 +309,150 @@
309
309
  margin-inline: 24px;
310
310
  margin-block: 8px;
311
311
  }
312
+ .aplus-pro-card-operation {
313
+ display: flex;
314
+ flex-direction: column;
315
+ justify-content: flex-end;
316
+ margin-block: 24px;
317
+ margin-inline: 0;
318
+ font-weight: 500;
319
+ font-size: 20px;
320
+ line-height: 38px;
321
+ }
322
+ .aplus-pro-card-statistic {
323
+ display: flex;
324
+ }
325
+ .aplus-pro-card-statistic + .aplus-pro-card-statistic {
326
+ margin-block-start: 4px;
327
+ }
328
+ .aplus-pro-card-statistic-tip {
329
+ margin-inline-start: 4px;
330
+ color: var(--ap-text-color-3);
331
+ }
332
+ .aplus-pro-card-statistic-wrapper {
333
+ display: flex;
334
+ width: 100%;
335
+ }
336
+ .aplus-pro-card-statistic-status {
337
+ width: 14px;
338
+ }
339
+ .aplus-pro-card-statistic-status.ant-badge.ant-badge-status {
340
+ line-height: 18px;
341
+ }
342
+ .aplus-pro-card-statistic-icon {
343
+ margin-inline-end: 16px;
344
+ }
345
+ .aplus-pro-card-statistic-trend-icon {
346
+ width: 0;
347
+ height: 0;
348
+ border-inline-end: 3px solid transparent;
349
+ border-block-end: 6px solid #000;
350
+ border-inline-start: 3px solid transparent;
351
+ }
352
+ .aplus-pro-card-statistic-trend-icon-up {
353
+ transform: rotate(0deg) translateY(-1px);
354
+ }
355
+ .aplus-pro-card-statistic-trend-icon-down {
356
+ transform: rotate(180deg) translateY(1px);
357
+ }
358
+ .aplus-pro-card-statistic-content {
359
+ width: 100%;
360
+ }
361
+ .aplus-pro-card-statistic-content .ant-statistic-content-value-int {
362
+ font-size: 24px;
363
+ }
364
+ .aplus-pro-card-statistic-content .ant-statistic-content-value {
365
+ font-size: 24px;
366
+ }
367
+ .aplus-pro-card-statistic-content .ant-statistic-content-value-decimal {
368
+ font-size: 24px;
369
+ }
370
+ .aplus-pro-card-statistic-description {
371
+ width: 100%;
372
+ }
373
+ .aplus-pro-card-statistic .ant-statistic-title {
374
+ color: var(--ap-text-color-2);
375
+ line-height: 18px;
376
+ }
377
+ .aplus-pro-card-statistic-trend-up .ant-statistic-content {
378
+ color: var(--ap-color-error);
379
+ }
380
+ .aplus-pro-card-statistic-trend-up .aplus-pro-card-statistic-trend-icon {
381
+ border-block-end-color: var(--ap-color-error);
382
+ }
383
+ .aplus-pro-card-statistic-trend-down .ant-statistic-content {
384
+ color: var(--ap-color-success);
385
+ }
386
+ .aplus-pro-card-statistic-trend-down .aplus-pro-card-statistic-trend-icon {
387
+ border-block-end-color: var(--ap-color-success);
388
+ }
389
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal {
390
+ display: flex;
391
+ justify-content: space-between;
392
+ }
393
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-title {
394
+ margin-block-end: 0;
395
+ }
396
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-value {
397
+ font-weight: 500;
398
+ }
399
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-title,
400
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-value,
401
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-value-int,
402
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content,
403
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-suffix,
404
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-prefix,
405
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-value-decimal {
406
+ font-size: 14px;
407
+ }
408
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline {
409
+ display: inline-flex;
410
+ color: var(--ap-text-color-1);
411
+ }
412
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-title {
413
+ margin-inline-end: 6px;
414
+ margin-block-end: 0;
415
+ }
416
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content {
417
+ color: var(--ap-text-color-1);
418
+ }
419
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-title,
420
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-value,
421
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-value-int,
422
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content,
423
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-suffix,
424
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-prefix,
425
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-value-decimal {
426
+ font-size: 12px;
427
+ }
428
+ .aplus-statistic-card-chart {
429
+ display: flex;
430
+ flex-direction: column;
431
+ margin-block-start: 8px;
432
+ margin-block-end: 8px;
433
+ }
434
+ .aplus-statistic-card-chart-left {
435
+ margin-block-start: 0;
436
+ margin-inline-end: 16px;
437
+ }
438
+ .aplus-statistic-card-chart-right {
439
+ margin-block-start: 0;
440
+ margin-inline-start: 16px;
441
+ }
442
+ .aplus-statistic-card-content {
443
+ display: flex;
444
+ flex-direction: column;
445
+ }
446
+ .aplus-statistic-card-content-horizontal {
447
+ flex-direction: row;
448
+ }
449
+ .aplus-statistic-card-chart {
450
+ width: 100%;
451
+ align-items: center;
452
+ align-self: flex-start;
453
+ }
454
+ .aplus-statistic-card-footer {
455
+ margin-block-start: 8px;
456
+ padding-block-start: 16px;
457
+ border-block-start: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
458
+ }
@@ -183,3 +183,150 @@
183
183
  margin-block: 8px;
184
184
  }
185
185
  });
186
+
187
+ .b(pro-card-operation, {
188
+ display: flex;
189
+ flex-direction: column;
190
+ justify-content: flex-end;
191
+ margin-block: 24px;
192
+ margin-inline: 0;
193
+ font-weight: 500;
194
+ font-size: 20px;
195
+ line-height: 38px;
196
+ });
197
+
198
+ .b(pro-card-statistic, {
199
+ display: flex;
200
+ & + & {
201
+ margin-block-start: 4px;
202
+ }
203
+ &-tip {
204
+ margin-inline-start: 4px;
205
+ color: var(--ap-text-color-3);
206
+ }
207
+ &-wrapper {
208
+ display: flex;
209
+ width: 100%;
210
+ }
211
+ &-status {
212
+ width: 14px;
213
+ &.ant-badge.ant-badge-status {
214
+ line-height: 18px;
215
+ }
216
+ }
217
+ &-icon {
218
+ margin-inline-end: 16px;
219
+ }
220
+ &-trend-icon {
221
+ width: 0;
222
+ height: 0;
223
+ border-inline-end: 3px solid transparent;
224
+ border-block-end: 6px solid #000;
225
+ border-inline-start: 3px solid transparent;
226
+ &-up {
227
+ transform: rotate(0deg) translateY(-1px);
228
+ }
229
+ &-down {
230
+ transform: rotate(180deg) translateY(1px);
231
+ }
232
+ }
233
+ &-content {
234
+ width: 100%;
235
+ .ant-statistic-content {
236
+ &-value-int {
237
+ font-size: 24px;
238
+ }
239
+ &-value {
240
+ font-size: 24px;
241
+ }
242
+ &-value-decimal {
243
+ font-size: 24px;
244
+ }
245
+ }
246
+ }
247
+ &-description {
248
+ width: 100%;
249
+ }
250
+ .ant-statistic-title {
251
+ color: var(--ap-text-color-2);
252
+ line-height: 18px;
253
+ }
254
+ &-trend-up {
255
+ .ant-statistic-content {
256
+ color: var(--ap-color-error);
257
+ }
258
+ }
259
+ &-trend-up &-trend-icon {
260
+ border-block-end-color: var(--ap-color-error);
261
+ }
262
+ &-trend-down {
263
+ .ant-statistic-content {
264
+ color: var(--ap-color-success);
265
+ }
266
+ }
267
+ &-trend-down &-trend-icon {
268
+ border-block-end-color: var(--ap-color-success);
269
+ }
270
+
271
+ & &-layout-horizontal {
272
+ display: flex;
273
+ justify-content: space-between;
274
+ .ant-statistic-title {
275
+ margin-block-end: 0;
276
+ }
277
+ .ant-statistic-content-value {
278
+ font-weight: 500;
279
+ }
280
+ .ant-statistic-title,.ant-statistic-content-value,.ant-statistic-content-value-int,.ant-statistic-content,.ant-statistic-content-suffix,.ant-statistic-content-prefix,.ant-statistic-content-value-decimal {
281
+ font-size: 14px;
282
+ }
283
+ }
284
+ & &-layout-inline {
285
+ display: inline-flex;
286
+ color: var(--ap-text-color-1);
287
+ .ant-statistic-title {
288
+ margin-inline-end: 6px;
289
+ margin-block-end: 0;
290
+ }
291
+ .ant-statistic-content {
292
+ color: var(--ap-text-color-1);
293
+ }
294
+ .ant-statistic-title,.ant-statistic-content-value,.ant-statistic-content-value-int,.ant-statistic-content,.ant-statistic-content-suffix,.ant-statistic-content-prefix,.ant-statistic-content-value-decimal {
295
+ font-size: 12px;
296
+ }
297
+ }
298
+ });
299
+
300
+ .b(statistic-card, {
301
+ &-chart {
302
+ display: flex;
303
+ flex-direction: column;
304
+ margin-block-start: 8px;
305
+ margin-block-end: 8px;
306
+ &-left {
307
+ margin-block-start: 0;
308
+ margin-inline-end: 16px;
309
+ }
310
+ &-right {
311
+ margin-block-start: 0;
312
+ margin-inline-start: 16px;
313
+ }
314
+ }
315
+ &-content {
316
+ display: flex;
317
+ flex-direction: column;
318
+ &-horizontal {
319
+ flex-direction: row;
320
+ }
321
+ }
322
+ &-chart {
323
+ width: 100%;
324
+ align-items: center;
325
+ align-self: flex-start;
326
+ }
327
+ &-footer {
328
+ margin-block-start: 8px;
329
+ padding-block-start: 16px;
330
+ border-block-start: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
331
+ }
332
+ });
@@ -78,7 +78,7 @@
78
78
  color: var(--ap-text-color-2);
79
79
  }
80
80
  .aplus-tag-wrapper-border > * {
81
- border: 1px solid var(--tag-main-color);
81
+ outline: 1px solid var(--tag-main-color);
82
82
  background-color: var(--tag-main-color-opacity);
83
83
  color: var(--tag-main-color);
84
84
  }
@@ -39,7 +39,7 @@
39
39
  }
40
40
  &-wrapper-border {
41
41
  & > * {
42
- border: 1px solid var(--tag-main-color);
42
+ outline: 1px solid var(--tag-main-color);
43
43
  background-color: var(--tag-main-color-opacity);
44
44
  color: var(--tag-main-color);
45
45
  }
package/theme/index.css CHANGED
@@ -829,7 +829,7 @@
829
829
  margin-bottom: 8px;
830
830
  border-bottom: 1px solid var(--ap-color-bg);
831
831
  }
832
- .aplus-ap-action-button-border-link:not(:disabled):hover,
832
+ .ant-btn.aplus-ap-action-button-border-link:not(:disabled):hover,
833
833
  .aplus-ap-action-button-border-link:not(:disabled):active,
834
834
  .aplus-ap-action-button-border-link:not(:disabled):focus {
835
835
  border-color: var(--button-border-color);
@@ -2370,7 +2370,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2370
2370
  color: var(--ap-text-color-2);
2371
2371
  }
2372
2372
  .aplus-tag-wrapper-border > * {
2373
- border: 1px solid var(--tag-main-color);
2373
+ outline: 1px solid var(--tag-main-color);
2374
2374
  background-color: var(--tag-main-color-opacity);
2375
2375
  color: var(--tag-main-color);
2376
2376
  }
@@ -3415,16 +3415,16 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
3415
3415
  min-height: 0;
3416
3416
  flex: 1;
3417
3417
  }
3418
- .aplus-ap-grid .aplus-ap-grid-pagination-wrapper ul.ant-pagination {
3418
+ .aplus-ap-grid .aplus-ag-grid-pagination-wrapper ul.ant-pagination {
3419
3419
  margin-block: 8px;
3420
3420
  }
3421
- .aplus-ap-grid-sticky .aplus-ap-grid-pagination-wrapper {
3421
+ .aplus-ap-grid-sticky .aplus-ag-grid-pagination-wrapper {
3422
3422
  background-color: #fff;
3423
3423
  z-index: 10;
3424
3424
  position: sticky;
3425
3425
  bottom: 0;
3426
3426
  }
3427
- .aplus-ap-grid-sticky:has(.aplus-scroll-bar) .aplus-ap-grid-pagination-wrapper ul.ant-pagination {
3427
+ .aplus-ap-grid-sticky:has(.aplus-scroll-bar) .aplus-ag-grid-pagination-wrapper ul.ant-pagination {
3428
3428
  margin-top: 0;
3429
3429
  padding-top: 4px;
3430
3430
  }
@@ -3529,6 +3529,9 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
3529
3529
  word-break: break-all;
3530
3530
  flex: 1;
3531
3531
  }
3532
+ .aplus-ap-grid-table-header__title--single {
3533
+ flex: unset;
3534
+ }
3532
3535
  .aplus-ap-grid th.vxe-header--column .vxe-cell--wrapper {
3533
3536
  display: flex;
3534
3537
  flex-direction: row;
@@ -4145,6 +4148,181 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
4145
4148
  min-height: 200px;
4146
4149
  padding: 20px;
4147
4150
  }
4151
+ .aplus-ag-custom-header {
4152
+ display: flex;
4153
+ flex-direction: row;
4154
+ flex-wrap: nowrap;
4155
+ align-items: center;
4156
+ flex: 1;
4157
+ }
4158
+ .aplus-ag-custom-header.sortable:hover {
4159
+ cursor: pointer;
4160
+ }
4161
+ .aplus-ag-custom-header.align-center {
4162
+ justify-content: center;
4163
+ }
4164
+ .aplus-ag-custom-header.align-right {
4165
+ justify-content: end;
4166
+ }
4167
+ .aplus-ag-custom-header__sort-wrapper {
4168
+ display: inline-flex;
4169
+ flex-direction: column;
4170
+ align-items: center;
4171
+ color: rgba(0, 0, 0, 0.29);
4172
+ margin-left: 4px;
4173
+ }
4174
+ .aplus-ag-custom-header__sort-wrapper:hover {
4175
+ color: rgba(0, 0, 0, 0.57);
4176
+ cursor: pointer;
4177
+ }
4178
+ .aplus-ag-custom-header__sorter-up.active {
4179
+ color: var(--ap-color-primary);
4180
+ }
4181
+ .aplus-ag-custom-header__sorter-down {
4182
+ margin-top: -0.3em;
4183
+ }
4184
+ .aplus-ag-custom-header__sorter-down.active {
4185
+ color: var(--ap-color-primary);
4186
+ }
4187
+ .aplus-ag-grid ::-webkit-scrollbar {
4188
+ width: 10px;
4189
+ height: 10px;
4190
+ }
4191
+ .aplus-ag-grid ::-webkit-scrollbar-thumb {
4192
+ background-color: var(--ap-scrollbar-thumb-color-base);
4193
+ background-clip: content-box;
4194
+ border: 1px solid transparent;
4195
+ border-radius: 4px;
4196
+ }
4197
+ .aplus-ag-grid ::-webkit-scrollbar-track,
4198
+ .aplus-ag-grid ::-webkit-scrollbar-corner {
4199
+ background-color: var(--ap-table-header-bg, #f2f6f9);
4200
+ }
4201
+ .aplus-ag-grid ::-webkit-scrollbar-thumb:hover,
4202
+ .aplus-ag-grid ::-webkit-scrollbar-thumb:active {
4203
+ background-color: var(--ap-scrollbar-thumb-color-hover);
4204
+ }
4205
+ .aplus-ag-grid-adaptive {
4206
+ height: 100%;
4207
+ display: flex;
4208
+ flex-direction: column;
4209
+ }
4210
+ .aplus-ag-grid-adaptive .aplus-ag-grid-grid-wrapper {
4211
+ min-height: 0;
4212
+ flex: 1;
4213
+ position: relative;
4214
+ }
4215
+ .aplus-ag-grid-wrapper {
4216
+ padding: 8px;
4217
+ padding-bottom: 12px;
4218
+ background-color: #fff;
4219
+ }
4220
+ .aplus-ag-grid-wrapper:has(ul.ant-pagination) {
4221
+ padding-bottom: 0;
4222
+ }
4223
+ .aplus-ag-grid-sticky > .aplus-ag-grid__table-wrapper-card {
4224
+ padding-bottom: 0;
4225
+ }
4226
+ .aplus-ag-grid__search-wrapper {
4227
+ padding: 8px;
4228
+ padding-bottom: 0;
4229
+ background-color: #fff;
4230
+ border-radius: 4px;
4231
+ margin-bottom: 10px;
4232
+ }
4233
+ .aplus-ag-grid__table-wrapper {
4234
+ flex: 1;
4235
+ min-height: 0;
4236
+ max-height: 100%;
4237
+ width: 100%;
4238
+ display: flex;
4239
+ flex-direction: column;
4240
+ }
4241
+ .aplus-ag-grid__table-wrapper-card {
4242
+ padding: 8px;
4243
+ padding-bottom: 12px;
4244
+ border-radius: 4px;
4245
+ background-color: #fff;
4246
+ }
4247
+ .aplus-ag-grid__table-wrapper-card:has(ul.ant-pagination) {
4248
+ padding-bottom: 0;
4249
+ }
4250
+ .aplus-ag-grid-pagination {
4251
+ margin-block: 8px;
4252
+ display: flex;
4253
+ flex-wrap: wrap;
4254
+ align-items: center;
4255
+ row-gap: 8px;
4256
+ }
4257
+ .aplus-ag-grid-pagination .ant-pagination-total-text {
4258
+ flex: 1;
4259
+ height: unset;
4260
+ line-height: 18px;
4261
+ display: flex;
4262
+ align-items: center;
4263
+ }
4264
+ .aplus-ag-grid__table-loading-wrapper {
4265
+ position: absolute;
4266
+ top: 0;
4267
+ left: 0;
4268
+ width: 100%;
4269
+ height: 100%;
4270
+ z-index: 1;
4271
+ display: flex;
4272
+ justify-content: center;
4273
+ align-items: center;
4274
+ background-color: var(--vxe-ui-loading-background-color);
4275
+ }
4276
+ .aplus-ag-grid-pagination-count-text {
4277
+ color: var(--ap-text-color-2);
4278
+ }
4279
+ .aplus-ag-grid-pagination--total-right {
4280
+ padding-left: 12px;
4281
+ }
4282
+ .aplus-ag-grid-pagination-total-wrapper {
4283
+ color: var(--ap-text-color-1);
4284
+ }
4285
+ .aplus-ag-grid-table-header__title {
4286
+ display: -webkit-inline-box;
4287
+ -webkit-line-clamp: 2;
4288
+ -webkit-box-orient: vertical;
4289
+ overflow: hidden;
4290
+ text-overflow: ellipsis;
4291
+ white-space: normal;
4292
+ max-width: 100%;
4293
+ vertical-align: middle;
4294
+ word-break: break-all;
4295
+ flex: 1;
4296
+ }
4297
+ .aplus-ag-grid-table-header__title--single {
4298
+ flex: unset;
4299
+ }
4300
+ .aplus-ag-grid__cell--left {
4301
+ text-align: left;
4302
+ }
4303
+ .aplus-ag-grid__cell--center {
4304
+ text-align: center;
4305
+ }
4306
+ .aplus-ag-grid__cell--right {
4307
+ text-align: right;
4308
+ }
4309
+ .aplus-ag-grid-size-mini .ag-cell {
4310
+ line-height: 18px;
4311
+ width: 100%;
4312
+ display: flex;
4313
+ align-items: center;
4314
+ }
4315
+ .aplus-ag-grid-size-mini .ag-cell > div {
4316
+ width: 100%;
4317
+ }
4318
+ .aplus-ag-grid-size-medium .ag-cell {
4319
+ line-height: 18px;
4320
+ display: flex;
4321
+ align-items: center;
4322
+ }
4323
+ .aplus-ag-grid-size-medium .ag-cell > div {
4324
+ width: 100%;
4325
+ }
4148
4326
  .aplus-ap-value-select-card {
4149
4327
  position: relative;
4150
4328
  margin-top: 8px;
@@ -4527,3 +4705,150 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
4527
4705
  margin-inline: 24px;
4528
4706
  margin-block: 8px;
4529
4707
  }
4708
+ .aplus-pro-card-operation {
4709
+ display: flex;
4710
+ flex-direction: column;
4711
+ justify-content: flex-end;
4712
+ margin-block: 24px;
4713
+ margin-inline: 0;
4714
+ font-weight: 500;
4715
+ font-size: 20px;
4716
+ line-height: 38px;
4717
+ }
4718
+ .aplus-pro-card-statistic {
4719
+ display: flex;
4720
+ }
4721
+ .aplus-pro-card-statistic + .aplus-pro-card-statistic {
4722
+ margin-block-start: 4px;
4723
+ }
4724
+ .aplus-pro-card-statistic-tip {
4725
+ margin-inline-start: 4px;
4726
+ color: var(--ap-text-color-3);
4727
+ }
4728
+ .aplus-pro-card-statistic-wrapper {
4729
+ display: flex;
4730
+ width: 100%;
4731
+ }
4732
+ .aplus-pro-card-statistic-status {
4733
+ width: 14px;
4734
+ }
4735
+ .aplus-pro-card-statistic-status.ant-badge.ant-badge-status {
4736
+ line-height: 18px;
4737
+ }
4738
+ .aplus-pro-card-statistic-icon {
4739
+ margin-inline-end: 16px;
4740
+ }
4741
+ .aplus-pro-card-statistic-trend-icon {
4742
+ width: 0;
4743
+ height: 0;
4744
+ border-inline-end: 3px solid transparent;
4745
+ border-block-end: 6px solid #000;
4746
+ border-inline-start: 3px solid transparent;
4747
+ }
4748
+ .aplus-pro-card-statistic-trend-icon-up {
4749
+ transform: rotate(0deg) translateY(-1px);
4750
+ }
4751
+ .aplus-pro-card-statistic-trend-icon-down {
4752
+ transform: rotate(180deg) translateY(1px);
4753
+ }
4754
+ .aplus-pro-card-statistic-content {
4755
+ width: 100%;
4756
+ }
4757
+ .aplus-pro-card-statistic-content .ant-statistic-content-value-int {
4758
+ font-size: 24px;
4759
+ }
4760
+ .aplus-pro-card-statistic-content .ant-statistic-content-value {
4761
+ font-size: 24px;
4762
+ }
4763
+ .aplus-pro-card-statistic-content .ant-statistic-content-value-decimal {
4764
+ font-size: 24px;
4765
+ }
4766
+ .aplus-pro-card-statistic-description {
4767
+ width: 100%;
4768
+ }
4769
+ .aplus-pro-card-statistic .ant-statistic-title {
4770
+ color: var(--ap-text-color-2);
4771
+ line-height: 18px;
4772
+ }
4773
+ .aplus-pro-card-statistic-trend-up .ant-statistic-content {
4774
+ color: var(--ap-color-error);
4775
+ }
4776
+ .aplus-pro-card-statistic-trend-up .aplus-pro-card-statistic-trend-icon {
4777
+ border-block-end-color: var(--ap-color-error);
4778
+ }
4779
+ .aplus-pro-card-statistic-trend-down .ant-statistic-content {
4780
+ color: var(--ap-color-success);
4781
+ }
4782
+ .aplus-pro-card-statistic-trend-down .aplus-pro-card-statistic-trend-icon {
4783
+ border-block-end-color: var(--ap-color-success);
4784
+ }
4785
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal {
4786
+ display: flex;
4787
+ justify-content: space-between;
4788
+ }
4789
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-title {
4790
+ margin-block-end: 0;
4791
+ }
4792
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-value {
4793
+ font-weight: 500;
4794
+ }
4795
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-title,
4796
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-value,
4797
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-value-int,
4798
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content,
4799
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-suffix,
4800
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-prefix,
4801
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-horizontal .ant-statistic-content-value-decimal {
4802
+ font-size: 14px;
4803
+ }
4804
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline {
4805
+ display: inline-flex;
4806
+ color: var(--ap-text-color-1);
4807
+ }
4808
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-title {
4809
+ margin-inline-end: 6px;
4810
+ margin-block-end: 0;
4811
+ }
4812
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content {
4813
+ color: var(--ap-text-color-1);
4814
+ }
4815
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-title,
4816
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-value,
4817
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-value-int,
4818
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content,
4819
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-suffix,
4820
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-prefix,
4821
+ .aplus-pro-card-statistic .aplus-pro-card-statistic-layout-inline .ant-statistic-content-value-decimal {
4822
+ font-size: 12px;
4823
+ }
4824
+ .aplus-statistic-card-chart {
4825
+ display: flex;
4826
+ flex-direction: column;
4827
+ margin-block-start: 8px;
4828
+ margin-block-end: 8px;
4829
+ }
4830
+ .aplus-statistic-card-chart-left {
4831
+ margin-block-start: 0;
4832
+ margin-inline-end: 16px;
4833
+ }
4834
+ .aplus-statistic-card-chart-right {
4835
+ margin-block-start: 0;
4836
+ margin-inline-start: 16px;
4837
+ }
4838
+ .aplus-statistic-card-content {
4839
+ display: flex;
4840
+ flex-direction: column;
4841
+ }
4842
+ .aplus-statistic-card-content-horizontal {
4843
+ flex-direction: row;
4844
+ }
4845
+ .aplus-statistic-card-chart {
4846
+ width: 100%;
4847
+ align-items: center;
4848
+ align-self: flex-start;
4849
+ }
4850
+ .aplus-statistic-card-footer {
4851
+ margin-block-start: 8px;
4852
+ padding-block-start: 16px;
4853
+ border-block-start: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
4854
+ }
package/theme/index.less CHANGED
@@ -51,5 +51,6 @@
51
51
  @import './ap-radio-group/ap-radio-group.less';
52
52
  @import './ap-drawer/ap-drawer.less';
53
53
  @import './ap-draggable-grid/ap-draggable-grid.less';
54
+ @import './ag-grid/index.less';
54
55
  @import './ap-value-select-card/index.less';
55
56
  @import './ap-pro-card/index.less';