@aplus-frontend/ui 0.2.27 → 0.2.29
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/number/index.vue.d.ts +8 -8
- package/es/src/ap-field/select/index.vue.mjs +10 -10
- package/es/src/ap-field/text/index.vue2.mjs +23 -20
- package/es/src/ap-field/text/password.vue.mjs +19 -16
- package/es/src/ap-field/text-area/index.vue.mjs +7 -4
- package/es/src/ap-form/items/text/index.vue.d.ts +30 -0
- package/es/src/ap-form/items/text/password.vue.d.ts +30 -0
- package/es/src/ap-form/items/text-area/index.vue.d.ts +27 -0
- package/es/src/ap-form/search-form/index.vue.mjs +77 -77
- package/es/src/ap-form/search-form/utils.d.ts +1 -0
- package/es/src/ap-form/search-form/utils.mjs +18 -11
- package/es/src/ap-table/constants.d.ts +90 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +15 -1
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +57 -56
- package/es/src/business/ap-export-group/index.d.ts +57 -35
- package/es/src/business/ap-export-group/interface.d.ts +1 -0
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +5 -5
- package/es/src/business/batch-input-group/index.vue.mjs +35 -32
- package/es/src/locale/lang/en.mjs +2 -1
- package/es/src/locale/lang/zh-cn.mjs +2 -1
- package/lib/src/ap-field/number/index.vue.d.ts +8 -8
- 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/items/text/index.vue.d.ts +30 -0
- package/lib/src/ap-form/items/text/password.vue.d.ts +30 -0
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +27 -0
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.d.ts +1 -0
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-table/constants.d.ts +90 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +15 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +57 -35
- package/lib/src/business/ap-export-group/interface.d.ts +1 -0
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/package.json +5 -5
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { isVNode as
|
|
2
|
-
import { Col as
|
|
1
|
+
import { isVNode as le, defineComponent as re, useSlots as se, ref as ie, unref as o, shallowRef as V, computed as g, watch as j, cloneVNode as ue, createVNode as a, Fragment as _, openBlock as m, createBlock as y, mergeProps as ce, withCtx as S, resolveDynamicComponent as A, createElementBlock as pe, renderList as de } from "vue";
|
|
2
|
+
import { Col as F, Flex as M, Space as fe, Button as E, Row as me } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../item/index.vue2.mjs";
|
|
5
5
|
import "../../hooks/index.mjs";
|
|
6
6
|
import { genRealChildren as D } from "../item-group/helper.mjs";
|
|
7
|
-
import { DoubleRightOutlined as
|
|
7
|
+
import { DoubleRightOutlined as he } from "@ant-design/icons-vue";
|
|
8
8
|
import "../../config-provider/index.mjs";
|
|
9
|
-
import { isArray as
|
|
9
|
+
import { isArray as xe, isBoolean as ye, omit as Ce } from "lodash-unified";
|
|
10
10
|
import { isDef as $ } from "../../utils/index.mjs";
|
|
11
|
-
import { diffFormItem as
|
|
12
|
-
import { useControllableValue as
|
|
13
|
-
import { useNamespace as
|
|
11
|
+
import { execFunc as L, diffFormItem as ge } from "./utils.mjs";
|
|
12
|
+
import { useControllableValue as _e } from "../../hooks/useControllableValue.mjs";
|
|
13
|
+
import { useNamespace as Fe } from "../../config-provider/hooks/use-namespace.mjs";
|
|
14
14
|
import { useGlobalConfig as Be } from "../../config-provider/hooks/use-global-config.mjs";
|
|
15
|
-
import { useLocale as
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
function
|
|
19
|
-
return typeof h == "function" || Object.prototype.toString.call(h) === "[object Object]" && !
|
|
15
|
+
import { useLocale as Re } from "../../config-provider/hooks/use-locale.mjs";
|
|
16
|
+
import U from "../item/index.vue.mjs";
|
|
17
|
+
import Se from "../ap-form.vue2.mjs";
|
|
18
|
+
function Ae(h) {
|
|
19
|
+
return typeof h == "function" || Object.prototype.toString.call(h) === "[object Object]" && !le(h);
|
|
20
20
|
}
|
|
21
|
-
const i = 24,
|
|
21
|
+
const i = 24, qe = /* @__PURE__ */ re({
|
|
22
22
|
name: "ApFormSearchForm",
|
|
23
23
|
__name: "index",
|
|
24
24
|
props: {
|
|
@@ -104,55 +104,55 @@ const i = 24, We = /* @__PURE__ */ le({
|
|
|
104
104
|
},
|
|
105
105
|
emits: ["update:collapse"],
|
|
106
106
|
setup(h, {
|
|
107
|
-
expose:
|
|
108
|
-
emit:
|
|
107
|
+
expose: W,
|
|
108
|
+
emit: q
|
|
109
109
|
}) {
|
|
110
110
|
var N;
|
|
111
|
-
const s =
|
|
111
|
+
const s = se(), n = h, z = q, {
|
|
112
112
|
value: u,
|
|
113
|
-
updateValue:
|
|
114
|
-
} =
|
|
113
|
+
updateValue: H
|
|
114
|
+
} = _e(n, z, {
|
|
115
115
|
valuePropName: "collapse",
|
|
116
116
|
defaultValuePropName: "defaultCollapse"
|
|
117
117
|
}), {
|
|
118
|
-
b:
|
|
119
|
-
} =
|
|
118
|
+
b: G
|
|
119
|
+
} = Fe("ap-form-search-form"), J = Be("uiMode"), {
|
|
120
120
|
t: b
|
|
121
|
-
} =
|
|
122
|
-
function J() {
|
|
123
|
-
z(!o(u));
|
|
124
|
-
}
|
|
121
|
+
} = Re(), C = ie();
|
|
125
122
|
function K() {
|
|
126
|
-
|
|
127
|
-
(t = (e = C.value) == null ? void 0 : e.validateFields()) == null || t.then(a.onSubmit);
|
|
123
|
+
H(!o(u));
|
|
128
124
|
}
|
|
129
125
|
function Q() {
|
|
130
|
-
var e, t
|
|
131
|
-
|
|
126
|
+
var e, t;
|
|
127
|
+
(t = (e = C.value) == null ? void 0 : e.validateFields()) == null || t.then((l) => L(n.onSubmit, l));
|
|
128
|
+
}
|
|
129
|
+
function X() {
|
|
130
|
+
var e, t;
|
|
131
|
+
n.customReset || (t = (e = C.value) == null ? void 0 : e.resetFields) == null || t.call(e), L(n.onReset);
|
|
132
132
|
}
|
|
133
133
|
let v = [];
|
|
134
|
-
const
|
|
134
|
+
const B = V(D(s.default())), p = V((N = s.extra) == null ? void 0 : N.call(s)), w = g(() => Math.floor(i / n.countPerRow));
|
|
135
135
|
j(() => s.default(), (e) => {
|
|
136
|
-
v =
|
|
136
|
+
v = B.value, B.value = ge(v, D(e));
|
|
137
137
|
}), j(() => {
|
|
138
138
|
var e;
|
|
139
139
|
return (e = s.extra) == null ? void 0 : e.call(s);
|
|
140
140
|
}, (e) => {
|
|
141
141
|
p.value = e;
|
|
142
142
|
});
|
|
143
|
-
const
|
|
144
|
-
const e =
|
|
143
|
+
const Y = (e) => $(e) ? (xe(e) ? e : [e]).join("") : Date.now(), R = g(() => {
|
|
144
|
+
const e = B.value, t = [], l = [], r = o(w);
|
|
145
145
|
let d = 0;
|
|
146
146
|
e.forEach((c) => {
|
|
147
147
|
const f = c.props;
|
|
148
|
-
(
|
|
148
|
+
(ye(f.hidden) ? !!f.hidden : $(f.hidden)) ? t.push(c) : (d += f.span || r, l.push(c));
|
|
149
149
|
});
|
|
150
|
-
const k = i - (d + r) % i,
|
|
150
|
+
const k = i - (d + r) % i, ee = d % i < r, te = k < r ? i : k, I = i - r * (o(p) && !n.extraInAction ? 2 : 1), oe = !n.forceExpand && d > I;
|
|
151
151
|
let P = 0, T = 0;
|
|
152
|
-
const
|
|
152
|
+
const ae = l.map((c, f) => {
|
|
153
153
|
const x = c.props, O = x.span || r;
|
|
154
|
-
if (P += O, !
|
|
155
|
-
t.push(
|
|
154
|
+
if (P += O, !n.forceExpand && o(u) && P > I) {
|
|
155
|
+
t.push(ue(c, {
|
|
156
156
|
class: "ant-form-item-hidden",
|
|
157
157
|
hidden: !0
|
|
158
158
|
}));
|
|
@@ -161,82 +161,82 @@ const i = 24, We = /* @__PURE__ */ le({
|
|
|
161
161
|
return T += O, {
|
|
162
162
|
node: c,
|
|
163
163
|
span: x.span || r,
|
|
164
|
-
key: `ApFormSearchFormItem-${f}-${
|
|
164
|
+
key: `ApFormSearchFormItem-${f}-${Y(x.name)}-${x._signal}`
|
|
165
165
|
};
|
|
166
|
-
}).filter(Boolean),
|
|
166
|
+
}).filter(Boolean), ne = i - T - r;
|
|
167
167
|
return {
|
|
168
|
-
hideNode:
|
|
169
|
-
nodes:
|
|
170
|
-
defaultExtraSpan:
|
|
171
|
-
actualExtraSpan:
|
|
172
|
-
showCollapse:
|
|
173
|
-
lastRowOnlyIncludeActionAndExtra:
|
|
168
|
+
hideNode: a(_, null, [t]),
|
|
169
|
+
nodes: ae,
|
|
170
|
+
defaultExtraSpan: te,
|
|
171
|
+
actualExtraSpan: ne,
|
|
172
|
+
showCollapse: oe,
|
|
173
|
+
lastRowOnlyIncludeActionAndExtra: ee
|
|
174
174
|
};
|
|
175
|
-
}),
|
|
175
|
+
}), Z = g(() => {
|
|
176
176
|
let e;
|
|
177
|
-
const t = o(R), l =
|
|
177
|
+
const t = o(R), l = a(F, {
|
|
178
178
|
span: o(w),
|
|
179
179
|
key: "actionWrapper"
|
|
180
180
|
}, {
|
|
181
|
-
default: () => [
|
|
182
|
-
default: () => [
|
|
183
|
-
justify: !o(u) && t.lastRowOnlyIncludeActionAndExtra && !(o(p) &&
|
|
181
|
+
default: () => [a(U, null, {
|
|
182
|
+
default: () => [a(M, {
|
|
183
|
+
justify: !o(u) && t.lastRowOnlyIncludeActionAndExtra && !(o(p) && n.extraInAction) ? "flex-end" : "space-between"
|
|
184
184
|
}, {
|
|
185
|
-
default: () => [
|
|
186
|
-
default: () => [
|
|
185
|
+
default: () => [a(fe, null, {
|
|
186
|
+
default: () => [a(E, {
|
|
187
187
|
type: "primary",
|
|
188
|
-
onClick:
|
|
189
|
-
loading:
|
|
188
|
+
onClick: Q,
|
|
189
|
+
loading: n.submitLoading,
|
|
190
190
|
htmlType: "submit"
|
|
191
191
|
}, {
|
|
192
|
-
default: () => [
|
|
193
|
-
}),
|
|
194
|
-
onClick:
|
|
192
|
+
default: () => [n.searchText || b("ap.apForm.search.search")]
|
|
193
|
+
}), a(E, {
|
|
194
|
+
onClick: X
|
|
195
195
|
}, {
|
|
196
|
-
default: () => [
|
|
197
|
-
}), t.showCollapse ?
|
|
198
|
-
onClick:
|
|
199
|
-
icon:
|
|
200
|
-
style:
|
|
196
|
+
default: () => [n.resetText || b("ap.apForm.search.reset")]
|
|
197
|
+
}), t.showCollapse ? a(E, {
|
|
198
|
+
onClick: K,
|
|
199
|
+
icon: a(he, {
|
|
200
|
+
style: J.value === "aplus" ? "color:#B8C3D1" : "color:#BFBFBF",
|
|
201
201
|
rotate: o(u) ? 90 : -90
|
|
202
202
|
}, null)
|
|
203
203
|
}, null) : null]
|
|
204
|
-
}),
|
|
204
|
+
}), n.extraInAction ? o(p) : null]
|
|
205
205
|
})]
|
|
206
206
|
})]
|
|
207
|
-
}), r = !
|
|
207
|
+
}), r = !n.extraInAction && o(p) ? a(F, {
|
|
208
208
|
span: o(u) ? t.actualExtraSpan : t.defaultExtraSpan,
|
|
209
209
|
key: "extraNode"
|
|
210
210
|
}, {
|
|
211
|
-
default: () => [
|
|
212
|
-
default: () => [
|
|
211
|
+
default: () => [a(U, null, {
|
|
212
|
+
default: () => [a(M, {
|
|
213
213
|
justify: !o(u) && (t.defaultExtraSpan === i || t.lastRowOnlyIncludeActionAndExtra) ? "start" : "flex-end"
|
|
214
|
-
},
|
|
214
|
+
}, Ae(e = o(p)) ? e : {
|
|
215
215
|
default: () => [e]
|
|
216
216
|
})]
|
|
217
217
|
})]
|
|
218
|
-
}) : null, d =
|
|
218
|
+
}) : null, d = a(F, {
|
|
219
219
|
span: t.defaultExtraSpan
|
|
220
220
|
}, null);
|
|
221
|
-
return !o(u) && t.lastRowOnlyIncludeActionAndExtra ?
|
|
221
|
+
return !o(u) && t.lastRowOnlyIncludeActionAndExtra ? a(_, null, [r || d, l]) : a(_, null, [l, r]);
|
|
222
222
|
});
|
|
223
|
-
return
|
|
223
|
+
return W({
|
|
224
224
|
apForm: g(() => o(C))
|
|
225
|
-
}), (e, t) => (m(), y(
|
|
226
|
-
class: o(
|
|
225
|
+
}), (e, t) => (m(), y(Se, ce({
|
|
226
|
+
class: o(G)(),
|
|
227
227
|
ref_key: "apForm",
|
|
228
228
|
ref: C
|
|
229
|
-
}, o(
|
|
230
|
-
default: S(() => [(m(), y(A(R.value.hideNode))),
|
|
229
|
+
}, o(Ce)(n, ["collapse", "defaultCollapse", "onUpdate:collapse", "searchText", "resetText", "onSubmit", "onReset", "extraInAction", "forceExpand", "countPerRow"])), {
|
|
230
|
+
default: S(() => [(m(), y(A(R.value.hideNode))), a(o(me), {
|
|
231
231
|
gutter: 16
|
|
232
232
|
}, {
|
|
233
|
-
default: S(() => [(m(!0),
|
|
233
|
+
default: S(() => [(m(!0), pe(_, null, de(R.value.nodes, (l) => (m(), y(o(F), {
|
|
234
234
|
key: l.key,
|
|
235
235
|
span: l.span
|
|
236
236
|
}, {
|
|
237
237
|
default: S(() => [(m(), y(A(l.node)))]),
|
|
238
238
|
_: 2
|
|
239
|
-
}, 1032, ["span"]))), 128)), (m(), y(A(
|
|
239
|
+
}, 1032, ["span"]))), 128)), (m(), y(A(Z.value)))]),
|
|
240
240
|
_: 1
|
|
241
241
|
})]),
|
|
242
242
|
_: 1
|
|
@@ -244,5 +244,5 @@ const i = 24, We = /* @__PURE__ */ le({
|
|
|
244
244
|
}
|
|
245
245
|
});
|
|
246
246
|
export {
|
|
247
|
-
|
|
247
|
+
qe as default
|
|
248
248
|
};
|
|
@@ -2,3 +2,4 @@ import { VNode, RendererNode, RendererElement } from 'vue';
|
|
|
2
2
|
export declare function diffFormItem(prevNodes: VNode[], current: VNode[]): VNode< RendererNode, RendererElement, {
|
|
3
3
|
[key: string]: any;
|
|
4
4
|
}>[];
|
|
5
|
+
export declare function execFunc(func: any, ...params: any): void;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { cloneVNode as
|
|
2
|
-
import { isArray as
|
|
1
|
+
import { cloneVNode as l } from "vue";
|
|
2
|
+
import { isArray as a, isFunction as p } from "lodash-unified";
|
|
3
3
|
function M(n, r) {
|
|
4
|
-
const t =
|
|
4
|
+
const t = u(n), e = u(r);
|
|
5
5
|
return r.map((o) => {
|
|
6
|
-
const i =
|
|
6
|
+
const i = m(o.props.name), c = e.get(i), s = t.get(i);
|
|
7
7
|
if (!t.get(i) || (c == null ? void 0 : c.index) !== (s == null ? void 0 : s.index))
|
|
8
8
|
return o;
|
|
9
|
-
const
|
|
10
|
-
return JSON.stringify(
|
|
9
|
+
const g = f(s.item), y = f(c.item);
|
|
10
|
+
return JSON.stringify(g) !== JSON.stringify(y) ? o : l(o, { _signal: s.item._signal });
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
|
-
function
|
|
14
|
-
return n ? (
|
|
13
|
+
function m(n) {
|
|
14
|
+
return n ? (a(n) ? n : [n]).map((t) => "" + t).join("") : "";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function u(n) {
|
|
17
17
|
const r = /* @__PURE__ */ new Map();
|
|
18
18
|
return n.forEach((t, e) => {
|
|
19
|
-
const o = t.props, i =
|
|
19
|
+
const o = t.props, i = m(o.name);
|
|
20
20
|
r.set(i, { item: o, index: e });
|
|
21
21
|
}), r;
|
|
22
22
|
}
|
|
@@ -29,6 +29,13 @@ function f(n) {
|
|
|
29
29
|
}
|
|
30
30
|
return r;
|
|
31
31
|
}
|
|
32
|
+
function N(n, ...r) {
|
|
33
|
+
if (a(n))
|
|
34
|
+
for (const t of n)
|
|
35
|
+
p(t) && t(...r);
|
|
36
|
+
else p(n) && n(...r);
|
|
37
|
+
}
|
|
32
38
|
export {
|
|
33
|
-
M as diffFormItem
|
|
39
|
+
M as diffFormItem,
|
|
40
|
+
N as execFunc
|
|
34
41
|
};
|
|
@@ -12805,6 +12805,9 @@ export declare const apTableRenderItemMap: {
|
|
|
12805
12805
|
onKeyup: {
|
|
12806
12806
|
type: PropType<KeyboardEventHandler>;
|
|
12807
12807
|
};
|
|
12808
|
+
onMousedown: {
|
|
12809
|
+
type: PropType<MouseEventHandler>;
|
|
12810
|
+
};
|
|
12808
12811
|
mode: {
|
|
12809
12812
|
type: PropType<FieldMode>;
|
|
12810
12813
|
default: string;
|
|
@@ -12878,6 +12881,12 @@ export declare const apTableRenderItemMap: {
|
|
|
12878
12881
|
onPressEnter: {
|
|
12879
12882
|
type: PropType<KeyboardEventHandler>;
|
|
12880
12883
|
};
|
|
12884
|
+
onMouseUp: {
|
|
12885
|
+
type: PropType<MouseEventHandler>;
|
|
12886
|
+
};
|
|
12887
|
+
onRawInput: {
|
|
12888
|
+
type: PropType<ChangeEventHandler>;
|
|
12889
|
+
};
|
|
12881
12890
|
valueModifiers: {
|
|
12882
12891
|
type: PropType<Record<string, any>>;
|
|
12883
12892
|
};
|
|
@@ -12958,6 +12967,9 @@ export declare const apTableRenderItemMap: {
|
|
|
12958
12967
|
onKeyup: {
|
|
12959
12968
|
type: PropType<KeyboardEventHandler>;
|
|
12960
12969
|
};
|
|
12970
|
+
onMousedown: {
|
|
12971
|
+
type: PropType<MouseEventHandler>;
|
|
12972
|
+
};
|
|
12961
12973
|
mode: {
|
|
12962
12974
|
type: PropType<FieldMode>;
|
|
12963
12975
|
default: string;
|
|
@@ -13031,6 +13043,12 @@ export declare const apTableRenderItemMap: {
|
|
|
13031
13043
|
onPressEnter: {
|
|
13032
13044
|
type: PropType<KeyboardEventHandler>;
|
|
13033
13045
|
};
|
|
13046
|
+
onMouseUp: {
|
|
13047
|
+
type: PropType<MouseEventHandler>;
|
|
13048
|
+
};
|
|
13049
|
+
onRawInput: {
|
|
13050
|
+
type: PropType<ChangeEventHandler>;
|
|
13051
|
+
};
|
|
13034
13052
|
valueModifiers: {
|
|
13035
13053
|
type: PropType<Record<string, any>>;
|
|
13036
13054
|
};
|
|
@@ -13118,6 +13136,9 @@ export declare const apTableRenderItemMap: {
|
|
|
13118
13136
|
onKeyup: {
|
|
13119
13137
|
type: PropType<KeyboardEventHandler>;
|
|
13120
13138
|
};
|
|
13139
|
+
onMousedown: {
|
|
13140
|
+
type: PropType<MouseEventHandler>;
|
|
13141
|
+
};
|
|
13121
13142
|
mode: {
|
|
13122
13143
|
type: PropType<FieldMode>;
|
|
13123
13144
|
default: string;
|
|
@@ -13191,6 +13212,12 @@ export declare const apTableRenderItemMap: {
|
|
|
13191
13212
|
onPressEnter: {
|
|
13192
13213
|
type: PropType<KeyboardEventHandler>;
|
|
13193
13214
|
};
|
|
13215
|
+
onMouseUp: {
|
|
13216
|
+
type: PropType<MouseEventHandler>;
|
|
13217
|
+
};
|
|
13218
|
+
onRawInput: {
|
|
13219
|
+
type: PropType<ChangeEventHandler>;
|
|
13220
|
+
};
|
|
13194
13221
|
valueModifiers: {
|
|
13195
13222
|
type: PropType<Record<string, any>>;
|
|
13196
13223
|
};
|
|
@@ -13281,6 +13308,9 @@ export declare const apTableRenderItemMap: {
|
|
|
13281
13308
|
onKeyup: {
|
|
13282
13309
|
type: PropType<KeyboardEventHandler>;
|
|
13283
13310
|
};
|
|
13311
|
+
onMousedown: {
|
|
13312
|
+
type: PropType<MouseEventHandler>;
|
|
13313
|
+
};
|
|
13284
13314
|
mode: {
|
|
13285
13315
|
type: PropType<FieldMode>;
|
|
13286
13316
|
default: string;
|
|
@@ -13354,6 +13384,12 @@ export declare const apTableRenderItemMap: {
|
|
|
13354
13384
|
onPressEnter: {
|
|
13355
13385
|
type: PropType<KeyboardEventHandler>;
|
|
13356
13386
|
};
|
|
13387
|
+
onMouseUp: {
|
|
13388
|
+
type: PropType<MouseEventHandler>;
|
|
13389
|
+
};
|
|
13390
|
+
onRawInput: {
|
|
13391
|
+
type: PropType<ChangeEventHandler>;
|
|
13392
|
+
};
|
|
13357
13393
|
valueModifiers: {
|
|
13358
13394
|
type: PropType<Record<string, any>>;
|
|
13359
13395
|
};
|
|
@@ -13465,6 +13501,9 @@ export declare const apTableRenderItemMap: {
|
|
|
13465
13501
|
onKeyup: {
|
|
13466
13502
|
type: PropType<KeyboardEventHandler>;
|
|
13467
13503
|
};
|
|
13504
|
+
onMousedown: {
|
|
13505
|
+
type: PropType<MouseEventHandler>;
|
|
13506
|
+
};
|
|
13468
13507
|
mode: {
|
|
13469
13508
|
type: PropType<FieldMode>;
|
|
13470
13509
|
default: string;
|
|
@@ -13535,6 +13574,12 @@ export declare const apTableRenderItemMap: {
|
|
|
13535
13574
|
onPressEnter: {
|
|
13536
13575
|
type: PropType<KeyboardEventHandler>;
|
|
13537
13576
|
};
|
|
13577
|
+
onMouseUp: {
|
|
13578
|
+
type: PropType<MouseEventHandler>;
|
|
13579
|
+
};
|
|
13580
|
+
onRawInput: {
|
|
13581
|
+
type: PropType<ChangeEventHandler>;
|
|
13582
|
+
};
|
|
13538
13583
|
valueModifiers: {
|
|
13539
13584
|
type: PropType<Record<string, any>>;
|
|
13540
13585
|
};
|
|
@@ -13614,6 +13659,9 @@ export declare const apTableRenderItemMap: {
|
|
|
13614
13659
|
onKeyup: {
|
|
13615
13660
|
type: PropType<KeyboardEventHandler>;
|
|
13616
13661
|
};
|
|
13662
|
+
onMousedown: {
|
|
13663
|
+
type: PropType<MouseEventHandler>;
|
|
13664
|
+
};
|
|
13617
13665
|
mode: {
|
|
13618
13666
|
type: PropType<FieldMode>;
|
|
13619
13667
|
default: string;
|
|
@@ -13684,6 +13732,12 @@ export declare const apTableRenderItemMap: {
|
|
|
13684
13732
|
onPressEnter: {
|
|
13685
13733
|
type: PropType<KeyboardEventHandler>;
|
|
13686
13734
|
};
|
|
13735
|
+
onMouseUp: {
|
|
13736
|
+
type: PropType<MouseEventHandler>;
|
|
13737
|
+
};
|
|
13738
|
+
onRawInput: {
|
|
13739
|
+
type: PropType<ChangeEventHandler>;
|
|
13740
|
+
};
|
|
13687
13741
|
valueModifiers: {
|
|
13688
13742
|
type: PropType<Record<string, any>>;
|
|
13689
13743
|
};
|
|
@@ -13949,6 +14003,9 @@ export declare const apTableRenderItemMap: {
|
|
|
13949
14003
|
onKeyup: {
|
|
13950
14004
|
type: PropType<KeyboardEventHandler>;
|
|
13951
14005
|
};
|
|
14006
|
+
onMousedown: {
|
|
14007
|
+
type: PropType<MouseEventHandler>;
|
|
14008
|
+
};
|
|
13952
14009
|
mode: {
|
|
13953
14010
|
type: PropType<FieldMode>;
|
|
13954
14011
|
default: string;
|
|
@@ -14029,6 +14086,12 @@ export declare const apTableRenderItemMap: {
|
|
|
14029
14086
|
onPressEnter: {
|
|
14030
14087
|
type: PropType<KeyboardEventHandler>;
|
|
14031
14088
|
};
|
|
14089
|
+
onMouseUp: {
|
|
14090
|
+
type: PropType<MouseEventHandler>;
|
|
14091
|
+
};
|
|
14092
|
+
onRawInput: {
|
|
14093
|
+
type: PropType<ChangeEventHandler>;
|
|
14094
|
+
};
|
|
14032
14095
|
valueModifiers: {
|
|
14033
14096
|
type: PropType<Record<string, any>>;
|
|
14034
14097
|
};
|
|
@@ -14119,6 +14182,9 @@ export declare const apTableRenderItemMap: {
|
|
|
14119
14182
|
onKeyup: {
|
|
14120
14183
|
type: PropType<KeyboardEventHandler>;
|
|
14121
14184
|
};
|
|
14185
|
+
onMousedown: {
|
|
14186
|
+
type: PropType<MouseEventHandler>;
|
|
14187
|
+
};
|
|
14122
14188
|
mode: {
|
|
14123
14189
|
type: PropType<FieldMode>;
|
|
14124
14190
|
default: string;
|
|
@@ -14199,6 +14265,12 @@ export declare const apTableRenderItemMap: {
|
|
|
14199
14265
|
onPressEnter: {
|
|
14200
14266
|
type: PropType<KeyboardEventHandler>;
|
|
14201
14267
|
};
|
|
14268
|
+
onMouseUp: {
|
|
14269
|
+
type: PropType<MouseEventHandler>;
|
|
14270
|
+
};
|
|
14271
|
+
onRawInput: {
|
|
14272
|
+
type: PropType<ChangeEventHandler>;
|
|
14273
|
+
};
|
|
14202
14274
|
valueModifiers: {
|
|
14203
14275
|
type: PropType<Record<string, any>>;
|
|
14204
14276
|
};
|
|
@@ -14301,6 +14373,9 @@ export declare const apTableRenderItemMap: {
|
|
|
14301
14373
|
onKeyup: {
|
|
14302
14374
|
type: PropType<KeyboardEventHandler>;
|
|
14303
14375
|
};
|
|
14376
|
+
onMousedown: {
|
|
14377
|
+
type: PropType<MouseEventHandler>;
|
|
14378
|
+
};
|
|
14304
14379
|
mode: {
|
|
14305
14380
|
type: PropType<FieldMode>;
|
|
14306
14381
|
default: string;
|
|
@@ -14381,6 +14456,12 @@ export declare const apTableRenderItemMap: {
|
|
|
14381
14456
|
onPressEnter: {
|
|
14382
14457
|
type: PropType<KeyboardEventHandler>;
|
|
14383
14458
|
};
|
|
14459
|
+
onMouseUp: {
|
|
14460
|
+
type: PropType<MouseEventHandler>;
|
|
14461
|
+
};
|
|
14462
|
+
onRawInput: {
|
|
14463
|
+
type: PropType<ChangeEventHandler>;
|
|
14464
|
+
};
|
|
14384
14465
|
valueModifiers: {
|
|
14385
14466
|
type: PropType<Record<string, any>>;
|
|
14386
14467
|
};
|
|
@@ -14483,6 +14564,9 @@ export declare const apTableRenderItemMap: {
|
|
|
14483
14564
|
onKeyup: {
|
|
14484
14565
|
type: PropType<KeyboardEventHandler>;
|
|
14485
14566
|
};
|
|
14567
|
+
onMousedown: {
|
|
14568
|
+
type: PropType<MouseEventHandler>;
|
|
14569
|
+
};
|
|
14486
14570
|
mode: {
|
|
14487
14571
|
type: PropType<FieldMode>;
|
|
14488
14572
|
default: string;
|
|
@@ -14563,6 +14647,12 @@ export declare const apTableRenderItemMap: {
|
|
|
14563
14647
|
onPressEnter: {
|
|
14564
14648
|
type: PropType<KeyboardEventHandler>;
|
|
14565
14649
|
};
|
|
14650
|
+
onMouseUp: {
|
|
14651
|
+
type: PropType<MouseEventHandler>;
|
|
14652
|
+
};
|
|
14653
|
+
onRawInput: {
|
|
14654
|
+
type: PropType<ChangeEventHandler>;
|
|
14655
|
+
};
|
|
14566
14656
|
valueModifiers: {
|
|
14567
14657
|
type: PropType<Record<string, any>>;
|
|
14568
14658
|
};
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import { ApExportGroupProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
declare const _default: DefineComponent<__VLS_TypePropsToOption<ApExportGroupProps>, {
|
|
3
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApExportGroupProps>, {
|
|
4
|
+
successMessage: boolean;
|
|
5
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApExportGroupProps>, {
|
|
6
|
+
successMessage: boolean;
|
|
7
|
+
}>>>, {
|
|
8
|
+
successMessage: boolean | string;
|
|
9
|
+
}, {}>;
|
|
4
10
|
export default _default;
|
|
11
|
+
type __VLS_WithDefaults<P, D> = {
|
|
12
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
13
|
+
default: D[K];
|
|
14
|
+
}> : P[K];
|
|
15
|
+
};
|
|
5
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
6
17
|
type __VLS_TypePropsToOption<T> = {
|
|
7
18
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -11,3 +22,6 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
11
22
|
required: true;
|
|
12
23
|
};
|
|
13
24
|
};
|
|
25
|
+
type __VLS_PrettifyLocal<T> = {
|
|
26
|
+
[K in keyof T]: T[K];
|
|
27
|
+
} & {};
|