@aplus-frontend/ui 7.10.3 → 7.10.5
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/interface.d.ts +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +196 -412
- package/es/src/ap-field/slider/index.vue.mjs +50 -39
- package/es/src/business/ap-attachment/ApAttachment.d.ts +2 -8
- package/es/src/business/ap-attachment/ApAttachment.mjs +46 -40
- package/es/src/business/ap-attachment/constans.d.ts +1 -4
- package/es/src/business/ap-attachment/constans.mjs +3 -6
- package/es/src/business/ap-attachment/index.d.ts +3 -12
- package/es/src/business/ap-download/ap-download.vue.d.ts +2 -1
- package/es/src/business/ap-download/ap-download.vue.mjs +10 -10
- package/es/src/business/ap-image/ApImage.vue2.mjs +49 -46
- package/es/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/es/src/business/ap-image/hooks/useOss.mjs +30 -28
- package/es/src/business/ap-image/interface.d.ts +1 -1
- package/es/src/business/ap-ladder/components/RenderValue.mjs +25 -22
- package/es/src/business/ap-ladder/utils.d.ts +1 -0
- package/es/src/business/ap-ladder/utils.mjs +10 -9
- package/es/src/business/ap-title/ApTitle.vue.d.ts +1 -1
- package/es/src/business/ap-title/index.d.ts +3 -3
- package/es/src/business/ap-title/interface.d.ts +1 -1
- package/es/src/business/ap-upload/apUpload.vue.d.ts +10 -1
- package/es/src/business/ap-upload/apUpload.vue.mjs +22 -18
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +128 -123
- package/es/src/business/ap-upload/components/Picture.vue2.mjs +150 -147
- package/es/src/business/ap-upload/components/SingleFile.vue2.mjs +130 -127
- package/es/src/business/ap-upload/hooks/useOss.d.ts +2 -1
- package/es/src/business/ap-upload/hooks/useOss.mjs +52 -51
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +11 -10
- package/es/src/business/ap-upload-file/hook/useOss.d.ts +6 -1
- package/es/src/business/ap-upload-file/hook/useOss.mjs +19 -16
- package/es/src/business/ap-upload-file/interface.d.ts +3 -1
- package/es/src/business/ap-upload-file/utils/upload.mjs +22 -20
- package/es/src/config-provider/constants.d.ts +2 -2
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ap-field/interface.d.ts +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +196 -412
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.d.ts +2 -8
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/constans.d.ts +1 -4
- package/lib/src/business/ap-attachment/constans.js +1 -1
- package/lib/src/business/ap-attachment/index.d.ts +3 -12
- package/lib/src/business/ap-download/ap-download.vue.d.ts +2 -1
- package/lib/src/business/ap-download/ap-download.vue.js +1 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-image/hooks/useOss.js +1 -1
- package/lib/src/business/ap-image/interface.d.ts +1 -1
- package/lib/src/business/ap-ladder/components/RenderValue.js +1 -1
- package/lib/src/business/ap-ladder/utils.d.ts +1 -0
- package/lib/src/business/ap-ladder/utils.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue.d.ts +1 -1
- package/lib/src/business/ap-title/index.d.ts +3 -3
- package/lib/src/business/ap-title/interface.d.ts +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +10 -1
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/hooks/useOss.d.ts +2 -1
- package/lib/src/business/ap-upload/hooks/useOss.js +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useOss.d.ts +6 -1
- package/lib/src/business/ap-upload-file/hook/useOss.js +1 -1
- package/lib/src/business/ap-upload-file/interface.d.ts +3 -1
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/config-provider/constants.d.ts +2 -2
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +3 -3
|
@@ -1,46 +1,48 @@
|
|
|
1
|
-
import { createOssInstance as
|
|
2
|
-
const
|
|
3
|
-
let n,
|
|
4
|
-
function
|
|
5
|
-
n =
|
|
1
|
+
import { createOssInstance as u } from "@aplus-frontend/oss";
|
|
2
|
+
const g = 1e4;
|
|
3
|
+
let n, i;
|
|
4
|
+
function _(t, s) {
|
|
5
|
+
n = t, i = s;
|
|
6
6
|
}
|
|
7
|
-
const
|
|
7
|
+
const f = {
|
|
8
8
|
"zh-cn": "zh_CN",
|
|
9
9
|
en: "en_US"
|
|
10
10
|
};
|
|
11
|
-
function
|
|
12
|
-
return
|
|
11
|
+
function m() {
|
|
12
|
+
return f[i.value] ?? "zh_CN";
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
async function
|
|
16
|
-
if (!
|
|
14
|
+
const c = /* @__PURE__ */ new Map();
|
|
15
|
+
async function w(t, s) {
|
|
16
|
+
if (!t)
|
|
17
17
|
throw new Error(`${n("ap.apUpload.pleasePass")}getOssAccess`);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
18
|
+
const a = s || "ap_image_default_bucket";
|
|
19
|
+
let e = c.get(a);
|
|
20
|
+
return e?.createDate && e.createDate < Date.now() + g && e?.oss || (e = {
|
|
21
|
+
oss: new Promise((l, p) => {
|
|
22
|
+
const o = u();
|
|
23
|
+
o.initOssClient({
|
|
24
|
+
getOssAccess: t,
|
|
25
|
+
locale: m(),
|
|
26
|
+
onFailure: (r) => {
|
|
27
|
+
p(
|
|
28
|
+
typeof r?.message == "string" ? r.message : n("ap.apUpload.FailedToObtainOssTemporaryPermissions")
|
|
27
29
|
);
|
|
28
30
|
}
|
|
29
31
|
}).then(() => {
|
|
30
|
-
|
|
32
|
+
l(o);
|
|
31
33
|
});
|
|
32
34
|
}),
|
|
33
35
|
createDate: Date.now()
|
|
34
|
-
}),
|
|
36
|
+
}, c.set(a, e)), e.oss;
|
|
35
37
|
}
|
|
36
|
-
function
|
|
37
|
-
oss:
|
|
38
|
+
function U({
|
|
39
|
+
oss: t,
|
|
38
40
|
fileName: s
|
|
39
41
|
}) {
|
|
40
|
-
return
|
|
42
|
+
return t.getSignatureUrl(s);
|
|
41
43
|
}
|
|
42
44
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
w as getOssInstance,
|
|
46
|
+
U as getSignatureUrl,
|
|
47
|
+
_ as injectLocaleToOss
|
|
46
48
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { accessCreate } from '@aplus-frontend/oss';
|
|
2
2
|
import { UiModeType } from '../../config-provider';
|
|
3
3
|
export interface ApImageProps {
|
|
4
|
-
getOssAccess?: () => Promise<accessCreate>;
|
|
4
|
+
getOssAccess?: (bucket?: string) => Promise<accessCreate>;
|
|
5
5
|
width?: number | string;
|
|
6
6
|
height?: number | string;
|
|
7
7
|
alt?: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as p, createVNode as e, Fragment as o } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
3
|
+
import { ApCopy as d } from "../../ap-copy/index.mjs";
|
|
4
|
+
import { isConstLabel as v, convertValue as n, renderValue as C, isVNodeOrFunction as k } from "../utils.mjs";
|
|
5
|
+
import { useNamespace as V } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
6
|
+
const h = /* @__PURE__ */ p({
|
|
6
7
|
name: "ApLadderValues",
|
|
7
8
|
props: {
|
|
8
9
|
labelValue: {
|
|
@@ -21,24 +22,30 @@ const f = /* @__PURE__ */ c({
|
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
},
|
|
24
|
-
setup(
|
|
25
|
-
emit:
|
|
25
|
+
setup(r, {
|
|
26
|
+
emit: i
|
|
26
27
|
}) {
|
|
27
28
|
return () => {
|
|
28
29
|
const {
|
|
29
30
|
labelValue: l,
|
|
30
|
-
labelValues:
|
|
31
|
-
} =
|
|
31
|
+
labelValues: s
|
|
32
|
+
} = r, u = v(l.label) ? e(d, {
|
|
33
|
+
text: n(l.value, {
|
|
34
|
+
...l
|
|
35
|
+
})
|
|
36
|
+
}, null) : n(l.value, {
|
|
37
|
+
...l
|
|
38
|
+
}), {
|
|
32
39
|
e: a
|
|
33
|
-
} =
|
|
34
|
-
|
|
40
|
+
} = V("ap-ladder"), c = (t) => {
|
|
41
|
+
i("handleClick", t);
|
|
35
42
|
};
|
|
36
|
-
return e(
|
|
43
|
+
return e(o, null, [e("span", {
|
|
37
44
|
class: a("value-group-value"),
|
|
38
45
|
title: String(n(l.value, {
|
|
39
46
|
...l
|
|
40
47
|
}))
|
|
41
|
-
}, [
|
|
48
|
+
}, [k(l.value) ? C(l.value) : l.link ? e("a", {
|
|
42
49
|
href: l.link,
|
|
43
50
|
target: "_blank",
|
|
44
51
|
class: a("value-group-link"),
|
|
@@ -46,23 +53,19 @@ const f = /* @__PURE__ */ c({
|
|
|
46
53
|
style: l.linkColor ? {
|
|
47
54
|
color: l.linkColor
|
|
48
55
|
} : null,
|
|
49
|
-
onClick: (
|
|
50
|
-
|
|
56
|
+
onClick: (t) => {
|
|
57
|
+
t.preventDefault(), c(l);
|
|
51
58
|
}
|
|
52
|
-
}, [
|
|
53
|
-
...l
|
|
54
|
-
})]) : e(t, null, [e("span", {
|
|
59
|
+
}, [u]) : e(o, null, [e("span", {
|
|
55
60
|
class: [l.handleValueClick ? a("value-group-link") : null],
|
|
56
61
|
title: String(l.value),
|
|
57
62
|
style: l.valueColor ? {
|
|
58
63
|
color: l.valueColor
|
|
59
64
|
} : null,
|
|
60
65
|
onClick: () => {
|
|
61
|
-
l.handleValueClick && l.handleValueClick(
|
|
66
|
+
l.handleValueClick && l.handleValueClick(s);
|
|
62
67
|
}
|
|
63
|
-
}, [
|
|
64
|
-
...l
|
|
65
|
-
})]), l.unit && e("span", {
|
|
68
|
+
}, [u]), l.unit && e("span", {
|
|
66
69
|
class: a("value-group-unit"),
|
|
67
70
|
title: String(n(l.value, {
|
|
68
71
|
...l
|
|
@@ -75,5 +78,5 @@ const f = /* @__PURE__ */ c({
|
|
|
75
78
|
}
|
|
76
79
|
});
|
|
77
80
|
export {
|
|
78
|
-
|
|
81
|
+
h as default
|
|
79
82
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isVNode as
|
|
1
|
+
import { isVNode as n, h as e } from "vue";
|
|
2
2
|
import { locales as o } from "./interface.mjs";
|
|
3
|
-
const
|
|
3
|
+
const s = (r) => r == null || typeof r == "string" && r.trim() === "", y = (r, t = {}) => typeof r == "string" || typeof r == "number" ? String(r) + JSON.stringify(t) : "complex-value", d = (r, t = {
|
|
4
4
|
rawValue: !0,
|
|
5
5
|
precision: 2,
|
|
6
6
|
thousand: !0,
|
|
@@ -24,8 +24,8 @@ const y = (r) => r == null || typeof r == "string" && r.trim() === "", d = (r, t
|
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
if (t.thousand) {
|
|
27
|
-
const [
|
|
28
|
-
return `${
|
|
27
|
+
const [c, i] = r.toFixed(t.precision ? t.precision : 2).split(".");
|
|
28
|
+
return `${c.replace(
|
|
29
29
|
/(\d)(?=(\d{3})+(?!\d))/g,
|
|
30
30
|
`$1${t.thousandSeparator ? t.thousandSeparator : ","}`
|
|
31
31
|
)}.${i}`;
|
|
@@ -33,11 +33,12 @@ const y = (r) => r == null || typeof r == "string" && r.trim() === "", d = (r, t
|
|
|
33
33
|
return r.toFixed(t.precision ? t.precision : 2);
|
|
34
34
|
}
|
|
35
35
|
return r;
|
|
36
|
-
},
|
|
36
|
+
}, p = (r) => n(r) || typeof r == "function", a = (r) => n(r) ? e(r) : typeof r == "function" ? e(r()) : null, l = (r) => ["ASIN", "MSKU", "aSKU", "SKU"].includes(r);
|
|
37
37
|
export {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
s as
|
|
38
|
+
d as convertValue,
|
|
39
|
+
y as createMemoizeKey,
|
|
40
|
+
l as isConstLabel,
|
|
41
|
+
s as isNull,
|
|
42
|
+
p as isVNodeOrFunction,
|
|
42
43
|
a as renderValue
|
|
43
44
|
};
|
|
@@ -14,7 +14,7 @@ declare const __VLS_component: DefineComponent<ApTitleProps, {}, {}, {}, {}, Com
|
|
|
14
14
|
title: string;
|
|
15
15
|
placement: "top" | "left" | "right" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
16
16
|
trigger: "hover" | "focus" | "click" | "contextmenu";
|
|
17
|
-
helpMessage:
|
|
17
|
+
helpMessage: any;
|
|
18
18
|
helpIconColor: string;
|
|
19
19
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -6,7 +6,7 @@ declare const ApTitle: {
|
|
|
6
6
|
title: string;
|
|
7
7
|
placement: "top" | "left" | "right" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
8
8
|
trigger: "hover" | "focus" | "click" | "contextmenu";
|
|
9
|
-
helpMessage:
|
|
9
|
+
helpMessage: any;
|
|
10
10
|
helpIconColor: string;
|
|
11
11
|
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
12
12
|
P: {};
|
|
@@ -19,7 +19,7 @@ declare const ApTitle: {
|
|
|
19
19
|
title: string;
|
|
20
20
|
placement: "top" | "left" | "right" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
21
21
|
trigger: "hover" | "focus" | "click" | "contextmenu";
|
|
22
|
-
helpMessage:
|
|
22
|
+
helpMessage: any;
|
|
23
23
|
helpIconColor: string;
|
|
24
24
|
}>;
|
|
25
25
|
__isFragment?: never;
|
|
@@ -29,7 +29,7 @@ declare const ApTitle: {
|
|
|
29
29
|
title: string;
|
|
30
30
|
placement: "top" | "left" | "right" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
31
31
|
trigger: "hover" | "focus" | "click" | "contextmenu";
|
|
32
|
-
helpMessage:
|
|
32
|
+
helpMessage: any;
|
|
33
33
|
helpIconColor: string;
|
|
34
34
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
35
35
|
$slots: {
|
|
@@ -89,6 +89,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
89
89
|
type: StringConstructor;
|
|
90
90
|
default: string;
|
|
91
91
|
};
|
|
92
|
+
bucket: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: undefined;
|
|
95
|
+
};
|
|
92
96
|
}>, {
|
|
93
97
|
done: ComputedRef<boolean>;
|
|
94
98
|
clear: typeof clear;
|
|
@@ -172,6 +176,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
172
176
|
type: StringConstructor;
|
|
173
177
|
default: string;
|
|
174
178
|
};
|
|
179
|
+
bucket: {
|
|
180
|
+
type: StringConstructor;
|
|
181
|
+
default: undefined;
|
|
182
|
+
};
|
|
175
183
|
}>> & Readonly<{
|
|
176
184
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
177
185
|
}>, {
|
|
@@ -181,12 +189,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
181
189
|
value: string | unknown[] | Record<string, any>;
|
|
182
190
|
maxCount: number;
|
|
183
191
|
maxSize: number;
|
|
184
|
-
getOssAccess: GetOssAccess;
|
|
185
192
|
needName: boolean | Record<string, any>;
|
|
193
|
+
getOssAccess: GetOssAccess;
|
|
186
194
|
accept: string;
|
|
187
195
|
beforeUpload: BeforeUpload;
|
|
188
196
|
onRemove: Function;
|
|
189
197
|
customRequest: CustomRequest;
|
|
198
|
+
bucket: string;
|
|
190
199
|
dirName: string;
|
|
191
200
|
maxSizeErrorMsg: string;
|
|
192
201
|
acceptErrorMsg: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as _, ref as m, computed as d, provide as t, createElementBlock as U, openBlock as c, normalizeClass as h, unref as r, createBlock as O, resolveDynamicComponent as R, mergeProps as
|
|
1
|
+
import { defineComponent as _, ref as m, computed as d, provide as t, createElementBlock as U, openBlock as c, normalizeClass as h, unref as r, createBlock as O, resolveDynamicComponent as R, mergeProps as k, createSlots as z, renderList as j, withCtx as A, renderSlot as $, normalizeProps as B, guardReactiveProps as T } from "vue";
|
|
2
2
|
import { Form as w } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import "./components/MultipleFile.vue.mjs";
|
|
@@ -92,22 +92,26 @@ const K = ["id"], me = /* @__PURE__ */ _({
|
|
|
92
92
|
baseDirName: {
|
|
93
93
|
type: String,
|
|
94
94
|
default: "Frontend-Upload"
|
|
95
|
+
},
|
|
96
|
+
bucket: {
|
|
97
|
+
type: String,
|
|
98
|
+
default: void 0
|
|
95
99
|
}
|
|
96
100
|
},
|
|
97
101
|
emits: ["update:value"],
|
|
98
102
|
setup(f, { expose: g, emit: v }) {
|
|
99
103
|
const { t: n, lang: y } = q();
|
|
100
104
|
L(n), D(n, y);
|
|
101
|
-
const { b
|
|
105
|
+
const { b } = P("ap-upload"), C = I("ap-upload"), i = m(null), e = f, S = v, x = {
|
|
102
106
|
singleFile: H,
|
|
103
107
|
multipleFile: G,
|
|
104
108
|
picture: V
|
|
105
|
-
},
|
|
109
|
+
}, s = w.useInjectFormItemContext(), F = d({
|
|
106
110
|
get() {
|
|
107
111
|
return e.value;
|
|
108
112
|
},
|
|
109
113
|
set(o) {
|
|
110
|
-
|
|
114
|
+
S("update:value", o), s?.onFieldChange(), e.onChange?.(o);
|
|
111
115
|
}
|
|
112
116
|
}), a = J("apUpload");
|
|
113
117
|
t("value", F), t("dirName", e.dirName ?? a.value?.dirName), t(
|
|
@@ -116,31 +120,31 @@ const K = ["id"], me = /* @__PURE__ */ _({
|
|
|
116
120
|
), t("accept", e.accept ?? a.value?.accept ?? ""), t("maxSize", e.maxSize), t("title", e.title), t("subTitle", e.subTitle), t("maxCount", e.maxCount), t("beforeUpload", e.beforeUpload), t("customRequest", e.customRequest), t("baseDirName", e.baseDirName ?? "Frontend-Upload"), t(
|
|
117
121
|
"getOssAccess",
|
|
118
122
|
e.getOssAccess ?? a.value?.getOssAccess
|
|
119
|
-
), t("maxSizeErrorMsg", e.maxSizeErrorMsg), t("maxCountErrorMsg", e.maxCountErrorMsg), t("acceptErrorMsg", e.acceptErrorMsg), t("onRemove", e.onRemove), t("showUploadErrorMsg", e.showUploadErrorMsg);
|
|
123
|
+
), t("maxSizeErrorMsg", e.maxSizeErrorMsg), t("maxCountErrorMsg", e.maxCountErrorMsg), t("acceptErrorMsg", e.acceptErrorMsg), t("onRemove", e.onRemove), t("showUploadErrorMsg", e.showUploadErrorMsg), t("bucket", e.bucket);
|
|
120
124
|
const N = d(() => l.value === 0), l = m(0);
|
|
121
125
|
t("uploadingCount", l);
|
|
122
126
|
function E() {
|
|
123
|
-
|
|
127
|
+
u(void 0);
|
|
124
128
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
129
|
+
function u(o) {
|
|
130
|
+
i?.value?.setValue?.(o);
|
|
127
131
|
}
|
|
128
132
|
return g({
|
|
129
133
|
done: N,
|
|
130
134
|
clear: E,
|
|
131
|
-
setValue:
|
|
135
|
+
setValue: u
|
|
132
136
|
}), (o, Q) => (c(), U("div", {
|
|
133
|
-
id: r(
|
|
134
|
-
class: h([r(
|
|
137
|
+
id: r(s)?.id.value,
|
|
138
|
+
class: h([r(b)(), r(C)])
|
|
135
139
|
}, [
|
|
136
|
-
(c(), O(R(x[e.type]),
|
|
140
|
+
(c(), O(R(x[e.type]), k(o.$attrs, {
|
|
137
141
|
ref_key: "uploadRef",
|
|
138
|
-
ref:
|
|
139
|
-
}),
|
|
140
|
-
|
|
141
|
-
name:
|
|
142
|
-
fn:
|
|
143
|
-
|
|
142
|
+
ref: i
|
|
143
|
+
}), z({ _: 2 }, [
|
|
144
|
+
j(Object.keys(o.$slots), (p) => ({
|
|
145
|
+
name: p,
|
|
146
|
+
fn: A((M) => [
|
|
147
|
+
$(o.$slots, p, B(T(M || {})))
|
|
144
148
|
])
|
|
145
149
|
}))
|
|
146
150
|
]), 1040))
|