@aplus-frontend/ui 0.0.1 → 0.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.
Files changed (73) hide show
  1. package/es/src/ap-field/date/index.vue.d.ts +63 -5
  2. package/es/src/ap-field/date/index.vue.mjs +115 -46
  3. package/es/src/ap-field/date-range/index.vue.d.ts +68 -6
  4. package/es/src/ap-field/date-range/index.vue.mjs +135 -62
  5. package/es/src/ap-field/interface.d.ts +3 -7
  6. package/es/src/ap-field/select/index.vue.d.ts +45 -179
  7. package/es/src/ap-field/select/index.vue.mjs +137 -66
  8. package/es/src/ap-form/items/date/index.vue.mjs +27 -29
  9. package/es/src/ap-form/items/date-range/index.vue.d.ts +1 -1
  10. package/es/src/ap-form/items/date-range/index.vue.mjs +27 -29
  11. package/es/src/ap-form/items/interface.d.ts +1 -1
  12. package/es/src/ap-form/items/select/index.vue.mjs +32 -32
  13. package/es/src/ap-table/ap-table.vue.d.ts +7 -7
  14. package/es/src/ap-table/ap-table.vue.mjs +141 -117
  15. package/es/src/ap-table/constants.d.ts +3092 -1827
  16. package/es/src/ap-table/hooks/use-table-paging.mjs +23 -23
  17. package/es/src/ap-table/interface.d.ts +21 -13
  18. package/es/src/ap-table/utils.d.ts +47 -0
  19. package/es/src/ap-table/utils.mjs +68 -20
  20. package/es/src/ap-tag/style/ap-tag-group.css +1 -0
  21. package/es/src/ap-tag/style/ap-tag.css +1 -0
  22. package/es/src/pro-form/components/form-action.vue2.mjs +37 -35
  23. package/es/src/pro-form/hooks/use-advanced.mjs +45 -45
  24. package/es/src/pro-table/style/pro-table.css +3 -0
  25. package/es/src/theme/antd-global-overwrite/admin/button.css +0 -11
  26. package/es/src/theme/antd-global-overwrite/admin/index.css +35 -31
  27. package/es/src/theme/antd-global-overwrite/admin/table.css +35 -20
  28. package/es/src/theme/antd-global-overwrite/aplus/button.css +0 -11
  29. package/es/src/theme/antd-global-overwrite/aplus/index.css +35 -31
  30. package/es/src/theme/antd-global-overwrite/aplus/table.css +35 -20
  31. package/es/src/theme/ap-tag/ap-tag-group.css +1 -0
  32. package/es/src/theme/ap-tag/ap-tag.css +1 -0
  33. package/es/src/theme/pro-table/pro-table.css +3 -0
  34. package/es/src/utils/index.d.ts +8 -0
  35. package/es/src/utils/index.mjs +40 -32
  36. package/es/src/work-order-modal/work-order-modal.vue.mjs +6 -8
  37. package/lib/src/ap-field/date/index.vue.d.ts +63 -5
  38. package/lib/src/ap-field/date/index.vue.js +1 -1
  39. package/lib/src/ap-field/date-range/index.vue.d.ts +68 -6
  40. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  41. package/lib/src/ap-field/interface.d.ts +3 -7
  42. package/lib/src/ap-field/select/index.vue.d.ts +45 -179
  43. package/lib/src/ap-field/select/index.vue.js +1 -1
  44. package/lib/src/ap-form/items/date/index.vue.js +1 -1
  45. package/lib/src/ap-form/items/date-range/index.vue.d.ts +1 -1
  46. package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
  47. package/lib/src/ap-form/items/interface.d.ts +1 -1
  48. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  49. package/lib/src/ap-table/ap-table.vue.d.ts +7 -7
  50. package/lib/src/ap-table/ap-table.vue.js +1 -1
  51. package/lib/src/ap-table/constants.d.ts +3092 -1827
  52. package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
  53. package/lib/src/ap-table/interface.d.ts +21 -13
  54. package/lib/src/ap-table/utils.d.ts +47 -0
  55. package/lib/src/ap-table/utils.js +1 -1
  56. package/lib/src/ap-tag/style/ap-tag-group.css +1 -0
  57. package/lib/src/ap-tag/style/ap-tag.css +1 -0
  58. package/lib/src/pro-form/components/form-action.vue2.js +1 -1
  59. package/lib/src/pro-form/hooks/use-advanced.js +1 -1
  60. package/lib/src/pro-table/style/pro-table.css +3 -0
  61. package/lib/src/theme/antd-global-overwrite/admin/button.css +0 -11
  62. package/lib/src/theme/antd-global-overwrite/admin/index.css +35 -31
  63. package/lib/src/theme/antd-global-overwrite/admin/table.css +35 -20
  64. package/lib/src/theme/antd-global-overwrite/aplus/button.css +0 -11
  65. package/lib/src/theme/antd-global-overwrite/aplus/index.css +35 -31
  66. package/lib/src/theme/antd-global-overwrite/aplus/table.css +35 -20
  67. package/lib/src/theme/ap-tag/ap-tag-group.css +1 -0
  68. package/lib/src/theme/ap-tag/ap-tag.css +1 -0
  69. package/lib/src/theme/pro-table/pro-table.css +3 -0
  70. package/lib/src/utils/index.d.ts +8 -0
  71. package/lib/src/utils/index.js +1 -1
  72. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  73. package/package.json +3 -3
@@ -1,5 +1,4 @@
1
1
  .ant-btn {
2
- min-width: 88px;
3
2
  box-shadow: none;
4
3
  }
5
4
  .ant-btn-primary[disabled],
@@ -26,13 +25,3 @@
26
25
  .ant-btn-text[disabled]:hover {
27
26
  color: rgba(24, 144, 255, 0.2) !important;
28
27
  }
29
- .ant-form-item-control-input-content [text='重置'],
30
- .ant-form-item-control-input-content [text='查询'],
31
- .ant-form-item-control-input-content [text='Reset'],
32
- .ant-form-item-control-input-content [text='Search'] {
33
- min-width: 0;
34
- }
35
- .ant-btn-link,
36
- .ant-btn-text {
37
- min-width: 0;
38
- }
@@ -46,7 +46,6 @@
46
46
  border: 1px solid rgba(255, 77, 79, 0.4);
47
47
  }
48
48
  .ant-btn {
49
- min-width: 88px;
50
49
  box-shadow: none;
51
50
  }
52
51
  .ant-btn-primary[disabled],
@@ -73,16 +72,6 @@
73
72
  .ant-btn-text[disabled]:hover {
74
73
  color: rgba(24, 144, 255, 0.2) !important;
75
74
  }
76
- .ant-form-item-control-input-content [text='重置'],
77
- .ant-form-item-control-input-content [text='查询'],
78
- .ant-form-item-control-input-content [text='Reset'],
79
- .ant-form-item-control-input-content [text='Search'] {
80
- min-width: 0;
81
- }
82
- .ant-btn-link,
83
- .ant-btn-text {
84
- min-width: 0;
85
- }
86
75
  .ant-form .ant-form-item label {
87
76
  font-weight: normal;
88
77
  }
@@ -453,13 +442,21 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
453
442
  inset-inline-start: 13px;
454
443
  margin: 6px 0;
455
444
  }
456
- .ant-table-wrapper {
445
+ [class$='-basic-table'],
446
+ [class$='-basic-table-form-container'] {
447
+ width: 100%;
448
+ height: 100%;
449
+ }
450
+ [class$='-basic-table'] .ant-table-wrapper,
451
+ [class$='-basic-table-form-container'] .ant-table-wrapper {
457
452
  padding: 12px 16px 16px;
458
453
  background-color: #ffffff;
459
454
  border-radius: 0;
460
455
  }
461
- .ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
462
- .ant-table-wrapper .ant-table.ant-table-small > .ant-table-title {
456
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
457
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
458
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small > .ant-table-title,
459
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small > .ant-table-title {
463
460
  display: flex;
464
461
  align-items: center;
465
462
  justify-content: space-between;
@@ -467,51 +464,58 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
467
464
  padding: 0 0 12px;
468
465
  border: none;
469
466
  }
470
- .ant-table-wrapper .ant-table {
467
+ [class$='-basic-table'] .ant-table-wrapper .ant-table,
468
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table {
471
469
  width: 100%;
472
470
  overflow-x: hidden;
473
471
  border-radius: 0;
474
472
  }
475
- .ant-table-wrapper .ant-table .ant-table-container {
473
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container,
474
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container {
476
475
  border-radius: 0;
477
476
  }
478
- .ant-table-wrapper .ant-table .ant-table-container table {
477
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container table,
478
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container table {
479
479
  border-radius: 0;
480
480
  }
481
- .ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child {
481
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child,
482
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child {
482
483
  border-radius: 0;
483
484
  }
484
- .ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
485
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header,
486
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
485
487
  border-radius: 0;
486
488
  }
487
- .ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td {
489
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td,
490
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td {
488
491
  padding: 13.5px 16px;
489
492
  line-height: 20px;
490
493
  }
491
- .ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th {
494
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th,
495
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th {
492
496
  padding: 13.5px 16px;
493
497
  line-height: 20px;
494
498
  }
495
- .ant-table-wrapper .ant-table-footer {
499
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-footer,
500
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer {
496
501
  padding: 0;
497
502
  }
498
- .ant-table-wrapper .ant-table-footer .ant-table-wrapper {
503
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-footer .ant-table-wrapper,
504
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer .ant-table-wrapper {
499
505
  padding: 0;
500
506
  }
501
- .ant-table-wrapper .ant-table-footer table {
507
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-footer table,
508
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer table {
502
509
  border: none;
503
510
  }
504
- .ant-table-wrapper .ant-table-footer .ant-table-body {
511
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-footer .ant-table-body,
512
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer .ant-table-body {
505
513
  overflow-x: hidden;
506
514
  }
507
- .ant-table-wrapper .ant-table-footer td {
515
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-footer td,
516
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer td {
508
517
  padding: 12px 8px;
509
518
  }
510
- [class$='-basic-table'],
511
- [class$='-basic-table-form-container'] {
512
- width: 100%;
513
- height: 100%;
514
- }
515
519
  [class$='-basic-table-form-container'] {
516
520
  padding: 16px;
517
521
  }
@@ -1,10 +1,18 @@
1
- .ant-table-wrapper {
1
+ [class$='-basic-table'],
2
+ [class$='-basic-table-form-container'] {
3
+ width: 100%;
4
+ height: 100%;
5
+ }
6
+ [class$='-basic-table'] .ant-table-wrapper,
7
+ [class$='-basic-table-form-container'] .ant-table-wrapper {
2
8
  padding: 12px 16px 16px;
3
9
  background-color: #ffffff;
4
10
  border-radius: 0;
5
11
  }
6
- .ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
7
- .ant-table-wrapper .ant-table.ant-table-small > .ant-table-title {
12
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
13
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
14
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small > .ant-table-title,
15
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small > .ant-table-title {
8
16
  display: flex;
9
17
  align-items: center;
10
18
  justify-content: space-between;
@@ -12,51 +20,58 @@
12
20
  padding: 0 0 12px;
13
21
  border: none;
14
22
  }
15
- .ant-table-wrapper .ant-table {
23
+ [class$='-basic-table'] .ant-table-wrapper .ant-table,
24
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table {
16
25
  width: 100%;
17
26
  overflow-x: hidden;
18
27
  border-radius: 0;
19
28
  }
20
- .ant-table-wrapper .ant-table .ant-table-container {
29
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container,
30
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container {
21
31
  border-radius: 0;
22
32
  }
23
- .ant-table-wrapper .ant-table .ant-table-container table {
33
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container table,
34
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container table {
24
35
  border-radius: 0;
25
36
  }
26
- .ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child {
37
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child,
38
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child {
27
39
  border-radius: 0;
28
40
  }
29
- .ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
41
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header,
42
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
30
43
  border-radius: 0;
31
44
  }
32
- .ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td {
45
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td,
46
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td {
33
47
  padding: 13.5px 16px;
34
48
  line-height: 20px;
35
49
  }
36
- .ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th {
50
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th,
51
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th {
37
52
  padding: 13.5px 16px;
38
53
  line-height: 20px;
39
54
  }
40
- .ant-table-wrapper .ant-table-footer {
55
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-footer,
56
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer {
41
57
  padding: 0;
42
58
  }
43
- .ant-table-wrapper .ant-table-footer .ant-table-wrapper {
59
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-footer .ant-table-wrapper,
60
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer .ant-table-wrapper {
44
61
  padding: 0;
45
62
  }
46
- .ant-table-wrapper .ant-table-footer table {
63
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-footer table,
64
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer table {
47
65
  border: none;
48
66
  }
49
- .ant-table-wrapper .ant-table-footer .ant-table-body {
67
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-footer .ant-table-body,
68
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer .ant-table-body {
50
69
  overflow-x: hidden;
51
70
  }
52
- .ant-table-wrapper .ant-table-footer td {
71
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-footer td,
72
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer td {
53
73
  padding: 12px 8px;
54
74
  }
55
- [class$='-basic-table'],
56
- [class$='-basic-table-form-container'] {
57
- width: 100%;
58
- height: 100%;
59
- }
60
75
  [class$='-basic-table-form-container'] {
61
76
  padding: 16px;
62
77
  }
@@ -1,5 +1,4 @@
1
1
  .ant-btn {
2
- min-width: 88px;
3
2
  box-shadow: none;
4
3
  }
5
4
  .ant-btn-primary[disabled],
@@ -26,13 +25,3 @@
26
25
  .ant-btn-text[disabled]:hover {
27
26
  color: #cce2ff !important;
28
27
  }
29
- .ant-form-item-control-input-content [text='重置'],
30
- .ant-form-item-control-input-content [text='查询'],
31
- .ant-form-item-control-input-content [text='Reset'],
32
- .ant-form-item-control-input-content [text='Search'] {
33
- min-width: 0;
34
- }
35
- .ant-btn-link,
36
- .ant-btn-text {
37
- min-width: 0;
38
- }
@@ -46,7 +46,6 @@
46
46
  border: 1px solid rgba(255, 77, 79, 0.4);
47
47
  }
48
48
  .ant-btn {
49
- min-width: 88px;
50
49
  box-shadow: none;
51
50
  }
52
51
  .ant-btn-primary[disabled],
@@ -73,16 +72,6 @@
73
72
  .ant-btn-text[disabled]:hover {
74
73
  color: #cce2ff !important;
75
74
  }
76
- .ant-form-item-control-input-content [text='重置'],
77
- .ant-form-item-control-input-content [text='查询'],
78
- .ant-form-item-control-input-content [text='Reset'],
79
- .ant-form-item-control-input-content [text='Search'] {
80
- min-width: 0;
81
- }
82
- .ant-btn-link,
83
- .ant-btn-text {
84
- min-width: 0;
85
- }
86
75
  .ant-form .ant-form-item label {
87
76
  font-weight: normal;
88
77
  }
@@ -485,8 +474,15 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
485
474
  inset-inline-start: 13px;
486
475
  margin: 6px 0;
487
476
  }
488
- .ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
489
- .ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title {
477
+ [class$='-basic-table'],
478
+ [class$='-basic-table-form-container'] {
479
+ width: 100%;
480
+ height: 100%;
481
+ }
482
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
483
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
484
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title,
485
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title {
490
486
  display: flex;
491
487
  align-items: center;
492
488
  justify-content: space-between;
@@ -494,15 +490,18 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
494
490
  padding: 0 0 10px;
495
491
  border: none;
496
492
  }
497
- .ant-table-wrapper .ant-table {
493
+ [class$='-basic-table'] .ant-table-wrapper .ant-table,
494
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table {
498
495
  width: 100%;
499
496
  overflow-x: hidden;
500
497
  border-radius: 0;
501
498
  }
502
- .ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
499
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header,
500
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
503
501
  border-radius: 0;
504
502
  }
505
- .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th {
503
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th,
504
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th {
506
505
  color: #182948;
507
506
  font-weight: 700;
508
507
  font-size: 14px;
@@ -511,18 +510,22 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
511
510
  text-transform: none;
512
511
  background: #f2f6f9;
513
512
  }
514
- .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before {
513
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before,
514
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before {
515
515
  display: none;
516
516
  width: 0;
517
517
  visibility: hidden;
518
518
  }
519
- .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover {
519
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover,
520
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover {
520
521
  background: #f6f9fa;
521
522
  }
522
- .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td {
523
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td,
524
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td {
523
525
  background: #f6f9fa;
524
526
  }
525
- .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td {
527
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td,
528
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td {
526
529
  color: #182948;
527
530
  font-weight: 400;
528
531
  font-size: 14px;
@@ -531,35 +534,36 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
531
534
  text-transform: none;
532
535
  transition: unset;
533
536
  }
534
- .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th {
537
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th,
538
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th {
535
539
  padding: 12px 16px;
536
540
  line-height: 22px;
537
541
  }
538
- .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
542
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td,
543
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
539
544
  border-top: 1px solid;
540
545
  border-top-color: transparent;
541
546
  }
542
- .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell {
547
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell,
548
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell {
543
549
  padding: 12px 16px;
544
550
  line-height: 22px;
545
551
  }
546
- .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th {
552
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th,
553
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th {
547
554
  padding: 10.5px 16px;
548
555
  line-height: 18px;
549
556
  }
550
- .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
557
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td,
558
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
551
559
  border-top: 1px solid;
552
560
  border-top-color: transparent;
553
561
  }
554
- .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell {
562
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell,
563
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell {
555
564
  padding: 10.5px 16px;
556
565
  line-height: 18px;
557
566
  }
558
- [class$='-basic-table'],
559
- [class$='-basic-table-form-container'] {
560
- width: 100%;
561
- height: 100%;
562
- }
563
567
  [class$='-basic-table-row__striped'] td {
564
568
  background-color: #f6f9fa;
565
569
  }
@@ -1,5 +1,12 @@
1
- .ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
2
- .ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title {
1
+ [class$='-basic-table'],
2
+ [class$='-basic-table-form-container'] {
3
+ width: 100%;
4
+ height: 100%;
5
+ }
6
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
7
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
8
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title,
9
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title {
3
10
  display: flex;
4
11
  align-items: center;
5
12
  justify-content: space-between;
@@ -7,15 +14,18 @@
7
14
  padding: 0 0 10px;
8
15
  border: none;
9
16
  }
10
- .ant-table-wrapper .ant-table {
17
+ [class$='-basic-table'] .ant-table-wrapper .ant-table,
18
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table {
11
19
  width: 100%;
12
20
  overflow-x: hidden;
13
21
  border-radius: 0;
14
22
  }
15
- .ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
23
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header,
24
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
16
25
  border-radius: 0;
17
26
  }
18
- .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th {
27
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th,
28
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th {
19
29
  color: #182948;
20
30
  font-weight: 700;
21
31
  font-size: 14px;
@@ -24,18 +34,22 @@
24
34
  text-transform: none;
25
35
  background: #f2f6f9;
26
36
  }
27
- .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before {
37
+ [class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before,
38
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before {
28
39
  display: none;
29
40
  width: 0;
30
41
  visibility: hidden;
31
42
  }
32
- .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover {
43
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover,
44
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover {
33
45
  background: #f6f9fa;
34
46
  }
35
- .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td {
47
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td,
48
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td {
36
49
  background: #f6f9fa;
37
50
  }
38
- .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td {
51
+ [class$='-basic-table'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td,
52
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td {
39
53
  color: #182948;
40
54
  font-weight: 400;
41
55
  font-size: 14px;
@@ -44,35 +58,36 @@
44
58
  text-transform: none;
45
59
  transition: unset;
46
60
  }
47
- .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th {
61
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th,
62
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th {
48
63
  padding: 12px 16px;
49
64
  line-height: 22px;
50
65
  }
51
- .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
66
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td,
67
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
52
68
  border-top: 1px solid;
53
69
  border-top-color: transparent;
54
70
  }
55
- .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell {
71
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell,
72
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell {
56
73
  padding: 12px 16px;
57
74
  line-height: 22px;
58
75
  }
59
- .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th {
76
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th,
77
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th {
60
78
  padding: 10.5px 16px;
61
79
  line-height: 18px;
62
80
  }
63
- .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
81
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td,
82
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
64
83
  border-top: 1px solid;
65
84
  border-top-color: transparent;
66
85
  }
67
- .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell {
86
+ [class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell,
87
+ [class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell {
68
88
  padding: 10.5px 16px;
69
89
  line-height: 18px;
70
90
  }
71
- [class$='-basic-table'],
72
- [class$='-basic-table-form-container'] {
73
- width: 100%;
74
- height: 100%;
75
- }
76
91
  [class$='-basic-table-row__striped'] td {
77
92
  background-color: #f6f9fa;
78
93
  }
@@ -2,5 +2,6 @@
2
2
  text-wrap: nowrap;
3
3
  display: flex;
4
4
  flex-wrap: nowrap;
5
+ white-space: nowrap;
5
6
  align-items: center;
6
7
  }
@@ -1,5 +1,6 @@
1
1
  .aplus-tag-wrapper {
2
2
  text-wrap: nowrap;
3
+ white-space: nowrap;
3
4
  display: inline-block;
4
5
  }
5
6
  .aplus-tag-inner-wrapper {
@@ -16,6 +16,9 @@
16
16
  border-radius: 2px;
17
17
  background-color: #fff;
18
18
  }
19
+ .aplus-pro-table-form-container .ant-form .ant-form-item {
20
+ margin-bottom: 16px;
21
+ }
19
22
  .aplus-pro-table-form-container-no-divide .ant-form {
20
23
  border-bottom-left-radius: 0 !important;
21
24
  border-bottom-right-radius: 0 !important;
@@ -20,3 +20,11 @@ export declare function isPascalCase(str: string): boolean;
20
20
  * @returns
21
21
  */
22
22
  export declare function convertReactiveToRaw(obj: Recordable<any>): Recordable<any>;
23
+ /**
24
+ * 删除对象中为undefined的key
25
+ * @param value
26
+ * @returns
27
+ */
28
+ export declare function omitUndefined(value: Recordable<any>): {
29
+ [x: string]: any;
30
+ };
@@ -1,43 +1,51 @@
1
- import { unref as u, markRaw as a } from "vue";
2
- function l(t) {
3
- return (t == null ? void 0 : t.parentNode) ?? document.body;
1
+ import { unref as s, markRaw as u } from "vue";
2
+ import { isUndefined as a } from "lodash-unified";
3
+ function p(e) {
4
+ return (e == null ? void 0 : e.parentNode) ?? document.body;
4
5
  }
5
- function y(t) {
6
- return typeof t < "u";
6
+ function m(e) {
7
+ return typeof e < "u";
7
8
  }
8
- function p(t) {
9
- const e = {};
10
- return Object.keys(t).map((n) => {
11
- e[n] = u(t[n]);
12
- }), e;
9
+ function d(e) {
10
+ const t = {};
11
+ return Object.keys(e).map((n) => {
12
+ t[n] = s(e[n]);
13
+ }), t;
13
14
  }
14
- function m(t, e = [], n) {
15
- const r = Object.assign({}, t), o = Object.keys(r);
16
- for (let i = 0; i < o.length; i += 1) {
17
- const c = o[i];
18
- (e.includes(c) || n != null && n(c, r[c])) && delete r[c];
15
+ function g(e, t = [], n) {
16
+ const r = Object.assign({}, e), i = Object.keys(r);
17
+ for (let c = 0; c < i.length; c += 1) {
18
+ const o = i[c];
19
+ (t.includes(o) || n != null && n(o, r[o])) && delete r[o];
19
20
  }
20
21
  return r;
21
22
  }
22
- function g(t) {
23
- return /^[A-Z][A-Za-z]*$/.test(t);
23
+ function k(e) {
24
+ return /^[A-Z][A-Za-z]*$/.test(e);
24
25
  }
25
- function s(t) {
26
- if (Array.isArray(t))
27
- return t.map((e) => s(e));
28
- if (typeof t == "object" && t !== null) {
29
- const e = {};
30
- for (const n in t)
31
- e[n] = s(t[n]);
32
- return a(e);
26
+ function f(e) {
27
+ if (Array.isArray(e))
28
+ return e.map((t) => f(t));
29
+ if (typeof e == "object" && e !== null) {
30
+ const t = {};
31
+ for (const n in e)
32
+ t[n] = f(e[n]);
33
+ return u(t);
33
34
  }
34
- return t;
35
+ return e;
36
+ }
37
+ function O(e) {
38
+ const t = { ...e };
39
+ for (const n of Object.keys(t))
40
+ a(t[n]) && delete t[n];
41
+ return console.log("copy", t), t;
35
42
  }
36
43
  export {
37
- s as convertReactiveToRaw,
38
- p as getDynamicProps,
39
- l as getPopupContainer,
40
- y as isDef,
41
- g as isPascalCase,
42
- m as omitWhen
44
+ f as convertReactiveToRaw,
45
+ d as getDynamicProps,
46
+ p as getPopupContainer,
47
+ m as isDef,
48
+ k as isPascalCase,
49
+ O as omitUndefined,
50
+ g as omitWhen
43
51
  };