@aplus-frontend/ui 0.0.34 → 0.0.36
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-field/date/index.vue.mjs +35 -33
- package/es/src/ap-field/date-range/index.vue.mjs +55 -53
- package/es/src/ap-field/hooks/use-default-placeholder.d.ts +16 -0
- package/es/src/ap-field/hooks/use-default-placeholder.mjs +25 -0
- package/es/src/ap-field/interface.d.ts +1 -0
- package/es/src/ap-field/number/index.vue.mjs +25 -23
- package/es/src/ap-field/select/index.vue.d.ts +2 -0
- package/es/src/ap-field/select/index.vue.mjs +63 -53
- package/es/src/ap-field/text/index.vue2.mjs +26 -24
- package/es/src/ap-field/text/password.vue.mjs +28 -26
- package/es/src/ap-field/text-area/index.vue.mjs +15 -13
- package/es/src/ap-form/ap-form.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +39 -39
- package/es/src/ap-form/interface.d.ts +1 -1
- package/es/src/ap-table/constants.d.ts +9 -0
- package/es/src/ap-table/hooks/use-table-paging.mjs +16 -16
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/hooks/use-default-placeholder.d.ts +16 -0
- package/lib/src/ap-field/hooks/use-default-placeholder.js +1 -0
- package/lib/src/ap-field/interface.d.ts +1 -0
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +2 -0
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/interface.d.ts +1 -1
- package/lib/src/ap-table/constants.d.ts +9 -0
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { isVNode as
|
|
1
|
+
import { isVNode as v, defineComponent as B, ref as g, useSlots as h, computed as b, createVNode as i, mergeProps as C, unref as u, Fragment as S, openBlock as _, createBlock as R, resolveDynamicComponent as T } from "vue";
|
|
2
2
|
import { Input as V } from "ant-design-vue";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { omit as j } from "lodash-unified";
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
import { useDefaultPlaceholder as F } from "../hooks/use-default-placeholder.mjs";
|
|
6
|
+
import { useControllableValue as w } from "../../hooks/useControllableValue.mjs";
|
|
7
|
+
function z(l) {
|
|
8
|
+
return typeof l == "function" || Object.prototype.toString.call(l) === "[object Object]" && !v(l);
|
|
8
9
|
}
|
|
9
|
-
const
|
|
10
|
+
const M = /* @__PURE__ */ B({
|
|
10
11
|
name: "ApFieldText",
|
|
11
12
|
__name: "index",
|
|
12
13
|
props: {
|
|
@@ -90,46 +91,47 @@ const K = /* @__PURE__ */ v({
|
|
|
90
91
|
expose: c,
|
|
91
92
|
emit: d
|
|
92
93
|
}) {
|
|
93
|
-
const
|
|
94
|
+
const a = g(), t = h();
|
|
94
95
|
c({
|
|
95
96
|
focus: (e) => {
|
|
96
97
|
var o;
|
|
97
|
-
(o =
|
|
98
|
+
(o = a.value) == null || o.focus(e);
|
|
98
99
|
},
|
|
99
100
|
blur: () => {
|
|
100
101
|
var e;
|
|
101
|
-
(e =
|
|
102
|
+
(e = a.value) == null || e.blur();
|
|
102
103
|
},
|
|
103
|
-
setSelectionRange: (e, o,
|
|
104
|
-
var
|
|
105
|
-
(
|
|
104
|
+
setSelectionRange: (e, o, x) => {
|
|
105
|
+
var p;
|
|
106
|
+
(p = a.value) == null || p.setSelectionRange(e, o, x);
|
|
106
107
|
},
|
|
107
108
|
select: () => {
|
|
108
109
|
var e;
|
|
109
|
-
(e =
|
|
110
|
+
(e = a.value) == null || e.select();
|
|
110
111
|
},
|
|
111
112
|
input: b(() => {
|
|
112
113
|
var e;
|
|
113
|
-
return (e =
|
|
114
|
+
return (e = a.value) == null ? void 0 : e.input;
|
|
114
115
|
})
|
|
115
116
|
});
|
|
116
|
-
const f = d,
|
|
117
|
-
value:
|
|
117
|
+
const f = d, n = l, {
|
|
118
|
+
value: r,
|
|
118
119
|
updateValue: s
|
|
119
|
-
} =
|
|
120
|
-
function
|
|
120
|
+
} = w(n, f), m = F("Text", n);
|
|
121
|
+
function y() {
|
|
121
122
|
var e, o;
|
|
122
|
-
return
|
|
123
|
-
|
|
123
|
+
return n.mode === "edit" ? i(V, C(j(n, ["mode", "emptyText", "value", "onUpdate:value"]), {
|
|
124
|
+
placeholder: u(m),
|
|
125
|
+
value: u(r),
|
|
124
126
|
"onUpdate:value": s,
|
|
125
|
-
ref:
|
|
126
|
-
}),
|
|
127
|
+
ref: a
|
|
128
|
+
}), z(t) ? t : {
|
|
127
129
|
default: () => [t]
|
|
128
|
-
}) :
|
|
130
|
+
}) : i(S, null, [n.prefix || ((e = t == null ? void 0 : t.prefix) == null ? void 0 : e.call(t)), u(r) || n.emptyText, n.suffix || ((o = t == null ? void 0 : t.suffix) == null ? void 0 : o.call(t))]);
|
|
129
131
|
}
|
|
130
|
-
return (e, o) => (
|
|
132
|
+
return (e, o) => (_(), R(T(y())));
|
|
131
133
|
}
|
|
132
134
|
});
|
|
133
135
|
export {
|
|
134
|
-
|
|
136
|
+
M as default
|
|
135
137
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { isVNode as
|
|
2
|
-
import { Input as
|
|
1
|
+
import { isVNode as x, defineComponent as h, ref as C, useSlots as g, unref as i, createVNode as o, mergeProps as P, Fragment as w, openBlock as V, createBlock as _, resolveDynamicComponent as S } from "vue";
|
|
2
|
+
import { Input as T, Space as U } from "ant-design-vue";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { omit as O } from "lodash-unified";
|
|
5
|
-
import { EyeOutlined as
|
|
5
|
+
import { EyeOutlined as j, EyeInvisibleOutlined as k } from "@ant-design/icons-vue";
|
|
6
|
+
import { useDefaultPlaceholder as E } from "../hooks/use-default-placeholder.mjs";
|
|
6
7
|
import { useControllableValue as d } from "../../hooks/useControllableValue.mjs";
|
|
7
|
-
function
|
|
8
|
-
return typeof
|
|
8
|
+
function F(l) {
|
|
9
|
+
return typeof l == "function" || Object.prototype.toString.call(l) === "[object Object]" && !x(l);
|
|
9
10
|
}
|
|
10
|
-
const
|
|
11
|
+
const G = /* @__PURE__ */ h({
|
|
11
12
|
name: "ApFieldTextPassword",
|
|
12
13
|
__name: "password",
|
|
13
14
|
props: {
|
|
@@ -100,7 +101,7 @@ const D = /* @__PURE__ */ x({
|
|
|
100
101
|
}
|
|
101
102
|
},
|
|
102
103
|
emits: ["update:value", "update:visible"],
|
|
103
|
-
setup(
|
|
104
|
+
setup(l, {
|
|
104
105
|
expose: c,
|
|
105
106
|
emit: f
|
|
106
107
|
}) {
|
|
@@ -115,40 +116,41 @@ const D = /* @__PURE__ */ x({
|
|
|
115
116
|
(e = a.value) == null || e.blur();
|
|
116
117
|
}
|
|
117
118
|
});
|
|
118
|
-
const
|
|
119
|
+
const s = f, t = l, {
|
|
119
120
|
value: m,
|
|
120
121
|
updateValue: y
|
|
121
|
-
} = d(
|
|
122
|
-
value:
|
|
123
|
-
updateValue:
|
|
124
|
-
} = d(
|
|
122
|
+
} = d(t, s), v = E("TextPassword", t), {
|
|
123
|
+
value: b,
|
|
124
|
+
updateValue: r
|
|
125
|
+
} = d(t, s, {
|
|
125
126
|
valuePropName: "visible"
|
|
126
127
|
});
|
|
127
|
-
function
|
|
128
|
-
const e =
|
|
129
|
-
if (
|
|
130
|
-
return
|
|
128
|
+
function B() {
|
|
129
|
+
const e = i(m), n = i(b);
|
|
130
|
+
if (t.mode === "edit")
|
|
131
|
+
return o(T.Password, P(O(t, ["mode", "emptyText", "value", "onUpdate:value", "visible", "onUpdate:visible"]), {
|
|
132
|
+
placeholder: i(v),
|
|
131
133
|
value: e,
|
|
132
134
|
"onUpdate:value": y,
|
|
133
135
|
visible: n,
|
|
134
|
-
"onUpdate:visible":
|
|
136
|
+
"onUpdate:visible": r,
|
|
135
137
|
ref: a
|
|
136
|
-
}),
|
|
138
|
+
}), F(u) ? u : {
|
|
137
139
|
default: () => [u]
|
|
138
140
|
});
|
|
139
|
-
let
|
|
140
|
-
return e && (
|
|
141
|
-
default: () => [
|
|
141
|
+
let p = o(w, null, [t.emptyText]);
|
|
142
|
+
return e && (p = o(U, null, {
|
|
143
|
+
default: () => [o("span", null, [n ? e : "********"]), o("span", {
|
|
142
144
|
style: {
|
|
143
145
|
cursor: "pointer"
|
|
144
146
|
},
|
|
145
|
-
onClick: () =>
|
|
146
|
-
}, [n ?
|
|
147
|
-
})),
|
|
147
|
+
onClick: () => r(!n)
|
|
148
|
+
}, [n ? o(j, null, null) : o(k, null, null)])]
|
|
149
|
+
})), p;
|
|
148
150
|
}
|
|
149
|
-
return (e, n) => (
|
|
151
|
+
return (e, n) => (V(), _(S(B())));
|
|
150
152
|
}
|
|
151
153
|
});
|
|
152
154
|
export {
|
|
153
|
-
|
|
155
|
+
G as default
|
|
154
156
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { isNil as C, omit as
|
|
1
|
+
import { defineComponent as f, ref as y, computed as B, openBlock as r, createElementBlock as x, normalizeClass as v, unref as o, toDisplayString as h, createBlock as b, mergeProps as z } from "vue";
|
|
2
|
+
import { isNil as C, omit as A } from "lodash-unified";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import { Input as g } from "ant-design-vue";
|
|
6
6
|
import "./style.css";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
7
|
+
import { useDefaultPlaceholder as T } from "../hooks/use-default-placeholder.mjs";
|
|
8
|
+
import { useControllableValue as k } from "../../hooks/useControllableValue.mjs";
|
|
9
|
+
import { useNamespace as _ } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
const S = /* @__PURE__ */ f({
|
|
10
11
|
name: "ApFieldTextArea",
|
|
11
12
|
__name: "index",
|
|
12
13
|
props: {
|
|
@@ -58,31 +59,32 @@ const I = /* @__PURE__ */ c({
|
|
|
58
59
|
},
|
|
59
60
|
emits: ["update:value"],
|
|
60
61
|
setup(u, { expose: p, emit: s }) {
|
|
61
|
-
const t =
|
|
62
|
+
const t = y(), l = u, i = s, { value: a, updateValue: d } = k(l, i), { b: m } = _("field-text-area"), c = T("TextArea", l);
|
|
62
63
|
return p({
|
|
63
64
|
focus: (e) => {
|
|
64
|
-
var
|
|
65
|
-
(
|
|
65
|
+
var n;
|
|
66
|
+
(n = t.value) == null || n.focus(e);
|
|
66
67
|
},
|
|
67
68
|
blur: () => {
|
|
68
69
|
var e;
|
|
69
70
|
(e = t.value) == null || e.blur();
|
|
70
71
|
},
|
|
71
|
-
resizableTextArea:
|
|
72
|
+
resizableTextArea: B(() => {
|
|
72
73
|
var e;
|
|
73
74
|
return (e = t.value) == null ? void 0 : e.resizableTextArea;
|
|
74
75
|
})
|
|
75
|
-
}), (e,
|
|
76
|
+
}), (e, n) => e.mode === "read" ? (r(), x("span", {
|
|
76
77
|
key: 0,
|
|
77
78
|
class: v(o(m)())
|
|
78
|
-
},
|
|
79
|
+
}, h(o(C)(o(a)) || o(a) === "" ? e.emptyText : o(a)), 3)) : (r(), b(o(g).TextArea, z({ key: 1 }, o(A)(l, ["onUpdate:value", "value"]), {
|
|
80
|
+
placeholder: o(c),
|
|
79
81
|
value: o(a),
|
|
80
82
|
"onUpdate:value": o(d),
|
|
81
83
|
ref_key: "textAreaRef",
|
|
82
84
|
ref: t
|
|
83
|
-
}), null, 16, ["value", "onUpdate:value"]));
|
|
85
|
+
}), null, 16, ["placeholder", "value", "onUpdate:value"]));
|
|
84
86
|
}
|
|
85
87
|
});
|
|
86
88
|
export {
|
|
87
|
-
|
|
89
|
+
S as default
|
|
88
90
|
};
|
|
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
23
23
|
validateOnRuleChange: boolean;
|
|
24
24
|
validateTrigger: string;
|
|
25
25
|
}>, {
|
|
26
|
-
resetFields: () => void
|
|
26
|
+
resetFields: () => Promise<void>;
|
|
27
27
|
clearValidate: (name?: NamePath | undefined) => void;
|
|
28
28
|
validateFields: (nameList?: string | NamePath[] | undefined, options?: ValidateOptions | undefined) => Promise<{
|
|
29
29
|
[key: string]: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as A, ref as E, reactive as N, nextTick as O, toRaw as m, computed as
|
|
2
|
-
import { Form as
|
|
3
|
-
import { useProvideForm as
|
|
4
|
-
import { isArray as g, cloneDeep as
|
|
1
|
+
import { defineComponent as A, ref as E, reactive as N, nextTick as O, toRaw as m, computed as j, openBlock as S, createBlock as W, unref as C, mergeProps as q, withCtx as z, renderSlot as D } from "vue";
|
|
2
|
+
import { Form as L } from "ant-design-vue";
|
|
3
|
+
import { useProvideForm as P } from "./context.mjs";
|
|
4
|
+
import { isArray as g, cloneDeep as V, omit as K } from "lodash-unified";
|
|
5
5
|
import { INTERNAL_FORM_INSTANCE_MARK as $ } from "./constant.mjs";
|
|
6
6
|
import { isDef as p } from "../utils/index.mjs";
|
|
7
7
|
const Y = /* @__PURE__ */ A({
|
|
@@ -32,8 +32,8 @@ const Y = /* @__PURE__ */ A({
|
|
|
32
32
|
onValidate: {},
|
|
33
33
|
initialValues: {}
|
|
34
34
|
},
|
|
35
|
-
setup(_, { expose:
|
|
36
|
-
const
|
|
35
|
+
setup(_, { expose: R }) {
|
|
36
|
+
const i = _;
|
|
37
37
|
function h(e, t, l = !0) {
|
|
38
38
|
var y;
|
|
39
39
|
if (g(e)) {
|
|
@@ -44,33 +44,33 @@ const Y = /* @__PURE__ */ A({
|
|
|
44
44
|
} else
|
|
45
45
|
o[e] = t;
|
|
46
46
|
let r = g(e) ? e[0] : e;
|
|
47
|
-
l && ((y =
|
|
47
|
+
l && ((y = i.onValuesChange) == null || y.call(i, { [r]: o[r] }, o)), d();
|
|
48
48
|
}
|
|
49
|
-
const
|
|
50
|
-
let f =
|
|
51
|
-
const o = N(
|
|
49
|
+
const a = E();
|
|
50
|
+
let f = i.initialValues ? V(i.initialValues) : {};
|
|
51
|
+
const o = N(i.initialValues || {});
|
|
52
52
|
let s = [];
|
|
53
|
-
const
|
|
53
|
+
const B = async () => {
|
|
54
54
|
var e;
|
|
55
|
-
(e =
|
|
56
|
-
Object.keys(o).forEach((t) => delete o[t]), Object.assign(o,
|
|
55
|
+
(e = a.value) == null || e.resetFields(), await O(() => {
|
|
56
|
+
Object.keys(o).forEach((t) => delete o[t]), Object.assign(o, V(f)), d();
|
|
57
57
|
});
|
|
58
|
-
},
|
|
58
|
+
}, I = (e) => {
|
|
59
59
|
var t;
|
|
60
|
-
(t =
|
|
61
|
-
},
|
|
60
|
+
(t = a.value) == null || t.clearValidate(e);
|
|
61
|
+
}, M = (e, t) => {
|
|
62
62
|
var l;
|
|
63
|
-
return (l =
|
|
64
|
-
},
|
|
63
|
+
return (l = a.value) == null ? void 0 : l.validateFields(e, t);
|
|
64
|
+
}, T = (e) => {
|
|
65
65
|
var t;
|
|
66
|
-
return (t =
|
|
67
|
-
},
|
|
66
|
+
return (t = a.value) == null ? void 0 : t.getFieldsValue(e);
|
|
67
|
+
}, b = (e, t) => {
|
|
68
68
|
var l;
|
|
69
|
-
return (l =
|
|
70
|
-
},
|
|
69
|
+
return (l = a.value) == null ? void 0 : l.validate(e, t);
|
|
70
|
+
}, k = (e, t = {}) => {
|
|
71
71
|
var l;
|
|
72
|
-
(l =
|
|
73
|
-
},
|
|
72
|
+
(l = a.value) == null || l.scrollToField(e, t);
|
|
73
|
+
}, w = (e) => {
|
|
74
74
|
Object.assign(o, e), d();
|
|
75
75
|
}, F = (e, t) => {
|
|
76
76
|
o[e] = t, d();
|
|
@@ -108,31 +108,31 @@ const Y = /* @__PURE__ */ A({
|
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
return
|
|
112
|
-
model:
|
|
111
|
+
return P({
|
|
112
|
+
model: j(() => o),
|
|
113
113
|
updateModel: h,
|
|
114
114
|
internalInstance: {
|
|
115
115
|
registerWatch: c,
|
|
116
116
|
registerField: v,
|
|
117
117
|
setFieldValue: F
|
|
118
118
|
}
|
|
119
|
-
}),
|
|
120
|
-
resetFields:
|
|
121
|
-
clearValidate:
|
|
122
|
-
validateFields:
|
|
123
|
-
getFieldsValue:
|
|
124
|
-
validate:
|
|
125
|
-
scrollToField:
|
|
126
|
-
setFieldsValue:
|
|
119
|
+
}), R({
|
|
120
|
+
resetFields: B,
|
|
121
|
+
clearValidate: I,
|
|
122
|
+
validateFields: M,
|
|
123
|
+
getFieldsValue: T,
|
|
124
|
+
validate: b,
|
|
125
|
+
scrollToField: k,
|
|
126
|
+
setFieldsValue: w,
|
|
127
127
|
setFieldValue: F,
|
|
128
128
|
registerWatch: c,
|
|
129
129
|
getInternalInstance: x
|
|
130
|
-
}), (e, t) => (
|
|
130
|
+
}), (e, t) => (S(), W(C(L), q({
|
|
131
131
|
ref_key: "formRef",
|
|
132
|
-
ref:
|
|
133
|
-
}, C(K)(
|
|
134
|
-
default:
|
|
135
|
-
|
|
132
|
+
ref: a
|
|
133
|
+
}, C(K)(i, ["initialValues"]), { model: o }), {
|
|
134
|
+
default: z(() => [
|
|
135
|
+
D(e.$slots, "default")
|
|
136
136
|
]),
|
|
137
137
|
_: 3
|
|
138
138
|
}, 16, ["model"]));
|
|
@@ -37,7 +37,7 @@ export type WatchFunc = (values?: Recordable) => void;
|
|
|
37
37
|
export type ApFormExpose<ModelType = any> = {
|
|
38
38
|
setFieldsValue: (fields: Partial<ModelType>) => void;
|
|
39
39
|
setFieldValue: (key: keyof ModelType, value: any) => void;
|
|
40
|
-
resetFields: () => void
|
|
40
|
+
resetFields: () => Promise<void>;
|
|
41
41
|
clearValidate: (name?: NamePath) => void;
|
|
42
42
|
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<ModelType>> | undefined;
|
|
43
43
|
getFieldsValue: (nameList?: true | InternalNamePath[]) => Partial<ModelType> | undefined;
|
|
@@ -12144,6 +12144,7 @@ export declare const apTableRenderItemMap: {
|
|
|
12144
12144
|
}, {
|
|
12145
12145
|
focus: () => void;
|
|
12146
12146
|
blur: () => void;
|
|
12147
|
+
request: (clear?: boolean) => Promise<void>;
|
|
12147
12148
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12148
12149
|
"update:value": (...args: any[]) => void;
|
|
12149
12150
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
@@ -12694,6 +12695,7 @@ export declare const apTableRenderItemMap: {
|
|
|
12694
12695
|
}, {
|
|
12695
12696
|
focus: () => void;
|
|
12696
12697
|
blur: () => void;
|
|
12698
|
+
request: (clear?: boolean) => Promise<void>;
|
|
12697
12699
|
}, {}, {}, {}, {
|
|
12698
12700
|
disabled: boolean;
|
|
12699
12701
|
loading: boolean;
|
|
@@ -12979,6 +12981,7 @@ export declare const apTableRenderItemMap: {
|
|
|
12979
12981
|
}, {
|
|
12980
12982
|
focus: () => void;
|
|
12981
12983
|
blur: () => void;
|
|
12984
|
+
request: (clear?: boolean) => Promise<void>;
|
|
12982
12985
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12983
12986
|
"update:value": (...args: any[]) => void;
|
|
12984
12987
|
}, string, {
|
|
@@ -15204,12 +15207,18 @@ export declare const apTableRenderItemMap: {
|
|
|
15204
15207
|
$slots: Readonly<{
|
|
15205
15208
|
addonAfter: any;
|
|
15206
15209
|
addonBefore: any;
|
|
15210
|
+
/**
|
|
15211
|
+
* 表格到查询表单的映射
|
|
15212
|
+
*/
|
|
15207
15213
|
prefix: any;
|
|
15208
15214
|
suffix: any;
|
|
15209
15215
|
clearIcon: any;
|
|
15210
15216
|
}> & {
|
|
15211
15217
|
addonAfter: any;
|
|
15212
15218
|
addonBefore: any;
|
|
15219
|
+
/**
|
|
15220
|
+
* 表格到查询表单的映射
|
|
15221
|
+
*/
|
|
15213
15222
|
prefix: any;
|
|
15214
15223
|
suffix: any;
|
|
15215
15224
|
clearIcon: any;
|
|
@@ -4,24 +4,24 @@ import { isArray as Y } from "lodash-unified";
|
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import { useLocale as Z } from "../../config-provider/hooks/use-locale.mjs";
|
|
6
6
|
const oe = ({
|
|
7
|
-
manual:
|
|
8
|
-
defaultCurrent:
|
|
7
|
+
manual: $ = !1,
|
|
8
|
+
defaultCurrent: j = 1,
|
|
9
9
|
defaultPageSize: T = 10,
|
|
10
10
|
request: D,
|
|
11
11
|
defaultParams: R = {},
|
|
12
12
|
defaultData: A = [],
|
|
13
13
|
formatParams: z,
|
|
14
14
|
paramsValueTypeMap: P,
|
|
15
|
-
resetFieldsIgnores:
|
|
15
|
+
resetFieldsIgnores: w,
|
|
16
16
|
filterFields: B = [],
|
|
17
17
|
sortFields: E = []
|
|
18
18
|
}) => {
|
|
19
19
|
let F = 0, f = {};
|
|
20
|
-
const L = (e) => z ? z(e) : e, l = v(), i = v(
|
|
20
|
+
const L = (e) => z ? z(e) : e, l = v(), i = v(j), g = v(T), { t: V } = Z(), n = v({
|
|
21
21
|
total: 0,
|
|
22
22
|
records: A,
|
|
23
23
|
loading: !1
|
|
24
|
-
}),
|
|
24
|
+
}), b = async (e) => {
|
|
25
25
|
var r;
|
|
26
26
|
const a = L(e), t = Date.now();
|
|
27
27
|
F = t, n.value.loading = !0;
|
|
@@ -44,18 +44,18 @@ const oe = ({
|
|
|
44
44
|
s && (a[t] = W(s, r));
|
|
45
45
|
}
|
|
46
46
|
}), a;
|
|
47
|
-
}, M = (e) => {
|
|
47
|
+
}, M = async (e) => {
|
|
48
48
|
var r, s, d, p, m, u, c;
|
|
49
49
|
const a = ((s = (r = l.value) == null ? void 0 : r.apForm) == null ? void 0 : s.getFieldsValue()) || {}, t = {};
|
|
50
|
-
Object.entries(a).forEach(([
|
|
51
|
-
|
|
52
|
-
}), (p = (d = l.value) == null ? void 0 : d.apForm) == null
|
|
50
|
+
Object.entries(a).forEach(([O, K]) => {
|
|
51
|
+
w && w.indexOf(O) > -1 && (t[O] = K);
|
|
52
|
+
}), await ((p = (d = l.value) == null ? void 0 : d.apForm) == null ? void 0 : p.resetFields()), (c = (u = (m = l.value) == null ? void 0 : m.apForm) == null ? void 0 : u.setFieldsValue) == null || c.call(u, t), N(() => {
|
|
53
53
|
e == null || e();
|
|
54
54
|
});
|
|
55
55
|
}, h = (e) => {
|
|
56
56
|
f = e;
|
|
57
57
|
const a = C(e);
|
|
58
|
-
|
|
58
|
+
b(a);
|
|
59
59
|
}, q = (e) => {
|
|
60
60
|
h({
|
|
61
61
|
...f,
|
|
@@ -78,7 +78,7 @@ const oe = ({
|
|
|
78
78
|
q({
|
|
79
79
|
current: r > 0 ? r : 1
|
|
80
80
|
});
|
|
81
|
-
},
|
|
81
|
+
}, y = (e, a, t) => {
|
|
82
82
|
var m, u;
|
|
83
83
|
const r = ((u = (m = l.value) == null ? void 0 : m.apForm) == null ? void 0 : u.getFieldsValue(!0)) || {};
|
|
84
84
|
i.value = e.current, g.value = e.pageSize;
|
|
@@ -103,9 +103,9 @@ const oe = ({
|
|
|
103
103
|
current: o(i),
|
|
104
104
|
pageSize: o(g),
|
|
105
105
|
...e
|
|
106
|
-
},
|
|
106
|
+
}, !$) {
|
|
107
107
|
const r = C(f);
|
|
108
|
-
|
|
108
|
+
b(r);
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
111
|
const H = S(() => o(n).total === 0 ? "-" : `${o(i.value)}/${Math.ceil(
|
|
@@ -118,12 +118,12 @@ const oe = ({
|
|
|
118
118
|
total: o(n).total,
|
|
119
119
|
showSizeChanger: !0,
|
|
120
120
|
showQuickJumper: !0,
|
|
121
|
-
showTotal: (e) => `${
|
|
121
|
+
showTotal: (e) => `${V("ap.apTable.pagination.totalLeft", { total: e })} ${V(
|
|
122
122
|
"ap.apTable.pagination.totalRight",
|
|
123
123
|
{ page: o(H) }
|
|
124
124
|
)}`
|
|
125
125
|
},
|
|
126
|
-
onChange:
|
|
126
|
+
onChange: y,
|
|
127
127
|
dataSource: o(n).records
|
|
128
128
|
}));
|
|
129
129
|
return {
|
|
@@ -135,7 +135,7 @@ const oe = ({
|
|
|
135
135
|
data: n,
|
|
136
136
|
current: i,
|
|
137
137
|
pageSize: g,
|
|
138
|
-
handleTableChange:
|
|
138
|
+
handleTableChange: y,
|
|
139
139
|
tableProps: I,
|
|
140
140
|
dataSource: S(() => o(n).records)
|
|
141
141
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("dayjs"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("dayjs"),S=require("ant-design-vue"),s=require("./constant.js");require("../../hooks/index.js");const v=require("lodash-unified"),T=require("./helper.js"),_=require("@aplus-frontend/utils"),M=require("../hooks/use-default-placeholder.js"),w=require("../../hooks/useControllableValue.js"),D=e.defineComponent({name:"ApFieldDate",__name:"index",props:{mode:{default:"edit"},class:{},style:{},dropdownClassName:{},dropdownAlign:{},popupStyle:{},transitionName:{},placeholder:{},allowClear:{type:Boolean,default:!0},autofocus:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},tabindex:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},inputReadOnly:{type:Boolean,default:void 0},id:{},presets:{},suffixIcon:{type:[Object,String,Number,Boolean,null,Array],default:void 0},clearIcon:{type:[Object,String,Number,Boolean,null,Array],default:void 0},getPopupContainer:{},panelRender:{},inputRender:{},onOpenChange:{},onPanelChange:{},onFocus:{},onBlur:{},onMousedown:{},onMouseup:{},onMouseenter:{},onMouseleave:{},onClick:{},onContextmenu:{},onKeydown:{},role:{},name:{},autocomplete:{},direction:{},showToday:{type:Boolean,default:void 0},showTime:{type:Boolean,default:void 0},picker:{},prefixCls:{},defaultPickerValue:{},disabledDate:{},dateRender:{},monthCellRender:{},renderExtraFooter:{},onSelect:{},locale:{},size:{},bordered:{type:Boolean,default:void 0},showNow:{type:Boolean,default:void 0},disabledTime:{},defaultOpenValue:{},showHour:{type:Boolean,default:void 0},showMinute:{type:Boolean,default:void 0},showSecond:{type:Boolean,default:void 0},use12Hours:{type:Boolean,default:void 0},hourStep:{},minuteStep:{},secondStep:{},hideDisabledOptions:{type:Boolean,default:void 0},disabledHours:{},disabledMinutes:{},disabledSeconds:{},valueFormat:{},emptyText:{default:"--"},value:{},defaultValue:{},onChange:{},onOk:{},format:{default:"Y-D"},timezone:{}},emits:["update:value"],setup(y,{emit:h}){const o=y,g=h,{value:c,updateValue:f}=w.useControllableValue(o,g),B=M.useDefaultPlaceholder("Date",o),l=e.computed(()=>s.ApFieldDatePresetFormats.indexOf(o.format)>-1),r=e.computed(()=>l.value?s.PRESET_FORMAT_MAP[o.format]:o.format),p=e.computed(()=>{if(v.isNil(e.unref(c)))return;let t=u(e.unref(c));return o.timezone&&(t=u(_.getTimeFormatToZone(e.unref(c),o.timezone))),t}),P=e.computed(()=>e.unref(l)?o.picker??s.PRESET_FORMAT_PICK_MAP[o.format]:o.picker),k=e.computed(()=>{const t=e.unref(l)?s.PRESET_FORMAT_TIME_MAP[o.format]:{};return{...v.omit(o,["value","defaultValue","onChange","onOk","format","onUpdate:value","mode"]),placeholder:e.unref(B),...t}}),m=T.formatDayWithTimezone(o.timezone);function O(t){if(v.isNil(t)){f(null);return}const n=u(t);e.unref(l)?f(m(n,e.unref(r))):f(n.valueOf())}function C(t,n){var i;const d=u(t),a=t?e.unref(l)?m(d,e.unref(r)):d.valueOf():null;(i=o.onChange)==null||i.call(o,a,n)}function b(t){var a;const n=u(t),d=t?e.unref(l)?m(n,e.unref(r)):n.valueOf():null;(a=o.onOk)==null||a.call(o,d)}return(t,n)=>t.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(p.value?e.unref(u)(p.value).format(r.value):t.emptyText),1)],64)):(e.openBlock(),e.createBlock(e.unref(S.DatePicker),e.mergeProps({key:1},k.value,{value:p.value,format:r.value,"onUpdate:value":O,onChange:C,onOk:b,picker:P.value}),e.createSlots({_:2},[e.renderList(t.$slots,(d,a)=>({name:a,fn:e.withCtx(i=>[e.renderSlot(t.$slots,a,e.normalizeProps(e.guardReactiveProps(i||{})))])}))]),1040,["value","format","picker"]))}});exports.default=D;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../date/constant.js");require("../../hooks/index.js");const l=require("lodash-unified"),s=require("dayjs"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../date/constant.js");require("../../hooks/index.js");const l=require("lodash-unified"),s=require("dayjs"),_=require("ant-design-vue"),h=require("../date/helper.js"),w=require("@ant-design/icons-vue"),F=require("../../utils/index.js"),S=require("@aplus-frontend/utils"),V=require("../hooks/use-default-placeholder.js"),q=require("../../hooks/useControllableValue.js"),A=e.defineComponent({__name:"index",props:{mode:{default:"edit"},class:{},style:{},id:{},defaultPickerValue:{},placeholder:{},disabled:{type:[Boolean,Array],default:void 0},disabledTime:{},presets:{},ranges:{},separator:{type:[Object,String,Number,Boolean,null,Array],default:void 0},allowEmpty:{},onCalendarChange:{},onFocus:{},onBlur:{},onMousedown:{},onMouseup:{},onMouseenter:{},onMouseleave:{},onClick:{},direction:{},autocomplete:{},activePickerIndex:{},dateRender:{},panelRender:{},dropdownClassName:{},dropdownAlign:{},popupStyle:{},transitionName:{},allowClear:{type:Boolean,default:!0},autofocus:{type:Boolean,default:void 0},tabindex:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},inputReadOnly:{type:Boolean,default:void 0},suffixIcon:{type:[Object,String,Number,Boolean,null,Array],default:void 0},clearIcon:{type:[Object,String,Number,Boolean,null,Array],default:void 0},getPopupContainer:{},inputRender:{},onOpenChange:{},onContextmenu:{},onKeydown:{},role:{},name:{},picker:{},prefixCls:{},disabledDate:{},monthCellRender:{},locale:{},size:{},bordered:{type:Boolean,default:void 0},showTime:{type:Boolean,default:void 0},showNow:{type:Boolean,default:void 0},order:{type:Boolean,default:void 0},defaultOpenValue:{},showHour:{type:Boolean,default:void 0},showMinute:{type:Boolean,default:void 0},showSecond:{type:Boolean,default:void 0},use12Hours:{type:Boolean,default:void 0},hourStep:{},minuteStep:{},secondStep:{},hideDisabledOptions:{type:Boolean,default:void 0},disabledHours:{},disabledMinutes:{},disabledSeconds:{},valueFormat:{},emptyText:{default:"--"},value:{},defaultValue:{},onChange:{},onOk:{},format:{default:"Y-D"},timezone:{}},emits:["update:value"],setup(B,{emit:T}){const t=B,O=T,i=e.computed(()=>y.ApFieldDatePresetFormats.indexOf(t.format)>-1),u=e.computed(()=>i.value?y.PRESET_FORMAT_MAP[t.format]:t.format),{value:p,updateValue:g}=q.useControllableValue(t,O),P=V.useDefaultPlaceholder("DateRange",t),f=h.formatDayWithTimezone(t.timezone),m=e.computed(()=>{var r,d;const o=e.unref(p);if(l.isNil(o)||!(o!=null&&o.length))return o;const a=t.timezone?S.getTimeFormatToZone(e.unref(p)[0],t.timezone):(r=e.unref(p))==null?void 0:r[0],n=t.timezone?S.getTimeFormatToZone(e.unref(p)[1],t.timezone):(d=e.unref(p))==null?void 0:d[1];return[s(a),s(n)]}),D=e.computed(()=>e.unref(i)?t.picker??y.PRESET_FORMAT_PICK_MAP[t.format]:t.picker),C=e.computed(()=>{const o=e.unref(i)?y.PRESET_FORMAT_TIME_MAP[t.format]:{};return{...F.omitUndefined(l.omit(t,["value","onUpdate:value","onChange","onOk","format","mode"])),placeholder:e.unref(P),...o}});function b(o){if(!o){g(o);return}let a=l.isString(o[0])?s(o[0]):o[0],n=l.isString(o[1])?s(o[1]):o[1];e.unref(i)?g([f(a,e.unref(u)),f(n,e.unref(u),!1)]):g([h.formatValue(a),h.formatValue(n)])}function M(o){var c;const a=l.isString(o[0])?s(o[0]):o[0],n=l.isString(o[1])?s(o[1]):o[1],r=o[0]?e.unref(i)?f(a,e.unref(u)):a.valueOf():null,d=o[1]?e.unref(i)?f(n,e.unref(u),!1):n.valueOf():null;(c=t.onOk)==null||c.call(t,[r,d])}function R(o,a){var v,k;if(l.isNil(o)){(v=t.onChange)==null||v.call(t,o,a);return}const n=l.isString(o[0])?s(o[0]):o[0],r=l.isString(o[1])?s(o[1]):o[1],d=o[0]?e.unref(i)?f(n,e.unref(u)):n.valueOf():null,c=o[1]?e.unref(i)?f(r,e.unref(u),!1):r.valueOf():null;(k=t.onChange)==null||k.call(t,[d,c],a)}return(o,a)=>{var n,r;return o.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[m.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString((n=m.value[0])==null?void 0:n.format(u.value))+" ",1),e.renderSlot(o.$slots,"readModeSeparator",{},()=>[e.createVNode(e.unref(w.SwapRightOutlined))]),e.createTextVNode(" "+e.toDisplayString((r=m.value[1])==null?void 0:r.format(u.value)),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.emptyText),1)],64))],64)):(e.openBlock(),e.createBlock(e.unref(_.DatePicker).RangePicker,e.mergeProps({key:1},C.value,{value:m.value,"onUpdate:value":b,onChange:R,picker:D.value,format:u.value,onOk:M}),e.createSlots({_:2},[e.renderList(e.unref(l.omit)(o.$slots,"readModeSeparator"),(d,c)=>({name:c,fn:e.withCtx(v=>[e.renderSlot(o.$slots,c,e.normalizeProps(e.guardReactiveProps(v||{})))])}))]),1040,["value","picker","format"]))}}});exports.default=A;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { ApFieldTextPasswordProps, ApFieldTextProps, ApFieldTextAreaProps, ApFieldNumberProps, ApFieldDateProps, ApFieldDateRangeProps, ApFieldSelectProps, BasicApFieldProps } from '../interface';
|
|
3
|
+
|
|
4
|
+
type FieldType = {
|
|
5
|
+
Text: ApFieldTextProps;
|
|
6
|
+
TextArea: ApFieldTextAreaProps;
|
|
7
|
+
Number: ApFieldNumberProps;
|
|
8
|
+
Date: ApFieldDateProps;
|
|
9
|
+
DateRange: ApFieldDateRangeProps;
|
|
10
|
+
Select: ApFieldSelectProps;
|
|
11
|
+
TextPassword: ApFieldTextPasswordProps;
|
|
12
|
+
};
|
|
13
|
+
export declare const useDefaultPlaceholder: <FieldName extends keyof FieldType>(fieldName: FieldName, props: BasicApFieldProps<{
|
|
14
|
+
placeholder?: FieldType[FieldName]['placeholder'];
|
|
15
|
+
}>) => ComputedRef<FieldType[FieldName]["placeholder"] | undefined>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue");require("../../config-provider/index.js");const c=require("../../utils/index.js"),n=require("../../config-provider/hooks/use-locale.js"),u=["Select","Date"],s=["Text","TextArea","Number","TextPassword"],i=(t,o)=>{const{t:e}=n.useLocale();return r.computed(()=>{if(c.isDef(o.placeholder))return o.placeholder;if(t==="DateRange")return[e("ap.common.chooseText"),e("ap.common.chooseText")];if(u.includes(t))return e("ap.common.chooseText");if(s.includes(t))return e("ap.common.inputText")})};exports.useDefaultPlaceholder=i;
|
|
@@ -108,6 +108,7 @@ export type ApFieldSelectProps = BasicApFieldProps<Omit<SelectProps, 'mode' | 'v
|
|
|
108
108
|
export type ApFieldSelectSlots = {
|
|
109
109
|
focus: () => void;
|
|
110
110
|
blur: () => void;
|
|
111
|
+
request: (clear?: boolean) => Promise<void>;
|
|
111
112
|
};
|
|
112
113
|
export type ApFieldSliderProps = BasicApFieldProps<SliderProps> & {
|
|
113
114
|
emptyText?: string;
|
|
@@ -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"),k=require("ant-design-vue");require("../../hooks/index.js");const s=require("lodash-unified"),h=require("@fruits-chain/utils"),g=require("./helper.js");require("../../config-provider/index.js");require("./style.css");const S=require("../hooks/use-default-placeholder.js"),q=require("../../config-provider/hooks/use-namespace.js"),C=require("../../hooks/useControllableValue.js"),N=e.defineComponent({name:"ApFieldNumber",__name:"index",props:{mode:{},class:{},style:{},size:{},bordered:{type:Boolean,default:!0},placeholder:{},name:{},id:{},type:{},addonBefore:{},addonAfter:{},prefix:{},"onUpdate:value":{},valueModifiers:{},status:{},stringMode:{type:Boolean},defaultValue:{},value:{},prefixCls:{},min:{default:-1/0},max:{default:1/0},step:{default:1},tabindex:{},controls:{type:Boolean,default:!0},readonly:{type:Boolean},disabled:{type:Boolean},autofocus:{type:Boolean},keyboard:{type:Boolean,default:!0},parser:{},formatter:{},precision:{},decimalSeparator:{},onInput:{},onChange:{},onPressEnter:{},onStep:{},onBlur:{},onFocus:{},emptyText:{default:"--"},thousands:{type:Boolean,default:!1},limitDecimalsRetain:{type:Boolean}},emits:["update:value"],setup(i,{expose:d,emit:p}){const c=p,{b:a}=q.useNamespace("field-number"),o=i,l=e.ref(),{value:n,updateValue:f}=C.useControllableValue(o,c),m=S.useDefaultPlaceholder("Number",o),y=e.computed(()=>{let t=e.unref(n);if(s.isNil(t))return o.emptyText;let r=o.thousands?h.toDecimalMark(t,o.precision):String(t);return o.precision&&o.limitDecimalsRetain&&(r=g.addZeroToDecimalPlaces(r,o.precision)),r});function v(){var t;(t=l.value)==null||t.focus()}function B(){var t;(t=l.value)==null||t.blur()}return d({focus:v,blur:B}),(t,r)=>t.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.$slots.prefix?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(a)("label-left"))},[e.renderSlot(t.$slots,"prefix")],2)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(y.value),1),t.$slots.addonAfter?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(a)("label-right"))},[e.renderSlot(t.$slots,"addonAfter")],2)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(e.unref(k.InputNumber),e.mergeProps({key:1},e.unref(s.omit)(o,["value","onUpdate:value"]),{placeholder:e.unref(m),value:e.unref(n),"onUpdate:value":e.unref(f),ref_key:"inputRef",ref:l}),e.createSlots({_:2},[e.renderList(t.$slots,(V,u)=>({name:u,fn:e.withCtx(b=>[e.renderSlot(t.$slots,u,e.normalizeProps(e.guardReactiveProps(b||{})))])}))]),1040,["placeholder","value","onUpdate:value"]))}});exports.default=N;
|
|
@@ -15,6 +15,7 @@ type ApFieldSelectSlots = {
|
|
|
15
15
|
optionLabel: any;
|
|
16
16
|
default: any;
|
|
17
17
|
};
|
|
18
|
+
declare function requestIfNeeded(clear?: boolean): Promise<void>;
|
|
18
19
|
declare function focus(): void;
|
|
19
20
|
declare function blur(): void;
|
|
20
21
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldSelectProps>, {
|
|
@@ -38,6 +39,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
38
39
|
}>, {
|
|
39
40
|
focus: typeof focus;
|
|
40
41
|
blur: typeof blur;
|
|
42
|
+
request: typeof requestIfNeeded;
|
|
41
43
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
42
44
|
"update:value": (...args: any[]) => void;
|
|
43
45
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldSelectProps>, {
|