@aplus-frontend/ui 0.1.12 → 0.1.14
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-download/ap-download.vue.mjs +27 -27
- package/es/src/ap-download/hooks/useStyle.d.ts +1 -1
- package/es/src/ap-download/hooks/useStyle.mjs +13 -13
- package/es/src/editable-table/form-item.vue.mjs +10 -8
- package/es/src/editable-table/index.vue.mjs +89 -84
- package/es/src/theme/antd-global-overwrite/admin/form.css +5 -5
- package/es/src/theme/antd-global-overwrite/admin/index.css +128 -21
- package/es/src/theme/antd-global-overwrite/admin/pagination.css +16 -16
- package/es/src/theme/antd-global-overwrite/admin/table.css +107 -0
- package/es/src/theme/antd-global-overwrite/aplus/form.css +14 -14
- package/es/src/theme/antd-global-overwrite/aplus/index.css +174 -67
- package/es/src/theme/antd-global-overwrite/aplus/pagination.css +20 -20
- package/es/src/theme/antd-global-overwrite/aplus/table.css +140 -33
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-download/hooks/useStyle.d.ts +1 -1
- package/lib/src/ap-download/hooks/useStyle.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/theme/antd-global-overwrite/admin/form.css +5 -5
- package/lib/src/theme/antd-global-overwrite/admin/index.css +128 -21
- package/lib/src/theme/antd-global-overwrite/admin/pagination.css +16 -16
- package/lib/src/theme/antd-global-overwrite/admin/table.css +107 -0
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +14 -14
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +174 -67
- package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +20 -20
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +140 -33
- package/package.json +3 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as y, computed as s, unref as t, openBlock as w, createElementBlock as z, normalizeStyle as b, normalizeClass as n, createElementVNode as a, renderSlot as N, toDisplayString as O } from "vue";
|
|
2
2
|
import "../config-provider/index.mjs";
|
|
3
|
-
import { useOssInit as
|
|
3
|
+
import { useOssInit as S } from "./hooks/index.mjs";
|
|
4
4
|
import "./style/ap-download.css";
|
|
5
|
-
import { getFileInfo as
|
|
6
|
-
import { useStyle as
|
|
7
|
-
import { useLocale as
|
|
8
|
-
import { useGlobalConfig as
|
|
9
|
-
const
|
|
5
|
+
import { getFileInfo as h } from "./utils/getFileInfo.mjs";
|
|
6
|
+
import { useStyle as A } from "./hooks/useStyle.mjs";
|
|
7
|
+
import { useLocale as B } from "../config-provider/hooks/use-locale.mjs";
|
|
8
|
+
import { useGlobalConfig as F } from "../config-provider/hooks/use-global-config.mjs";
|
|
9
|
+
const k = { class: "icon" }, v = { class: "text" }, V = /* @__PURE__ */ y({
|
|
10
10
|
name: "ApDownload",
|
|
11
11
|
__name: "ap-download",
|
|
12
12
|
props: {
|
|
@@ -19,35 +19,35 @@ const A = { class: "icon" }, B = { class: "text" }, W = /* @__PURE__ */ g({
|
|
|
19
19
|
getOssAccess: {}
|
|
20
20
|
},
|
|
21
21
|
setup(l) {
|
|
22
|
-
const { lang: r } =
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
),
|
|
22
|
+
const { lang: r } = B(), c = s(() => r.value === "zh-cn" ? "zh_CN" : "en_US"), e = l, i = F("apUpload"), p = s(() => e.disabled), d = s(() => e.color), m = s(() => e.size), { wrapperStyle: f, getWrapperClass: u, getInnerWrapperClass: g } = A(
|
|
23
|
+
d,
|
|
24
|
+
m,
|
|
25
|
+
p
|
|
26
|
+
), _ = s(() => {
|
|
27
27
|
var o;
|
|
28
28
|
return e.getOssAccess || ((o = i.value) == null ? void 0 : o.getOssAccess);
|
|
29
|
-
}),
|
|
30
|
-
e.disabled || await (await
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
)).downloadFile(
|
|
29
|
+
}), C = async () => {
|
|
30
|
+
e.disabled || await (await S(
|
|
31
|
+
_.value,
|
|
32
|
+
t(c)
|
|
33
|
+
)).downloadFile(h(e.needName, e.fileName));
|
|
34
34
|
};
|
|
35
|
-
return (o,
|
|
36
|
-
style:
|
|
37
|
-
class: n(
|
|
38
|
-
onClick:
|
|
35
|
+
return (o, x) => (w(), z("span", {
|
|
36
|
+
style: b(t(f)),
|
|
37
|
+
class: n(t(u)),
|
|
38
|
+
onClick: C
|
|
39
39
|
}, [
|
|
40
|
-
|
|
41
|
-
class: n(
|
|
40
|
+
a("span", {
|
|
41
|
+
class: n(t(g))
|
|
42
42
|
}, [
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
a("span", k, [
|
|
44
|
+
N(o.$slots, "icon")
|
|
45
45
|
]),
|
|
46
|
-
|
|
46
|
+
a("span", v, O(o.text), 1)
|
|
47
47
|
], 2)
|
|
48
48
|
], 6));
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
export {
|
|
52
|
-
|
|
52
|
+
V as default
|
|
53
53
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
|
-
export declare function useStyle(color: string
|
|
2
|
+
export declare function useStyle(color: ComputedRef<string>, size: ComputedRef<string>, disabled: ComputedRef<boolean>): {
|
|
3
3
|
wrapperStyle: ComputedRef<Record<string, any>>;
|
|
4
4
|
getWrapperClass: ComputedRef<string[]>;
|
|
5
5
|
getInnerWrapperClass: ComputedRef<string[]>;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { getHexWithOpacity as
|
|
1
|
+
import { computed as a } from "vue";
|
|
2
|
+
import { getHexWithOpacity as m } from "../utils/getFileInfo.mjs";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as d } from "../../config-provider/hooks/use-namespace.mjs";
|
|
5
5
|
import { useGlobalConfig as c } from "../../config-provider/hooks/use-global-config.mjs";
|
|
6
|
-
function
|
|
7
|
-
const { b:
|
|
8
|
-
"--download-main-color":
|
|
9
|
-
"--download-main-color-opacity":
|
|
10
|
-
})),
|
|
11
|
-
const
|
|
12
|
-
return t && (i.value === "aplus" ?
|
|
6
|
+
function y(o, p, t) {
|
|
7
|
+
const { b: n, bm: e } = d("ap-download"), i = c("uiMode"), l = a(() => ({
|
|
8
|
+
"--download-main-color": o.value,
|
|
9
|
+
"--download-main-color-opacity": m(o.value, 0.6)
|
|
10
|
+
})), s = a(() => [n("wrapper"), e("wrapper", p.value)].filter(Boolean)), u = a(() => {
|
|
11
|
+
const r = [n("inner-wrapper"), e("inner-wrapper", p.value)];
|
|
12
|
+
return t.value && (i.value === "aplus" ? r.push(e("inner-wrapper", "disabled")) : r.push(e("inner-wrapper", "disabled-admin"))), r;
|
|
13
13
|
});
|
|
14
14
|
return {
|
|
15
|
-
wrapperStyle:
|
|
16
|
-
getWrapperClass:
|
|
17
|
-
getInnerWrapperClass:
|
|
15
|
+
wrapperStyle: l,
|
|
16
|
+
getWrapperClass: s,
|
|
17
|
+
getInnerWrapperClass: u
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
y as useStyle
|
|
22
22
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as V, ref as x, unref as t, useSlots as A, watch as O, openBlock as C, createBlock as K, mergeProps as w, withCtx as
|
|
1
|
+
import { defineComponent as V, ref as x, unref as t, useSlots as A, watch as O, openBlock as C, createBlock as K, mergeProps as w, withCtx as u, createVNode as q, createSlots as H, createElementBlock as I, Fragment as W, createElementVNode as b, normalizeClass as $, toDisplayString as G, createCommentVNode as M, renderList as U, renderSlot as J, normalizeProps as Q, guardReactiveProps as X } from "vue";
|
|
2
2
|
import { Table as Y } from "ant-design-vue";
|
|
3
3
|
import { ApForm as y } from "../ap-form/index.mjs";
|
|
4
|
-
import { isNumber as
|
|
4
|
+
import { isNumber as m, cloneDeep as f, omit as Z } from "lodash-unified";
|
|
5
5
|
import "../config-provider/index.mjs";
|
|
6
6
|
import { useInjectForm as ee } from "../ap-form/context.mjs";
|
|
7
7
|
import "./style/index.css";
|
|
@@ -120,6 +120,8 @@ const ge = /* @__PURE__ */ V({
|
|
|
120
120
|
O(() => F.value, (e) => {
|
|
121
121
|
var o;
|
|
122
122
|
r.value = e, (o = n.onChange) == null || o.call(n, e);
|
|
123
|
+
}, {
|
|
124
|
+
deep: !0
|
|
123
125
|
});
|
|
124
126
|
const {
|
|
125
127
|
b: E,
|
|
@@ -139,15 +141,15 @@ const ge = /* @__PURE__ */ V({
|
|
|
139
141
|
}
|
|
140
142
|
function S(e, o = "suffix") {
|
|
141
143
|
var g;
|
|
142
|
-
const a = ((g = t(r)) == null ? void 0 : g.length) || 0, s =
|
|
144
|
+
const a = ((g = t(r)) == null ? void 0 : g.length) || 0, s = m(e) ? e : e.length;
|
|
143
145
|
if (c(n.maxLength) && a + s > n.maxLength)
|
|
144
146
|
return;
|
|
145
|
-
const d = [...t(r) || []], h =
|
|
147
|
+
const d = [...t(r) || []], h = m(e) ? new Array(e).fill({}) : f(e);
|
|
146
148
|
o === "suffix" ? d.push(...h) : d.unshift(...h), l == null || l.setFieldValue(n.name, d);
|
|
147
149
|
}
|
|
148
150
|
function _(e) {
|
|
149
151
|
let o = f(t(r) || []);
|
|
150
|
-
const a =
|
|
152
|
+
const a = m(e) ? [e] : e;
|
|
151
153
|
o = o.filter((s, d) => !a.includes(d)), l == null || l.setFieldValue(n.name, o);
|
|
152
154
|
}
|
|
153
155
|
function T() {
|
|
@@ -181,14 +183,14 @@ const ge = /* @__PURE__ */ V({
|
|
|
181
183
|
name: e.name,
|
|
182
184
|
label: e.label
|
|
183
185
|
}), {
|
|
184
|
-
default:
|
|
186
|
+
default: u(() => [q(t(Y), w(t(Z)(n, ["name", "maxLength", "onChange"]), {
|
|
185
187
|
class: t(E)(),
|
|
186
188
|
columns: t(N),
|
|
187
189
|
"data-source": r.value,
|
|
188
190
|
ref_key: "tableRef",
|
|
189
191
|
ref: i
|
|
190
192
|
}), H({
|
|
191
|
-
headerCell:
|
|
193
|
+
headerCell: u(({
|
|
192
194
|
column: a
|
|
193
195
|
}) => [t(ae)(a) ? (C(), I(W, {
|
|
194
196
|
key: 0
|
|
@@ -198,7 +200,7 @@ const ge = /* @__PURE__ */ V({
|
|
|
198
200
|
_: 2
|
|
199
201
|
}, [U(v, (a, s) => ({
|
|
200
202
|
name: s,
|
|
201
|
-
fn:
|
|
203
|
+
fn: u((d) => [J(e.$slots, s, Q(X(d || {})))])
|
|
202
204
|
}))]), 1040, ["class", "columns", "data-source"])]),
|
|
203
205
|
_: 3
|
|
204
206
|
}, 16, ["name", "label"]));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Table as
|
|
1
|
+
import { defineComponent as M, useSlots as U, ref as y, watch as W, unref as l, openBlock as w, createBlock as $, withCtx as c, createVNode as v, mergeProps as G, createSlots as J, createElementBlock as Q, Fragment as X, createElementVNode as b, normalizeClass as Y, toDisplayString as Z, createCommentVNode as ee, renderList as te, renderSlot as ae, normalizeProps as ne, guardReactiveProps as oe } from "vue";
|
|
2
|
+
import { Table as le } from "ant-design-vue";
|
|
3
3
|
import { ApForm as f } from "../ap-form/index.mjs";
|
|
4
|
-
import { isNumber as p, cloneDeep as h, omit as
|
|
4
|
+
import { isArray as R, isNumber as p, cloneDeep as h, omit as re } from "lodash-unified";
|
|
5
5
|
import "../config-provider/index.mjs";
|
|
6
6
|
import "../hooks/index.mjs";
|
|
7
7
|
import { isDef as x } from "../utils/index.mjs";
|
|
8
|
-
import { scrollToRowIndex as
|
|
9
|
-
import
|
|
8
|
+
import { scrollToRowIndex as se, getColumnIsRequired as ue } from "./utils.mjs";
|
|
9
|
+
import de from "./hooks/use-get-columns.mjs";
|
|
10
10
|
import "./style/index.css";
|
|
11
|
-
import { useNamespace as
|
|
12
|
-
import { useControllableValue as
|
|
13
|
-
const
|
|
11
|
+
import { useNamespace as ie } from "../config-provider/hooks/use-namespace.mjs";
|
|
12
|
+
import { useControllableValue as me } from "../hooks/useControllableValue.mjs";
|
|
13
|
+
const Be = /* @__PURE__ */ M({
|
|
14
14
|
name: "EditableTable",
|
|
15
15
|
__name: "index",
|
|
16
16
|
props: {
|
|
@@ -109,116 +109,121 @@ const be = /* @__PURE__ */ q({
|
|
|
109
109
|
onFieldChange: {}
|
|
110
110
|
},
|
|
111
111
|
emits: ["update:value"],
|
|
112
|
-
setup(
|
|
113
|
-
expose:
|
|
114
|
-
emit:
|
|
112
|
+
setup(B, {
|
|
113
|
+
expose: F,
|
|
114
|
+
emit: D
|
|
115
115
|
}) {
|
|
116
|
-
const
|
|
117
|
-
b:
|
|
118
|
-
em:
|
|
119
|
-
} =
|
|
116
|
+
const o = B, {
|
|
117
|
+
b: _,
|
|
118
|
+
em: N
|
|
119
|
+
} = ie("editable-table"), k = U(), E = D, g = y(), {
|
|
120
120
|
value: s,
|
|
121
121
|
updateValue: L
|
|
122
|
-
} =
|
|
123
|
-
|
|
124
|
-
var
|
|
125
|
-
L(e), (
|
|
122
|
+
} = me(o, E), u = y(), S = f.useWatch(o.name, u);
|
|
123
|
+
W(() => S.value, (e) => {
|
|
124
|
+
var n;
|
|
125
|
+
L(e), (n = o.onChange) == null || n.call(o, e);
|
|
126
|
+
}, {
|
|
127
|
+
deep: !0
|
|
126
128
|
});
|
|
127
|
-
const
|
|
128
|
-
function
|
|
129
|
+
const V = de(o);
|
|
130
|
+
function A() {
|
|
129
131
|
var e;
|
|
130
132
|
(e = u.value) == null || e.resetFields();
|
|
131
133
|
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
function T(e) {
|
|
135
|
+
return e ? (R(e) ? e : [e]).map((t) => R(t) ? [o.name, ...t] : [o.name, t]) : void 0;
|
|
136
|
+
}
|
|
137
|
+
async function z(e, n) {
|
|
138
|
+
var a;
|
|
139
|
+
const t = await ((a = u.value) == null ? void 0 : a.validateFields(T(e), n));
|
|
140
|
+
return t == null ? void 0 : t[o.name];
|
|
136
141
|
}
|
|
137
|
-
function
|
|
142
|
+
function I(e, n) {
|
|
138
143
|
var r, d, i;
|
|
139
|
-
const
|
|
140
|
-
if (x(
|
|
144
|
+
const t = ((r = l(s)) == null ? void 0 : r.length) || 0;
|
|
145
|
+
if (x(o.maxLength) && t >= o.maxLength)
|
|
141
146
|
return;
|
|
142
|
-
const
|
|
143
|
-
x(
|
|
147
|
+
const a = [...l(s) || []];
|
|
148
|
+
x(n) ? a.splice(n, 0, {
|
|
144
149
|
...e || {}
|
|
145
|
-
}) :
|
|
150
|
+
}) : a.push({
|
|
146
151
|
...e || {}
|
|
147
|
-
}), (i = (d = u.value) == null ? void 0 : d.setFieldValue) == null || i.call(d,
|
|
152
|
+
}), (i = (d = u.value) == null ? void 0 : d.setFieldValue) == null || i.call(d, o.name, a);
|
|
148
153
|
}
|
|
149
|
-
function
|
|
154
|
+
function P(e, n = "suffix") {
|
|
150
155
|
var i, m, C;
|
|
151
|
-
const
|
|
152
|
-
if (x(
|
|
156
|
+
const t = ((i = l(s)) == null ? void 0 : i.length) || 0, a = p(e) ? e : e.length;
|
|
157
|
+
if (x(o.maxLength) && t + a > o.maxLength)
|
|
153
158
|
return;
|
|
154
|
-
const r = [...
|
|
155
|
-
|
|
159
|
+
const r = [...l(s) || []], d = p(e) ? new Array(e).fill({}) : h(e);
|
|
160
|
+
n === "suffix" ? r.push(...d) : r.unshift(...d), (C = (m = u.value) == null ? void 0 : m.setFieldValue) == null || C.call(m, o.name, r);
|
|
156
161
|
}
|
|
157
|
-
function
|
|
158
|
-
var
|
|
159
|
-
let
|
|
160
|
-
const
|
|
161
|
-
|
|
162
|
+
function j(e) {
|
|
163
|
+
var a, r;
|
|
164
|
+
let n = h(l(s) || []);
|
|
165
|
+
const t = p(e) ? [e] : e;
|
|
166
|
+
n = n.filter((d, i) => !t.includes(i)), (r = (a = u.value) == null ? void 0 : a.setFieldValue) == null || r.call(a, o.name, n);
|
|
162
167
|
}
|
|
163
|
-
function
|
|
164
|
-
return
|
|
168
|
+
function O() {
|
|
169
|
+
return l(s);
|
|
165
170
|
}
|
|
166
|
-
function
|
|
167
|
-
var
|
|
168
|
-
return (
|
|
171
|
+
function K(e) {
|
|
172
|
+
var n;
|
|
173
|
+
return (n = l(s)) == null ? void 0 : n[e];
|
|
169
174
|
}
|
|
170
|
-
function
|
|
171
|
-
var
|
|
172
|
-
const
|
|
173
|
-
|
|
174
|
-
...
|
|
175
|
-
...
|
|
176
|
-
}, (r = (
|
|
175
|
+
function q(e, n) {
|
|
176
|
+
var a, r;
|
|
177
|
+
const t = h(l(s));
|
|
178
|
+
t[e] && (t[e] = {
|
|
179
|
+
...t[e],
|
|
180
|
+
...n
|
|
181
|
+
}, (r = (a = u.value) == null ? void 0 : a.setFieldValue) == null || r.call(a, o.name, [...t]));
|
|
177
182
|
}
|
|
178
|
-
function
|
|
179
|
-
var
|
|
180
|
-
const
|
|
181
|
-
|
|
183
|
+
function H(e, n) {
|
|
184
|
+
var a;
|
|
185
|
+
const t = e === "end" ? s.value.length - 1 : e;
|
|
186
|
+
se(t, (a = g.value) == null ? void 0 : a.$el, n);
|
|
182
187
|
}
|
|
183
|
-
return
|
|
184
|
-
resetFields:
|
|
185
|
-
validateFields:
|
|
186
|
-
add:
|
|
187
|
-
remove:
|
|
188
|
-
getRowData:
|
|
189
|
-
getRowsData:
|
|
190
|
-
setRowData:
|
|
191
|
-
addMultiple:
|
|
192
|
-
scrollTo:
|
|
193
|
-
}), (e,
|
|
188
|
+
return F({
|
|
189
|
+
resetFields: A,
|
|
190
|
+
validateFields: z,
|
|
191
|
+
add: I,
|
|
192
|
+
remove: j,
|
|
193
|
+
getRowData: K,
|
|
194
|
+
getRowsData: O,
|
|
195
|
+
setRowData: q,
|
|
196
|
+
addMultiple: P,
|
|
197
|
+
scrollTo: H
|
|
198
|
+
}), (e, n) => (w(), $(l(f), {
|
|
194
199
|
"initial-values": {
|
|
195
|
-
[
|
|
200
|
+
[o.name]: l(s)
|
|
196
201
|
},
|
|
197
202
|
ref_key: "formRef",
|
|
198
203
|
ref: u
|
|
199
204
|
}, {
|
|
200
|
-
default: c(() => [v(
|
|
205
|
+
default: c(() => [v(l(f).FormItem, {
|
|
201
206
|
name: e.name,
|
|
202
207
|
"no-style": ""
|
|
203
208
|
}, {
|
|
204
|
-
default: c(() => [v(
|
|
205
|
-
class:
|
|
206
|
-
columns:
|
|
207
|
-
"data-source":
|
|
209
|
+
default: c(() => [v(l(le), G(l(re)(o, ["name", "value", "onUpdate:value", "maxLength", "onChange"]), {
|
|
210
|
+
class: l(_)(),
|
|
211
|
+
columns: l(V),
|
|
212
|
+
"data-source": l(s),
|
|
208
213
|
ref_key: "tableRef",
|
|
209
214
|
ref: g
|
|
210
|
-
}),
|
|
215
|
+
}), J({
|
|
211
216
|
headerCell: c(({
|
|
212
|
-
column:
|
|
213
|
-
}) => [
|
|
217
|
+
column: t
|
|
218
|
+
}) => [l(ue)(t) ? (w(), Q(X, {
|
|
214
219
|
key: 0
|
|
215
220
|
}, [b("span", {
|
|
216
|
-
class:
|
|
217
|
-
}, "*", 2), b("span", null,
|
|
221
|
+
class: Y(l(N)("header-cell", "required"))
|
|
222
|
+
}, "*", 2), b("span", null, Z(t.title), 1)], 64)) : ee("", !0)]),
|
|
218
223
|
_: 2
|
|
219
|
-
}, [
|
|
220
|
-
name:
|
|
221
|
-
fn: c((r) => [
|
|
224
|
+
}, [te(k, (t, a) => ({
|
|
225
|
+
name: a,
|
|
226
|
+
fn: c((r) => [ae(e.$slots, a, ne(oe(r || {})))])
|
|
222
227
|
}))]), 1040, ["class", "columns", "data-source"])]),
|
|
223
228
|
_: 3
|
|
224
229
|
}, 8, ["name"])]),
|
|
@@ -227,5 +232,5 @@ const be = /* @__PURE__ */ q({
|
|
|
227
232
|
}
|
|
228
233
|
});
|
|
229
234
|
export {
|
|
230
|
-
|
|
235
|
+
Be as default
|
|
231
236
|
};
|
|
@@ -44,22 +44,22 @@
|
|
|
44
44
|
input.ant-input[disabled] {
|
|
45
45
|
color: #666666;
|
|
46
46
|
}
|
|
47
|
-
div[class
|
|
47
|
+
div[class*='-basic-table-form-container'] form[class$='-basic-form--compact'] {
|
|
48
48
|
padding: 16px;
|
|
49
49
|
}
|
|
50
|
-
div[class
|
|
50
|
+
div[class*='-basic-table-form-container'] form[class$='-basic-form--compact'] div.ant-col[tableaction] .ant-form-item-control-input-content {
|
|
51
51
|
display: flex;
|
|
52
52
|
align-items: center;
|
|
53
53
|
justify-content: flex-end;
|
|
54
54
|
}
|
|
55
|
-
div[class
|
|
55
|
+
div[class*='-basic-table-form-container'] form[class$='-basic-form--compact'] div.ant-col[tableaction] .ant-form-item-control-input-content button.ant-btn-primary {
|
|
56
56
|
order: 1;
|
|
57
57
|
}
|
|
58
|
-
div[class
|
|
58
|
+
div[class*='-basic-table-form-container'] form[class$='-basic-form--compact'] div.ant-col[tableaction] .ant-form-item-control-input-content button.ant-btn-default {
|
|
59
59
|
order: 2;
|
|
60
60
|
margin-right: 0;
|
|
61
61
|
}
|
|
62
|
-
div[class
|
|
62
|
+
div[class*='-basic-table-form-container'] form[class$='-basic-form--compact'] div.ant-col[tableaction] .ant-form-item-control-input-content button.ant-btn-link {
|
|
63
63
|
order: 3;
|
|
64
64
|
margin-left: 0.5rem;
|
|
65
65
|
}
|