@aplus-frontend/ui 0.5.34 → 0.5.36
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.
- package/es/src/ap-grid/editable/interface.d.ts +4 -0
- package/es/src/ap-grid/index.vue.mjs +65 -66
- package/es/src/ap-grid/interface.d.ts +8 -3
- package/es/src/ap-grid/utils/col.mjs +51 -51
- package/es/src/ap-grid/utils/table.mjs +13 -10
- package/es/src/ap-list/index.vue.mjs +23 -23
- package/es/src/design-token/index.mjs +1 -0
- package/es/src/editable-table/index.vue.mjs +1 -1
- package/es/src/editable-table/interface.d.ts +4 -0
- package/es/src/editable-table/utils.mjs +54 -52
- package/lib/src/ap-grid/editable/interface.d.ts +4 -0
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +8 -3
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/design-token/index.js +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +4 -0
- package/lib/src/editable-table/utils.js +1 -1
- package/package.json +1 -1
- package/theme/ap-grid/index.css +6 -5
- package/theme/ap-grid/index.less +5 -2
- package/theme/index.css +9 -8
- package/theme/splitter/index.less +6 -6
package/theme/ap-grid/index.css
CHANGED
|
@@ -268,9 +268,6 @@
|
|
|
268
268
|
bottom: 0;
|
|
269
269
|
padding-bottom: 16px;
|
|
270
270
|
}
|
|
271
|
-
.aplus-ap-grid-sticky:has(.aplus-scroll-bar) .aplus-ap-grid-pagination-wrapper {
|
|
272
|
-
padding-bottom: 0;
|
|
273
|
-
}
|
|
274
271
|
.aplus-ap-grid-sticky:has(.aplus-scroll-bar) .aplus-ap-grid-pagination-wrapper ul.ant-pagination {
|
|
275
272
|
margin-top: 0;
|
|
276
273
|
padding-top: 8px;
|
|
@@ -288,6 +285,9 @@
|
|
|
288
285
|
.aplus-ap-grid-wrapper.aplus-ap-grid-sticky {
|
|
289
286
|
padding-bottom: 0;
|
|
290
287
|
}
|
|
288
|
+
.aplus-ap-grid-sticky > .aplus-ap-grid__table-wrapper-card {
|
|
289
|
+
padding-bottom: 0;
|
|
290
|
+
}
|
|
291
291
|
.aplus-ap-grid__search-wrapper {
|
|
292
292
|
padding: 16px;
|
|
293
293
|
padding-bottom: 0;
|
|
@@ -336,12 +336,13 @@
|
|
|
336
336
|
word-break: break-all;
|
|
337
337
|
flex: 1;
|
|
338
338
|
}
|
|
339
|
-
.aplus-ap-grid .vxe-cell--wrapper {
|
|
339
|
+
.aplus-ap-grid th .vxe-cell--wrapper {
|
|
340
340
|
display: flex;
|
|
341
341
|
flex-direction: row;
|
|
342
342
|
flex-wrap: nowrap;
|
|
343
343
|
align-items: center;
|
|
344
344
|
}
|
|
345
|
-
.aplus-ap-grid .vxe-cell--wrapper .vxe-cell--title {
|
|
345
|
+
.aplus-ap-grid th .vxe-cell--wrapper .vxe-cell--title {
|
|
346
346
|
flex-shrink: 1;
|
|
347
|
+
flex-grow: 1;
|
|
347
348
|
}
|
package/theme/ap-grid/index.less
CHANGED
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
}
|
|
35
35
|
&:has(.@{sb}) {
|
|
36
36
|
.@{pg} {
|
|
37
|
-
padding-bottom: 0;
|
|
38
37
|
ul.ant-pagination {
|
|
39
38
|
margin-top: 0;
|
|
40
39
|
padding-top: 8px;
|
|
@@ -55,6 +54,9 @@
|
|
|
55
54
|
&-wrapper&-sticky {
|
|
56
55
|
padding-bottom: 0;
|
|
57
56
|
}
|
|
57
|
+
&-sticky > &__table-wrapper-card {
|
|
58
|
+
padding-bottom: 0;
|
|
59
|
+
}
|
|
58
60
|
&__search-wrapper {
|
|
59
61
|
padding:16px;
|
|
60
62
|
padding-bottom: 0;
|
|
@@ -109,13 +111,14 @@
|
|
|
109
111
|
}
|
|
110
112
|
}
|
|
111
113
|
|
|
112
|
-
.vxe-cell--wrapper {
|
|
114
|
+
th .vxe-cell--wrapper {
|
|
113
115
|
display: flex;
|
|
114
116
|
flex-direction: row;
|
|
115
117
|
flex-wrap: nowrap;
|
|
116
118
|
align-items: center;
|
|
117
119
|
.vxe-cell--title {
|
|
118
120
|
flex-shrink: 1;
|
|
121
|
+
flex-grow: 1;
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
});
|
package/theme/index.css
CHANGED
|
@@ -2367,17 +2367,14 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
2367
2367
|
bottom: 0;
|
|
2368
2368
|
padding-bottom: 16px;
|
|
2369
2369
|
}
|
|
2370
|
-
.aplus-ap-grid-sticky:has(.aplus-
|
|
2371
|
-
padding-bottom: 0;
|
|
2372
|
-
}
|
|
2373
|
-
.aplus-ap-grid-sticky:has(.aplus-splitter-bar) .aplus-ap-grid-pagination-wrapper ul.ant-pagination {
|
|
2370
|
+
.aplus-ap-grid-sticky:has(.aplus-scroll-bar) .aplus-ap-grid-pagination-wrapper ul.ant-pagination {
|
|
2374
2371
|
margin-top: 0;
|
|
2375
2372
|
padding-top: 8px;
|
|
2376
2373
|
}
|
|
2377
|
-
.aplus-ap-grid-sticky:has(.aplus-
|
|
2374
|
+
.aplus-ap-grid-sticky:has(.aplus-scroll-bar) .vxe-table--scroll-x-wrapper {
|
|
2378
2375
|
opacity: 0;
|
|
2379
2376
|
}
|
|
2380
|
-
.aplus-ap-grid-sticky:has(.aplus-
|
|
2377
|
+
.aplus-ap-grid-sticky:has(.aplus-scroll-bar) .vxe-table .vxe-table--scroll-x-virtual {
|
|
2381
2378
|
height: 0px !important;
|
|
2382
2379
|
}
|
|
2383
2380
|
.aplus-ap-grid-wrapper {
|
|
@@ -2387,6 +2384,9 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
2387
2384
|
.aplus-ap-grid-wrapper.aplus-ap-grid-sticky {
|
|
2388
2385
|
padding-bottom: 0;
|
|
2389
2386
|
}
|
|
2387
|
+
.aplus-ap-grid-sticky > .aplus-ap-grid__table-wrapper-card {
|
|
2388
|
+
padding-bottom: 0;
|
|
2389
|
+
}
|
|
2390
2390
|
.aplus-ap-grid__search-wrapper {
|
|
2391
2391
|
padding: 16px;
|
|
2392
2392
|
padding-bottom: 0;
|
|
@@ -2435,14 +2435,15 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
2435
2435
|
word-break: break-all;
|
|
2436
2436
|
flex: 1;
|
|
2437
2437
|
}
|
|
2438
|
-
.aplus-ap-grid .vxe-cell--wrapper {
|
|
2438
|
+
.aplus-ap-grid th .vxe-cell--wrapper {
|
|
2439
2439
|
display: flex;
|
|
2440
2440
|
flex-direction: row;
|
|
2441
2441
|
flex-wrap: nowrap;
|
|
2442
2442
|
align-items: center;
|
|
2443
2443
|
}
|
|
2444
|
-
.aplus-ap-grid .vxe-cell--wrapper .vxe-cell--title {
|
|
2444
|
+
.aplus-ap-grid th .vxe-cell--wrapper .vxe-cell--title {
|
|
2445
2445
|
flex-shrink: 1;
|
|
2446
|
+
flex-grow: 1;
|
|
2446
2447
|
}
|
|
2447
2448
|
.aplus-editable-grid__header-cell--required {
|
|
2448
2449
|
color: #FF4D4F;
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
@s: ~'@{ns}-splitter';
|
|
22
|
-
@
|
|
23
|
-
@sbp: ~'@{
|
|
22
|
+
@spb: ~'@{s}-bar';
|
|
23
|
+
@sbp: ~'@{spb}-preview';
|
|
24
24
|
@sbpa: ~'@{sbp}-active';
|
|
25
|
-
@sbd: ~'@{
|
|
26
|
-
@sbcb: ~'@{
|
|
25
|
+
@sbd: ~'@{spb}-dragger';
|
|
26
|
+
@sbcb: ~'@{spb}-collapse-bar';
|
|
27
27
|
@sbda: ~'@{sbd}-active';
|
|
28
28
|
@offset: ~'--@{ns}-splitter-bar-preview-offset';
|
|
29
29
|
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
&-horizontal {
|
|
131
131
|
flex-direction: row;
|
|
132
|
-
& > .@{
|
|
132
|
+
& > .@{spb} {
|
|
133
133
|
width: 0;
|
|
134
134
|
.@{sbp} {
|
|
135
135
|
height: 100%;
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
|
|
178
178
|
&-vertical {
|
|
179
179
|
flex-direction: column;
|
|
180
|
-
& > .@{
|
|
180
|
+
& > .@{spb} {
|
|
181
181
|
height: 0;
|
|
182
182
|
.@{sbp} {
|
|
183
183
|
height: @split-bar-size;
|