@aplus-frontend/ui 0.4.33 → 0.5.0-beta.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 (123) hide show
  1. package/es/index.mjs +121 -117
  2. package/es/src/ap-button/ap-confirm-button.vue.d.ts +20 -0
  3. package/es/src/ap-button/ap-confirm-button.vue.mjs +56 -0
  4. package/es/src/ap-button/ap-confirm-button.vue2.mjs +4 -0
  5. package/es/src/ap-button/index.d.ts +2 -1
  6. package/es/src/ap-button/index.mjs +1 -0
  7. package/es/src/ap-button/interface.d.ts +6 -1
  8. package/es/src/ap-button/utils/index.d.ts +2 -0
  9. package/es/src/ap-button/utils/index.mjs +36 -16
  10. package/es/src/ap-grid/constants.d.ts +9 -0
  11. package/es/src/ap-grid/constants.mjs +12 -0
  12. package/es/src/ap-grid/hooks/use-inner-params.d.ts +10 -0
  13. package/es/src/ap-grid/hooks/use-inner-params.mjs +41 -0
  14. package/es/src/ap-grid/hooks/use-render-columns.d.ts +6 -0
  15. package/es/src/ap-grid/hooks/use-render-columns.mjs +29 -0
  16. package/es/src/ap-grid/index.d.ts +3 -0
  17. package/es/src/ap-grid/index.mjs +2 -0
  18. package/es/src/ap-grid/index.vue.mjs +399 -0
  19. package/es/src/ap-grid/index.vue2.mjs +4 -0
  20. package/es/src/ap-grid/interface.d.ts +279 -0
  21. package/es/src/ap-grid/interface.mjs +1 -0
  22. package/es/src/ap-grid/style/css.d.ts +0 -0
  23. package/es/src/ap-grid/style/css.js +1 -0
  24. package/es/src/ap-grid/style/index.d.ts +0 -0
  25. package/es/src/ap-grid/style/index.js +1 -0
  26. package/es/src/ap-grid/utils/col.d.ts +20 -0
  27. package/es/src/ap-grid/utils/col.mjs +106 -0
  28. package/es/src/ap-grid/utils/renderer.d.ts +3 -0
  29. package/es/src/ap-grid/utils/renderer.mjs +21 -0
  30. package/es/src/ap-grid/utils/table.d.ts +13 -0
  31. package/es/src/ap-grid/utils/table.mjs +64 -0
  32. package/es/src/ap-modal/utils/createModal.mjs +28 -28
  33. package/es/src/ap-table/ap-table.vue.d.ts +2 -0
  34. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +38 -38
  35. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +9 -9
  36. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +21 -21
  37. package/es/src/ap-table/components/setting/utils.d.ts +15 -3
  38. package/es/src/ap-table/components/setting/utils.mjs +49 -38
  39. package/es/src/ap-table/context.d.ts +2 -1
  40. package/es/src/ap-table/context.mjs +8 -7
  41. package/es/src/ap-table/hooks/use-table-column-state.mjs +79 -70
  42. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +8 -2
  43. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +43 -40
  44. package/es/src/ap-table/hooks/use-table-row-selection.d.ts +12 -0
  45. package/es/src/ap-table/hooks/use-table-row-selection.mjs +41 -27
  46. package/es/src/ap-table/interface.d.ts +4 -0
  47. package/es/src/ap-table/utils.d.ts +1 -1
  48. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +2 -0
  49. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +2 -0
  50. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +2 -0
  51. package/es/src/business/ap-table-modal/index.d.ts +8 -0
  52. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +4 -0
  53. package/es/src/business/hooks/usePageListApTable.d.ts +2 -0
  54. package/es/src/index.d.ts +1 -0
  55. package/es/src/index.mjs +242 -237
  56. package/es/src/path-map.mjs +2 -1
  57. package/lib/index.js +1 -1
  58. package/lib/src/ap-button/ap-confirm-button.vue.d.ts +20 -0
  59. package/lib/src/ap-button/ap-confirm-button.vue.js +1 -0
  60. package/lib/src/ap-button/ap-confirm-button.vue2.js +1 -0
  61. package/lib/src/ap-button/index.d.ts +2 -1
  62. package/lib/src/ap-button/index.js +1 -1
  63. package/lib/src/ap-button/interface.d.ts +6 -1
  64. package/lib/src/ap-button/utils/index.d.ts +2 -0
  65. package/lib/src/ap-button/utils/index.js +1 -1
  66. package/lib/src/ap-grid/constants.d.ts +9 -0
  67. package/lib/src/ap-grid/constants.js +1 -0
  68. package/lib/src/ap-grid/hooks/use-inner-params.d.ts +10 -0
  69. package/lib/src/ap-grid/hooks/use-inner-params.js +1 -0
  70. package/lib/src/ap-grid/hooks/use-render-columns.d.ts +6 -0
  71. package/lib/src/ap-grid/hooks/use-render-columns.js +1 -0
  72. package/lib/src/ap-grid/index.d.ts +3 -0
  73. package/lib/src/ap-grid/index.js +1 -0
  74. package/lib/src/ap-grid/index.vue.js +1 -0
  75. package/lib/src/ap-grid/index.vue2.js +1 -0
  76. package/lib/src/ap-grid/interface.d.ts +279 -0
  77. package/lib/src/ap-grid/interface.js +1 -0
  78. package/lib/src/ap-grid/style/css.cjs +1 -0
  79. package/lib/src/ap-grid/style/css.d.ts +0 -0
  80. package/lib/src/ap-grid/style/index.cjs +1 -0
  81. package/lib/src/ap-grid/style/index.d.ts +0 -0
  82. package/lib/src/ap-grid/utils/col.d.ts +20 -0
  83. package/lib/src/ap-grid/utils/col.js +1 -0
  84. package/lib/src/ap-grid/utils/renderer.d.ts +3 -0
  85. package/lib/src/ap-grid/utils/renderer.js +1 -0
  86. package/lib/src/ap-grid/utils/table.d.ts +13 -0
  87. package/lib/src/ap-grid/utils/table.js +1 -0
  88. package/lib/src/ap-modal/utils/createModal.js +1 -1
  89. package/lib/src/ap-table/ap-table.vue.d.ts +2 -0
  90. package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
  91. package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
  92. package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
  93. package/lib/src/ap-table/components/setting/utils.d.ts +15 -3
  94. package/lib/src/ap-table/components/setting/utils.js +1 -1
  95. package/lib/src/ap-table/context.d.ts +2 -1
  96. package/lib/src/ap-table/context.js +1 -1
  97. package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
  98. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +8 -2
  99. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  100. package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +12 -0
  101. package/lib/src/ap-table/hooks/use-table-row-selection.js +1 -1
  102. package/lib/src/ap-table/interface.d.ts +4 -0
  103. package/lib/src/ap-table/utils.d.ts +1 -1
  104. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +2 -0
  105. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +2 -0
  106. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +2 -0
  107. package/lib/src/business/ap-table-modal/index.d.ts +8 -0
  108. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +4 -0
  109. package/lib/src/business/hooks/usePageListApTable.d.ts +2 -0
  110. package/lib/src/index.d.ts +1 -0
  111. package/lib/src/index.js +1 -1
  112. package/lib/src/path-map.js +1 -1
  113. package/package.json +3 -1
  114. package/theme/antd-global-overwrite/admin/index.css +8 -1
  115. package/theme/antd-global-overwrite/admin/modal.css +8 -1
  116. package/theme/antd-global-overwrite/admin/modal.less +10 -1
  117. package/theme/antd-global-overwrite/aplus/index.css +8 -1
  118. package/theme/antd-global-overwrite/aplus/modal.css +8 -1
  119. package/theme/antd-global-overwrite/aplus/modal.less +10 -1
  120. package/theme/ap-grid/index.css +302 -0
  121. package/theme/ap-grid/index.less +65 -0
  122. package/theme/index.css +51 -0
  123. package/theme/index.less +1 -0
@@ -0,0 +1,302 @@
1
+ .aplus-ap-form-item-group .ant-form-item-control .ant-picker {
2
+ display: flex;
3
+ }
4
+ .aplus-ap-form-item-group .ant-form-item-control .ant-input-number {
5
+ width: 100%;
6
+ }
7
+ .aplus-ap-form-item-group-col-hidden {
8
+ display: none !important;
9
+ }
10
+ .aplus-ap-form-item--bordered {
11
+ box-sizing: border-box;
12
+ border: 1px solid var(--ap-form-bordered-border-color-base, #DEE4ED);
13
+ border-radius: 4px;
14
+ padding-inline: 12px;
15
+ }
16
+ .aplus-ap-form-item--bordered .ant-input-affix-wrapper {
17
+ padding: 0;
18
+ }
19
+ .aplus-ap-form-item--bordered .ant-input {
20
+ padding: 0;
21
+ }
22
+ .aplus-ap-form-item--bordered .ant-input-number-input {
23
+ padding: 0;
24
+ }
25
+ .aplus-ap-form-item--bordered .ant-picker {
26
+ padding: 0;
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
+ }
31
+ .aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
32
+ padding-left: 11px;
33
+ }
34
+ .aplus-ap-form-item--bordered .ant-select-selector {
35
+ border-width: 0 !important;
36
+ box-shadow: none !important;
37
+ }
38
+ .aplus-ap-form-item--bordered .ant-select-single .ant-select-selector {
39
+ height: 30px !important;
40
+ }
41
+ .aplus-ap-form-item--bordered:has(.ant-select) {
42
+ padding-right: 0px;
43
+ }
44
+ .aplus-ap-form-item--bordered .ant-form-item-label > label {
45
+ padding-right: 16px;
46
+ height: 30px;
47
+ }
48
+ .aplus-ap-form-item--bordered .ant-form-item-label > label::after {
49
+ margin: 0;
50
+ }
51
+ .aplus-ap-form-item--bordered .ant-form-item-control-input {
52
+ min-height: 30px;
53
+ }
54
+ .aplus-ap-form-item--bordered:hover {
55
+ border-color: var(--ap-form-bordered-border-color-hover, #66a9ff);
56
+ }
57
+ .aplus-ap-form-item--bordered:focus {
58
+ border-color: var(--ap-form-bordered-border-color-active, #66a9ff);
59
+ box-shadow: 0 0 0 2px var(--ap-form-bordered-shadow-color, rgba(5, 155, 255, 0.1));
60
+ }
61
+ .aplus-ap-form-item--bordered .aplus-batch-input-group-popover-input__popover {
62
+ width: calc(100% + 12px);
63
+ }
64
+ .aplus-ap-form-item--focused {
65
+ border-color: var(--ap-form-bordered-border-color-active, #66a9ff);
66
+ box-shadow: 0 0 0 2px var(--ap-form-bordered-shadow-color, rgba(5, 155, 255, 0.1));
67
+ }
68
+ .aplus-ap-form-item .ant-form-show-help .ant-form-item-explain-error {
69
+ font-size: 12px;
70
+ line-height: 18px;
71
+ margin-top: 2px;
72
+ }
73
+ .aplus-ap-form-item .ant-col .ant-form-item-extra {
74
+ line-height: 22px;
75
+ min-height: unset;
76
+ margin-top: 4px;
77
+ margin-bottom: 12px;
78
+ }
79
+ .aplus-ap-form-item .ant-input-group .ant-picker:only-child {
80
+ width: 100%;
81
+ }
82
+ .aplus-ap-form-item .ant-input-group .ant-select + .ant-picker {
83
+ padding-inline: 11px;
84
+ flex: 1;
85
+ }
86
+ .aplus-ap-form-drawer-form__resize-bar {
87
+ width: 4px;
88
+ cursor: ew-resize;
89
+ position: absolute;
90
+ top: 0;
91
+ left: 0;
92
+ bottom: 0;
93
+ z-index: 100;
94
+ background-color: transparent;
95
+ }
96
+ .aplus-ap-form-drawer-form__resize-bar--min-disabled {
97
+ cursor: w-resize;
98
+ }
99
+ .aplus-ap-form-drawer-form__resize-bar--max-disabled {
100
+ cursor: e-resize;
101
+ }
102
+ .aplus-ap-form-modal-form .ant-modal-content {
103
+ padding: 0;
104
+ }
105
+ .aplus-ap-form-modal-form .ant-modal-header {
106
+ padding: 15px 20px;
107
+ border-bottom: 1px solid #E9EDF3;
108
+ margin-bottom: 0;
109
+ }
110
+ .aplus-ap-form-modal-form__content {
111
+ padding: 20px 20px 0px;
112
+ }
113
+ .aplus-ap-form-modal-form__footer {
114
+ padding: 12px 20px;
115
+ }
116
+ .aplus-ap-form-modal-form__footer-admin {
117
+ border-top: 1px solid #E9EDF3;
118
+ }
119
+ .aplus-ap-form-modal-form .ant-modal-close {
120
+ top: 16px;
121
+ }
122
+ .aplus-ap-form-search-form .ant-form-item {
123
+ margin-bottom: 16px;
124
+ }
125
+ .aplus-ap-form-search-form .ant-form-item-control .ant-picker {
126
+ display: flex;
127
+ }
128
+ .aplus-ap-form-search-form .ant-form-item-control .ant-input-number {
129
+ width: 100%;
130
+ }
131
+ .aplus-ap-form-item-text-group-compact .ant-select-focused {
132
+ z-index: 1;
133
+ }
134
+ .aplus-ap-form-item-text-group-compact .ant-select:hover {
135
+ z-index: 1;
136
+ }
137
+ .aplus-ap-form-item-text-group-compact .ant-picker-focused {
138
+ z-index: 1;
139
+ }
140
+ .aplus-ap-form-item-text-group-compact .ant-picker:hover {
141
+ z-index: 1;
142
+ }
143
+ .aplus-ap-form-item-text-group-compact .ant-input-number-focused {
144
+ z-index: 1;
145
+ }
146
+ .aplus-ap-form-item-text-group-compact .ant-input-number:hover {
147
+ z-index: 1;
148
+ }
149
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-form-item-control-input-content > :first-child,
150
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-select-selector {
151
+ border-start-end-radius: 0;
152
+ border-end-end-radius: 0;
153
+ }
154
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-form-item-control-input-content > .ant-input-group > :last-child,
155
+ .aplus-ap-form-item-text-group-compact .ant-form-item:first-child .ant-select-selector {
156
+ border-start-end-radius: 0;
157
+ border-end-end-radius: 0;
158
+ }
159
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > :first-child,
160
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
161
+ border-start-start-radius: 0;
162
+ border-end-start-radius: 0;
163
+ }
164
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-form-item-control-input-content > .ant-input-group > :first-child,
165
+ .aplus-ap-form-item-text-group-compact .ant-form-item:last-child .ant-select-selector {
166
+ border-start-start-radius: 0;
167
+ border-end-start-radius: 0;
168
+ }
169
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > :first-child,
170
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
171
+ border-radius: 0;
172
+ }
173
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-form-item-control-input-content > .ant-input-group > *,
174
+ .aplus-ap-form-item-text-group-compact .ant-form-item:not(:first-child):not(:last-child) .ant-select-selector {
175
+ border-radius: 0;
176
+ }
177
+ .aplus-ap-form-item-text-group-compact .ant-input-group-addon:first-child {
178
+ border-radius: 0;
179
+ }
180
+ .ant-form-vertical .ant-input-group.ant-input-group-compact > * {
181
+ vertical-align: bottom;
182
+ }
183
+ .aplus-field-checkbox--vertical {
184
+ display: inline-block;
185
+ }
186
+ .aplus-field-checkbox--vertical label.ant-checkbox-wrapper:not(:last-child) {
187
+ display: flex;
188
+ margin-block-end: 16px;
189
+ }
190
+ .aplus-field-number-label-left {
191
+ padding-right: 4px;
192
+ }
193
+ .aplus-field-number-label-right {
194
+ padding-left: 4px;
195
+ }
196
+ .aplus-field-radio--vertical label.ant-radio-wrapper:not(:last-child) {
197
+ display: flex;
198
+ margin-block-end: 16px;
199
+ }
200
+ .aplus-field-text-area {
201
+ white-space: pre-wrap;
202
+ word-wrap: break-word;
203
+ word-break: break-all;
204
+ }
205
+ .aplus-action-item {
206
+ display: inline-block;
207
+ font-size: 14px;
208
+ line-height: 22px;
209
+ cursor: pointer;
210
+ }
211
+ .aplus-action-item--primary {
212
+ color: var(--ap-action-color-primary-base, #0070FF);
213
+ }
214
+ .aplus-action-item--primary:not(.aplus-action-item--disabled):hover {
215
+ color: var(--ap-action-color-primary-hover, #66A9FF);
216
+ }
217
+ .aplus-action-item--success {
218
+ color: var(--ap-action-color-success, #2ED1A3);
219
+ }
220
+ .aplus-action-item--error {
221
+ color: var(--ap-action-color-error, #FF4D4F);
222
+ }
223
+ .aplus-action-item--warn {
224
+ color: var(--ap-action-color-warn, #FFA940);
225
+ }
226
+ .aplus-action-item--loading {
227
+ opacity: 0.35;
228
+ transition: opacity 0.2s;
229
+ cursor: default;
230
+ }
231
+ .aplus-action-item--loading .btn-loading-icon {
232
+ margin-right: 4px;
233
+ }
234
+ .aplus-action-item--disabled {
235
+ color: #CCE2FF;
236
+ cursor: not-allowed;
237
+ }
238
+ .aplus-action-item-dropdown__item .aplus-action-item {
239
+ width: 100%;
240
+ }
241
+ .aplus-action-item-dropdown__wrapper {
242
+ display: inline-flex;
243
+ flex-direction: row;
244
+ align-items: center;
245
+ }
246
+ .aplus-action-item-dropdown__icon {
247
+ color: #0070ff;
248
+ margin-left: 4px;
249
+ font-size: 14px;
250
+ display: inline-flex;
251
+ }
252
+ .aplus-ap-grid-wrapper {
253
+ padding: 16px;
254
+ background-color: #fff;
255
+ }
256
+ .aplus-ap-grid__search-wrapper {
257
+ padding: 16px;
258
+ padding-bottom: 0;
259
+ background-color: #fff;
260
+ margin-bottom: 10px;
261
+ }
262
+ .aplus-ap-grid__table-wrapper {
263
+ flex: 1;
264
+ max-height: 100%;
265
+ display: flex;
266
+ flex-direction: column;
267
+ }
268
+ .aplus-ap-grid__table-wrapper-card {
269
+ padding: 12px 16px 16px;
270
+ background-color: #fff;
271
+ overflow: hidden;
272
+ }
273
+ .aplus-ap-grid-pagination {
274
+ margin-top: 16px;
275
+ display: flex;
276
+ flex-wrap: wrap;
277
+ row-gap: 8px;
278
+ }
279
+ .aplus-ap-grid-pagination .ant-pagination-total-text {
280
+ flex: 1;
281
+ }
282
+ .aplus-ap-grid-pagination-count-text {
283
+ color: var(--ap-table-pagination-total-count-color, #182948);
284
+ }
285
+ .aplus-ap-grid-pagination--total-right {
286
+ padding-left: 12px;
287
+ }
288
+ .aplus-ap-grid-pagination-total-wrapper {
289
+ color: var(--ap-table-pagination-total-color, #526A90);
290
+ }
291
+ .aplus-ap-grid-table-header__title {
292
+ display: -webkit-inline-box;
293
+ -webkit-line-clamp: 2;
294
+ -webkit-box-orient: vertical;
295
+ overflow: hidden;
296
+ text-overflow: ellipsis;
297
+ white-space: normal;
298
+ max-width: 100%;
299
+ vertical-align: middle;
300
+ word-break: break-all;
301
+ flex: 1;
302
+ }
@@ -0,0 +1,65 @@
1
+ @import '../mixins/mixins.less';
2
+ // 因为在ApTable里面可能会查询表单因此表单和控件的样式最好直接导入
3
+ @import '../ap-form/index.less';
4
+ @import '../ap-field/index.less';
5
+ @import '../ap-action/item.less';
6
+ @import '../ap-action/item-dropdown.less';
7
+
8
+ .b(ap-grid, {
9
+ &-wrapper {
10
+ padding: 16px;
11
+ background-color: #fff;
12
+ }
13
+ &__search-wrapper {
14
+ padding:16px;
15
+ padding-bottom: 0;
16
+ background-color: #fff;
17
+ margin-bottom: 10px;
18
+ }
19
+ &__table-wrapper {
20
+ flex: 1;
21
+ max-height: 100%;
22
+ display: flex;
23
+ flex-direction: column;
24
+ }
25
+ &__table-wrapper-card {
26
+ padding: 12px 16px 16px;
27
+ background-color: #fff;
28
+ overflow: hidden;
29
+ }
30
+ &-pagination {
31
+ margin-top: 16px;
32
+ display: flex;
33
+ flex-wrap: wrap;
34
+ row-gap: 8px;
35
+ .ant-pagination-total-text {
36
+ flex: 1;
37
+ }
38
+ }
39
+ &-pagination-count-text {
40
+ color: var(--ap-table-pagination-total-count-color, #182948);
41
+ }
42
+ &-pagination--total-right {
43
+ padding-left: 12px;
44
+ }
45
+ &-pagination-total-wrapper {
46
+ color: var(--ap-table-pagination-total-color, #526A90);
47
+ }
48
+ &-header-wrapper {
49
+ }
50
+ // ApTable中Table的Header区域
51
+ &-table-header {
52
+ &__title {
53
+ display: -webkit-inline-box;
54
+ -webkit-line-clamp: 2;
55
+ -webkit-box-orient: vertical;
56
+ overflow: hidden;
57
+ text-overflow: ellipsis;
58
+ white-space: normal;
59
+ max-width: 100%;
60
+ vertical-align: middle;
61
+ word-break: break-all;
62
+ flex: 1;
63
+ }
64
+ }
65
+ });
package/theme/index.css CHANGED
@@ -2159,3 +2159,54 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
2159
2159
  width: 100vw;
2160
2160
  height: 100vh;
2161
2161
  }
2162
+ .aplus-ap-grid-wrapper {
2163
+ padding: 16px;
2164
+ background-color: #fff;
2165
+ }
2166
+ .aplus-ap-grid__search-wrapper {
2167
+ padding: 16px;
2168
+ padding-bottom: 0;
2169
+ background-color: #fff;
2170
+ margin-bottom: 10px;
2171
+ }
2172
+ .aplus-ap-grid__table-wrapper {
2173
+ flex: 1;
2174
+ max-height: 100%;
2175
+ display: flex;
2176
+ flex-direction: column;
2177
+ }
2178
+ .aplus-ap-grid__table-wrapper-card {
2179
+ padding: 12px 16px 16px;
2180
+ background-color: #fff;
2181
+ overflow: hidden;
2182
+ }
2183
+ .aplus-ap-grid-pagination {
2184
+ margin-top: 16px;
2185
+ display: flex;
2186
+ flex-wrap: wrap;
2187
+ row-gap: 8px;
2188
+ }
2189
+ .aplus-ap-grid-pagination .ant-pagination-total-text {
2190
+ flex: 1;
2191
+ }
2192
+ .aplus-ap-grid-pagination-count-text {
2193
+ color: var(--ap-table-pagination-total-count-color, #182948);
2194
+ }
2195
+ .aplus-ap-grid-pagination--total-right {
2196
+ padding-left: 12px;
2197
+ }
2198
+ .aplus-ap-grid-pagination-total-wrapper {
2199
+ color: var(--ap-table-pagination-total-color, #526A90);
2200
+ }
2201
+ .aplus-ap-grid-table-header__title {
2202
+ display: -webkit-inline-box;
2203
+ -webkit-line-clamp: 2;
2204
+ -webkit-box-orient: vertical;
2205
+ overflow: hidden;
2206
+ text-overflow: ellipsis;
2207
+ white-space: normal;
2208
+ max-width: 100%;
2209
+ vertical-align: middle;
2210
+ word-break: break-all;
2211
+ flex: 1;
2212
+ }
package/theme/index.less CHANGED
@@ -36,3 +36,4 @@
36
36
  @import './batch-input-group/index.less';
37
37
  @import './scroll-view/index.less';
38
38
  @import './full-screen/index.less';
39
+ @import './ap-grid/index.less';