@aplus-frontend/ui 6.13.4 → 6.15.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/src/ap-grid/hooks/use-row-selection.d.ts +6 -5
- package/es/src/ap-grid/hooks/use-row-selection.mjs +71 -56
- package/es/src/ap-grid/index.vue.mjs +7 -10
- package/es/src/ap-grid/utils/table.mjs +8 -8
- package/es/src/ap-list/hooks/use-offline-list.d.ts +3 -0
- package/es/src/ap-list/hooks/use-offline-list.mjs +25 -19
- package/es/src/ap-list/interface.d.ts +3 -5
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -1
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +153 -116
- package/es/src/business/ap-export-group/convertExportField.d.ts +3 -1
- package/es/src/business/ap-export-group/index.d.ts +3 -3
- package/es/src/business/ap-export-group/interface.d.ts +14 -2
- package/es/src/business/ap-table-modal/interface.d.ts +3 -1
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +32 -30
- package/es/src/design-token/index.mjs +1 -1
- package/es/src/editable-table/hooks/use-get-columns.mjs +18 -18
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ap-grid/hooks/use-row-selection.d.ts +6 -5
- package/lib/src/ap-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/hooks/use-offline-list.d.ts +3 -0
- package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
- package/lib/src/ap-list/interface.d.ts +3 -5
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.d.ts +3 -1
- package/lib/src/business/ap-export-group/index.d.ts +3 -3
- package/lib/src/business/ap-export-group/interface.d.ts +14 -2
- package/lib/src/business/ap-table-modal/interface.d.ts +3 -1
- package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
- package/lib/src/design-token/index.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
- package/theme/antdv-override.css +0 -24
- package/theme/antdv-override.less +0 -33
- package/theme/ap-grid/index.css +11 -4
- package/theme/ap-grid/index.less +11 -2
- package/theme/ap-table-modal/index.css +3 -2
- package/theme/ap-table-modal/index.less +3 -2
- package/theme/css-var.css +2 -0
- package/theme/css-var.less +4 -0
- package/theme/index.css +16 -30
- package/theme/reset.css +18 -0
- package/theme/reset.less +26 -2
package/theme/index.css
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
--ap-color-bg-2: #f3f5f8;
|
|
24
24
|
--ap-scrollbar-thumb-color-base: #c8d1de;
|
|
25
25
|
--ap-scrollbar-thumb-color-hover: #959ca7;
|
|
26
|
+
--ap-scrollbar-track-color-hover: #f2f6f9;
|
|
26
27
|
--ap-text-color-4: #abb7cc;
|
|
27
28
|
--batch-input-group-trigger-color-disabled: rgba(24, 41, 72, 0.25);
|
|
28
29
|
--ap-radio-group-item-active-bg-color: rgba(0, 112, 255, 0.12);
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
--ap-color-bg-2: #f5f5f5;
|
|
55
56
|
--ap-scrollbar-thumb-color-base: #bfbfbf;
|
|
56
57
|
--ap-scrollbar-thumb-color-hover: #787878;
|
|
58
|
+
--ap-scrollbar-track-color-hover: #f7f7f7;
|
|
57
59
|
--ap-text-color-4: #bfbfbf;
|
|
58
60
|
--batch-input-group-trigger-color-disabled: rgba(0, 0, 0, 0.25);
|
|
59
61
|
--ap-radio-group-item-active-bg-color: rgba(52, 183, 124, 0.12);
|
|
@@ -331,18 +333,6 @@
|
|
|
331
333
|
[data-aplus-ui-mode='aplus'] .ant-input-number .ant-input-number-input-wrap > input::placeholder {
|
|
332
334
|
color: #abb7cc;
|
|
333
335
|
}
|
|
334
|
-
[data-aplus-ui-mode='aplus'] input[disabled].ant-input {
|
|
335
|
-
color: var(--ap-text-color-1);
|
|
336
|
-
}
|
|
337
|
-
[data-aplus-ui-mode='aplus'] textarea[disabled].ant-input {
|
|
338
|
-
color: var(--ap-text-color-1);
|
|
339
|
-
}
|
|
340
|
-
[data-aplus-ui-mode='aplus'] .ant-picker.ant-picker-disabled .ant-picker-input > input[disabled] {
|
|
341
|
-
color: var(--ap-text-color-1);
|
|
342
|
-
}
|
|
343
|
-
[data-aplus-ui-mode='aplus'] .ant-select-disabled .ant-select-selection-item {
|
|
344
|
-
color: var(--ap-text-color-1) !important;
|
|
345
|
-
}
|
|
346
336
|
[data-aplus-ui-mode='aplus'] .ant-input-clear-icon {
|
|
347
337
|
line-height: 18px;
|
|
348
338
|
}
|
|
@@ -622,18 +612,6 @@
|
|
|
622
612
|
[data-aplus-ui-mode='admin'] .ant-input-number .ant-input-number-input-wrap > input::placeholder {
|
|
623
613
|
color: #bfbfbf;
|
|
624
614
|
}
|
|
625
|
-
[data-aplus-ui-mode='admin'] input[disabled].ant-input {
|
|
626
|
-
color: var(--ap-text-color-1);
|
|
627
|
-
}
|
|
628
|
-
[data-aplus-ui-mode='admin'] textarea[disabled].ant-input {
|
|
629
|
-
color: var(--ap-text-color-1);
|
|
630
|
-
}
|
|
631
|
-
[data-aplus-ui-mode='admin'] .ant-picker.ant-picker-disabled .ant-picker-input > input[disabled] {
|
|
632
|
-
color: var(--ap-text-color-1);
|
|
633
|
-
}
|
|
634
|
-
[data-aplus-ui-mode='admin'] .ant-select-disabled .ant-select-selection-item {
|
|
635
|
-
color: var(--ap-text-color-1) !important;
|
|
636
|
-
}
|
|
637
615
|
[data-aplus-ui-mode='admin'] .ant-input-clear-icon {
|
|
638
616
|
line-height: 18px;
|
|
639
617
|
}
|
|
@@ -2959,7 +2937,8 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
2959
2937
|
position: relative;
|
|
2960
2938
|
}
|
|
2961
2939
|
.aplus-ap-table-modal--table-layout-left {
|
|
2962
|
-
|
|
2940
|
+
flex: 1;
|
|
2941
|
+
min-width: 0px;
|
|
2963
2942
|
padding-right: 20px;
|
|
2964
2943
|
box-sizing: border-box;
|
|
2965
2944
|
display: flex;
|
|
@@ -2972,6 +2951,7 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
2972
2951
|
height: 100%;
|
|
2973
2952
|
}
|
|
2974
2953
|
.aplus-ap-table-modal--table-layout-right {
|
|
2954
|
+
max-height: 643px;
|
|
2975
2955
|
width: 410px;
|
|
2976
2956
|
padding-left: 20px;
|
|
2977
2957
|
position: relative;
|
|
@@ -2980,7 +2960,6 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
2980
2960
|
}
|
|
2981
2961
|
.aplus-ap-table-modal--table-layout-right-content {
|
|
2982
2962
|
flex: 1;
|
|
2983
|
-
max-height: 540px;
|
|
2984
2963
|
overflow-y: auto;
|
|
2985
2964
|
}
|
|
2986
2965
|
.aplus-ap-table-modal--table-layout-right::before {
|
|
@@ -3407,19 +3386,26 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
3407
3386
|
.aplus-ap-grid ::-webkit-scrollbar-thumb:active {
|
|
3408
3387
|
background-color: var(--ap-scrollbar-thumb-color-hover);
|
|
3409
3388
|
}
|
|
3410
|
-
.aplus-ap-grid .vxe-table--render-default.size--medium .vxe-body--column.is--padding div.vxe-cell
|
|
3411
|
-
.aplus-ap-grid .vxe-table--render-default.size--medium .vxe-header--column.is--padding div.vxe-cell {
|
|
3389
|
+
.aplus-ap-grid .vxe-table--render-default.size--medium .vxe-body--column.is--padding div.vxe-cell {
|
|
3412
3390
|
min-height: unset !important;
|
|
3413
3391
|
padding: 9px 12px;
|
|
3414
3392
|
font-size: 12px;
|
|
3415
3393
|
line-height: 18px;
|
|
3416
3394
|
}
|
|
3417
|
-
.aplus-ap-grid .vxe-table--render-default.size--mini .vxe-body--column.is--padding div.vxe-cell
|
|
3418
|
-
.aplus-ap-grid .vxe-table--render-default.size--mini .vxe-header--column.is--padding div.vxe-cell {
|
|
3395
|
+
.aplus-ap-grid .vxe-table--render-default.size--mini .vxe-body--column.is--padding div.vxe-cell {
|
|
3419
3396
|
min-height: unset !important;
|
|
3420
3397
|
padding: 6px 9px;
|
|
3421
3398
|
line-height: 18px;
|
|
3422
3399
|
}
|
|
3400
|
+
.aplus-ap-grid .vxe-table--render-default.size--medium .vxe-header--column.is--padding div.vxe-cell {
|
|
3401
|
+
font-size: 12px;
|
|
3402
|
+
line-height: 16px;
|
|
3403
|
+
padding: 0px 12px;
|
|
3404
|
+
}
|
|
3405
|
+
.aplus-ap-grid .vxe-table--render-default.size--mini .vxe-header--column.is--padding div.vxe-cell {
|
|
3406
|
+
line-height: 16px;
|
|
3407
|
+
padding: 0 9px;
|
|
3408
|
+
}
|
|
3423
3409
|
.aplus-ap-grid-adaptive {
|
|
3424
3410
|
height: 100%;
|
|
3425
3411
|
display: flex;
|
package/theme/reset.css
CHANGED
|
@@ -255,3 +255,21 @@ mark {
|
|
|
255
255
|
padding: 0.2em;
|
|
256
256
|
background-color: #feffe6;
|
|
257
257
|
}
|
|
258
|
+
::-webkit-scrollbar {
|
|
259
|
+
width: 10px;
|
|
260
|
+
height: 10px;
|
|
261
|
+
}
|
|
262
|
+
::-webkit-scrollbar-thumb {
|
|
263
|
+
background-color: var(--ap-scrollbar-thumb-color-base);
|
|
264
|
+
background-clip: content-box;
|
|
265
|
+
border: 1px solid transparent;
|
|
266
|
+
border-radius: 4px;
|
|
267
|
+
}
|
|
268
|
+
::-webkit-scrollbar-track,
|
|
269
|
+
::-webkit-scrollbar-corner {
|
|
270
|
+
background-color: var(--ap-scrollbar-track-color-hover, #f2f6f9);
|
|
271
|
+
}
|
|
272
|
+
::-webkit-scrollbar-thumb:hover,
|
|
273
|
+
::-webkit-scrollbar-thumb:active {
|
|
274
|
+
background-color: var(--ap-scrollbar-thumb-color-hover);
|
|
275
|
+
}
|
package/theme/reset.less
CHANGED
|
@@ -118,8 +118,8 @@ code,
|
|
|
118
118
|
kbd,
|
|
119
119
|
samp {
|
|
120
120
|
font-size: 1em;
|
|
121
|
-
font-family:
|
|
122
|
-
monospace;
|
|
121
|
+
font-family:
|
|
122
|
+
'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
123
123
|
}
|
|
124
124
|
pre {
|
|
125
125
|
margin-top: 0;
|
|
@@ -255,3 +255,27 @@ mark {
|
|
|
255
255
|
padding: 0.2em;
|
|
256
256
|
background-color: #feffe6;
|
|
257
257
|
}
|
|
258
|
+
|
|
259
|
+
// scrolbar reset
|
|
260
|
+
|
|
261
|
+
::-webkit-scrollbar {
|
|
262
|
+
width: 10px;
|
|
263
|
+
height: 10px;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
::-webkit-scrollbar-thumb {
|
|
267
|
+
background-color: var(--ap-scrollbar-thumb-color-base);
|
|
268
|
+
background-clip: content-box;
|
|
269
|
+
border: 1px solid transparent;
|
|
270
|
+
border-radius: 4px;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
::-webkit-scrollbar-track,
|
|
274
|
+
::-webkit-scrollbar-corner {
|
|
275
|
+
background-color: var(--ap-scrollbar-track-color-hover, #f2f6f9);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
::-webkit-scrollbar-thumb:hover,
|
|
279
|
+
::-webkit-scrollbar-thumb:active {
|
|
280
|
+
background-color: var(--ap-scrollbar-thumb-color-hover);
|
|
281
|
+
}
|