@aplus-frontend/ui 6.35.1 → 6.36.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 (125) hide show
  1. package/es/src/ag-grid/index.vue.mjs +17 -16
  2. package/es/src/ag-grid/interface.d.ts +4 -0
  3. package/es/src/ap-field/date/index.vue.mjs +6 -5
  4. package/es/src/ap-field/date/read.vue2.mjs +8 -7
  5. package/es/src/ap-field/date-range/index.vue.mjs +20 -17
  6. package/es/src/ap-field/date-range/read.vue2.mjs +3 -2
  7. package/es/src/ap-field/index.d.ts +3 -3
  8. package/es/src/ap-field/text/index.vue.d.ts +1 -1
  9. package/es/src/ap-field/text/password.vue.d.ts +1 -1
  10. package/es/src/ap-field/text/read-password.vue.d.ts +1 -1
  11. package/es/src/ap-field/text/read.vue.d.ts +1 -1
  12. package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
  13. package/es/src/ap-field/text-area/read.vue.d.ts +1 -1
  14. package/es/src/ap-form/ap-form.vue.d.ts +1 -1
  15. package/es/src/ap-form/drawer-form/index.vue.d.ts +20 -20
  16. package/es/src/ap-form/interface.d.ts +12 -1
  17. package/es/src/ap-form/item/index.vue.d.ts +34 -34
  18. package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
  19. package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
  20. package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
  21. package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
  22. package/es/src/ap-form/items/radio/index.vue.d.ts +2 -2
  23. package/es/src/ap-form/items/select/index.vue.d.ts +2 -2
  24. package/es/src/ap-form/items/switch/index.vue.d.ts +2 -2
  25. package/es/src/ap-form/items/text/index.vue.d.ts +8 -8
  26. package/es/src/ap-form/items/text/password.vue.d.ts +8 -8
  27. package/es/src/ap-form/items/text-area/index.vue.d.ts +6 -6
  28. package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
  29. package/es/src/ap-form/modal-form/index.vue.d.ts +30 -21
  30. package/es/src/ap-form/render/item.vue.d.ts +2 -2
  31. package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +13 -2
  32. package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +32 -22
  33. package/es/src/ap-form/search-form/index.vue.d.ts +298 -20
  34. package/es/src/ap-form/search-form/index.vue.mjs +94 -88
  35. package/es/src/ap-modal/utils/createModal.mjs +38 -35
  36. package/es/src/ap-pro-card/components/card/index.vue.d.ts +1 -1
  37. package/es/src/ap-table/constants.d.ts +77 -77
  38. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +132 -109
  39. package/es/src/business/ap-attachment/ApAttachment.d.ts +9 -0
  40. package/es/src/business/ap-attachment/ApAttachment.mjs +48 -47
  41. package/es/src/business/ap-attachment/constans.d.ts +4 -0
  42. package/es/src/business/ap-attachment/constans.mjs +4 -0
  43. package/es/src/business/ap-attachment/index.d.ts +15 -0
  44. package/es/src/business/ap-attachment/interface.d.ts +1 -0
  45. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +15 -13
  46. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +10 -10
  47. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -10
  48. package/es/src/business/batch-input-group/form-item.vue.d.ts +2 -2
  49. package/es/src/business/batch-input-group/index.vue.d.ts +4 -4
  50. package/es/src/config-provider/config-provider-props.d.ts +5 -1
  51. package/es/src/config-provider/config-provider.d.ts +10 -1
  52. package/es/src/config-provider/hooks/use-global-config.d.ts +5 -1
  53. package/es/src/config-provider/index.d.ts +16 -1
  54. package/es/src/utils/config-provider-preset.d.ts +3 -1
  55. package/es/src/version.d.ts +1 -1
  56. package/es/src/version.mjs +1 -1
  57. package/es/src/work-order-modal/work-order-modal.vue.d.ts +10 -10
  58. package/es/src/work-order-modal/work-order-modal.vue.mjs +6 -4
  59. package/lib/src/ag-grid/index.vue.js +1 -1
  60. package/lib/src/ag-grid/interface.d.ts +4 -0
  61. package/lib/src/ap-field/date/index.vue.js +1 -1
  62. package/lib/src/ap-field/date/read.vue2.js +1 -1
  63. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  64. package/lib/src/ap-field/date-range/read.vue2.js +1 -1
  65. package/lib/src/ap-field/index.d.ts +3 -3
  66. package/lib/src/ap-field/text/index.vue.d.ts +1 -1
  67. package/lib/src/ap-field/text/password.vue.d.ts +1 -1
  68. package/lib/src/ap-field/text/read-password.vue.d.ts +1 -1
  69. package/lib/src/ap-field/text/read.vue.d.ts +1 -1
  70. package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
  71. package/lib/src/ap-field/text-area/read.vue.d.ts +1 -1
  72. package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
  73. package/lib/src/ap-form/drawer-form/index.vue.d.ts +20 -20
  74. package/lib/src/ap-form/interface.d.ts +12 -1
  75. package/lib/src/ap-form/item/index.vue.d.ts +34 -34
  76. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
  77. package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
  78. package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
  79. package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
  80. package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -2
  81. package/lib/src/ap-form/items/select/index.vue.d.ts +2 -2
  82. package/lib/src/ap-form/items/switch/index.vue.d.ts +2 -2
  83. package/lib/src/ap-form/items/text/index.vue.d.ts +8 -8
  84. package/lib/src/ap-form/items/text/password.vue.d.ts +8 -8
  85. package/lib/src/ap-form/items/text-area/index.vue.d.ts +6 -6
  86. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
  87. package/lib/src/ap-form/modal-form/index.vue.d.ts +30 -21
  88. package/lib/src/ap-form/render/item.vue.d.ts +2 -2
  89. package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +13 -2
  90. package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
  91. package/lib/src/ap-form/search-form/index.vue.d.ts +298 -20
  92. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  93. package/lib/src/ap-modal/utils/createModal.js +1 -1
  94. package/lib/src/ap-pro-card/components/card/index.vue.d.ts +1 -1
  95. package/lib/src/ap-table/constants.d.ts +77 -77
  96. package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
  97. package/lib/src/business/ap-attachment/ApAttachment.d.ts +9 -0
  98. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  99. package/lib/src/business/ap-attachment/constans.d.ts +4 -0
  100. package/lib/src/business/ap-attachment/constans.js +1 -1
  101. package/lib/src/business/ap-attachment/index.d.ts +15 -0
  102. package/lib/src/business/ap-attachment/interface.d.ts +1 -0
  103. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  104. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +10 -10
  105. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -10
  106. package/lib/src/business/batch-input-group/form-item.vue.d.ts +2 -2
  107. package/lib/src/business/batch-input-group/index.vue.d.ts +4 -4
  108. package/lib/src/config-provider/config-provider-props.d.ts +5 -1
  109. package/lib/src/config-provider/config-provider.d.ts +10 -1
  110. package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -1
  111. package/lib/src/config-provider/index.d.ts +16 -1
  112. package/lib/src/utils/config-provider-preset.d.ts +3 -1
  113. package/lib/src/version.d.ts +1 -1
  114. package/lib/src/version.js +1 -1
  115. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +10 -10
  116. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  117. package/package.json +3 -3
  118. package/theme/ag-grid/index.css +3 -0
  119. package/theme/ag-grid/index.less +3 -0
  120. package/theme/ap-attachment/ap-attachment.css +8 -4
  121. package/theme/ap-attachment/ap-attachment.less +8 -4
  122. package/theme/ap-upload/index.css +6 -0
  123. package/theme/ap-upload/multiple-file.css +6 -0
  124. package/theme/ap-upload/multiple-file.less +7 -0
  125. package/theme/index.css +17 -4
@@ -45,11 +45,15 @@
45
45
  box-sizing: border-box;
46
46
  }
47
47
  .aplus-ap-attachment {
48
- display: inline-flex;
48
+ display: flex;
49
49
  justify-content: space-between;
50
+ align-items: center;
50
51
  }
51
52
  .aplus-ap-attachment__content {
53
+ width: 80%;
54
+ flex: 1;
52
55
  display: flex;
56
+ flex-shrink: 0;
53
57
  align-items: center;
54
58
  }
55
59
  .aplus-ap-attachment__text-render {
@@ -64,8 +68,8 @@
64
68
  margin-right: 5px;
65
69
  }
66
70
  .aplus-ap-attachment__text-inner {
67
- max-width: 190px;
68
- display: inline-block;
71
+ flex: 1;
72
+ flex-shrink: 0;
69
73
  white-space: nowrap;
70
74
  overflow: hidden;
71
75
  text-overflow: ellipsis;
@@ -77,7 +81,7 @@
77
81
  color: var(--download-main-color-opacity);
78
82
  }
79
83
  .aplus-ap-attachment__more {
80
- display: inline-block;
84
+ width: 40px;
81
85
  font-size: 12px;
82
86
  line-height: 18px;
83
87
  cursor: pointer;
@@ -1,10 +1,14 @@
1
1
  @import '../mixins/mixins.less';
2
2
 
3
3
  .b(ap-attachment, {
4
- display:inline-flex;
4
+ display:flex;
5
5
  justify-content: space-between;
6
+ align-items: center;
6
7
  &__content{
8
+ width: 80%;
9
+ flex:1;
7
10
  display: flex;
11
+ flex-shrink: 0;
8
12
  align-items: center;
9
13
  }
10
14
  &__text-render{
@@ -19,8 +23,8 @@
19
23
  margin-right: 5px;
20
24
  }
21
25
  &__text-inner{
22
- max-width: 190px;
23
- display: inline-block;
26
+ flex:1;
27
+ flex-shrink: 0;
24
28
  white-space: nowrap;
25
29
  overflow: hidden;
26
30
  text-overflow: ellipsis;
@@ -33,7 +37,7 @@
33
37
  }
34
38
  }
35
39
  &__more{
36
- display: inline-block;
40
+ width: 40px;
37
41
  font-size: @font-size-base;
38
42
  line-height: @line-height-base;
39
43
  cursor: pointer;
@@ -69,6 +69,12 @@
69
69
  .aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover {
70
70
  background: #f5f9fa;
71
71
  }
72
+ .aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
73
+ opacity: 1;
74
+ }
75
+ .aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
76
+ opacity: 0;
77
+ }
72
78
  .aplus-ap-upload-multiple-file .ant-upload-text-icon {
73
79
  color: #abb7cc;
74
80
  }
@@ -69,6 +69,12 @@
69
69
  .aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover {
70
70
  background: #f5f9fa;
71
71
  }
72
+ .aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
73
+ opacity: 1;
74
+ }
75
+ .aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
76
+ opacity: 0;
77
+ }
72
78
  .aplus-ap-upload-multiple-file .ant-upload-text-icon {
73
79
  color: #abb7cc;
74
80
  }
@@ -29,6 +29,13 @@
29
29
 
30
30
  .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover {
31
31
  background: rgb(245 249 250);
32
+ .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
33
+ opacity: 1;
34
+ }
35
+ }
36
+
37
+ .ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
38
+ opacity: 0;
32
39
  }
33
40
 
34
41
  .ant-upload-text-icon {
package/theme/index.css CHANGED
@@ -756,11 +756,15 @@
756
756
  display: inline-flex;
757
757
  }
758
758
  .aplus-ap-attachment {
759
- display: inline-flex;
759
+ display: flex;
760
760
  justify-content: space-between;
761
+ align-items: center;
761
762
  }
762
763
  .aplus-ap-attachment__content {
764
+ width: 80%;
765
+ flex: 1;
763
766
  display: flex;
767
+ flex-shrink: 0;
764
768
  align-items: center;
765
769
  }
766
770
  .aplus-ap-attachment__text-render {
@@ -775,8 +779,8 @@
775
779
  margin-right: 5px;
776
780
  }
777
781
  .aplus-ap-attachment__text-inner {
778
- max-width: 190px;
779
- display: inline-block;
782
+ flex: 1;
783
+ flex-shrink: 0;
780
784
  white-space: nowrap;
781
785
  overflow: hidden;
782
786
  text-overflow: ellipsis;
@@ -788,7 +792,7 @@
788
792
  color: var(--download-main-color-opacity);
789
793
  }
790
794
  .aplus-ap-attachment__more {
791
- display: inline-block;
795
+ width: 40px;
792
796
  font-size: 12px;
793
797
  line-height: 18px;
794
798
  cursor: pointer;
@@ -2541,6 +2545,12 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2541
2545
  .aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover {
2542
2546
  background: #f5f9fa;
2543
2547
  }
2548
+ .aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
2549
+ opacity: 1;
2550
+ }
2551
+ .aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
2552
+ opacity: 0;
2553
+ }
2544
2554
  .aplus-ap-upload-multiple-file .ant-upload-text-icon {
2545
2555
  color: #abb7cc;
2546
2556
  }
@@ -4423,6 +4433,9 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
4423
4433
  user-select: text;
4424
4434
  -webkit-user-select: text;
4425
4435
  }
4436
+ .aplus-ag-grid .ag-checkbox.ag-labeled[disabled] .ag-input-field-input[disabled] {
4437
+ cursor: not-allowed;
4438
+ }
4426
4439
  .aplus-ap-value-select-card {
4427
4440
  position: relative;
4428
4441
  margin-top: 8px;