@aplus-frontend/ui 0.0.2 → 0.0.3
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-table/ap-table.vue.d.ts +1 -5
- package/es/src/ap-table/ap-table.vue.mjs +139 -125
- package/es/src/ap-table/interface.d.ts +16 -4
- package/es/src/ap-table/utils.d.ts +30 -1
- package/es/src/ap-table/utils.mjs +61 -41
- package/es/src/ap-tag/style/ap-tag-group.css +1 -0
- package/es/src/ap-tag/style/ap-tag.css +1 -0
- package/es/src/pro-form/components/form-action.vue2.mjs +37 -35
- package/es/src/pro-form/hooks/use-advanced.mjs +45 -45
- package/es/src/pro-table/style/pro-table.css +3 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +35 -20
- package/es/src/theme/antd-global-overwrite/admin/table.css +35 -20
- package/es/src/theme/antd-global-overwrite/aplus/index.css +35 -20
- package/es/src/theme/antd-global-overwrite/aplus/table.css +35 -20
- package/es/src/theme/ap-tag/ap-tag-group.css +1 -0
- package/es/src/theme/ap-tag/ap-tag.css +1 -0
- package/es/src/theme/pro-table/pro-table.css +3 -0
- package/lib/src/ap-table/ap-table.vue.d.ts +1 -5
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/interface.d.ts +16 -4
- package/lib/src/ap-table/utils.d.ts +30 -1
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/ap-tag/style/ap-tag-group.css +1 -0
- package/lib/src/ap-tag/style/ap-tag.css +1 -0
- package/lib/src/pro-form/components/form-action.vue2.js +1 -1
- package/lib/src/pro-form/hooks/use-advanced.js +1 -1
- package/lib/src/pro-table/style/pro-table.css +3 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +35 -20
- package/lib/src/theme/antd-global-overwrite/admin/table.css +35 -20
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +35 -20
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +35 -20
- package/lib/src/theme/ap-tag/ap-tag-group.css +1 -0
- package/lib/src/theme/ap-tag/ap-tag.css +1 -0
- package/lib/src/theme/pro-table/pro-table.css +3 -0
- package/package.json +1 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as T, computed as
|
|
2
|
-
import { Col as F, Form as
|
|
3
|
-
import { BaseButton as
|
|
4
|
-
import { BasicArrow as
|
|
5
|
-
import { useFormContext as
|
|
1
|
+
import { defineComponent as T, computed as s, openBlock as a, createBlock as l, unref as e, normalizeProps as z, mergeProps as m, withCtx as o, createElementVNode as V, normalizeStyle as A, createVNode as g, renderSlot as i, createTextVNode as p, toDisplayString as d, createCommentVNode as r, normalizeClass as $ } from "vue";
|
|
2
|
+
import { Col as F, Form as G } from "ant-design-vue";
|
|
3
|
+
import { BaseButton as f } from "../../base-button/index.mjs";
|
|
4
|
+
import { BasicArrow as R } from "../../basic/index.mjs";
|
|
5
|
+
import { useFormContext as j } from "../hooks/use-form-context.mjs";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
7
|
import "./style/form-action.css";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { useGlobalConfig as P } from "../../config-provider/hooks/use-global-config.mjs";
|
|
9
|
+
import { useLocale as W } from "../../config-provider/hooks/use-locale.mjs";
|
|
10
|
+
import { useNamespace as q } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
11
|
const X = /* @__PURE__ */ T({
|
|
11
12
|
name: "BasicFormAction",
|
|
12
13
|
__name: "form-action",
|
|
@@ -23,75 +24,76 @@ const X = /* @__PURE__ */ T({
|
|
|
23
24
|
hideAdvanceBtn: { type: Boolean }
|
|
24
25
|
},
|
|
25
26
|
emits: ["toggle-advanced"],
|
|
26
|
-
setup(h, { emit:
|
|
27
|
-
const
|
|
28
|
-
|
|
27
|
+
setup(h, { emit: C }) {
|
|
28
|
+
const u = h, b = C, O = P("uiMode"), k = s(() => O.value === "aplus" ? {} : {
|
|
29
|
+
color: "#34b77c"
|
|
30
|
+
}), { t: n } = W(), { em: c } = q("form-action"), { resetAction: w, submitAction: x } = j(), B = s(() => {
|
|
31
|
+
const { actionColOptions: t } = u;
|
|
29
32
|
return {
|
|
30
|
-
style: { textAlign: "right" },
|
|
31
|
-
|
|
32
|
-
...N,
|
|
33
|
-
...x
|
|
33
|
+
style: { textAlign: "right", flex: 1, maxWidth: "100%", minWidth: "25%" },
|
|
34
|
+
...t
|
|
34
35
|
};
|
|
35
|
-
}),
|
|
36
|
+
}), y = s(() => Object.assign(
|
|
36
37
|
{
|
|
37
38
|
text: n("ap.common.resetText")
|
|
38
39
|
},
|
|
39
|
-
|
|
40
|
-
)),
|
|
40
|
+
u.resetButtonOptions
|
|
41
|
+
)), v = s(() => Object.assign(
|
|
41
42
|
{
|
|
42
43
|
text: n("ap.common.queryText")
|
|
43
44
|
},
|
|
44
|
-
|
|
45
|
+
u.submitButtonOptions
|
|
45
46
|
));
|
|
46
47
|
function S() {
|
|
47
48
|
b("toggle-advanced");
|
|
48
49
|
}
|
|
49
|
-
return (t,
|
|
50
|
+
return (t, N) => t.showActionButtonGroup ? (a(), l(e(F), z(m({ key: 0 }, B.value)), {
|
|
50
51
|
default: o(() => [
|
|
51
52
|
V("div", {
|
|
52
|
-
style:
|
|
53
|
+
style: A([{ width: "100%" }, { textAlign: B.value.style.textAlign }])
|
|
53
54
|
}, [
|
|
54
|
-
|
|
55
|
+
g(e(G).Item, null, {
|
|
55
56
|
default: o(() => [
|
|
56
57
|
i(t.$slots, "resetBefore"),
|
|
57
|
-
t.showResetButton ? (a(),
|
|
58
|
+
t.showResetButton ? (a(), l(e(f), m({
|
|
58
59
|
key: 0,
|
|
59
60
|
type: "default",
|
|
60
61
|
class: e(c)("button", "space")
|
|
61
|
-
},
|
|
62
|
+
}, y.value, { onClick: e(w) }), {
|
|
62
63
|
default: o(() => [
|
|
63
|
-
|
|
64
|
+
p(d(y.value.text), 1)
|
|
64
65
|
]),
|
|
65
66
|
_: 1
|
|
66
|
-
}, 16, ["class", "onClick"])) :
|
|
67
|
+
}, 16, ["class", "onClick"])) : r("", !0),
|
|
67
68
|
i(t.$slots, "submitBefore"),
|
|
68
|
-
t.showSubmitButton ? (a(),
|
|
69
|
+
t.showSubmitButton ? (a(), l(e(f), m({
|
|
69
70
|
key: 1,
|
|
70
71
|
type: "primary",
|
|
71
72
|
class: e(c)("button", "space")
|
|
72
|
-
},
|
|
73
|
+
}, v.value, { onClick: e(x) }), {
|
|
73
74
|
default: o(() => [
|
|
74
|
-
|
|
75
|
+
p(d(v.value.text), 1)
|
|
75
76
|
]),
|
|
76
77
|
_: 1
|
|
77
|
-
}, 16, ["class", "onClick"])) :
|
|
78
|
+
}, 16, ["class", "onClick"])) : r("", !0),
|
|
78
79
|
i(t.$slots, "advanceBefore"),
|
|
79
|
-
t.showAdvancedButton && !t.hideAdvanceBtn ? (a(),
|
|
80
|
+
t.showAdvancedButton && !t.hideAdvanceBtn ? (a(), l(e(f), {
|
|
80
81
|
key: 2,
|
|
81
82
|
type: "link",
|
|
82
83
|
size: "small",
|
|
84
|
+
style: A(k.value),
|
|
83
85
|
onClick: S
|
|
84
86
|
}, {
|
|
85
87
|
default: o(() => [
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
class:
|
|
88
|
+
p(d(t.isAdvanced ? e(n)("ap.common.closeText") : e(n)("ap.common.expandText")) + " ", 1),
|
|
89
|
+
g(e(R), {
|
|
90
|
+
class: $(e(c)("item", "space")),
|
|
89
91
|
expand: !t.isAdvanced,
|
|
90
92
|
up: ""
|
|
91
93
|
}, null, 8, ["class", "expand"])
|
|
92
94
|
]),
|
|
93
95
|
_: 1
|
|
94
|
-
})) :
|
|
96
|
+
}, 8, ["style"])) : r("", !0),
|
|
95
97
|
i(t.$slots, "advanceAfter")
|
|
96
98
|
]),
|
|
97
99
|
_: 3
|
|
@@ -99,7 +101,7 @@ const X = /* @__PURE__ */ T({
|
|
|
99
101
|
], 4)
|
|
100
102
|
]),
|
|
101
103
|
_: 3
|
|
102
|
-
}, 16)) :
|
|
104
|
+
}, 16)) : r("", !0);
|
|
103
105
|
}
|
|
104
106
|
});
|
|
105
107
|
export {
|
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
2
|
-
import { isNumber as
|
|
1
|
+
import { getCurrentInstance as N, computed as T, unref as d, watch as X, shallowReactive as g } from "vue";
|
|
2
|
+
import { isNumber as F, isObject as U, isBoolean as j, isFunction as k } from "lodash-unified";
|
|
3
3
|
import { useDebounceFn as D } from "@vueuse/core";
|
|
4
4
|
import { useBreakpoint as G, ScreenEnum as A } from "./use-break-point.mjs";
|
|
5
|
-
const
|
|
6
|
-
function
|
|
7
|
-
advanceState:
|
|
8
|
-
emit:
|
|
9
|
-
getProps:
|
|
10
|
-
getSchema:
|
|
11
|
-
formModel:
|
|
12
|
-
defaultValueRef:
|
|
5
|
+
const f = 24, l = 18;
|
|
6
|
+
function J({
|
|
7
|
+
advanceState: s,
|
|
8
|
+
emit: B,
|
|
9
|
+
getProps: o,
|
|
10
|
+
getSchema: h,
|
|
11
|
+
formModel: v,
|
|
12
|
+
defaultValueRef: b
|
|
13
13
|
}) {
|
|
14
|
-
const p =
|
|
15
|
-
if (!
|
|
14
|
+
const p = N(), { screenRef: y, realWidthRef: L } = G(), E = T(() => {
|
|
15
|
+
if (!s.isAdvanced)
|
|
16
16
|
return 0;
|
|
17
|
-
const n = d(
|
|
18
|
-
if (
|
|
17
|
+
const n = d(o).emptySpan || 0;
|
|
18
|
+
if (F(n))
|
|
19
19
|
return n;
|
|
20
|
-
if (
|
|
21
|
-
const { span:
|
|
22
|
-
return n[
|
|
20
|
+
if (U(n)) {
|
|
21
|
+
const { span: e = 0 } = n, t = d(y);
|
|
22
|
+
return n[t.toLowerCase()] || e || 0;
|
|
23
23
|
}
|
|
24
24
|
return 0;
|
|
25
|
-
}),
|
|
26
|
-
|
|
25
|
+
}), R = D(W, 30);
|
|
26
|
+
X(
|
|
27
27
|
[
|
|
28
|
-
() => d(
|
|
29
|
-
() =>
|
|
30
|
-
() => d(
|
|
28
|
+
() => d(h),
|
|
29
|
+
() => s.isAdvanced,
|
|
30
|
+
() => d(L)
|
|
31
31
|
],
|
|
32
32
|
() => {
|
|
33
|
-
const { showAdvancedButton: n } = d(
|
|
34
|
-
n &&
|
|
33
|
+
const { showAdvancedButton: n } = d(o);
|
|
34
|
+
n && R();
|
|
35
35
|
},
|
|
36
36
|
{ immediate: !0 }
|
|
37
37
|
);
|
|
38
|
-
function I(n,
|
|
39
|
-
const c = d(
|
|
40
|
-
return c <= A.LG ?
|
|
38
|
+
function I(n, e = 0, t = !1) {
|
|
39
|
+
const c = d(L), i = parseInt(n.md) || parseInt(n.xs) || parseInt(n.sm) || n.span || f, r = parseInt(n.lg) || i, a = parseInt(n.xl) || r, u = parseInt(n.xxl) || a;
|
|
40
|
+
return c <= A.LG ? e += i : c < A.XL ? e += r : c < A.XXL ? e += a : e += u, t ? (s.hideAdvanceBtn = !1, e <= f + l ? (s.hideAdvanceBtn = !0, s.isAdvanced = !0) : e > f + l && e <= f * (d(o).autoAdvancedLine || 3) ? s.hideAdvanceBtn = !1 : s.isLoad || (s.isLoad = !0, s.isAdvanced = !0), { isAdvanced: s.isAdvanced, itemColSum: e }) : e > l * (d(o).alwaysShowLines || 1) ? { isAdvanced: s.isAdvanced, itemColSum: e } : { isAdvanced: !0, itemColSum: e };
|
|
41
41
|
}
|
|
42
|
-
const
|
|
43
|
-
function
|
|
42
|
+
const w = g({});
|
|
43
|
+
function W() {
|
|
44
44
|
var c;
|
|
45
|
-
let n = 0,
|
|
46
|
-
const { baseColProps:
|
|
47
|
-
for (const i of d(
|
|
45
|
+
let n = 0, e = 0;
|
|
46
|
+
const { baseColProps: t = {} } = d(o);
|
|
47
|
+
for (const i of d(h)) {
|
|
48
48
|
const { show: r, colProps: a } = i;
|
|
49
49
|
let u = !0;
|
|
50
50
|
if (j(r) && (u = r), k(r) && (u = r({
|
|
51
51
|
schema: i,
|
|
52
|
-
model:
|
|
52
|
+
model: v,
|
|
53
53
|
field: i.field,
|
|
54
54
|
values: {
|
|
55
|
-
...d(
|
|
56
|
-
...
|
|
55
|
+
...d(b),
|
|
56
|
+
...v
|
|
57
57
|
}
|
|
58
|
-
})), u && (a ||
|
|
59
|
-
const { itemColSum:
|
|
60
|
-
{ ...
|
|
58
|
+
})), u && (a || t)) {
|
|
59
|
+
const { itemColSum: _, isAdvanced: x } = I(
|
|
60
|
+
{ ...t, ...a },
|
|
61
61
|
n
|
|
62
62
|
);
|
|
63
|
-
n =
|
|
63
|
+
n = _ || 0, x && (e = n), w[i.field] = x;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
(c = p == null ? void 0 : p.proxy) == null || c.$forceUpdate(),
|
|
67
|
-
d(
|
|
66
|
+
(c = p == null ? void 0 : p.proxy) == null || c.$forceUpdate(), s.actionSpan = e % f + d(E), I(
|
|
67
|
+
d(o).actionColOptions || { span: f },
|
|
68
68
|
n,
|
|
69
69
|
!0
|
|
70
|
-
),
|
|
70
|
+
), B("advanced-change");
|
|
71
71
|
}
|
|
72
72
|
function O() {
|
|
73
|
-
|
|
73
|
+
s.isAdvanced = !s.isAdvanced;
|
|
74
74
|
}
|
|
75
|
-
return { handleToggleAdvanced: O, fieldsIsAdvancedMap:
|
|
75
|
+
return { handleToggleAdvanced: O, fieldsIsAdvancedMap: w };
|
|
76
76
|
}
|
|
77
77
|
export {
|
|
78
|
-
|
|
78
|
+
J as default
|
|
79
79
|
};
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
border-radius: 2px;
|
|
17
17
|
background-color: #fff;
|
|
18
18
|
}
|
|
19
|
+
.aplus-pro-table-form-container .ant-form .ant-form-item {
|
|
20
|
+
margin-bottom: 16px;
|
|
21
|
+
}
|
|
19
22
|
.aplus-pro-table-form-container-no-divide .ant-form {
|
|
20
23
|
border-bottom-left-radius: 0 !important;
|
|
21
24
|
border-bottom-right-radius: 0 !important;
|
|
@@ -442,13 +442,21 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
442
442
|
inset-inline-start: 13px;
|
|
443
443
|
margin: 6px 0;
|
|
444
444
|
}
|
|
445
|
-
|
|
445
|
+
[class$='-basic-table'],
|
|
446
|
+
[class$='-basic-table-form-container'] {
|
|
447
|
+
width: 100%;
|
|
448
|
+
height: 100%;
|
|
449
|
+
}
|
|
450
|
+
[class$='-basic-table'] .ant-table-wrapper,
|
|
451
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper {
|
|
446
452
|
padding: 12px 16px 16px;
|
|
447
453
|
background-color: #ffffff;
|
|
448
454
|
border-radius: 0;
|
|
449
455
|
}
|
|
450
|
-
.ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
|
|
451
|
-
.ant-table-wrapper .ant-table.ant-table-
|
|
456
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
|
|
457
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
|
|
458
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small > .ant-table-title,
|
|
459
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small > .ant-table-title {
|
|
452
460
|
display: flex;
|
|
453
461
|
align-items: center;
|
|
454
462
|
justify-content: space-between;
|
|
@@ -456,51 +464,58 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
456
464
|
padding: 0 0 12px;
|
|
457
465
|
border: none;
|
|
458
466
|
}
|
|
459
|
-
.ant-table-wrapper .ant-table
|
|
467
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table,
|
|
468
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table {
|
|
460
469
|
width: 100%;
|
|
461
470
|
overflow-x: hidden;
|
|
462
471
|
border-radius: 0;
|
|
463
472
|
}
|
|
464
|
-
.ant-table-wrapper .ant-table .ant-table-container
|
|
473
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container,
|
|
474
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container {
|
|
465
475
|
border-radius: 0;
|
|
466
476
|
}
|
|
467
|
-
.ant-table-wrapper .ant-table .ant-table-container table
|
|
477
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container table,
|
|
478
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container table {
|
|
468
479
|
border-radius: 0;
|
|
469
480
|
}
|
|
470
|
-
.ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child
|
|
481
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child,
|
|
482
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child {
|
|
471
483
|
border-radius: 0;
|
|
472
484
|
}
|
|
473
|
-
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header
|
|
485
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header,
|
|
486
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
|
|
474
487
|
border-radius: 0;
|
|
475
488
|
}
|
|
476
|
-
.ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td
|
|
489
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td,
|
|
490
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td {
|
|
477
491
|
padding: 13.5px 16px;
|
|
478
492
|
line-height: 20px;
|
|
479
493
|
}
|
|
480
|
-
.ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th
|
|
494
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th,
|
|
495
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th {
|
|
481
496
|
padding: 13.5px 16px;
|
|
482
497
|
line-height: 20px;
|
|
483
498
|
}
|
|
484
|
-
.ant-table-wrapper .ant-table-footer
|
|
499
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-footer,
|
|
500
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer {
|
|
485
501
|
padding: 0;
|
|
486
502
|
}
|
|
487
|
-
.ant-table-wrapper .ant-table-footer .ant-table-wrapper
|
|
503
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-footer .ant-table-wrapper,
|
|
504
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer .ant-table-wrapper {
|
|
488
505
|
padding: 0;
|
|
489
506
|
}
|
|
490
|
-
.ant-table-wrapper .ant-table-footer table
|
|
507
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-footer table,
|
|
508
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer table {
|
|
491
509
|
border: none;
|
|
492
510
|
}
|
|
493
|
-
.ant-table-wrapper .ant-table-footer .ant-table-body
|
|
511
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-footer .ant-table-body,
|
|
512
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer .ant-table-body {
|
|
494
513
|
overflow-x: hidden;
|
|
495
514
|
}
|
|
496
|
-
.ant-table-wrapper .ant-table-footer td
|
|
515
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-footer td,
|
|
516
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer td {
|
|
497
517
|
padding: 12px 8px;
|
|
498
518
|
}
|
|
499
|
-
[class$='-basic-table'],
|
|
500
|
-
[class$='-basic-table-form-container'] {
|
|
501
|
-
width: 100%;
|
|
502
|
-
height: 100%;
|
|
503
|
-
}
|
|
504
519
|
[class$='-basic-table-form-container'] {
|
|
505
520
|
padding: 16px;
|
|
506
521
|
}
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
[class$='-basic-table'],
|
|
2
|
+
[class$='-basic-table-form-container'] {
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
}
|
|
6
|
+
[class$='-basic-table'] .ant-table-wrapper,
|
|
7
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper {
|
|
2
8
|
padding: 12px 16px 16px;
|
|
3
9
|
background-color: #ffffff;
|
|
4
10
|
border-radius: 0;
|
|
5
11
|
}
|
|
6
|
-
.ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
|
|
7
|
-
.ant-table-wrapper .ant-table.ant-table-
|
|
12
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
|
|
13
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle > .ant-table-title,
|
|
14
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small > .ant-table-title,
|
|
15
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small > .ant-table-title {
|
|
8
16
|
display: flex;
|
|
9
17
|
align-items: center;
|
|
10
18
|
justify-content: space-between;
|
|
@@ -12,51 +20,58 @@
|
|
|
12
20
|
padding: 0 0 12px;
|
|
13
21
|
border: none;
|
|
14
22
|
}
|
|
15
|
-
.ant-table-wrapper .ant-table
|
|
23
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table,
|
|
24
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table {
|
|
16
25
|
width: 100%;
|
|
17
26
|
overflow-x: hidden;
|
|
18
27
|
border-radius: 0;
|
|
19
28
|
}
|
|
20
|
-
.ant-table-wrapper .ant-table .ant-table-container
|
|
29
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container,
|
|
30
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container {
|
|
21
31
|
border-radius: 0;
|
|
22
32
|
}
|
|
23
|
-
.ant-table-wrapper .ant-table .ant-table-container table
|
|
33
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container table,
|
|
34
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container table {
|
|
24
35
|
border-radius: 0;
|
|
25
36
|
}
|
|
26
|
-
.ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child
|
|
37
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child,
|
|
38
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container table > thead > tr:first-child > *:first-child {
|
|
27
39
|
border-radius: 0;
|
|
28
40
|
}
|
|
29
|
-
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header
|
|
41
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header,
|
|
42
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
|
|
30
43
|
border-radius: 0;
|
|
31
44
|
}
|
|
32
|
-
.ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td
|
|
45
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td,
|
|
46
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-tbody > tr > td {
|
|
33
47
|
padding: 13.5px 16px;
|
|
34
48
|
line-height: 20px;
|
|
35
49
|
}
|
|
36
|
-
.ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th
|
|
50
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th,
|
|
51
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-thead > tr > th {
|
|
37
52
|
padding: 13.5px 16px;
|
|
38
53
|
line-height: 20px;
|
|
39
54
|
}
|
|
40
|
-
.ant-table-wrapper .ant-table-footer
|
|
55
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-footer,
|
|
56
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer {
|
|
41
57
|
padding: 0;
|
|
42
58
|
}
|
|
43
|
-
.ant-table-wrapper .ant-table-footer .ant-table-wrapper
|
|
59
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-footer .ant-table-wrapper,
|
|
60
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer .ant-table-wrapper {
|
|
44
61
|
padding: 0;
|
|
45
62
|
}
|
|
46
|
-
.ant-table-wrapper .ant-table-footer table
|
|
63
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-footer table,
|
|
64
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer table {
|
|
47
65
|
border: none;
|
|
48
66
|
}
|
|
49
|
-
.ant-table-wrapper .ant-table-footer .ant-table-body
|
|
67
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-footer .ant-table-body,
|
|
68
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer .ant-table-body {
|
|
50
69
|
overflow-x: hidden;
|
|
51
70
|
}
|
|
52
|
-
.ant-table-wrapper .ant-table-footer td
|
|
71
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-footer td,
|
|
72
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-footer td {
|
|
53
73
|
padding: 12px 8px;
|
|
54
74
|
}
|
|
55
|
-
[class$='-basic-table'],
|
|
56
|
-
[class$='-basic-table-form-container'] {
|
|
57
|
-
width: 100%;
|
|
58
|
-
height: 100%;
|
|
59
|
-
}
|
|
60
75
|
[class$='-basic-table-form-container'] {
|
|
61
76
|
padding: 16px;
|
|
62
77
|
}
|
|
@@ -474,8 +474,15 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
474
474
|
inset-inline-start: 13px;
|
|
475
475
|
margin: 6px 0;
|
|
476
476
|
}
|
|
477
|
-
|
|
478
|
-
|
|
477
|
+
[class$='-basic-table'],
|
|
478
|
+
[class$='-basic-table-form-container'] {
|
|
479
|
+
width: 100%;
|
|
480
|
+
height: 100%;
|
|
481
|
+
}
|
|
482
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
|
|
483
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table.ant-table-small .ant-table-title,
|
|
484
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title,
|
|
485
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table.ant-table-middle .ant-table-title {
|
|
479
486
|
display: flex;
|
|
480
487
|
align-items: center;
|
|
481
488
|
justify-content: space-between;
|
|
@@ -483,15 +490,18 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
483
490
|
padding: 0 0 10px;
|
|
484
491
|
border: none;
|
|
485
492
|
}
|
|
486
|
-
.ant-table-wrapper .ant-table
|
|
493
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table,
|
|
494
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table {
|
|
487
495
|
width: 100%;
|
|
488
496
|
overflow-x: hidden;
|
|
489
497
|
border-radius: 0;
|
|
490
498
|
}
|
|
491
|
-
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header
|
|
499
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header,
|
|
500
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header {
|
|
492
501
|
border-radius: 0;
|
|
493
502
|
}
|
|
494
|
-
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th
|
|
503
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th,
|
|
504
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th {
|
|
495
505
|
color: #182948;
|
|
496
506
|
font-weight: 700;
|
|
497
507
|
font-size: 14px;
|
|
@@ -500,18 +510,22 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
500
510
|
text-transform: none;
|
|
501
511
|
background: #f2f6f9;
|
|
502
512
|
}
|
|
503
|
-
.ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before
|
|
513
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before,
|
|
514
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table .ant-table-container .ant-table-header .ant-table-thead > tr > th::before {
|
|
504
515
|
display: none;
|
|
505
516
|
width: 0;
|
|
506
517
|
visibility: hidden;
|
|
507
518
|
}
|
|
508
|
-
.ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover
|
|
519
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover,
|
|
520
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover {
|
|
509
521
|
background: #f6f9fa;
|
|
510
522
|
}
|
|
511
|
-
.ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td
|
|
523
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td,
|
|
524
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row:hover > td {
|
|
512
525
|
background: #f6f9fa;
|
|
513
526
|
}
|
|
514
|
-
.ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td
|
|
527
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td,
|
|
528
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table-body .ant-table-tbody > tr.ant-table-row > td {
|
|
515
529
|
color: #182948;
|
|
516
530
|
font-weight: 400;
|
|
517
531
|
font-size: 14px;
|
|
@@ -520,35 +534,36 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
520
534
|
text-transform: none;
|
|
521
535
|
transition: unset;
|
|
522
536
|
}
|
|
523
|
-
.ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th
|
|
537
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th,
|
|
538
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-thead tr > th {
|
|
524
539
|
padding: 12px 16px;
|
|
525
540
|
line-height: 22px;
|
|
526
541
|
}
|
|
527
|
-
.ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td
|
|
542
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td,
|
|
543
|
+
[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 {
|
|
528
544
|
border-top: 1px solid;
|
|
529
545
|
border-top-color: transparent;
|
|
530
546
|
}
|
|
531
|
-
.ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell
|
|
547
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell,
|
|
548
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-middle .ant-table-container .ant-table-tbody tr > .ant-table-cell {
|
|
532
549
|
padding: 12px 16px;
|
|
533
550
|
line-height: 22px;
|
|
534
551
|
}
|
|
535
|
-
.ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th
|
|
552
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th,
|
|
553
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-thead tr > th {
|
|
536
554
|
padding: 10.5px 16px;
|
|
537
555
|
line-height: 18px;
|
|
538
556
|
}
|
|
539
|
-
.ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td
|
|
557
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr.ant-table-measure-row + tr > td,
|
|
558
|
+
[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 {
|
|
540
559
|
border-top: 1px solid;
|
|
541
560
|
border-top-color: transparent;
|
|
542
561
|
}
|
|
543
|
-
.ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell
|
|
562
|
+
[class$='-basic-table'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell,
|
|
563
|
+
[class$='-basic-table-form-container'] .ant-table-wrapper .ant-table.ant-table-small .ant-table-container .ant-table-tbody tr > .ant-table-cell {
|
|
544
564
|
padding: 10.5px 16px;
|
|
545
565
|
line-height: 18px;
|
|
546
566
|
}
|
|
547
|
-
[class$='-basic-table'],
|
|
548
|
-
[class$='-basic-table-form-container'] {
|
|
549
|
-
width: 100%;
|
|
550
|
-
height: 100%;
|
|
551
|
-
}
|
|
552
567
|
[class$='-basic-table-row__striped'] td {
|
|
553
568
|
background-color: #f6f9fa;
|
|
554
569
|
}
|