@aplus-frontend/ui 0.1.14 → 0.1.15
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/business/ap-input-radio/ApInputRadio.vue2.mjs +31 -28
- package/es/src/business/ap-input-radio/interface.d.ts +1 -1
- package/es/src/business/ap-label/style.css +3 -0
- package/es/src/business/ap-status/ApStatusGroup.vue2.mjs +12 -14
- package/es/src/business/index.d.ts +0 -2
- package/es/src/editable-table/index.vue.d.ts +1 -0
- package/es/src/editable-table/index.vue.mjs +97 -87
- package/es/src/editable-table/interface.d.ts +6 -1
- package/es/src/hooks/useControllableValue.mjs +3 -0
- package/es/src/theme/antd-global-overwrite/admin/form.css +0 -7
- package/es/src/theme/antd-global-overwrite/admin/index.css +0 -7
- package/es/src/theme/antd-global-overwrite/aplus/form.css +0 -7
- package/es/src/theme/antd-global-overwrite/aplus/index.css +0 -7
- package/es/src/theme/ap-label/ap-label.css +3 -0
- package/es/src/utils/ap-trans-data/index.d.ts +12 -0
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-input-radio/interface.d.ts +1 -1
- package/lib/src/business/ap-label/style.css +3 -0
- package/lib/src/business/ap-status/ApStatusGroup.vue2.js +1 -1
- package/lib/src/business/index.d.ts +0 -2
- package/lib/src/editable-table/index.vue.d.ts +1 -0
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/theme/antd-global-overwrite/admin/form.css +0 -7
- package/lib/src/theme/antd-global-overwrite/admin/index.css +0 -7
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +0 -7
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +0 -7
- package/lib/src/theme/ap-label/ap-label.css +3 -0
- package/lib/src/utils/ap-trans-data/index.d.ts +12 -0
- package/package.json +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as f, openBlock as g, createElementBlock as C, normalizeClass as h, unref as t, createVNode as u, mergeProps as B } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import { Form as
|
|
4
|
-
import { omit as
|
|
3
|
+
import { Form as I, InputNumber as b, RadioGroup as _ } from "ant-design-vue";
|
|
4
|
+
import { omit as x } from "lodash-unified";
|
|
5
5
|
import "./style.css";
|
|
6
|
-
import { useNamespace as
|
|
7
|
-
const
|
|
6
|
+
import { useNamespace as y } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
const G = /* @__PURE__ */ f({
|
|
8
8
|
name: "ApInputRadio",
|
|
9
9
|
__name: "ApInputRadio",
|
|
10
10
|
props: {
|
|
@@ -29,31 +29,34 @@ const A = /* @__PURE__ */ d({
|
|
|
29
29
|
options: {}
|
|
30
30
|
},
|
|
31
31
|
emits: ["update:value"],
|
|
32
|
-
setup(
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
},
|
|
36
|
-
n({ inputval:
|
|
37
|
-
},
|
|
38
|
-
n({ radioVal:
|
|
32
|
+
setup(p, { emit: l }) {
|
|
33
|
+
const s = I.useInjectFormItemContext(), e = p, { b: i, e: m } = y("ap-input-radio"), c = l, n = (o) => {
|
|
34
|
+
c("update:value", { ...e.value, ...o }), s.onFieldChange();
|
|
35
|
+
}, d = (o) => {
|
|
36
|
+
n({ inputval: o });
|
|
37
|
+
}, v = (o) => {
|
|
38
|
+
n({ radioVal: o.target.value });
|
|
39
|
+
};
|
|
40
|
+
return (o, F) => {
|
|
41
|
+
var a, r;
|
|
42
|
+
return g(), C("div", {
|
|
43
|
+
class: h([t(i)()])
|
|
44
|
+
}, [
|
|
45
|
+
u(t(b), B({
|
|
46
|
+
class: t(m)("input-number")
|
|
47
|
+
}, t(x)(e, ["value", "options"]), {
|
|
48
|
+
value: e.value ? (a = e.value) == null ? void 0 : a.inputval : "",
|
|
49
|
+
onChange: d
|
|
50
|
+
}), null, 16, ["class", "value"]),
|
|
51
|
+
u(t(_), {
|
|
52
|
+
value: e.value ? (r = e.value) == null ? void 0 : r.radioVal : "",
|
|
53
|
+
options: e.options,
|
|
54
|
+
onChange: v
|
|
55
|
+
}, null, 8, ["value", "options"])
|
|
56
|
+
], 2);
|
|
39
57
|
};
|
|
40
|
-
return (e, x) => (f(), v("div", {
|
|
41
|
-
class: g([t(l)()])
|
|
42
|
-
}, [
|
|
43
|
-
a(t(B), C({
|
|
44
|
-
class: t(s)("input-number")
|
|
45
|
-
}, t(b)(o, ["value", "options"]), {
|
|
46
|
-
value: o.value.inputval,
|
|
47
|
-
onChange: m
|
|
48
|
-
}), null, 16, ["class", "value"]),
|
|
49
|
-
a(t(I), {
|
|
50
|
-
value: o.value.radioVal,
|
|
51
|
-
options: o.options,
|
|
52
|
-
onChange: c
|
|
53
|
-
}, null, 8, ["value", "options"])
|
|
54
|
-
], 2));
|
|
55
58
|
}
|
|
56
59
|
});
|
|
57
60
|
export {
|
|
58
|
-
|
|
61
|
+
G as default
|
|
59
62
|
};
|
|
@@ -2,7 +2,7 @@ import { InputNumberProps } from 'ant-design-vue/es/input-number';
|
|
|
2
2
|
type ApInputProps = Pick<InputNumberProps, 'disabled' | 'stringMode' | 'precision' | 'max' | 'min' | 'step' | 'bordered' | 'autofocus' | 'decimalSeparator' | 'controls' | 'formatter' | 'onInput' | 'onChange' | 'onPressEnter' | 'onStep' | 'onBlur' | 'onFocus'>;
|
|
3
3
|
type ApInputValyeName = 'inputval' | 'radioVal';
|
|
4
4
|
export type ApInputValType = {
|
|
5
|
-
value
|
|
5
|
+
value?: Record<ApInputValyeName, string | number>;
|
|
6
6
|
};
|
|
7
7
|
export type ApInputRadioOptions = Array<{
|
|
8
8
|
value: string | number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as p, computed as
|
|
1
|
+
import { defineComponent as p, computed as c, openBlock as r, createElementBlock as o, normalizeClass as d, unref as m, normalizeStyle as a, Fragment as i, renderList as f, createBlock as y, createCommentVNode as _ } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import "./ApStatus.vue.mjs";
|
|
4
|
-
import { useNamespace as
|
|
5
|
-
import
|
|
4
|
+
import { useNamespace as g } from "../../config-provider/hooks/use-namespace.mjs";
|
|
5
|
+
import k from "./ApStatus.vue2.mjs";
|
|
6
6
|
const w = /* @__PURE__ */ p({
|
|
7
7
|
name: "ApStatusGroup",
|
|
8
8
|
__name: "ApStatusGroup",
|
|
@@ -14,25 +14,23 @@ const w = /* @__PURE__ */ p({
|
|
|
14
14
|
show: { type: Boolean, default: !0 }
|
|
15
15
|
},
|
|
16
16
|
setup(s) {
|
|
17
|
-
const t = s,
|
|
18
|
-
"padding-left": t.padding + "px",
|
|
19
|
-
"padding-right": t.padding + "px",
|
|
17
|
+
const t = s, u = c(() => ({
|
|
20
18
|
...t.style
|
|
21
|
-
})), { b:
|
|
22
|
-
return (
|
|
19
|
+
})), { b: l } = g("ap-status-group");
|
|
20
|
+
return (n, S) => t.statusList ? (r(), o("div", {
|
|
23
21
|
key: 0,
|
|
24
|
-
class:
|
|
25
|
-
style:
|
|
22
|
+
class: d([m(l)()]),
|
|
23
|
+
style: a(u.value)
|
|
26
24
|
}, [
|
|
27
|
-
(
|
|
25
|
+
(r(!0), o(i, null, f(t.statusList, (e) => (r(), y(k, {
|
|
28
26
|
key: e.value,
|
|
29
|
-
show: e.value ===
|
|
27
|
+
show: e.value === n.currentValue,
|
|
30
28
|
color: e.color,
|
|
31
29
|
text: e.text,
|
|
32
30
|
padding: t.padding,
|
|
33
|
-
style:
|
|
31
|
+
style: a(t.style)
|
|
34
32
|
}, null, 8, ["show", "color", "text", "padding", "style"]))), 128))
|
|
35
|
-
], 6)) :
|
|
33
|
+
], 6)) : _("", !0);
|
|
36
34
|
}
|
|
37
35
|
});
|
|
38
36
|
export {
|
|
@@ -1095,7 +1095,6 @@ export declare const ApInputRadio: DefineComponent<{
|
|
|
1095
1095
|
};
|
|
1096
1096
|
value: {
|
|
1097
1097
|
type: PropType<Record<"inputval" | "radioVal", string | number>>;
|
|
1098
|
-
required: true;
|
|
1099
1098
|
};
|
|
1100
1099
|
options: {
|
|
1101
1100
|
type: PropType<ApInputRadioOptions>;
|
|
@@ -1166,7 +1165,6 @@ export declare const ApInputRadio: DefineComponent<{
|
|
|
1166
1165
|
};
|
|
1167
1166
|
value: {
|
|
1168
1167
|
type: PropType<Record<"inputval" | "radioVal", string | number>>;
|
|
1169
|
-
required: true;
|
|
1170
1168
|
};
|
|
1171
1169
|
options: {
|
|
1172
1170
|
type: PropType<ApInputRadioOptions>;
|
|
@@ -19,6 +19,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
19
19
|
setRowData: (index: number, payload: any) => void;
|
|
20
20
|
addMultiple: (list: number | Partial<RecordType>[], insetIn?: "prefix" | "suffix") => void;
|
|
21
21
|
scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
|
|
22
|
+
clear: () => void;
|
|
22
23
|
}>): void;
|
|
23
24
|
attrs: any;
|
|
24
25
|
slots: ReturnType<() => Readonly<{
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Table as
|
|
3
|
-
import { ApForm as
|
|
4
|
-
import { isArray as
|
|
1
|
+
import { defineComponent as W, useSlots as $, ref as v, watch as w, unref as l, openBlock as R, createBlock as G, withCtx as c, createVNode as b, mergeProps as J, createSlots as Q, createElementBlock as X, Fragment as Y, createElementVNode as F, normalizeClass as Z, toDisplayString as ee, createCommentVNode as te, renderList as ae, renderSlot as ne, normalizeProps as oe, guardReactiveProps as le } from "vue";
|
|
2
|
+
import { Table as re } from "ant-design-vue";
|
|
3
|
+
import { ApForm as p } from "../ap-form/index.mjs";
|
|
4
|
+
import { isEqual as se, isArray as B, isNumber as h, cloneDeep as x, omit as ue } from "lodash-unified";
|
|
5
5
|
import "../config-provider/index.mjs";
|
|
6
6
|
import "../hooks/index.mjs";
|
|
7
|
-
import { isDef as
|
|
8
|
-
import { scrollToRowIndex as
|
|
9
|
-
import
|
|
7
|
+
import { isDef as g } from "../utils/index.mjs";
|
|
8
|
+
import { scrollToRowIndex as de, getColumnIsRequired as ie } from "./utils.mjs";
|
|
9
|
+
import me 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 ce } from "../config-provider/hooks/use-namespace.mjs";
|
|
12
|
+
import { useControllableValue as fe } from "../hooks/useControllableValue.mjs";
|
|
13
|
+
const Ee = /* @__PURE__ */ W({
|
|
14
14
|
name: "EditableTable",
|
|
15
15
|
__name: "index",
|
|
16
16
|
props: {
|
|
@@ -109,121 +109,131 @@ const Be = /* @__PURE__ */ M({
|
|
|
109
109
|
onFieldChange: {}
|
|
110
110
|
},
|
|
111
111
|
emits: ["update:value"],
|
|
112
|
-
setup(
|
|
113
|
-
expose:
|
|
114
|
-
emit:
|
|
112
|
+
setup(E, {
|
|
113
|
+
expose: N,
|
|
114
|
+
emit: V
|
|
115
115
|
}) {
|
|
116
|
-
const o =
|
|
117
|
-
b:
|
|
118
|
-
em:
|
|
119
|
-
} =
|
|
116
|
+
const o = E, {
|
|
117
|
+
b: k,
|
|
118
|
+
em: D
|
|
119
|
+
} = ce("editable-table"), L = $(), _ = V, C = v(), {
|
|
120
120
|
value: s,
|
|
121
|
-
updateValue:
|
|
122
|
-
} =
|
|
123
|
-
|
|
124
|
-
var
|
|
125
|
-
|
|
121
|
+
updateValue: S
|
|
122
|
+
} = fe(o, _), u = v(), f = p.useWatch(o.name, u);
|
|
123
|
+
w(() => f.value, (e) => {
|
|
124
|
+
var t;
|
|
125
|
+
S(e), (t = o.onChange) == null || t.call(o, e);
|
|
126
|
+
}, {
|
|
127
|
+
deep: !0
|
|
128
|
+
}), w(s, (e) => {
|
|
129
|
+
var t;
|
|
130
|
+
e !== l(f) && (se(e, l(f)) || (t = u.value) == null || t.setFieldValue(o.name, e));
|
|
126
131
|
}, {
|
|
127
132
|
deep: !0
|
|
128
133
|
});
|
|
129
|
-
const
|
|
130
|
-
function
|
|
134
|
+
const A = me(o);
|
|
135
|
+
function T() {
|
|
131
136
|
var e;
|
|
132
137
|
(e = u.value) == null || e.resetFields();
|
|
133
138
|
}
|
|
134
|
-
function
|
|
135
|
-
return e ? (
|
|
139
|
+
function z(e) {
|
|
140
|
+
return e ? (B(e) ? e : [e]).map((a) => B(a) ? [o.name, ...a] : [o.name, a]) : void 0;
|
|
136
141
|
}
|
|
137
|
-
async function
|
|
138
|
-
var
|
|
139
|
-
const
|
|
140
|
-
return
|
|
142
|
+
async function I(e, t) {
|
|
143
|
+
var n;
|
|
144
|
+
const a = await ((n = u.value) == null ? void 0 : n.validateFields(z(e), t));
|
|
145
|
+
return a == null ? void 0 : a[o.name];
|
|
141
146
|
}
|
|
142
|
-
function
|
|
147
|
+
function P(e, t) {
|
|
143
148
|
var r, d, i;
|
|
144
|
-
const
|
|
145
|
-
if (
|
|
149
|
+
const a = ((r = l(s)) == null ? void 0 : r.length) || 0;
|
|
150
|
+
if (g(o.maxLength) && a >= o.maxLength)
|
|
146
151
|
return;
|
|
147
|
-
const
|
|
148
|
-
|
|
152
|
+
const n = [...l(s) || []];
|
|
153
|
+
g(t) ? n.splice(t, 0, {
|
|
149
154
|
...e || {}
|
|
150
|
-
}) :
|
|
155
|
+
}) : n.push({
|
|
151
156
|
...e || {}
|
|
152
|
-
}), (i = (d = u.value) == null ? void 0 : d.setFieldValue) == null || i.call(d, o.name,
|
|
157
|
+
}), (i = (d = u.value) == null ? void 0 : d.setFieldValue) == null || i.call(d, o.name, n);
|
|
153
158
|
}
|
|
154
|
-
function
|
|
155
|
-
var i, m,
|
|
156
|
-
const
|
|
157
|
-
if (
|
|
159
|
+
function j(e, t = "suffix") {
|
|
160
|
+
var i, m, y;
|
|
161
|
+
const a = ((i = l(s)) == null ? void 0 : i.length) || 0, n = h(e) ? e : e.length;
|
|
162
|
+
if (g(o.maxLength) && a + n > o.maxLength)
|
|
158
163
|
return;
|
|
159
|
-
const r = [...l(s) || []], d =
|
|
160
|
-
|
|
164
|
+
const r = [...l(s) || []], d = h(e) ? new Array(e).fill({}) : x(e);
|
|
165
|
+
t === "suffix" ? r.push(...d) : r.unshift(...d), (y = (m = u.value) == null ? void 0 : m.setFieldValue) == null || y.call(m, o.name, r);
|
|
161
166
|
}
|
|
162
|
-
function
|
|
163
|
-
var
|
|
164
|
-
let
|
|
165
|
-
const
|
|
166
|
-
|
|
167
|
+
function O(e) {
|
|
168
|
+
var n, r;
|
|
169
|
+
let t = x(l(s) || []);
|
|
170
|
+
const a = h(e) ? [e] : e;
|
|
171
|
+
t = t.filter((d, i) => !a.includes(i)), (r = (n = u.value) == null ? void 0 : n.setFieldValue) == null || r.call(n, o.name, t);
|
|
167
172
|
}
|
|
168
|
-
function
|
|
173
|
+
function q() {
|
|
169
174
|
return l(s);
|
|
170
175
|
}
|
|
171
176
|
function K(e) {
|
|
172
|
-
var
|
|
173
|
-
return (
|
|
177
|
+
var t;
|
|
178
|
+
return (t = l(s)) == null ? void 0 : t[e];
|
|
179
|
+
}
|
|
180
|
+
function H(e, t) {
|
|
181
|
+
var n, r;
|
|
182
|
+
const a = x(l(s));
|
|
183
|
+
a[e] && (a[e] = {
|
|
184
|
+
...a[e],
|
|
185
|
+
...t
|
|
186
|
+
}, (r = (n = u.value) == null ? void 0 : n.setFieldValue) == null || r.call(n, o.name, [...a]));
|
|
174
187
|
}
|
|
175
|
-
function
|
|
176
|
-
var
|
|
177
|
-
const
|
|
178
|
-
|
|
179
|
-
...t[e],
|
|
180
|
-
...n
|
|
181
|
-
}, (r = (a = u.value) == null ? void 0 : a.setFieldValue) == null || r.call(a, o.name, [...t]));
|
|
188
|
+
function M(e, t) {
|
|
189
|
+
var n;
|
|
190
|
+
const a = e === "end" ? s.value.length - 1 : e;
|
|
191
|
+
de(a, (n = C.value) == null ? void 0 : n.$el, t);
|
|
182
192
|
}
|
|
183
|
-
function
|
|
184
|
-
var
|
|
185
|
-
|
|
186
|
-
se(t, (a = g.value) == null ? void 0 : a.$el, n);
|
|
193
|
+
function U() {
|
|
194
|
+
var e, t;
|
|
195
|
+
(t = (e = u.value) == null ? void 0 : e.setFieldValue) == null || t.call(e, o.name, []);
|
|
187
196
|
}
|
|
188
|
-
return
|
|
189
|
-
resetFields:
|
|
190
|
-
validateFields:
|
|
191
|
-
add:
|
|
192
|
-
remove:
|
|
197
|
+
return N({
|
|
198
|
+
resetFields: T,
|
|
199
|
+
validateFields: I,
|
|
200
|
+
add: P,
|
|
201
|
+
remove: O,
|
|
193
202
|
getRowData: K,
|
|
194
|
-
getRowsData:
|
|
195
|
-
setRowData:
|
|
196
|
-
addMultiple:
|
|
197
|
-
scrollTo:
|
|
198
|
-
|
|
203
|
+
getRowsData: q,
|
|
204
|
+
setRowData: H,
|
|
205
|
+
addMultiple: j,
|
|
206
|
+
scrollTo: M,
|
|
207
|
+
clear: U
|
|
208
|
+
}), (e, t) => (R(), G(l(p), {
|
|
199
209
|
"initial-values": {
|
|
200
210
|
[o.name]: l(s)
|
|
201
211
|
},
|
|
202
212
|
ref_key: "formRef",
|
|
203
213
|
ref: u
|
|
204
214
|
}, {
|
|
205
|
-
default: c(() => [
|
|
215
|
+
default: c(() => [b(l(p).FormItem, {
|
|
206
216
|
name: e.name,
|
|
207
217
|
"no-style": ""
|
|
208
218
|
}, {
|
|
209
|
-
default: c(() => [
|
|
210
|
-
class: l(
|
|
211
|
-
columns: l(
|
|
219
|
+
default: c(() => [b(l(re), J(l(ue)(o, ["name", "value", "onUpdate:value", "maxLength", "onChange"]), {
|
|
220
|
+
class: l(k)(),
|
|
221
|
+
columns: l(A),
|
|
212
222
|
"data-source": l(s),
|
|
213
223
|
ref_key: "tableRef",
|
|
214
|
-
ref:
|
|
215
|
-
}),
|
|
224
|
+
ref: C
|
|
225
|
+
}), Q({
|
|
216
226
|
headerCell: c(({
|
|
217
|
-
column:
|
|
218
|
-
}) => [l(
|
|
227
|
+
column: a
|
|
228
|
+
}) => [l(ie)(a) ? (R(), X(Y, {
|
|
219
229
|
key: 0
|
|
220
|
-
}, [
|
|
221
|
-
class:
|
|
222
|
-
}, "*", 2),
|
|
230
|
+
}, [F("span", {
|
|
231
|
+
class: Z(l(D)("header-cell", "required"))
|
|
232
|
+
}, "*", 2), F("span", null, ee(a.title), 1)], 64)) : te("", !0)]),
|
|
223
233
|
_: 2
|
|
224
|
-
}, [
|
|
225
|
-
name:
|
|
226
|
-
fn: c((r) => [
|
|
234
|
+
}, [ae(L, (a, n) => ({
|
|
235
|
+
name: n,
|
|
236
|
+
fn: c((r) => [ne(e.$slots, n, oe(le(r || {})))])
|
|
227
237
|
}))]), 1040, ["class", "columns", "data-source"])]),
|
|
228
238
|
_: 3
|
|
229
239
|
}, 8, ["name"])]),
|
|
@@ -232,5 +242,5 @@ const Be = /* @__PURE__ */ M({
|
|
|
232
242
|
}
|
|
233
243
|
});
|
|
234
244
|
export {
|
|
235
|
-
|
|
245
|
+
Ee as default
|
|
236
246
|
};
|
|
@@ -140,6 +140,11 @@ export type EditableTableExpose<ModelType = any, RecordType = any> = {
|
|
|
140
140
|
* @returns
|
|
141
141
|
*/
|
|
142
142
|
remove: (index: number | number[]) => void;
|
|
143
|
+
/**
|
|
144
|
+
* 清空所有数据
|
|
145
|
+
* @returns
|
|
146
|
+
*/
|
|
147
|
+
clear: () => void;
|
|
143
148
|
/**
|
|
144
149
|
* 获取所有行的数据
|
|
145
150
|
* @returns
|
|
@@ -169,4 +174,4 @@ export type EditableTableExpose<ModelType = any, RecordType = any> = {
|
|
|
169
174
|
* 可编辑表格作为表单项暴露的实例
|
|
170
175
|
* @description 作为Form表单使用时不再暴露表单相关的API
|
|
171
176
|
*/
|
|
172
|
-
export type EditableTableFormItemExpose<ModelType = any, RecordType = any> = Omit<EditableTableExpose<ModelType, RecordType>, 'resetFields' | 'validateFields'>;
|
|
177
|
+
export type EditableTableFormItemExpose<ModelType = any, RecordType = any> = Omit<EditableTableExpose<ModelType, RecordType>, 'resetFields' | 'validateFields' | 'clear'>;
|
|
@@ -10,13 +10,6 @@
|
|
|
10
10
|
.ant-form .ant-form-item-control .ant-form-item-explain-error {
|
|
11
11
|
font-size: 12px;
|
|
12
12
|
}
|
|
13
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner {
|
|
14
|
-
background-color: #ffffff;
|
|
15
|
-
border-color: #34b77c;
|
|
16
|
-
}
|
|
17
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner::after {
|
|
18
|
-
background-color: #34b77c;
|
|
19
|
-
}
|
|
20
13
|
.ant-form .ant-form-item-control .ant-select.ant-select-open .ant-select-selection-item {
|
|
21
14
|
color: #bfbfbf;
|
|
22
15
|
}
|
|
@@ -90,13 +90,6 @@
|
|
|
90
90
|
.ant-form .ant-form-item-control .ant-form-item-explain-error {
|
|
91
91
|
font-size: 12px;
|
|
92
92
|
}
|
|
93
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner {
|
|
94
|
-
background-color: #ffffff;
|
|
95
|
-
border-color: #34b77c;
|
|
96
|
-
}
|
|
97
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner::after {
|
|
98
|
-
background-color: #34b77c;
|
|
99
|
-
}
|
|
100
93
|
.ant-form .ant-form-item-control .ant-select.ant-select-open .ant-select-selection-item {
|
|
101
94
|
color: #bfbfbf;
|
|
102
95
|
}
|
|
@@ -10,13 +10,6 @@
|
|
|
10
10
|
.ant-form .ant-form-item-control .ant-form-item-explain-error {
|
|
11
11
|
font-size: 12px;
|
|
12
12
|
}
|
|
13
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner {
|
|
14
|
-
background-color: #ffffff;
|
|
15
|
-
border-color: #0070ff;
|
|
16
|
-
}
|
|
17
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner::after {
|
|
18
|
-
background-color: #0070ff;
|
|
19
|
-
}
|
|
20
13
|
.ant-form .ant-form-item-control .ant-select.ant-select-disabled .ant-select-selector {
|
|
21
14
|
color: #526a90;
|
|
22
15
|
background-color: #f2f6f9;
|
|
@@ -90,13 +90,6 @@
|
|
|
90
90
|
.ant-form .ant-form-item-control .ant-form-item-explain-error {
|
|
91
91
|
font-size: 12px;
|
|
92
92
|
}
|
|
93
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner {
|
|
94
|
-
background-color: #ffffff;
|
|
95
|
-
border-color: #0070ff;
|
|
96
|
-
}
|
|
97
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner::after {
|
|
98
|
-
background-color: #0070ff;
|
|
99
|
-
}
|
|
100
93
|
.ant-form .ant-form-item-control .ant-select.ant-select-disabled .ant-select-selector {
|
|
101
94
|
color: #526a90;
|
|
102
95
|
background-color: #f2f6f9;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type options = {
|
|
2
|
+
data: Array<Record<string, any>>;
|
|
3
|
+
transfrom: Record<string, any>;
|
|
4
|
+
targetObj: Record<string, any>;
|
|
5
|
+
targetKey: 'comp' | 'server';
|
|
6
|
+
};
|
|
7
|
+
export declare function ApTransformData(opts: options): Error | undefined;
|
|
8
|
+
export declare function getTransfromKeysAndValues(transfrom: Record<string, any>): {
|
|
9
|
+
primeKey: string;
|
|
10
|
+
primeValuesKeys: string[];
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const t=require("ant-design-vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const t=require("ant-design-vue"),f=require("lodash-unified");require("./style.css");const g=require("../../config-provider/hooks/use-namespace.js"),C=e.defineComponent({name:"ApInputRadio",__name:"ApInputRadio",props:{disabled:{type:Boolean},stringMode:{type:Boolean,default:!0},precision:{},max:{},min:{},step:{},bordered:{type:Boolean,default:!0},autofocus:{type:Boolean},decimalSeparator:{},controls:{type:Boolean,default:!0},formatter:{},onInput:{},onChange:{},onPressEnter:{},onStep:{},onBlur:{},onFocus:{},value:{},options:{}},emits:["update:value"],setup(s,{emit:l}){const i=t.Form.useInjectFormItemContext(),o=s,{b:p,e:c}=g.useNamespace("ap-input-radio"),d=l,a=n=>{d("update:value",{...o.value,...n}),i.onFieldChange()},m=n=>{a({inputval:n})},v=n=>{a({radioVal:n.target.value})};return(n,h)=>{var u,r;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(p)()])},[e.createVNode(e.unref(t.InputNumber),e.mergeProps({class:e.unref(c)("input-number")},e.unref(f.omit)(o,["value","options"]),{value:o.value?(u=o.value)==null?void 0:u.inputval:"",onChange:m}),null,16,["class","value"]),e.createVNode(e.unref(t.RadioGroup),{value:o.value?(r=o.value)==null?void 0:r.radioVal:"",options:o.options,onChange:v},null,8,["value","options"])],2)}}});exports.default=C;
|
|
@@ -2,7 +2,7 @@ import { InputNumberProps } from 'ant-design-vue/es/input-number';
|
|
|
2
2
|
type ApInputProps = Pick<InputNumberProps, 'disabled' | 'stringMode' | 'precision' | 'max' | 'min' | 'step' | 'bordered' | 'autofocus' | 'decimalSeparator' | 'controls' | 'formatter' | 'onInput' | 'onChange' | 'onPressEnter' | 'onStep' | 'onBlur' | 'onFocus'>;
|
|
3
3
|
type ApInputValyeName = 'inputval' | 'radioVal';
|
|
4
4
|
export type ApInputValType = {
|
|
5
|
-
value
|
|
5
|
+
value?: Record<ApInputValyeName, string | number>;
|
|
6
6
|
};
|
|
7
7
|
export type ApInputRadioOptions = Array<{
|
|
8
8
|
value: string | number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");require("./ApStatus.vue.js");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");require("./ApStatus.vue.js");const o=require("../../config-provider/hooks/use-namespace.js"),n=require("./ApStatus.vue2.js"),c=e.defineComponent({name:"ApStatusGroup",__name:"ApStatusGroup",props:{padding:{default:8},currentValue:{default:0},statusList:{default:null},style:{},show:{type:Boolean,default:!0}},setup(r){const t=r,s=e.computed(()=>({...t.style})),{b:l}=o.useNamespace("ap-status-group");return(a,p)=>t.statusList?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(l)()]),style:e.normalizeStyle(s.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.statusList,u=>(e.openBlock(),e.createBlock(n.default,{key:u.value,show:u.value===a.currentValue,color:u.color,text:u.text,padding:t.padding,style:e.normalizeStyle(t.style)},null,8,["show","color","text","padding","style"]))),128))],6)):e.createCommentVNode("",!0)}});exports.default=c;
|
|
@@ -1095,7 +1095,6 @@ export declare const ApInputRadio: DefineComponent<{
|
|
|
1095
1095
|
};
|
|
1096
1096
|
value: {
|
|
1097
1097
|
type: PropType<Record<"inputval" | "radioVal", string | number>>;
|
|
1098
|
-
required: true;
|
|
1099
1098
|
};
|
|
1100
1099
|
options: {
|
|
1101
1100
|
type: PropType<ApInputRadioOptions>;
|
|
@@ -1166,7 +1165,6 @@ export declare const ApInputRadio: DefineComponent<{
|
|
|
1166
1165
|
};
|
|
1167
1166
|
value: {
|
|
1168
1167
|
type: PropType<Record<"inputval" | "radioVal", string | number>>;
|
|
1169
|
-
required: true;
|
|
1170
1168
|
};
|
|
1171
1169
|
options: {
|
|
1172
1170
|
type: PropType<ApInputRadioOptions>;
|
|
@@ -19,6 +19,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
19
19
|
setRowData: (index: number, payload: any) => void;
|
|
20
20
|
addMultiple: (list: number | Partial<RecordType>[], insetIn?: "prefix" | "suffix") => void;
|
|
21
21
|
scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
|
|
22
|
+
clear: () => void;
|
|
22
23
|
}>): void;
|
|
23
24
|
attrs: any;
|
|
24
25
|
slots: ReturnType<() => Readonly<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),z=require("ant-design-vue"),p=require("../ap-form/index.js"),i=require("lodash-unified");require("../config-provider/index.js");require("../hooks/index.js");const h=require("../utils/index.js"),C=require("./utils.js"),I=require("./hooks/use-get-columns.js");require("./style/index.css");const O=require("../config-provider/hooks/use-namespace.js"),M=require("../hooks/useControllableValue.js"),K=e.defineComponent({name:"EditableTable",__name:"index",props:{dropdownPrefixCls:{},pagination:{type:[Boolean,Object],default:!1},loading:{type:[Boolean,Object],default:void 0},size:{default:"middle"},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},rowSelection:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},rowKey:{default:"key"},tableLayout:{default:"fixed"},rowClassName:{},title:{},footer:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object]},transformCellText:{},columns:{},value:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},name:{default:"ap-editable-table-inner-name"},onFieldChange:{}},emits:["update:value"],setup(w,{expose:v,emit:y}){const o=w,{b,em:R}=O.useNamespace("editable-table"),F=e.useSlots(),q=y,x=e.ref(),{value:u,updateValue:B}=M.useControllableValue(o,q),s=e.ref(),m=p.ApForm.useWatch(o.name,s);e.watch(()=>m.value,n=>{var t;B(n),(t=o.onChange)==null||t.call(o,n)},{deep:!0}),e.watch(u,n=>{var t;n!==e.unref(m)&&(i.isEqual(n,e.unref(m))||(t=s.value)==null||t.setFieldValue(o.name,n))},{deep:!0});const N=I.default(o);function D(){var n;(n=s.value)==null||n.resetFields()}function V(n){return n?(i.isArray(n)?n:[n]).map(a=>i.isArray(a)?[o.name,...a]:[o.name,a]):void 0}async function E(n,t){var l;const a=await((l=s.value)==null?void 0:l.validateFields(V(n),t));return a==null?void 0:a[o.name]}function _(n,t){var r,d,c;const a=((r=e.unref(u))==null?void 0:r.length)||0;if(h.isDef(o.maxLength)&&a>=o.maxLength)return;const l=[...e.unref(u)||[]];h.isDef(t)?l.splice(t,0,{...n||{}}):l.push({...n||{}}),(c=(d=s.value)==null?void 0:d.setFieldValue)==null||c.call(d,o.name,l)}function k(n,t="suffix"){var c,f,g;const a=((c=e.unref(u))==null?void 0:c.length)||0,l=i.isNumber(n)?n:n.length;if(h.isDef(o.maxLength)&&a+l>o.maxLength)return;const r=[...e.unref(u)||[]],d=i.isNumber(n)?new Array(n).fill({}):i.cloneDeep(n);t==="suffix"?r.push(...d):r.unshift(...d),(g=(f=s.value)==null?void 0:f.setFieldValue)==null||g.call(f,o.name,r)}function A(n){var l,r;let t=i.cloneDeep(e.unref(u)||[]);const a=i.isNumber(n)?[n]:n;t=t.filter((d,c)=>!a.includes(c)),(r=(l=s.value)==null?void 0:l.setFieldValue)==null||r.call(l,o.name,t)}function S(){return e.unref(u)}function L(n){var t;return(t=e.unref(u))==null?void 0:t[n]}function T(n,t){var l,r;const a=i.cloneDeep(e.unref(u));a[n]&&(a[n]={...a[n],...t},(r=(l=s.value)==null?void 0:l.setFieldValue)==null||r.call(l,o.name,[...a]))}function P(n,t){var l;const a=n==="end"?u.value.length-1:n;C.scrollToRowIndex(a,(l=x.value)==null?void 0:l.$el,t)}function j(){var n,t;(t=(n=s.value)==null?void 0:n.setFieldValue)==null||t.call(n,o.name,[])}return v({resetFields:D,validateFields:E,add:_,remove:A,getRowData:L,getRowsData:S,setRowData:T,addMultiple:k,scrollTo:P,clear:j}),(n,t)=>(e.openBlock(),e.createBlock(e.unref(p.ApForm),{"initial-values":{[o.name]:e.unref(u)},ref_key:"formRef",ref:s},{default:e.withCtx(()=>[e.createVNode(e.unref(p.ApForm).FormItem,{name:n.name,"no-style":""},{default:e.withCtx(()=>[e.createVNode(e.unref(z.Table),e.mergeProps(e.unref(i.omit)(o,["name","value","onUpdate:value","maxLength","onChange"]),{class:e.unref(b)(),columns:e.unref(N),"data-source":e.unref(u),ref_key:"tableRef",ref:x}),e.createSlots({headerCell:e.withCtx(({column:a})=>[e.unref(C.getColumnIsRequired)(a)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(R)("header-cell","required"))},"*",2),e.createElementVNode("span",null,e.toDisplayString(a.title),1)],64)):e.createCommentVNode("",!0)]),_:2},[e.renderList(F,(a,l)=>({name:l,fn:e.withCtx(r=>[e.renderSlot(n.$slots,l,e.normalizeProps(e.guardReactiveProps(r||{})))])}))]),1040,["class","columns","data-source"])]),_:3},8,["name"])]),_:3},8,["initial-values"]))}});exports.default=K;
|
|
@@ -140,6 +140,11 @@ export type EditableTableExpose<ModelType = any, RecordType = any> = {
|
|
|
140
140
|
* @returns
|
|
141
141
|
*/
|
|
142
142
|
remove: (index: number | number[]) => void;
|
|
143
|
+
/**
|
|
144
|
+
* 清空所有数据
|
|
145
|
+
* @returns
|
|
146
|
+
*/
|
|
147
|
+
clear: () => void;
|
|
143
148
|
/**
|
|
144
149
|
* 获取所有行的数据
|
|
145
150
|
* @returns
|
|
@@ -169,4 +174,4 @@ export type EditableTableExpose<ModelType = any, RecordType = any> = {
|
|
|
169
174
|
* 可编辑表格作为表单项暴露的实例
|
|
170
175
|
* @description 作为Form表单使用时不再暴露表单相关的API
|
|
171
176
|
*/
|
|
172
|
-
export type EditableTableFormItemExpose<ModelType = any, RecordType = any> = Omit<EditableTableExpose<ModelType, RecordType>, 'resetFields' | 'validateFields'>;
|
|
177
|
+
export type EditableTableFormItemExpose<ModelType = any, RecordType = any> = Omit<EditableTableExpose<ModelType, RecordType>, 'resetFields' | 'validateFields' | 'clear'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("vue"),t=require("lodash-unified");function V(u,n,e){const d=(e==null?void 0:e.defaultValuePropName)||"defaultValue",a=(e==null?void 0:e.valuePropName)||"value",r=f.ref(v());function c(l){u[a]===void 0&&(r.value=l),n(`update:${a}`,l)}function v(){return t.isUndefined(u[a])?t.isUndefined(u[d])?e==null?void 0:e.defaultValue:u[d]:u[a]}return f.watch(()=>u[a],l=>{r.value=l},{deep:!0}),{value:r,updateValue:c}}exports.useControllableValue=V;
|
|
@@ -10,13 +10,6 @@
|
|
|
10
10
|
.ant-form .ant-form-item-control .ant-form-item-explain-error {
|
|
11
11
|
font-size: 12px;
|
|
12
12
|
}
|
|
13
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner {
|
|
14
|
-
background-color: #ffffff;
|
|
15
|
-
border-color: #34b77c;
|
|
16
|
-
}
|
|
17
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner::after {
|
|
18
|
-
background-color: #34b77c;
|
|
19
|
-
}
|
|
20
13
|
.ant-form .ant-form-item-control .ant-select.ant-select-open .ant-select-selection-item {
|
|
21
14
|
color: #bfbfbf;
|
|
22
15
|
}
|
|
@@ -90,13 +90,6 @@
|
|
|
90
90
|
.ant-form .ant-form-item-control .ant-form-item-explain-error {
|
|
91
91
|
font-size: 12px;
|
|
92
92
|
}
|
|
93
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner {
|
|
94
|
-
background-color: #ffffff;
|
|
95
|
-
border-color: #34b77c;
|
|
96
|
-
}
|
|
97
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner::after {
|
|
98
|
-
background-color: #34b77c;
|
|
99
|
-
}
|
|
100
93
|
.ant-form .ant-form-item-control .ant-select.ant-select-open .ant-select-selection-item {
|
|
101
94
|
color: #bfbfbf;
|
|
102
95
|
}
|
|
@@ -10,13 +10,6 @@
|
|
|
10
10
|
.ant-form .ant-form-item-control .ant-form-item-explain-error {
|
|
11
11
|
font-size: 12px;
|
|
12
12
|
}
|
|
13
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner {
|
|
14
|
-
background-color: #ffffff;
|
|
15
|
-
border-color: #0070ff;
|
|
16
|
-
}
|
|
17
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner::after {
|
|
18
|
-
background-color: #0070ff;
|
|
19
|
-
}
|
|
20
13
|
.ant-form .ant-form-item-control .ant-select.ant-select-disabled .ant-select-selector {
|
|
21
14
|
color: #526a90;
|
|
22
15
|
background-color: #f2f6f9;
|
|
@@ -90,13 +90,6 @@
|
|
|
90
90
|
.ant-form .ant-form-item-control .ant-form-item-explain-error {
|
|
91
91
|
font-size: 12px;
|
|
92
92
|
}
|
|
93
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner {
|
|
94
|
-
background-color: #ffffff;
|
|
95
|
-
border-color: #0070ff;
|
|
96
|
-
}
|
|
97
|
-
.ant-form .ant-form-item-control .ant-radio-wrapper .ant-radio.ant-radio-checked .ant-radio-inner::after {
|
|
98
|
-
background-color: #0070ff;
|
|
99
|
-
}
|
|
100
93
|
.ant-form .ant-form-item-control .ant-select.ant-select-disabled .ant-select-selector {
|
|
101
94
|
color: #526a90;
|
|
102
95
|
background-color: #f2f6f9;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type options = {
|
|
2
|
+
data: Array<Record<string, any>>;
|
|
3
|
+
transfrom: Record<string, any>;
|
|
4
|
+
targetObj: Record<string, any>;
|
|
5
|
+
targetKey: 'comp' | 'server';
|
|
6
|
+
};
|
|
7
|
+
export declare function ApTransformData(opts: options): Error | undefined;
|
|
8
|
+
export declare function getTransfromKeysAndValues(transfrom: Record<string, any>): {
|
|
9
|
+
primeKey: string;
|
|
10
|
+
primeValuesKeys: string[];
|
|
11
|
+
};
|
|
12
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"mime": "^4.0.3",
|
|
61
61
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
62
62
|
"sortablejs": "^1.15.2",
|
|
63
|
-
"@aplus-frontend/
|
|
64
|
-
"@aplus-frontend/
|
|
63
|
+
"@aplus-frontend/hooks": "1.0.7",
|
|
64
|
+
"@aplus-frontend/utils": "1.0.31"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"@aplus-frontend/icon": "^1.0.21",
|