@skyfox2000/webui 0.1.2 → 0.1.4
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/lib/AceEditor.d.ts +0 -3
- package/lib/BasicLayout.d.ts +0 -3
- package/lib/Error403.d.ts +0 -3
- package/lib/Error404.d.ts +0 -3
- package/lib/ExcelForm.d.ts +0 -3
- package/lib/UploadForm.d.ts +0 -3
- package/lib/assets/modules/index-BEWJ_qAH.js +50 -0
- package/lib/assets/modules/{excelForm-Dzndz-SG.js → index-BoKIa2sr.js} +1 -1
- package/lib/assets/modules/{index-FzWSvscZ.js → index-D47Ci-T3.js} +2 -2
- package/lib/assets/modules/menuTabs-JxjPoyCD.js +639 -0
- package/lib/assets/modules/uploadList-Dzlg47V0.js +182 -0
- package/lib/components/common/icon/layoutIcon.vue.d.ts.map +1 -1
- package/lib/components/common/icon/projectIcon.vue.d.ts.map +1 -1
- package/lib/components/common/icon/toolIcon.vue.d.ts.map +1 -1
- package/lib/components/content/index.d.ts +0 -4
- package/lib/components/content/index.d.ts.map +1 -1
- package/lib/components/form/autoComplete/index.vue.d.ts +3 -3
- package/lib/components/form/cascader/index.vue.d.ts +3 -3
- package/lib/components/form/checkbox/index.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +0 -2
- package/lib/components/form/index.d.ts.map +1 -1
- package/lib/components/form/radio/index.vue.d.ts +3 -3
- package/lib/components/form/select/index.vue.d.ts +3 -3
- package/lib/components/form/transfer/index.vue.d.ts +2 -2
- package/lib/components/form/treeSelect/index.vue.d.ts +2 -2
- package/lib/components/index.d.ts +3 -6
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/layout/index.d.ts +0 -2
- package/lib/components/layout/index.d.ts.map +1 -1
- package/lib/es/AceEditor/index.js +9 -11
- package/lib/es/BasicLayout/index.js +94 -2
- package/lib/es/Error403/index.js +31 -2
- package/lib/es/Error404/index.js +31 -2
- package/lib/es/ExcelForm/index.js +315 -3
- package/lib/es/UploadForm/index.js +133 -3
- package/lib/webui.css +1 -1
- package/lib/webui.es.js +1568 -1575
- package/package.json +2 -2
- package/src/components/common/icon/layoutIcon.vue +1 -1
- package/src/components/common/icon/projectIcon.vue +1 -1
- package/src/components/common/icon/toolIcon.vue +2 -2
- package/src/components/content/index.ts +4 -4
- package/src/components/form/index.ts +2 -2
- package/src/components/index.ts +1 -10
- package/src/components/layout/index.ts +2 -2
- package/lib/assets/modules/basicLayout-YP_-EySb.js +0 -726
- package/lib/assets/modules/error403-Bi0E2twj.js +0 -33
- package/lib/assets/modules/error404-BF7vasR_.js +0 -33
- package/lib/assets/modules/excelForm-WJVQmaDT.js +0 -317
- package/lib/assets/modules/index-ekkaExvB.js +0 -49
- package/lib/assets/modules/uploadForm-CwXiG05t.js +0 -309
- package/lib/components/content/dialog/excelForm.vue.d.ts +0 -31
- package/lib/components/content/dialog/excelForm.vue.d.ts.map +0 -1
- package/lib/components/content/dialog/uploadForm.vue.d.ts +0 -25
- package/lib/components/content/dialog/uploadForm.vue.d.ts.map +0 -1
- package/lib/components/error/error403.vue.d.ts +0 -4
- package/lib/components/error/error403.vue.d.ts.map +0 -1
- package/lib/components/error/error404.vue.d.ts +0 -4
- package/lib/components/error/error404.vue.d.ts.map +0 -1
- package/lib/components/form/aceEditor/index.vue.d.ts +0 -13
- package/lib/components/form/aceEditor/index.vue.d.ts.map +0 -1
- package/lib/components/layout/page/basicLayout.vue.d.ts +0 -7
- package/lib/components/layout/page/basicLayout.vue.d.ts.map +0 -1
- /package/lib/assets/modules/{uploadForm-BahGnrAq.js → index-BahGnrAq.js} +0 -0
|
@@ -1,309 +0,0 @@
|
|
|
1
|
-
import { defineComponent as M, ref as C, computed as N, watch as D, createElementBlock as w, openBlock as h, createElementVNode as d, createVNode as v, unref as s, mergeProps as P, withCtx as m, createTextVNode as b, toDisplayString as y, Fragment as j, renderList as V, normalizeClass as R, createCommentVNode as B, onMounted as T, createBlock as K } from "vue";
|
|
2
|
-
import { _ as L } from "./excelForm-Dzndz-SG.js";
|
|
3
|
-
import { Upload as A, Tag as I, Progress as Q, Modal as q, Space as G } from "ant-design-vue";
|
|
4
|
-
import { ResStatus as H } from "@skyfox2000/fapi";
|
|
5
|
-
import { UploadStatus as r, path as J, donwloadFromMinio as W, AsyncUploader as X, gridRowUpdate as Y } from "@skyfox2000/webbase";
|
|
6
|
-
import "./index-ekkaExvB.js";
|
|
7
|
-
import "./uploadForm-BahGnrAq.js";
|
|
8
|
-
import u from "vue-m-message";
|
|
9
|
-
import "@vue-office/excel";
|
|
10
|
-
import "vue-draggable-next";
|
|
11
|
-
import "@skyfox2000/microbase";
|
|
12
|
-
import "dayjs";
|
|
13
|
-
const Z = { class: "w-full border border-solid border-gray-100 mt-1 rounded-md py-5" }, ee = { class: "flex items-center justify-between w-full" }, te = { class: "w-35 mx-3" }, oe = { class: "flex-1 text-sm text-gray-500" }, ae = { class: "mt-4 px-3" }, le = { class: "flex items-center justify-between" }, re = { class: "flex items-center" }, se = { class: "flex items-center" }, ne = ["onClick"], ie = ["onClick"], ue = ["onClick"], de = /* @__PURE__ */ M({
|
|
14
|
-
__name: "uploadList",
|
|
15
|
-
props: {
|
|
16
|
-
autoUpload: { type: Boolean, default: !1 },
|
|
17
|
-
downloadUrl: {},
|
|
18
|
-
fileList: { default: () => [] },
|
|
19
|
-
placeholder: { default: "" },
|
|
20
|
-
fileExt: {},
|
|
21
|
-
maxFileSize: { default: 20 },
|
|
22
|
-
maxCount: { default: 5 },
|
|
23
|
-
parentPath: {}
|
|
24
|
-
},
|
|
25
|
-
emits: ["update:file-list"],
|
|
26
|
-
setup(F, { emit: E }) {
|
|
27
|
-
const t = F, o = C(t.fileList), g = C(), S = E, k = N(() => {
|
|
28
|
-
var e;
|
|
29
|
-
return (e = t.fileExt) != null && e.length ? t.fileExt.map((a) => `.${a}`).join(",") : "";
|
|
30
|
-
}), f = (e) => {
|
|
31
|
-
var a;
|
|
32
|
-
if (t.fileExt && t.fileExt.length > 0) {
|
|
33
|
-
const l = ((a = e.name.split(".").pop()) == null ? void 0 : a.toLowerCase()) || "";
|
|
34
|
-
if (!t.fileExt.includes(l))
|
|
35
|
-
return u.error("文件类型不支持"), !1;
|
|
36
|
-
}
|
|
37
|
-
return e.size / 1024 / 1024 > t.maxFileSize ? (u.error(`文件大小超过 ${t.maxFileSize}MB 限制`), !1) : t.maxCount > 1 && o.value.length >= t.maxCount ? (u.error(`最多上传 ${t.maxCount} 个文件`), !1) : t.autoUpload;
|
|
38
|
-
}, x = (e) => {
|
|
39
|
-
e.forEach((a) => {
|
|
40
|
-
a.fileName || (a.fileName = a.name), t.parentPath && (a.name = J.join("/", t.parentPath, a.fileName));
|
|
41
|
-
});
|
|
42
|
-
}, c = N(() => ({
|
|
43
|
-
accept: k.value,
|
|
44
|
-
multiple: !0,
|
|
45
|
-
fileList: o.value,
|
|
46
|
-
"onUpdate:fileList": x,
|
|
47
|
-
beforeUpload: f,
|
|
48
|
-
listType: "text",
|
|
49
|
-
maxCount: t.maxCount,
|
|
50
|
-
showUploadList: !1,
|
|
51
|
-
onChange: (e) => {
|
|
52
|
-
t.autoUpload || (o.value = e.fileList);
|
|
53
|
-
}
|
|
54
|
-
}));
|
|
55
|
-
D(
|
|
56
|
-
() => o.value,
|
|
57
|
-
(e) => {
|
|
58
|
-
S("update:file-list", e);
|
|
59
|
-
},
|
|
60
|
-
{ deep: !0 }
|
|
61
|
-
);
|
|
62
|
-
const p = (e) => {
|
|
63
|
-
const a = o.value[e].minioFile, l = {
|
|
64
|
-
api: t.downloadUrl.api,
|
|
65
|
-
authorize: t.downloadUrl.authorize,
|
|
66
|
-
url: t.downloadUrl.url,
|
|
67
|
-
// url: props.pageData.urls.download!.url,
|
|
68
|
-
params: {
|
|
69
|
-
Query: {
|
|
70
|
-
FileKey: a.Key
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
W(l);
|
|
75
|
-
}, O = (e) => {
|
|
76
|
-
e.status = e.status === r.Offline ? r.Online : r.Offline, e.minioFile.Status = e.status;
|
|
77
|
-
}, _ = (e) => {
|
|
78
|
-
o.value.splice(e, 1);
|
|
79
|
-
}, U = () => {
|
|
80
|
-
const e = t.fileExt && t.fileExt.length ? `文件必须为 ${t.fileExt.join("/")}` : "", a = t.maxFileSize !== 0 ? `单文件最大 ${t.maxFileSize}MB` : "", l = t.maxCount !== 0 ? `最多 ${t.maxCount} 个文件` : "";
|
|
81
|
-
return [a, e, l].filter(Boolean).join(",");
|
|
82
|
-
}, n = (e) => {
|
|
83
|
-
switch (e) {
|
|
84
|
-
case r.Uploading:
|
|
85
|
-
return "blue";
|
|
86
|
-
case r.Success:
|
|
87
|
-
return "green";
|
|
88
|
-
case r.Error:
|
|
89
|
-
return "red";
|
|
90
|
-
case r.Online:
|
|
91
|
-
return "green";
|
|
92
|
-
case r.Offline:
|
|
93
|
-
return "pink";
|
|
94
|
-
default:
|
|
95
|
-
return "cyan";
|
|
96
|
-
}
|
|
97
|
-
}, i = (e) => {
|
|
98
|
-
switch (e) {
|
|
99
|
-
case r.Uploading:
|
|
100
|
-
return "上传中";
|
|
101
|
-
case r.Success:
|
|
102
|
-
return "已完成";
|
|
103
|
-
case r.Error:
|
|
104
|
-
return "上传失败";
|
|
105
|
-
case r.Online:
|
|
106
|
-
return "在线";
|
|
107
|
-
case r.Offline:
|
|
108
|
-
return "已下线";
|
|
109
|
-
default:
|
|
110
|
-
return "待上传";
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
return (e, a) => (h(), w("div", Z, [
|
|
114
|
-
d("div", ee, [
|
|
115
|
-
d("div", te, [
|
|
116
|
-
v(s(A), P({
|
|
117
|
-
ref_key: "fileUploader",
|
|
118
|
-
ref: g
|
|
119
|
-
}, c.value), {
|
|
120
|
-
default: m(() => [
|
|
121
|
-
v(s(L), null, {
|
|
122
|
-
default: m(() => a[0] || (a[0] = [
|
|
123
|
-
b("选择文件")
|
|
124
|
-
])),
|
|
125
|
-
_: 1,
|
|
126
|
-
__: [0]
|
|
127
|
-
})
|
|
128
|
-
]),
|
|
129
|
-
_: 1
|
|
130
|
-
}, 16)
|
|
131
|
-
]),
|
|
132
|
-
d("div", oe, y(U()), 1)
|
|
133
|
-
]),
|
|
134
|
-
d("div", ae, [
|
|
135
|
-
(h(!0), w(j, null, V(o.value, (l, z) => (h(), w("div", {
|
|
136
|
-
key: z,
|
|
137
|
-
class: "mb-2 pb-1"
|
|
138
|
-
}, [
|
|
139
|
-
d("div", le, [
|
|
140
|
-
d("div", re, [
|
|
141
|
-
d("span", {
|
|
142
|
-
class: R(["text-gray-700 mr-2", [l.status == s(r).Offline ? "line-through" : ""]])
|
|
143
|
-
}, y(l.fileName ?? l.name), 3),
|
|
144
|
-
d("span", null, [
|
|
145
|
-
v(s(I), {
|
|
146
|
-
color: n(l.status)
|
|
147
|
-
}, {
|
|
148
|
-
default: m(() => [
|
|
149
|
-
b(y(i(l.status)), 1)
|
|
150
|
-
]),
|
|
151
|
-
_: 2
|
|
152
|
-
}, 1032, ["color"])
|
|
153
|
-
])
|
|
154
|
-
]),
|
|
155
|
-
d("div", se, [
|
|
156
|
-
l.status == s(r).Offline || l.status == s(r).Online ? (h(), w("span", {
|
|
157
|
-
key: 0,
|
|
158
|
-
class: "text-blue-500 hover:text-blue-700 mr-4 cursor-pointer",
|
|
159
|
-
onClick: ($) => O(l)
|
|
160
|
-
}, y(l.status == s(r).Offline ? "上线" : "下线"), 9, ne)) : B("", !0),
|
|
161
|
-
l.status == s(r).Offline || l.status == s(r).Online ? (h(), w("span", {
|
|
162
|
-
key: 1,
|
|
163
|
-
class: "text-blue-500 hover:text-blue-700 mr-4 cursor-pointer",
|
|
164
|
-
onClick: ($) => p(z)
|
|
165
|
-
}, "下载", 8, ie)) : B("", !0),
|
|
166
|
-
d("span", {
|
|
167
|
-
class: "text-red-500 hover:text-red-700 cursor-pointer",
|
|
168
|
-
onClick: ($) => _(z)
|
|
169
|
-
}, "删除", 8, ue)
|
|
170
|
-
])
|
|
171
|
-
]),
|
|
172
|
-
d("div", null, [
|
|
173
|
-
v(s(Q), {
|
|
174
|
-
percent: l.percent,
|
|
175
|
-
"stroke-width": 2,
|
|
176
|
-
"show-info": !1,
|
|
177
|
-
style: { height: "2px" }
|
|
178
|
-
}, null, 8, ["percent"])
|
|
179
|
-
])
|
|
180
|
-
]))), 128))
|
|
181
|
-
])
|
|
182
|
-
]));
|
|
183
|
-
}
|
|
184
|
-
}), ye = /* @__PURE__ */ M({
|
|
185
|
-
__name: "uploadForm",
|
|
186
|
-
props: {
|
|
187
|
-
mode: {},
|
|
188
|
-
fileExt: {},
|
|
189
|
-
gridCtrl: {},
|
|
190
|
-
maxCount: {},
|
|
191
|
-
maxConcurrent: {},
|
|
192
|
-
uploadForm: {},
|
|
193
|
-
uploadUrl: {},
|
|
194
|
-
downloadUrl: {},
|
|
195
|
-
continueOnError: { type: Boolean }
|
|
196
|
-
},
|
|
197
|
-
emits: ["before:file-list", "before:upload", "after:upload"],
|
|
198
|
-
setup(F, { emit: E }) {
|
|
199
|
-
const t = F, o = t.uploadForm, g = C(!1), S = t.maxCount ?? 1, k = t.maxConcurrent ?? 3, f = C([]), x = E;
|
|
200
|
-
D(
|
|
201
|
-
() => o.visible.value,
|
|
202
|
-
() => {
|
|
203
|
-
g.value = o.visible.value;
|
|
204
|
-
}
|
|
205
|
-
);
|
|
206
|
-
const c = C(t.uploadUrl), p = C(t.downloadUrl), O = async () => {
|
|
207
|
-
const n = c.value;
|
|
208
|
-
if (!n) {
|
|
209
|
-
u.error("未配置文件上传地址!");
|
|
210
|
-
return;
|
|
211
|
-
}
|
|
212
|
-
x("before:upload", f.value);
|
|
213
|
-
const i = new X(n, k);
|
|
214
|
-
o.isFormLoading.value = !0;
|
|
215
|
-
try {
|
|
216
|
-
if (f.value.length === 0) {
|
|
217
|
-
u.warning("请选择上传的文件!");
|
|
218
|
-
return;
|
|
219
|
-
}
|
|
220
|
-
await i.uploadFiles(
|
|
221
|
-
f.value,
|
|
222
|
-
(e) => {
|
|
223
|
-
},
|
|
224
|
-
(e) => {
|
|
225
|
-
o.isFormLoading.value = !1;
|
|
226
|
-
let a = 0;
|
|
227
|
-
for (const l of e)
|
|
228
|
-
l.status === r.Error && a++;
|
|
229
|
-
a ? a < e.length ? t.continueOnError ? (u.error("上传结束,部分文件上传失败!"), u.warning("保存上传成功的文件!"), x("after:upload", e), _()) : u.error("上传结束,部分文件上传失败,取消保存!") : u.error("上传结束,所有文件上传失败!") : (u.success("全部文件上传成功!"), x("after:upload", e), _());
|
|
230
|
-
}
|
|
231
|
-
);
|
|
232
|
-
} catch (e) {
|
|
233
|
-
o.isFormLoading.value = !1, console.error("上传错误:", e), u.error("上传错误,请稍后再试!"), x("after:upload", f.value);
|
|
234
|
-
}
|
|
235
|
-
}, _ = async () => {
|
|
236
|
-
switch (t.mode) {
|
|
237
|
-
case "Row":
|
|
238
|
-
o.formData.value && (await Y(t.gridCtrl, o.formData.value)).status === H.SUCCESS && (o.visible.value = !1);
|
|
239
|
-
break;
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
T(() => {
|
|
243
|
-
const n = t.gridCtrl.page;
|
|
244
|
-
if (c.value = c.value ?? n.urls.upload, p.value = p.value ?? n.urls.download, !c.value) {
|
|
245
|
-
u.error("未配置文件上传地址!");
|
|
246
|
-
return;
|
|
247
|
-
}
|
|
248
|
-
if (c.value.api || (c.value.api = n.api), c.value.authorize === void 0 && (c.value.authorize = n.authorize), !p.value) {
|
|
249
|
-
u.error("未配置文件下载地址!");
|
|
250
|
-
return;
|
|
251
|
-
}
|
|
252
|
-
p.value.api || (p.value.api = n.api), p.value.authorize === void 0 && (p.value.authorize = n.authorize);
|
|
253
|
-
for (const e in o.formData.value)
|
|
254
|
-
t.gridCtrl.rowData.value && (o.formData.value[e] = t.gridCtrl.rowData.value[e]);
|
|
255
|
-
const i = [];
|
|
256
|
-
x("before:file-list", o, i), f.value.push(...i), g.value = o.visible.value;
|
|
257
|
-
});
|
|
258
|
-
const U = () => {
|
|
259
|
-
o.visible.value = !1;
|
|
260
|
-
};
|
|
261
|
-
return (n, i) => (h(), K(s(q), {
|
|
262
|
-
title: "文件上传",
|
|
263
|
-
open: g.value,
|
|
264
|
-
"onUpdate:open": i[1] || (i[1] = (e) => g.value = e),
|
|
265
|
-
wrapClassName: "modal mx-auto " + (n.$attrs.width ? "w-[" + n.$attrs.width + "]" : "w-[430px]"),
|
|
266
|
-
onClose: U
|
|
267
|
-
}, {
|
|
268
|
-
footer: m(() => [
|
|
269
|
-
v(s(G), null, {
|
|
270
|
-
default: m(() => [
|
|
271
|
-
v(s(L), { onClick: U }, {
|
|
272
|
-
default: m(() => i[2] || (i[2] = [
|
|
273
|
-
b("取消")
|
|
274
|
-
])),
|
|
275
|
-
_: 1,
|
|
276
|
-
__: [2]
|
|
277
|
-
}),
|
|
278
|
-
v(s(L), {
|
|
279
|
-
onClick: O,
|
|
280
|
-
type: "primary",
|
|
281
|
-
loading: s(o).isFormSaving.value
|
|
282
|
-
}, {
|
|
283
|
-
default: m(() => i[3] || (i[3] = [
|
|
284
|
-
b(" 上传文件并保存 ")
|
|
285
|
-
])),
|
|
286
|
-
_: 1,
|
|
287
|
-
__: [3]
|
|
288
|
-
}, 8, ["loading"])
|
|
289
|
-
]),
|
|
290
|
-
_: 1
|
|
291
|
-
})
|
|
292
|
-
]),
|
|
293
|
-
default: m(() => [
|
|
294
|
-
v(s(de), {
|
|
295
|
-
"file-list": f.value,
|
|
296
|
-
"onUpdate:fileList": i[0] || (i[0] = (e) => f.value = e),
|
|
297
|
-
"download-url": p.value,
|
|
298
|
-
"max-count": s(S),
|
|
299
|
-
"file-ext": n.fileExt
|
|
300
|
-
}, null, 8, ["file-list", "download-url", "max-count", "file-ext"])
|
|
301
|
-
]),
|
|
302
|
-
_: 1
|
|
303
|
-
}, 8, ["open", "wrapClassName"]));
|
|
304
|
-
}
|
|
305
|
-
});
|
|
306
|
-
export {
|
|
307
|
-
ye as _,
|
|
308
|
-
de as a
|
|
309
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { EditorControl, GridControl, ExcelFileParams } from '@skyfox2000/webbase';
|
|
2
|
-
import { AnyData } from '../../../../../502417_fapi';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
-
type __VLS_Props = {
|
|
5
|
-
title: String;
|
|
6
|
-
gridCtrl: GridControl<AnyData>;
|
|
7
|
-
excelCtrl: EditorControl<AnyData>;
|
|
8
|
-
uploadParams: ExcelFileParams;
|
|
9
|
-
excelFieldMap: Record<string, string>;
|
|
10
|
-
fileField?: string;
|
|
11
|
-
excelBatchField?: string;
|
|
12
|
-
saveText?: string;
|
|
13
|
-
};
|
|
14
|
-
declare function __VLS_template(): {
|
|
15
|
-
attrs: Partial<{}>;
|
|
16
|
-
slots: {
|
|
17
|
-
default?(_: {}): any;
|
|
18
|
-
};
|
|
19
|
-
refs: {};
|
|
20
|
-
rootEl: any;
|
|
21
|
-
};
|
|
22
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
-
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
|
-
export default _default;
|
|
26
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
-
new (): {
|
|
28
|
-
$slots: S;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=excelForm.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"excelForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/content/dialog/excelForm.vue"],"names":[],"mappings":"AAoeA,OAAO,EACJ,aAAa,EACb,WAAW,EAOX,eAAe,EAGjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAa,MAAM,kBAAkB,CAAC;AAKtD,OAAO,iCAAiC,CAAC;AAKzC,KAAK,WAAW,GAAG;IAIhB,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAI/B,SAAS,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAIlC,YAAY,EAAE,eAAe,CAAC;IAK9B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAItC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,eAAe,CAAC,EAAE,MAAM,CAAC;IAIzB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AA0SF,iBAAS,cAAc;WAgRT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAgCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EditorControl, GridControl, UploadFile } from '@skyfox2000/webbase';
|
|
2
|
-
import { AnyData, IUrlInfo } from '../../../../../502417_fapi';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
-
type __VLS_Props = {
|
|
5
|
-
mode: 'Row' | 'Page';
|
|
6
|
-
fileExt?: string[];
|
|
7
|
-
gridCtrl: GridControl<AnyData>;
|
|
8
|
-
maxCount?: number;
|
|
9
|
-
maxConcurrent?: number;
|
|
10
|
-
uploadForm: EditorControl<AnyData>;
|
|
11
|
-
uploadUrl?: IUrlInfo;
|
|
12
|
-
downloadUrl?: IUrlInfo;
|
|
13
|
-
continueOnError?: boolean;
|
|
14
|
-
};
|
|
15
|
-
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16
|
-
"before:file-list": (args_0: EditorControl<any>, args_1: UploadFile<AjaxResponse>[]) => any;
|
|
17
|
-
"before:upload": (args_0: UploadFile<AjaxResponse>[]) => any;
|
|
18
|
-
"after:upload": (args_0: UploadFile<AjaxResponse>[]) => any;
|
|
19
|
-
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
-
"onBefore:file-list"?: ((args_0: EditorControl<any>, args_1: UploadFile<AjaxResponse>[]) => any) | undefined;
|
|
21
|
-
"onBefore:upload"?: ((args_0: UploadFile<AjaxResponse>[]) => any) | undefined;
|
|
22
|
-
"onAfter:upload"?: ((args_0: UploadFile<AjaxResponse>[]) => any) | undefined;
|
|
23
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
|
-
export default _default;
|
|
25
|
-
//# sourceMappingURL=uploadForm.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"uploadForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/content/dialog/uploadForm.vue"],"names":[],"mappings":"AAyOA,OAAO,EAAiB,aAAa,EAAE,WAAW,EAAiB,MAAM,qBAAqB,CAAC;AAC/F,OAAO,EAAE,OAAO,EAAe,QAAQ,EAAa,MAAM,kBAAkB,CAAC;AAE7E,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,KAAK,WAAW,GAAG;IAMhB,IAAI,EAAE,KAAK,GAAG,MAAM,CAAC;IAIrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAInB,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAK/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,aAAa,CAAC,EAAE,MAAM,CAAC;IAIvB,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAInC,SAAS,CAAC,EAAE,QAAQ,CAAC;IAIrB,WAAW,CAAC,EAAE,QAAQ,CAAC;IAIvB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;;;;;;;;;;AA8QF,wBAQG"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
|
-
export default _default;
|
|
4
|
-
//# sourceMappingURL=error403.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"error403.vue.d.ts","sourceRoot":"","sources":["../../../src/components/error/error403.vue"],"names":[],"mappings":";;AA8FA,wBAMG"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
|
-
export default _default;
|
|
4
|
-
//# sourceMappingURL=error404.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"error404.vue.d.ts","sourceRoot":"","sources":["../../../src/components/error/error404.vue"],"names":[],"mappings":";;AA8FA,wBAMG"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
value?: any;
|
|
4
|
-
baseUrl: string;
|
|
5
|
-
lang?: 'json' | 'javascript' | 'yaml';
|
|
6
|
-
};
|
|
7
|
-
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
-
"update:value": (...args: any[]) => void;
|
|
9
|
-
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
12
|
-
export default _default;
|
|
13
|
-
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/aceEditor/index.vue"],"names":[],"mappings":";AAqLA,KAAK,WAAW,GAAG;IAChB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,MAAM,CAAC;CACxC,CAAC;;;;;;AAkUF,wBAOG"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
routes: any;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
6
|
-
export default _default;
|
|
7
|
-
//# sourceMappingURL=basicLayout.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"basicLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/page/basicLayout.vue"],"names":[],"mappings":";AAgFA,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,GAAG,CAAA;CAAE,CAAC;;AA0NnC,wBAOG"}
|
|
File without changes
|