@aplus-frontend/ui 0.1.15 → 0.1.16
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 +56 -54
- package/es/src/ap-table/ap-table.vue.mjs +132 -129
- package/es/src/ap-table/interface.d.ts +20 -13
- package/es/src/ap-table/utils.d.ts +8340 -1
- package/es/src/ap-table/utils.mjs +135 -79
- package/es/src/business/index.d.ts +2 -0
- package/es/src/business/index.mjs +20 -18
- package/es/src/config-provider/config-provider-props.d.ts +5 -1
- package/es/src/config-provider/config-provider-props.mjs +4 -0
- package/es/src/config-provider/config-provider.d.ts +10 -1
- package/es/src/config-provider/config-provider.mjs +18 -17
- package/es/src/config-provider/constants.d.ts +6 -2
- package/es/src/config-provider/hooks/use-global-config.d.ts +5 -1
- package/es/src/config-provider/index.d.ts +20 -1
- package/es/src/editable-table/form-item.vue.mjs +85 -72
- package/es/src/editable-table/index.vue.mjs +99 -86
- package/es/src/editable-table/utils.mjs +31 -30
- package/es/src/index.mjs +45 -43
- package/es/src/theme/antd-global-overwrite/admin/form.css +10 -5
- package/es/src/theme/antd-global-overwrite/admin/index.css +117 -38
- package/es/src/theme/antd-global-overwrite/admin/pagination.css +54 -16
- package/es/src/theme/antd-global-overwrite/admin/table.css +53 -17
- package/es/src/theme/antd-global-overwrite/aplus/form.css +28 -14
- package/es/src/theme/antd-global-overwrite/aplus/index.css +159 -67
- package/es/src/theme/antd-global-overwrite/aplus/pagination.css +66 -20
- package/es/src/theme/antd-global-overwrite/aplus/table.css +65 -33
- package/es/src/utils/ap-trans-data/index.d.ts +9 -10
- package/es/src/utils/ap-trans-data/index.mjs +20 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/interface.d.ts +20 -13
- package/lib/src/ap-table/utils.d.ts +8340 -1
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/index.d.ts +2 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +5 -1
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +10 -1
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +6 -2
- package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -1
- package/lib/src/config-provider/index.d.ts +20 -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/utils.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/theme/antd-global-overwrite/admin/form.css +10 -5
- package/lib/src/theme/antd-global-overwrite/admin/index.css +117 -38
- package/lib/src/theme/antd-global-overwrite/admin/pagination.css +54 -16
- package/lib/src/theme/antd-global-overwrite/admin/table.css +53 -17
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +28 -14
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +159 -67
- package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +66 -20
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +65 -33
- package/lib/src/utils/ap-trans-data/index.d.ts +9 -10
- package/lib/src/utils/ap-trans-data/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
[class$='-basic-table'] .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right,
|
|
2
|
-
[class
|
|
2
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right,
|
|
3
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right,
|
|
4
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right {
|
|
3
5
|
margin: 10px 0 0;
|
|
4
6
|
}
|
|
5
7
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination,
|
|
6
|
-
[class
|
|
8
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination,
|
|
9
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination,
|
|
10
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination {
|
|
7
11
|
position: relative;
|
|
8
12
|
}
|
|
9
13
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-total-text,
|
|
10
|
-
[class
|
|
14
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-total-text,
|
|
15
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-total-text,
|
|
16
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-total-text {
|
|
11
17
|
position: absolute;
|
|
12
18
|
left: 0;
|
|
13
19
|
height: 30px;
|
|
14
20
|
line-height: 30px;
|
|
15
21
|
}
|
|
16
22
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item,
|
|
17
|
-
[class
|
|
23
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item,
|
|
24
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item,
|
|
25
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item {
|
|
18
26
|
box-sizing: border-box;
|
|
19
27
|
min-width: 30px;
|
|
20
28
|
height: 30px;
|
|
@@ -26,13 +34,27 @@
|
|
|
26
34
|
border-radius: 4px;
|
|
27
35
|
}
|
|
28
36
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
29
|
-
[class
|
|
30
|
-
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class
|
|
31
|
-
[class
|
|
37
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
38
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
39
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
40
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
41
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
42
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
43
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
44
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
45
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
46
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
47
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
48
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
49
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
50
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active),
|
|
51
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item:not([class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-item-active) {
|
|
32
52
|
border: 1px solid #d9d9d9;
|
|
33
53
|
}
|
|
34
54
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-prev,
|
|
35
|
-
[class
|
|
55
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-prev,
|
|
56
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-prev,
|
|
57
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-prev {
|
|
36
58
|
width: 30px;
|
|
37
59
|
height: 30px;
|
|
38
60
|
margin: 0 4px;
|
|
@@ -40,24 +62,34 @@
|
|
|
40
62
|
border: 1px solid #d9d9d9;
|
|
41
63
|
}
|
|
42
64
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-prev .anticon.anticon-left,
|
|
43
|
-
[class
|
|
65
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-prev .anticon.anticon-left,
|
|
66
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-prev .anticon.anticon-left,
|
|
67
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-prev .anticon.anticon-left {
|
|
44
68
|
border: none;
|
|
45
69
|
}
|
|
46
70
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-prev.ant-pagination-disabled,
|
|
47
|
-
[class
|
|
71
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-prev.ant-pagination-disabled,
|
|
72
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-prev.ant-pagination-disabled,
|
|
73
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-prev.ant-pagination-disabled {
|
|
48
74
|
display: none;
|
|
49
75
|
}
|
|
50
76
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-next.ant-pagination-disabled,
|
|
51
|
-
[class
|
|
77
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-next.ant-pagination-disabled,
|
|
78
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-next.ant-pagination-disabled,
|
|
79
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-next.ant-pagination-disabled {
|
|
52
80
|
display: none;
|
|
53
81
|
}
|
|
54
82
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .anticon svg,
|
|
55
|
-
[class
|
|
83
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .anticon svg,
|
|
84
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .anticon svg,
|
|
85
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .anticon svg {
|
|
56
86
|
width: 14px;
|
|
57
87
|
height: 14px;
|
|
58
88
|
}
|
|
59
89
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-next,
|
|
60
|
-
[class
|
|
90
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-next,
|
|
91
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-next,
|
|
92
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-next {
|
|
61
93
|
width: 30px;
|
|
62
94
|
height: 30px;
|
|
63
95
|
margin: 0 4px;
|
|
@@ -65,34 +97,48 @@
|
|
|
65
97
|
border: 1px solid #d9d9d9;
|
|
66
98
|
}
|
|
67
99
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-next .anticon.anticon-right,
|
|
68
|
-
[class
|
|
100
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-next .anticon.anticon-right,
|
|
101
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-next .anticon.anticon-right,
|
|
102
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-next .anticon.anticon-right {
|
|
69
103
|
border: none;
|
|
70
104
|
}
|
|
71
105
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options,
|
|
72
|
-
[class
|
|
106
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options,
|
|
107
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-options,
|
|
108
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-options {
|
|
73
109
|
margin-left: 4px;
|
|
74
110
|
}
|
|
75
111
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector,
|
|
76
|
-
[class
|
|
112
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector,
|
|
113
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector,
|
|
114
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selector {
|
|
77
115
|
min-width: 90px;
|
|
78
116
|
height: 30px;
|
|
79
117
|
}
|
|
80
118
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item,
|
|
81
|
-
[class
|
|
119
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item,
|
|
120
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item,
|
|
121
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select-selection-item {
|
|
82
122
|
line-height: 28px;
|
|
83
123
|
}
|
|
84
124
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow,
|
|
85
|
-
[class
|
|
125
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow,
|
|
126
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow,
|
|
127
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-select .ant-select-arrow {
|
|
86
128
|
color: #333333;
|
|
87
129
|
}
|
|
88
130
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper,
|
|
89
|
-
[class
|
|
131
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper,
|
|
132
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper,
|
|
133
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper {
|
|
90
134
|
margin-left: 20px;
|
|
91
135
|
color: #333333;
|
|
92
136
|
font-size: 14px;
|
|
93
137
|
}
|
|
94
138
|
[class$='-basic-table'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input,
|
|
95
|
-
[class
|
|
139
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input,
|
|
140
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input,
|
|
141
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input {
|
|
96
142
|
min-width: 60px;
|
|
97
143
|
height: 30px;
|
|
98
144
|
margin: 0 8px;
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
[class
|
|
2
|
-
[class
|
|
1
|
+
[class$='-basic-table'],
|
|
2
|
+
[class$='-basic-table-form-container'],
|
|
3
|
+
[class$='-basic-table ap-table--sticky'],
|
|
4
|
+
[class$='-basic-table-form-container ap-table--sticky'] {
|
|
3
5
|
width: 100%;
|
|
4
6
|
height: 100%;
|
|
5
7
|
}
|
|
6
|
-
[class
|
|
7
|
-
[class
|
|
8
|
-
[class
|
|
9
|
-
[class
|
|
8
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
|
|
9
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
|
|
10
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
|
|
11
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
|
|
12
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title,
|
|
13
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title,
|
|
14
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title,
|
|
15
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title {
|
|
10
16
|
display: flex;
|
|
11
17
|
align-items: center;
|
|
12
18
|
justify-content: space-between;
|
|
@@ -14,18 +20,24 @@
|
|
|
14
20
|
padding: 0 0 10px;
|
|
15
21
|
border: none;
|
|
16
22
|
}
|
|
17
|
-
[class
|
|
18
|
-
[class
|
|
23
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table,
|
|
24
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table,
|
|
25
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table,
|
|
26
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table {
|
|
19
27
|
width: 100%;
|
|
20
28
|
overflow-x: hidden;
|
|
21
29
|
border-radius: 0;
|
|
22
30
|
}
|
|
23
|
-
[class
|
|
24
|
-
[class
|
|
31
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header,
|
|
32
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header,
|
|
33
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header,
|
|
34
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
|
|
25
35
|
border-radius: 0;
|
|
26
36
|
}
|
|
27
|
-
[class
|
|
28
|
-
[class
|
|
37
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th,
|
|
38
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th,
|
|
39
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th,
|
|
40
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th {
|
|
29
41
|
color: #182948;
|
|
30
42
|
font-weight: 700;
|
|
31
43
|
font-size: 14px;
|
|
@@ -34,22 +46,30 @@
|
|
|
34
46
|
text-transform: none;
|
|
35
47
|
background: #f2f6f9;
|
|
36
48
|
}
|
|
37
|
-
[class
|
|
38
|
-
[class
|
|
49
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before,
|
|
50
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before,
|
|
51
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before,
|
|
52
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before {
|
|
39
53
|
display: none;
|
|
40
54
|
width: 0;
|
|
41
55
|
visibility: hidden;
|
|
42
56
|
}
|
|
43
|
-
[class
|
|
44
|
-
[class
|
|
57
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover,
|
|
58
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover,
|
|
59
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover,
|
|
60
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover {
|
|
45
61
|
background: #f6f9fa;
|
|
46
62
|
}
|
|
47
|
-
[class
|
|
48
|
-
[class
|
|
63
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td,
|
|
64
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td,
|
|
65
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td,
|
|
66
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td {
|
|
49
67
|
background: #f6f9fa;
|
|
50
68
|
}
|
|
51
|
-
[class
|
|
52
|
-
[class
|
|
69
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td,
|
|
70
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td,
|
|
71
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td,
|
|
72
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td {
|
|
53
73
|
color: #182948;
|
|
54
74
|
font-weight: 400;
|
|
55
75
|
font-size: 14px;
|
|
@@ -58,37 +78,49 @@
|
|
|
58
78
|
text-transform: none;
|
|
59
79
|
transition: unset;
|
|
60
80
|
}
|
|
61
|
-
[class
|
|
62
|
-
[class
|
|
81
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th,
|
|
82
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th,
|
|
83
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th,
|
|
84
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th {
|
|
63
85
|
padding: 12px 16px;
|
|
64
86
|
line-height: 22px;
|
|
65
87
|
}
|
|
66
|
-
[class
|
|
67
|
-
[class
|
|
88
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td,
|
|
89
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td,
|
|
90
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td,
|
|
91
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
|
|
68
92
|
border-top: 1px solid;
|
|
69
93
|
border-top-color: transparent;
|
|
70
94
|
}
|
|
71
|
-
[class
|
|
72
|
-
[class
|
|
95
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell,
|
|
96
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell,
|
|
97
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell,
|
|
98
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell {
|
|
73
99
|
padding: 12px 16px;
|
|
74
100
|
line-height: 22px;
|
|
75
101
|
}
|
|
76
|
-
[class
|
|
77
|
-
[class
|
|
102
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th,
|
|
103
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th,
|
|
104
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th,
|
|
105
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th {
|
|
78
106
|
padding: 10.5px 16px;
|
|
79
107
|
line-height: 18px;
|
|
80
108
|
}
|
|
81
|
-
[class
|
|
82
|
-
[class
|
|
109
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td,
|
|
110
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td,
|
|
111
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td,
|
|
112
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
|
|
83
113
|
border-top: 1px solid;
|
|
84
114
|
border-top-color: transparent;
|
|
85
115
|
}
|
|
86
|
-
[class
|
|
87
|
-
[class
|
|
116
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell,
|
|
117
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell,
|
|
118
|
+
[class$='-basic-table ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell,
|
|
119
|
+
[class$='-basic-table-form-container ap-table--sticky'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell {
|
|
88
120
|
padding: 10.5px 16px;
|
|
89
121
|
line-height: 18px;
|
|
90
122
|
}
|
|
91
|
-
[class
|
|
123
|
+
[class$='-basic-table-row__striped'] td {
|
|
92
124
|
background-color: #f6f9fa;
|
|
93
125
|
}
|
|
94
126
|
[class*='-basic-table'].ap-table--sticky .aplus-ap-table__table-wrapper .ant-spin-container,
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
type
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
primeKey: string;
|
|
10
|
-
primeValuesKeys: string[];
|
|
1
|
+
export type Primitive = null | undefined | string | number | boolean | symbol | bigint;
|
|
2
|
+
export type LiteralUnion<LiteralType, BaseType extends Primitive> = LiteralType | (BaseType & Record<never, never>);
|
|
3
|
+
type modeType = LiteralUnion<'comp' | 'server', string>;
|
|
4
|
+
type Data = Array<Record<string, any>> | any;
|
|
5
|
+
export type Options = {
|
|
6
|
+
transfrom: Array<string | string[]>;
|
|
7
|
+
targetkeys: Array<string>;
|
|
8
|
+
mode: modeType;
|
|
11
9
|
};
|
|
10
|
+
export declare function ApTransformDataHelper(data: Data, options: Options): any;
|
|
12
11
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function y(o,f){(!o||o.length===0)&&new Error("No data to transform");const{targetkeys:d,transfrom:p}=f,[s,m]=p;return f.mode==="comp"?o.reduce((r,e)=>{const u=d.reduce((t,n,l)=>(t[m[l]]=e[n],delete e[n],t),{});return r.push({...e,[s]:u}),r},[]):o.reduce((r,e)=>{const u=d.reduce((t,n,l)=>(t[n]=e[s][m[l]],t),{});return delete e[s],r.push({...e,...u}),r},[])}exports.ApTransformDataHelper=y;
|