@aplus-frontend/ui 6.21.0 → 6.22.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.
- package/es/index.mjs +27 -25
- package/es/src/ag-grid/components/body-cell/index.vue.d.ts +6 -0
- package/es/src/ag-grid/components/body-cell/index.vue.mjs +4 -0
- package/es/src/ag-grid/components/body-cell/index.vue2.mjs +27 -0
- package/es/src/ag-grid/components/header-cell/index.vue.d.ts +6 -0
- package/es/src/ag-grid/components/header-cell/index.vue.mjs +4 -0
- package/es/src/ag-grid/components/header-cell/index.vue2.mjs +59 -0
- package/es/src/ag-grid/hooks/use-row-selection.d.ts +78 -0
- package/es/src/ag-grid/hooks/use-row-selection.mjs +98 -0
- package/es/src/ag-grid/index.d.ts +3 -0
- package/es/src/ag-grid/index.mjs +2 -0
- package/es/src/ag-grid/index.vue.d.ts +41 -0
- package/es/src/ag-grid/index.vue.mjs +377 -0
- package/es/src/ag-grid/index.vue2.mjs +4 -0
- package/es/src/ag-grid/interface.d.ts +194 -0
- package/es/src/ag-grid/interface.mjs +1 -0
- package/es/src/ag-grid/style/css.d.ts +0 -0
- package/es/src/ag-grid/style/css.js +1 -0
- package/es/src/ag-grid/style/index.d.ts +0 -0
- package/es/src/ag-grid/style/index.js +1 -0
- package/es/src/ap-grid/index.vue.mjs +1 -1
- package/es/src/ap-grid/utils/col.d.ts +11 -0
- package/es/src/ap-grid/utils/col.mjs +99 -95
- package/es/src/ap-table/utils.d.ts +1 -1
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +293 -290
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/components/body-cell/index.vue.d.ts +6 -0
- package/lib/src/ag-grid/components/body-cell/index.vue.js +1 -0
- package/lib/src/ag-grid/components/body-cell/index.vue2.js +1 -0
- package/lib/src/ag-grid/components/header-cell/index.vue.d.ts +6 -0
- package/lib/src/ag-grid/components/header-cell/index.vue.js +1 -0
- package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -0
- package/lib/src/ag-grid/hooks/use-row-selection.d.ts +78 -0
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -0
- package/lib/src/ag-grid/index.d.ts +3 -0
- package/lib/src/ag-grid/index.js +1 -0
- package/lib/src/ag-grid/index.vue.d.ts +41 -0
- package/lib/src/ag-grid/index.vue.js +1 -0
- package/lib/src/ag-grid/index.vue2.js +1 -0
- package/lib/src/ag-grid/interface.d.ts +194 -0
- package/lib/src/ag-grid/interface.js +1 -0
- package/lib/src/ag-grid/style/css.cjs +1 -0
- package/lib/src/ag-grid/style/css.d.ts +0 -0
- package/lib/src/ag-grid/style/index.cjs +1 -0
- package/lib/src/ag-grid/style/index.d.ts +0 -0
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/utils/col.d.ts +11 -0
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-table/utils.d.ts +1 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +3 -1
- package/theme/ag-grid/custom-header.css +82 -0
- package/theme/ag-grid/custom-header.less +39 -0
- package/theme/ag-grid/index.css +204 -0
- package/theme/ag-grid/index.less +118 -0
- package/theme/ap-grid/index.css +3 -0
- package/theme/ap-grid/index.less +3 -0
- package/theme/index.css +164 -3
- package/theme/index.less +1 -0
package/theme/index.css
CHANGED
|
@@ -3415,16 +3415,16 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
3415
3415
|
min-height: 0;
|
|
3416
3416
|
flex: 1;
|
|
3417
3417
|
}
|
|
3418
|
-
.aplus-ap-grid .aplus-
|
|
3418
|
+
.aplus-ap-grid .aplus-ag-grid-pagination-wrapper ul.ant-pagination {
|
|
3419
3419
|
margin-block: 8px;
|
|
3420
3420
|
}
|
|
3421
|
-
.aplus-ap-grid-sticky .aplus-
|
|
3421
|
+
.aplus-ap-grid-sticky .aplus-ag-grid-pagination-wrapper {
|
|
3422
3422
|
background-color: #fff;
|
|
3423
3423
|
z-index: 10;
|
|
3424
3424
|
position: sticky;
|
|
3425
3425
|
bottom: 0;
|
|
3426
3426
|
}
|
|
3427
|
-
.aplus-ap-grid-sticky:has(.aplus-scroll-bar) .aplus-
|
|
3427
|
+
.aplus-ap-grid-sticky:has(.aplus-scroll-bar) .aplus-ag-grid-pagination-wrapper ul.ant-pagination {
|
|
3428
3428
|
margin-top: 0;
|
|
3429
3429
|
padding-top: 4px;
|
|
3430
3430
|
}
|
|
@@ -3529,6 +3529,9 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
3529
3529
|
word-break: break-all;
|
|
3530
3530
|
flex: 1;
|
|
3531
3531
|
}
|
|
3532
|
+
.aplus-ap-grid-table-header__title--single {
|
|
3533
|
+
flex: unset;
|
|
3534
|
+
}
|
|
3532
3535
|
.aplus-ap-grid th.vxe-header--column .vxe-cell--wrapper {
|
|
3533
3536
|
display: flex;
|
|
3534
3537
|
flex-direction: row;
|
|
@@ -4145,6 +4148,164 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
4145
4148
|
min-height: 200px;
|
|
4146
4149
|
padding: 20px;
|
|
4147
4150
|
}
|
|
4151
|
+
.aplus-ag-custom-header {
|
|
4152
|
+
display: flex;
|
|
4153
|
+
flex-direction: row;
|
|
4154
|
+
flex-wrap: nowrap;
|
|
4155
|
+
align-items: center;
|
|
4156
|
+
flex: 1;
|
|
4157
|
+
}
|
|
4158
|
+
.aplus-ag-custom-header.sortable:hover {
|
|
4159
|
+
cursor: pointer;
|
|
4160
|
+
}
|
|
4161
|
+
.aplus-ag-custom-header.align-center {
|
|
4162
|
+
justify-content: center;
|
|
4163
|
+
}
|
|
4164
|
+
.aplus-ag-custom-header.align-right {
|
|
4165
|
+
justify-content: end;
|
|
4166
|
+
}
|
|
4167
|
+
.aplus-ag-custom-header__sort-wrapper {
|
|
4168
|
+
display: inline-flex;
|
|
4169
|
+
flex-direction: column;
|
|
4170
|
+
align-items: center;
|
|
4171
|
+
color: rgba(0, 0, 0, 0.29);
|
|
4172
|
+
margin-left: 4px;
|
|
4173
|
+
}
|
|
4174
|
+
.aplus-ag-custom-header__sort-wrapper:hover {
|
|
4175
|
+
color: rgba(0, 0, 0, 0.57);
|
|
4176
|
+
cursor: pointer;
|
|
4177
|
+
}
|
|
4178
|
+
.aplus-ag-custom-header__sorter-up.active {
|
|
4179
|
+
color: var(--ap-color-primary);
|
|
4180
|
+
}
|
|
4181
|
+
.aplus-ag-custom-header__sorter-down {
|
|
4182
|
+
margin-top: -0.3em;
|
|
4183
|
+
}
|
|
4184
|
+
.aplus-ag-custom-header__sorter-down.active {
|
|
4185
|
+
color: var(--ap-color-primary);
|
|
4186
|
+
}
|
|
4187
|
+
.aplus-ag-grid ::-webkit-scrollbar {
|
|
4188
|
+
width: 10px;
|
|
4189
|
+
height: 10px;
|
|
4190
|
+
}
|
|
4191
|
+
.aplus-ag-grid ::-webkit-scrollbar-thumb {
|
|
4192
|
+
background-color: var(--ap-scrollbar-thumb-color-base);
|
|
4193
|
+
background-clip: content-box;
|
|
4194
|
+
border: 1px solid transparent;
|
|
4195
|
+
border-radius: 4px;
|
|
4196
|
+
}
|
|
4197
|
+
.aplus-ag-grid ::-webkit-scrollbar-track,
|
|
4198
|
+
.aplus-ag-grid ::-webkit-scrollbar-corner {
|
|
4199
|
+
background-color: var(--ap-table-header-bg, #f2f6f9);
|
|
4200
|
+
}
|
|
4201
|
+
.aplus-ag-grid ::-webkit-scrollbar-thumb:hover,
|
|
4202
|
+
.aplus-ag-grid ::-webkit-scrollbar-thumb:active {
|
|
4203
|
+
background-color: var(--ap-scrollbar-thumb-color-hover);
|
|
4204
|
+
}
|
|
4205
|
+
.aplus-ag-grid-adaptive {
|
|
4206
|
+
height: 100%;
|
|
4207
|
+
display: flex;
|
|
4208
|
+
flex-direction: column;
|
|
4209
|
+
}
|
|
4210
|
+
.aplus-ag-grid-adaptive .aplus-ag-grid-grid-wrapper {
|
|
4211
|
+
min-height: 0;
|
|
4212
|
+
flex: 1;
|
|
4213
|
+
position: relative;
|
|
4214
|
+
}
|
|
4215
|
+
.aplus-ag-grid-wrapper {
|
|
4216
|
+
padding: 8px;
|
|
4217
|
+
padding-bottom: 12px;
|
|
4218
|
+
background-color: #fff;
|
|
4219
|
+
}
|
|
4220
|
+
.aplus-ag-grid-wrapper:has(ul.ant-pagination) {
|
|
4221
|
+
padding-bottom: 0;
|
|
4222
|
+
}
|
|
4223
|
+
.aplus-ag-grid-sticky > .aplus-ag-grid__table-wrapper-card {
|
|
4224
|
+
padding-bottom: 0;
|
|
4225
|
+
}
|
|
4226
|
+
.aplus-ag-grid__search-wrapper {
|
|
4227
|
+
padding: 8px;
|
|
4228
|
+
padding-bottom: 0;
|
|
4229
|
+
background-color: #fff;
|
|
4230
|
+
border-radius: 4px;
|
|
4231
|
+
margin-bottom: 10px;
|
|
4232
|
+
}
|
|
4233
|
+
.aplus-ag-grid__table-wrapper {
|
|
4234
|
+
flex: 1;
|
|
4235
|
+
min-height: 0;
|
|
4236
|
+
max-height: 100%;
|
|
4237
|
+
width: 100%;
|
|
4238
|
+
display: flex;
|
|
4239
|
+
flex-direction: column;
|
|
4240
|
+
}
|
|
4241
|
+
.aplus-ag-grid__table-wrapper-card {
|
|
4242
|
+
padding: 8px;
|
|
4243
|
+
padding-bottom: 12px;
|
|
4244
|
+
border-radius: 4px;
|
|
4245
|
+
background-color: #fff;
|
|
4246
|
+
}
|
|
4247
|
+
.aplus-ag-grid__table-wrapper-card:has(ul.ant-pagination) {
|
|
4248
|
+
padding-bottom: 0;
|
|
4249
|
+
}
|
|
4250
|
+
.aplus-ag-grid-pagination {
|
|
4251
|
+
margin-block: 8px;
|
|
4252
|
+
display: flex;
|
|
4253
|
+
flex-wrap: wrap;
|
|
4254
|
+
align-items: center;
|
|
4255
|
+
row-gap: 8px;
|
|
4256
|
+
}
|
|
4257
|
+
.aplus-ag-grid-pagination .ant-pagination-total-text {
|
|
4258
|
+
flex: 1;
|
|
4259
|
+
height: unset;
|
|
4260
|
+
line-height: 18px;
|
|
4261
|
+
display: flex;
|
|
4262
|
+
align-items: center;
|
|
4263
|
+
}
|
|
4264
|
+
.aplus-ag-grid__table-loading-wrapper {
|
|
4265
|
+
position: absolute;
|
|
4266
|
+
top: 0;
|
|
4267
|
+
left: 0;
|
|
4268
|
+
width: 100%;
|
|
4269
|
+
height: 100%;
|
|
4270
|
+
z-index: 1;
|
|
4271
|
+
display: flex;
|
|
4272
|
+
justify-content: center;
|
|
4273
|
+
align-items: center;
|
|
4274
|
+
background-color: var(--vxe-ui-loading-background-color);
|
|
4275
|
+
}
|
|
4276
|
+
.aplus-ag-grid-pagination-count-text {
|
|
4277
|
+
color: var(--ap-text-color-2);
|
|
4278
|
+
}
|
|
4279
|
+
.aplus-ag-grid-pagination--total-right {
|
|
4280
|
+
padding-left: 12px;
|
|
4281
|
+
}
|
|
4282
|
+
.aplus-ag-grid-pagination-total-wrapper {
|
|
4283
|
+
color: var(--ap-text-color-1);
|
|
4284
|
+
}
|
|
4285
|
+
.aplus-ag-grid-table-header__title {
|
|
4286
|
+
display: -webkit-inline-box;
|
|
4287
|
+
-webkit-line-clamp: 2;
|
|
4288
|
+
-webkit-box-orient: vertical;
|
|
4289
|
+
overflow: hidden;
|
|
4290
|
+
text-overflow: ellipsis;
|
|
4291
|
+
white-space: normal;
|
|
4292
|
+
max-width: 100%;
|
|
4293
|
+
vertical-align: middle;
|
|
4294
|
+
word-break: break-all;
|
|
4295
|
+
flex: 1;
|
|
4296
|
+
}
|
|
4297
|
+
.aplus-ag-grid-table-header__title--single {
|
|
4298
|
+
flex: unset;
|
|
4299
|
+
}
|
|
4300
|
+
.aplus-ag-grid__cell--left {
|
|
4301
|
+
text-align: left;
|
|
4302
|
+
}
|
|
4303
|
+
.aplus-ag-grid__cell--center {
|
|
4304
|
+
text-align: center;
|
|
4305
|
+
}
|
|
4306
|
+
.aplus-ag-grid__cell--right {
|
|
4307
|
+
text-align: right;
|
|
4308
|
+
}
|
|
4148
4309
|
.aplus-ap-value-select-card {
|
|
4149
4310
|
position: relative;
|
|
4150
4311
|
margin-top: 8px;
|
package/theme/index.less
CHANGED
|
@@ -51,5 +51,6 @@
|
|
|
51
51
|
@import './ap-radio-group/ap-radio-group.less';
|
|
52
52
|
@import './ap-drawer/ap-drawer.less';
|
|
53
53
|
@import './ap-draggable-grid/ap-draggable-grid.less';
|
|
54
|
+
@import './ag-grid/index.less';
|
|
54
55
|
@import './ap-value-select-card/index.less';
|
|
55
56
|
@import './ap-pro-card/index.less';
|