@aplus-frontend/ui 0.0.40 → 0.1.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-action/item/index.vue2.mjs +19 -20
- package/es/src/ap-action/item-modal/index.vue.mjs +7 -6
- package/es/src/ap-action/style/item.css +10 -25
- package/es/src/ap-field/checkbox/index.vue.mjs +32 -27
- package/es/src/ap-field/checkbox/style.css +7 -0
- package/es/src/ap-field/interface.d.ts +2 -0
- package/es/src/ap-field/radio/index.vue.d.ts +3 -0
- package/es/src/ap-field/radio/index.vue.mjs +44 -29
- package/es/src/ap-field/radio/style.css +4 -0
- package/es/src/ap-table/ap-table.vue.mjs +125 -126
- package/es/src/ap-table/constants.d.ts +15 -0
- package/es/src/ap-table/style/ap-table.css +1 -21
- package/es/src/business/ap-status/ApStatusGroup.vue2.mjs +10 -9
- package/es/src/check-card/index.vue2.mjs +44 -48
- package/es/src/check-card/style/index.css +10 -42
- package/es/src/design-token/index.mjs +4 -2
- package/es/src/editable-table/form-item.vue.mjs +57 -58
- package/es/src/editable-table/index.vue.mjs +54 -55
- package/es/src/editable-table/style/index.css +1 -21
- package/es/src/locale/lang/en.mjs +1 -1
- package/es/src/locale/lang/zh-cn.mjs +22 -22
- package/es/src/theme/ap-action/item.css +10 -25
- package/es/src/theme/ap-field/checkbox.css +7 -0
- package/es/src/theme/ap-field/radio.css +4 -0
- package/es/src/theme/ap-table/ap-table.css +1 -21
- package/es/src/theme/check-card/index.css +10 -42
- package/es/src/theme/css-var/index.mjs +83 -19
- package/es/src/theme/editable-table/index.css +1 -21
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/style/item.css +10 -25
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/style.css +7 -0
- package/lib/src/ap-field/interface.d.ts +2 -0
- package/lib/src/ap-field/radio/index.vue.d.ts +3 -0
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/radio/style.css +4 -0
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/constants.d.ts +15 -0
- package/lib/src/ap-table/style/ap-table.css +1 -21
- package/lib/src/business/ap-status/ApStatusGroup.vue2.js +1 -1
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/check-card/style/index.css +10 -42
- package/lib/src/design-token/index.js +1 -1
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/style/index.css +1 -21
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/theme/ap-action/item.css +10 -25
- package/lib/src/theme/ap-field/checkbox.css +7 -0
- package/lib/src/theme/ap-field/radio.css +4 -0
- package/lib/src/theme/ap-table/ap-table.css +1 -21
- package/lib/src/theme/check-card/index.css +10 -42
- package/lib/src/theme/css-var/index.js +1 -1
- package/lib/src/theme/editable-table/index.css +1 -21
- package/package.json +2 -2
|
@@ -86,28 +86,28 @@ const e = {
|
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
apUpload: {
|
|
89
|
-
update: "
|
|
90
|
-
pictureType: "
|
|
91
|
-
videoType: "
|
|
92
|
-
audioType: "
|
|
93
|
-
documentType: "
|
|
94
|
-
allTypes: "
|
|
95
|
-
networkAnomaly: "
|
|
96
|
-
FailedToObtainOssTemporaryPermissions: "
|
|
97
|
-
pleasePass: "
|
|
98
|
-
supportExtension: "
|
|
99
|
-
uploadFile: "
|
|
100
|
-
fileInitializationException: "
|
|
101
|
-
maxUploadFiles: "
|
|
102
|
-
maxUploadPicture: "
|
|
103
|
-
maxUploadFileSize: "
|
|
104
|
-
maxWarnUploadFileSize: "
|
|
105
|
-
maxUploadPictureSize: "
|
|
106
|
-
fileFormatNotSupported: "
|
|
107
|
-
pictureFormatNotSupported: "
|
|
108
|
-
imageParsingFailed: "
|
|
109
|
-
clickOrDragUpload: "
|
|
110
|
-
foldersNotSupported: "
|
|
89
|
+
update: "Upload",
|
|
90
|
+
pictureType: "Image type",
|
|
91
|
+
videoType: "Video type",
|
|
92
|
+
audioType: "Audio type",
|
|
93
|
+
documentType: "Document type",
|
|
94
|
+
allTypes: "All types",
|
|
95
|
+
networkAnomaly: "Network abnormality",
|
|
96
|
+
FailedToObtainOssTemporaryPermissions: "Failed to obtain temporary OSS permissions",
|
|
97
|
+
pleasePass: "Please pass in",
|
|
98
|
+
supportExtension: "Support extensions",
|
|
99
|
+
uploadFile: "Upload files",
|
|
100
|
+
fileInitializationException: "If the initial number of initialized files exceeds {maxCount}, subsequent uploaded files will be out of sync with the data",
|
|
101
|
+
maxUploadFiles: "Upload a maximum of {maxCount} files",
|
|
102
|
+
maxUploadPicture: "Upload a maximum of {maxCount} images",
|
|
103
|
+
maxUploadFileSize: "The file size does not exceed {maxSize}MB",
|
|
104
|
+
maxWarnUploadFileSize: "The file size is smaller than {maxSize}MB",
|
|
105
|
+
maxUploadPictureSize: "The image size is smaller than {maxSize}MB",
|
|
106
|
+
fileFormatNotSupported: "Files in this format are not supported",
|
|
107
|
+
pictureFormatNotSupported: "Images in this format are not supported",
|
|
108
|
+
imageParsingFailed: "Image parsing failed",
|
|
109
|
+
clickOrDragUpload: "Click or drag the file",
|
|
110
|
+
foldersNotSupported: "Do not support uploading folders"
|
|
111
111
|
},
|
|
112
112
|
apExportGroup: {
|
|
113
113
|
exportError: "导出失败",
|
|
@@ -4,35 +4,20 @@
|
|
|
4
4
|
line-height: 22px;
|
|
5
5
|
cursor: pointer;
|
|
6
6
|
}
|
|
7
|
-
.aplus-action-item
|
|
8
|
-
color:
|
|
7
|
+
.aplus-action-item--primary {
|
|
8
|
+
color: var(--ap-action-color-primary-base);
|
|
9
9
|
}
|
|
10
|
-
.aplus-action-item
|
|
11
|
-
color:
|
|
10
|
+
.aplus-action-item--primary:not(.aplus-action-item--disabled):hover {
|
|
11
|
+
color: var(--ap-action-color-primary-hover);
|
|
12
12
|
}
|
|
13
|
-
.aplus-action-item
|
|
14
|
-
color:
|
|
13
|
+
.aplus-action-item--success {
|
|
14
|
+
color: var(--ap-action-color-success);
|
|
15
15
|
}
|
|
16
|
-
.aplus-action-item
|
|
17
|
-
color:
|
|
16
|
+
.aplus-action-item--error {
|
|
17
|
+
color: var(--ap-action-color-error);
|
|
18
18
|
}
|
|
19
|
-
.aplus-action-item
|
|
20
|
-
color:
|
|
21
|
-
}
|
|
22
|
-
.aplus-action-item-aplus--error {
|
|
23
|
-
color: #FF4D4F;
|
|
24
|
-
}
|
|
25
|
-
.aplus-action-item-aplus--warn {
|
|
26
|
-
color: #FFA940;
|
|
27
|
-
}
|
|
28
|
-
.aplus-action-item-admin--success {
|
|
29
|
-
color: #52C41A;
|
|
30
|
-
}
|
|
31
|
-
.aplus-action-item-admin--error {
|
|
32
|
-
color: #FF4D4F;
|
|
33
|
-
}
|
|
34
|
-
.aplus-action-item-admin--warn {
|
|
35
|
-
color: #FAAD14;
|
|
19
|
+
.aplus-action-item--warn {
|
|
20
|
+
color: var(--ap-action-color-warn);
|
|
36
21
|
}
|
|
37
22
|
.aplus-action-item--loading {
|
|
38
23
|
opacity: 0.35;
|
|
@@ -48,31 +48,11 @@
|
|
|
48
48
|
flex: 1;
|
|
49
49
|
}
|
|
50
50
|
.aplus-ap-table-table tr > th.ant-table-cell {
|
|
51
|
-
background-color:
|
|
52
|
-
border-bottom-color: #E9EDF3;
|
|
51
|
+
background-color: var(--ap-table-header-bg);
|
|
53
52
|
}
|
|
54
53
|
.aplus-ap-table-table tr > th.ant-table-cell::before {
|
|
55
54
|
display: none;
|
|
56
55
|
}
|
|
57
|
-
.aplus-ap-table-table tr > td.ant-table-cell {
|
|
58
|
-
border-top-color: #E9EDF3;
|
|
59
|
-
}
|
|
60
|
-
.aplus-ap-table-table-admin .ant-pagination {
|
|
61
|
-
margin-bottom: 0 !important;
|
|
62
|
-
}
|
|
63
|
-
.aplus-ap-table-table-admin .ant-pagination .ant-pagination-total-text {
|
|
64
|
-
flex: 1;
|
|
65
|
-
}
|
|
66
|
-
.aplus-ap-table-table-admin tr > th.ant-table-cell {
|
|
67
|
-
background-color: #FAFAFA;
|
|
68
|
-
border-bottom-color: #E9E9E9;
|
|
69
|
-
}
|
|
70
|
-
.aplus-ap-table-table-admin tr > th.ant-table-cell::before {
|
|
71
|
-
display: none;
|
|
72
|
-
}
|
|
73
|
-
.aplus-ap-table-table-admin tr > td.ant-table-cell {
|
|
74
|
-
border-top-color: #E9E9E9;
|
|
75
|
-
}
|
|
76
56
|
.aplus-ap-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell {
|
|
77
57
|
padding: 12px 16px;
|
|
78
58
|
}
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
cursor: not-allowed;
|
|
8
8
|
}
|
|
9
9
|
.aplus-check-card--bordered {
|
|
10
|
-
outline: 1px solid var(--check-card-
|
|
10
|
+
outline: 1px solid var(--check-card-outline-color);
|
|
11
11
|
}
|
|
12
|
-
.aplus-check-card
|
|
12
|
+
.aplus-check-card:hover {
|
|
13
13
|
cursor: pointer;
|
|
14
|
-
outline: 1px solid
|
|
14
|
+
outline: 1px solid var(--check-card-hover-outline-color);
|
|
15
15
|
}
|
|
16
|
-
.aplus-check-card
|
|
16
|
+
.aplus-check-card::after {
|
|
17
17
|
content: '';
|
|
18
18
|
position: absolute;
|
|
19
19
|
width: 0;
|
|
@@ -25,47 +25,15 @@
|
|
|
25
25
|
border-block-end: 16px solid transparent;
|
|
26
26
|
border-radius: 4px;
|
|
27
27
|
}
|
|
28
|
-
.aplus-check-card
|
|
29
|
-
outline: 2px solid
|
|
28
|
+
.aplus-check-card--checked {
|
|
29
|
+
outline: 2px solid var(--check-card-checked-outline-color);
|
|
30
30
|
}
|
|
31
|
-
.aplus-check-card
|
|
32
|
-
outline: 2px solid
|
|
31
|
+
.aplus-check-card--checked:hover {
|
|
32
|
+
outline: 2px solid var(--check-card-checked-outline-color);
|
|
33
33
|
}
|
|
34
|
-
.aplus-check-card
|
|
34
|
+
.aplus-check-card--checked::after {
|
|
35
35
|
opacity: 1;
|
|
36
|
-
border: 16px solid
|
|
37
|
-
border-inline-start: 16px solid transparent;
|
|
38
|
-
border-block-end: 16px solid transparent;
|
|
39
|
-
inset-block-start: -2px;
|
|
40
|
-
inset-inline-end: -2px;
|
|
41
|
-
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
42
|
-
}
|
|
43
|
-
.aplus-check-card-admin:hover {
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
outline: 1px solid #34b77c;
|
|
46
|
-
}
|
|
47
|
-
.aplus-check-card-admin::after {
|
|
48
|
-
content: '';
|
|
49
|
-
position: absolute;
|
|
50
|
-
width: 0px;
|
|
51
|
-
height: 0px;
|
|
52
|
-
opacity: 0;
|
|
53
|
-
inset-block-start: -2px;
|
|
54
|
-
inset-inline-end: -2px;
|
|
55
|
-
border-inline-start: 16px solid transparent;
|
|
56
|
-
border-block-end: 16px solid transparent;
|
|
57
|
-
border-radius: 4px;
|
|
58
|
-
}
|
|
59
|
-
.aplus-check-card-admin--checked {
|
|
60
|
-
outline: 2px solid #34b77c;
|
|
61
|
-
}
|
|
62
|
-
.aplus-check-card-admin--checked:hover {
|
|
63
|
-
outline: 2px solid #34b77c;
|
|
64
|
-
}
|
|
65
|
-
.aplus-check-card-admin--checked::after {
|
|
66
|
-
content: '';
|
|
67
|
-
opacity: 1;
|
|
68
|
-
border: 16px solid #34b77c;
|
|
36
|
+
border: 16px solid var(--check-card-checked-bg);
|
|
69
37
|
border-inline-start: 16px solid transparent;
|
|
70
38
|
border-block-end: 16px solid transparent;
|
|
71
39
|
inset-block-start: -2px;
|
|
@@ -1,13 +1,45 @@
|
|
|
1
|
-
const
|
|
1
|
+
const i = {
|
|
2
2
|
"ap-form": {
|
|
3
3
|
bordered: {
|
|
4
4
|
"border-color": {
|
|
5
|
-
base: "#
|
|
6
|
-
hover: "#
|
|
7
|
-
active: "#
|
|
5
|
+
base: "#DEE4ED",
|
|
6
|
+
hover: "#66A9FF",
|
|
7
|
+
active: "#66A9FF"
|
|
8
8
|
},
|
|
9
9
|
"shadow-color": "rgba(5, 155, 255, 0.1)"
|
|
10
10
|
}
|
|
11
|
+
},
|
|
12
|
+
"ap-action": {
|
|
13
|
+
color: {
|
|
14
|
+
primary: {
|
|
15
|
+
base: "#0070FF",
|
|
16
|
+
hover: "#66A9FF"
|
|
17
|
+
},
|
|
18
|
+
success: "#2ED1A3",
|
|
19
|
+
error: "#FF4D4F",
|
|
20
|
+
warn: "#FFA940"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"check-card": {
|
|
24
|
+
outline: {
|
|
25
|
+
color: "#E9EDF3"
|
|
26
|
+
},
|
|
27
|
+
hover: {
|
|
28
|
+
outline: {
|
|
29
|
+
color: "#0070FF"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
checked: {
|
|
33
|
+
outline: {
|
|
34
|
+
color: "#0070FF"
|
|
35
|
+
},
|
|
36
|
+
bg: "#0070FF"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"ap-table": {
|
|
40
|
+
header: {
|
|
41
|
+
bg: "#F2F6F9"
|
|
42
|
+
}
|
|
11
43
|
}
|
|
12
44
|
}, b = {
|
|
13
45
|
"ap-form": {
|
|
@@ -19,27 +51,59 @@ const d = {
|
|
|
19
51
|
},
|
|
20
52
|
"shadow-color": "rgba(11, 166, 66, 0.09)"
|
|
21
53
|
}
|
|
54
|
+
},
|
|
55
|
+
"ap-action": {
|
|
56
|
+
color: {
|
|
57
|
+
primary: {
|
|
58
|
+
base: "#1890FF",
|
|
59
|
+
hover: "#5EB1FF"
|
|
60
|
+
},
|
|
61
|
+
success: "#52C41A",
|
|
62
|
+
error: "#FF4D4F",
|
|
63
|
+
warn: "#FAAD14"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"check-card": {
|
|
67
|
+
outline: {
|
|
68
|
+
color: "#D9D9D9"
|
|
69
|
+
},
|
|
70
|
+
hover: {
|
|
71
|
+
outline: {
|
|
72
|
+
color: "#34B77C"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
checked: {
|
|
76
|
+
outline: {
|
|
77
|
+
color: "#34B77C"
|
|
78
|
+
},
|
|
79
|
+
bg: "#34B77C"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"ap-table": {
|
|
83
|
+
header: {
|
|
84
|
+
bg: "#FAFAFA"
|
|
85
|
+
}
|
|
22
86
|
}
|
|
23
87
|
};
|
|
24
|
-
function c
|
|
25
|
-
const
|
|
26
|
-
function
|
|
27
|
-
const l = Object.keys(
|
|
28
|
-
for (const
|
|
29
|
-
const
|
|
30
|
-
|
|
88
|
+
function n(c) {
|
|
89
|
+
const o = {};
|
|
90
|
+
function e(s, F) {
|
|
91
|
+
const l = Object.keys(s);
|
|
92
|
+
for (const t of l) {
|
|
93
|
+
const r = s[t], a = [...F, t];
|
|
94
|
+
r !== null && typeof r == "object" ? e(r, a) : o[`--${a.join("-")}`] = r;
|
|
31
95
|
}
|
|
32
96
|
}
|
|
33
|
-
return
|
|
97
|
+
return e(c, []), o;
|
|
34
98
|
}
|
|
35
|
-
const
|
|
36
|
-
function
|
|
37
|
-
Object.entries(
|
|
38
|
-
document.documentElement.style.setProperty(
|
|
99
|
+
const u = n(i), d = n(b);
|
|
100
|
+
function h(c) {
|
|
101
|
+
Object.entries(c).forEach(([o, e]) => {
|
|
102
|
+
document.documentElement.style.setProperty(o, e);
|
|
39
103
|
});
|
|
40
104
|
}
|
|
41
105
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
106
|
+
d as adminCssVar,
|
|
107
|
+
u as aplusCssVar,
|
|
108
|
+
h as setCSSVariables
|
|
45
109
|
};
|
|
@@ -12,31 +12,11 @@
|
|
|
12
12
|
flex: 1;
|
|
13
13
|
}
|
|
14
14
|
.aplus-editable-table tr > th.ant-table-cell {
|
|
15
|
-
background-color:
|
|
16
|
-
border-bottom-color: #E9EDF3;
|
|
15
|
+
background-color: var(--ap-table-header-bg);
|
|
17
16
|
}
|
|
18
17
|
.aplus-editable-table tr > th.ant-table-cell::before {
|
|
19
18
|
display: none;
|
|
20
19
|
}
|
|
21
|
-
.aplus-editable-table tr > td.ant-table-cell {
|
|
22
|
-
border-top-color: #E9EDF3;
|
|
23
|
-
}
|
|
24
|
-
.aplus-editable-table-admin .ant-pagination {
|
|
25
|
-
margin-bottom: 0 !important;
|
|
26
|
-
}
|
|
27
|
-
.aplus-editable-table-admin .ant-pagination .ant-pagination-total-text {
|
|
28
|
-
flex: 1;
|
|
29
|
-
}
|
|
30
|
-
.aplus-editable-table-admin tr > th.ant-table-cell {
|
|
31
|
-
background-color: #FAFAFA;
|
|
32
|
-
border-bottom-color: #E9E9E9;
|
|
33
|
-
}
|
|
34
|
-
.aplus-editable-table-admin tr > th.ant-table-cell::before {
|
|
35
|
-
display: none;
|
|
36
|
-
}
|
|
37
|
-
.aplus-editable-table-admin tr > td.ant-table-cell {
|
|
38
|
-
border-top-color: #E9E9E9;
|
|
39
|
-
}
|
|
40
20
|
.aplus-editable-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell:has(.is-editable) {
|
|
41
21
|
padding: 20px 16px 0px;
|
|
42
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const d=require("ant-design-vue/es/button/LoadingIcon");require("../style/item.css");const f=require("../../config-provider/hooks/use-namespace.js"),m={key:1},p=e.defineComponent({name:"ApActionItem",__name:"index",props:{text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onAction:{},onClick:{},loading:{type:Boolean,default:!1}},setup(s){const n=s,{b:c,m:t}=f.useNamespace("action-item"),a=e.ref(!1);function r(o){var i;e.unref(l)||n.disabled||((i=n.onClick)==null||i.call(n,o),n.onAction&&(a.value=!0,n.onAction(o).finally(()=>a.value=!1)))}const l=e.computed(()=>n.loading||e.unref(a)),u=e.computed(()=>[c(),t(n.color),n.disabled?t("disabled"):null,l.value?t("loading"):null].filter(Boolean));return(o,i)=>e.renderSlot(o.$slots,"trigger",{loading:l.value,disabled:o.disabled,onClick:r},()=>[o.visible?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r,class:e.normalizeClass(u.value)},[l.value?(e.openBlock(),e.createBlock(e.unref(d),{key:0,prefixCls:"btn",existIcon:!1,loading:""})):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},()=>[e.isVNode(o.text)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.text),{key:0})):(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(o.text||""),1))])],2)):e.createCommentVNode("",!0)])}});exports.default=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("ant-design-vue");require("../item/index.vue.js");const d=require("lodash-unified"),p=require("../item/index.vue2.js"),f=e.defineComponent({name:"ApActionItemModal",__name:"index",props:{text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onAction:{},onClick:{},loading:{type:Boolean,default:!1},modalProps:{default:()=>({})}},setup(l){const s=e.useSlots(),o=l;async function i(n){c.Modal.confirm({...o.modalProps,onOk:async()=>{var r,a,t;(a=(r=o.modalProps).onOk)==null||a.call(r),await((t=o.onAction)==null?void 0:t.call(o,n))}})}return(n,r)=>(e.openBlock(),e.createBlock(p.default,e.mergeProps(e.unref(d.omit)(o,["modalProps","onAction"]),{onAction:i}),e.createSlots({_:2},[e.renderList(s,(a,t)=>({name:t,fn:e.withCtx(u=>[e.renderSlot(n.$slots,t,e.normalizeProps(e.guardReactiveProps(u||{})))])}))]),1040))}});exports.default=f;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("ant-design-vue");require("../item/index.vue.js");const d=require("lodash-unified"),p=require("../item/index.vue2.js"),f=e.defineComponent({name:"ApActionItemModal",__name:"index",props:{text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onAction:{},onClick:{},loading:{type:Boolean,default:!1},modalProps:{default:()=>({})}},setup(l){const s=e.useSlots(),o=l;async function i(n){c.Modal.confirm({...o.modalProps,zIndex:1060,onOk:async()=>{var r,a,t;(a=(r=o.modalProps).onOk)==null||a.call(r),await((t=o.onAction)==null?void 0:t.call(o,n))}})}return(n,r)=>(e.openBlock(),e.createBlock(p.default,e.mergeProps(e.unref(d.omit)(o,["modalProps","onAction"]),{onAction:i}),e.createSlots({_:2},[e.renderList(s,(a,t)=>({name:t,fn:e.withCtx(u=>[e.renderSlot(n.$slots,t,e.normalizeProps(e.guardReactiveProps(u||{})))])}))]),1040))}});exports.default=f;
|
|
@@ -4,35 +4,20 @@
|
|
|
4
4
|
line-height: 22px;
|
|
5
5
|
cursor: pointer;
|
|
6
6
|
}
|
|
7
|
-
.aplus-action-item
|
|
8
|
-
color:
|
|
7
|
+
.aplus-action-item--primary {
|
|
8
|
+
color: var(--ap-action-color-primary-base);
|
|
9
9
|
}
|
|
10
|
-
.aplus-action-item
|
|
11
|
-
color:
|
|
10
|
+
.aplus-action-item--primary:not(.aplus-action-item--disabled):hover {
|
|
11
|
+
color: var(--ap-action-color-primary-hover);
|
|
12
12
|
}
|
|
13
|
-
.aplus-action-item
|
|
14
|
-
color:
|
|
13
|
+
.aplus-action-item--success {
|
|
14
|
+
color: var(--ap-action-color-success);
|
|
15
15
|
}
|
|
16
|
-
.aplus-action-item
|
|
17
|
-
color:
|
|
16
|
+
.aplus-action-item--error {
|
|
17
|
+
color: var(--ap-action-color-error);
|
|
18
18
|
}
|
|
19
|
-
.aplus-action-item
|
|
20
|
-
color:
|
|
21
|
-
}
|
|
22
|
-
.aplus-action-item-aplus--error {
|
|
23
|
-
color: #FF4D4F;
|
|
24
|
-
}
|
|
25
|
-
.aplus-action-item-aplus--warn {
|
|
26
|
-
color: #FFA940;
|
|
27
|
-
}
|
|
28
|
-
.aplus-action-item-admin--success {
|
|
29
|
-
color: #52C41A;
|
|
30
|
-
}
|
|
31
|
-
.aplus-action-item-admin--error {
|
|
32
|
-
color: #FF4D4F;
|
|
33
|
-
}
|
|
34
|
-
.aplus-action-item-admin--warn {
|
|
35
|
-
color: #FAAD14;
|
|
19
|
+
.aplus-action-item--warn {
|
|
20
|
+
color: var(--ap-action-color-warn);
|
|
36
21
|
}
|
|
37
22
|
.aplus-action-item--loading {
|
|
38
23
|
opacity: 0.35;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("lodash-unified"),i=require("ant-design-vue");require("../../hooks/index.js");const c=require("./helper.js");require("../../config-provider/index.js");require("./style.css");const k=require("../../config-provider/hooks/use-namespace.js"),y=require("../../hooks/useControllableValue.js"),g=e.defineComponent({name:"ApFieldCheckbox",inheritAttrs:!1,__name:"index",props:{mode:{default:"edit"},class:{},style:{},defaultValue:{},value:{},onChange:{},"onUpdate:value":{},name:{},prefixCls:{},options:{default:()=>[]},disabled:{type:Boolean},id:{},emptyText:{default:"--"},request:{},vertical:{type:Boolean}},emits:["update:value"],setup(p,{emit:d}){const f=d,t=p,n=e.ref(t.options),{m}=k.useNamespace("field-checkbox"),a=e.ref(!1);e.onMounted(()=>{u.isFunction(t.request)&&(a.value=!0,t.request().then(l=>n.value=l).finally(()=>{a.value=!1}))});const{value:o,updateValue:v}=y.useControllableValue(t,f,{defaultValue:[]});return(l,B)=>{var s;return l.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(u.isNil)(e.unref(o))?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.emptyText),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(((s=n.value)==null?void 0:s.filter(r=>e.unref(o).indexOf(e.unref(c.getOptionValue)(r))>-1).map(r=>e.unref(c.getOptionLabel)(r)).join("、"))||t.emptyText),1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[a.value?(e.openBlock(),e.createBlock(e.unref(i.Spin),{key:0,size:"small"})):(e.openBlock(),e.createBlock(e.unref(i.CheckboxGroup),e.mergeProps({key:1},e.unref(u.omit)(t,["onUpdate:value","value","request","vertical"]),{options:n.value,value:e.unref(o),"onUpdate:value":e.unref(v),class:l.vertical?e.unref(m)("vertical"):null}),null,16,["options","value","onUpdate:value","class"]))],64))}}});exports.default=g;
|
|
@@ -33,6 +33,7 @@ export type ApFieldTextExpose = {
|
|
|
33
33
|
export type ApFieldCheckboxProps = BasicApFieldProps<CheckboxGroupProps> & {
|
|
34
34
|
emptyText?: string;
|
|
35
35
|
request?: () => Promise<CheckboxGroupProps['options']>;
|
|
36
|
+
vertical?: boolean;
|
|
36
37
|
};
|
|
37
38
|
export type ApFieldDateProps = BasicApFieldProps<Omit<DatePickerProps, 'mode' | 'value' | 'defaultValue' | 'onChange' | 'onOk' | 'format' | 'onUpdate:value'>> & {
|
|
38
39
|
emptyText?: string;
|
|
@@ -64,6 +65,7 @@ export type ApiFieldNumberExpose = {
|
|
|
64
65
|
export type ApFieldRadioProps = BasicApFieldProps<RadioGroupProps> & {
|
|
65
66
|
emptyText?: string;
|
|
66
67
|
request?: () => Promise<RadioGroupProps['options']>;
|
|
68
|
+
vertical?: boolean;
|
|
67
69
|
};
|
|
68
70
|
export type ApiFieldRadioExpose = {
|
|
69
71
|
focus: () => void;
|
|
@@ -6,6 +6,7 @@ declare function blur(): void;
|
|
|
6
6
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldRadioProps>, {
|
|
7
7
|
emptyText: string;
|
|
8
8
|
mode: string;
|
|
9
|
+
vertical: boolean;
|
|
9
10
|
}>, {
|
|
10
11
|
focus: typeof focus;
|
|
11
12
|
blur: typeof blur;
|
|
@@ -14,10 +15,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
14
15
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldRadioProps>, {
|
|
15
16
|
emptyText: string;
|
|
16
17
|
mode: string;
|
|
18
|
+
vertical: boolean;
|
|
17
19
|
}>>> & {
|
|
18
20
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
19
21
|
}, {
|
|
20
22
|
mode: FieldMode;
|
|
23
|
+
vertical: boolean;
|
|
21
24
|
emptyText: string;
|
|
22
25
|
}, {}>;
|
|
23
26
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("ant-design-vue");require("../../hooks/index.js");const c=require("lodash-unified"),p=require("./helper.js");require("./style.css");require("../../config-provider/index.js");const x=require("../../hooks/useControllableValue.js"),T=require("../../config-provider/hooks/use-namespace.js"),V=e.defineComponent({name:"ApFieldRadio",__name:"index",props:{mode:{default:"edit"},class:{},style:{},prefixCls:{},value:{},size:{},options:{},disabled:{type:Boolean},name:{},buttonStyle:{},id:{},optionType:{},onChange:{},"onUpdate:value":{},emptyText:{default:"--"},request:{},vertical:{type:Boolean,default:!1}},emits:["update:value"],setup(d,{expose:f,emit:v}){const o=d,m=v,l=e.ref(),n=e.ref((o==null?void 0:o.options)||[]),{value:r,updateValue:y}=x.useControllableValue(o,m),{m:g}=T.useNamespace("field-radio"),u=e.ref(!1);e.onMounted(()=>{var t;o.request&&(u.value=!0,(t=o.request)==null||t.call(o).then(a=>n.value=a).finally(()=>{u.value=!1}))});const k=e.computed(()=>{var s;const t=e.unref(r);if(c.isNil(t))return o.emptyText;const a=(s=n.value)==null?void 0:s.find(b=>t===p.getOptionValue(b));return p.getOptionLabel(a)||o.emptyText});function q(){var t;(t=l.value)==null||t.focus()}function B(){var t;(t=l.value)==null||t.blur()}return f({focus:q,blur:B}),(t,a)=>t.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(k.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[u.value?(e.openBlock(),e.createBlock(e.unref(i.Spin),{key:0,size:"small"})):(e.openBlock(),e.createBlock(e.unref(i.RadioGroup),e.mergeProps({key:1},e.unref(c.omit)(o,["value","onUpdate:value","options","request","vertical"]),{value:e.unref(r),"onUpdate:value":e.unref(y),options:n.value,ref_key:"radioGroupRef",ref:l,class:t.vertical?e.unref(g)("vertical"):null}),null,16,["value","onUpdate:value","options","class"]))],64))}});exports.default=V;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("ant-design-vue")
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("ant-design-vue"),$=require("ant-design-vue/es/theme/internal"),H=require("../ap-form/index.js"),p=require("./constants.js");require("../config-provider/index.js");const Q=require("./hooks/use-table-paging.js"),s=require("lodash-unified");require("./style/ap-table.css");const G=require("@ant-design/icons-vue"),u=require("./utils.js"),J=require("./hooks/use-table-content-height.js"),X=require("../editable-table/utils.js"),Y=require("./hooks/use-table-row-selection.js"),Z=require("../config-provider/hooks/use-locale.js"),ee=require("../config-provider/hooks/use-namespace.js"),te={key:0},ae=e.defineComponent({name:"ApTable",__name:"ap-table",props:{dropdownPrefixCls:{},loading:{type:[Boolean,Object],default:void 0},bordered:{type:Boolean,default:!1},locale:{},onChange:{},onResizeColumn:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},rowKey:{default:"key"},tableLayout:{},rowClassName:{},title:{},footer:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object]},transformCellText:{},columns:{},rowSelection:{type:[Boolean,Object]},card:{type:Boolean,default:!1},params:{},searchFormRender:{},request:{},onLoad:{},defaultData:{},dataSource:{},onLoadingChange:{},searchForm:{type:[Boolean,Object],default:void 0},beforeSearchSubmit:{},pagination:{type:[Boolean,Object],default:void 0},searchFormWrapperStyle:{},tableWrapperStyle:{},manual:{type:Boolean,default:!1},size:{default:"middle"},adaptive:{type:Boolean,default:!1}},setup(v,{expose:k}){const a=v;let C=0;const R=e.useSlots(),[,q]=$.useToken(),{t:I}=Z.useLocale(),{e:f,b:d}=ee.useNamespace("ap-table"),{height:V,contentRef:N}=J.default(),m=e.computed(()=>{var o;let t=((o=a.columns)==null?void 0:o.filter(r=>!r.hideInTable))||[];return t=t.map(r=>({...s.omit(u.apColumnToColumn(r),["ellipsis"]),customRender({value:n,...l}){const b=u.getTableRenderType(r),P=p.apTableRenderItemMap[b],M=u.getTableRenderProps(r,{value:n,...l});let h=U(r,n,e.createVNode(P,e.mergeProps(M,{mode:"read"}),null));return r.customRender&&(h=r.customRender({value:n,...l,column:r,originalNode:h})),h}})),t}),F=e.computed(()=>{var t,o,r;return C++,((r=(o=(t=a.columns)==null?void 0:t.filter(n=>!n.hideInSearch&&n.dataIndex&&(n.valueType||n.customRenderFormItem)&&!p.noRenderAsFormItemValueList.includes(n.valueType)))==null?void 0:o.sort((n,l)=>{let b=u.getColumnOrder(n.order);return u.getColumnOrder(l.order)-b}))==null?void 0:r.map(n=>{const l=u.updateFormProps(n,u.getFieldProps(n.fieldProps,{}));return{...n,fieldProps:{label:n.title,name:n.dataIndex,...l||{},placeholder:u.getPlaceholder(I,n.valueType,l==null?void 0:l.placeholder),_signal:C}}}))||[]}),E=e.computed(()=>e.unref(m).filter(t=>t.sorter===!0).map(t=>t.dataIndex)),L=e.computed(()=>e.unref(m).filter(t=>t.filters&&!t.onFilter).map(t=>t.dataIndex)),O=e.computed(()=>s.isUndefined(a.dataSource)?i.value.records:a.dataSource),{rowSelection:g,selectedRows:x,...y}=Y.default({...a.rowSelection===!0?{}:a.rowSelection,rowKey:a.rowKey,dataSource:O}),{formRef:S,submit:T,reset:B,tableProps:c,handleTableChange:z,data:i}=Q.useTablePaging({async request(t){var r,n;!g.value.preserveSelectedRowKeys&&s.isUndefined(a.dataSource)&&y.clearAll();const o=await((r=a.request)==null?void 0:r.call(a,t));return(n=a.onLoad)==null||n.call(a,(o==null?void 0:o.data)||[]),{data:(o==null?void 0:o.data)||[],total:(o==null?void 0:o.total)||0}},filterFields:e.unref(L),sortFields:e.unref(E),defaultParams:a.params,defaultData:a.defaultData,manual:a.manual,defaultCurrent:a.pagination?a.pagination.defaultCurrent:void 0,defaultPageSize:a.pagination?a.pagination.defaultPageSize:void 0,formatParams:a.beforeSearchSubmit}),K=e.computed(()=>{var t;return a.scroll?a.scroll:a.adaptive&&(i.value.total>0||(t=a.dataSource)!=null&&t.length)?{y:e.unref(V),x:"100%"}:{x:!0}}),D=e.computed(()=>{var t;if(a.tableLayout)return a.tableLayout;if((t=a.columns)!=null&&t.some(o=>o.ellipsis))return"fixed"}),_=e.computed(()=>{var n;const t=e.unref(c),o=s.isUndefined(a.dataSource)?t:{...t,dataSource:a.dataSource,onChange:a.onChange},r=e.unref(g);return{...a,...o,rowSelection:a.rowSelection===!0||((n=a.rowSelection)==null?void 0:n.mode)==="internal"?{...r,preserveSelectedRowKeys:s.isUndefined(a.dataSource)?r.preserveSelectedRowKeys:!0}:a.rowSelection,loading:s.isUndefined(a.loading)?e.unref(c).loading:a.loading,pagination:a.pagination===!1?!1:e.unref(c).pagination,scroll:e.unref(K)}}),j=e.computed(()=>[d(),a.card?null:d("wrapper"),a.adaptive?d("adaptive"):null].filter(Boolean));function U(t,o,r){return p.noRenderAsFormItemValueList.includes(t.valueType)?r:t.copyable||t.ellipsis?e.createVNode(w.Typography.Paragraph,{copyable:t.copyable?{text:o,tooltip:!1}:!1,ellipsis:t.ellipsis?s.isBoolean(t.ellipsis)?{tooltip:o}:{...t.ellipsis,tooltip:o}:!1,content:t.ellipsis?X.getRawDisplayValue(t,o):r},null):r}e.watch(()=>e.unref(i).loading,t=>{var o;(o=a.onLoadingChange)==null||o.call(a,t)});function A(t){var o,r,n;(n=(r=(o=S.value)==null?void 0:o.apForm)==null?void 0:r.setFieldsValue)==null||n.call(r,t)}function W(){var t,o,r;return(r=(o=(t=S.value)==null?void 0:t.apForm)==null?void 0:o.getFieldsValue)==null?void 0:r.call(o,!0)}return k({submit:()=>T(),reset:()=>B(),setSearchFormValues:A,getSearchFormValues:W,dataSource:e.computed(()=>e.unref(i).records),rowSelection:{selectedRows:e.computed(()=>e.unref(x)),...y}}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(j.value)},[e.unref(s.isUndefined)(t.dataSource)&&t.searchForm!==!1&&F.value.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.card?e.unref(f)("search-wrapper"):null),style:e.normalizeStyle(t.searchFormWrapperStyle)},[e.createVNode(e.unref(H.ApForm).SearchForm,e.mergeProps(t.searchForm||{},{ref_key:"formRef",ref:S,"custom-reset":"",onSubmit:e.unref(T),onReset:e.unref(B),"submit-loading":e.unref(c).loading}),e.createSlots({default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(F.value,r=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.customRenderFormItem?r.customRenderFormItem(r):e.unref(p.apTableFormItemMap)[r.valueType||"text"]),e.mergeProps({key:r.dataIndex,ref_for:!0},r.fieldProps||{},{span:r.span}),null,16,["span"]))),128))]),_:2},[R.searchFormExtra?{name:"extra",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"searchFormExtra")]),key:"0"}:void 0]),1040,["onSubmit","onReset","submit-loading"])],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"contentRef",ref:N,class:e.normalizeClass([e.unref(f)("table-wrapper"),t.card?e.unref(f)("table-wrapper-card"):null]),style:e.normalizeStyle(t.tableWrapperStyle)},[e.renderSlot(t.$slots,"title",e.mergeProps({selectedRows:e.unref(x),selectedRowKeys:e.unref(g).selectedRowKeys},y)),e.createVNode(e.unref(w.Table),e.mergeProps({class:e.unref(d)("table")},_.value,{"table-layout":D.value,onChange:e.unref(z),columns:m.value}),e.createSlots({headerCell:e.withCtx(({column:r,title:n})=>[r.tooltip?(e.openBlock(),e.createElementBlock("span",te,[e.createElementVNode("span",null,e.toDisplayString(n),1),e.createVNode(e.unref(w.Tooltip),{title:r.tooltip,placement:"bottom"},{default:e.withCtx(()=>[e.createVNode(e.unref(G.QuestionCircleOutlined),{style:e.normalizeStyle({paddingLeft:"4px",color:e.unref(q).colorPrimary})},null,8,["style"])]),_:2},1032,["title"])])):e.createCommentVNode("",!0)]),_:2},[e.renderList(e.unref(s.omit)(R,["title","searchFormExtra"]),(r,n)=>({name:n,fn:e.withCtx(l=>[e.renderSlot(t.$slots,n,e.normalizeProps(e.guardReactiveProps(l||{})))])}))]),1040,["class","table-layout","onChange","columns"])],6)],2))}});exports.default=ae;
|
|
@@ -11802,6 +11802,10 @@ export declare const apTableRenderItemMap: {
|
|
|
11802
11802
|
options: {
|
|
11803
11803
|
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
11804
11804
|
};
|
|
11805
|
+
vertical: {
|
|
11806
|
+
type: PropType<boolean>;
|
|
11807
|
+
default: boolean;
|
|
11808
|
+
};
|
|
11805
11809
|
'onUpdate:value': {
|
|
11806
11810
|
type: PropType<(val: any) => void>;
|
|
11807
11811
|
};
|
|
@@ -11858,6 +11862,10 @@ export declare const apTableRenderItemMap: {
|
|
|
11858
11862
|
options: {
|
|
11859
11863
|
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
11860
11864
|
};
|
|
11865
|
+
vertical: {
|
|
11866
|
+
type: PropType<boolean>;
|
|
11867
|
+
default: boolean;
|
|
11868
|
+
};
|
|
11861
11869
|
'onUpdate:value': {
|
|
11862
11870
|
type: PropType<(val: any) => void>;
|
|
11863
11871
|
};
|
|
@@ -11878,6 +11886,7 @@ export declare const apTableRenderItemMap: {
|
|
|
11878
11886
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
11879
11887
|
}, {
|
|
11880
11888
|
mode: FieldMode;
|
|
11889
|
+
vertical: boolean;
|
|
11881
11890
|
emptyText: string;
|
|
11882
11891
|
}, {}>;
|
|
11883
11892
|
select: {
|
|
@@ -16284,6 +16293,9 @@ export declare const apTableRenderItemMap: {
|
|
|
16284
16293
|
type: PropType<(string | number | CheckboxOptionType)[]>;
|
|
16285
16294
|
default: () => never[];
|
|
16286
16295
|
};
|
|
16296
|
+
vertical: {
|
|
16297
|
+
type: PropType<boolean>;
|
|
16298
|
+
};
|
|
16287
16299
|
defaultValue: {
|
|
16288
16300
|
type: PropType< CheckboxValueType[]>;
|
|
16289
16301
|
};
|
|
@@ -16332,6 +16344,9 @@ export declare const apTableRenderItemMap: {
|
|
|
16332
16344
|
type: PropType<(string | number | CheckboxOptionType)[]>;
|
|
16333
16345
|
default: () => never[];
|
|
16334
16346
|
};
|
|
16347
|
+
vertical: {
|
|
16348
|
+
type: PropType<boolean>;
|
|
16349
|
+
};
|
|
16335
16350
|
defaultValue: {
|
|
16336
16351
|
type: PropType< CheckboxValueType[]>;
|
|
16337
16352
|
};
|
|
@@ -48,31 +48,11 @@
|
|
|
48
48
|
flex: 1;
|
|
49
49
|
}
|
|
50
50
|
.aplus-ap-table-table tr > th.ant-table-cell {
|
|
51
|
-
background-color:
|
|
52
|
-
border-bottom-color: #E9EDF3;
|
|
51
|
+
background-color: var(--ap-table-header-bg);
|
|
53
52
|
}
|
|
54
53
|
.aplus-ap-table-table tr > th.ant-table-cell::before {
|
|
55
54
|
display: none;
|
|
56
55
|
}
|
|
57
|
-
.aplus-ap-table-table tr > td.ant-table-cell {
|
|
58
|
-
border-top-color: #E9EDF3;
|
|
59
|
-
}
|
|
60
|
-
.aplus-ap-table-table-admin .ant-pagination {
|
|
61
|
-
margin-bottom: 0 !important;
|
|
62
|
-
}
|
|
63
|
-
.aplus-ap-table-table-admin .ant-pagination .ant-pagination-total-text {
|
|
64
|
-
flex: 1;
|
|
65
|
-
}
|
|
66
|
-
.aplus-ap-table-table-admin tr > th.ant-table-cell {
|
|
67
|
-
background-color: #FAFAFA;
|
|
68
|
-
border-bottom-color: #E9E9E9;
|
|
69
|
-
}
|
|
70
|
-
.aplus-ap-table-table-admin tr > th.ant-table-cell::before {
|
|
71
|
-
display: none;
|
|
72
|
-
}
|
|
73
|
-
.aplus-ap-table-table-admin tr > td.ant-table-cell {
|
|
74
|
-
border-top-color: #E9E9E9;
|
|
75
|
-
}
|
|
76
56
|
.aplus-ap-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell {
|
|
77
57
|
padding: 12px 16px;
|
|
78
58
|
}
|