iking-web-ui-pro 0.2.4 → 0.2.6
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/dist/IKDetailPreviewFiles/ik.index.es.js +586 -571
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKDetailPreviewFiles/style.css +1 -1
- package/dist/IKExpandCollapse/ik.index.es.js +123 -120
- package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
- package/dist/IKExpandCollapse/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +491 -476
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IKVerticalStepBar/ik.index.es.js +142 -139
- package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
- package/dist/IKVerticalStepBar/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +756 -741
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +125 -122
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/style.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +252 -249
- package/dist/IkBtnSetting/ik.index.umd.js +1 -1
- package/dist/IkBtnSetting/style.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +129 -126
- package/dist/IkCollapseCard/ik.index.umd.js +1 -1
- package/dist/IkCollapseCard/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +530 -515
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkIconPicker/ik.index.es.js +196 -193
- package/dist/IkIconPicker/ik.index.umd.js +1 -1
- package/dist/IkIconPicker/style.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +397 -394
- package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
- package/dist/IkMonacoEditor/style.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +1122 -1119
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +314 -308
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/style.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +968 -965
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkSchedule/style.css +1 -1
- package/dist/IkSideText/ik.index.es.js +148 -145
- package/dist/IkSideText/ik.index.umd.js +1 -1
- package/dist/IkSideText/style.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +106 -103
- package/dist/IkSvgIcon/ik.index.umd.js +1 -1
- package/dist/IkSvgIcon/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +963 -944
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +265 -253
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/Provider/ik.index.es.js +1611 -0
- package/dist/Provider/ik.index.umd.js +17 -0
- package/dist/index.es.js +38689 -37072
- package/dist/index.umd.js +95 -79
- package/dist/src/components/IKDetailPreviewFiles/index.d.ts +1 -1
- package/dist/src/components/IKDetailPreviewFiles/src/IKDetailPreviewFiles.vue.d.ts +1 -1
- package/dist/src/components/IKPreviewFile/index.d.ts +3 -3
- package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +1 -1
- package/dist/src/components/IkApprovalProcess/index.d.ts +1 -1
- package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +1 -1
- package/dist/src/components/IkDescription/index.d.ts +3 -3
- package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +1 -1
- package/dist/src/components/IkPreviewFileDialog/index.d.ts +1 -1
- package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +1 -1
- package/dist/src/components/IkTinymce/index.d.ts +1 -1
- package/dist/src/components/IkTinymce/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkUploadFile/index.d.ts +3 -3
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkUploadImage/index.d.ts +3 -3
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
- package/dist/src/components/Provider/ProviderConfig.vue.d.ts +66 -0
- package/dist/src/components/Provider/index.d.ts +139 -0
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/utils/use-provider.d.ts +8 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1611 @@
|
|
|
1
|
+
import { defineComponent as Gt, computed as z, renderSlot as Bt } from "vue";
|
|
2
|
+
const Qt = (e, t) => {
|
|
3
|
+
if (e.install = (n) => {
|
|
4
|
+
for (const r of [e, ...Object.values(t ?? {})])
|
|
5
|
+
n.component(r.name, r);
|
|
6
|
+
}, t)
|
|
7
|
+
for (const [n, r] of Object.entries(t))
|
|
8
|
+
e[n] = r;
|
|
9
|
+
return e;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @vue/shared v3.4.27
|
|
13
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
14
|
+
* @license MIT
|
|
15
|
+
**/
|
|
16
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
17
|
+
// @__NO_SIDE_EFFECTS__
|
|
18
|
+
function Xt(e, t) {
|
|
19
|
+
const n = new Set(e.split(","));
|
|
20
|
+
return t ? (r) => n.has(r.toLowerCase()) : (r) => n.has(r);
|
|
21
|
+
}
|
|
22
|
+
const P = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
23
|
+
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
24
|
+
const J = () => {
|
|
25
|
+
}, Zt = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
26
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), x = Object.assign, kt = Object.prototype.hasOwnProperty, g = (e, t) => kt.call(e, t), d = Array.isArray, B = (e) => Se(e) === "[object Map]", en = (e) => Se(e) === "[object Set]", E = (e) => typeof e == "function", v = (e) => typeof e == "string", ie = (e) => typeof e == "symbol", S = (e) => e !== null && typeof e == "object", tn = (e) => (S(e) || E(e)) && E(e.then) && E(e.catch), nn = Object.prototype.toString, Se = (e) => nn.call(e), Et = (e) => Se(e).slice(8, -1), rn = (e) => Se(e) === "[object Object]", Ke = (e) => v(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, on = (e) => {
|
|
27
|
+
const t = /* @__PURE__ */ Object.create(null);
|
|
28
|
+
return (n) => t[n] || (t[n] = e(n));
|
|
29
|
+
}, sn = on((e) => e.charAt(0).toUpperCase() + e.slice(1)), X = (e, t) => !Object.is(e, t), cn = (e, t, n, r = !1) => {
|
|
30
|
+
Object.defineProperty(e, t, {
|
|
31
|
+
configurable: !0,
|
|
32
|
+
enumerable: !1,
|
|
33
|
+
writable: r,
|
|
34
|
+
value: n
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
let nt;
|
|
38
|
+
const mt = () => nt || (nt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
39
|
+
function ze(e) {
|
|
40
|
+
if (d(e)) {
|
|
41
|
+
const t = {};
|
|
42
|
+
for (let n = 0; n < e.length; n++) {
|
|
43
|
+
const r = e[n], o = v(r) ? fn(r) : ze(r);
|
|
44
|
+
if (o)
|
|
45
|
+
for (const s in o)
|
|
46
|
+
t[s] = o[s];
|
|
47
|
+
}
|
|
48
|
+
return t;
|
|
49
|
+
} else if (v(e) || S(e))
|
|
50
|
+
return e;
|
|
51
|
+
}
|
|
52
|
+
const ln = /;(?![^(]*\))/g, an = /:([^]+)/, un = /\/\*[^]*?\*\//g;
|
|
53
|
+
function fn(e) {
|
|
54
|
+
const t = {};
|
|
55
|
+
return e.replace(un, "").split(ln).forEach((n) => {
|
|
56
|
+
if (n) {
|
|
57
|
+
const r = n.split(an);
|
|
58
|
+
r.length > 1 && (t[r[0].trim()] = r[1].trim());
|
|
59
|
+
}
|
|
60
|
+
}), t;
|
|
61
|
+
}
|
|
62
|
+
function We(e) {
|
|
63
|
+
let t = "";
|
|
64
|
+
if (v(e))
|
|
65
|
+
t = e;
|
|
66
|
+
else if (d(e))
|
|
67
|
+
for (let n = 0; n < e.length; n++) {
|
|
68
|
+
const r = We(e[n]);
|
|
69
|
+
r && (t += r + " ");
|
|
70
|
+
}
|
|
71
|
+
else if (S(e))
|
|
72
|
+
for (const n in e)
|
|
73
|
+
e[n] && (t += n + " ");
|
|
74
|
+
return t.trim();
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @vue/reactivity v3.4.27
|
|
78
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
79
|
+
* @license MIT
|
|
80
|
+
**/
|
|
81
|
+
function oe(e, ...t) {
|
|
82
|
+
console.warn(`[Vue warn] ${e}`, ...t);
|
|
83
|
+
}
|
|
84
|
+
let pn;
|
|
85
|
+
function dn(e, t = pn) {
|
|
86
|
+
t && t.active && t.effects.push(e);
|
|
87
|
+
}
|
|
88
|
+
let ee;
|
|
89
|
+
class hn {
|
|
90
|
+
constructor(t, n, r, o) {
|
|
91
|
+
this.fn = t, this.trigger = n, this.scheduler = r, this.active = !0, this.deps = [], this._dirtyLevel = 4, this._trackId = 0, this._runnings = 0, this._shouldSchedule = !1, this._depsLength = 0, dn(this, o);
|
|
92
|
+
}
|
|
93
|
+
get dirty() {
|
|
94
|
+
if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {
|
|
95
|
+
this._dirtyLevel = 1, Ve();
|
|
96
|
+
for (let t = 0; t < this._depsLength; t++) {
|
|
97
|
+
const n = this.deps[t];
|
|
98
|
+
if (n.computed && (_n(n.computed), this._dirtyLevel >= 4))
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
this._dirtyLevel === 1 && (this._dirtyLevel = 0), xe();
|
|
102
|
+
}
|
|
103
|
+
return this._dirtyLevel >= 4;
|
|
104
|
+
}
|
|
105
|
+
set dirty(t) {
|
|
106
|
+
this._dirtyLevel = t ? 4 : 0;
|
|
107
|
+
}
|
|
108
|
+
run() {
|
|
109
|
+
if (this._dirtyLevel = 0, !this.active)
|
|
110
|
+
return this.fn();
|
|
111
|
+
let t = L, n = ee;
|
|
112
|
+
try {
|
|
113
|
+
return L = !0, ee = this, this._runnings++, rt(this), this.fn();
|
|
114
|
+
} finally {
|
|
115
|
+
ot(this), this._runnings--, ee = n, L = t;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
stop() {
|
|
119
|
+
this.active && (rt(this), ot(this), this.onStop && this.onStop(), this.active = !1);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
function _n(e) {
|
|
123
|
+
return e.value;
|
|
124
|
+
}
|
|
125
|
+
function rt(e) {
|
|
126
|
+
e._trackId++, e._depsLength = 0;
|
|
127
|
+
}
|
|
128
|
+
function ot(e) {
|
|
129
|
+
if (e.deps.length > e._depsLength) {
|
|
130
|
+
for (let t = e._depsLength; t < e.deps.length; t++)
|
|
131
|
+
wt(e.deps[t], e);
|
|
132
|
+
e.deps.length = e._depsLength;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
function wt(e, t) {
|
|
136
|
+
const n = e.get(t);
|
|
137
|
+
n !== void 0 && t._trackId !== n && (e.delete(t), e.size === 0 && e.cleanup());
|
|
138
|
+
}
|
|
139
|
+
let L = !0, Te = 0;
|
|
140
|
+
const Nt = [];
|
|
141
|
+
function Ve() {
|
|
142
|
+
Nt.push(L), L = !1;
|
|
143
|
+
}
|
|
144
|
+
function xe() {
|
|
145
|
+
const e = Nt.pop();
|
|
146
|
+
L = e === void 0 ? !0 : e;
|
|
147
|
+
}
|
|
148
|
+
function qe() {
|
|
149
|
+
Te++;
|
|
150
|
+
}
|
|
151
|
+
function Je() {
|
|
152
|
+
for (Te--; !Te && $e.length; )
|
|
153
|
+
$e.shift()();
|
|
154
|
+
}
|
|
155
|
+
function gn(e, t, n) {
|
|
156
|
+
var r;
|
|
157
|
+
if (t.get(e) !== e._trackId) {
|
|
158
|
+
t.set(e, e._trackId);
|
|
159
|
+
const o = e.deps[e._depsLength];
|
|
160
|
+
o !== t ? (o && wt(o, e), e.deps[e._depsLength++] = t) : e._depsLength++, process.env.NODE_ENV !== "production" && ((r = e.onTrack) == null || r.call(e, x({ effect: e }, n)));
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
const $e = [];
|
|
164
|
+
function En(e, t, n) {
|
|
165
|
+
var r;
|
|
166
|
+
qe();
|
|
167
|
+
for (const o of e.keys()) {
|
|
168
|
+
let s;
|
|
169
|
+
o._dirtyLevel < t && (s ?? (s = e.get(o) === o._trackId)) && (o._shouldSchedule || (o._shouldSchedule = o._dirtyLevel === 0), o._dirtyLevel = t), o._shouldSchedule && (s ?? (s = e.get(o) === o._trackId)) && (process.env.NODE_ENV !== "production" && ((r = o.onTrigger) == null || r.call(o, x({ effect: o }, n))), o.trigger(), (!o._runnings || o.allowRecurse) && o._dirtyLevel !== 2 && (o._shouldSchedule = !1, o.scheduler && $e.push(o.scheduler)));
|
|
170
|
+
}
|
|
171
|
+
Je();
|
|
172
|
+
}
|
|
173
|
+
const mn = (e, t) => {
|
|
174
|
+
const n = /* @__PURE__ */ new Map();
|
|
175
|
+
return n.cleanup = e, n.computed = t, n;
|
|
176
|
+
}, Me = /* @__PURE__ */ new WeakMap(), F = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), je = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
|
|
177
|
+
function m(e, t, n) {
|
|
178
|
+
if (L && ee) {
|
|
179
|
+
let r = Me.get(e);
|
|
180
|
+
r || Me.set(e, r = /* @__PURE__ */ new Map());
|
|
181
|
+
let o = r.get(n);
|
|
182
|
+
o || r.set(n, o = mn(() => r.delete(n))), gn(
|
|
183
|
+
ee,
|
|
184
|
+
o,
|
|
185
|
+
process.env.NODE_ENV !== "production" ? {
|
|
186
|
+
target: e,
|
|
187
|
+
type: t,
|
|
188
|
+
key: n
|
|
189
|
+
} : void 0
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
function M(e, t, n, r, o, s) {
|
|
194
|
+
const i = Me.get(e);
|
|
195
|
+
if (!i)
|
|
196
|
+
return;
|
|
197
|
+
let c = [];
|
|
198
|
+
if (t === "clear")
|
|
199
|
+
c = [...i.values()];
|
|
200
|
+
else if (n === "length" && d(e)) {
|
|
201
|
+
const l = Number(r);
|
|
202
|
+
i.forEach((a, h) => {
|
|
203
|
+
(h === "length" || !ie(h) && h >= l) && c.push(a);
|
|
204
|
+
});
|
|
205
|
+
} else
|
|
206
|
+
switch (n !== void 0 && c.push(i.get(n)), t) {
|
|
207
|
+
case "add":
|
|
208
|
+
d(e) ? Ke(n) && c.push(i.get("length")) : (c.push(i.get(F)), B(e) && c.push(i.get(je)));
|
|
209
|
+
break;
|
|
210
|
+
case "delete":
|
|
211
|
+
d(e) || (c.push(i.get(F)), B(e) && c.push(i.get(je)));
|
|
212
|
+
break;
|
|
213
|
+
case "set":
|
|
214
|
+
B(e) && c.push(i.get(F));
|
|
215
|
+
break;
|
|
216
|
+
}
|
|
217
|
+
qe();
|
|
218
|
+
for (const l of c)
|
|
219
|
+
l && En(
|
|
220
|
+
l,
|
|
221
|
+
4,
|
|
222
|
+
process.env.NODE_ENV !== "production" ? {
|
|
223
|
+
target: e,
|
|
224
|
+
type: t,
|
|
225
|
+
key: n,
|
|
226
|
+
newValue: r,
|
|
227
|
+
oldValue: o,
|
|
228
|
+
oldTarget: s
|
|
229
|
+
} : void 0
|
|
230
|
+
);
|
|
231
|
+
Je();
|
|
232
|
+
}
|
|
233
|
+
const wn = /* @__PURE__ */ Xt("__proto__,__v_isRef,__isVue"), Ot = new Set(
|
|
234
|
+
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(ie)
|
|
235
|
+
), st = /* @__PURE__ */ Nn();
|
|
236
|
+
function Nn() {
|
|
237
|
+
const e = {};
|
|
238
|
+
return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
|
|
239
|
+
e[t] = function(...n) {
|
|
240
|
+
const r = f(this);
|
|
241
|
+
for (let s = 0, i = this.length; s < i; s++)
|
|
242
|
+
m(r, "get", s + "");
|
|
243
|
+
const o = r[t](...n);
|
|
244
|
+
return o === -1 || o === !1 ? r[t](...n.map(f)) : o;
|
|
245
|
+
};
|
|
246
|
+
}), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
|
|
247
|
+
e[t] = function(...n) {
|
|
248
|
+
Ve(), qe();
|
|
249
|
+
const r = f(this)[t].apply(this, n);
|
|
250
|
+
return Je(), xe(), r;
|
|
251
|
+
};
|
|
252
|
+
}), e;
|
|
253
|
+
}
|
|
254
|
+
function On(e) {
|
|
255
|
+
ie(e) || (e = String(e));
|
|
256
|
+
const t = f(this);
|
|
257
|
+
return m(t, "has", e), t.hasOwnProperty(e);
|
|
258
|
+
}
|
|
259
|
+
class bt {
|
|
260
|
+
constructor(t = !1, n = !1) {
|
|
261
|
+
this._isReadonly = t, this._isShallow = n;
|
|
262
|
+
}
|
|
263
|
+
get(t, n, r) {
|
|
264
|
+
const o = this._isReadonly, s = this._isShallow;
|
|
265
|
+
if (n === "__v_isReactive")
|
|
266
|
+
return !o;
|
|
267
|
+
if (n === "__v_isReadonly")
|
|
268
|
+
return o;
|
|
269
|
+
if (n === "__v_isShallow")
|
|
270
|
+
return s;
|
|
271
|
+
if (n === "__v_raw")
|
|
272
|
+
return r === (o ? s ? yt : xt : s ? $n : Vt).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
273
|
+
// this means the reciever is a user proxy of the reactive proxy
|
|
274
|
+
Object.getPrototypeOf(t) === Object.getPrototypeOf(r) ? t : void 0;
|
|
275
|
+
const i = d(t);
|
|
276
|
+
if (!o) {
|
|
277
|
+
if (i && g(st, n))
|
|
278
|
+
return Reflect.get(st, n, r);
|
|
279
|
+
if (n === "hasOwnProperty")
|
|
280
|
+
return On;
|
|
281
|
+
}
|
|
282
|
+
const c = Reflect.get(t, n, r);
|
|
283
|
+
return (ie(n) ? Ot.has(n) : wn(n)) || (o || m(t, "get", n), s) ? c : V(c) ? i && Ke(n) ? c : c.value : S(c) ? o ? It(c) : Ct(c) : c;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
class bn extends bt {
|
|
287
|
+
constructor(t = !1) {
|
|
288
|
+
super(!1, t);
|
|
289
|
+
}
|
|
290
|
+
set(t, n, r, o) {
|
|
291
|
+
let s = t[n];
|
|
292
|
+
if (!this._isShallow) {
|
|
293
|
+
const l = we(s);
|
|
294
|
+
if (!Ae(r) && !we(r) && (s = f(s), r = f(r)), !d(t) && V(s) && !V(r))
|
|
295
|
+
return l ? !1 : (s.value = r, !0);
|
|
296
|
+
}
|
|
297
|
+
const i = d(t) && Ke(n) ? Number(n) < t.length : g(t, n), c = Reflect.set(t, n, r, o);
|
|
298
|
+
return t === f(o) && (i ? X(r, s) && M(t, "set", n, r, s) : M(t, "add", n, r)), c;
|
|
299
|
+
}
|
|
300
|
+
deleteProperty(t, n) {
|
|
301
|
+
const r = g(t, n), o = t[n], s = Reflect.deleteProperty(t, n);
|
|
302
|
+
return s && r && M(t, "delete", n, void 0, o), s;
|
|
303
|
+
}
|
|
304
|
+
has(t, n) {
|
|
305
|
+
const r = Reflect.has(t, n);
|
|
306
|
+
return (!ie(n) || !Ot.has(n)) && m(t, "has", n), r;
|
|
307
|
+
}
|
|
308
|
+
ownKeys(t) {
|
|
309
|
+
return m(
|
|
310
|
+
t,
|
|
311
|
+
"iterate",
|
|
312
|
+
d(t) ? "length" : F
|
|
313
|
+
), Reflect.ownKeys(t);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
class vt extends bt {
|
|
317
|
+
constructor(t = !1) {
|
|
318
|
+
super(!0, t);
|
|
319
|
+
}
|
|
320
|
+
set(t, n) {
|
|
321
|
+
return process.env.NODE_ENV !== "production" && oe(
|
|
322
|
+
`Set operation on key "${String(n)}" failed: target is readonly.`,
|
|
323
|
+
t
|
|
324
|
+
), !0;
|
|
325
|
+
}
|
|
326
|
+
deleteProperty(t, n) {
|
|
327
|
+
return process.env.NODE_ENV !== "production" && oe(
|
|
328
|
+
`Delete operation on key "${String(n)}" failed: target is readonly.`,
|
|
329
|
+
t
|
|
330
|
+
), !0;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
const vn = /* @__PURE__ */ new bn(), Sn = /* @__PURE__ */ new vt(), Vn = /* @__PURE__ */ new vt(!0), Ye = (e) => e, ye = (e) => Reflect.getPrototypeOf(e);
|
|
334
|
+
function ae(e, t, n = !1, r = !1) {
|
|
335
|
+
e = e.__v_raw;
|
|
336
|
+
const o = f(e), s = f(t);
|
|
337
|
+
n || (X(t, s) && m(o, "get", t), m(o, "get", s));
|
|
338
|
+
const { has: i } = ye(o), c = r ? Ye : n ? Xe : Qe;
|
|
339
|
+
if (i.call(o, t))
|
|
340
|
+
return c(e.get(t));
|
|
341
|
+
if (i.call(o, s))
|
|
342
|
+
return c(e.get(s));
|
|
343
|
+
e !== o && e.get(t);
|
|
344
|
+
}
|
|
345
|
+
function ue(e, t = !1) {
|
|
346
|
+
const n = this.__v_raw, r = f(n), o = f(e);
|
|
347
|
+
return t || (X(e, o) && m(r, "has", e), m(r, "has", o)), e === o ? n.has(e) : n.has(e) || n.has(o);
|
|
348
|
+
}
|
|
349
|
+
function fe(e, t = !1) {
|
|
350
|
+
return e = e.__v_raw, !t && m(f(e), "iterate", F), Reflect.get(e, "size", e);
|
|
351
|
+
}
|
|
352
|
+
function it(e) {
|
|
353
|
+
e = f(e);
|
|
354
|
+
const t = f(this);
|
|
355
|
+
return ye(t).has.call(t, e) || (t.add(e), M(t, "add", e, e)), this;
|
|
356
|
+
}
|
|
357
|
+
function ct(e, t) {
|
|
358
|
+
t = f(t);
|
|
359
|
+
const n = f(this), { has: r, get: o } = ye(n);
|
|
360
|
+
let s = r.call(n, e);
|
|
361
|
+
s ? process.env.NODE_ENV !== "production" && St(n, r, e) : (e = f(e), s = r.call(n, e));
|
|
362
|
+
const i = o.call(n, e);
|
|
363
|
+
return n.set(e, t), s ? X(t, i) && M(n, "set", e, t, i) : M(n, "add", e, t), this;
|
|
364
|
+
}
|
|
365
|
+
function lt(e) {
|
|
366
|
+
const t = f(this), { has: n, get: r } = ye(t);
|
|
367
|
+
let o = n.call(t, e);
|
|
368
|
+
o ? process.env.NODE_ENV !== "production" && St(t, n, e) : (e = f(e), o = n.call(t, e));
|
|
369
|
+
const s = r ? r.call(t, e) : void 0, i = t.delete(e);
|
|
370
|
+
return o && M(t, "delete", e, void 0, s), i;
|
|
371
|
+
}
|
|
372
|
+
function at() {
|
|
373
|
+
const e = f(this), t = e.size !== 0, n = process.env.NODE_ENV !== "production" ? B(e) ? new Map(e) : new Set(e) : void 0, r = e.clear();
|
|
374
|
+
return t && M(e, "clear", void 0, void 0, n), r;
|
|
375
|
+
}
|
|
376
|
+
function pe(e, t) {
|
|
377
|
+
return function(r, o) {
|
|
378
|
+
const s = this, i = s.__v_raw, c = f(i), l = t ? Ye : e ? Xe : Qe;
|
|
379
|
+
return !e && m(c, "iterate", F), i.forEach((a, h) => r.call(o, l(a), l(h), s));
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
function de(e, t, n) {
|
|
383
|
+
return function(...r) {
|
|
384
|
+
const o = this.__v_raw, s = f(o), i = B(s), c = e === "entries" || e === Symbol.iterator && i, l = e === "keys" && i, a = o[e](...r), h = n ? Ye : t ? Xe : Qe;
|
|
385
|
+
return !t && m(
|
|
386
|
+
s,
|
|
387
|
+
"iterate",
|
|
388
|
+
l ? je : F
|
|
389
|
+
), {
|
|
390
|
+
// iterator protocol
|
|
391
|
+
next() {
|
|
392
|
+
const { value: _, done: O } = a.next();
|
|
393
|
+
return O ? { value: _, done: O } : {
|
|
394
|
+
value: c ? [h(_[0]), h(_[1])] : h(_),
|
|
395
|
+
done: O
|
|
396
|
+
};
|
|
397
|
+
},
|
|
398
|
+
// iterable protocol
|
|
399
|
+
[Symbol.iterator]() {
|
|
400
|
+
return this;
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
}
|
|
405
|
+
function D(e) {
|
|
406
|
+
return function(...t) {
|
|
407
|
+
if (process.env.NODE_ENV !== "production") {
|
|
408
|
+
const n = t[0] ? `on key "${t[0]}" ` : "";
|
|
409
|
+
oe(
|
|
410
|
+
`${sn(e)} operation ${n}failed: target is readonly.`,
|
|
411
|
+
f(this)
|
|
412
|
+
);
|
|
413
|
+
}
|
|
414
|
+
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
415
|
+
};
|
|
416
|
+
}
|
|
417
|
+
function xn() {
|
|
418
|
+
const e = {
|
|
419
|
+
get(s) {
|
|
420
|
+
return ae(this, s);
|
|
421
|
+
},
|
|
422
|
+
get size() {
|
|
423
|
+
return fe(this);
|
|
424
|
+
},
|
|
425
|
+
has: ue,
|
|
426
|
+
add: it,
|
|
427
|
+
set: ct,
|
|
428
|
+
delete: lt,
|
|
429
|
+
clear: at,
|
|
430
|
+
forEach: pe(!1, !1)
|
|
431
|
+
}, t = {
|
|
432
|
+
get(s) {
|
|
433
|
+
return ae(this, s, !1, !0);
|
|
434
|
+
},
|
|
435
|
+
get size() {
|
|
436
|
+
return fe(this);
|
|
437
|
+
},
|
|
438
|
+
has: ue,
|
|
439
|
+
add: it,
|
|
440
|
+
set: ct,
|
|
441
|
+
delete: lt,
|
|
442
|
+
clear: at,
|
|
443
|
+
forEach: pe(!1, !0)
|
|
444
|
+
}, n = {
|
|
445
|
+
get(s) {
|
|
446
|
+
return ae(this, s, !0);
|
|
447
|
+
},
|
|
448
|
+
get size() {
|
|
449
|
+
return fe(this, !0);
|
|
450
|
+
},
|
|
451
|
+
has(s) {
|
|
452
|
+
return ue.call(this, s, !0);
|
|
453
|
+
},
|
|
454
|
+
add: D("add"),
|
|
455
|
+
set: D("set"),
|
|
456
|
+
delete: D("delete"),
|
|
457
|
+
clear: D("clear"),
|
|
458
|
+
forEach: pe(!0, !1)
|
|
459
|
+
}, r = {
|
|
460
|
+
get(s) {
|
|
461
|
+
return ae(this, s, !0, !0);
|
|
462
|
+
},
|
|
463
|
+
get size() {
|
|
464
|
+
return fe(this, !0);
|
|
465
|
+
},
|
|
466
|
+
has(s) {
|
|
467
|
+
return ue.call(this, s, !0);
|
|
468
|
+
},
|
|
469
|
+
add: D("add"),
|
|
470
|
+
set: D("set"),
|
|
471
|
+
delete: D("delete"),
|
|
472
|
+
clear: D("clear"),
|
|
473
|
+
forEach: pe(!0, !0)
|
|
474
|
+
};
|
|
475
|
+
return [
|
|
476
|
+
"keys",
|
|
477
|
+
"values",
|
|
478
|
+
"entries",
|
|
479
|
+
Symbol.iterator
|
|
480
|
+
].forEach((s) => {
|
|
481
|
+
e[s] = de(s, !1, !1), n[s] = de(s, !0, !1), t[s] = de(s, !1, !0), r[s] = de(
|
|
482
|
+
s,
|
|
483
|
+
!0,
|
|
484
|
+
!0
|
|
485
|
+
);
|
|
486
|
+
}), [
|
|
487
|
+
e,
|
|
488
|
+
n,
|
|
489
|
+
t,
|
|
490
|
+
r
|
|
491
|
+
];
|
|
492
|
+
}
|
|
493
|
+
const [
|
|
494
|
+
yn,
|
|
495
|
+
Cn,
|
|
496
|
+
In,
|
|
497
|
+
Rn
|
|
498
|
+
] = /* @__PURE__ */ xn();
|
|
499
|
+
function Ge(e, t) {
|
|
500
|
+
const n = t ? e ? Rn : In : e ? Cn : yn;
|
|
501
|
+
return (r, o, s) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
|
|
502
|
+
g(n, o) && o in r ? n : r,
|
|
503
|
+
o,
|
|
504
|
+
s
|
|
505
|
+
);
|
|
506
|
+
}
|
|
507
|
+
const Dn = {
|
|
508
|
+
get: /* @__PURE__ */ Ge(!1, !1)
|
|
509
|
+
}, Pn = {
|
|
510
|
+
get: /* @__PURE__ */ Ge(!0, !1)
|
|
511
|
+
}, Tn = {
|
|
512
|
+
get: /* @__PURE__ */ Ge(!0, !0)
|
|
513
|
+
};
|
|
514
|
+
function St(e, t, n) {
|
|
515
|
+
const r = f(n);
|
|
516
|
+
if (r !== n && t.call(e, r)) {
|
|
517
|
+
const o = Et(e);
|
|
518
|
+
oe(
|
|
519
|
+
`Reactive ${o} contains both the raw and reactive versions of the same object${o === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
|
|
520
|
+
);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
const Vt = /* @__PURE__ */ new WeakMap(), $n = /* @__PURE__ */ new WeakMap(), xt = /* @__PURE__ */ new WeakMap(), yt = /* @__PURE__ */ new WeakMap();
|
|
524
|
+
function Mn(e) {
|
|
525
|
+
switch (e) {
|
|
526
|
+
case "Object":
|
|
527
|
+
case "Array":
|
|
528
|
+
return 1;
|
|
529
|
+
case "Map":
|
|
530
|
+
case "Set":
|
|
531
|
+
case "WeakMap":
|
|
532
|
+
case "WeakSet":
|
|
533
|
+
return 2;
|
|
534
|
+
default:
|
|
535
|
+
return 0;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
function jn(e) {
|
|
539
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : Mn(Et(e));
|
|
540
|
+
}
|
|
541
|
+
function Ct(e) {
|
|
542
|
+
return we(e) ? e : Be(
|
|
543
|
+
e,
|
|
544
|
+
!1,
|
|
545
|
+
vn,
|
|
546
|
+
Dn,
|
|
547
|
+
Vt
|
|
548
|
+
);
|
|
549
|
+
}
|
|
550
|
+
function It(e) {
|
|
551
|
+
return Be(
|
|
552
|
+
e,
|
|
553
|
+
!0,
|
|
554
|
+
Sn,
|
|
555
|
+
Pn,
|
|
556
|
+
xt
|
|
557
|
+
);
|
|
558
|
+
}
|
|
559
|
+
function he(e) {
|
|
560
|
+
return Be(
|
|
561
|
+
e,
|
|
562
|
+
!0,
|
|
563
|
+
Vn,
|
|
564
|
+
Tn,
|
|
565
|
+
yt
|
|
566
|
+
);
|
|
567
|
+
}
|
|
568
|
+
function Be(e, t, n, r, o) {
|
|
569
|
+
if (!S(e))
|
|
570
|
+
return process.env.NODE_ENV !== "production" && oe(`value cannot be made reactive: ${String(e)}`), e;
|
|
571
|
+
if (e.__v_raw && !(t && e.__v_isReactive))
|
|
572
|
+
return e;
|
|
573
|
+
const s = o.get(e);
|
|
574
|
+
if (s)
|
|
575
|
+
return s;
|
|
576
|
+
const i = jn(e);
|
|
577
|
+
if (i === 0)
|
|
578
|
+
return e;
|
|
579
|
+
const c = new Proxy(
|
|
580
|
+
e,
|
|
581
|
+
i === 2 ? r : n
|
|
582
|
+
);
|
|
583
|
+
return o.set(e, c), c;
|
|
584
|
+
}
|
|
585
|
+
function te(e) {
|
|
586
|
+
return we(e) ? te(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
587
|
+
}
|
|
588
|
+
function we(e) {
|
|
589
|
+
return !!(e && e.__v_isReadonly);
|
|
590
|
+
}
|
|
591
|
+
function Ae(e) {
|
|
592
|
+
return !!(e && e.__v_isShallow);
|
|
593
|
+
}
|
|
594
|
+
function Le(e) {
|
|
595
|
+
return e ? !!e.__v_raw : !1;
|
|
596
|
+
}
|
|
597
|
+
function f(e) {
|
|
598
|
+
const t = e && e.__v_raw;
|
|
599
|
+
return t ? f(t) : e;
|
|
600
|
+
}
|
|
601
|
+
function An(e) {
|
|
602
|
+
return Object.isExtensible(e) && cn(e, "__v_skip", !0), e;
|
|
603
|
+
}
|
|
604
|
+
const Qe = (e) => S(e) ? Ct(e) : e, Xe = (e) => S(e) ? It(e) : e;
|
|
605
|
+
function V(e) {
|
|
606
|
+
return !!(e && e.__v_isRef === !0);
|
|
607
|
+
}
|
|
608
|
+
function Ln(e) {
|
|
609
|
+
return V(e) ? e.value : e;
|
|
610
|
+
}
|
|
611
|
+
const Fn = {
|
|
612
|
+
get: (e, t, n) => Ln(Reflect.get(e, t, n)),
|
|
613
|
+
set: (e, t, n, r) => {
|
|
614
|
+
const o = e[t];
|
|
615
|
+
return V(o) && !V(n) ? (o.value = n, !0) : Reflect.set(e, t, n, r);
|
|
616
|
+
}
|
|
617
|
+
};
|
|
618
|
+
function Hn(e) {
|
|
619
|
+
return te(e) ? e : new Proxy(e, Fn);
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* @vue/runtime-core v3.4.27
|
|
623
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
624
|
+
* @license MIT
|
|
625
|
+
**/
|
|
626
|
+
const H = [];
|
|
627
|
+
function Un(e) {
|
|
628
|
+
H.push(e);
|
|
629
|
+
}
|
|
630
|
+
function Kn() {
|
|
631
|
+
H.pop();
|
|
632
|
+
}
|
|
633
|
+
function p(e, ...t) {
|
|
634
|
+
Ve();
|
|
635
|
+
const n = H.length ? H[H.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = zn();
|
|
636
|
+
if (r)
|
|
637
|
+
U(
|
|
638
|
+
r,
|
|
639
|
+
n,
|
|
640
|
+
11,
|
|
641
|
+
[
|
|
642
|
+
e + t.map((s) => {
|
|
643
|
+
var i, c;
|
|
644
|
+
return (c = (i = s.toString) == null ? void 0 : i.call(s)) != null ? c : JSON.stringify(s);
|
|
645
|
+
}).join(""),
|
|
646
|
+
n && n.proxy,
|
|
647
|
+
o.map(
|
|
648
|
+
({ vnode: s }) => `at <${qt(n, s.type)}>`
|
|
649
|
+
).join(`
|
|
650
|
+
`),
|
|
651
|
+
o
|
|
652
|
+
]
|
|
653
|
+
);
|
|
654
|
+
else {
|
|
655
|
+
const s = [`[Vue warn]: ${e}`, ...t];
|
|
656
|
+
o.length && s.push(`
|
|
657
|
+
`, ...Wn(o)), console.warn(...s);
|
|
658
|
+
}
|
|
659
|
+
xe();
|
|
660
|
+
}
|
|
661
|
+
function zn() {
|
|
662
|
+
let e = H[H.length - 1];
|
|
663
|
+
if (!e)
|
|
664
|
+
return [];
|
|
665
|
+
const t = [];
|
|
666
|
+
for (; e; ) {
|
|
667
|
+
const n = t[0];
|
|
668
|
+
n && n.vnode === e ? n.recurseCount++ : t.push({
|
|
669
|
+
vnode: e,
|
|
670
|
+
recurseCount: 0
|
|
671
|
+
});
|
|
672
|
+
const r = e.component && e.component.parent;
|
|
673
|
+
e = r && r.vnode;
|
|
674
|
+
}
|
|
675
|
+
return t;
|
|
676
|
+
}
|
|
677
|
+
function Wn(e) {
|
|
678
|
+
const t = [];
|
|
679
|
+
return e.forEach((n, r) => {
|
|
680
|
+
t.push(...r === 0 ? [] : [`
|
|
681
|
+
`], ...qn(n));
|
|
682
|
+
}), t;
|
|
683
|
+
}
|
|
684
|
+
function qn({ vnode: e, recurseCount: t }) {
|
|
685
|
+
const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${qt(
|
|
686
|
+
e.component,
|
|
687
|
+
e.type,
|
|
688
|
+
r
|
|
689
|
+
)}`, s = ">" + n;
|
|
690
|
+
return e.props ? [o, ...Jn(e.props), s] : [o + s];
|
|
691
|
+
}
|
|
692
|
+
function Jn(e) {
|
|
693
|
+
const t = [], n = Object.keys(e);
|
|
694
|
+
return n.slice(0, 3).forEach((r) => {
|
|
695
|
+
t.push(...Rt(r, e[r]));
|
|
696
|
+
}), n.length > 3 && t.push(" ..."), t;
|
|
697
|
+
}
|
|
698
|
+
function Rt(e, t, n) {
|
|
699
|
+
return v(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : V(t) ? (t = Rt(e, f(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : E(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = f(t), n ? t : [`${e}=`, t]);
|
|
700
|
+
}
|
|
701
|
+
const Dt = {
|
|
702
|
+
sp: "serverPrefetch hook",
|
|
703
|
+
bc: "beforeCreate hook",
|
|
704
|
+
c: "created hook",
|
|
705
|
+
bm: "beforeMount hook",
|
|
706
|
+
m: "mounted hook",
|
|
707
|
+
bu: "beforeUpdate hook",
|
|
708
|
+
u: "updated",
|
|
709
|
+
bum: "beforeUnmount hook",
|
|
710
|
+
um: "unmounted hook",
|
|
711
|
+
a: "activated hook",
|
|
712
|
+
da: "deactivated hook",
|
|
713
|
+
ec: "errorCaptured hook",
|
|
714
|
+
rtc: "renderTracked hook",
|
|
715
|
+
rtg: "renderTriggered hook",
|
|
716
|
+
0: "setup function",
|
|
717
|
+
1: "render function",
|
|
718
|
+
2: "watcher getter",
|
|
719
|
+
3: "watcher callback",
|
|
720
|
+
4: "watcher cleanup function",
|
|
721
|
+
5: "native event handler",
|
|
722
|
+
6: "component event handler",
|
|
723
|
+
7: "vnode hook",
|
|
724
|
+
8: "directive hook",
|
|
725
|
+
9: "transition hook",
|
|
726
|
+
10: "app errorHandler",
|
|
727
|
+
11: "app warnHandler",
|
|
728
|
+
12: "ref function",
|
|
729
|
+
13: "async component loader",
|
|
730
|
+
14: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."
|
|
731
|
+
};
|
|
732
|
+
function U(e, t, n, r) {
|
|
733
|
+
try {
|
|
734
|
+
return r ? e(...r) : e();
|
|
735
|
+
} catch (o) {
|
|
736
|
+
Ze(o, t, n);
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
function Ee(e, t, n, r) {
|
|
740
|
+
if (E(e)) {
|
|
741
|
+
const o = U(e, t, n, r);
|
|
742
|
+
return o && tn(o) && o.catch((s) => {
|
|
743
|
+
Ze(s, t, n);
|
|
744
|
+
}), o;
|
|
745
|
+
}
|
|
746
|
+
if (d(e)) {
|
|
747
|
+
const o = [];
|
|
748
|
+
for (let s = 0; s < e.length; s++)
|
|
749
|
+
o.push(Ee(e[s], t, n, r));
|
|
750
|
+
return o;
|
|
751
|
+
} else
|
|
752
|
+
process.env.NODE_ENV !== "production" && p(
|
|
753
|
+
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
|
|
754
|
+
);
|
|
755
|
+
}
|
|
756
|
+
function Ze(e, t, n, r = !0) {
|
|
757
|
+
const o = t ? t.vnode : null;
|
|
758
|
+
if (t) {
|
|
759
|
+
let s = t.parent;
|
|
760
|
+
const i = t.proxy, c = process.env.NODE_ENV !== "production" ? Dt[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
|
|
761
|
+
for (; s; ) {
|
|
762
|
+
const a = s.ec;
|
|
763
|
+
if (a) {
|
|
764
|
+
for (let h = 0; h < a.length; h++)
|
|
765
|
+
if (a[h](e, i, c) === !1)
|
|
766
|
+
return;
|
|
767
|
+
}
|
|
768
|
+
s = s.parent;
|
|
769
|
+
}
|
|
770
|
+
const l = t.appContext.config.errorHandler;
|
|
771
|
+
if (l) {
|
|
772
|
+
Ve(), U(
|
|
773
|
+
l,
|
|
774
|
+
null,
|
|
775
|
+
10,
|
|
776
|
+
[e, i, c]
|
|
777
|
+
), xe();
|
|
778
|
+
return;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
Yn(e, n, o, r);
|
|
782
|
+
}
|
|
783
|
+
function Yn(e, t, n, r = !0) {
|
|
784
|
+
if (process.env.NODE_ENV !== "production") {
|
|
785
|
+
const o = Dt[t];
|
|
786
|
+
if (n && Un(n), p(`Unhandled error${o ? ` during execution of ${o}` : ""}`), n && Kn(), r)
|
|
787
|
+
throw e;
|
|
788
|
+
console.error(e);
|
|
789
|
+
} else
|
|
790
|
+
console.error(e);
|
|
791
|
+
}
|
|
792
|
+
let Ne = !1, Fe = !1;
|
|
793
|
+
const b = [];
|
|
794
|
+
let $ = 0;
|
|
795
|
+
const Q = [];
|
|
796
|
+
let y = null, T = 0;
|
|
797
|
+
const Pt = /* @__PURE__ */ Promise.resolve();
|
|
798
|
+
let ke = null;
|
|
799
|
+
const Gn = 100;
|
|
800
|
+
function Bn(e) {
|
|
801
|
+
const t = ke || Pt;
|
|
802
|
+
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
803
|
+
}
|
|
804
|
+
function Qn(e) {
|
|
805
|
+
let t = $ + 1, n = b.length;
|
|
806
|
+
for (; t < n; ) {
|
|
807
|
+
const r = t + n >>> 1, o = b[r], s = se(o);
|
|
808
|
+
s < e || s === e && o.pre ? t = r + 1 : n = r;
|
|
809
|
+
}
|
|
810
|
+
return t;
|
|
811
|
+
}
|
|
812
|
+
function et(e) {
|
|
813
|
+
(!b.length || !b.includes(
|
|
814
|
+
e,
|
|
815
|
+
Ne && e.allowRecurse ? $ + 1 : $
|
|
816
|
+
)) && (e.id == null ? b.push(e) : b.splice(Qn(e.id), 0, e), Tt());
|
|
817
|
+
}
|
|
818
|
+
function Tt() {
|
|
819
|
+
!Ne && !Fe && (Fe = !0, ke = Pt.then(Mt));
|
|
820
|
+
}
|
|
821
|
+
function $t(e) {
|
|
822
|
+
d(e) ? Q.push(...e) : (!y || !y.includes(
|
|
823
|
+
e,
|
|
824
|
+
e.allowRecurse ? T + 1 : T
|
|
825
|
+
)) && Q.push(e), Tt();
|
|
826
|
+
}
|
|
827
|
+
function Xn(e) {
|
|
828
|
+
if (Q.length) {
|
|
829
|
+
const t = [...new Set(Q)].sort(
|
|
830
|
+
(n, r) => se(n) - se(r)
|
|
831
|
+
);
|
|
832
|
+
if (Q.length = 0, y) {
|
|
833
|
+
y.push(...t);
|
|
834
|
+
return;
|
|
835
|
+
}
|
|
836
|
+
for (y = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), T = 0; T < y.length; T++)
|
|
837
|
+
process.env.NODE_ENV !== "production" && jt(e, y[T]) || y[T]();
|
|
838
|
+
y = null, T = 0;
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
const se = (e) => e.id == null ? 1 / 0 : e.id, Zn = (e, t) => {
|
|
842
|
+
const n = se(e) - se(t);
|
|
843
|
+
if (n === 0) {
|
|
844
|
+
if (e.pre && !t.pre)
|
|
845
|
+
return -1;
|
|
846
|
+
if (t.pre && !e.pre)
|
|
847
|
+
return 1;
|
|
848
|
+
}
|
|
849
|
+
return n;
|
|
850
|
+
};
|
|
851
|
+
function Mt(e) {
|
|
852
|
+
Fe = !1, Ne = !0, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), b.sort(Zn);
|
|
853
|
+
const t = process.env.NODE_ENV !== "production" ? (n) => jt(e, n) : J;
|
|
854
|
+
try {
|
|
855
|
+
for ($ = 0; $ < b.length; $++) {
|
|
856
|
+
const n = b[$];
|
|
857
|
+
if (n && n.active !== !1) {
|
|
858
|
+
if (process.env.NODE_ENV !== "production" && t(n))
|
|
859
|
+
continue;
|
|
860
|
+
U(n, null, 14);
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
} finally {
|
|
864
|
+
$ = 0, b.length = 0, Xn(e), Ne = !1, ke = null, (b.length || Q.length) && Mt(e);
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
function jt(e, t) {
|
|
868
|
+
if (!e.has(t))
|
|
869
|
+
e.set(t, 1);
|
|
870
|
+
else {
|
|
871
|
+
const n = e.get(t);
|
|
872
|
+
if (n > Gn) {
|
|
873
|
+
const r = t.ownerInstance, o = r && Wt(r.type);
|
|
874
|
+
return Ze(
|
|
875
|
+
`Maximum recursive updates exceeded${o ? ` in component <${o}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
876
|
+
null,
|
|
877
|
+
10
|
|
878
|
+
), !0;
|
|
879
|
+
} else
|
|
880
|
+
e.set(t, n + 1);
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
const Z = /* @__PURE__ */ new Set();
|
|
884
|
+
process.env.NODE_ENV !== "production" && (mt().__VUE_HMR_RUNTIME__ = {
|
|
885
|
+
createRecord: De(kn),
|
|
886
|
+
rerender: De(er),
|
|
887
|
+
reload: De(tr)
|
|
888
|
+
});
|
|
889
|
+
const Oe = /* @__PURE__ */ new Map();
|
|
890
|
+
function kn(e, t) {
|
|
891
|
+
return Oe.has(e) ? !1 : (Oe.set(e, {
|
|
892
|
+
initialDef: ne(t),
|
|
893
|
+
instances: /* @__PURE__ */ new Set()
|
|
894
|
+
}), !0);
|
|
895
|
+
}
|
|
896
|
+
function ne(e) {
|
|
897
|
+
return Jt(e) ? e.__vccOpts : e;
|
|
898
|
+
}
|
|
899
|
+
function er(e, t) {
|
|
900
|
+
const n = Oe.get(e);
|
|
901
|
+
n && (n.initialDef.render = t, [...n.instances].forEach((r) => {
|
|
902
|
+
t && (r.render = t, ne(r.type).render = t), r.renderCache = [], r.effect.dirty = !0, r.update();
|
|
903
|
+
}));
|
|
904
|
+
}
|
|
905
|
+
function tr(e, t) {
|
|
906
|
+
const n = Oe.get(e);
|
|
907
|
+
if (!n)
|
|
908
|
+
return;
|
|
909
|
+
t = ne(t), ut(n.initialDef, t);
|
|
910
|
+
const r = [...n.instances];
|
|
911
|
+
for (const o of r) {
|
|
912
|
+
const s = ne(o.type);
|
|
913
|
+
Z.has(s) || (s !== n.initialDef && ut(s, t), Z.add(s)), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (Z.add(s), o.ceReload(t.styles), Z.delete(s)) : o.parent ? (o.parent.effect.dirty = !0, et(o.parent.update)) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
|
|
914
|
+
"[HMR] Root or manually mounted instance modified. Full reload required."
|
|
915
|
+
);
|
|
916
|
+
}
|
|
917
|
+
$t(() => {
|
|
918
|
+
for (const o of r)
|
|
919
|
+
Z.delete(
|
|
920
|
+
ne(o.type)
|
|
921
|
+
);
|
|
922
|
+
});
|
|
923
|
+
}
|
|
924
|
+
function ut(e, t) {
|
|
925
|
+
x(e, t);
|
|
926
|
+
for (const n in e)
|
|
927
|
+
n !== "__file" && !(n in t) && delete e[n];
|
|
928
|
+
}
|
|
929
|
+
function De(e) {
|
|
930
|
+
return (t, n) => {
|
|
931
|
+
try {
|
|
932
|
+
return e(t, n);
|
|
933
|
+
} catch (r) {
|
|
934
|
+
console.error(r), console.warn(
|
|
935
|
+
"[HMR] Something went wrong during Vue component hot-reload. Full reload required."
|
|
936
|
+
);
|
|
937
|
+
}
|
|
938
|
+
};
|
|
939
|
+
}
|
|
940
|
+
let q, _e = [];
|
|
941
|
+
function At(e, t) {
|
|
942
|
+
var n, r;
|
|
943
|
+
q = e, q ? (q.enabled = !0, _e.forEach(({ event: o, args: s }) => q.emit(o, ...s)), _e = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
|
|
944
|
+
window.HTMLElement && // also exclude jsdom
|
|
945
|
+
!((r = (n = window.navigator) == null ? void 0 : n.userAgent) != null && r.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((s) => {
|
|
946
|
+
At(s, t);
|
|
947
|
+
}), setTimeout(() => {
|
|
948
|
+
q || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, _e = []);
|
|
949
|
+
}, 3e3)) : _e = [];
|
|
950
|
+
}
|
|
951
|
+
let I = null, nr = null;
|
|
952
|
+
const rr = Symbol.for("v-ndc"), or = (e) => e.__isSuspense;
|
|
953
|
+
function sr(e, t) {
|
|
954
|
+
t && t.pendingBranch ? d(e) ? t.effects.push(...e) : t.effects.push(e) : $t(e);
|
|
955
|
+
}
|
|
956
|
+
const ir = Symbol.for("v-scx"), cr = () => {
|
|
957
|
+
{
|
|
958
|
+
const e = Er(ir);
|
|
959
|
+
return e || process.env.NODE_ENV !== "production" && p(
|
|
960
|
+
"Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
|
|
961
|
+
), e;
|
|
962
|
+
}
|
|
963
|
+
}, ge = {};
|
|
964
|
+
function lr(e, t, {
|
|
965
|
+
immediate: n,
|
|
966
|
+
deep: r,
|
|
967
|
+
flush: o,
|
|
968
|
+
once: s,
|
|
969
|
+
onTrack: i,
|
|
970
|
+
onTrigger: c
|
|
971
|
+
} = P) {
|
|
972
|
+
if (t && s) {
|
|
973
|
+
const u = t;
|
|
974
|
+
t = (...Re) => {
|
|
975
|
+
u(...Re), Ie();
|
|
976
|
+
};
|
|
977
|
+
}
|
|
978
|
+
process.env.NODE_ENV !== "production" && r !== void 0 && typeof r == "number" && p(
|
|
979
|
+
'watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'
|
|
980
|
+
), process.env.NODE_ENV !== "production" && !t && (n !== void 0 && p(
|
|
981
|
+
'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
|
|
982
|
+
), r !== void 0 && p(
|
|
983
|
+
'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
|
|
984
|
+
), s !== void 0 && p(
|
|
985
|
+
'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
|
|
986
|
+
));
|
|
987
|
+
const l = (u) => {
|
|
988
|
+
p(
|
|
989
|
+
"Invalid watch source: ",
|
|
990
|
+
u,
|
|
991
|
+
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
992
|
+
);
|
|
993
|
+
}, a = C, h = (u) => r === !0 ? u : (
|
|
994
|
+
// for deep: false, only traverse root-level properties
|
|
995
|
+
Y(u, r === !1 ? 1 : void 0)
|
|
996
|
+
);
|
|
997
|
+
let _, O = !1, R = !1;
|
|
998
|
+
if (V(e) ? (_ = () => e.value, O = Ae(e)) : te(e) ? (_ = () => h(e), O = !0) : d(e) ? (R = !0, O = e.some((u) => te(u) || Ae(u)), _ = () => e.map((u) => {
|
|
999
|
+
if (V(u))
|
|
1000
|
+
return u.value;
|
|
1001
|
+
if (te(u))
|
|
1002
|
+
return h(u);
|
|
1003
|
+
if (E(u))
|
|
1004
|
+
return U(u, a, 2);
|
|
1005
|
+
process.env.NODE_ENV !== "production" && l(u);
|
|
1006
|
+
})) : E(e) ? t ? _ = () => U(e, a, 2) : _ = () => (K && K(), Ee(
|
|
1007
|
+
e,
|
|
1008
|
+
a,
|
|
1009
|
+
3,
|
|
1010
|
+
[ce]
|
|
1011
|
+
)) : (_ = J, process.env.NODE_ENV !== "production" && l(e)), t && r) {
|
|
1012
|
+
const u = _;
|
|
1013
|
+
_ = () => Y(u());
|
|
1014
|
+
}
|
|
1015
|
+
let K, ce = (u) => {
|
|
1016
|
+
K = N.onStop = () => {
|
|
1017
|
+
U(u, a, 4), K = N.onStop = void 0;
|
|
1018
|
+
};
|
|
1019
|
+
}, Ce;
|
|
1020
|
+
if (zt)
|
|
1021
|
+
if (ce = J, t ? n && Ee(t, a, 3, [
|
|
1022
|
+
_(),
|
|
1023
|
+
R ? [] : void 0,
|
|
1024
|
+
ce
|
|
1025
|
+
]) : _(), o === "sync") {
|
|
1026
|
+
const u = cr();
|
|
1027
|
+
Ce = u.__watcherHandles || (u.__watcherHandles = []);
|
|
1028
|
+
} else
|
|
1029
|
+
return J;
|
|
1030
|
+
let j = R ? new Array(e.length).fill(ge) : ge;
|
|
1031
|
+
const A = () => {
|
|
1032
|
+
if (!(!N.active || !N.dirty))
|
|
1033
|
+
if (t) {
|
|
1034
|
+
const u = N.run();
|
|
1035
|
+
(r || O || (R ? u.some((Re, Yt) => X(Re, j[Yt])) : X(u, j))) && (K && K(), Ee(t, a, 3, [
|
|
1036
|
+
u,
|
|
1037
|
+
// pass undefined as the old value when it's changed for the first time
|
|
1038
|
+
j === ge ? void 0 : R && j[0] === ge ? [] : j,
|
|
1039
|
+
ce
|
|
1040
|
+
]), j = u);
|
|
1041
|
+
} else
|
|
1042
|
+
N.run();
|
|
1043
|
+
};
|
|
1044
|
+
A.allowRecurse = !!t;
|
|
1045
|
+
let le;
|
|
1046
|
+
o === "sync" ? le = A : o === "post" ? le = () => gt(A, a && a.suspense) : (A.pre = !0, a && (A.id = a.uid), le = () => et(A));
|
|
1047
|
+
const N = new hn(_, J, le), Ie = () => {
|
|
1048
|
+
N.stop();
|
|
1049
|
+
};
|
|
1050
|
+
return process.env.NODE_ENV !== "production" && (N.onTrack = i, N.onTrigger = c), t ? n ? A() : j = N.run() : o === "post" ? gt(
|
|
1051
|
+
N.run.bind(N),
|
|
1052
|
+
a && a.suspense
|
|
1053
|
+
) : N.run(), Ce && Ce.push(Ie), Ie;
|
|
1054
|
+
}
|
|
1055
|
+
function ar(e, t, n) {
|
|
1056
|
+
const r = this.proxy, o = v(e) ? e.includes(".") ? ur(r, e) : () => r[e] : e.bind(r, r);
|
|
1057
|
+
let s;
|
|
1058
|
+
E(t) ? s = t : (s = t.handler, n = t);
|
|
1059
|
+
const i = Ir(this), c = lr(o, s.bind(r), n);
|
|
1060
|
+
return i(), c;
|
|
1061
|
+
}
|
|
1062
|
+
function ur(e, t) {
|
|
1063
|
+
const n = t.split(".");
|
|
1064
|
+
return () => {
|
|
1065
|
+
let r = e;
|
|
1066
|
+
for (let o = 0; o < n.length && r; o++)
|
|
1067
|
+
r = r[n[o]];
|
|
1068
|
+
return r;
|
|
1069
|
+
};
|
|
1070
|
+
}
|
|
1071
|
+
function Y(e, t = 1 / 0, n) {
|
|
1072
|
+
if (t <= 0 || !S(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
|
|
1073
|
+
return e;
|
|
1074
|
+
if (n.add(e), t--, V(e))
|
|
1075
|
+
Y(e.value, t, n);
|
|
1076
|
+
else if (d(e))
|
|
1077
|
+
for (let r = 0; r < e.length; r++)
|
|
1078
|
+
Y(e[r], t, n);
|
|
1079
|
+
else if (en(e) || B(e))
|
|
1080
|
+
e.forEach((r) => {
|
|
1081
|
+
Y(r, t, n);
|
|
1082
|
+
});
|
|
1083
|
+
else if (rn(e))
|
|
1084
|
+
for (const r in e)
|
|
1085
|
+
Y(e[r], t, n);
|
|
1086
|
+
return e;
|
|
1087
|
+
}
|
|
1088
|
+
const He = (e) => e ? Rr(e) ? Dr(e) || e.proxy : He(e.parent) : null, re = (
|
|
1089
|
+
// Move PURE marker to new line to workaround compiler discarding it
|
|
1090
|
+
// due to type annotation
|
|
1091
|
+
/* @__PURE__ */ x(/* @__PURE__ */ Object.create(null), {
|
|
1092
|
+
$: (e) => e,
|
|
1093
|
+
$el: (e) => e.vnode.el,
|
|
1094
|
+
$data: (e) => e.data,
|
|
1095
|
+
$props: (e) => process.env.NODE_ENV !== "production" ? he(e.props) : e.props,
|
|
1096
|
+
$attrs: (e) => process.env.NODE_ENV !== "production" ? he(e.attrs) : e.attrs,
|
|
1097
|
+
$slots: (e) => process.env.NODE_ENV !== "production" ? he(e.slots) : e.slots,
|
|
1098
|
+
$refs: (e) => process.env.NODE_ENV !== "production" ? he(e.refs) : e.refs,
|
|
1099
|
+
$parent: (e) => He(e.parent),
|
|
1100
|
+
$root: (e) => He(e.root),
|
|
1101
|
+
$emit: (e) => e.emit,
|
|
1102
|
+
$options: (e) => dr(e),
|
|
1103
|
+
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
1104
|
+
e.effect.dirty = !0, et(e.update);
|
|
1105
|
+
}),
|
|
1106
|
+
$nextTick: (e) => e.n || (e.n = Bn.bind(e.proxy)),
|
|
1107
|
+
$watch: (e) => ar.bind(e)
|
|
1108
|
+
})
|
|
1109
|
+
), fr = (e) => e === "_" || e === "$", Pe = (e, t) => e !== P && !e.__isScriptSetup && g(e, t), pr = {
|
|
1110
|
+
get({ _: e }, t) {
|
|
1111
|
+
if (t === "__v_skip")
|
|
1112
|
+
return !0;
|
|
1113
|
+
const { ctx: n, setupState: r, data: o, props: s, accessCache: i, type: c, appContext: l } = e;
|
|
1114
|
+
if (process.env.NODE_ENV !== "production" && t === "__isVue")
|
|
1115
|
+
return !0;
|
|
1116
|
+
let a;
|
|
1117
|
+
if (t[0] !== "$") {
|
|
1118
|
+
const R = i[t];
|
|
1119
|
+
if (R !== void 0)
|
|
1120
|
+
switch (R) {
|
|
1121
|
+
case 1:
|
|
1122
|
+
return r[t];
|
|
1123
|
+
case 2:
|
|
1124
|
+
return o[t];
|
|
1125
|
+
case 4:
|
|
1126
|
+
return n[t];
|
|
1127
|
+
case 3:
|
|
1128
|
+
return s[t];
|
|
1129
|
+
}
|
|
1130
|
+
else {
|
|
1131
|
+
if (Pe(r, t))
|
|
1132
|
+
return i[t] = 1, r[t];
|
|
1133
|
+
if (o !== P && g(o, t))
|
|
1134
|
+
return i[t] = 2, o[t];
|
|
1135
|
+
if (
|
|
1136
|
+
// only cache other properties when instance has declared (thus stable)
|
|
1137
|
+
// props
|
|
1138
|
+
(a = e.propsOptions[0]) && g(a, t)
|
|
1139
|
+
)
|
|
1140
|
+
return i[t] = 3, s[t];
|
|
1141
|
+
if (n !== P && g(n, t))
|
|
1142
|
+
return i[t] = 4, n[t];
|
|
1143
|
+
i[t] = 0;
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
const h = re[t];
|
|
1147
|
+
let _, O;
|
|
1148
|
+
if (h)
|
|
1149
|
+
return t === "$attrs" ? (m(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && m(e, "get", t), h(e);
|
|
1150
|
+
if (
|
|
1151
|
+
// css module (injected by vue-loader)
|
|
1152
|
+
(_ = c.__cssModules) && (_ = _[t])
|
|
1153
|
+
)
|
|
1154
|
+
return _;
|
|
1155
|
+
if (n !== P && g(n, t))
|
|
1156
|
+
return i[t] = 4, n[t];
|
|
1157
|
+
if (
|
|
1158
|
+
// global properties
|
|
1159
|
+
O = l.config.globalProperties, g(O, t)
|
|
1160
|
+
)
|
|
1161
|
+
return O[t];
|
|
1162
|
+
process.env.NODE_ENV !== "production" && I && (!v(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
|
|
1163
|
+
// to infinite warning loop
|
|
1164
|
+
t.indexOf("__v") !== 0) && (o !== P && fr(t[0]) && g(o, t) ? p(
|
|
1165
|
+
`Property ${JSON.stringify(
|
|
1166
|
+
t
|
|
1167
|
+
)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
|
|
1168
|
+
) : e === I && p(
|
|
1169
|
+
`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`
|
|
1170
|
+
));
|
|
1171
|
+
},
|
|
1172
|
+
set({ _: e }, t, n) {
|
|
1173
|
+
const { data: r, setupState: o, ctx: s } = e;
|
|
1174
|
+
return Pe(o, t) ? (o[t] = n, !0) : process.env.NODE_ENV !== "production" && o.__isScriptSetup && g(o, t) ? (p(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : r !== P && g(r, t) ? (r[t] = n, !0) : g(e.props, t) ? (process.env.NODE_ENV !== "production" && p(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && p(
|
|
1175
|
+
`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
|
|
1176
|
+
), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, {
|
|
1177
|
+
enumerable: !0,
|
|
1178
|
+
configurable: !0,
|
|
1179
|
+
value: n
|
|
1180
|
+
}) : s[t] = n, !0);
|
|
1181
|
+
},
|
|
1182
|
+
has({
|
|
1183
|
+
_: { data: e, setupState: t, accessCache: n, ctx: r, appContext: o, propsOptions: s }
|
|
1184
|
+
}, i) {
|
|
1185
|
+
let c;
|
|
1186
|
+
return !!n[i] || e !== P && g(e, i) || Pe(t, i) || (c = s[0]) && g(c, i) || g(r, i) || g(re, i) || g(o.config.globalProperties, i);
|
|
1187
|
+
},
|
|
1188
|
+
defineProperty(e, t, n) {
|
|
1189
|
+
return n.get != null ? e._.accessCache[t] = 0 : g(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
|
|
1190
|
+
}
|
|
1191
|
+
};
|
|
1192
|
+
process.env.NODE_ENV !== "production" && (pr.ownKeys = (e) => (p(
|
|
1193
|
+
"Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
|
|
1194
|
+
), Reflect.ownKeys(e)));
|
|
1195
|
+
function ft(e) {
|
|
1196
|
+
return d(e) ? e.reduce(
|
|
1197
|
+
(t, n) => (t[n] = null, t),
|
|
1198
|
+
{}
|
|
1199
|
+
) : e;
|
|
1200
|
+
}
|
|
1201
|
+
function dr(e) {
|
|
1202
|
+
const t = e.type, { mixins: n, extends: r } = t, {
|
|
1203
|
+
mixins: o,
|
|
1204
|
+
optionsCache: s,
|
|
1205
|
+
config: { optionMergeStrategies: i }
|
|
1206
|
+
} = e.appContext, c = s.get(t);
|
|
1207
|
+
let l;
|
|
1208
|
+
return c ? l = c : !o.length && !n && !r ? l = t : (l = {}, o.length && o.forEach(
|
|
1209
|
+
(a) => be(l, a, i, !0)
|
|
1210
|
+
), be(l, t, i)), S(t) && s.set(t, l), l;
|
|
1211
|
+
}
|
|
1212
|
+
function be(e, t, n, r = !1) {
|
|
1213
|
+
const { mixins: o, extends: s } = t;
|
|
1214
|
+
s && be(e, s, n, !0), o && o.forEach(
|
|
1215
|
+
(i) => be(e, i, n, !0)
|
|
1216
|
+
);
|
|
1217
|
+
for (const i in t)
|
|
1218
|
+
if (r && i === "expose")
|
|
1219
|
+
process.env.NODE_ENV !== "production" && p(
|
|
1220
|
+
'"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
|
|
1221
|
+
);
|
|
1222
|
+
else {
|
|
1223
|
+
const c = hr[i] || n && n[i];
|
|
1224
|
+
e[i] = c ? c(e[i], t[i]) : t[i];
|
|
1225
|
+
}
|
|
1226
|
+
return e;
|
|
1227
|
+
}
|
|
1228
|
+
const hr = {
|
|
1229
|
+
data: pt,
|
|
1230
|
+
props: ht,
|
|
1231
|
+
emits: ht,
|
|
1232
|
+
// objects
|
|
1233
|
+
methods: k,
|
|
1234
|
+
computed: k,
|
|
1235
|
+
// lifecycle
|
|
1236
|
+
beforeCreate: w,
|
|
1237
|
+
created: w,
|
|
1238
|
+
beforeMount: w,
|
|
1239
|
+
mounted: w,
|
|
1240
|
+
beforeUpdate: w,
|
|
1241
|
+
updated: w,
|
|
1242
|
+
beforeDestroy: w,
|
|
1243
|
+
beforeUnmount: w,
|
|
1244
|
+
destroyed: w,
|
|
1245
|
+
unmounted: w,
|
|
1246
|
+
activated: w,
|
|
1247
|
+
deactivated: w,
|
|
1248
|
+
errorCaptured: w,
|
|
1249
|
+
serverPrefetch: w,
|
|
1250
|
+
// assets
|
|
1251
|
+
components: k,
|
|
1252
|
+
directives: k,
|
|
1253
|
+
// watch
|
|
1254
|
+
watch: gr,
|
|
1255
|
+
// provide / inject
|
|
1256
|
+
provide: pt,
|
|
1257
|
+
inject: _r
|
|
1258
|
+
};
|
|
1259
|
+
function pt(e, t) {
|
|
1260
|
+
return t ? e ? function() {
|
|
1261
|
+
return x(
|
|
1262
|
+
E(e) ? e.call(this, this) : e,
|
|
1263
|
+
E(t) ? t.call(this, this) : t
|
|
1264
|
+
);
|
|
1265
|
+
} : t : e;
|
|
1266
|
+
}
|
|
1267
|
+
function _r(e, t) {
|
|
1268
|
+
return k(dt(e), dt(t));
|
|
1269
|
+
}
|
|
1270
|
+
function dt(e) {
|
|
1271
|
+
if (d(e)) {
|
|
1272
|
+
const t = {};
|
|
1273
|
+
for (let n = 0; n < e.length; n++)
|
|
1274
|
+
t[e[n]] = e[n];
|
|
1275
|
+
return t;
|
|
1276
|
+
}
|
|
1277
|
+
return e;
|
|
1278
|
+
}
|
|
1279
|
+
function w(e, t) {
|
|
1280
|
+
return e ? [...new Set([].concat(e, t))] : t;
|
|
1281
|
+
}
|
|
1282
|
+
function k(e, t) {
|
|
1283
|
+
return e ? x(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
1284
|
+
}
|
|
1285
|
+
function ht(e, t) {
|
|
1286
|
+
return e ? d(e) && d(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : x(
|
|
1287
|
+
/* @__PURE__ */ Object.create(null),
|
|
1288
|
+
ft(e),
|
|
1289
|
+
ft(t ?? {})
|
|
1290
|
+
) : t;
|
|
1291
|
+
}
|
|
1292
|
+
function gr(e, t) {
|
|
1293
|
+
if (!e)
|
|
1294
|
+
return t;
|
|
1295
|
+
if (!t)
|
|
1296
|
+
return e;
|
|
1297
|
+
const n = x(/* @__PURE__ */ Object.create(null), e);
|
|
1298
|
+
for (const r in t)
|
|
1299
|
+
n[r] = w(e[r], t[r]);
|
|
1300
|
+
return n;
|
|
1301
|
+
}
|
|
1302
|
+
let _t = null;
|
|
1303
|
+
function W(e, t) {
|
|
1304
|
+
if (!C)
|
|
1305
|
+
process.env.NODE_ENV !== "production" && p("provide() can only be used inside setup().");
|
|
1306
|
+
else {
|
|
1307
|
+
let n = C.provides;
|
|
1308
|
+
const r = C.parent && C.parent.provides;
|
|
1309
|
+
r === n && (n = C.provides = Object.create(r)), n[e] = t;
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
function Er(e, t, n = !1) {
|
|
1313
|
+
const r = C || I;
|
|
1314
|
+
if (r || _t) {
|
|
1315
|
+
const o = r ? r.parent == null ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : _t._context.provides;
|
|
1316
|
+
if (o && e in o)
|
|
1317
|
+
return o[e];
|
|
1318
|
+
if (arguments.length > 1)
|
|
1319
|
+
return n && E(t) ? t.call(r && r.proxy) : t;
|
|
1320
|
+
process.env.NODE_ENV !== "production" && p(`injection "${String(e)}" not found.`);
|
|
1321
|
+
} else
|
|
1322
|
+
process.env.NODE_ENV !== "production" && p("inject() can only be used inside setup() or functional components.");
|
|
1323
|
+
}
|
|
1324
|
+
const mr = {}, Lt = (e) => Object.getPrototypeOf(e) === mr, gt = sr, wr = (e) => e.__isTeleport, Ft = Symbol.for("v-fgt"), Nr = Symbol.for("v-txt"), Or = Symbol.for("v-cmt");
|
|
1325
|
+
let G = null;
|
|
1326
|
+
function br(e) {
|
|
1327
|
+
return e ? e.__v_isVNode === !0 : !1;
|
|
1328
|
+
}
|
|
1329
|
+
const vr = (...e) => Ut(
|
|
1330
|
+
...e
|
|
1331
|
+
), Ht = ({ key: e }) => e ?? null, me = ({
|
|
1332
|
+
ref: e,
|
|
1333
|
+
ref_key: t,
|
|
1334
|
+
ref_for: n
|
|
1335
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? v(e) || V(e) || E(e) ? { i: I, r: e, k: t, f: !!n } : e : null);
|
|
1336
|
+
function Sr(e, t = null, n = null, r = 0, o = null, s = e === Ft ? 0 : 1, i = !1, c = !1) {
|
|
1337
|
+
const l = {
|
|
1338
|
+
__v_isVNode: !0,
|
|
1339
|
+
__v_skip: !0,
|
|
1340
|
+
type: e,
|
|
1341
|
+
props: t,
|
|
1342
|
+
key: t && Ht(t),
|
|
1343
|
+
ref: t && me(t),
|
|
1344
|
+
scopeId: nr,
|
|
1345
|
+
slotScopeIds: null,
|
|
1346
|
+
children: n,
|
|
1347
|
+
component: null,
|
|
1348
|
+
suspense: null,
|
|
1349
|
+
ssContent: null,
|
|
1350
|
+
ssFallback: null,
|
|
1351
|
+
dirs: null,
|
|
1352
|
+
transition: null,
|
|
1353
|
+
el: null,
|
|
1354
|
+
anchor: null,
|
|
1355
|
+
target: null,
|
|
1356
|
+
targetAnchor: null,
|
|
1357
|
+
staticCount: 0,
|
|
1358
|
+
shapeFlag: s,
|
|
1359
|
+
patchFlag: r,
|
|
1360
|
+
dynamicProps: o,
|
|
1361
|
+
dynamicChildren: null,
|
|
1362
|
+
appContext: null,
|
|
1363
|
+
ctx: I
|
|
1364
|
+
};
|
|
1365
|
+
return c ? (tt(l, n), s & 128 && e.normalize(l)) : n && (l.shapeFlag |= v(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && p("VNode created with invalid key (NaN). VNode type:", l.type), // avoid a block node from tracking itself
|
|
1366
|
+
!i && // has current parent block
|
|
1367
|
+
G && // presence of a patch flag indicates this node needs patching on updates.
|
|
1368
|
+
// component nodes also should always be patched, because even if the
|
|
1369
|
+
// component doesn't need to update, it needs to persist the instance on to
|
|
1370
|
+
// the next vnode so that it can be properly unmounted later.
|
|
1371
|
+
(l.patchFlag > 0 || s & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
|
|
1372
|
+
// vnode should not be considered dynamic due to handler caching.
|
|
1373
|
+
l.patchFlag !== 32 && G.push(l), l;
|
|
1374
|
+
}
|
|
1375
|
+
const Vr = process.env.NODE_ENV !== "production" ? vr : Ut;
|
|
1376
|
+
function Ut(e, t = null, n = null, r = 0, o = null, s = !1) {
|
|
1377
|
+
if ((!e || e === rr) && (process.env.NODE_ENV !== "production" && !e && p(`Invalid vnode type when creating vnode: ${e}.`), e = Or), br(e)) {
|
|
1378
|
+
const c = ve(
|
|
1379
|
+
e,
|
|
1380
|
+
t,
|
|
1381
|
+
!0
|
|
1382
|
+
/* mergeRef: true */
|
|
1383
|
+
);
|
|
1384
|
+
return n && tt(c, n), !s && G && (c.shapeFlag & 6 ? G[G.indexOf(e)] = c : G.push(c)), c.patchFlag |= -2, c;
|
|
1385
|
+
}
|
|
1386
|
+
if (Jt(e) && (e = e.__vccOpts), t) {
|
|
1387
|
+
t = xr(t);
|
|
1388
|
+
let { class: c, style: l } = t;
|
|
1389
|
+
c && !v(c) && (t.class = We(c)), S(l) && (Le(l) && !d(l) && (l = x({}, l)), t.style = ze(l));
|
|
1390
|
+
}
|
|
1391
|
+
const i = v(e) ? 1 : or(e) ? 128 : wr(e) ? 64 : S(e) ? 4 : E(e) ? 2 : 0;
|
|
1392
|
+
return process.env.NODE_ENV !== "production" && i & 4 && Le(e) && (e = f(e), p(
|
|
1393
|
+
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
1394
|
+
`
|
|
1395
|
+
Component that was made reactive: `,
|
|
1396
|
+
e
|
|
1397
|
+
)), Sr(
|
|
1398
|
+
e,
|
|
1399
|
+
t,
|
|
1400
|
+
n,
|
|
1401
|
+
r,
|
|
1402
|
+
o,
|
|
1403
|
+
i,
|
|
1404
|
+
s,
|
|
1405
|
+
!0
|
|
1406
|
+
);
|
|
1407
|
+
}
|
|
1408
|
+
function xr(e) {
|
|
1409
|
+
return e ? Le(e) || Lt(e) ? x({}, e) : e : null;
|
|
1410
|
+
}
|
|
1411
|
+
function ve(e, t, n = !1, r = !1) {
|
|
1412
|
+
const { props: o, ref: s, patchFlag: i, children: c, transition: l } = e, a = t ? Cr(o || {}, t) : o, h = {
|
|
1413
|
+
__v_isVNode: !0,
|
|
1414
|
+
__v_skip: !0,
|
|
1415
|
+
type: e.type,
|
|
1416
|
+
props: a,
|
|
1417
|
+
key: a && Ht(a),
|
|
1418
|
+
ref: t && t.ref ? (
|
|
1419
|
+
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
1420
|
+
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
1421
|
+
// the refs so the single vnode can be set on multiple refs
|
|
1422
|
+
n && s ? d(s) ? s.concat(me(t)) : [s, me(t)] : me(t)
|
|
1423
|
+
) : s,
|
|
1424
|
+
scopeId: e.scopeId,
|
|
1425
|
+
slotScopeIds: e.slotScopeIds,
|
|
1426
|
+
children: process.env.NODE_ENV !== "production" && i === -1 && d(c) ? c.map(Kt) : c,
|
|
1427
|
+
target: e.target,
|
|
1428
|
+
targetAnchor: e.targetAnchor,
|
|
1429
|
+
staticCount: e.staticCount,
|
|
1430
|
+
shapeFlag: e.shapeFlag,
|
|
1431
|
+
// if the vnode is cloned with extra props, we can no longer assume its
|
|
1432
|
+
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
|
|
1433
|
+
// note: preserve flag for fragments since they use the flag for children
|
|
1434
|
+
// fast paths only.
|
|
1435
|
+
patchFlag: t && e.type !== Ft ? i === -1 ? 16 : i | 16 : i,
|
|
1436
|
+
dynamicProps: e.dynamicProps,
|
|
1437
|
+
dynamicChildren: e.dynamicChildren,
|
|
1438
|
+
appContext: e.appContext,
|
|
1439
|
+
dirs: e.dirs,
|
|
1440
|
+
transition: l,
|
|
1441
|
+
// These should technically only be non-null on mounted VNodes. However,
|
|
1442
|
+
// they *should* be copied for kept-alive vnodes. So we just always copy
|
|
1443
|
+
// them since them being non-null during a mount doesn't affect the logic as
|
|
1444
|
+
// they will simply be overwritten.
|
|
1445
|
+
component: e.component,
|
|
1446
|
+
suspense: e.suspense,
|
|
1447
|
+
ssContent: e.ssContent && ve(e.ssContent),
|
|
1448
|
+
ssFallback: e.ssFallback && ve(e.ssFallback),
|
|
1449
|
+
el: e.el,
|
|
1450
|
+
anchor: e.anchor,
|
|
1451
|
+
ctx: e.ctx,
|
|
1452
|
+
ce: e.ce
|
|
1453
|
+
};
|
|
1454
|
+
return l && r && (h.transition = l.clone(h)), h;
|
|
1455
|
+
}
|
|
1456
|
+
function Kt(e) {
|
|
1457
|
+
const t = ve(e);
|
|
1458
|
+
return d(e.children) && (t.children = e.children.map(Kt)), t;
|
|
1459
|
+
}
|
|
1460
|
+
function yr(e = " ", t = 0) {
|
|
1461
|
+
return Vr(Nr, null, e, t);
|
|
1462
|
+
}
|
|
1463
|
+
function tt(e, t) {
|
|
1464
|
+
let n = 0;
|
|
1465
|
+
const { shapeFlag: r } = e;
|
|
1466
|
+
if (t == null)
|
|
1467
|
+
t = null;
|
|
1468
|
+
else if (d(t))
|
|
1469
|
+
n = 16;
|
|
1470
|
+
else if (typeof t == "object")
|
|
1471
|
+
if (r & 65) {
|
|
1472
|
+
const o = t.default;
|
|
1473
|
+
o && (o._c && (o._d = !1), tt(e, o()), o._c && (o._d = !0));
|
|
1474
|
+
return;
|
|
1475
|
+
} else {
|
|
1476
|
+
n = 32;
|
|
1477
|
+
const o = t._;
|
|
1478
|
+
!o && !Lt(t) ? t._ctx = I : o === 3 && I && (I.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
1479
|
+
}
|
|
1480
|
+
else
|
|
1481
|
+
E(t) ? (t = { default: t, _ctx: I }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [yr(t)]) : n = 8);
|
|
1482
|
+
e.children = t, e.shapeFlag |= n;
|
|
1483
|
+
}
|
|
1484
|
+
function Cr(...e) {
|
|
1485
|
+
const t = {};
|
|
1486
|
+
for (let n = 0; n < e.length; n++) {
|
|
1487
|
+
const r = e[n];
|
|
1488
|
+
for (const o in r)
|
|
1489
|
+
if (o === "class")
|
|
1490
|
+
t.class !== r.class && (t.class = We([t.class, r.class]));
|
|
1491
|
+
else if (o === "style")
|
|
1492
|
+
t.style = ze([t.style, r.style]);
|
|
1493
|
+
else if (Zt(o)) {
|
|
1494
|
+
const s = t[o], i = r[o];
|
|
1495
|
+
i && s !== i && !(d(s) && s.includes(i)) && (t[o] = s ? [].concat(s, i) : i);
|
|
1496
|
+
} else
|
|
1497
|
+
o !== "" && (t[o] = r[o]);
|
|
1498
|
+
}
|
|
1499
|
+
return t;
|
|
1500
|
+
}
|
|
1501
|
+
let C = null, Ue;
|
|
1502
|
+
{
|
|
1503
|
+
const e = mt(), t = (n, r) => {
|
|
1504
|
+
let o;
|
|
1505
|
+
return (o = e[n]) || (o = e[n] = []), o.push(r), (s) => {
|
|
1506
|
+
o.length > 1 ? o.forEach((i) => i(s)) : o[0](s);
|
|
1507
|
+
};
|
|
1508
|
+
};
|
|
1509
|
+
Ue = t(
|
|
1510
|
+
"__VUE_INSTANCE_SETTERS__",
|
|
1511
|
+
(n) => C = n
|
|
1512
|
+
), t(
|
|
1513
|
+
"__VUE_SSR_SETTERS__",
|
|
1514
|
+
(n) => zt = n
|
|
1515
|
+
);
|
|
1516
|
+
}
|
|
1517
|
+
const Ir = (e) => {
|
|
1518
|
+
const t = C;
|
|
1519
|
+
return Ue(e), e.scope.on(), () => {
|
|
1520
|
+
e.scope.off(), Ue(t);
|
|
1521
|
+
};
|
|
1522
|
+
};
|
|
1523
|
+
function Rr(e) {
|
|
1524
|
+
return e.vnode.shapeFlag & 4;
|
|
1525
|
+
}
|
|
1526
|
+
let zt = !1;
|
|
1527
|
+
process.env.NODE_ENV;
|
|
1528
|
+
function Dr(e) {
|
|
1529
|
+
if (e.exposed)
|
|
1530
|
+
return e.exposeProxy || (e.exposeProxy = new Proxy(Hn(An(e.exposed)), {
|
|
1531
|
+
get(t, n) {
|
|
1532
|
+
if (n in t)
|
|
1533
|
+
return t[n];
|
|
1534
|
+
if (n in re)
|
|
1535
|
+
return re[n](e);
|
|
1536
|
+
},
|
|
1537
|
+
has(t, n) {
|
|
1538
|
+
return n in t || n in re;
|
|
1539
|
+
}
|
|
1540
|
+
}));
|
|
1541
|
+
}
|
|
1542
|
+
const Pr = /(?:^|[-_])(\w)/g, Tr = (e) => e.replace(Pr, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
1543
|
+
function Wt(e, t = !0) {
|
|
1544
|
+
return E(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
1545
|
+
}
|
|
1546
|
+
function qt(e, t, n = !1) {
|
|
1547
|
+
let r = Wt(t);
|
|
1548
|
+
if (!r && t.__file) {
|
|
1549
|
+
const o = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
1550
|
+
o && (r = o[1]);
|
|
1551
|
+
}
|
|
1552
|
+
if (!r && e && e.parent) {
|
|
1553
|
+
const o = (s) => {
|
|
1554
|
+
for (const i in s)
|
|
1555
|
+
if (s[i] === t)
|
|
1556
|
+
return i;
|
|
1557
|
+
};
|
|
1558
|
+
r = o(
|
|
1559
|
+
e.components || e.parent.type.components
|
|
1560
|
+
) || o(e.appContext.components);
|
|
1561
|
+
}
|
|
1562
|
+
return r ? Tr(r) : n ? "App" : "Anonymous";
|
|
1563
|
+
}
|
|
1564
|
+
function Jt(e) {
|
|
1565
|
+
return E(e) && "__vccOpts" in e;
|
|
1566
|
+
}
|
|
1567
|
+
process.env.NODE_ENV;
|
|
1568
|
+
process.env.NODE_ENV;
|
|
1569
|
+
process.env.NODE_ENV;
|
|
1570
|
+
const $r = /* @__PURE__ */ Gt({
|
|
1571
|
+
__name: "ProviderConfig",
|
|
1572
|
+
props: {
|
|
1573
|
+
// onlyoffice配置
|
|
1574
|
+
onlyofficeConfig: {
|
|
1575
|
+
type: Object,
|
|
1576
|
+
default: () => null
|
|
1577
|
+
},
|
|
1578
|
+
// 平台token
|
|
1579
|
+
token: {
|
|
1580
|
+
type: String,
|
|
1581
|
+
default: ""
|
|
1582
|
+
},
|
|
1583
|
+
// 平台用户信息
|
|
1584
|
+
userInfo: {
|
|
1585
|
+
type: Object,
|
|
1586
|
+
default: () => null
|
|
1587
|
+
},
|
|
1588
|
+
// 资源加载地址
|
|
1589
|
+
loadUrl: {
|
|
1590
|
+
type: String,
|
|
1591
|
+
default: ""
|
|
1592
|
+
},
|
|
1593
|
+
// 资源上传地址
|
|
1594
|
+
uploadUrl: {
|
|
1595
|
+
type: String,
|
|
1596
|
+
default: ""
|
|
1597
|
+
},
|
|
1598
|
+
iconConfig: {
|
|
1599
|
+
type: Object,
|
|
1600
|
+
default: () => null
|
|
1601
|
+
}
|
|
1602
|
+
},
|
|
1603
|
+
setup(e) {
|
|
1604
|
+
const t = e;
|
|
1605
|
+
return W("onlyofficeConfig", z(() => t.onlyofficeConfig)), W("token", z(() => t.token)), W("userInfo", z(() => t.userInfo)), W("loadUrl", z(() => t.loadUrl)), W("uploadUrl", z(() => t.uploadUrl)), W("iconConfig", z(() => t.iconConfig)), (n, r) => Bt(n.$slots, "default");
|
|
1606
|
+
}
|
|
1607
|
+
}), jr = Qt($r);
|
|
1608
|
+
export {
|
|
1609
|
+
jr as IkProviderConfig,
|
|
1610
|
+
jr as default
|
|
1611
|
+
};
|