@lingshugroup/web-plus 1.0.33 → 1.0.34
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/README.md +1 -1
- package/lib/index/index.cjs +1 -1
- package/lib/index/index.js +48 -44
- package/lib/index/index.js.br +0 -0
- package/lib/index/index.js.gz +0 -0
- package/lib/index.css +1 -1
- package/lib/index.css.br +0 -0
- package/lib/index.css.gz +0 -0
- package/lib/packages/ls-components/components/index/index.cjs +1 -1
- package/lib/packages/ls-components/components/index/index.js +54 -50
- package/lib/packages/ls-components/components/index/index.js.br +0 -0
- package/lib/packages/ls-components/components/index/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview/Index.vue/index.js +3 -3
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index.js +7 -0
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index2.cjs +1 -0
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index2.js +96 -0
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index.js +7 -0
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index2.cjs +1 -0
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index2.js +82 -0
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_docx/types/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_docx/types/index.js +33 -0
- package/lib/packages/ls-components/components/preview_image/Image.vue/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_image/Image.vue/index.js +7 -0
- package/lib/packages/ls-components/components/preview_image/Image.vue/index2.cjs +1 -0
- package/lib/packages/ls-components/components/preview_image/Image.vue/index2.js +335 -0
- package/lib/packages/ls-components/components/preview_image/Image.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_image/Image.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_image/Index.vue/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_image/Index.vue/index.js +7 -0
- package/lib/packages/ls-components/components/preview_image/Index.vue/index2.cjs +1 -0
- package/lib/packages/ls-components/components/preview_image/Index.vue/index2.js +82 -0
- package/lib/packages/ls-components/components/preview_image/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_image/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_image/types/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_image/types/index.js +60 -0
- package/lib/packages/ls-components/components/preview_image/types/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_image/types/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index.js +7 -0
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index2.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index2.js +82 -0
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/Pdf.vue/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/Pdf.vue/index.js +7 -0
- package/lib/packages/ls-components/components/preview_pdf/Pdf.vue/index2.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/Pdf.vue/index2.js +201 -0
- package/lib/packages/ls-components/components/preview_pdf/Pdf.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/Pdf.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/composable/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/composable/index.js +108 -0
- package/lib/packages/ls-components/components/preview_pdf/composable/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/composable/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/Annotation.vue/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/Annotation.vue/index.js +113 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/Annotation.vue/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/Annotation.vue/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/Annotation.vue/index3.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/Annotation.vue/index3.js +5 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/PdfItem.vue/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/PdfItem.vue/index.js +221 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/PdfItem.vue/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/PdfItem.vue/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/PdfItem.vue/index2.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/PdfItem.vue/index2.js +4 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/Text.vue/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/Text.vue/index.js +89 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/Text.vue/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/Text.vue/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/Text.vue/index2.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/Text.vue/index2.js +4 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/XFA.vue/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/XFA.vue/index.js +47 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/XFA.vue/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/XFA.vue/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/XFA.vue/index3.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/XFA.vue/index3.js +5 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/annotations/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/annotations/index.js +158 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/annotations/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/annotations/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/destination/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/destination/index.js +27 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/destination/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/destination/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/highlight/index.cjs +2 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/highlight/index.js +125 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/highlight/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/highlight/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/linkService/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/linkService/index.js +101 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/linkService/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/linkService/index.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/miscellaneous/index.cjs +16 -0
- package/lib/packages/ls-components/components/preview_pdf/pdfs/miscellaneous/index.js +35 -0
- package/lib/packages/ls-components/components/preview_pdf/types/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_pdf/types/index.js +23 -0
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index.js +7 -0
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index2.cjs +1 -0
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index2.js +82 -0
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index.js +7 -0
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index2.cjs +1 -0
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index2.js +185 -0
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/Xlsx.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/types/index.cjs +1 -0
- package/lib/packages/ls-components/components/preview_xlsx/types/index.js +33 -0
- package/lib/packages/ls-components/components/upload/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/upload/Index.vue/index.js +1 -1
- package/lib/packages/ls-components/components/upload/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/upload/Index.vue/index2.js +230 -256
- package/lib/packages/ls-components/components/upload/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/upload/Index.vue/index2.js.gz +0 -0
- package/lib/preview_docx/index.cjs +1 -0
- package/lib/preview_docx/index.js +12 -0
- package/lib/preview_image/index.cjs +1 -0
- package/lib/preview_image/index.js +12 -0
- package/lib/preview_pdf/index.cjs +1 -0
- package/lib/preview_pdf/index.js +12 -0
- package/lib/preview_xlsx/index.cjs +1 -0
- package/lib/preview_xlsx/index.js +12 -0
- package/package.json +17 -9
|
@@ -1,394 +1,375 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var $e = Object.defineProperty;
|
|
2
|
+
var s = (F, O) => $e(F, "name", { value: O, configurable: !0 });
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { defineComponent as
|
|
8
|
-
import { lsUploadProps as
|
|
9
|
-
import { getVariable as
|
|
10
|
-
import { useNamespace as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
7
|
+
import { defineComponent as Ae, useSlots as we, useAttrs as Pe, ref as ie, reactive as ne, watch as Y, computed as o, openBlock as r, createElementBlock as m, normalizeClass as B, unref as n, createVNode as le, mergeProps as xe, createSlots as Me, withCtx as g, Fragment as k, createBlock as h, createElementVNode as V, toDisplayString as D, createTextVNode as w, createCommentVNode as N, renderSlot as q, toRefs as oe, pushScopeId as Re, popScopeId as ze } from "vue";
|
|
8
|
+
import { lsUploadProps as Ie, UPLOAD_TYPE_MAP as Be, fileTypeMap as De, UPLOAD_STATUS_MAP as Ne, IMG_SUFFIX_LIST as qe } from "../types/index.js";
|
|
9
|
+
import { getVariable as Ve } from "../../_utils/config/index.js";
|
|
10
|
+
import { useNamespace as Oe } from "../../_hooks/useNamespace/index.js";
|
|
11
|
+
import L from "../../button/Button.vue/index.js";
|
|
12
|
+
import ae from "../../icon/Index.vue/index.js";
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
|
-
import { ElMessage as
|
|
16
|
-
import { ElAvatar as
|
|
17
|
-
import { ElUpload as
|
|
18
|
-
const
|
|
15
|
+
import { ElMessage as P } from "../../../../../node_modules/.pnpm/element-plus@2.8.1_vue@3.4.38_typescript@5.5.4_/node_modules/element-plus/es/components/message/index/index.js";
|
|
16
|
+
import { ElAvatar as je } from "../../../../../node_modules/.pnpm/element-plus@2.8.1_vue@3.4.38_typescript@5.5.4_/node_modules/element-plus/es/components/avatar/index/index.js";
|
|
17
|
+
import { ElUpload as Ge } from "../../../../../node_modules/.pnpm/element-plus@2.8.1_vue@3.4.38_typescript@5.5.4_/node_modules/element-plus/es/components/upload/index/index.js";
|
|
18
|
+
const He = /* @__PURE__ */ s((F) => (Re("data-v-b6eebe2d"), F = F(), ze(), F), "_withScopeId"), Ke = { class: "ls-drag" }, We = { class: "drag-txt ls-color-brand6" }, Xe = /* @__PURE__ */ He(() => /* @__PURE__ */ V("div", { class: "drag-txt ls-color-text2" }, "拖拽到此区域", -1)), Ye = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "btn-picture-card"
|
|
21
|
-
},
|
|
21
|
+
}, Je = {
|
|
22
22
|
key: 0,
|
|
23
23
|
class: "ls-tip"
|
|
24
|
-
},
|
|
24
|
+
}, pt = /* @__PURE__ */ Ae({
|
|
25
25
|
name: "LSUpload",
|
|
26
26
|
inheritAttrs: !1,
|
|
27
27
|
__name: "Index",
|
|
28
|
-
props:
|
|
28
|
+
props: Ie,
|
|
29
29
|
emits: ["uploadErrorFunc", "onChangeFunc", "httpResponseFunc"],
|
|
30
|
-
setup(
|
|
31
|
-
const
|
|
30
|
+
setup(F, { expose: O, emit: se }) {
|
|
31
|
+
const x = we(), y = Pe(), re = Oe("upload").b(), f = ie(), d = ie(!1), b = ne({
|
|
32
32
|
isCover: !0,
|
|
33
33
|
accept: "",
|
|
34
34
|
disabled: !1
|
|
35
|
-
}),
|
|
35
|
+
}), u = ne({
|
|
36
36
|
uploadFileList: [],
|
|
37
37
|
initUploadStatus: !0,
|
|
38
38
|
showPreview: !1,
|
|
39
39
|
typePreview: "",
|
|
40
40
|
sourcePreview: "",
|
|
41
|
-
iconColor:
|
|
42
|
-
}), t =
|
|
43
|
-
|
|
44
|
-
() =>
|
|
41
|
+
iconColor: Ve("colorText1")
|
|
42
|
+
}), t = F, M = se;
|
|
43
|
+
Y(
|
|
44
|
+
() => y["file-list"],
|
|
45
45
|
(e) => {
|
|
46
|
-
|
|
46
|
+
u.uploadFileList = e || [];
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
immediate: !0,
|
|
50
50
|
deep: !0
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
const
|
|
53
|
+
const U = o(() => {
|
|
54
54
|
var e, i;
|
|
55
55
|
return (((e = t == null ? void 0 : t.item) == null ? void 0 : e.isToast) || typeof ((i = t == null ? void 0 : t.item) == null ? void 0 : i.isToast)) === "undefined";
|
|
56
|
-
}),
|
|
56
|
+
}), v = o(() => {
|
|
57
57
|
var i;
|
|
58
58
|
const e = (i = t == null ? void 0 : t.item) == null ? void 0 : i.isCover;
|
|
59
59
|
return typeof e > "u" ? !0 : e;
|
|
60
|
-
}), C =
|
|
61
|
-
const e =
|
|
60
|
+
}), C = o(() => y.multiple), S = o(() => {
|
|
61
|
+
const e = y["auto-upload"];
|
|
62
62
|
return typeof e > "u" ? !0 : e;
|
|
63
|
-
}),
|
|
63
|
+
}), ue = o(() => {
|
|
64
64
|
var e;
|
|
65
65
|
return ((e = t == null ? void 0 : t.item) == null ? void 0 : e.emptyFileMsg) || "";
|
|
66
|
-
}),
|
|
66
|
+
}), j = o(() => y["list-type"]), R = o(() => j.value === Be.picCard), ce = o(() => !j.value || j.value == "text"), E = o(() => {
|
|
67
67
|
var e;
|
|
68
68
|
return ((e = t == null ? void 0 : t.item) == null ? void 0 : e.limitFile) || [];
|
|
69
|
-
}),
|
|
69
|
+
}), de = o(() => {
|
|
70
70
|
var e;
|
|
71
71
|
return ((e = t == null ? void 0 : t.item) == null ? void 0 : e.limitFileMsg) || "";
|
|
72
|
-
}), T =
|
|
72
|
+
}), T = o(() => {
|
|
73
73
|
var e;
|
|
74
74
|
return ((e = t == null ? void 0 : t.item) == null ? void 0 : e.limitSize) || 2;
|
|
75
|
-
}),
|
|
75
|
+
}), fe = o(() => {
|
|
76
76
|
var e;
|
|
77
77
|
return ((e = t == null ? void 0 : t.item) == null ? void 0 : e.limitSizeMsg) || "";
|
|
78
|
-
}),
|
|
78
|
+
}), G = o(() => {
|
|
79
79
|
var e;
|
|
80
80
|
return ((e = t == null ? void 0 : t.item) == null ? void 0 : e.limitUnit) || "MB";
|
|
81
|
-
}),
|
|
81
|
+
}), me = o(() => {
|
|
82
82
|
var e;
|
|
83
83
|
return ((e = t == null ? void 0 : t.item) == null ? void 0 : e.limitNumMsg) || "";
|
|
84
|
-
}),
|
|
84
|
+
}), J = o(() => {
|
|
85
85
|
var e;
|
|
86
86
|
return ((e = t == null ? void 0 : t.item) == null ? void 0 : e.profile) || !1;
|
|
87
|
-
}), $ =
|
|
87
|
+
}), $ = o(() => y.drag), ve = o(() => {
|
|
88
88
|
var e;
|
|
89
|
-
return ((e = t == null ? void 0 : t.item) == null ? void 0 : e.hideCoverBtn) &&
|
|
90
|
-
}),
|
|
91
|
-
const e =
|
|
89
|
+
return ((e = t == null ? void 0 : t.item) == null ? void 0 : e.hideCoverBtn) && v.value && u.uploadFileList.length > 0;
|
|
90
|
+
}), _ = o(() => y.disabled), H = o(() => {
|
|
91
|
+
const e = R.value ? "图片" : "文件";
|
|
92
92
|
let i = `选择${e}`;
|
|
93
|
-
return d.value ? i = "正在上传..." :
|
|
94
|
-
}),
|
|
93
|
+
return d.value ? i = "正在上传..." : v.value && !C.value ? S.value ? u.initUploadStatus ? i = "点击上传" : i = "重新上传" : u.initUploadStatus ? i = `选择${e}` : i = "重新上传" : S.value && (i = "点击上传"), i;
|
|
94
|
+
}), pe = o(() => {
|
|
95
95
|
let e = "不限制上传格式,";
|
|
96
|
-
return
|
|
97
|
-
}),
|
|
96
|
+
return R.value && (e = "文件须为图片格式,"), `${e}文件大小不超过${T.value}${G.value}`;
|
|
97
|
+
}), ge = o(() => {
|
|
98
98
|
var e;
|
|
99
99
|
return ((e = t == null ? void 0 : t.item) == null ? void 0 : e.tipContent) || "";
|
|
100
|
-
}),
|
|
100
|
+
}), K = o(() => {
|
|
101
101
|
var e;
|
|
102
102
|
return (e = t == null ? void 0 : t.item) == null ? void 0 : e.httpRequestFunc;
|
|
103
|
-
}), x = s(() => {
|
|
104
|
-
var e;
|
|
105
|
-
return (e = t == null ? void 0 : t.item) == null ? void 0 : e.textPreview;
|
|
106
103
|
});
|
|
107
|
-
|
|
108
|
-
[
|
|
104
|
+
Y(
|
|
105
|
+
[v, K],
|
|
109
106
|
([e, i]) => {
|
|
110
|
-
|
|
107
|
+
b.isCover = e, i && i instanceof Function && (b["http-request"] = _e);
|
|
111
108
|
},
|
|
112
109
|
{
|
|
113
110
|
immediate: !0,
|
|
114
111
|
deep: !0
|
|
115
112
|
}
|
|
116
|
-
),
|
|
113
|
+
), Y(
|
|
117
114
|
() => E.value,
|
|
118
115
|
(e) => {
|
|
119
|
-
e && e.length > 0 &&
|
|
116
|
+
e && e.length > 0 && he(e);
|
|
120
117
|
},
|
|
121
118
|
{
|
|
122
119
|
immediate: !0,
|
|
123
120
|
deep: !0
|
|
124
121
|
}
|
|
125
122
|
);
|
|
126
|
-
function
|
|
127
|
-
|
|
128
|
-
const
|
|
129
|
-
|
|
123
|
+
function he(e) {
|
|
124
|
+
b.accept = "", e.forEach((i) => {
|
|
125
|
+
const l = De[i] || "";
|
|
126
|
+
l && (b.accept && (b.accept += ","), b.accept += l);
|
|
130
127
|
});
|
|
131
128
|
}
|
|
132
|
-
|
|
133
|
-
function
|
|
134
|
-
const { formRuleFunc: i, formValidateFunc:
|
|
135
|
-
if (i && i.value instanceof Function &&
|
|
136
|
-
const a = i.value(), { message:
|
|
137
|
-
a.message = e,
|
|
129
|
+
s(he, "updateFileAccept");
|
|
130
|
+
function A(e) {
|
|
131
|
+
const { formRuleFunc: i, formValidateFunc: l } = oe(t == null ? void 0 : t.item);
|
|
132
|
+
if (i && i.value instanceof Function && l && l.value instanceof Function) {
|
|
133
|
+
const a = i.value(), { message: c } = a;
|
|
134
|
+
a.message = e, l.value(), a.message = c;
|
|
138
135
|
}
|
|
139
|
-
|
|
136
|
+
M("uploadErrorFunc", e);
|
|
140
137
|
}
|
|
141
|
-
|
|
142
|
-
function
|
|
138
|
+
s(A, "validateForm");
|
|
139
|
+
function Fe(e, i) {
|
|
143
140
|
if (d.value = !1, t.onExceed)
|
|
144
141
|
return t.onExceed(e, i);
|
|
145
|
-
const
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}, 200) :
|
|
142
|
+
const l = `当前限制选择 ${y.limit} 个文件,本次选择了 ${e.length} 个文件,共选择了 ${e.length + i.length} 个文件` || me.value;
|
|
143
|
+
U.value ? setTimeout(() => {
|
|
144
|
+
P.warning(l);
|
|
145
|
+
}, 200) : A(l);
|
|
149
146
|
}
|
|
150
|
-
|
|
151
|
-
function
|
|
147
|
+
s(Fe, "onExceedAction");
|
|
148
|
+
function ye(e) {
|
|
152
149
|
if (t.beforeUpload) {
|
|
153
|
-
const
|
|
154
|
-
return
|
|
150
|
+
const l = t.beforeUpload(e);
|
|
151
|
+
return l && v.value && !C.value && z(), l;
|
|
155
152
|
}
|
|
156
|
-
const i =
|
|
157
|
-
return i &&
|
|
153
|
+
const i = W(e, !0);
|
|
154
|
+
return i && S.value && v.value && !C.value && z(), i;
|
|
158
155
|
}
|
|
159
|
-
|
|
160
|
-
function
|
|
161
|
-
let
|
|
162
|
-
const { size: a, name:
|
|
163
|
-
let
|
|
164
|
-
switch (
|
|
156
|
+
s(ye, "beforeUploadAction");
|
|
157
|
+
function W(e, i) {
|
|
158
|
+
let l = !0;
|
|
159
|
+
const { size: a, name: c } = e, X = E.value.length > 0 && !Q(c);
|
|
160
|
+
let I = !1;
|
|
161
|
+
switch (G.value) {
|
|
165
162
|
case "KB":
|
|
166
|
-
|
|
163
|
+
I = a / 1024 > T.value;
|
|
167
164
|
break;
|
|
168
165
|
case "MB":
|
|
169
|
-
|
|
166
|
+
I = a / 1024 / 1024 > T.value;
|
|
170
167
|
break;
|
|
171
168
|
default:
|
|
172
|
-
|
|
169
|
+
I = a / 1024 / 1024 / 1024 > T.value;
|
|
173
170
|
break;
|
|
174
171
|
}
|
|
175
|
-
if (
|
|
176
|
-
const
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}, 200) :
|
|
172
|
+
if (X) {
|
|
173
|
+
const p = de.value || `上传文件 ${e.name} 只能是 ${E.value.filter((Te) => Te).join(",").toLocaleLowerCase()} 格式!`;
|
|
174
|
+
U.value && i ? setTimeout(() => {
|
|
175
|
+
P.error(p);
|
|
176
|
+
}, 200) : A(p), l = !1;
|
|
180
177
|
}
|
|
181
|
-
if (
|
|
182
|
-
const
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}, 200) :
|
|
178
|
+
if (I) {
|
|
179
|
+
const p = fe.value || `上传文件 ${e.name} 大小不能超过 ${T.value}${G.value}!`;
|
|
180
|
+
U.value && i ? setTimeout(() => {
|
|
181
|
+
P.error(p);
|
|
182
|
+
}, 200) : A(p), l = !1;
|
|
186
183
|
}
|
|
187
|
-
if (
|
|
188
|
-
const
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
}, 200) :
|
|
184
|
+
if (R.value && !Q(c, qe)) {
|
|
185
|
+
const p = `上传文件 ${e.name} 不是图片格式的文件!`;
|
|
186
|
+
U.value && i ? setTimeout(() => {
|
|
187
|
+
P.error(p);
|
|
188
|
+
}, 200) : A(p), l = !1;
|
|
192
189
|
}
|
|
193
|
-
return
|
|
190
|
+
return l;
|
|
194
191
|
}
|
|
195
|
-
|
|
196
|
-
function
|
|
197
|
-
let
|
|
198
|
-
if (E.value.length > 0 ?
|
|
192
|
+
s(W, "validateUploadFile");
|
|
193
|
+
function Q(e, i) {
|
|
194
|
+
let l = [];
|
|
195
|
+
if (E.value.length > 0 ? l = E.value : i && (l = i), l.length <= 0)
|
|
199
196
|
return !0;
|
|
200
|
-
for (let a = 0; a <
|
|
201
|
-
const
|
|
202
|
-
if (e.toLowerCase().endsWith(
|
|
197
|
+
for (let a = 0; a < l.length; a++) {
|
|
198
|
+
const c = (l[a] || "").toLowerCase();
|
|
199
|
+
if (e.toLowerCase().endsWith(c))
|
|
203
200
|
return !0;
|
|
204
201
|
}
|
|
205
202
|
return !1;
|
|
206
203
|
}
|
|
207
|
-
|
|
208
|
-
function
|
|
209
|
-
|
|
204
|
+
s(Q, "fileTypeMatch");
|
|
205
|
+
function z(e, i) {
|
|
206
|
+
u.uploadFileList.splice(e || 0, i || u.uploadFileList.length - 1);
|
|
210
207
|
}
|
|
211
|
-
|
|
212
|
-
function
|
|
213
|
-
|
|
214
|
-
const
|
|
215
|
-
if (
|
|
208
|
+
s(z, "updateCoverFileList");
|
|
209
|
+
function be(e, i) {
|
|
210
|
+
u.uploadFileList = i;
|
|
211
|
+
const l = e.raw && W(e.raw, !S.value);
|
|
212
|
+
if (l && v.value && !C.value && z(), t.onChange)
|
|
216
213
|
return t.onChange(e, i);
|
|
217
214
|
const { size: a } = e;
|
|
218
215
|
if (a <= 0) {
|
|
219
|
-
|
|
220
|
-
const
|
|
221
|
-
|
|
216
|
+
Z();
|
|
217
|
+
const c = ue.value || "禁止上传空文件,请检查后重新上传!";
|
|
218
|
+
U.value ? P.error(c) : A(c);
|
|
222
219
|
return;
|
|
223
220
|
}
|
|
224
|
-
e.raw && (!
|
|
221
|
+
e.raw && (!S.value && !l ? Z() : (e.blob = URL.createObjectURL(e.raw) || "", M("onChangeFunc", e)));
|
|
225
222
|
}
|
|
226
|
-
|
|
227
|
-
function
|
|
223
|
+
s(be, "onChangeAction");
|
|
224
|
+
function Z() {
|
|
228
225
|
let e = 0;
|
|
229
|
-
|
|
226
|
+
u.uploadFileList.length > 1 && (e = u.uploadFileList.length - 1), z(e, 1), M("onChangeFunc", {});
|
|
230
227
|
}
|
|
231
|
-
|
|
232
|
-
function
|
|
233
|
-
d.value = !1,
|
|
234
|
-
const { formRuleFunc: a, formValidateFunc:
|
|
235
|
-
if (a && a.value instanceof Function &&
|
|
236
|
-
return t.onSuccess(e, i,
|
|
228
|
+
s(Z, "setChangeRes");
|
|
229
|
+
function ke(e, i, l) {
|
|
230
|
+
d.value = !1, u.initUploadStatus = !1;
|
|
231
|
+
const { formRuleFunc: a, formValidateFunc: c } = oe(t == null ? void 0 : t.item);
|
|
232
|
+
if (a && a.value instanceof Function && c && c.value instanceof Function && c.value(), t.onSuccess)
|
|
233
|
+
return t.onSuccess(e, i, l);
|
|
237
234
|
}
|
|
238
|
-
|
|
239
|
-
function
|
|
235
|
+
s(ke, "onSuccessAction");
|
|
236
|
+
function Ce(e, i, l) {
|
|
240
237
|
if (d.value = !1, t.onError)
|
|
241
|
-
return t.onError(e, i,
|
|
238
|
+
return t.onError(e, i, l);
|
|
242
239
|
}
|
|
243
|
-
|
|
240
|
+
s(Ce, "onErrorAction");
|
|
244
241
|
function Se(e, i) {
|
|
245
|
-
if (
|
|
242
|
+
if (u.initUploadStatus = !i.length, u.uploadFileList = u.uploadFileList.filter((l) => l.uid === e.uid || l.name === e.name ? null : l), t.onRemove)
|
|
246
243
|
return t.onRemove(e, i);
|
|
247
244
|
}
|
|
248
|
-
|
|
249
|
-
function Ce(e) {
|
|
250
|
-
if (t.onPreview)
|
|
251
|
-
return t.onPreview(e);
|
|
252
|
-
const { raw: i, url: n, blob: a, name: u } = e, { type: f } = i || {};
|
|
253
|
-
i ? x.value && x.value.length > 0 ? f != null && f.startsWith("image") ? (l.typePreview = "image", l.sourcePreview = k.value ? [n] : [a], l.showPreview = !0) : f == "application/pdf" ? x.value.includes("pdf") ? (l.typePreview = "pdf", l.sourcePreview = a, l.showPreview = !0) : x.value.includes("pdfNative") && a && window.open(a, "_blank") : x.value.includes("xlsx") && ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"].includes(f) ? (l.typePreview = "xlsx", fetch(a).then((m) => m.blob()).then((m) => {
|
|
254
|
-
l.sourcePreview = new File([m], u, { type: f }), l.showPreview = !0;
|
|
255
|
-
})) : x.value.includes("docx") && f == "application/vnd.openxmlformats-officedocument.wordprocessingml.document" && (l.typePreview = "docx", fetch(a).then((m) => m.blob()).then((m) => m.arrayBuffer()).then((m) => {
|
|
256
|
-
l.sourcePreview = m, l.showPreview = !0;
|
|
257
|
-
})) : k.value && f != null && f.startsWith("image") && (l.typePreview = "image", l.sourcePreview = [n], l.showPreview = !0) : k.value && (l.typePreview = "image", l.sourcePreview = [n], l.showPreview = !0);
|
|
258
|
-
}
|
|
259
|
-
r(Ce, "onPreviewAction");
|
|
245
|
+
s(Se, "onRemoveAction");
|
|
260
246
|
async function _e(e) {
|
|
261
247
|
const { file: i } = e;
|
|
262
248
|
if (!i)
|
|
263
249
|
return;
|
|
264
|
-
const { size:
|
|
265
|
-
if (
|
|
250
|
+
const { size: l } = i;
|
|
251
|
+
if (l <= 0 || !W(i, !1))
|
|
266
252
|
return;
|
|
267
253
|
if (t.httpRequest)
|
|
268
254
|
return t.httpRequest(e);
|
|
269
255
|
const a = new FormData();
|
|
270
|
-
if (a.append("file", i),
|
|
256
|
+
if (a.append("file", i), K.value instanceof Function) {
|
|
271
257
|
d.value = !0;
|
|
272
|
-
let
|
|
258
|
+
let c = {};
|
|
273
259
|
try {
|
|
274
|
-
|
|
275
|
-
} catch (
|
|
276
|
-
|
|
260
|
+
c = await K.value(a);
|
|
261
|
+
} catch (X) {
|
|
262
|
+
c = X;
|
|
277
263
|
} finally {
|
|
278
|
-
d.value = !1,
|
|
264
|
+
d.value = !1, M("httpResponseFunc", c);
|
|
279
265
|
}
|
|
280
266
|
}
|
|
281
267
|
}
|
|
282
|
-
|
|
283
|
-
function
|
|
268
|
+
s(_e, "httpRequestAction");
|
|
269
|
+
function ee() {
|
|
284
270
|
let e = !1;
|
|
285
|
-
for (let i = 0; i <
|
|
286
|
-
if (
|
|
271
|
+
for (let i = 0; i < u.uploadFileList.length; i++)
|
|
272
|
+
if (u.uploadFileList[i].status === Ne.ready) {
|
|
287
273
|
e = !0;
|
|
288
274
|
break;
|
|
289
275
|
}
|
|
290
276
|
return e;
|
|
291
277
|
}
|
|
292
|
-
|
|
293
|
-
function
|
|
278
|
+
s(ee, "hasReadyFile");
|
|
279
|
+
function te() {
|
|
294
280
|
var e;
|
|
295
|
-
(e =
|
|
281
|
+
(e = f == null ? void 0 : f.value) == null || e.submit();
|
|
296
282
|
}
|
|
297
|
-
|
|
283
|
+
s(te, "comfirmUpload");
|
|
298
284
|
function Le(e) {
|
|
299
|
-
|
|
285
|
+
f == null || f.value.handleRemove(e);
|
|
300
286
|
}
|
|
301
|
-
|
|
302
|
-
function
|
|
303
|
-
|
|
287
|
+
s(Le, "removeFile");
|
|
288
|
+
function Ue() {
|
|
289
|
+
u.uploadFileList.forEach((e) => {
|
|
304
290
|
var i;
|
|
305
291
|
if (e)
|
|
306
292
|
try {
|
|
307
|
-
(i =
|
|
293
|
+
(i = f == null ? void 0 : f.value) == null || i.abort(e), Le(e);
|
|
308
294
|
} catch {
|
|
309
295
|
}
|
|
310
296
|
});
|
|
311
297
|
}
|
|
312
|
-
|
|
313
|
-
function
|
|
298
|
+
s(Ue, "cancelUpload");
|
|
299
|
+
function Ee() {
|
|
314
300
|
d.value = !0;
|
|
315
301
|
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
l.showPreview = !1, l.sourcePreview = "";
|
|
319
|
-
}
|
|
320
|
-
return r(Ae, "closePreview"), W({
|
|
321
|
-
uploadRef: v
|
|
302
|
+
return s(Ee, "onProgressAction"), O({
|
|
303
|
+
uploadRef: f
|
|
322
304
|
}), (e, i) => {
|
|
323
|
-
const
|
|
324
|
-
return
|
|
325
|
-
class:
|
|
305
|
+
const l = je, a = Ge;
|
|
306
|
+
return r(), m("div", {
|
|
307
|
+
class: B([n(re), n($) ? "ls-upload-drag" : "", n(J) ? "ls-profile" : "", n(ve) ? "hide-cover-btn" : ""])
|
|
326
308
|
}, [
|
|
327
|
-
|
|
309
|
+
le(a, xe({
|
|
328
310
|
ref_key: "uploadRef",
|
|
329
|
-
ref:
|
|
330
|
-
}, Object.assign(
|
|
331
|
-
"on-exceed":
|
|
332
|
-
"before-upload":
|
|
333
|
-
"on-change":
|
|
334
|
-
"on-success":
|
|
335
|
-
"on-error":
|
|
311
|
+
ref: f
|
|
312
|
+
}, Object.assign(n(b), e.$attrs), {
|
|
313
|
+
"on-exceed": Fe,
|
|
314
|
+
"before-upload": ye,
|
|
315
|
+
"on-change": be,
|
|
316
|
+
"on-success": ke,
|
|
317
|
+
"on-error": Ce,
|
|
336
318
|
"on-remove": Se,
|
|
337
|
-
"on-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
o(Z) ? e.item.defProfile && o(l).uploadFileList.length < 1 ? (c(), y(n, {
|
|
319
|
+
"on-progress": Ee
|
|
320
|
+
}), Me({
|
|
321
|
+
trigger: g(() => [
|
|
322
|
+
n(J) ? e.item.defProfile && n(u).uploadFileList.length < 1 ? (r(), h(l, {
|
|
342
323
|
key: 1,
|
|
343
324
|
size: 60,
|
|
344
325
|
src: e.item.defProfile,
|
|
345
326
|
fit: "contain"
|
|
346
|
-
}, null, 8, ["src"])) :
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
327
|
+
}, null, 8, ["src"])) : N("", !0) : (r(), m(k, { key: 0 }, [
|
|
328
|
+
n(x).trigger ? q(e.$slots, "trigger", { key: 1 }, void 0, !0) : (r(), m(k, { key: 0 }, [
|
|
329
|
+
n($) ? (r(), m(k, { key: 0 }, [
|
|
330
|
+
n(d) ? (r(), h(L, {
|
|
350
331
|
key: 0,
|
|
351
332
|
text: "",
|
|
352
|
-
loading:
|
|
353
|
-
disabled:
|
|
354
|
-
}, null, 8, ["loading", "disabled"])) : (
|
|
333
|
+
loading: n(d),
|
|
334
|
+
disabled: n(_)
|
|
335
|
+
}, null, 8, ["loading", "disabled"])) : (r(), h(ae, {
|
|
355
336
|
key: 1,
|
|
356
337
|
class: "upload-icon",
|
|
357
338
|
name: "UploadFilled",
|
|
358
339
|
size: "56",
|
|
359
340
|
color: "#E7E7E7"
|
|
360
341
|
})),
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
342
|
+
V("div", Ke, [
|
|
343
|
+
V("div", We, D(n(H)), 1),
|
|
344
|
+
n(d) ? N("", !0) : (r(), m(k, { key: 0 }, [
|
|
345
|
+
w(" / "),
|
|
346
|
+
Xe
|
|
366
347
|
], 64))
|
|
367
348
|
])
|
|
368
|
-
], 64)) : (
|
|
369
|
-
|
|
370
|
-
|
|
349
|
+
], 64)) : (r(), m(k, { key: 1 }, [
|
|
350
|
+
n(R) ? (r(), m("div", Ye, [
|
|
351
|
+
n(d) ? (r(), h(L, {
|
|
371
352
|
key: 0,
|
|
372
353
|
text: "",
|
|
373
|
-
loading:
|
|
374
|
-
disabled:
|
|
375
|
-
}, null, 8, ["loading", "disabled"])) : (
|
|
354
|
+
loading: n(d),
|
|
355
|
+
disabled: n(_)
|
|
356
|
+
}, null, 8, ["loading", "disabled"])) : (r(), h(ae, {
|
|
376
357
|
key: 1,
|
|
377
358
|
class: "upload-btn-plus",
|
|
378
359
|
name: "Plus",
|
|
379
360
|
size: 28,
|
|
380
|
-
color:
|
|
361
|
+
color: n(u).iconColor
|
|
381
362
|
}, null, 8, ["color"])),
|
|
382
|
-
|
|
383
|
-
])) : (
|
|
363
|
+
V("div", null, D(n(H)), 1)
|
|
364
|
+
])) : (r(), h(L, {
|
|
384
365
|
key: 1,
|
|
385
366
|
plain: "",
|
|
386
367
|
icon: "upload",
|
|
387
|
-
loading:
|
|
388
|
-
disabled:
|
|
368
|
+
loading: n(d),
|
|
369
|
+
disabled: n(_)
|
|
389
370
|
}, {
|
|
390
|
-
default:
|
|
391
|
-
|
|
371
|
+
default: g(() => [
|
|
372
|
+
w(D(n(H)), 1)
|
|
392
373
|
]),
|
|
393
374
|
_: 1
|
|
394
375
|
}, 8, ["loading", "disabled"]))
|
|
@@ -396,78 +377,71 @@ const Ye = /* @__PURE__ */ r((b) => (Ve("data-v-32f99b7f"), b = b(), De(), b), "
|
|
|
396
377
|
], 64))
|
|
397
378
|
], 64))
|
|
398
379
|
]),
|
|
399
|
-
default:
|
|
400
|
-
|
|
401
|
-
!
|
|
380
|
+
default: g(() => [
|
|
381
|
+
n(x).default ? q(e.$slots, "default", { key: 1 }, void 0, !0) : (r(), m(k, { key: 0 }, [
|
|
382
|
+
!n(S) && (n(ce) || n($)) ? (r(), m("div", {
|
|
402
383
|
key: 0,
|
|
403
|
-
class:
|
|
384
|
+
class: B(["upload-btn-handle", [n($) ? "drag-css" : "nor-css", !n(v) || n(C) ? "multi-css" : ""]])
|
|
404
385
|
}, [
|
|
405
|
-
|
|
406
|
-
!
|
|
386
|
+
n($) ? (r(), m(k, { key: 1 }, [
|
|
387
|
+
!n(v) || n(C) ? (r(), h(L, {
|
|
407
388
|
key: 0,
|
|
408
389
|
type: "primary",
|
|
409
|
-
loading:
|
|
410
|
-
disabled:
|
|
411
|
-
onClick:
|
|
390
|
+
loading: n(d),
|
|
391
|
+
disabled: n(_),
|
|
392
|
+
onClick: Ue,
|
|
412
393
|
class: "ls-upload-btn-com ls-upload-btn-cancel"
|
|
413
394
|
}, {
|
|
414
|
-
default:
|
|
415
|
-
|
|
395
|
+
default: g(() => [
|
|
396
|
+
w("取消上传")
|
|
416
397
|
]),
|
|
417
398
|
_: 1
|
|
418
|
-
}, 8, ["loading", "disabled"])) :
|
|
419
|
-
|
|
420
|
-
class:
|
|
399
|
+
}, 8, ["loading", "disabled"])) : N("", !0),
|
|
400
|
+
le(L, {
|
|
401
|
+
class: B(["start-upload ls-upload-btn-com ls-upload-btn-comfirm", { "is-ready": ee() }]),
|
|
421
402
|
type: "primary",
|
|
422
|
-
loading:
|
|
423
|
-
disabled:
|
|
424
|
-
onClick:
|
|
403
|
+
loading: n(d),
|
|
404
|
+
disabled: n(_),
|
|
405
|
+
onClick: te
|
|
425
406
|
}, {
|
|
426
|
-
default:
|
|
427
|
-
|
|
407
|
+
default: g(() => [
|
|
408
|
+
w("开始上传")
|
|
428
409
|
]),
|
|
429
410
|
_: 1
|
|
430
411
|
}, 8, ["class", "loading", "disabled"])
|
|
431
|
-
], 64)) : (
|
|
412
|
+
], 64)) : (r(), h(L, {
|
|
432
413
|
key: 0,
|
|
433
414
|
type: "primary",
|
|
434
|
-
class:
|
|
435
|
-
loading:
|
|
436
|
-
disabled:
|
|
437
|
-
onClick:
|
|
415
|
+
class: B(["ls-upload-btn-com ls-upload-btn-comfirm", { "is-ready": ee() }]),
|
|
416
|
+
loading: n(d),
|
|
417
|
+
disabled: n(_),
|
|
418
|
+
onClick: te
|
|
438
419
|
}, {
|
|
439
|
-
default:
|
|
440
|
-
|
|
420
|
+
default: g(() => [
|
|
421
|
+
w("开始上传 ")
|
|
441
422
|
]),
|
|
442
423
|
_: 1
|
|
443
424
|
}, 8, ["class", "loading", "disabled"]))
|
|
444
|
-
], 2)) :
|
|
425
|
+
], 2)) : N("", !0)
|
|
445
426
|
], 64))
|
|
446
427
|
]),
|
|
447
|
-
tip:
|
|
448
|
-
|
|
428
|
+
tip: g(() => [
|
|
429
|
+
n(x).tip ? q(e.$slots, "tip", { key: 1 }, void 0, !0) : (r(), m("div", Je, D(n(ge) || n(pe)), 1))
|
|
449
430
|
]),
|
|
450
431
|
_: 2
|
|
451
432
|
}, [
|
|
452
|
-
|
|
433
|
+
n(x).file ? {
|
|
453
434
|
name: "file",
|
|
454
|
-
fn:
|
|
455
|
-
|
|
435
|
+
fn: g(() => [
|
|
436
|
+
q(e.$slots, "file", {}, void 0, !0)
|
|
456
437
|
]),
|
|
457
438
|
key: "0"
|
|
458
439
|
} : void 0
|
|
459
|
-
]), 1040)
|
|
460
|
-
Q(u, {
|
|
461
|
-
modelValue: o(l).showPreview,
|
|
462
|
-
"onUpdate:modelValue": i[0] || (i[0] = (f) => o(l).showPreview = f),
|
|
463
|
-
"on-close": Ae,
|
|
464
|
-
type: o(l).typePreview,
|
|
465
|
-
source: o(l).sourcePreview
|
|
466
|
-
}, null, 8, ["modelValue", "type", "source"])
|
|
440
|
+
]), 1040)
|
|
467
441
|
], 2);
|
|
468
442
|
};
|
|
469
443
|
}
|
|
470
444
|
});
|
|
471
445
|
export {
|
|
472
|
-
|
|
446
|
+
pt as default
|
|
473
447
|
};
|