@aplus-frontend/ui 0.4.31 → 0.4.33

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 (155) hide show
  1. package/es/src/ap-action/group/index.vue.mjs +3 -3
  2. package/es/src/ap-action/item/index.vue2.mjs +5 -5
  3. package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
  4. package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
  5. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  6. package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
  7. package/es/src/ap-button/ap-button.vue.mjs +2 -2
  8. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +3 -3
  9. package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
  10. package/es/src/ap-download/ap-download.vue.mjs +1 -1
  11. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  12. package/es/src/ap-field/date/index.vue.mjs +4 -4
  13. package/es/src/ap-field/date-range/index.vue.mjs +8 -8
  14. package/es/src/ap-field/index.mjs +30 -30
  15. package/es/src/ap-field/interface.d.ts +4 -0
  16. package/es/src/ap-field/number/index.vue.mjs +8 -8
  17. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  18. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  19. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  20. package/es/src/ap-field/select/index.vue.mjs +112 -93
  21. package/es/src/ap-field/select/use-select-options.d.ts +21 -0
  22. package/es/src/ap-field/select/use-select-options.mjs +43 -0
  23. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  24. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  25. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  26. package/es/src/ap-field/text/password.vue.mjs +2 -2
  27. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  28. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  29. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  30. package/es/src/ap-form/item/index.vue.mjs +7 -7
  31. package/es/src/ap-form/item-group/index.vue.mjs +3 -3
  32. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  33. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  34. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  35. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  36. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  37. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  38. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  39. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  40. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  41. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  42. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  43. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  44. package/es/src/ap-form/render/item.vue.mjs +2 -2
  45. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  46. package/es/src/ap-form/set/index.vue.mjs +1 -1
  47. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  48. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  49. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  50. package/es/src/ap-list/index.vue.mjs +4 -4
  51. package/es/src/ap-modal/utils/createModal.mjs +36 -26
  52. package/es/src/ap-table/ap-table.vue2.mjs +28 -28
  53. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +3 -3
  54. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  55. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +52 -33
  56. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  57. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  58. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  59. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  60. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  61. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  62. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  63. package/es/src/ap-table/constants.mjs +40 -40
  64. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  65. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  66. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  67. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  68. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  69. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  70. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  71. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  72. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  73. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
  74. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  75. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  76. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  77. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  78. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
  79. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  80. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  81. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  82. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  83. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  84. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  85. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  86. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +1 -1
  87. package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +1 -1
  88. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  89. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  90. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  91. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  92. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  93. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  94. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  95. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  96. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  97. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  98. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  99. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  100. package/es/src/business/batch-input-group/index.vue.d.ts +1 -0
  101. package/es/src/business/batch-input-group/index.vue.mjs +70 -60
  102. package/es/src/business/batch-input-group/interface.d.ts +5 -1
  103. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  104. package/es/src/business/hooks/useTableRefresh.mjs +39 -32
  105. package/es/src/check-card/index.vue2.mjs +3 -3
  106. package/es/src/editable-table/form-item.vue.mjs +2 -2
  107. package/es/src/editable-table/index.vue.mjs +2 -2
  108. package/es/src/full-screen/index.vue.mjs +3 -3
  109. package/es/src/hooks/useFullScreen.mjs +5 -5
  110. package/es/src/locale/lang/en.mjs +2 -2
  111. package/es/src/locale/lang/zh-cn.mjs +2 -2
  112. package/es/src/portal/index.vue.mjs +2 -2
  113. package/es/src/scroll-bar/index.vue.mjs +3 -3
  114. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  115. package/es/src/scroll-view/index.vue.mjs +9 -9
  116. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  117. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  118. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  119. package/lib/src/ap-field/index.js +1 -1
  120. package/lib/src/ap-field/interface.d.ts +4 -0
  121. package/lib/src/ap-field/select/index.vue.js +1 -1
  122. package/lib/src/ap-field/select/use-select-options.d.ts +21 -0
  123. package/lib/src/ap-field/select/use-select-options.js +1 -0
  124. package/lib/src/ap-modal/utils/createModal.js +1 -1
  125. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  126. package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
  127. package/lib/src/ap-table/constants.js +1 -1
  128. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  129. package/lib/src/business/batch-input-group/index.vue.d.ts +1 -0
  130. package/lib/src/business/batch-input-group/index.vue.js +2 -2
  131. package/lib/src/business/batch-input-group/interface.d.ts +5 -1
  132. package/lib/src/business/hooks/useTableRefresh.js +1 -1
  133. package/lib/src/locale/lang/en.js +1 -1
  134. package/lib/src/locale/lang/zh-cn.js +1 -1
  135. package/package.json +1 -1
  136. package/theme/antd-global-overwrite/admin/index.css +1 -1
  137. package/theme/antd-global-overwrite/admin/modal.css +1 -1
  138. package/theme/antd-global-overwrite/admin/modal.less +1 -1
  139. package/theme/antd-global-overwrite/aplus/index.css +1 -1
  140. package/theme/antd-global-overwrite/aplus/modal.css +1 -1
  141. package/theme/antd-global-overwrite/aplus/modal.less +1 -1
  142. package/theme/ap-form/ap-form-item.css +3 -0
  143. package/theme/ap-form/ap-form-item.less +9 -0
  144. package/theme/ap-form/index.css +3 -0
  145. package/theme/ap-form/search-form.css +3 -0
  146. package/theme/ap-table/ap-table.css +3 -0
  147. package/theme/ap-table-modal/index.css +3 -0
  148. package/theme/batch-input-group/index.css +5 -1
  149. package/theme/batch-input-group/index.less +1 -0
  150. package/theme/batch-input-group/popover-input.css +2 -1
  151. package/theme/batch-input-group/popover-input.less +5 -1
  152. package/theme/editable-table/index.css +3 -0
  153. package/theme/index.css +8 -1
  154. package/theme/ap-scroll-bar/index.css +0 -31
  155. package/theme/ap-scroll-bar/index.less +0 -39
@@ -211,6 +211,9 @@
211
211
  .aplus-ap-form-item--bordered .ant-picker {
212
212
  padding: 0;
213
213
  }
214
+ .aplus-ap-form-item--bordered .ant-form-item-control-input-content > .ant-input-group > .ant-picker-range:nth-child(1) .ant-picker-clear {
215
+ inset-inline-end: 0;
216
+ }
214
217
  .aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
215
218
  padding-left: 11px;
216
219
  }
@@ -42,7 +42,8 @@
42
42
  }
43
43
  .aplus-batch-input-group-popover-input__popover {
44
44
  width: 100%;
45
- left: 0 !important;
45
+ left: var(--aplus-batch-input-group-popover-left) !important;
46
+ right: var(--aplus-batch-input-group-popover-right) !important;
46
47
  min-width: 300px;
47
48
  }
48
49
  .aplus-batch-input-group-popover-input__popover .ant-popover-arrow {
@@ -57,3 +58,6 @@
57
58
  .aplus-batch-input-group-popover-input__popover--content textarea {
58
59
  padding: 0;
59
60
  }
61
+ .aplus-batch-input-group {
62
+ position: relative;
63
+ }
@@ -3,4 +3,5 @@
3
3
  @import './popover-input.less';
4
4
 
5
5
  .b(batch-input-group, {
6
+ position: relative
6
7
  });
@@ -20,7 +20,8 @@
20
20
  }
21
21
  .aplus-batch-input-group-popover-input__popover {
22
22
  width: 100%;
23
- left: 0 !important;
23
+ left: var(--aplus-batch-input-group-popover-left) !important;
24
+ right: var(--aplus-batch-input-group-popover-right) !important;
24
25
  min-width: 300px;
25
26
  }
26
27
  .aplus-batch-input-group-popover-input__popover .ant-popover-arrow {
@@ -1,6 +1,9 @@
1
1
  @import '../mixins/mixins.less';
2
2
  @import '../mixins/config.less';
3
3
 
4
+ @left: ~'--@{ns}-batch-input-group-popover-left';
5
+ @right: ~'--@{ns}-batch-input-group-popover-right';
6
+
4
7
  .b(batch-input-group-popover-input, {
5
8
  display: inline-flex;
6
9
  align-items: center;
@@ -22,7 +25,8 @@
22
25
  }
23
26
  &__popover {
24
27
  width: 100%;
25
- left: 0 !important;
28
+ left: var(@left) !important;
29
+ right: var(@right) !important;
26
30
  min-width: 300px;
27
31
 
28
32
  & .ant-popover-arrow {
@@ -25,6 +25,9 @@
25
25
  .aplus-ap-form-item--bordered .ant-picker {
26
26
  padding: 0;
27
27
  }
28
+ .aplus-ap-form-item--bordered .ant-form-item-control-input-content > .ant-input-group > .ant-picker-range:nth-child(1) .ant-picker-clear {
29
+ inset-inline-end: 0;
30
+ }
28
31
  .aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
29
32
  padding-left: 11px;
30
33
  }
package/theme/index.css CHANGED
@@ -378,6 +378,9 @@
378
378
  .aplus-ap-form-item--bordered .ant-picker {
379
379
  padding: 0;
380
380
  }
381
+ .aplus-ap-form-item--bordered .ant-form-item-control-input-content > .ant-input-group > .ant-picker-range:nth-child(1) .ant-picker-clear {
382
+ inset-inline-end: 0;
383
+ }
381
384
  .aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
382
385
  padding-left: 11px;
383
386
  }
@@ -2111,7 +2114,8 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2111
2114
  }
2112
2115
  .aplus-batch-input-group-popover-input__popover {
2113
2116
  width: 100%;
2114
- left: 0 !important;
2117
+ left: var(--aplus-batch-input-group-popover-left) !important;
2118
+ right: var(--aplus-batch-input-group-popover-right) !important;
2115
2119
  min-width: 300px;
2116
2120
  }
2117
2121
  .aplus-batch-input-group-popover-input__popover .ant-popover-arrow {
@@ -2126,6 +2130,9 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2126
2130
  .aplus-batch-input-group-popover-input__popover--content textarea {
2127
2131
  padding: 0;
2128
2132
  }
2133
+ .aplus-batch-input-group {
2134
+ position: relative;
2135
+ }
2129
2136
  .aplus-scroll-view {
2130
2137
  position: relative;
2131
2138
  overflow: hidden;
@@ -1,31 +0,0 @@
1
- .aplus-ap-scroll-bar {
2
- position: relative;
3
- background-color: var(--ap-scroll-bar-background, rgba(0, 0, 0, 0.05));
4
- }
5
- .aplus-ap-scroll-bar--horizontal {
6
- height: 10px;
7
- }
8
- .aplus-ap-scroll-bar--vertical {
9
- width: 10px;
10
- height: 100%;
11
- }
12
- .aplus-ap-scroll-bar__bar {
13
- position: absolute;
14
- border-radius: 8px;
15
- background-color: rgba(144, 147, 153, 0.3);
16
- background-color: var(--ap-scroll-bar-bar, rgba(144, 147, 153, 0.3));
17
- box-shadow: var(--ap-scroll-bar-bar-shadow, inset 0 0 6px rgba(0, 0, 0, 0.2));
18
- }
19
- .aplus-ap-scroll-bar__bar--horizontal {
20
- height: 8px;
21
- top: 1px;
22
- }
23
- .aplus-ap-scroll-bar__bar--vertical {
24
- width: 8px;
25
- left: 1px;
26
- }
27
- .aplus-ap-scroll-bar__bar:hover,
28
- .aplus-ap-scroll-bar__bar:focus,
29
- .aplus-ap-scroll-bar__bar:active {
30
- background-color: var(--ap-scroll-bar-bar-active, rgba(144, 147, 153, 0.5));
31
- }
@@ -1,39 +0,0 @@
1
- @import '../mixins/mixins.less';
2
- @import '../mixins/config.less';
3
-
4
- .b('ap-scroll-bar', {
5
- position: relative;
6
- // z-index: 999;
7
- background-color: var(--ap-scroll-bar-background, rgb(0 0 0 / 5%));
8
-
9
- &--horizontal {
10
- height: 10px;
11
- }
12
-
13
- &--vertical {
14
- width: 10px;
15
- height: 100%;
16
- }
17
-
18
- &__bar {
19
- position: absolute;
20
- border-radius: 8px;
21
- background-color: rgb(144 147 153 / 30%);
22
- background-color: var(--ap-scroll-bar-bar, rgb(144 147 153 / 30%));
23
- box-shadow: var(--ap-scroll-bar-bar-shadow, inset 0 0 6px rgb(0 0 0 / 20%)); ;
24
-
25
- &--horizontal {
26
- height: 8px;
27
- top: 1px;
28
- }
29
-
30
- &--vertical {
31
- width: 8px;
32
- left: 1px;
33
- }
34
-
35
- &:hover, &:focus, &:active {
36
- background-color: var(--ap-scroll-bar-bar-active, rgb(144 147 153 / 50%));
37
- }
38
- }
39
- });