@aplus-frontend/ui 0.0.1-beta.26 → 0.0.1-beta.28
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/style/item.css +6 -1
- package/es/src/ap-form/interface.d.ts +1 -0
- package/es/src/ap-form/modal-form/index.vue.d.ts +11 -2
- package/es/src/ap-form/modal-form/index.vue.mjs +120 -76
- package/es/src/ap-form/style/ap-form-item.css +2 -1
- package/es/src/base-button/index.d.ts +1 -1
- package/es/src/basic/index.d.ts +1 -1
- package/es/src/button/index.d.ts +1 -1
- package/es/src/config-provider/index.d.ts +1 -1
- package/es/src/container/index.d.ts +1 -1
- package/es/src/count-down/index.d.ts +1 -1
- package/es/src/cropper/index.d.ts +369 -0
- package/es/src/description/index.d.ts +1 -1
- package/es/src/dropdown/index.d.ts +1 -1
- package/es/src/icon/index.d.ts +1 -1
- package/es/src/icon-picker/index.d.ts +1 -1
- package/es/src/modal/index.d.ts +963 -0
- package/es/src/pro-table/hooks/use-data-source.mjs +30 -32
- package/es/src/scroll-bar/index.d.ts +1 -2
- package/es/src/strength-meter/index.d.ts +1 -1
- package/es/src/theme/antd-global-overwrite/admin/button.css +12 -6
- package/es/src/theme/antd-global-overwrite/admin/index.css +58 -12
- package/es/src/theme/antd-global-overwrite/admin/modal.css +13 -0
- package/es/src/theme/antd-global-overwrite/admin/table.css +33 -6
- package/es/src/theme/antd-global-overwrite/aplus/button.css +12 -6
- package/es/src/theme/antd-global-overwrite/aplus/index.css +77 -11
- package/es/src/theme/antd-global-overwrite/aplus/modal.css +13 -0
- package/es/src/theme/antd-global-overwrite/aplus/table.css +52 -5
- package/es/src/theme/ap-action/item.css +6 -1
- package/es/src/theme/ap-form/ap-form-item.css +2 -1
- package/es/src/transition/index.d.ts +1 -1
- package/es/src/utils/config-provider-preset.mjs +11 -11
- package/es/src/utils/index.d.ts +8 -0
- package/es/src/utils/index.mjs +29 -17
- package/lib/src/ap-action/style/item.css +6 -1
- package/lib/src/ap-form/interface.d.ts +1 -0
- package/lib/src/ap-form/modal-form/index.vue.d.ts +11 -2
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/style/ap-form-item.css +2 -1
- package/lib/src/base-button/index.d.ts +1 -1
- package/lib/src/basic/index.d.ts +1 -1
- package/lib/src/button/index.d.ts +1 -1
- package/lib/src/config-provider/index.d.ts +1 -1
- package/lib/src/container/index.d.ts +1 -1
- package/lib/src/count-down/index.d.ts +1 -1
- package/lib/src/cropper/index.d.ts +369 -0
- package/lib/src/description/index.d.ts +1 -1
- package/lib/src/dropdown/index.d.ts +1 -1
- package/lib/src/icon/index.d.ts +1 -1
- package/lib/src/icon-picker/index.d.ts +1 -1
- package/lib/src/modal/index.d.ts +963 -0
- package/lib/src/pro-table/hooks/use-data-source.js +1 -1
- package/lib/src/scroll-bar/index.d.ts +1 -2
- package/lib/src/strength-meter/index.d.ts +1 -1
- package/lib/src/theme/antd-global-overwrite/admin/button.css +12 -6
- package/lib/src/theme/antd-global-overwrite/admin/index.css +58 -12
- package/lib/src/theme/antd-global-overwrite/admin/modal.css +13 -0
- package/lib/src/theme/antd-global-overwrite/admin/table.css +33 -6
- package/lib/src/theme/antd-global-overwrite/aplus/button.css +12 -6
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +77 -11
- package/lib/src/theme/antd-global-overwrite/aplus/modal.css +13 -0
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +52 -5
- package/lib/src/theme/ap-action/item.css +6 -1
- package/lib/src/theme/ap-form/ap-form-item.css +2 -1
- package/lib/src/transition/index.d.ts +1 -1
- package/lib/src/utils/config-provider-preset.js +1 -1
- package/lib/src/utils/index.d.ts +8 -0
- package/lib/src/utils/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { unref as r, reactive as ie, ref as Y, watchEffect as Z, watch as fe, computed as E, onMounted as se } from "vue";
|
|
2
|
-
import { useTimeoutFn as
|
|
2
|
+
import { useTimeoutFn as he } from "@vueuse/core";
|
|
3
3
|
import { buildUUID as q } from "../../utils/uuid.mjs";
|
|
4
|
-
import { isFunction as b, cloneDeep as
|
|
5
|
-
import { ROW_KEY as
|
|
4
|
+
import { isFunction as b, cloneDeep as de, isObject as ge, isBoolean as x, merge as me, get as J } from "lodash-unified";
|
|
5
|
+
import { ROW_KEY as d } from "../const.mjs";
|
|
6
6
|
import { parseRowKeyValue as Q } from "../helper.mjs";
|
|
7
7
|
import "../../config-provider/index.mjs";
|
|
8
|
-
import { useGlobalConfig as
|
|
8
|
+
import { useGlobalConfig as ve } from "../../config-provider/hooks/use-global-config.mjs";
|
|
9
9
|
function Ae(u, {
|
|
10
10
|
getPaginationInfo: R,
|
|
11
11
|
setPagination: g,
|
|
@@ -14,7 +14,7 @@ function Ae(u, {
|
|
|
14
14
|
clearSelectedRowKeys: X,
|
|
15
15
|
tableData: $
|
|
16
16
|
}, _) {
|
|
17
|
-
const z =
|
|
17
|
+
const z = ve(), L = r(z).table.fetchSetting, P = r(z).table.defaultPageSize, A = ie({
|
|
18
18
|
sortInfo: {},
|
|
19
19
|
filterInfo: {}
|
|
20
20
|
}), n = Y([]), G = Y({});
|
|
@@ -46,28 +46,26 @@ function Ae(u, {
|
|
|
46
46
|
}
|
|
47
47
|
function N(e) {
|
|
48
48
|
!e || !Array.isArray(e) || e.forEach((t) => {
|
|
49
|
-
t[
|
|
49
|
+
t[d] || (t[d] = q()), t.children && t.children.length && N(t.children);
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
const K = E(() => r(u).autoCreateKey && !r(u).rowKey), C = E(() => {
|
|
53
53
|
const { rowKey: e } = r(u);
|
|
54
|
-
return r(K) ?
|
|
54
|
+
return r(K) ? d : e;
|
|
55
55
|
});
|
|
56
56
|
Z(() => {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
const e = r(n);
|
|
58
|
+
if (!(!e || e.length === 0) && r(K)) {
|
|
59
|
+
const t = e[0], a = e[e.length - 1];
|
|
60
|
+
if (t && a && (!t[d] || !a[d])) {
|
|
61
|
+
const c = de(r(n));
|
|
61
62
|
c.forEach((o) => {
|
|
62
|
-
o[
|
|
63
|
+
o[d] || (o[d] = q()), o.children && o.children.length && N(o.children);
|
|
63
64
|
}), n.value = c;
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
});
|
|
67
|
-
const j = E(() =>
|
|
68
|
-
const e = r(n);
|
|
69
|
-
return !e || e.length === 0 ? r(n) : r(n);
|
|
70
|
-
});
|
|
68
|
+
const j = E(() => r(n));
|
|
71
69
|
async function p(e, t, a) {
|
|
72
70
|
return n.value[e] && (n.value[e][t] = a), n.value[e];
|
|
73
71
|
}
|
|
@@ -93,14 +91,14 @@ function Ae(u, {
|
|
|
93
91
|
var T;
|
|
94
92
|
if (s == null)
|
|
95
93
|
return null;
|
|
96
|
-
for (let
|
|
97
|
-
const y = s[
|
|
94
|
+
for (let v = 0; v < s.length; v++) {
|
|
95
|
+
const y = s[v];
|
|
98
96
|
if (Q(r(C), y) === m)
|
|
99
|
-
return { index:
|
|
97
|
+
return { index: v, data: s };
|
|
100
98
|
if (((T = y.children) == null ? void 0 : T.length) > 0) {
|
|
101
|
-
const
|
|
102
|
-
if (
|
|
103
|
-
return
|
|
99
|
+
const h = f(y.children, m);
|
|
100
|
+
if (h != null)
|
|
101
|
+
return h;
|
|
104
102
|
}
|
|
105
103
|
}
|
|
106
104
|
return null;
|
|
@@ -143,19 +141,19 @@ function Ae(u, {
|
|
|
143
141
|
if (!(!t || !b(t)))
|
|
144
142
|
try {
|
|
145
143
|
O(!0);
|
|
146
|
-
const { pageField: m, sizeField: T, listField:
|
|
144
|
+
const { pageField: m, sizeField: T, listField: v, totalField: y } = Object.assign(
|
|
147
145
|
{},
|
|
148
146
|
L,
|
|
149
147
|
o
|
|
150
148
|
);
|
|
151
|
-
let
|
|
149
|
+
let h = {};
|
|
152
150
|
const { current: U = 1, pageSize: B = P } = r(
|
|
153
151
|
R
|
|
154
152
|
);
|
|
155
|
-
x(s) && !s || x(R) ?
|
|
153
|
+
x(s) && !s || x(R) ? h = {} : (h[m] = e && e.page || U, h[T] = B);
|
|
156
154
|
const { sortInfo: le = {}, filterInfo: ue } = A;
|
|
157
155
|
let D = me(
|
|
158
|
-
|
|
156
|
+
h,
|
|
159
157
|
f ? V() : {},
|
|
160
158
|
a,
|
|
161
159
|
(e == null ? void 0 : e.searchInfo) ?? {},
|
|
@@ -166,11 +164,11 @@ function Ae(u, {
|
|
|
166
164
|
(e == null ? void 0 : e.filterInfo) ?? {}
|
|
167
165
|
);
|
|
168
166
|
i && b(i) && (D = await i(D) || D);
|
|
169
|
-
const
|
|
170
|
-
G.value =
|
|
171
|
-
const H = Array.isArray(
|
|
172
|
-
let w = H ?
|
|
173
|
-
const F = H ?
|
|
167
|
+
const S = await t(D);
|
|
168
|
+
G.value = S;
|
|
169
|
+
const H = Array.isArray(S);
|
|
170
|
+
let w = H ? S : J(S, v);
|
|
171
|
+
const F = H ? S.length : J(S, y);
|
|
174
172
|
if (Number(F)) {
|
|
175
173
|
const W = Math.ceil(F / B);
|
|
176
174
|
if (U > W)
|
|
@@ -207,7 +205,7 @@ function Ae(u, {
|
|
|
207
205
|
return await I(e);
|
|
208
206
|
}
|
|
209
207
|
return se(() => {
|
|
210
|
-
|
|
208
|
+
he(() => {
|
|
211
209
|
r(u).immediate && I();
|
|
212
210
|
}, 16);
|
|
213
211
|
}), {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from '
|
|
1
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
2
|
import { StyleValue } from '../type';
|
|
3
|
-
import { Ref } from '@vue/reactivity';
|
|
4
3
|
export * from './interface';
|
|
5
4
|
export declare const Scrollbar: {
|
|
6
5
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from '
|
|
1
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
2
|
export * from './interface';
|
|
3
3
|
export declare const StrengthMeter: {
|
|
4
4
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
@@ -2,18 +2,24 @@
|
|
|
2
2
|
min-width: 88px;
|
|
3
3
|
box-shadow: none;
|
|
4
4
|
}
|
|
5
|
-
.ant-btn-default[disabled],
|
|
6
|
-
.ant-btn-default[disabled]:hover {
|
|
7
|
-
color: #bfbfbf !important;
|
|
8
|
-
background: #fafafa !important;
|
|
9
|
-
border-color: #d9d9d9 !important;
|
|
10
|
-
}
|
|
11
5
|
.ant-btn-primary[disabled],
|
|
12
6
|
.ant-btn-primary[disabled]:hover {
|
|
13
7
|
color: #ffffff !important;
|
|
14
8
|
background: #d6f1e5 !important;
|
|
15
9
|
border-color: #d6f1e5 !important;
|
|
16
10
|
}
|
|
11
|
+
.ant-btn-dangerous[disabled],
|
|
12
|
+
.ant-btn-dangerous[disabled]:hover {
|
|
13
|
+
color: #ffffff !important;
|
|
14
|
+
background: #ffdbdc !important;
|
|
15
|
+
border-color: #ffdbdc !important;
|
|
16
|
+
}
|
|
17
|
+
.ant-btn-default[disabled],
|
|
18
|
+
.ant-btn-default[disabled]:hover {
|
|
19
|
+
color: #bfbfbf !important;
|
|
20
|
+
background: #fafafa !important;
|
|
21
|
+
border-color: #d9d9d9 !important;
|
|
22
|
+
}
|
|
17
23
|
.ant-btn-link[disabled],
|
|
18
24
|
.ant-btn-link[disabled]:hover,
|
|
19
25
|
.ant-btn-text[disabled],
|
|
@@ -23,18 +23,24 @@
|
|
|
23
23
|
min-width: 88px;
|
|
24
24
|
box-shadow: none;
|
|
25
25
|
}
|
|
26
|
-
.ant-btn-default[disabled],
|
|
27
|
-
.ant-btn-default[disabled]:hover {
|
|
28
|
-
color: #bfbfbf !important;
|
|
29
|
-
background: #fafafa !important;
|
|
30
|
-
border-color: #d9d9d9 !important;
|
|
31
|
-
}
|
|
32
26
|
.ant-btn-primary[disabled],
|
|
33
27
|
.ant-btn-primary[disabled]:hover {
|
|
34
28
|
color: #ffffff !important;
|
|
35
29
|
background: #d6f1e5 !important;
|
|
36
30
|
border-color: #d6f1e5 !important;
|
|
37
31
|
}
|
|
32
|
+
.ant-btn-dangerous[disabled],
|
|
33
|
+
.ant-btn-dangerous[disabled]:hover {
|
|
34
|
+
color: #ffffff !important;
|
|
35
|
+
background: #ffdbdc !important;
|
|
36
|
+
border-color: #ffdbdc !important;
|
|
37
|
+
}
|
|
38
|
+
.ant-btn-default[disabled],
|
|
39
|
+
.ant-btn-default[disabled]:hover {
|
|
40
|
+
color: #bfbfbf !important;
|
|
41
|
+
background: #fafafa !important;
|
|
42
|
+
border-color: #d9d9d9 !important;
|
|
43
|
+
}
|
|
38
44
|
.ant-btn-link[disabled],
|
|
39
45
|
.ant-btn-link[disabled]:hover,
|
|
40
46
|
.ant-btn-text[disabled],
|
|
@@ -215,6 +221,19 @@
|
|
|
215
221
|
.ant-modal-root .ant-modal-confirm .ant-modal-body .ant-modal-confirm-btns button {
|
|
216
222
|
min-width: 88px;
|
|
217
223
|
}
|
|
224
|
+
.ant-modal-confirm-success .ant-modal-confirm-body > .anticon {
|
|
225
|
+
color: #06c687;
|
|
226
|
+
}
|
|
227
|
+
.ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
|
|
228
|
+
color: #1890ff;
|
|
229
|
+
}
|
|
230
|
+
.ant-modal-confirm-warning .ant-modal-confirm-body > .anticon,
|
|
231
|
+
.ant-modal-confirm-confirm .ant-modal-confirm-body > .anticon {
|
|
232
|
+
color: #faad14;
|
|
233
|
+
}
|
|
234
|
+
.ant-modal-confirm-error .ant-modal-confirm-body > .anticon {
|
|
235
|
+
color: #ff4d4f;
|
|
236
|
+
}
|
|
218
237
|
.ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right {
|
|
219
238
|
margin: 16px 0 0;
|
|
220
239
|
}
|
|
@@ -376,14 +395,24 @@
|
|
|
376
395
|
align-items: center;
|
|
377
396
|
}
|
|
378
397
|
.ant-table-wrapper {
|
|
379
|
-
|
|
398
|
+
padding: 12px 16px 16px;
|
|
399
|
+
background-color: #ffffff;
|
|
400
|
+
border-radius: 0;
|
|
401
|
+
}
|
|
402
|
+
.ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
|
|
403
|
+
.ant-table-wrapper .ant-table.ant-table-small > .ant-table-title {
|
|
404
|
+
display: flex;
|
|
405
|
+
align-items: center;
|
|
406
|
+
justify-content: space-between;
|
|
407
|
+
min-height: 40px;
|
|
408
|
+
padding: 0 0 12px;
|
|
409
|
+
border: none;
|
|
380
410
|
}
|
|
381
411
|
.ant-table-wrapper .ant-table {
|
|
412
|
+
width: 100%;
|
|
413
|
+
overflow-x: hidden;
|
|
382
414
|
border-radius: 0;
|
|
383
415
|
}
|
|
384
|
-
.ant-table-wrapper .ant-table div.ant-table-title {
|
|
385
|
-
padding: 0 0 12px !important;
|
|
386
|
-
}
|
|
387
416
|
.ant-table-wrapper .ant-table .ant-table-container {
|
|
388
417
|
border-radius: 0;
|
|
389
418
|
}
|
|
@@ -397,8 +426,25 @@
|
|
|
397
426
|
border-radius: 0;
|
|
398
427
|
}
|
|
399
428
|
.ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td {
|
|
400
|
-
padding:
|
|
429
|
+
padding: 13.5px 16px;
|
|
430
|
+
line-height: 20px;
|
|
401
431
|
}
|
|
402
432
|
.ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th {
|
|
403
|
-
padding:
|
|
433
|
+
padding: 13.5px 16px;
|
|
434
|
+
line-height: 20px;
|
|
435
|
+
}
|
|
436
|
+
.ant-table-wrapper .ant-table-footer {
|
|
437
|
+
padding: 0;
|
|
438
|
+
}
|
|
439
|
+
.ant-table-wrapper .ant-table-footer .ant-table-wrapper {
|
|
440
|
+
padding: 0;
|
|
441
|
+
}
|
|
442
|
+
.ant-table-wrapper .ant-table-footer table {
|
|
443
|
+
border: none;
|
|
444
|
+
}
|
|
445
|
+
.ant-table-wrapper .ant-table-footer .ant-table-body {
|
|
446
|
+
overflow-x: hidden;
|
|
447
|
+
}
|
|
448
|
+
.ant-table-wrapper .ant-table-footer td {
|
|
449
|
+
padding: 12px 8px;
|
|
404
450
|
}
|
|
@@ -105,3 +105,16 @@
|
|
|
105
105
|
.ant-modal-root .ant-modal-confirm .ant-modal-body .ant-modal-confirm-btns button {
|
|
106
106
|
min-width: 88px;
|
|
107
107
|
}
|
|
108
|
+
.ant-modal-confirm-success .ant-modal-confirm-body > .anticon {
|
|
109
|
+
color: #06c687;
|
|
110
|
+
}
|
|
111
|
+
.ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
|
|
112
|
+
color: #1890ff;
|
|
113
|
+
}
|
|
114
|
+
.ant-modal-confirm-warning .ant-modal-confirm-body > .anticon,
|
|
115
|
+
.ant-modal-confirm-confirm .ant-modal-confirm-body > .anticon {
|
|
116
|
+
color: #faad14;
|
|
117
|
+
}
|
|
118
|
+
.ant-modal-confirm-error .ant-modal-confirm-body > .anticon {
|
|
119
|
+
color: #ff4d4f;
|
|
120
|
+
}
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
.ant-table-wrapper {
|
|
2
|
-
|
|
2
|
+
padding: 12px 16px 16px;
|
|
3
|
+
background-color: #ffffff;
|
|
4
|
+
border-radius: 0;
|
|
5
|
+
}
|
|
6
|
+
.ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
|
|
7
|
+
.ant-table-wrapper .ant-table.ant-table-small > .ant-table-title {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
min-height: 40px;
|
|
12
|
+
padding: 0 0 12px;
|
|
13
|
+
border: none;
|
|
3
14
|
}
|
|
4
15
|
.ant-table-wrapper .ant-table {
|
|
16
|
+
width: 100%;
|
|
17
|
+
overflow-x: hidden;
|
|
5
18
|
border-radius: 0;
|
|
6
19
|
}
|
|
7
|
-
.ant-table-wrapper .ant-table div.ant-table-title {
|
|
8
|
-
padding: 0 0 12px !important;
|
|
9
|
-
}
|
|
10
20
|
.ant-table-wrapper .ant-table .ant-table-container {
|
|
11
21
|
border-radius: 0;
|
|
12
22
|
}
|
|
@@ -20,8 +30,25 @@
|
|
|
20
30
|
border-radius: 0;
|
|
21
31
|
}
|
|
22
32
|
.ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td {
|
|
23
|
-
padding:
|
|
33
|
+
padding: 13.5px 16px;
|
|
34
|
+
line-height: 20px;
|
|
24
35
|
}
|
|
25
36
|
.ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th {
|
|
26
|
-
padding:
|
|
37
|
+
padding: 13.5px 16px;
|
|
38
|
+
line-height: 20px;
|
|
39
|
+
}
|
|
40
|
+
.ant-table-wrapper .ant-table-footer {
|
|
41
|
+
padding: 0;
|
|
42
|
+
}
|
|
43
|
+
.ant-table-wrapper .ant-table-footer .ant-table-wrapper {
|
|
44
|
+
padding: 0;
|
|
45
|
+
}
|
|
46
|
+
.ant-table-wrapper .ant-table-footer table {
|
|
47
|
+
border: none;
|
|
48
|
+
}
|
|
49
|
+
.ant-table-wrapper .ant-table-footer .ant-table-body {
|
|
50
|
+
overflow-x: hidden;
|
|
51
|
+
}
|
|
52
|
+
.ant-table-wrapper .ant-table-footer td {
|
|
53
|
+
padding: 12px 8px;
|
|
27
54
|
}
|
|
@@ -2,18 +2,24 @@
|
|
|
2
2
|
min-width: 88px;
|
|
3
3
|
box-shadow: none;
|
|
4
4
|
}
|
|
5
|
-
.ant-btn-default[disabled],
|
|
6
|
-
.ant-btn-default[disabled]:hover {
|
|
7
|
-
color: #abb7cc !important;
|
|
8
|
-
background: #f9f9fa !important;
|
|
9
|
-
border-color: #dee4ed !important;
|
|
10
|
-
}
|
|
11
5
|
.ant-btn-primary[disabled],
|
|
12
6
|
.ant-btn-primary[disabled]:hover {
|
|
13
7
|
color: #ffffff !important;
|
|
14
8
|
background: #cce2ff !important;
|
|
15
9
|
border-color: #cce2ff !important;
|
|
16
10
|
}
|
|
11
|
+
.ant-btn-dangerous[disabled],
|
|
12
|
+
.ant-btn-dangerous[disabled]:hover {
|
|
13
|
+
color: #ffffff !important;
|
|
14
|
+
background: #ffdbdc !important;
|
|
15
|
+
border-color: #ffdbdc !important;
|
|
16
|
+
}
|
|
17
|
+
.ant-btn-default[disabled],
|
|
18
|
+
.ant-btn-default[disabled]:hover {
|
|
19
|
+
color: #abb7cc !important;
|
|
20
|
+
background: #f9f9fa !important;
|
|
21
|
+
border-color: #dee4ed !important;
|
|
22
|
+
}
|
|
17
23
|
.ant-btn-link[disabled],
|
|
18
24
|
.ant-btn-link[disabled]:hover,
|
|
19
25
|
.ant-btn-text[disabled],
|
|
@@ -23,18 +23,24 @@
|
|
|
23
23
|
min-width: 88px;
|
|
24
24
|
box-shadow: none;
|
|
25
25
|
}
|
|
26
|
-
.ant-btn-default[disabled],
|
|
27
|
-
.ant-btn-default[disabled]:hover {
|
|
28
|
-
color: #abb7cc !important;
|
|
29
|
-
background: #f9f9fa !important;
|
|
30
|
-
border-color: #dee4ed !important;
|
|
31
|
-
}
|
|
32
26
|
.ant-btn-primary[disabled],
|
|
33
27
|
.ant-btn-primary[disabled]:hover {
|
|
34
28
|
color: #ffffff !important;
|
|
35
29
|
background: #cce2ff !important;
|
|
36
30
|
border-color: #cce2ff !important;
|
|
37
31
|
}
|
|
32
|
+
.ant-btn-dangerous[disabled],
|
|
33
|
+
.ant-btn-dangerous[disabled]:hover {
|
|
34
|
+
color: #ffffff !important;
|
|
35
|
+
background: #ffdbdc !important;
|
|
36
|
+
border-color: #ffdbdc !important;
|
|
37
|
+
}
|
|
38
|
+
.ant-btn-default[disabled],
|
|
39
|
+
.ant-btn-default[disabled]:hover {
|
|
40
|
+
color: #abb7cc !important;
|
|
41
|
+
background: #f9f9fa !important;
|
|
42
|
+
border-color: #dee4ed !important;
|
|
43
|
+
}
|
|
38
44
|
.ant-btn-link[disabled],
|
|
39
45
|
.ant-btn-link[disabled]:hover,
|
|
40
46
|
.ant-btn-text[disabled],
|
|
@@ -209,6 +215,19 @@
|
|
|
209
215
|
.ant-modal-root .ant-modal-confirm .ant-modal-body .ant-modal-confirm-btns button {
|
|
210
216
|
min-width: 88px;
|
|
211
217
|
}
|
|
218
|
+
.ant-modal-confirm-success .ant-modal-confirm-body > .anticon {
|
|
219
|
+
color: #06c687;
|
|
220
|
+
}
|
|
221
|
+
.ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
|
|
222
|
+
color: #0070ff;
|
|
223
|
+
}
|
|
224
|
+
.ant-modal-confirm-warning .ant-modal-confirm-body > .anticon,
|
|
225
|
+
.ant-modal-confirm-confirm .ant-modal-confirm-body > .anticon {
|
|
226
|
+
color: #ffa940;
|
|
227
|
+
}
|
|
228
|
+
.ant-modal-confirm-error .ant-modal-confirm-body > .anticon {
|
|
229
|
+
color: #ff4d4f;
|
|
230
|
+
}
|
|
212
231
|
.ant-table-wrapper .ant-spin-container .ant-pagination.ant-table-pagination.ant-table-pagination-right {
|
|
213
232
|
margin: 10px 0 0;
|
|
214
233
|
}
|
|
@@ -376,25 +395,72 @@
|
|
|
376
395
|
justify-content: center;
|
|
377
396
|
align-items: center;
|
|
378
397
|
}
|
|
398
|
+
.ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
|
|
399
|
+
.ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title {
|
|
400
|
+
display: flex;
|
|
401
|
+
align-items: center;
|
|
402
|
+
justify-content: space-between;
|
|
403
|
+
min-height: 40px;
|
|
404
|
+
padding: 0 0 10px;
|
|
405
|
+
border: none;
|
|
406
|
+
}
|
|
407
|
+
.ant-table-wrapper .ant-table {
|
|
408
|
+
width: 100%;
|
|
409
|
+
overflow-x: hidden;
|
|
410
|
+
border-radius: 0;
|
|
411
|
+
}
|
|
412
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
|
|
413
|
+
border-radius: 0;
|
|
414
|
+
}
|
|
415
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th {
|
|
416
|
+
color: #182948;
|
|
417
|
+
font-weight: 700;
|
|
418
|
+
font-size: 14px;
|
|
419
|
+
font-style: normal;
|
|
420
|
+
text-align: left;
|
|
421
|
+
text-transform: none;
|
|
422
|
+
background: #f2f6f9;
|
|
423
|
+
}
|
|
424
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before {
|
|
425
|
+
display: none;
|
|
426
|
+
width: 0;
|
|
427
|
+
visibility: hidden;
|
|
428
|
+
}
|
|
429
|
+
.ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover {
|
|
430
|
+
background: #f6f9fa;
|
|
431
|
+
}
|
|
432
|
+
.ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td {
|
|
433
|
+
background: #f6f9fa;
|
|
434
|
+
}
|
|
435
|
+
.ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td {
|
|
436
|
+
color: #182948;
|
|
437
|
+
font-weight: 400;
|
|
438
|
+
font-size: 14px;
|
|
439
|
+
font-style: normal;
|
|
440
|
+
text-align: left;
|
|
441
|
+
text-transform: none;
|
|
442
|
+
}
|
|
379
443
|
.ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th {
|
|
380
|
-
padding:
|
|
444
|
+
padding: 12px 16px;
|
|
445
|
+
line-height: 22px;
|
|
381
446
|
}
|
|
382
447
|
.ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
|
|
383
448
|
border-top: 1px solid;
|
|
384
449
|
border-top-color: transparent;
|
|
385
450
|
}
|
|
386
451
|
.ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell {
|
|
387
|
-
padding: 12px
|
|
452
|
+
padding: 12px 16px;
|
|
388
453
|
line-height: 22px;
|
|
389
454
|
}
|
|
390
455
|
.ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th {
|
|
391
|
-
padding: 10.5px 16px
|
|
456
|
+
padding: 10.5px 16px;
|
|
457
|
+
line-height: 18px;
|
|
392
458
|
}
|
|
393
459
|
.ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
|
|
394
460
|
border-top: 1px solid;
|
|
395
461
|
border-top-color: transparent;
|
|
396
462
|
}
|
|
397
463
|
.ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell {
|
|
398
|
-
padding: 10.5px 16px
|
|
399
|
-
line-height: 18px
|
|
464
|
+
padding: 10.5px 16px;
|
|
465
|
+
line-height: 18px;
|
|
400
466
|
}
|
|
@@ -99,3 +99,16 @@
|
|
|
99
99
|
.ant-modal-root .ant-modal-confirm .ant-modal-body .ant-modal-confirm-btns button {
|
|
100
100
|
min-width: 88px;
|
|
101
101
|
}
|
|
102
|
+
.ant-modal-confirm-success .ant-modal-confirm-body > .anticon {
|
|
103
|
+
color: #06c687;
|
|
104
|
+
}
|
|
105
|
+
.ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
|
|
106
|
+
color: #0070ff;
|
|
107
|
+
}
|
|
108
|
+
.ant-modal-confirm-warning .ant-modal-confirm-body > .anticon,
|
|
109
|
+
.ant-modal-confirm-confirm .ant-modal-confirm-body > .anticon {
|
|
110
|
+
color: #ffa940;
|
|
111
|
+
}
|
|
112
|
+
.ant-modal-confirm-error .ant-modal-confirm-body > .anticon {
|
|
113
|
+
color: #ff4d4f;
|
|
114
|
+
}
|
|
@@ -1,22 +1,69 @@
|
|
|
1
|
+
.ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
|
|
2
|
+
.ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
min-height: 40px;
|
|
7
|
+
padding: 0 0 10px;
|
|
8
|
+
border: none;
|
|
9
|
+
}
|
|
10
|
+
.ant-table-wrapper .ant-table {
|
|
11
|
+
width: 100%;
|
|
12
|
+
overflow-x: hidden;
|
|
13
|
+
border-radius: 0;
|
|
14
|
+
}
|
|
15
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
|
|
16
|
+
border-radius: 0;
|
|
17
|
+
}
|
|
18
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th {
|
|
19
|
+
color: #182948;
|
|
20
|
+
font-weight: 700;
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
font-style: normal;
|
|
23
|
+
text-align: left;
|
|
24
|
+
text-transform: none;
|
|
25
|
+
background: #f2f6f9;
|
|
26
|
+
}
|
|
27
|
+
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before {
|
|
28
|
+
display: none;
|
|
29
|
+
width: 0;
|
|
30
|
+
visibility: hidden;
|
|
31
|
+
}
|
|
32
|
+
.ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover {
|
|
33
|
+
background: #f6f9fa;
|
|
34
|
+
}
|
|
35
|
+
.ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td {
|
|
36
|
+
background: #f6f9fa;
|
|
37
|
+
}
|
|
38
|
+
.ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td {
|
|
39
|
+
color: #182948;
|
|
40
|
+
font-weight: 400;
|
|
41
|
+
font-size: 14px;
|
|
42
|
+
font-style: normal;
|
|
43
|
+
text-align: left;
|
|
44
|
+
text-transform: none;
|
|
45
|
+
}
|
|
1
46
|
.ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th {
|
|
2
|
-
padding:
|
|
47
|
+
padding: 12px 16px;
|
|
48
|
+
line-height: 22px;
|
|
3
49
|
}
|
|
4
50
|
.ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
|
|
5
51
|
border-top: 1px solid;
|
|
6
52
|
border-top-color: transparent;
|
|
7
53
|
}
|
|
8
54
|
.ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell {
|
|
9
|
-
padding: 12px
|
|
55
|
+
padding: 12px 16px;
|
|
10
56
|
line-height: 22px;
|
|
11
57
|
}
|
|
12
58
|
.ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th {
|
|
13
|
-
padding: 10.5px 16px
|
|
59
|
+
padding: 10.5px 16px;
|
|
60
|
+
line-height: 18px;
|
|
14
61
|
}
|
|
15
62
|
.ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td {
|
|
16
63
|
border-top: 1px solid;
|
|
17
64
|
border-top-color: transparent;
|
|
18
65
|
}
|
|
19
66
|
.ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell {
|
|
20
|
-
padding: 10.5px 16px
|
|
21
|
-
line-height: 18px
|
|
67
|
+
padding: 10.5px 16px;
|
|
68
|
+
line-height: 18px;
|
|
22
69
|
}
|
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
.aplus-action-item--primary {
|
|
8
8
|
color: #0070ff;
|
|
9
9
|
}
|
|
10
|
+
.aplus-action-item--primary:not(.aplus-action-item--disabled):hover {
|
|
11
|
+
color: #66a9ff;
|
|
12
|
+
}
|
|
10
13
|
.aplus-action-item--success {
|
|
11
14
|
color: #2ed1a3;
|
|
12
15
|
}
|
|
@@ -19,10 +22,12 @@
|
|
|
19
22
|
.aplus-action-item--loading {
|
|
20
23
|
opacity: 0.35;
|
|
21
24
|
transition: opacity 0.2s;
|
|
25
|
+
cursor: default;
|
|
22
26
|
}
|
|
23
27
|
.aplus-action-item--loading .btn-loading-icon {
|
|
24
28
|
margin-right: 4px;
|
|
25
29
|
}
|
|
26
30
|
.aplus-action-item--disabled {
|
|
27
|
-
color: #
|
|
31
|
+
color: #CCE2FF;
|
|
32
|
+
cursor: not-allowed;
|
|
28
33
|
}
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
border-width: 0 !important;
|
|
21
21
|
height: 30px !important;
|
|
22
22
|
}
|
|
23
|
-
.aplus-ap-form-item--bordered .ant-select-arrow
|
|
23
|
+
.aplus-ap-form-item--bordered .ant-select-arrow,
|
|
24
|
+
.aplus-ap-form-item--bordered .ant-picker-clear {
|
|
24
25
|
inset-inline-end: 0;
|
|
25
26
|
}
|
|
26
27
|
.aplus-ap-form-item--bordered .ant-select-clear {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from '
|
|
1
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
export { default as CollapseTransition } from './collapse-transition.vue';
|
|
3
3
|
export declare const FadeTransition: DefineComponent<{
|
|
4
4
|
group: {
|