asai-vue-host 0.0.18 → 0.0.19
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/asai-vue-host.css +1 -1
- package/dist/asai-vue-host.es.js +820 -796
- package/dist/asai-vue-host.umd.js +3 -3
- package/package.json +1 -1
package/dist/asai-vue-host.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed as
|
|
1
|
+
import { computed as q, inject as He, reactive as me, provide as ht, defineComponent as C, createBlock as X, openBlock as p, resolveDynamicComponent as pe, unref as i, resolveComponent as U, createElementBlock as m, normalizeClass as J, createVNode as W, onBeforeUnmount as je, resolveDirective as ve, createElementVNode as u, withDirectives as G, Fragment as I, renderList as ee, toDisplayString as v, createCommentVNode as F, renderSlot as R, onUnmounted as $e, onMounted as he, withCtx as ie, withModifiers as H, vModelText as ue, vModelSelect as we, createTextVNode as se, ref as Y, nextTick as be, watch as Ae, withKeys as gt, createStaticVNode as qe, useCssVars as ge, normalizeStyle as Z, defineAsyncComponent as ke, vShow as Ee, Teleport as Oe, shallowReactive as vt, onUpdated as yt, isRef as Pe, vModelDynamic as Te, KeepAlive as bt, createSlots as _t } from "vue";
|
|
2
2
|
const Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
get default() {
|
|
@@ -58,7 +58,7 @@ function xe(t, e) {
|
|
|
58
58
|
function h(b) {
|
|
59
59
|
c() && e.touchstat !== 2 && (b.addEventListener("touchmove", l), a(b), e.touchstat = 2);
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function g(b) {
|
|
62
62
|
c() && e.touchstat !== 3 && (b.removeEventListener("touchmove", l), s(b), e.touchstat = 3);
|
|
63
63
|
}
|
|
64
64
|
function _(b) {
|
|
@@ -79,7 +79,7 @@ function xe(t, e) {
|
|
|
79
79
|
fnPThrottle: d,
|
|
80
80
|
vtTouchInit: f,
|
|
81
81
|
vtTouchDown: h,
|
|
82
|
-
vtTouchUp:
|
|
82
|
+
vtTouchUp: g
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
const fe = {}, wt = {
|
|
@@ -94,8 +94,8 @@ const fe = {}, wt = {
|
|
|
94
94
|
const h = ($) => {
|
|
95
95
|
console.log("handleDown", fe, $), a(t), l = !0;
|
|
96
96
|
const y = fe.dragAreaDom.getBoundingClientRect();
|
|
97
|
-
fe.dragAreaDom.style.position = "absolute", fe.dragAreaDom.style.transform = `translate(${y.x}px, ${y.y}px)`, r = $.clientX - y.x, d = $.clientY - y.y, t.style.cursor = "grabbing", document.addEventListener("pointermove",
|
|
98
|
-
},
|
|
97
|
+
fe.dragAreaDom.style.position = "absolute", fe.dragAreaDom.style.transform = `translate(${y.x}px, ${y.y}px)`, r = $.clientX - y.x, d = $.clientY - y.y, t.style.cursor = "grabbing", document.addEventListener("pointermove", g), document.addEventListener("pointerup", _);
|
|
98
|
+
}, g = ($) => {
|
|
99
99
|
n(() => {
|
|
100
100
|
if (l) {
|
|
101
101
|
c = $.clientX - r, f = $.clientY - d;
|
|
@@ -104,7 +104,7 @@ const fe = {}, wt = {
|
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
106
|
}, _ = () => {
|
|
107
|
-
l = !1, t.style.cursor = "grab", s(t), document.removeEventListener("pointermove",
|
|
107
|
+
l = !1, t.style.cursor = "grab", s(t), document.removeEventListener("pointermove", g), document.removeEventListener("pointerup", _);
|
|
108
108
|
};
|
|
109
109
|
t.addEventListener("pointerdown", h), fe.unmounted = () => {
|
|
110
110
|
t.removeEventListener("pointerdown", h);
|
|
@@ -125,12 +125,12 @@ const fe = {}, wt = {
|
|
|
125
125
|
);
|
|
126
126
|
o(t);
|
|
127
127
|
let l = !1, r = { x: 0, y: 0 }, d = { x: 0, y: 0 }, c = null, f = 1;
|
|
128
|
-
const h = (e.value?.dom ? document.getElementById(e.value.dom) : "") || t,
|
|
128
|
+
const h = (e.value?.dom ? document.getElementById(e.value.dom) : "") || t, g = (e.value?.domarea ? document.getElementById(e.value.domarea) : "") || h, _ = (e.value?.dommask ? document.getElementById(e.value.dommask) : "") || (e.value?.ujt?.$global?.sys?.zoomid ? document.getElementById(e.value.ujt.$global.sys.zoomid) : "") || document.getElementById("asaizoomarea") || document.body, $ = () => _ && (e.value?.scale || e.value?.ujt?.$global?.scale) || 1, y = (x) => {
|
|
129
129
|
if (!_) return;
|
|
130
130
|
if (a(t), x.preventDefault(), f = $(), e.value?.pos)
|
|
131
131
|
d = e.value.pos;
|
|
132
132
|
else {
|
|
133
|
-
const S = window.getComputedStyle(
|
|
133
|
+
const S = window.getComputedStyle(g).transform?.split(", ");
|
|
134
134
|
if (S.length > 2) {
|
|
135
135
|
const O = S.pop().slice(0, -1) || 0, M = S.pop() || 0;
|
|
136
136
|
d = {
|
|
@@ -153,7 +153,7 @@ const fe = {}, wt = {
|
|
|
153
153
|
if (!l || !c) return;
|
|
154
154
|
let L, w;
|
|
155
155
|
L = x.clientX, w = x.clientY, f = $();
|
|
156
|
-
const j = (L - c.left) / f - r.x, S = (w - c.top) / f - r.y, O = _.offsetWidth -
|
|
156
|
+
const j = (L - c.left) / f - r.x, S = (w - c.top) / f - r.y, O = _.offsetWidth - g.offsetWidth, M = _.offsetHeight - g.offsetHeight;
|
|
157
157
|
n(() => {
|
|
158
158
|
e.value.pos ? (e.value.pos.x = +Math.max(
|
|
159
159
|
0,
|
|
@@ -161,7 +161,7 @@ const fe = {}, wt = {
|
|
|
161
161
|
).toFixed(3), e.value.pos.y = +Math.max(
|
|
162
162
|
0,
|
|
163
163
|
Math.min(S, M)
|
|
164
|
-
).toFixed(3)) :
|
|
164
|
+
).toFixed(3)) : g.style.transform = `translate(${+Math.max(
|
|
165
165
|
0,
|
|
166
166
|
Math.min(j, O)
|
|
167
167
|
).toFixed(3)}px,${+Math.max(
|
|
@@ -291,11 +291,11 @@ const Ct = {
|
|
|
291
291
|
o(t), e.value.prevent && y.preventDefault(), r = !0, y?.touches?.[0] ? (d = y.touches[0].clientX, c = y.touches[0].clientY) : (d = y.clientX, c = y.clientY), e.value.press && e.value.press(y), l = window.setTimeout(() => {
|
|
292
292
|
r && e.value.hold && e.value.hold(y);
|
|
293
293
|
}, s);
|
|
294
|
-
},
|
|
294
|
+
}, g = (y) => {
|
|
295
295
|
a(t), l !== null && (clearTimeout(l), l = null), r && (e.value.release && e.value.release(y), r = !1);
|
|
296
296
|
}, $ = {
|
|
297
297
|
down: h,
|
|
298
|
-
up:
|
|
298
|
+
up: g,
|
|
299
299
|
move: (y) => {
|
|
300
300
|
if (!r) return;
|
|
301
301
|
let b = 0, k = 0;
|
|
@@ -304,7 +304,7 @@ const Ct = {
|
|
|
304
304
|
(A > f || x > f) && (l !== null && (clearTimeout(l), l = null), r = !1);
|
|
305
305
|
}
|
|
306
306
|
};
|
|
307
|
-
t.addEventListener("pointerdown", h), t.addEventListener("pointerup",
|
|
307
|
+
t.addEventListener("pointerdown", h), t.addEventListener("pointerup", g), t.addEventListener("pointercancel", g), t.addEventListener("pointerleave", g), t._pressHandlers = $;
|
|
308
308
|
},
|
|
309
309
|
unmounted(t) {
|
|
310
310
|
const e = t._pressHandlers;
|
|
@@ -325,17 +325,17 @@ const Ct = {
|
|
|
325
325
|
const h = {
|
|
326
326
|
width: l?.$global?.sys?.zoomwidth || 1920,
|
|
327
327
|
height: l?.$global?.sys?.zoomheight || 1200
|
|
328
|
-
},
|
|
328
|
+
}, g = () => d || l?.$global?.scale || 1;
|
|
329
329
|
let _ = !1, $, y, b, k, A = r || { w: 0, h: 0 };
|
|
330
330
|
const x = (O) => ({ clientX: O.clientX, clientY: O.clientY }), L = (O) => {
|
|
331
|
-
a(t), O.preventDefault(), f =
|
|
331
|
+
a(t), O.preventDefault(), f = g(), _ = !0;
|
|
332
332
|
const { clientX: M, clientY: z } = x(O);
|
|
333
333
|
$ = M - window.scrollX, y = z - window.scrollY, b = t.offsetWidth, k = t.offsetHeight;
|
|
334
334
|
const E = window.getComputedStyle(t).transform?.split(", ");
|
|
335
335
|
if (E && E.length > 2) {
|
|
336
|
-
const V = E.pop().slice(0, -1),
|
|
336
|
+
const V = E.pop().slice(0, -1), N = E.pop();
|
|
337
337
|
c = {
|
|
338
|
-
x: parseFloat(
|
|
338
|
+
x: parseFloat(N),
|
|
339
339
|
y: parseFloat(V)
|
|
340
340
|
};
|
|
341
341
|
} else
|
|
@@ -394,7 +394,7 @@ const Ct = {
|
|
|
394
394
|
e.value
|
|
395
395
|
);
|
|
396
396
|
o(t);
|
|
397
|
-
const { ujt: l, scale: r, id: d, type: c, cut: f, min: h } = e.value,
|
|
397
|
+
const { ujt: l, scale: r, id: d, type: c, cut: f, min: h } = e.value, g = () => r || l?.$global?.scale || 1, _ = {
|
|
398
398
|
width: l?.$global?.sys?.zoomwidth || 1920,
|
|
399
399
|
height: l?.$global?.sys?.zoomheight || 1200
|
|
400
400
|
};
|
|
@@ -409,7 +409,7 @@ const Ct = {
|
|
|
409
409
|
console.error(`未找到 ID 为 ${d} 的元素`);
|
|
410
410
|
return;
|
|
411
411
|
}
|
|
412
|
-
a(t), P.preventDefault(), k =
|
|
412
|
+
a(t), P.preventDefault(), k = g(), A = !0, c ? (w = P.clientY, j = b.offsetHeight) : (x = P.clientX, L = b.offsetWidth), document.addEventListener("pointermove", O), document.addEventListener("pointerup", M);
|
|
413
413
|
}, O = (P) => {
|
|
414
414
|
A && n(() => {
|
|
415
415
|
if (c) {
|
|
@@ -984,7 +984,7 @@ const Ct = {
|
|
|
984
984
|
function h() {
|
|
985
985
|
return n[t.opt.channel].cfg.map.class || "class";
|
|
986
986
|
}
|
|
987
|
-
function
|
|
987
|
+
function g() {
|
|
988
988
|
return n[t.opt.channel].cfg.map.content || "content";
|
|
989
989
|
}
|
|
990
990
|
function _() {
|
|
@@ -1009,15 +1009,15 @@ const Ct = {
|
|
|
1009
1009
|
e.initmodel(
|
|
1010
1010
|
`${t.opt.model}/channel/${t.opt.channel}/file/${D?.show}.txt`
|
|
1011
1011
|
).then((le) => {
|
|
1012
|
-
ce[c()] = D?.show, ce[
|
|
1012
|
+
ce[c()] = D?.show, ce[g()] = le, oe([ce]);
|
|
1013
1013
|
}).catch(Q);
|
|
1014
1014
|
}).catch(Q) : e.initmodel(
|
|
1015
1015
|
`${t.opt.model}/channel/${t.opt.channel}/class/${D?.fl}.json`
|
|
1016
1016
|
).then((te) => {
|
|
1017
1017
|
const ce = Object.entries(
|
|
1018
1018
|
te?.list || {}
|
|
1019
|
-
)?.map(([le,
|
|
1020
|
-
...
|
|
1019
|
+
)?.map(([le, ye]) => ({
|
|
1020
|
+
...ye,
|
|
1021
1021
|
[c()]: le
|
|
1022
1022
|
}));
|
|
1023
1023
|
oe(ce);
|
|
@@ -1164,7 +1164,7 @@ const Ct = {
|
|
|
1164
1164
|
z(0, 1);
|
|
1165
1165
|
});
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function N(T, D = 0) {
|
|
1168
1168
|
t.opt.tyhash && ne("edit", D), e.setquery({ show: T, showty: "1" }, 1), O(T);
|
|
1169
1169
|
}
|
|
1170
1170
|
function ae(T) {
|
|
@@ -1268,15 +1268,15 @@ const Ct = {
|
|
|
1268
1268
|
for (let ce = 0; ce < te.length; ce++) {
|
|
1269
1269
|
const le = te[ce];
|
|
1270
1270
|
le[n[t.opt.channel].cfg.imex.keys[7]] && oe !== le[n[t.opt.channel].cfg.imex.keys[7]] && (oe = le[n[t.opt.channel].cfg.imex.keys[7]], Q += `${a.data.asai.rulebook.bkclass}${n[t.opt.channel].lang.class[oe]?.nm || ""}${a.data.asai.rulebook.bksn}${oe}${a.data.asai.rulebook.bkty}1${a.data.asai.rulebook.bktm}${a.data.asai.rulebook.bktg}${a.data.asai.rulebook.bkds}`), Q += `${a.data.asai.rulebook.bklist}${T(le, 0)}`;
|
|
1271
|
-
const
|
|
1272
|
-
Q += `${a.data.asai.rulebook.bksn}${
|
|
1271
|
+
const ye = T(le, 1);
|
|
1272
|
+
Q += `${a.data.asai.rulebook.bksn}${ye}`, Q += `${a.data.asai.rulebook.bkty}${T(le, 2)}${a.data.asai.rulebook.bktm}${T(le, 3)}${a.data.asai.rulebook.bktg}${T(
|
|
1273
1273
|
le,
|
|
1274
1274
|
4
|
|
1275
1275
|
)}${a.data.asai.rulebook.bkds}${T(le, 5)}${a.data.asai.rulebook.bkco}`, t.opt.dty == "file" ? await y(
|
|
1276
|
-
"/select/" +
|
|
1276
|
+
"/select/" + ye + "/",
|
|
1277
1277
|
w()
|
|
1278
|
-
).then(async (
|
|
1279
|
-
|
|
1278
|
+
).then(async (_e) => {
|
|
1279
|
+
_e && (Q += _e?.[0]?.[n[t.opt.channel].cfg.imex.keys[6]] || "");
|
|
1280
1280
|
}) : Q += `${T(le, 6)}`;
|
|
1281
1281
|
}
|
|
1282
1282
|
e.As.downloadTxt(Q, `${t.opt.channel}.txt`);
|
|
@@ -1284,19 +1284,19 @@ const Ct = {
|
|
|
1284
1284
|
}
|
|
1285
1285
|
async function ut(T) {
|
|
1286
1286
|
if (n[t.opt.channel].cfg?.imex?.keys?.length === 8) {
|
|
1287
|
-
let D = function(le,
|
|
1288
|
-
n[t.opt.channel].cfg.imex.keys[
|
|
1287
|
+
let D = function(le, ye, _e) {
|
|
1288
|
+
n[t.opt.channel].cfg.imex.keys[ye] && (le[n[t.opt.channel].cfg.imex.keys[ye]] = _e);
|
|
1289
1289
|
}, K = "", oe = [], Q = {}, te = [];
|
|
1290
1290
|
T = T?.replaceAll(`\r
|
|
1291
1291
|
`, `
|
|
1292
1292
|
`);
|
|
1293
1293
|
const ce = T.split(a.data.asai.rulebook.bkclass);
|
|
1294
1294
|
for (let le = 0; le < ce.length; le++) {
|
|
1295
|
-
const
|
|
1295
|
+
const _e = ce[le].split(
|
|
1296
1296
|
a.data.asai.rulebook.bklist
|
|
1297
1297
|
);
|
|
1298
|
-
for (let Se = 0; Se <
|
|
1299
|
-
const Re =
|
|
1298
|
+
for (let Se = 0; Se < _e.length; Se++) {
|
|
1299
|
+
const Re = _e[Se];
|
|
1300
1300
|
Se === 0 ? (K = Re.split(a.data.asai.rulebook.bksn)[1].split(a.data.asai.rulebook.bkty)[0], await b({
|
|
1301
1301
|
...w(),
|
|
1302
1302
|
field: c(),
|
|
@@ -1378,7 +1378,7 @@ const Ct = {
|
|
|
1378
1378
|
initAddChannel: S,
|
|
1379
1379
|
setChannelClass: M,
|
|
1380
1380
|
delItem: V,
|
|
1381
|
-
editItem:
|
|
1381
|
+
editItem: N,
|
|
1382
1382
|
readItem: O,
|
|
1383
1383
|
optConfirm: ae,
|
|
1384
1384
|
setPage: E,
|
|
@@ -1398,7 +1398,7 @@ const Ct = {
|
|
|
1398
1398
|
getPwKey: f,
|
|
1399
1399
|
getClassKey: h,
|
|
1400
1400
|
getTitleKey: _,
|
|
1401
|
-
getContentKey:
|
|
1401
|
+
getContentKey: g,
|
|
1402
1402
|
channelLang: l,
|
|
1403
1403
|
channelLogin: dt,
|
|
1404
1404
|
channelReg: pt
|
|
@@ -1461,10 +1461,10 @@ const Ct = {
|
|
|
1461
1461
|
}, n = 0) => {
|
|
1462
1462
|
function o(c) {
|
|
1463
1463
|
return new Promise((f, h) => {
|
|
1464
|
-
const
|
|
1465
|
-
|
|
1466
|
-
f(
|
|
1467
|
-
},
|
|
1464
|
+
const g = new FileReader();
|
|
1465
|
+
g.onload = () => {
|
|
1466
|
+
f(g.result);
|
|
1467
|
+
}, g.onerror = h, g.readAsDataURL(
|
|
1468
1468
|
new Blob(c, {
|
|
1469
1469
|
type: "audio/webm"
|
|
1470
1470
|
})
|
|
@@ -1536,15 +1536,15 @@ const Ct = {
|
|
|
1536
1536
|
}
|
|
1537
1537
|
return d === "li" ? (f = f[1].split(a.novel.rule.bkcontent), c.ds = f[0], c.co = f[1]) : c.ds = f[1], c;
|
|
1538
1538
|
}
|
|
1539
|
-
return { cmNovelData:
|
|
1539
|
+
return { cmNovelData: q(() => {
|
|
1540
1540
|
const r = [];
|
|
1541
1541
|
let c = a.novel.muzu.replaceAll(`\r
|
|
1542
1542
|
`, `
|
|
1543
|
-
`).split(a.novel.rule.bkchannel), f, h,
|
|
1543
|
+
`).split(a.novel.rule.bkchannel), f, h, g;
|
|
1544
1544
|
return c.forEach((_) => {
|
|
1545
1545
|
_ && _.split(a.novel.rule.bkclass).forEach((y, b) => {
|
|
1546
1546
|
b == 0 ? (f = s(y, "ch"), f.cc = [], r.push(f)) : y.split(a.novel.rule.bklist).forEach((A, x) => {
|
|
1547
|
-
x == 0 ? (h = s(A, "cl"), h.cc = [], f.cc.push(h)) : (
|
|
1547
|
+
x == 0 ? (h = s(A, "cl"), h.cc = [], f.cc.push(h)) : (g = s(A, "li"), h.cc.push(g));
|
|
1548
1548
|
});
|
|
1549
1549
|
});
|
|
1550
1550
|
}), r;
|
|
@@ -1574,7 +1574,7 @@ const Ct = {
|
|
|
1574
1574
|
const { ujt: e } = t, { $fn: n, $db: o, $global: a } = t.ujt, { initToken: s, userLoginWs: l, getOnline: r } = n.useInitUser(
|
|
1575
1575
|
e,
|
|
1576
1576
|
"webserver"
|
|
1577
|
-
), d =
|
|
1577
|
+
), d = q(() => Object.entries(n.lg("channeluser.lv")).filter((E) => a.user.info?.lv > E[0]));
|
|
1578
1578
|
function c() {
|
|
1579
1579
|
return new Promise((P, E) => {
|
|
1580
1580
|
try {
|
|
@@ -1589,7 +1589,7 @@ const Ct = {
|
|
|
1589
1589
|
},
|
|
1590
1590
|
stat: 0,
|
|
1591
1591
|
rfdata: {
|
|
1592
|
-
lang:
|
|
1592
|
+
lang: q(() => a.lang.channeluser.data)
|
|
1593
1593
|
}
|
|
1594
1594
|
}, n.initmodel("sys/channel/channeluser.json").then(
|
|
1595
1595
|
(V) => {
|
|
@@ -1639,7 +1639,7 @@ const Ct = {
|
|
|
1639
1639
|
});
|
|
1640
1640
|
});
|
|
1641
1641
|
}
|
|
1642
|
-
function
|
|
1642
|
+
function g(P) {
|
|
1643
1643
|
P.us && (a.user.info = {
|
|
1644
1644
|
us: P.us,
|
|
1645
1645
|
lv: P.lv || 1
|
|
@@ -1659,7 +1659,7 @@ const Ct = {
|
|
|
1659
1659
|
function $() {
|
|
1660
1660
|
f().then((P) => {
|
|
1661
1661
|
const E = JSON.parse(P);
|
|
1662
|
-
o.channeluser.cur.pw === E.pw ?
|
|
1662
|
+
o.channeluser.cur.pw === E.pw ? g(E) : a.msg.fn({
|
|
1663
1663
|
type: "err",
|
|
1664
1664
|
tit: n.lg("channeluser.msg.passworderr")
|
|
1665
1665
|
});
|
|
@@ -1801,8 +1801,8 @@ const Ct = {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
function O(P = "") {
|
|
1803
1803
|
return new Promise((E, V) => {
|
|
1804
|
-
P && (o.channeluser.cur.us = P), f().then((
|
|
1805
|
-
|
|
1804
|
+
P && (o.channeluser.cur.us = P), f().then((N) => {
|
|
1805
|
+
N && (typeof N == "string" && (N = JSON.parse(N)), a.user.info.lv > N.lv && a.user.info.us != N.us ? S().then(() => {
|
|
1806
1806
|
E();
|
|
1807
1807
|
}) : (o.channeluser.cur.msg = n.lg(
|
|
1808
1808
|
"channeluser.msg.delerr",
|
|
@@ -1811,13 +1811,13 @@ const Ct = {
|
|
|
1811
1811
|
type: "err",
|
|
1812
1812
|
tit: o.channeluser.cur.msg
|
|
1813
1813
|
}), V()));
|
|
1814
|
-
}).catch((
|
|
1814
|
+
}).catch((N) => {
|
|
1815
1815
|
a.msg.fn({
|
|
1816
1816
|
type: "err",
|
|
1817
1817
|
tit: n.lg("channeluser.msg.delerr", [
|
|
1818
1818
|
o.channeluser.cur.us
|
|
1819
1819
|
])
|
|
1820
|
-
}), V(
|
|
1820
|
+
}), V(N);
|
|
1821
1821
|
});
|
|
1822
1822
|
});
|
|
1823
1823
|
}
|
|
@@ -1908,7 +1908,7 @@ const Ct = {
|
|
|
1908
1908
|
}, Symbol.toStringTag, { value: "Module" })), vn = (t, e = "webserver") => {
|
|
1909
1909
|
const { $fn: n, $db: o, $global: a } = t;
|
|
1910
1910
|
function s() {
|
|
1911
|
-
return new Promise((h,
|
|
1911
|
+
return new Promise((h, g) => {
|
|
1912
1912
|
n.ws.web.wsWatch(
|
|
1913
1913
|
{
|
|
1914
1914
|
ty: "publish/web"
|
|
@@ -1933,7 +1933,7 @@ const Ct = {
|
|
|
1933
1933
|
con: n.lg("channeluser.msg.loginerr", [
|
|
1934
1934
|
a.user.info.us
|
|
1935
1935
|
])
|
|
1936
|
-
}),
|
|
1936
|
+
}), g(_);
|
|
1937
1937
|
});
|
|
1938
1938
|
});
|
|
1939
1939
|
}
|
|
@@ -1947,7 +1947,7 @@ const Ct = {
|
|
|
1947
1947
|
});
|
|
1948
1948
|
}
|
|
1949
1949
|
function r() {
|
|
1950
|
-
return new Promise((h,
|
|
1950
|
+
return new Promise((h, g) => {
|
|
1951
1951
|
try {
|
|
1952
1952
|
let _ = n.As?.localGet("as-user-code");
|
|
1953
1953
|
_ ? (_ = n.As.toObj(_), a.code.pri = _[0], a.code.pub = _[1], h()) : n.api[e]?.apiGet("/api/init/code/").then(($) => {
|
|
@@ -1956,10 +1956,10 @@ const Ct = {
|
|
|
1956
1956
|
n.As.toStr($.data)
|
|
1957
1957
|
), h();
|
|
1958
1958
|
}).catch(($) => {
|
|
1959
|
-
|
|
1959
|
+
g($);
|
|
1960
1960
|
});
|
|
1961
1961
|
} catch (_) {
|
|
1962
|
-
|
|
1962
|
+
g(_);
|
|
1963
1963
|
}
|
|
1964
1964
|
});
|
|
1965
1965
|
}
|
|
@@ -1967,22 +1967,22 @@ const Ct = {
|
|
|
1967
1967
|
a.user.info?.us && (a.code.token = n.AsCode.asencode(a.user.info?.us, a.code.pri) + "##" + n.AsCode.asencode(a.user.info?.lv, a.code.pri) + "##" + a.code.pub);
|
|
1968
1968
|
}
|
|
1969
1969
|
function c() {
|
|
1970
|
-
return new Promise((h,
|
|
1970
|
+
return new Promise((h, g) => {
|
|
1971
1971
|
try {
|
|
1972
1972
|
r().then(() => {
|
|
1973
1973
|
!a.code.token && a.code.pri && n.As.localGet("as-user-info") && (a.user.info = n.As.toObj(
|
|
1974
1974
|
n.AsAES.dec(n.As.localGet("as-user-info"))
|
|
1975
1975
|
), d()), h();
|
|
1976
1976
|
}).catch((_) => {
|
|
1977
|
-
|
|
1977
|
+
g(_);
|
|
1978
1978
|
});
|
|
1979
1979
|
} catch (_) {
|
|
1980
|
-
|
|
1980
|
+
g(_);
|
|
1981
1981
|
}
|
|
1982
1982
|
});
|
|
1983
1983
|
}
|
|
1984
1984
|
function f() {
|
|
1985
|
-
return new Promise((h,
|
|
1985
|
+
return new Promise((h, g) => {
|
|
1986
1986
|
a.user.online = 0;
|
|
1987
1987
|
try {
|
|
1988
1988
|
c().then(() => {
|
|
@@ -1990,10 +1990,10 @@ const Ct = {
|
|
|
1990
1990
|
a.user.online = 1, h();
|
|
1991
1991
|
});
|
|
1992
1992
|
}).catch((_) => {
|
|
1993
|
-
|
|
1993
|
+
g(_);
|
|
1994
1994
|
});
|
|
1995
1995
|
} catch (_) {
|
|
1996
|
-
|
|
1996
|
+
g(_);
|
|
1997
1997
|
}
|
|
1998
1998
|
});
|
|
1999
1999
|
}
|
|
@@ -2064,12 +2064,12 @@ const Ct = {
|
|
|
2064
2064
|
if (!f?.[0])
|
|
2065
2065
|
o.$model.gysfn.log();
|
|
2066
2066
|
else if (f.length > 0) {
|
|
2067
|
-
let h = "",
|
|
2067
|
+
let h = "", g = "", _ = "";
|
|
2068
2068
|
if (f[1] && typeof f[1] == "string") {
|
|
2069
2069
|
const [$, y, ...b] = f;
|
|
2070
|
-
|
|
2070
|
+
g = y, _ = b, Array.isArray(f[0]) && f[0].length === 2 ? h = s(f[0][0], f[0][1], "12px") : typeof f[0] == "number" && (h = a($, 12));
|
|
2071
2071
|
}
|
|
2072
|
-
h ? console.log("%c" +
|
|
2072
|
+
h ? console.log("%c" + g, h, ..._) : console.log(...f);
|
|
2073
2073
|
}
|
|
2074
2074
|
}
|
|
2075
2075
|
}, o.$model.gysfn.log = () => (console.log(
|
|
@@ -2104,11 +2104,11 @@ const Ct = {
|
|
|
2104
2104
|
o.$dbwork
|
|
2105
2105
|
), "Web Model Log。");
|
|
2106
2106
|
function a(f, h = 18) {
|
|
2107
|
-
let
|
|
2108
|
-
return f === 1 ?
|
|
2107
|
+
let g = "";
|
|
2108
|
+
return f === 1 ? g = s("black", "pink", h + "px") : f === 2 ? g = s("black", "cyan", h + "px") : f === 3 ? g = s("black", "yellow", h + "px") : f === 4 ? g = s("white", "blue", h + "px") : f === 5 ? g = s("white", "red", h + "px") : f === 6 && (g = s("white", "green", h + "px")), g;
|
|
2109
2109
|
}
|
|
2110
|
-
function s(f, h,
|
|
2111
|
-
return "font-size:" +
|
|
2110
|
+
function s(f, h, g = "18px") {
|
|
2111
|
+
return "font-size:" + g + ";font-weight:bold;border-radius:20px;padding:0 10px;color:" + f + ";background-color:" + h + ";";
|
|
2112
2112
|
}
|
|
2113
2113
|
function l(f) {
|
|
2114
2114
|
try {
|
|
@@ -2119,14 +2119,14 @@ const Ct = {
|
|
|
2119
2119
|
}
|
|
2120
2120
|
const { fetchPublic: r } = o.$fn.AsaiModel("./webmodel/");
|
|
2121
2121
|
o.$fn.initmodel = r, o.$fn.startLink = () => new Promise((f, h) => {
|
|
2122
|
-
o.$fn.initmodel("sys/server.json").then((
|
|
2122
|
+
o.$fn.initmodel("sys/server.json").then((g) => {
|
|
2123
2123
|
const _ = { api: {}, ws: {} };
|
|
2124
2124
|
["api", "ws"].forEach(($) => {
|
|
2125
|
-
Object.keys(
|
|
2125
|
+
Object.keys(g?.[$] || {}).forEach((y) => {
|
|
2126
2126
|
y != "default" && (_[$][y] = {
|
|
2127
|
-
...
|
|
2127
|
+
...g[$][y],
|
|
2128
2128
|
url: o.$fn.As.getUrlByCfg(
|
|
2129
|
-
|
|
2129
|
+
g[$][y],
|
|
2130
2130
|
$ == "ws" ? 1 : 0
|
|
2131
2131
|
)
|
|
2132
2132
|
});
|
|
@@ -2135,31 +2135,31 @@ const Ct = {
|
|
|
2135
2135
|
"as-link",
|
|
2136
2136
|
JSON.stringify(_)
|
|
2137
2137
|
), o.$global.link = _, f(o.$global.link);
|
|
2138
|
-
}).catch((
|
|
2139
|
-
h(
|
|
2138
|
+
}).catch((g) => {
|
|
2139
|
+
h(g);
|
|
2140
2140
|
});
|
|
2141
2141
|
}), o.$fn.saveLink = (f) => {
|
|
2142
2142
|
o.$global.link = f, o.$fn.As.localSet(
|
|
2143
2143
|
"as-link",
|
|
2144
2144
|
JSON.stringify(o.$global.link)
|
|
2145
2145
|
);
|
|
2146
|
-
}, o.$fn.initLink = (f = 0) => new Promise((h,
|
|
2146
|
+
}, o.$fn.initLink = (f = 0) => new Promise((h, g) => {
|
|
2147
2147
|
if (f)
|
|
2148
2148
|
o.$fn.startLink().then((_) => {
|
|
2149
2149
|
h(_);
|
|
2150
2150
|
}).catch((_) => {
|
|
2151
|
-
|
|
2151
|
+
g(_);
|
|
2152
2152
|
});
|
|
2153
2153
|
else {
|
|
2154
2154
|
let _ = o.$fn.As.localGet("as-link");
|
|
2155
2155
|
_ ? (o.$global.link = JSON.parse(_), o.$global.link?.api && o.$global.link?.ws ? h(o.$global.link) : o.$fn.startLink().then(($) => {
|
|
2156
2156
|
h($);
|
|
2157
2157
|
}).catch(($) => {
|
|
2158
|
-
|
|
2158
|
+
g($);
|
|
2159
2159
|
})) : o.$fn.startLink().then(($) => {
|
|
2160
2160
|
h($);
|
|
2161
2161
|
}).catch(($) => {
|
|
2162
|
-
|
|
2162
|
+
g($);
|
|
2163
2163
|
});
|
|
2164
2164
|
}
|
|
2165
2165
|
});
|
|
@@ -2167,9 +2167,9 @@ const Ct = {
|
|
|
2167
2167
|
return o.$fn.lg = (f, h) => {
|
|
2168
2168
|
if (typeof f != "string" || !f)
|
|
2169
2169
|
return;
|
|
2170
|
-
let
|
|
2171
|
-
|
|
2172
|
-
const _ =
|
|
2170
|
+
let g = d.get(f);
|
|
2171
|
+
g || (g = f.split("."), d.set(f, g));
|
|
2172
|
+
const _ = g.reduce(
|
|
2173
2173
|
(b, k) => b?.[k],
|
|
2174
2174
|
o.$global.lang
|
|
2175
2175
|
);
|
|
@@ -2182,7 +2182,7 @@ const Ct = {
|
|
|
2182
2182
|
return $[A] ?? b;
|
|
2183
2183
|
}
|
|
2184
2184
|
);
|
|
2185
|
-
}, o.$fn.changetheme = (f = "") => new Promise((h,
|
|
2185
|
+
}, o.$fn.changetheme = (f = "") => new Promise((h, g) => {
|
|
2186
2186
|
try {
|
|
2187
2187
|
let _ = "";
|
|
2188
2188
|
o.$global?.sys?.local?.theme ? _ = o.$fn.As.localGet(
|
|
@@ -2196,28 +2196,28 @@ const Ct = {
|
|
|
2196
2196
|
o.$global.config.theme
|
|
2197
2197
|
), o.$global.config.theme = _), document?.body?.classList?.contains(_) || document.body.classList.add(_), h();
|
|
2198
2198
|
} catch (_) {
|
|
2199
|
-
|
|
2199
|
+
g(_);
|
|
2200
2200
|
}
|
|
2201
2201
|
}), o.$fn.initlang = (f = "") => {
|
|
2202
2202
|
let h = "";
|
|
2203
|
-
return o.$global?.sys?.local?.lang ? h = f || o.$fn.As.localGet(o.$global?.sys?.local?.lang) || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0] : h = f || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0], o.$global?.lang || (o.$global.lang = {}), new Promise((
|
|
2203
|
+
return o.$global?.sys?.local?.lang ? h = f || o.$fn.As.localGet(o.$global?.sys?.local?.lang) || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0] : h = f || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0], o.$global?.lang || (o.$global.lang = {}), new Promise((g, _) => {
|
|
2204
2204
|
o.$fn.initmodel("lang/dirlang.json", h + "/").then(($) => {
|
|
2205
|
-
Object.assign(o.$global.lang, $),
|
|
2205
|
+
Object.assign(o.$global.lang, $), g(o.$global.lang);
|
|
2206
2206
|
}).catch(($) => {
|
|
2207
2207
|
_($);
|
|
2208
2208
|
});
|
|
2209
2209
|
});
|
|
2210
2210
|
}, o.$fn.changelang = (f = "") => {
|
|
2211
2211
|
let h = "";
|
|
2212
|
-
return o.$global?.sys?.local?.lang ? h = o.$fn.As.localGet(o.$global?.sys?.local?.lang) || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0] : h = o.$global.config.langcur || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0], new Promise((
|
|
2213
|
-
f && h === f && o.$global?.lang ?
|
|
2212
|
+
return o.$global?.sys?.local?.lang ? h = o.$fn.As.localGet(o.$global?.sys?.local?.lang) || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0] : h = o.$global.config.langcur || o.$model.data.sys.settinglang.lang || o.$model.data.sys.configdata.lang[0], new Promise((g, _) => {
|
|
2213
|
+
f && h === f && o.$global?.lang ? g(h) : (f === "auto" ? h = h == o.$model.data.sys.configdata.lang[0] ? o.$model.data.sys.configdata.lang[1] : o.$model.data.sys.configdata.lang[0] : f && (h = f), o.$global?.sys?.local?.lang && o.$fn.As.localSet(
|
|
2214
2214
|
o.$global?.sys?.local?.lang,
|
|
2215
2215
|
h
|
|
2216
2216
|
), o.$global?.sys?.local?.lang || !o.$global.config.lang ? (o.$global.config.lang = h, o.$fn.initlang(h).then(($) => {
|
|
2217
|
-
|
|
2217
|
+
g(h);
|
|
2218
2218
|
}).catch(($) => {
|
|
2219
2219
|
_($);
|
|
2220
|
-
})) :
|
|
2220
|
+
})) : g(h));
|
|
2221
2221
|
});
|
|
2222
2222
|
}, o.$fn.initweb = async (f) => {
|
|
2223
2223
|
try {
|
|
@@ -2259,11 +2259,11 @@ const Ct = {
|
|
|
2259
2259
|
Object.assign(o.$fn, f.$engineasai || {}), Object.assign(o.$fn, f.$engineasailib || {}), o.$model.data.asai = await o.$fn.initmodel(
|
|
2260
2260
|
"asai/dirmodel.json"
|
|
2261
2261
|
);
|
|
2262
|
-
const
|
|
2262
|
+
const g = await o.$fn.initmodel(
|
|
2263
2263
|
"asai/dirglobal.json"
|
|
2264
2264
|
);
|
|
2265
|
-
o.$global.asai = {}, Object.keys(
|
|
2266
|
-
Object.assign(o.$global.asai,
|
|
2265
|
+
o.$global.asai = {}, Object.keys(g).forEach(($) => {
|
|
2266
|
+
Object.assign(o.$global.asai, g[$]);
|
|
2267
2267
|
}), o.$model.data.sys = await o.$fn.initmodel(
|
|
2268
2268
|
"sys/dirmodel.json"
|
|
2269
2269
|
);
|
|
@@ -2304,9 +2304,9 @@ const Ct = {
|
|
|
2304
2304
|
o.$global.url[o.$global.module.value] = [
|
|
2305
2305
|
...Object.keys(o.$model.comps)?.map((h) => {
|
|
2306
2306
|
if (f.test(h)) {
|
|
2307
|
-
const
|
|
2308
|
-
if (
|
|
2309
|
-
return
|
|
2307
|
+
const g = h.match(f);
|
|
2308
|
+
if (g)
|
|
2309
|
+
return g[1];
|
|
2310
2310
|
}
|
|
2311
2311
|
return "";
|
|
2312
2312
|
}).filter((h) => h)
|
|
@@ -2395,12 +2395,12 @@ const Ct = {
|
|
|
2395
2395
|
], 2);
|
|
2396
2396
|
};
|
|
2397
2397
|
}
|
|
2398
|
-
}),
|
|
2398
|
+
}), B = (t, e) => {
|
|
2399
2399
|
const n = t.__vccOpts || t;
|
|
2400
2400
|
for (const [o, a] of e)
|
|
2401
2401
|
n[o] = a;
|
|
2402
2402
|
return n;
|
|
2403
|
-
}, Ne = /* @__PURE__ */
|
|
2403
|
+
}, Ne = /* @__PURE__ */ B(Mn, [["__scopeId", "data-v-aaec86d5"]]), Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2404
2404
|
__proto__: null,
|
|
2405
2405
|
default: Ne
|
|
2406
2406
|
}, Symbol.toStringTag, { value: "Module" })), zn = /* @__PURE__ */ C({
|
|
@@ -2426,7 +2426,7 @@ const Ct = {
|
|
|
2426
2426
|
], 2);
|
|
2427
2427
|
};
|
|
2428
2428
|
}
|
|
2429
|
-
}), Ye = /* @__PURE__ */
|
|
2429
|
+
}), Ye = /* @__PURE__ */ B(zn, [["__scopeId", "data-v-92ef46cf"]]), Ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2430
2430
|
__proto__: null,
|
|
2431
2431
|
default: Ye
|
|
2432
2432
|
}, Symbol.toStringTag, { value: "Module" })), Un = /* @__PURE__ */ C({
|
|
@@ -2454,7 +2454,7 @@ const Ct = {
|
|
|
2454
2454
|
], 2);
|
|
2455
2455
|
};
|
|
2456
2456
|
}
|
|
2457
|
-
}), Xe = /* @__PURE__ */
|
|
2457
|
+
}), Xe = /* @__PURE__ */ B(Un, [["__scopeId", "data-v-2fe346c2"]]), En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2458
2458
|
__proto__: null,
|
|
2459
2459
|
default: Xe
|
|
2460
2460
|
}, Symbol.toStringTag, { value: "Module" })), In = {
|
|
@@ -2491,7 +2491,7 @@ const Ct = {
|
|
|
2491
2491
|
});
|
|
2492
2492
|
});
|
|
2493
2493
|
});
|
|
2494
|
-
const l =
|
|
2494
|
+
const l = q(() => !o.location.hash || o.location.hash == "/" || o.sys?.router?.rights?.lv0?.find(
|
|
2495
2495
|
(r) => o.location.hash.includes(r)
|
|
2496
2496
|
) ? 0 : o.sys?.router?.rights?.lv1?.find(
|
|
2497
2497
|
(r) => o.location.hash.includes(r)
|
|
@@ -2500,12 +2500,12 @@ const Ct = {
|
|
|
2500
2500
|
) ? 2 : o.sys?.router?.rights?.lv3?.find(
|
|
2501
2501
|
(r) => o.location.hash.includes(r)
|
|
2502
2502
|
) ? 3 : o.sys?.router?.config?.lv);
|
|
2503
|
-
return
|
|
2503
|
+
return je(() => {
|
|
2504
2504
|
a.ws.web.wsWatchOff({
|
|
2505
2505
|
ty: "publish/web"
|
|
2506
2506
|
});
|
|
2507
2507
|
}), (r, d) => {
|
|
2508
|
-
const c = U("AsaiWebServerUserOnline"), f = U("PopMsg"), h = U("PopBoxConfirm"),
|
|
2508
|
+
const c = U("AsaiWebServerUserOnline"), f = U("PopMsg"), h = U("PopBoxConfirm"), g = ve("keyboard");
|
|
2509
2509
|
return i(o).stat.webclient ? (p(), m("div", In, [
|
|
2510
2510
|
l.value === 0 ? (p(), X(Ne, {
|
|
2511
2511
|
key: 0,
|
|
@@ -2528,7 +2528,7 @@ const Ct = {
|
|
|
2528
2528
|
id: "popdefaultconfirm"
|
|
2529
2529
|
}, null, 8, ["ujt"])
|
|
2530
2530
|
])), [
|
|
2531
|
-
[
|
|
2531
|
+
[g, { ujt: t.ujt }]
|
|
2532
2532
|
])
|
|
2533
2533
|
])) : (p(), X(pe(i(o).sys?.router?.config?.loading || "PageLoadClient"), {
|
|
2534
2534
|
key: 1,
|
|
@@ -2545,7 +2545,7 @@ const Ct = {
|
|
|
2545
2545
|
ujt: {}
|
|
2546
2546
|
},
|
|
2547
2547
|
setup(t) {
|
|
2548
|
-
const e = t, { $global: n, $fn: o } = e.ujt, a =
|
|
2548
|
+
const e = t, { $global: n, $fn: o } = e.ujt, a = q(() => n.url[n.module.value]?.filter(
|
|
2549
2549
|
(s) => s.type === "module" || ("/" + s.value + "/").startsWith(n.location.hash)
|
|
2550
2550
|
));
|
|
2551
2551
|
return (s, l) => {
|
|
@@ -2563,7 +2563,7 @@ const Ct = {
|
|
|
2563
2563
|
key: d.value,
|
|
2564
2564
|
onPointerup: (c) => i(o).sethash(d.value === "views" ? "" : d.value)
|
|
2565
2565
|
}, [
|
|
2566
|
-
u("span", qn,
|
|
2566
|
+
u("span", qn, v(d.label), 1)
|
|
2567
2567
|
], 42, Hn))), 128))
|
|
2568
2568
|
]),
|
|
2569
2569
|
u("div", Bn, [
|
|
@@ -2647,7 +2647,7 @@ const Ct = {
|
|
|
2647
2647
|
key: d.value,
|
|
2648
2648
|
onPointerup: (c) => i(o).sethash(d.value === "views" ? "" : d.value)
|
|
2649
2649
|
}, [
|
|
2650
|
-
u("span", to,
|
|
2650
|
+
u("span", to, v(d.label), 1)
|
|
2651
2651
|
], 42, eo))), 128))
|
|
2652
2652
|
]),
|
|
2653
2653
|
u("div", no, [
|
|
@@ -2657,7 +2657,7 @@ const Ct = {
|
|
|
2657
2657
|
], 64);
|
|
2658
2658
|
};
|
|
2659
2659
|
}
|
|
2660
|
-
}), ao = /* @__PURE__ */
|
|
2660
|
+
}), ao = /* @__PURE__ */ B(oo, [["__scopeId", "data-v-9cfa43d0"]]), so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2661
2661
|
__proto__: null,
|
|
2662
2662
|
default: ao
|
|
2663
2663
|
}, Symbol.toStringTag, { value: "Module" })), lo = /* @__PURE__ */ C({
|
|
@@ -2710,7 +2710,7 @@ const Ct = {
|
|
|
2710
2710
|
], 2);
|
|
2711
2711
|
};
|
|
2712
2712
|
}
|
|
2713
|
-
}), co = /* @__PURE__ */
|
|
2713
|
+
}), co = /* @__PURE__ */ B(ro, [["__scopeId", "data-v-8465818b"]]), uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2714
2714
|
__proto__: null,
|
|
2715
2715
|
default: co
|
|
2716
2716
|
}, Symbol.toStringTag, { value: "Module" })), po = { class: "as-form-align as-form-line" }, fo = { class: "as-channel-btns" }, mo = /* @__PURE__ */ C({
|
|
@@ -2737,7 +2737,7 @@ const Ct = {
|
|
|
2737
2737
|
u("div", {
|
|
2738
2738
|
class: "li cur",
|
|
2739
2739
|
onPointerdown: d[0] || (d[0] = (f) => i(a)())
|
|
2740
|
-
},
|
|
2740
|
+
}, v(i(l)("ui.add") || "Add"), 33)
|
|
2741
2741
|
])
|
|
2742
2742
|
]);
|
|
2743
2743
|
};
|
|
@@ -2766,7 +2766,7 @@ const Ct = {
|
|
|
2766
2766
|
cur: c[0] === i(o).location.query?.fl || c[0] === "asai" && !i(o).location.query?.fl
|
|
2767
2767
|
}),
|
|
2768
2768
|
onPointerdown: (f) => i(s)(c[0] === "asai" ? "" : c[0])
|
|
2769
|
-
},
|
|
2769
|
+
}, v(c[1]), 43, go)
|
|
2770
2770
|
])), 128));
|
|
2771
2771
|
}
|
|
2772
2772
|
}), yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2796,7 +2796,7 @@ const Ct = {
|
|
|
2796
2796
|
u("div", {
|
|
2797
2797
|
class: "li cur",
|
|
2798
2798
|
onPointerdown: r[0] || (r[0] = (c) => i(a)())
|
|
2799
|
-
},
|
|
2799
|
+
}, v(i(s)("ui.edit") || "Edit"), 33)
|
|
2800
2800
|
])
|
|
2801
2801
|
]);
|
|
2802
2802
|
};
|
|
@@ -2818,17 +2818,17 @@ const Ct = {
|
|
|
2818
2818
|
},
|
|
2819
2819
|
setup(t) {
|
|
2820
2820
|
const e = t, { $fn: n, $global: o, $db: a, $model: s } = e.ujt, { initChannel: l, channelLang: r } = n.useChannel(e);
|
|
2821
|
-
return l(),
|
|
2821
|
+
return l(), $e(() => {
|
|
2822
2822
|
a[e.opt.channel] = null;
|
|
2823
2823
|
}), (d, c) => {
|
|
2824
|
-
const f = U("ChannelClass"), h = U("ChannelUpDown"),
|
|
2824
|
+
const f = U("ChannelClass"), h = U("ChannelUpDown"), g = U("ChannelListSearch"), _ = U("PopBoxConfirm"), $ = U("ChannelList"), y = U("ChannelListPage"), b = U("ChannelOpt"), k = U("ChannelEdit"), A = U("ChannelShow"), x = U("ChannelAdd");
|
|
2825
2825
|
return i(a)[e.opt.channel].stat ? (p(), m("div", {
|
|
2826
2826
|
key: 0,
|
|
2827
2827
|
class: J(e.opt.tyindex == 1 ? "as-channel-column" : "as-channel-row")
|
|
2828
2828
|
}, [
|
|
2829
2829
|
u("div", wo, [
|
|
2830
2830
|
u("div", jo, [
|
|
2831
|
-
u("h1", null,
|
|
2831
|
+
u("h1", null, v(i(s).data.asai.rulebook.listclass) + " " + v(i(r)("ui.class") || "Class"), 1)
|
|
2832
2832
|
]),
|
|
2833
2833
|
u("div", xo, [
|
|
2834
2834
|
W(f, {
|
|
@@ -2845,9 +2845,9 @@ const Ct = {
|
|
|
2845
2845
|
]),
|
|
2846
2846
|
u("div", Po, [
|
|
2847
2847
|
u("div", Co, [
|
|
2848
|
-
u("h1", null,
|
|
2848
|
+
u("h1", null, v(i(s).data.asai.rulebook.listcontent) + " " + v(i(r)("ui.list") || "List"), 1)
|
|
2849
2849
|
]),
|
|
2850
|
-
W(
|
|
2850
|
+
W(g, {
|
|
2851
2851
|
ujt: t.ujt,
|
|
2852
2852
|
opt: t.opt
|
|
2853
2853
|
}, null, 8, ["ujt", "opt"]),
|
|
@@ -2875,7 +2875,7 @@ const Ct = {
|
|
|
2875
2875
|
i(o).location.query?.show ? (p(), m(I, { key: 0 }, [
|
|
2876
2876
|
i(o).location.query?.showty ? (p(), m(I, { key: 0 }, [
|
|
2877
2877
|
u("div", To, [
|
|
2878
|
-
u("h1", null,
|
|
2878
|
+
u("h1", null, v(i(s).data.asai.rulebook.contentedit) + " " + v(i(r)("ui.edit") || "Edit"), 1),
|
|
2879
2879
|
u("div", zo, [
|
|
2880
2880
|
W(b, {
|
|
2881
2881
|
ujt: t.ujt,
|
|
@@ -2889,7 +2889,7 @@ const Ct = {
|
|
|
2889
2889
|
}, null, 8, ["ujt", "opt"])
|
|
2890
2890
|
], 64)) : (p(), m(I, { key: 1 }, [
|
|
2891
2891
|
u("div", Lo, [
|
|
2892
|
-
u("h1", null,
|
|
2892
|
+
u("h1", null, v(i(s).data.asai.rulebook.contentshow) + " " + v(i(r)("ui.show") || "Show"), 1),
|
|
2893
2893
|
u("div", Uo, [
|
|
2894
2894
|
W(b, {
|
|
2895
2895
|
ujt: t.ujt,
|
|
@@ -2904,7 +2904,7 @@ const Ct = {
|
|
|
2904
2904
|
], 64))
|
|
2905
2905
|
], 64)) : (p(), m(I, { key: 1 }, [
|
|
2906
2906
|
u("div", Eo, [
|
|
2907
|
-
u("h1", null,
|
|
2907
|
+
u("h1", null, v(i(s).data.asai.rulebook.new) + " " + v(i(r)("ui.add") || "Add"), 1),
|
|
2908
2908
|
u("div", Io, [
|
|
2909
2909
|
W(b, {
|
|
2910
2910
|
ujt: t.ujt,
|
|
@@ -2943,13 +2943,13 @@ const Ct = {
|
|
|
2943
2943
|
fetchContent: c,
|
|
2944
2944
|
optConfirm: f,
|
|
2945
2945
|
getSnKey: h,
|
|
2946
|
-
channelLang:
|
|
2946
|
+
channelLang: g
|
|
2947
2947
|
} = n.useChannel(e);
|
|
2948
2948
|
he(() => {
|
|
2949
2949
|
c(0), r(a.location.query?.show);
|
|
2950
|
-
}), o[e.opt.channel].cmPageSize =
|
|
2950
|
+
}), o[e.opt.channel].cmPageSize = q(() => Number(a.location.query?.ps) || o[e.opt.channel].cfg.config?.ps || 5);
|
|
2951
2951
|
const { getPageList: _ } = n.usePage(e);
|
|
2952
|
-
return o[e.opt.channel].cmPageList =
|
|
2952
|
+
return o[e.opt.channel].cmPageList = q(() => _(o[e.opt?.channel]?.cmPageSize)), ($, y) => {
|
|
2953
2953
|
const b = U("ChannelListType");
|
|
2954
2954
|
return p(!0), m(I, null, ee(i(o)[e.opt.channel].contentList, (k, A) => R($.$slots, "default", {
|
|
2955
2955
|
key: "list" + (k?.[i(h)()] || A),
|
|
@@ -2970,18 +2970,18 @@ const Ct = {
|
|
|
2970
2970
|
}, ["stop"])),
|
|
2971
2971
|
onPointerup: H((x) => {
|
|
2972
2972
|
i(f)({
|
|
2973
|
-
con: i(
|
|
2973
|
+
con: i(g)("ui.delconfirm"),
|
|
2974
2974
|
fn: () => {
|
|
2975
2975
|
i(s)(k?.[i(h)()]);
|
|
2976
2976
|
}
|
|
2977
2977
|
});
|
|
2978
2978
|
}, ["stop"])
|
|
2979
|
-
},
|
|
2979
|
+
}, v(i(g)("ui.del") || "Del"), 41, Wo),
|
|
2980
2980
|
u("div", {
|
|
2981
2981
|
onPointerdown: y[1] || (y[1] = H(() => {
|
|
2982
2982
|
}, ["stop"])),
|
|
2983
2983
|
onPointerup: H((x) => i(l)(k?.[i(h)()]), ["stop"])
|
|
2984
|
-
},
|
|
2984
|
+
}, v(i(g)("ui.edit") || "Edit"), 41, Vo)
|
|
2985
2985
|
])) : F("", !0)
|
|
2986
2986
|
]),
|
|
2987
2987
|
_: 2
|
|
@@ -3012,7 +3012,7 @@ const Ct = {
|
|
|
3012
3012
|
class: J(
|
|
3013
3013
|
l == i(o).location.query?.pg || l == 1 && !i(o).location.query?.pg ? "as-channel-active" : ""
|
|
3014
3014
|
)
|
|
3015
|
-
},
|
|
3015
|
+
}, v(l), 43, Bo)
|
|
3016
3016
|
])), 128)) : F("", !0);
|
|
3017
3017
|
}
|
|
3018
3018
|
}), Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -3043,7 +3043,7 @@ const Ct = {
|
|
|
3043
3043
|
]),
|
|
3044
3044
|
u("button", {
|
|
3045
3045
|
onPointerdown: d[1] || (d[1] = (c) => i(s)())
|
|
3046
|
-
},
|
|
3046
|
+
}, v(i(a).lg("asai.search")), 33)
|
|
3047
3047
|
]),
|
|
3048
3048
|
u("div", Go, [
|
|
3049
3049
|
G(u("select", {
|
|
@@ -3052,9 +3052,9 @@ const Ct = {
|
|
|
3052
3052
|
(p(!0), m(I, null, ee(i(n)[e.opt.channel].cfg.sss, (c) => (p(), m("option", {
|
|
3053
3053
|
key: c,
|
|
3054
3054
|
value: c === "asai" ? void 0 : c
|
|
3055
|
-
},
|
|
3055
|
+
}, v(c === "asai" ? i(l)("ui.sss") || "Table" : i(n)[e.opt.channel].rfdata?.lang?.[c]), 9, Zo))), 128))
|
|
3056
3056
|
], 512), [
|
|
3057
|
-
[
|
|
3057
|
+
[we, i(o).location.query.ssty]
|
|
3058
3058
|
]),
|
|
3059
3059
|
G(u("select", {
|
|
3060
3060
|
"onUpdate:modelValue": d[3] || (d[3] = (c) => i(o).location.query.sx = c)
|
|
@@ -3062,9 +3062,9 @@ const Ct = {
|
|
|
3062
3062
|
(p(!0), m(I, null, ee(i(n)[e.opt.channel].cfg.sxs, (c) => (p(), m("option", {
|
|
3063
3063
|
key: c,
|
|
3064
3064
|
value: c === "asai" ? void 0 : c
|
|
3065
|
-
},
|
|
3065
|
+
}, v(c === "asai" ? i(l)("ui.sxs") || "Sort" : i(n)[e.opt.channel].rfdata?.lang?.[c]), 9, Qo))), 128))
|
|
3066
3066
|
], 512), [
|
|
3067
|
-
[
|
|
3067
|
+
[we, i(o).location.query.sx]
|
|
3068
3068
|
]),
|
|
3069
3069
|
G(u("select", {
|
|
3070
3070
|
"onUpdate:modelValue": d[4] || (d[4] = (c) => i(o).location.query.sxty = c)
|
|
@@ -3072,9 +3072,9 @@ const Ct = {
|
|
|
3072
3072
|
(p(!0), m(I, null, ee(i(l)("ui.sxtys") || [], (c, f) => (p(), m("option", {
|
|
3073
3073
|
key: "sxty" + f,
|
|
3074
3074
|
value: f == 0 ? void 0 : f.toString()
|
|
3075
|
-
},
|
|
3075
|
+
}, v(c), 9, ea))), 128))
|
|
3076
3076
|
], 512), [
|
|
3077
|
-
[
|
|
3077
|
+
[we, i(o).location.query.sxty]
|
|
3078
3078
|
])
|
|
3079
3079
|
])
|
|
3080
3080
|
])) : F("", !0)
|
|
@@ -3136,7 +3136,7 @@ const Ct = {
|
|
|
3136
3136
|
onPointerdown: r[0] || (r[0] = H(() => {
|
|
3137
3137
|
}, ["stop"])),
|
|
3138
3138
|
onPointerup: r[1] || (r[1] = H((d) => t.option?.setShow(t.item), ["stop"]))
|
|
3139
|
-
},
|
|
3139
|
+
}, v(t.item?.[i(a)()] || ""), 41, sa),
|
|
3140
3140
|
R(l.$slots, "btns")
|
|
3141
3141
|
], 2));
|
|
3142
3142
|
}
|
|
@@ -3167,7 +3167,7 @@ const Ct = {
|
|
|
3167
3167
|
src: t.item.img,
|
|
3168
3168
|
alt: t.item?.[i(a)()] || ""
|
|
3169
3169
|
}, null, 8, ca)) : F("", !0),
|
|
3170
|
-
se(" " +
|
|
3170
|
+
se(" " + v(t.item?.[i(a)()] || ""), 1)
|
|
3171
3171
|
], 40, ra),
|
|
3172
3172
|
R(l.$slots, "btns")
|
|
3173
3173
|
], 2));
|
|
@@ -3238,7 +3238,7 @@ const Ct = {
|
|
|
3238
3238
|
u("div", {
|
|
3239
3239
|
class: "li cur",
|
|
3240
3240
|
onPointerdown: r[0] || (r[0] = (c) => i(a)())
|
|
3241
|
-
},
|
|
3241
|
+
}, v(i(n).lg("channeluser.ui.login")), 33)
|
|
3242
3242
|
])
|
|
3243
3243
|
]);
|
|
3244
3244
|
};
|
|
@@ -3266,11 +3266,11 @@ const Ct = {
|
|
|
3266
3266
|
u("div", {
|
|
3267
3267
|
class: "as-channel-opt-class",
|
|
3268
3268
|
onPointerdown: l[0] || (l[0] = (r) => a(".as-channel-class"))
|
|
3269
|
-
}, " ☰ " +
|
|
3269
|
+
}, " ☰ " + v(i(o)("ui.class") || "Class"), 33),
|
|
3270
3270
|
u("div", {
|
|
3271
3271
|
class: "as-channel-opt-list",
|
|
3272
3272
|
onPointerdown: l[1] || (l[1] = (r) => a(".as-channel-list"))
|
|
3273
|
-
}, " ☰ " +
|
|
3273
|
+
}, " ☰ " + v(i(o)("ui.list") || "List"), 33)
|
|
3274
3274
|
]);
|
|
3275
3275
|
}
|
|
3276
3276
|
}), ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -3292,29 +3292,29 @@ const Ct = {
|
|
|
3292
3292
|
u("div", {
|
|
3293
3293
|
class: "as-channel-pos",
|
|
3294
3294
|
onPointerup: d[0] || (d[0] = H((c) => i(s)("class"), ["stop"]))
|
|
3295
|
-
},
|
|
3295
|
+
}, v(i(l)("ui.class") || "Class"), 33),
|
|
3296
3296
|
u("div", {
|
|
3297
3297
|
class: "as-channel-pos",
|
|
3298
3298
|
onPointerup: d[1] || (d[1] = H((c) => i(s)("list"), ["stop"]))
|
|
3299
|
-
},
|
|
3299
|
+
}, v(i(l)("ui.list") || "List"), 33),
|
|
3300
3300
|
u("div", {
|
|
3301
3301
|
class: "as-channel-pos",
|
|
3302
3302
|
onPointerup: d[2] || (d[2] = H((c) => i(s)("add"), ["stop"]))
|
|
3303
|
-
},
|
|
3303
|
+
}, v(i(l)("ui.add") || "Add"), 33),
|
|
3304
3304
|
i(a)[e.opt.channel]?.cfg?.url?.reg ? (p(), m(I, { key: 0 }, [
|
|
3305
3305
|
u("div", {
|
|
3306
3306
|
class: "as-channel-pos",
|
|
3307
3307
|
onPointerup: d[3] || (d[3] = H((c) => i(s)("reg"), ["stop"]))
|
|
3308
|
-
},
|
|
3308
|
+
}, v(i(o).lg("channeluser.ui.reg")), 33),
|
|
3309
3309
|
u("div", {
|
|
3310
3310
|
class: "as-channel-pos",
|
|
3311
3311
|
onPointerup: d[4] || (d[4] = H((c) => i(s)("login"), ["stop"]))
|
|
3312
|
-
},
|
|
3312
|
+
}, v(i(o).lg("channeluser.ui.login")), 33)
|
|
3313
3313
|
], 64)) : F("", !0)
|
|
3314
3314
|
])
|
|
3315
3315
|
], !0);
|
|
3316
3316
|
}
|
|
3317
|
-
}), ka = /* @__PURE__ */
|
|
3317
|
+
}), ka = /* @__PURE__ */ B($a, [["__scopeId", "data-v-fa9b2bca"]]), wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3318
3318
|
__proto__: null,
|
|
3319
3319
|
default: ka
|
|
3320
3320
|
}, Symbol.toStringTag, { value: "Module" })), ja = { class: "as-form-align as-form-line" }, xa = { class: "as-channel-btns" }, Sa = /* @__PURE__ */ C({
|
|
@@ -3341,7 +3341,7 @@ const Ct = {
|
|
|
3341
3341
|
u("div", {
|
|
3342
3342
|
class: "li cur",
|
|
3343
3343
|
onPointerdown: d[0] || (d[0] = (f) => i(a)())
|
|
3344
|
-
},
|
|
3344
|
+
}, v(i(n).lg("channeluser.ui.reg")), 33)
|
|
3345
3345
|
])
|
|
3346
3346
|
]);
|
|
3347
3347
|
};
|
|
@@ -3399,7 +3399,7 @@ const Ct = {
|
|
|
3399
3399
|
onOnUpload: l
|
|
3400
3400
|
}, {
|
|
3401
3401
|
default: ie(() => [
|
|
3402
|
-
se(
|
|
3402
|
+
se(v(i(o).lang.asai.upload), 1)
|
|
3403
3403
|
]),
|
|
3404
3404
|
_: 1
|
|
3405
3405
|
}, 8, ["ujt"])
|
|
@@ -3407,7 +3407,7 @@ const Ct = {
|
|
|
3407
3407
|
u("button", {
|
|
3408
3408
|
class: "as-channel-io",
|
|
3409
3409
|
onPointerdown: d[0] || (d[0] = (f) => i(s)())
|
|
3410
|
-
},
|
|
3410
|
+
}, v(i(o).lang.asai.download), 33)
|
|
3411
3411
|
]);
|
|
3412
3412
|
};
|
|
3413
3413
|
}
|
|
@@ -3427,7 +3427,7 @@ const Ct = {
|
|
|
3427
3427
|
room: {}
|
|
3428
3428
|
},
|
|
3429
3429
|
setup(t) {
|
|
3430
|
-
const e = t, { $fn: n, $ws: o, $global: a } = e.ujt, { sendChatRoom: s } = n.useChatRoom(e), l = e?.room?.wsname || "web", r = e?.room?.roomname || "asai", d =
|
|
3430
|
+
const e = t, { $fn: n, $ws: o, $global: a } = e.ujt, { sendChatRoom: s } = n.useChatRoom(e), l = e?.room?.wsname || "web", r = e?.room?.roomname || "asai", d = Y(null), c = Y(null), f = me({
|
|
3431
3431
|
mediaPress: null,
|
|
3432
3432
|
mediaNew: null,
|
|
3433
3433
|
mediaChunks: [],
|
|
@@ -3447,7 +3447,7 @@ const Ct = {
|
|
|
3447
3447
|
}, f.optFn = () => {
|
|
3448
3448
|
f.optty = f.optty > 0 ? 0 : 1, f.send.ty = f.optty ? f.optty : 0, f.send.ty || (f.send.msg = "");
|
|
3449
3449
|
}, f.insertFn = ($) => {
|
|
3450
|
-
c.value && (c.value.focus(),
|
|
3450
|
+
c.value && (c.value.focus(), be(() => {
|
|
3451
3451
|
try {
|
|
3452
3452
|
const y = c.value;
|
|
3453
3453
|
if (!y) return;
|
|
@@ -3469,19 +3469,19 @@ const Ct = {
|
|
|
3469
3469
|
function h() {
|
|
3470
3470
|
s(r, l, f.send, "");
|
|
3471
3471
|
}
|
|
3472
|
-
const
|
|
3472
|
+
const g = Ae(
|
|
3473
3473
|
() => o.rooms?.[r]?.length,
|
|
3474
3474
|
($, y) => {
|
|
3475
3475
|
$ != y && _();
|
|
3476
3476
|
}
|
|
3477
3477
|
);
|
|
3478
3478
|
function _() {
|
|
3479
|
-
d.value && d.value.scrollTop > f.chatDomHeight - f.Inclusion &&
|
|
3479
|
+
d.value && d.value.scrollTop > f.chatDomHeight - f.Inclusion && be(() => {
|
|
3480
3480
|
d.value && (f.chatDomHeight = d.value.scrollHeight, d.value.scrollTop = f.chatDomHeight);
|
|
3481
3481
|
});
|
|
3482
3482
|
}
|
|
3483
|
-
return
|
|
3484
|
-
|
|
3483
|
+
return je(() => {
|
|
3484
|
+
g();
|
|
3485
3485
|
}), ($, y) => {
|
|
3486
3486
|
const b = U("ChatRoomOpt");
|
|
3487
3487
|
return p(), m("div", La, [
|
|
@@ -3493,7 +3493,7 @@ const Ct = {
|
|
|
3493
3493
|
room: t.room
|
|
3494
3494
|
}
|
|
3495
3495
|
}, () => [
|
|
3496
|
-
u("div", Ea,
|
|
3496
|
+
u("div", Ea, v(t.room?.lang?.chat || i(a).lang.sys.chat.chat), 1)
|
|
3497
3497
|
], !0)
|
|
3498
3498
|
]),
|
|
3499
3499
|
u("div", {
|
|
@@ -3514,7 +3514,7 @@ const Ct = {
|
|
|
3514
3514
|
class: J(["chat-message", { self: f.send.us === k.us }])
|
|
3515
3515
|
}, [
|
|
3516
3516
|
u("div", Da, [
|
|
3517
|
-
u("div", Ra,
|
|
3517
|
+
u("div", Ra, v(k.us), 1),
|
|
3518
3518
|
u("div", Fa, [
|
|
3519
3519
|
k.ty == 4 ? (p(), m("video", {
|
|
3520
3520
|
key: 0,
|
|
@@ -3527,7 +3527,7 @@ const Ct = {
|
|
|
3527
3527
|
src: k.msg,
|
|
3528
3528
|
controls: ""
|
|
3529
3529
|
}, null, 8, Va)) : (p(), m(I, { key: 2 }, [
|
|
3530
|
-
se(
|
|
3530
|
+
se(v(k.msg), 1)
|
|
3531
3531
|
], 64))
|
|
3532
3532
|
])
|
|
3533
3533
|
])
|
|
@@ -3557,7 +3557,7 @@ const Ct = {
|
|
|
3557
3557
|
u("button", {
|
|
3558
3558
|
onClick: y[0] || (y[0] = //@ts-ignore
|
|
3559
3559
|
(...k) => f.optFn && f.optFn(...k))
|
|
3560
|
-
},
|
|
3560
|
+
}, v(t.room?.lang?.opt || i(a).lang.sys.chat.opt), 1)
|
|
3561
3561
|
]),
|
|
3562
3562
|
u("div", Xa, [
|
|
3563
3563
|
f.send.ty < 3 ? G((p(), m("input", {
|
|
@@ -3570,10 +3570,10 @@ const Ct = {
|
|
|
3570
3570
|
onKeyup: gt(h, ["enter"])
|
|
3571
3571
|
}, null, 40, Ka)), [
|
|
3572
3572
|
[ue, f.send.msg]
|
|
3573
|
-
]) : (p(), m("div", Ja,
|
|
3573
|
+
]) : (p(), m("div", Ja, v(f.mediaWorking ? f.send.ty == 4 ? "正在录像..." : "正在录音..." : "等待操作..."), 1))
|
|
3574
3574
|
]),
|
|
3575
3575
|
u("div", Ga, [
|
|
3576
|
-
u("button", { onClick: h },
|
|
3576
|
+
u("button", { onClick: h }, v(t.room?.lang?.send || i(a).lang.sys.chat.send), 1)
|
|
3577
3577
|
])
|
|
3578
3578
|
])
|
|
3579
3579
|
], !0)
|
|
@@ -3581,7 +3581,7 @@ const Ct = {
|
|
|
3581
3581
|
]);
|
|
3582
3582
|
};
|
|
3583
3583
|
}
|
|
3584
|
-
}), Qa = /* @__PURE__ */
|
|
3584
|
+
}), Qa = /* @__PURE__ */ B(Za, [["__scopeId", "data-v-dd387b80"]]), es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3585
3585
|
__proto__: null,
|
|
3586
3586
|
default: Qa
|
|
3587
3587
|
}, Symbol.toStringTag, { value: "Module" })), ts = { class: "as-audio-area" }, ns = { class: "as-media-view" }, os = ["src"], as = { class: "button-text" }, ss = {
|
|
@@ -3598,9 +3598,9 @@ const Ct = {
|
|
|
3598
3598
|
const e = t, { $fn: n } = e.ujt, { mediaOnPress: o, mediaOnHold: a, mediaOnRelease: s } = n.useMediaWork(
|
|
3599
3599
|
e.ujt,
|
|
3600
3600
|
e.mediadata
|
|
3601
|
-
), l =
|
|
3601
|
+
), l = Y(null);
|
|
3602
3602
|
return e.mediadata.mediaView = l, (r, d) => {
|
|
3603
|
-
const c =
|
|
3603
|
+
const c = ve("longpress");
|
|
3604
3604
|
return p(), m("div", ts, [
|
|
3605
3605
|
u("div", ns, [
|
|
3606
3606
|
t.mediadata.mediaWorking ? (p(), m("audio", {
|
|
@@ -3624,7 +3624,7 @@ const Ct = {
|
|
|
3624
3624
|
G((p(), m("div", {
|
|
3625
3625
|
class: J(["record-button", { recording: t.mediadata.mediaWorking }])
|
|
3626
3626
|
}, [
|
|
3627
|
-
u("span", as,
|
|
3627
|
+
u("span", as, v(t.mediadata.mediaWorking ? "松开结束" : "长按录音"), 1),
|
|
3628
3628
|
t.mediadata.mediaWorking ? (p(), m("div", ss, [...d[0] || (d[0] = [
|
|
3629
3629
|
qe('<div class="recording-indicator" data-v-18c80c90><div class="pulse" data-v-18c80c90></div><div class="pulse pulse-2" data-v-18c80c90></div><div class="pulse pulse-3" data-v-18c80c90></div></div><div class="audio-bars" data-v-18c80c90><div class="bar" data-v-18c80c90></div><div class="bar" data-v-18c80c90></div><div class="bar" data-v-18c80c90></div><div class="bar" data-v-18c80c90></div><div class="bar" data-v-18c80c90></div></div>', 2)
|
|
3630
3630
|
])])) : F("", !0)
|
|
@@ -3638,7 +3638,7 @@ const Ct = {
|
|
|
3638
3638
|
]);
|
|
3639
3639
|
};
|
|
3640
3640
|
}
|
|
3641
|
-
}), is = /* @__PURE__ */
|
|
3641
|
+
}), is = /* @__PURE__ */ B(ls, [["__scopeId", "data-v-18c80c90"]]), rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3642
3642
|
__proto__: null,
|
|
3643
3643
|
default: is
|
|
3644
3644
|
}, Symbol.toStringTag, { value: "Module" })), cs = /* @__PURE__ */ C({
|
|
@@ -3649,7 +3649,7 @@ const Ct = {
|
|
|
3649
3649
|
mediadata: {}
|
|
3650
3650
|
},
|
|
3651
3651
|
setup(t) {
|
|
3652
|
-
const e = t, n =
|
|
3652
|
+
const e = t, n = q(() => Array.from("😀😃😄😁😆😅🤣😂🙂🙃😉😊😇🥰😍🤩😘😗☺️😚😙🥲😋😛😜🤪😝🤑🤗🤭🤫🤔🤐🤨😐😑😶😏😒🙄😬🤥😌😔😪🤤😴😷🤒🤕🤢🤮🤧🥵🥶🥴😵🤯🤠🥳🥸😎🤓🧐😕😟🙁☹️😮😯😲😳🥺😦😧😨😰😥😢😭😱😖😣😞😓😩😫🥱😤😡😠🤬😈👿💀☠️💩🤡👹👺👻👽👾🤖😺😸😹😻😼😽🙀😿😾💋👋🤚🖐️✋🖖👌🤌🤏✌️🤞🤟🤘🤙👈👉👆🖕👇☝️👍👎✊👊🤛🤜👏🙌👐🤲🤝🙏"));
|
|
3653
3653
|
function o(a) {
|
|
3654
3654
|
const s = a.target.textContent;
|
|
3655
3655
|
console.log(s), e.mediadata?.insertFn?.(s);
|
|
@@ -3661,10 +3661,10 @@ const Ct = {
|
|
|
3661
3661
|
(p(!0), m(I, null, ee(n.value, (l, r) => (p(), m("i", {
|
|
3662
3662
|
key: "emoji_" + r,
|
|
3663
3663
|
class: "as-emoji-item"
|
|
3664
|
-
},
|
|
3664
|
+
}, v(l), 1))), 128))
|
|
3665
3665
|
], 32));
|
|
3666
3666
|
}
|
|
3667
|
-
}), us = /* @__PURE__ */
|
|
3667
|
+
}), us = /* @__PURE__ */ B(cs, [["__scopeId", "data-v-ebb02e7c"]]), ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3668
3668
|
__proto__: null,
|
|
3669
3669
|
default: us
|
|
3670
3670
|
}, Symbol.toStringTag, { value: "Module" })), ps = { class: "as-audio-area" }, fs = { class: "as-media-view" }, ms = ["src"], hs = { class: "button-text" }, gs = {
|
|
@@ -3682,11 +3682,11 @@ const Ct = {
|
|
|
3682
3682
|
e.ujt,
|
|
3683
3683
|
e.mediadata,
|
|
3684
3684
|
1
|
|
3685
|
-
), l =
|
|
3685
|
+
), l = Y(null);
|
|
3686
3686
|
return e.mediadata.mediaFnView = async (r) => {
|
|
3687
3687
|
l.value.srcObject = r, await l.value.play();
|
|
3688
3688
|
}, (r, d) => {
|
|
3689
|
-
const c =
|
|
3689
|
+
const c = ve("longpress");
|
|
3690
3690
|
return p(), m("div", ps, [
|
|
3691
3691
|
u("div", fs, [
|
|
3692
3692
|
t.mediadata.mediaWorking ? (p(), m("video", {
|
|
@@ -3709,7 +3709,7 @@ const Ct = {
|
|
|
3709
3709
|
G((p(), m("div", {
|
|
3710
3710
|
class: J(["record-button", { recording: t.mediadata.mediaWorking }])
|
|
3711
3711
|
}, [
|
|
3712
|
-
u("span", hs,
|
|
3712
|
+
u("span", hs, v(t.mediadata.mediaWorking ? "松开结束" : "长按录音"), 1),
|
|
3713
3713
|
t.mediadata.mediaWorking ? (p(), m("div", gs, [...d[0] || (d[0] = [
|
|
3714
3714
|
qe('<div class="recording-indicator" data-v-99ad2b76><div class="pulse" data-v-99ad2b76></div><div class="pulse pulse-2" data-v-99ad2b76></div><div class="pulse pulse-3" data-v-99ad2b76></div></div><div class="audio-bars" data-v-99ad2b76><div class="bar" data-v-99ad2b76></div><div class="bar" data-v-99ad2b76></div><div class="bar" data-v-99ad2b76></div><div class="bar" data-v-99ad2b76></div><div class="bar" data-v-99ad2b76></div></div>', 2)
|
|
3715
3715
|
])])) : F("", !0)
|
|
@@ -3723,7 +3723,7 @@ const Ct = {
|
|
|
3723
3723
|
]);
|
|
3724
3724
|
};
|
|
3725
3725
|
}
|
|
3726
|
-
}), ys = /* @__PURE__ */
|
|
3726
|
+
}), ys = /* @__PURE__ */ B(vs, [["__scopeId", "data-v-99ad2b76"]]), bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3727
3727
|
__proto__: null,
|
|
3728
3728
|
default: ys
|
|
3729
3729
|
}, Symbol.toStringTag, { value: "Module" })), _s = { class: "as-chatopt-area" }, $s = ["onPointerdown"], ks = { class: "as-chatopt-icon" }, ws = { class: "as-chatopt-tit" }, js = { class: "as-chatopt-btns" }, xs = /* @__PURE__ */ C({
|
|
@@ -3763,18 +3763,18 @@ const Ct = {
|
|
|
3763
3763
|
onPointerdown: (h) => r(f),
|
|
3764
3764
|
key: "li" + f[0]
|
|
3765
3765
|
}, [
|
|
3766
|
-
u("div", ks,
|
|
3767
|
-
u("div", ws,
|
|
3766
|
+
u("div", ks, v(f[2]), 1),
|
|
3767
|
+
u("div", ws, v(i(n).lang.sys.chat[f[1]]), 1)
|
|
3768
3768
|
], 40, $s))), 128)) : (p(), m(I, { key: 1 }, [
|
|
3769
3769
|
u("div", js, [
|
|
3770
3770
|
u("div", {
|
|
3771
3771
|
class: "as-chatopt-btn",
|
|
3772
3772
|
onPointerdown: c[0] || (c[0] = (f) => r())
|
|
3773
|
-
},
|
|
3773
|
+
}, v(i(n).lang.sys.chat.optBack), 33),
|
|
3774
3774
|
u("div", {
|
|
3775
3775
|
class: "as-chatopt-btn",
|
|
3776
3776
|
onPointerdown: c[1] || (c[1] = (f) => t.chatdata.optFn())
|
|
3777
|
-
},
|
|
3777
|
+
}, v(i(n).lang.sys.chat.optClose), 33)
|
|
3778
3778
|
]),
|
|
3779
3779
|
t.chatdata.optcomp ? (p(), X(pe(l(t.chatdata.optcomp)), {
|
|
3780
3780
|
key: 0,
|
|
@@ -3782,12 +3782,12 @@ const Ct = {
|
|
|
3782
3782
|
room: t.room,
|
|
3783
3783
|
mediadata: t.chatdata
|
|
3784
3784
|
}, null, 8, ["ujt", "room", "mediadata"])) : (p(), m(I, { key: 1 }, [
|
|
3785
|
-
se(
|
|
3785
|
+
se(v(i(n).lang.sys.chat.optNoComp), 1)
|
|
3786
3786
|
], 64))
|
|
3787
3787
|
], 64))
|
|
3788
3788
|
]));
|
|
3789
3789
|
}
|
|
3790
|
-
}), Ss = /* @__PURE__ */
|
|
3790
|
+
}), Ss = /* @__PURE__ */ B(xs, [["__scopeId", "data-v-37707e47"]]), Ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3791
3791
|
__proto__: null,
|
|
3792
3792
|
default: Ss
|
|
3793
3793
|
}, Symbol.toStringTag, { value: "Module" })), Cs = (t) => {
|
|
@@ -3806,24 +3806,24 @@ const Ct = {
|
|
|
3806
3806
|
}
|
|
3807
3807
|
return { initKeyboard: n };
|
|
3808
3808
|
}, Os = (t, e) => {
|
|
3809
|
-
const { $global: n, $fn: o, $model: a } = t, s = {}, l = (c, f, h,
|
|
3810
|
-
if (e.keyMap.bd.Type == "Chinese" &&
|
|
3809
|
+
const { $global: n, $fn: o, $model: a } = t, s = {}, l = (c, f, h, g = null, _ = null) => {
|
|
3810
|
+
if (e.keyMap.bd.Type == "Chinese" && g === "left") {
|
|
3811
3811
|
e.keyMap.bd.zhindex < 1 ? e.keyMap.bd.zhindex = 0 : e.keyMap.bd.zhindex--;
|
|
3812
3812
|
return;
|
|
3813
|
-
} else if (e.keyMap.bd.Type == "Chinese" &&
|
|
3813
|
+
} else if (e.keyMap.bd.Type == "Chinese" && g === "right") {
|
|
3814
3814
|
e.keyMap.bd.zhindex > e.keyMap.bd.zharr.length - 1 ? e.keyMap.bd.zhindex = e.keyMap.bd.zharr.length - 1 : e.keyMap.bd.zhindex++;
|
|
3815
3815
|
return;
|
|
3816
3816
|
} else if (n.keyboard.params.type === "monaco") {
|
|
3817
|
-
if (e.keyMap.bd.Type !== "Chinese" && n.keyboard.opt?.moveLeft &&
|
|
3817
|
+
if (e.keyMap.bd.Type !== "Chinese" && n.keyboard.opt?.moveLeft && g === "left") {
|
|
3818
3818
|
n.keyboard.opt?.moveLeft();
|
|
3819
3819
|
return;
|
|
3820
|
-
} else if (e.keyMap.bd.Type !== "Chinese" && n.keyboard.opt?.moveRight &&
|
|
3820
|
+
} else if (e.keyMap.bd.Type !== "Chinese" && n.keyboard.opt?.moveRight && g === "right") {
|
|
3821
3821
|
n.keyboard.opt?.moveRight();
|
|
3822
3822
|
return;
|
|
3823
|
-
} else if (n.keyboard.opt?.backText &&
|
|
3823
|
+
} else if (n.keyboard.opt?.backText && g === 0) {
|
|
3824
3824
|
n.keyboard.opt?.backText();
|
|
3825
3825
|
return;
|
|
3826
|
-
} else if (n.keyboard.opt?.insertText &&
|
|
3826
|
+
} else if (n.keyboard.opt?.insertText && g != null) {
|
|
3827
3827
|
if (n.keyboard.opt?.backText) {
|
|
3828
3828
|
const {
|
|
3829
3829
|
endColumn: $,
|
|
@@ -3833,7 +3833,7 @@ const Ct = {
|
|
|
3833
3833
|
} = a.lua.editor.getSelection();
|
|
3834
3834
|
($ !== b || y !== k) && n.keyboard.opt?.backText();
|
|
3835
3835
|
}
|
|
3836
|
-
n.keyboard.opt?.insertText(
|
|
3836
|
+
n.keyboard.opt?.insertText(g, _);
|
|
3837
3837
|
return;
|
|
3838
3838
|
}
|
|
3839
3839
|
}
|
|
@@ -3974,7 +3974,7 @@ const Ct = {
|
|
|
3974
3974
|
opt: {}
|
|
3975
3975
|
},
|
|
3976
3976
|
setup(t) {
|
|
3977
|
-
|
|
3977
|
+
ge((y) => ({
|
|
3978
3978
|
a3e79986: s.cfg.theme.bg1,
|
|
3979
3979
|
a3e77830: s.cfg.theme.fsd,
|
|
3980
3980
|
v05498918: s.cfg.theme.bg,
|
|
@@ -3992,14 +3992,14 @@ const Ct = {
|
|
|
3992
3992
|
y && y !== b && f();
|
|
3993
3993
|
}
|
|
3994
3994
|
);
|
|
3995
|
-
const r =
|
|
3995
|
+
const r = q(() => s.askeytypes[o.keyboard.showkeyboard || ".askey-default"] || s.askeytypes[".askey-default"]);
|
|
3996
3996
|
function d(y) {
|
|
3997
|
-
return y?.default ? y.default :
|
|
3997
|
+
return y?.default ? y.default : ke(y);
|
|
3998
3998
|
}
|
|
3999
3999
|
const c = () => {
|
|
4000
4000
|
o.keyboard.params?.el && (s.bd.pos = o.keyboard.params.el.selectionStart || 0);
|
|
4001
4001
|
}, f = () => {
|
|
4002
|
-
|
|
4002
|
+
be(() => {
|
|
4003
4003
|
setTimeout(() => {
|
|
4004
4004
|
c(), s.bd.Type = r?.value?.[0];
|
|
4005
4005
|
}, 10);
|
|
@@ -4019,7 +4019,7 @@ const Ct = {
|
|
|
4019
4019
|
char: null,
|
|
4020
4020
|
onsuggest: o.keyboard.params.type === "monaco" && o.keyboard.opt?.pasteText ? 1 : 0
|
|
4021
4021
|
});
|
|
4022
|
-
},
|
|
4022
|
+
}, g = (y) => {
|
|
4023
4023
|
const b = [];
|
|
4024
4024
|
for (const [k, A] of Object.entries(
|
|
4025
4025
|
n.data?.sys?.chinese || {}
|
|
@@ -4028,7 +4028,7 @@ const Ct = {
|
|
|
4028
4028
|
return b;
|
|
4029
4029
|
}, _ = (y, b) => {
|
|
4030
4030
|
let k = !1;
|
|
4031
|
-
s.bd.Type === "Chinese" && (y === "Backspace" ? (s.bd.zhs && (s.bd.zhs = s.bd.zhs.slice(0, -1), s.bd.zharr =
|
|
4031
|
+
s.bd.Type === "Chinese" && (y === "Backspace" ? (s.bd.zhs && (s.bd.zhs = s.bd.zhs.slice(0, -1), s.bd.zharr = g(s.bd.zhs), k = !0), s.bd.zhs || (s.bd.zharr = [], s.bd.zhindex = 0)) : ["Space", "Enter"].includes(y) ? s.bd.zharr?.length && (y = s.bd.zharr[s.bd.zhindex], s.bd.zhs = "", s.bd.zhindex = 0, s.bd.zharr = []) : "qwertyuiopasdfghjklzxcvbnm".includes(y) ? (s.bd.zhs += y, s.bd.zharr = g(s.bd.zhs), s.bd.zhindex = 0, k = !0) : y?.length > 1 && l[y] || (s.bd.zhs && (s.bd.zhs = ""), s.bd.zharr?.length && (b.classList.contains("zh-li") || (y = s.bd.zharr[0] + y), s.bd.zhs = "", s.bd.zhindex = 0, s.bd.zharr = []))), !k && h(y);
|
|
4032
4032
|
}, $ = (y) => {
|
|
4033
4033
|
const b = y.target;
|
|
4034
4034
|
if (!b.classList.contains("askey")) return;
|
|
@@ -4046,7 +4046,7 @@ const Ct = {
|
|
|
4046
4046
|
}
|
|
4047
4047
|
};
|
|
4048
4048
|
return (y, b) => {
|
|
4049
|
-
const k = U("PopDrop"), A =
|
|
4049
|
+
const k = U("PopDrop"), A = ve("dragzoom");
|
|
4050
4050
|
return p(), m("div", {
|
|
4051
4051
|
class: "keyboard-container",
|
|
4052
4052
|
id: "keyboardarea",
|
|
@@ -4061,17 +4061,17 @@ const Ct = {
|
|
|
4061
4061
|
class: J(s.bd.Type == x ? "active" : ""),
|
|
4062
4062
|
key: x,
|
|
4063
4063
|
onPointerdown: H((L) => s.bd.Type = x, ["stop"])
|
|
4064
|
-
},
|
|
4064
|
+
}, v(i(o).lang.sys?.keyboard?.menu?.[x] || x), 43, zs))), 128))
|
|
4065
4065
|
]),
|
|
4066
4066
|
u("div", Ls, [
|
|
4067
|
-
u("div", null,
|
|
4067
|
+
u("div", null, v(i(o).lang.sys?.keyboard?.Drag || "Drag"), 1),
|
|
4068
4068
|
u("div", {
|
|
4069
4069
|
onPointerdown: b[0] || (b[0] = H(
|
|
4070
4070
|
//@ts-ignore
|
|
4071
4071
|
(...x) => i(l).Hide && i(l).Hide(...x),
|
|
4072
4072
|
["stop"]
|
|
4073
4073
|
))
|
|
4074
|
-
},
|
|
4074
|
+
}, v(i(o).lang.sys?.keyboard?.Hide || "Hide"), 33)
|
|
4075
4075
|
])
|
|
4076
4076
|
])), [
|
|
4077
4077
|
[A, {
|
|
@@ -4098,24 +4098,24 @@ const Ct = {
|
|
|
4098
4098
|
}, [
|
|
4099
4099
|
s.bd.Type === "Chinese" && L === 0 ? (p(), m(I, { key: 0 }, [
|
|
4100
4100
|
s.bd.zhs ? (p(), m("div", Es, [
|
|
4101
|
-
u("div", Is,
|
|
4101
|
+
u("div", Is, v(s.bd.zhs), 1),
|
|
4102
4102
|
s.bd?.zharr?.length ? (p(), m("div", Ds, [
|
|
4103
4103
|
u("div", Rs, [
|
|
4104
4104
|
(p(!0), m(I, null, ee(s.bd.zharr, (w, j) => (p(), m("div", {
|
|
4105
4105
|
key: "zh" + j,
|
|
4106
4106
|
class: J(`askey zh-li${s.bd.zhindex == j ? " zh-cur" : ""}`),
|
|
4107
4107
|
"data-key": w
|
|
4108
|
-
},
|
|
4108
|
+
}, v(w), 11, Fs))), 128))
|
|
4109
4109
|
])
|
|
4110
4110
|
])) : (p(), m("div", {
|
|
4111
4111
|
key: 1,
|
|
4112
4112
|
class: "zh-list-area",
|
|
4113
4113
|
onPointerdown: b[2] || (b[2] = H((w) => s.bd.zhs = "", ["stop"]))
|
|
4114
4114
|
}, [
|
|
4115
|
-
u("div", Ws,
|
|
4115
|
+
u("div", Ws, v(i(o).lang.sys?.keyboard?.pynomatch), 1)
|
|
4116
4116
|
], 32))
|
|
4117
4117
|
])) : (p(), m("div", Vs, [
|
|
4118
|
-
u("div", Hs,
|
|
4118
|
+
u("div", Hs, v(i(o).lang.sys?.keyboard?.pyclick), 1)
|
|
4119
4119
|
]))
|
|
4120
4120
|
], 64)) : (p(!0), m(I, { key: 1 }, ee(x, (w, j) => (p(), m("div", {
|
|
4121
4121
|
class: "keyboard-item",
|
|
@@ -4126,8 +4126,8 @@ const Ct = {
|
|
|
4126
4126
|
key: 1,
|
|
4127
4127
|
class: J(`askey keyboard-key${w[2] ? " key-bg" : ""}${s.bd[w[3]] ? " active" : ""}`),
|
|
4128
4128
|
"data-key": w[0]
|
|
4129
|
-
},
|
|
4130
|
-
se(
|
|
4129
|
+
}, v(i(o).lang.sys?.keyboard?.[w[0]] || w[0]), 11, qs)) : w[0] === "Drag" ? G((p(), m("button", Bs, [
|
|
4130
|
+
se(v(i(o).lang.sys?.keyboard?.[w[0]] || w[0]), 1)
|
|
4131
4131
|
])), [
|
|
4132
4132
|
[A, {
|
|
4133
4133
|
ujt: t.ujt,
|
|
@@ -4145,7 +4145,7 @@ const Ct = {
|
|
|
4145
4145
|
u("button", {
|
|
4146
4146
|
class: J(`askey keyboard-key${w[2] ? " key-bg" : ""}`),
|
|
4147
4147
|
"data-key": w[0]
|
|
4148
|
-
},
|
|
4148
|
+
}, v(i(o).lang.sys?.keyboard?.[w[0]] || (s.bd.Shift ? w[0].toUpperCase() : w[0])), 11, Ns)
|
|
4149
4149
|
]),
|
|
4150
4150
|
poparea: ie(() => [
|
|
4151
4151
|
i(o).keyboard?.comps?.[w[0]] ? (p(), m("div", {
|
|
@@ -4171,7 +4171,7 @@ const Ct = {
|
|
|
4171
4171
|
key: 4,
|
|
4172
4172
|
class: J(`askey keyboard-key${w[2] ? " key-bg" : ""}`),
|
|
4173
4173
|
"data-key": w[0]
|
|
4174
|
-
},
|
|
4174
|
+
}, v(i(o).lang.sys?.keyboard?.[w[0]] || (s.bd.Shift ? w[0].toUpperCase() : w[0])), 11, Xs))
|
|
4175
4175
|
], 4))), 128))
|
|
4176
4176
|
]))), 128))
|
|
4177
4177
|
]))
|
|
@@ -4179,7 +4179,7 @@ const Ct = {
|
|
|
4179
4179
|
], 32);
|
|
4180
4180
|
};
|
|
4181
4181
|
}
|
|
4182
|
-
}), Js = /* @__PURE__ */
|
|
4182
|
+
}), Js = /* @__PURE__ */ B(Ks, [["__scopeId", "data-v-69ebd3e1"]]), Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4183
4183
|
__proto__: null,
|
|
4184
4184
|
default: Js
|
|
4185
4185
|
}, Symbol.toStringTag, { value: "Module" })), Zs = /* @__PURE__ */ C({
|
|
@@ -4189,16 +4189,16 @@ const Ct = {
|
|
|
4189
4189
|
opt: {}
|
|
4190
4190
|
},
|
|
4191
4191
|
setup(t) {
|
|
4192
|
-
const e = t, { $global: n, $model: o } = e.ujt, a =
|
|
4192
|
+
const e = t, { $global: n, $model: o } = e.ujt, a = q(() => e.opt?.pos?.auto ? {
|
|
4193
4193
|
width: n.wd?.w,
|
|
4194
4194
|
height: n.wd?.h
|
|
4195
4195
|
} : {
|
|
4196
4196
|
width: o.data.sys.keyboard.cfg?.size?.mw,
|
|
4197
4197
|
height: o.data.sys.keyboard.cfg?.size?.mh
|
|
4198
|
-
}), s =
|
|
4198
|
+
}), s = q(() => n.keyboard.params?.ot?.style?.area ? n.keyboard.params.ot.style.area : {
|
|
4199
4199
|
width: a.value.width + "px",
|
|
4200
4200
|
height: a.value.height + "px"
|
|
4201
|
-
}), l =
|
|
4201
|
+
}), l = q(() => {
|
|
4202
4202
|
if (n.keyboard.params?.ot?.style?.main)
|
|
4203
4203
|
return n.keyboard.params.ot.style.main;
|
|
4204
4204
|
{
|
|
@@ -4212,7 +4212,7 @@ const Ct = {
|
|
|
4212
4212
|
return he(() => {
|
|
4213
4213
|
e.opt?.pos?.auto && (n.wd.w = document?.documentElement?.clientWidth || document?.body?.clientWidth, n.wd.h = document?.documentElement?.clientHeight || document?.body?.clientHeight);
|
|
4214
4214
|
}), (r, d) => {
|
|
4215
|
-
const c = U("AsKeyBoard"), f =
|
|
4215
|
+
const c = U("AsKeyBoard"), f = ve("popresizezoom");
|
|
4216
4216
|
return p(), m("div", {
|
|
4217
4217
|
style: Z(s.value),
|
|
4218
4218
|
id: "askeyboardmask"
|
|
@@ -4235,7 +4235,7 @@ const Ct = {
|
|
|
4235
4235
|
], 4);
|
|
4236
4236
|
};
|
|
4237
4237
|
}
|
|
4238
|
-
}), Qs = /* @__PURE__ */
|
|
4238
|
+
}), Qs = /* @__PURE__ */ B(Zs, [["__scopeId", "data-v-edc5ecd7"]]), el = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4239
4239
|
__proto__: null,
|
|
4240
4240
|
default: Qs
|
|
4241
4241
|
}, Symbol.toStringTag, { value: "Module" })), tl = {
|
|
@@ -4271,16 +4271,16 @@ const Ct = {
|
|
|
4271
4271
|
l();
|
|
4272
4272
|
}), (c, f) => s.link ? (p(), m("div", tl, [
|
|
4273
4273
|
u("div", nl, [
|
|
4274
|
-
(p(!0), m(I, null, ee(s.link, (h,
|
|
4274
|
+
(p(!0), m(I, null, ee(s.link, (h, g) => (p(), m("div", {
|
|
4275
4275
|
class: "as-link-type",
|
|
4276
|
-
key: "type" +
|
|
4276
|
+
key: "type" + g
|
|
4277
4277
|
}, [
|
|
4278
|
-
u("div", ol,
|
|
4278
|
+
u("div", ol, v(i(n).lang.sys.link.class[g]), 1),
|
|
4279
4279
|
(p(!0), m(I, null, ee(h, (_, $) => (p(), m(I, {
|
|
4280
4280
|
key: "key" + $
|
|
4281
4281
|
}, [
|
|
4282
4282
|
_?.close ? F("", !0) : (p(), m("div", al, [
|
|
4283
|
-
u("div", sl,
|
|
4283
|
+
u("div", sl, v(i(n).lang.sys.link[$]) + ": ", 1),
|
|
4284
4284
|
u("div", ll, [
|
|
4285
4285
|
G(u("input", {
|
|
4286
4286
|
type: "text",
|
|
@@ -4289,7 +4289,7 @@ const Ct = {
|
|
|
4289
4289
|
[ue, _.url]
|
|
4290
4290
|
])
|
|
4291
4291
|
]),
|
|
4292
|
-
|
|
4292
|
+
g == "ws" ? (p(), m("div", rl, v(i(a)?.[$]?.open ? "☑" : "☒"), 1)) : F("", !0)
|
|
4293
4293
|
]))
|
|
4294
4294
|
], 64))), 128))
|
|
4295
4295
|
]))), 128))
|
|
@@ -4310,7 +4310,7 @@ const Ct = {
|
|
|
4310
4310
|
])
|
|
4311
4311
|
])) : F("", !0);
|
|
4312
4312
|
}
|
|
4313
|
-
}), dl = /* @__PURE__ */
|
|
4313
|
+
}), dl = /* @__PURE__ */ B(ul, [["__scopeId", "data-v-5d7b1df6"]]), pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4314
4314
|
__proto__: null,
|
|
4315
4315
|
default: dl
|
|
4316
4316
|
}, Symbol.toStringTag, { value: "Module" })), fl = { class: "novel-reader" }, ml = { class: "reader-header" }, hl = { class: "header-content" }, gl = { class: "novel-title" }, vl = { class: "search-container" }, yl = { class: "search-input-wrapper" }, bl = {
|
|
@@ -4337,24 +4337,24 @@ const Ct = {
|
|
|
4337
4337
|
wait: 300,
|
|
4338
4338
|
immediate: !1
|
|
4339
4339
|
}
|
|
4340
|
-
}), l =
|
|
4341
|
-
let
|
|
4342
|
-
return
|
|
4340
|
+
}), l = Y(!1), r = Y(!1), d = Y(!1), c = Y(""), f = Y(16), h = Y([]), g = q(() => {
|
|
4341
|
+
let N = {};
|
|
4342
|
+
return N = $.value?.find(
|
|
4343
4343
|
(ae) => ae.sn === n.location.query?.id
|
|
4344
|
-
),
|
|
4345
|
-
}), _ =
|
|
4346
|
-
(
|
|
4347
|
-
)), b =
|
|
4344
|
+
), N?.sn || (N = a.value[0].cc[0].cc[0]), N;
|
|
4345
|
+
}), _ = Y([]), $ = q(() => a.value[0].cc.flatMap((N) => N.cc)), y = q(() => $.value.findIndex(
|
|
4346
|
+
(N) => N.sn === g.value?.sn
|
|
4347
|
+
)), b = q(() => y.value > 0), k = q(() => y.value < $.value.length - 1), A = () => {
|
|
4348
4348
|
l.value = !l.value;
|
|
4349
4349
|
}, x = () => {
|
|
4350
4350
|
r.value = !r.value, r.value || (c.value = "", _.value = []);
|
|
4351
4351
|
}, L = () => {
|
|
4352
4352
|
r.value = !1, c.value = "", _.value = [];
|
|
4353
|
-
}, w = (
|
|
4354
|
-
const ae = h.value.indexOf(
|
|
4355
|
-
ae > -1 ? h.value.splice(ae, 1) : h.value.push(
|
|
4356
|
-
}, j = (
|
|
4357
|
-
o.setquery({ id:
|
|
4353
|
+
}, w = (N) => {
|
|
4354
|
+
const ae = h.value.indexOf(N);
|
|
4355
|
+
ae > -1 ? h.value.splice(ae, 1) : h.value.push(N);
|
|
4356
|
+
}, j = (N) => {
|
|
4357
|
+
o.setquery({ id: N.sn }), l.value = !1;
|
|
4358
4358
|
}, S = () => {
|
|
4359
4359
|
y.value > 0 && o.setquery({
|
|
4360
4360
|
id: $.value[y.value - 1].sn
|
|
@@ -4369,34 +4369,34 @@ const Ct = {
|
|
|
4369
4369
|
f.value > 12 && (f.value -= 1);
|
|
4370
4370
|
}, P = () => {
|
|
4371
4371
|
o.As.debounce(() => {
|
|
4372
|
-
const
|
|
4373
|
-
if (!
|
|
4372
|
+
const N = c.value.trim();
|
|
4373
|
+
if (!N) {
|
|
4374
4374
|
_.value = [];
|
|
4375
4375
|
return;
|
|
4376
4376
|
}
|
|
4377
|
-
_.value = $.value?.filter((ae) => ae.co.includes(
|
|
4378
|
-
const ne = ae.co.split(
|
|
4377
|
+
_.value = $.value?.filter((ae) => ae.co.includes(N)).slice(0, 100).map((ae) => {
|
|
4378
|
+
const ne = ae.co.split(N);
|
|
4379
4379
|
return {
|
|
4380
4380
|
sn: ae.sn,
|
|
4381
4381
|
li: ae.li,
|
|
4382
4382
|
preview: `...${ne[0].slice(
|
|
4383
4383
|
-20
|
|
4384
|
-
)}<b>${
|
|
4384
|
+
)}<b>${N}</b>${ne[1].slice(0, 20)}...`
|
|
4385
4385
|
};
|
|
4386
4386
|
});
|
|
4387
4387
|
}, s.tm);
|
|
4388
|
-
}, E = (
|
|
4389
|
-
|
|
4390
|
-
id:
|
|
4388
|
+
}, E = (N) => {
|
|
4389
|
+
N?.sn && (o.setquery({
|
|
4390
|
+
id: N.sn
|
|
4391
4391
|
}), r.value = !1, c.value = "", _.value = []);
|
|
4392
4392
|
}, V = () => {
|
|
4393
4393
|
d.value = window.innerWidth <= 768;
|
|
4394
4394
|
};
|
|
4395
4395
|
return he(() => {
|
|
4396
4396
|
V(), window.addEventListener("resize", V), a.value[0].cc.length > 0 && h.value.push(a.value[0].cc[0].sn);
|
|
4397
|
-
}),
|
|
4397
|
+
}), je(() => {
|
|
4398
4398
|
window.removeEventListener("resize", V);
|
|
4399
|
-
}), (
|
|
4399
|
+
}), (N, ae) => (p(), m("div", fl, [
|
|
4400
4400
|
u("header", ml, [
|
|
4401
4401
|
u("div", hl, [
|
|
4402
4402
|
u("button", {
|
|
@@ -4405,7 +4405,7 @@ const Ct = {
|
|
|
4405
4405
|
}, [...ae[1] || (ae[1] = [
|
|
4406
4406
|
u("span", { class: "hamburger-icon" }, null, -1)
|
|
4407
4407
|
])]),
|
|
4408
|
-
u("h1", gl,
|
|
4408
|
+
u("h1", gl, v(i(a)[0].ch), 1),
|
|
4409
4409
|
u("button", {
|
|
4410
4410
|
class: "search-toggle",
|
|
4411
4411
|
onClick: x
|
|
@@ -4461,7 +4461,7 @@ const Ct = {
|
|
|
4461
4461
|
class: "search-result-item",
|
|
4462
4462
|
onClick: (Me) => E(ne)
|
|
4463
4463
|
}, [
|
|
4464
|
-
u("div", $l,
|
|
4464
|
+
u("div", $l, v(ne.li), 1),
|
|
4465
4465
|
u("div", {
|
|
4466
4466
|
class: "result-preview",
|
|
4467
4467
|
innerHTML: ne.preview
|
|
@@ -4475,7 +4475,7 @@ const Ct = {
|
|
|
4475
4475
|
class: J(["sidebar", { active: l.value }])
|
|
4476
4476
|
}, [
|
|
4477
4477
|
u("div", xl, [
|
|
4478
|
-
u("h2", Sl,
|
|
4478
|
+
u("h2", Sl, v(i(a)[0].ch), 1),
|
|
4479
4479
|
(p(!0), m(I, null, ee(i(a)[0].cc, (ne) => (p(), m("div", {
|
|
4480
4480
|
key: ne.sn,
|
|
4481
4481
|
class: "volume-item"
|
|
@@ -4484,7 +4484,7 @@ const Ct = {
|
|
|
4484
4484
|
class: "volume-header",
|
|
4485
4485
|
onClick: (de) => w(ne.sn)
|
|
4486
4486
|
}, [
|
|
4487
|
-
u("h3", Cl,
|
|
4487
|
+
u("h3", Cl, v(ne.cl), 1),
|
|
4488
4488
|
u("span", {
|
|
4489
4489
|
class: J(["toggle-icon", {
|
|
4490
4490
|
expanded: h.value.includes(
|
|
@@ -4497,10 +4497,10 @@ const Ct = {
|
|
|
4497
4497
|
(p(!0), m(I, null, ee(ne.cc, (de) => (p(), m("li", {
|
|
4498
4498
|
key: de.sn,
|
|
4499
4499
|
class: J(["chapter-item", {
|
|
4500
|
-
active:
|
|
4500
|
+
active: g.value?.sn === de.sn
|
|
4501
4501
|
}]),
|
|
4502
4502
|
onClick: (Me) => j(de)
|
|
4503
|
-
},
|
|
4503
|
+
}, v(de.li), 11, Al))), 128))
|
|
4504
4504
|
], 512), [
|
|
4505
4505
|
[Ee, h.value.includes(ne.sn)]
|
|
4506
4506
|
])
|
|
@@ -4510,18 +4510,18 @@ const Ct = {
|
|
|
4510
4510
|
u("main", Ml, [
|
|
4511
4511
|
u("div", Tl, [
|
|
4512
4512
|
u("div", zl, [
|
|
4513
|
-
u("h2", Ll, g
|
|
4513
|
+
u("h2", Ll, v(g.value.li), 1),
|
|
4514
4514
|
u("div", Ul, [
|
|
4515
|
-
u("span", null, " 第" +
|
|
4516
|
-
(p(!0), m(I, null, ee(Object.keys(
|
|
4517
|
-
|
|
4515
|
+
u("span", null, " 第" + v(y.value + 1) + "章 ", 1),
|
|
4516
|
+
(p(!0), m(I, null, ee(Object.keys(g.value), (ne) => (p(), m(I, null, [
|
|
4517
|
+
g.value[ne] && !["co", "li", "sn", "ty"].includes(ne) ? (p(), m("span", El, v(g.value[ne]), 1)) : F("", !0)
|
|
4518
4518
|
], 64))), 256))
|
|
4519
4519
|
])
|
|
4520
4520
|
]),
|
|
4521
4521
|
u("div", {
|
|
4522
4522
|
class: "chapter-content",
|
|
4523
4523
|
style: Z({ fontSize: f.value + "px" })
|
|
4524
|
-
}, g
|
|
4524
|
+
}, v(g.value.co), 5),
|
|
4525
4525
|
u("div", Il, [
|
|
4526
4526
|
u("button", {
|
|
4527
4527
|
class: "control-btn prev-next-btn",
|
|
@@ -4534,7 +4534,7 @@ const Ct = {
|
|
|
4534
4534
|
onClick: z,
|
|
4535
4535
|
disabled: f.value <= 12
|
|
4536
4536
|
}, " A- ", 8, Fl),
|
|
4537
|
-
u("span", Wl,
|
|
4537
|
+
u("span", Wl, v(f.value) + "px", 1),
|
|
4538
4538
|
u("button", {
|
|
4539
4539
|
class: "font-btn",
|
|
4540
4540
|
onClick: M,
|
|
@@ -4589,7 +4589,7 @@ const Ct = {
|
|
|
4589
4589
|
])) : F("", !0)
|
|
4590
4590
|
]));
|
|
4591
4591
|
}
|
|
4592
|
-
}), Nl = /* @__PURE__ */
|
|
4592
|
+
}), Nl = /* @__PURE__ */ B(Bl, [["__scopeId", "data-v-43efa2ab"]]), Yl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4593
4593
|
__proto__: null,
|
|
4594
4594
|
default: Nl
|
|
4595
4595
|
}, Symbol.toStringTag, { value: "Module" })), Xl = {
|
|
@@ -4601,12 +4601,12 @@ const Ct = {
|
|
|
4601
4601
|
ujt: {}
|
|
4602
4602
|
},
|
|
4603
4603
|
setup(t) {
|
|
4604
|
-
|
|
4604
|
+
ge((a) => ({
|
|
4605
4605
|
v7d2dee50: o.value
|
|
4606
4606
|
}));
|
|
4607
|
-
const e = t, { $global: n } = e.ujt, o =
|
|
4607
|
+
const e = t, { $global: n } = e.ujt, o = q(() => n.pagebusy?.zindex || 9999);
|
|
4608
4608
|
return (a, s) => {
|
|
4609
|
-
const l =
|
|
4609
|
+
const l = ve("dbpointerdown");
|
|
4610
4610
|
return i(n).pagebusy ? G((p(), m("div", Xl, [
|
|
4611
4611
|
u("div", {
|
|
4612
4612
|
class: "as-pagebusy-spin",
|
|
@@ -4616,7 +4616,7 @@ const Ct = {
|
|
|
4616
4616
|
...i(n).pagebusy?.style || {}
|
|
4617
4617
|
})
|
|
4618
4618
|
}, null, 4),
|
|
4619
|
-
u("div", Kl,
|
|
4619
|
+
u("div", Kl, v(i(n).pagebusy?.v), 1)
|
|
4620
4620
|
])), [
|
|
4621
4621
|
[
|
|
4622
4622
|
l,
|
|
@@ -4627,7 +4627,7 @@ const Ct = {
|
|
|
4627
4627
|
]) : F("", !0);
|
|
4628
4628
|
};
|
|
4629
4629
|
}
|
|
4630
|
-
}), Gl = /* @__PURE__ */
|
|
4630
|
+
}), Gl = /* @__PURE__ */ B(Jl, [["__scopeId", "data-v-3d54e250"]]), Zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4631
4631
|
__proto__: null,
|
|
4632
4632
|
default: Gl
|
|
4633
4633
|
}, Symbol.toStringTag, { value: "Module" })), Ql = { class: "as-icon" }, ei = {
|
|
@@ -4663,8 +4663,8 @@ const Ct = {
|
|
|
4663
4663
|
},
|
|
4664
4664
|
setup(t) {
|
|
4665
4665
|
const e = t;
|
|
4666
|
-
let n =
|
|
4667
|
-
const o =
|
|
4666
|
+
let n = Y("");
|
|
4667
|
+
const o = q(() => n.value ? "./webmodel/files/" + (e.webty ?? +e.webty + "/") + "svg/" + n.value + ".svg" : e.src.startsWith("http") || e.src.endsWith(".svg") || e.src.endsWith(".png") ? e.src : "./webmodel/files/" + (e.webty ?? +e.webty + "/") + "svg/" + e.src + ".svg");
|
|
4668
4668
|
function a() {
|
|
4669
4669
|
n.value = "default";
|
|
4670
4670
|
}
|
|
@@ -4702,7 +4702,7 @@ const Ct = {
|
|
|
4702
4702
|
}, null, 4))
|
|
4703
4703
|
]));
|
|
4704
4704
|
}
|
|
4705
|
-
}), oi = /* @__PURE__ */
|
|
4705
|
+
}), oi = /* @__PURE__ */ B(ni, [["__scopeId", "data-v-38e98193"]]), ai = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4706
4706
|
__proto__: null,
|
|
4707
4707
|
default: oi
|
|
4708
4708
|
}, Symbol.toStringTag, { value: "Module" })), si = ["accept"], li = /* @__PURE__ */ C({
|
|
@@ -4713,7 +4713,7 @@ const Ct = {
|
|
|
4713
4713
|
},
|
|
4714
4714
|
emits: ["onUpload"],
|
|
4715
4715
|
setup(t, { emit: e }) {
|
|
4716
|
-
const n = t, { $fn: o } = n.ujt, a = e, s =
|
|
4716
|
+
const n = t, { $fn: o } = n.ujt, a = e, s = Y(null);
|
|
4717
4717
|
function l(d) {
|
|
4718
4718
|
const c = d.target.files[0];
|
|
4719
4719
|
!n.opt?.size || c.size <= n.opt?.size ? o.As.readFile(c).then((f) => {
|
|
@@ -4741,11 +4741,11 @@ const Ct = {
|
|
|
4741
4741
|
onChange: l
|
|
4742
4742
|
}, null, 40, si),
|
|
4743
4743
|
R(d.$slots, "default", {}, () => [
|
|
4744
|
-
se(
|
|
4744
|
+
se(v(i(o).lg("asai.upload")), 1)
|
|
4745
4745
|
], !0)
|
|
4746
4746
|
], 32));
|
|
4747
4747
|
}
|
|
4748
|
-
}), ii = /* @__PURE__ */
|
|
4748
|
+
}), ii = /* @__PURE__ */ B(li, [["__scopeId", "data-v-c96f4d94"]]), ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4749
4749
|
__proto__: null,
|
|
4750
4750
|
default: ii
|
|
4751
4751
|
}, Symbol.toStringTag, { value: "Module" })), ci = ["accept"], ui = /* @__PURE__ */ C({
|
|
@@ -4756,15 +4756,15 @@ const Ct = {
|
|
|
4756
4756
|
},
|
|
4757
4757
|
emits: ["onUpload"],
|
|
4758
4758
|
setup(t, { emit: e }) {
|
|
4759
|
-
const n = t, { $fn: o } = n.ujt, a = e, s =
|
|
4759
|
+
const n = t, { $fn: o } = n.ujt, a = e, s = Y(null);
|
|
4760
4760
|
function l(d) {
|
|
4761
4761
|
const c = d.target.files[0];
|
|
4762
4762
|
if (c)
|
|
4763
4763
|
if (!n.opt?.size || c.size <= n.opt?.size) {
|
|
4764
4764
|
const f = new FileReader();
|
|
4765
4765
|
f.onload = (h) => {
|
|
4766
|
-
const
|
|
4767
|
-
a("onUpload",
|
|
4766
|
+
const g = h.target?.result;
|
|
4767
|
+
a("onUpload", g, c), s.value.value = "";
|
|
4768
4768
|
}, f.readAsText(c);
|
|
4769
4769
|
} else
|
|
4770
4770
|
a("onUpload", "", c), s.value.value = "";
|
|
@@ -4785,11 +4785,11 @@ const Ct = {
|
|
|
4785
4785
|
onChange: l
|
|
4786
4786
|
}, null, 40, ci),
|
|
4787
4787
|
R(d.$slots, "default", {}, () => [
|
|
4788
|
-
se(
|
|
4788
|
+
se(v(i(o).lg("asai.upload")), 1)
|
|
4789
4789
|
], !0)
|
|
4790
4790
|
], 32));
|
|
4791
4791
|
}
|
|
4792
|
-
}), di = /* @__PURE__ */
|
|
4792
|
+
}), di = /* @__PURE__ */ B(ui, [["__scopeId", "data-v-75003bd9"]]), pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4793
4793
|
__proto__: null,
|
|
4794
4794
|
default: di
|
|
4795
4795
|
}, Symbol.toStringTag, { value: "Module" })), fi = { class: "page-404" }, mi = { class: "content" }, hi = {
|
|
@@ -4807,8 +4807,8 @@ const Ct = {
|
|
|
4807
4807
|
return p(), m("div", fi, [
|
|
4808
4808
|
u("div", mi, [
|
|
4809
4809
|
a[0] || (a[0] = u("div", { class: "error-code" }, "404", -1)),
|
|
4810
|
-
i(n).lang?.asai?.page?.page404 ? (p(), m("h1", hi,
|
|
4811
|
-
u("p", gi,
|
|
4810
|
+
i(n).lang?.asai?.page?.page404 ? (p(), m("h1", hi, v(i(n).lang?.asai?.page?.page404 || "页面未找到"), 1)) : F("", !0),
|
|
4811
|
+
u("p", gi, v(i(n).lang?.asai?.page?.reason404 || "Sorry, Page not found!"), 1)
|
|
4812
4812
|
]),
|
|
4813
4813
|
u("div", vi, [
|
|
4814
4814
|
W(s, { ujt: t.ujt }, null, 8, ["ujt"])
|
|
@@ -4816,7 +4816,7 @@ const Ct = {
|
|
|
4816
4816
|
]);
|
|
4817
4817
|
};
|
|
4818
4818
|
}
|
|
4819
|
-
}), bi = /* @__PURE__ */
|
|
4819
|
+
}), bi = /* @__PURE__ */ B(yi, [["__scopeId", "data-v-7f2d34d0"]]), Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4820
4820
|
__proto__: null,
|
|
4821
4821
|
default: bi
|
|
4822
4822
|
}, Symbol.toStringTag, { value: "Module" })), _i = /* @__PURE__ */ C({
|
|
@@ -4832,11 +4832,11 @@ const Ct = {
|
|
|
4832
4832
|
onPointerdown: a[0] || (a[0] = (s) => t.fn ? t.fn() : i(n).changelang("auto"))
|
|
4833
4833
|
}, [
|
|
4834
4834
|
R(o.$slots, "default", {}, () => [
|
|
4835
|
-
se(
|
|
4835
|
+
se(v(i(n).lg("asai.langs.default")), 1)
|
|
4836
4836
|
], !0)
|
|
4837
4837
|
], 32));
|
|
4838
4838
|
}
|
|
4839
|
-
}), $i = /* @__PURE__ */
|
|
4839
|
+
}), $i = /* @__PURE__ */ B(_i, [["__scopeId", "data-v-3ff47800"]]), ki = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4840
4840
|
__proto__: null,
|
|
4841
4841
|
default: $i
|
|
4842
4842
|
}, Symbol.toStringTag, { value: "Module" })), wi = /* @__PURE__ */ C({
|
|
@@ -4851,13 +4851,13 @@ const Ct = {
|
|
|
4851
4851
|
onPointerdown: s[0] || (s[0] = (l) => i(n).changetheme("auto"))
|
|
4852
4852
|
}, [
|
|
4853
4853
|
R(a.$slots, "default", {}, () => [
|
|
4854
|
-
se(
|
|
4854
|
+
se(v(i(n).lg(
|
|
4855
4855
|
"asai.theme" + (i(o).config.theme?.includes("dark") ? "light" : "dark")
|
|
4856
4856
|
)), 1)
|
|
4857
4857
|
], !0)
|
|
4858
4858
|
], 32));
|
|
4859
4859
|
}
|
|
4860
|
-
}), ji = /* @__PURE__ */
|
|
4860
|
+
}), ji = /* @__PURE__ */ B(wi, [["__scopeId", "data-v-ec27160d"]]), xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4861
4861
|
__proto__: null,
|
|
4862
4862
|
default: ji
|
|
4863
4863
|
}, Symbol.toStringTag, { value: "Module" })), Si = { class: "container" }, Pi = {
|
|
@@ -4874,21 +4874,21 @@ const Ct = {
|
|
|
4874
4874
|
},
|
|
4875
4875
|
emits: ["update:modelValue"],
|
|
4876
4876
|
setup(t, { emit: e }) {
|
|
4877
|
-
const n = t, { $fn: o, $global: a } = n.ujt, s = e, l =
|
|
4877
|
+
const n = t, { $fn: o, $global: a } = n.ujt, s = e, l = q({
|
|
4878
4878
|
get() {
|
|
4879
4879
|
return n.modelValue;
|
|
4880
4880
|
},
|
|
4881
4881
|
set(O) {
|
|
4882
4882
|
s("update:modelValue", O);
|
|
4883
4883
|
}
|
|
4884
|
-
}), r =
|
|
4884
|
+
}), r = Y(""), d = Y(""), c = Y(null), f = Y(null), h = Y({
|
|
4885
4885
|
x: 0,
|
|
4886
4886
|
y: 0,
|
|
4887
4887
|
width: 0,
|
|
4888
4888
|
height: 0,
|
|
4889
4889
|
maxWidth: 0,
|
|
4890
4890
|
maxHeight: 0
|
|
4891
|
-
}),
|
|
4891
|
+
}), g = Y({
|
|
4892
4892
|
type: null,
|
|
4893
4893
|
startX: 0,
|
|
4894
4894
|
startY: 0,
|
|
@@ -4897,11 +4897,11 @@ const Ct = {
|
|
|
4897
4897
|
originalWidth: 0,
|
|
4898
4898
|
originalHeight: 0,
|
|
4899
4899
|
direction: null
|
|
4900
|
-
}), _ =
|
|
4900
|
+
}), _ = q(() => ({
|
|
4901
4901
|
transform: `translate(${h.value.x}px, ${h.value.y}px)`,
|
|
4902
4902
|
width: `${h.value.width}px`,
|
|
4903
4903
|
height: `${h.value.height}px`
|
|
4904
|
-
})), $ =
|
|
4904
|
+
})), $ = q(
|
|
4905
4905
|
() => h.value.width > 0 && h.value.height > 0
|
|
4906
4906
|
), y = (O) => {
|
|
4907
4907
|
const M = O.target.files[0];
|
|
@@ -4925,7 +4925,7 @@ const Ct = {
|
|
|
4925
4925
|
};
|
|
4926
4926
|
}, k = (O, M = null) => {
|
|
4927
4927
|
const z = window.event || z, P = z.touches ? z.touches[0] : z;
|
|
4928
|
-
|
|
4928
|
+
g.value = {
|
|
4929
4929
|
type: O,
|
|
4930
4930
|
startX: P.clientX,
|
|
4931
4931
|
startY: P.clientY,
|
|
@@ -4943,54 +4943,54 @@ const Ct = {
|
|
|
4943
4943
|
window.addEventListener("mousemove", E), window.addEventListener("touchmove", E), window.addEventListener("mouseup", L), window.addEventListener("touchend", L);
|
|
4944
4944
|
}, A = (O) => {
|
|
4945
4945
|
const M = window.event || O, z = M.touches ? M.touches[0] : M;
|
|
4946
|
-
if (
|
|
4947
|
-
const P = z.clientX -
|
|
4946
|
+
if (g.value.type !== "move") return;
|
|
4947
|
+
const P = z.clientX - g.value.startX, E = z.clientY - g.value.startY, V = Math.max(
|
|
4948
4948
|
0,
|
|
4949
4949
|
Math.min(
|
|
4950
|
-
|
|
4950
|
+
g.value.originalX + P,
|
|
4951
4951
|
h.value.maxWidth - h.value.width
|
|
4952
4952
|
)
|
|
4953
|
-
),
|
|
4953
|
+
), N = Math.max(
|
|
4954
4954
|
0,
|
|
4955
4955
|
Math.min(
|
|
4956
|
-
|
|
4956
|
+
g.value.originalY + E,
|
|
4957
4957
|
h.value.maxHeight - h.value.height
|
|
4958
4958
|
)
|
|
4959
4959
|
);
|
|
4960
|
-
Object.assign(h.value, { x: V, y:
|
|
4960
|
+
Object.assign(h.value, { x: V, y: N });
|
|
4961
4961
|
}, x = (O) => {
|
|
4962
4962
|
const M = window.event || O, z = M.touches ? M.touches[0] : M;
|
|
4963
|
-
if (
|
|
4964
|
-
const P = z.clientX -
|
|
4965
|
-
let
|
|
4963
|
+
if (g.value.type !== "resize") return;
|
|
4964
|
+
const P = z.clientX - g.value.startX, E = z.clientY - g.value.startY, V = g.value.direction;
|
|
4965
|
+
let N = g.value.originalWidth, ae = g.value.originalHeight, ne = g.value.originalX, de = g.value.originalY;
|
|
4966
4966
|
switch (V) {
|
|
4967
4967
|
case "tr":
|
|
4968
|
-
|
|
4968
|
+
N = Math.max(
|
|
4969
4969
|
100,
|
|
4970
4970
|
Math.min(
|
|
4971
|
-
|
|
4971
|
+
g.value.originalWidth + P,
|
|
4972
4972
|
h.value.maxWidth - ne
|
|
4973
4973
|
)
|
|
4974
|
-
), ae = Math.max(100,
|
|
4974
|
+
), ae = Math.max(100, g.value.originalHeight - E), de = Math.max(0, g.value.originalY + E);
|
|
4975
4975
|
break;
|
|
4976
4976
|
case "tl":
|
|
4977
|
-
|
|
4977
|
+
N = Math.max(100, g.value.originalWidth - P), ae = Math.max(100, g.value.originalHeight - E), ne = Math.max(0, g.value.originalX + P), de = Math.max(0, g.value.originalY + E);
|
|
4978
4978
|
break;
|
|
4979
4979
|
case "br":
|
|
4980
|
-
|
|
4980
|
+
N = Math.max(100, g.value.originalWidth + P), ae = Math.max(100, g.value.originalHeight + E);
|
|
4981
4981
|
break;
|
|
4982
4982
|
case "bl":
|
|
4983
|
-
|
|
4983
|
+
N = Math.max(100, g.value.originalWidth - P), ae = Math.max(100, g.value.originalHeight + E), ne = Math.max(0, g.value.originalX + P);
|
|
4984
4984
|
break;
|
|
4985
4985
|
}
|
|
4986
|
-
|
|
4986
|
+
N = Math.min(N, h.value.maxWidth - ne), ae = Math.min(ae, h.value.maxHeight - de), Object.assign(h.value, {
|
|
4987
4987
|
x: ne,
|
|
4988
4988
|
y: de,
|
|
4989
|
-
width:
|
|
4989
|
+
width: N,
|
|
4990
4990
|
height: ae
|
|
4991
4991
|
});
|
|
4992
4992
|
}, L = () => {
|
|
4993
|
-
|
|
4993
|
+
g.value.type = null, window.removeEventListener("mousemove", A), window.removeEventListener("touchmove", A), window.removeEventListener("mousemove", x), window.removeEventListener("touchmove", x), window.removeEventListener("mouseup", L), window.removeEventListener("touchend", L);
|
|
4994
4994
|
}, w = () => {
|
|
4995
4995
|
const O = c.value, M = O.naturalWidth / O.width, z = O.naturalHeight / O.height, P = Math.min(
|
|
4996
4996
|
h.value.width * M,
|
|
@@ -5080,19 +5080,19 @@ const Ct = {
|
|
|
5080
5080
|
onPointerdown: w,
|
|
5081
5081
|
onTouchstart: M[10] || (M[10] = H(() => {
|
|
5082
5082
|
}, ["stop"]))
|
|
5083
|
-
},
|
|
5083
|
+
}, v(i(o).lg("asai.confirm")), 33),
|
|
5084
5084
|
d.value ? (p(), m("button", {
|
|
5085
5085
|
key: 0,
|
|
5086
5086
|
onPointerdown: j,
|
|
5087
5087
|
onTouchstart: M[11] || (M[11] = H(() => {
|
|
5088
5088
|
}, ["stop"]))
|
|
5089
|
-
},
|
|
5089
|
+
}, v(i(o).lg("asai.download")), 33)) : F("", !0),
|
|
5090
5090
|
d.value ? (p(), m("button", {
|
|
5091
5091
|
key: 1,
|
|
5092
5092
|
onPointerdown: S,
|
|
5093
5093
|
onTouchstart: M[12] || (M[12] = H(() => {
|
|
5094
5094
|
}, ["stop"]))
|
|
5095
|
-
},
|
|
5095
|
+
}, v(i(o).lg("asai.upload")), 33)) : F("", !0)
|
|
5096
5096
|
]),
|
|
5097
5097
|
d.value ? (p(), m("div", Ai, [
|
|
5098
5098
|
u("img", { src: d.value }, null, 8, Mi)
|
|
@@ -5100,7 +5100,7 @@ const Ct = {
|
|
|
5100
5100
|
])) : F("", !0)
|
|
5101
5101
|
]));
|
|
5102
5102
|
}
|
|
5103
|
-
}), zi = /* @__PURE__ */
|
|
5103
|
+
}), zi = /* @__PURE__ */ B(Ti, [["__scopeId", "data-v-4bd56bcb"]]), Li = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5104
5104
|
__proto__: null,
|
|
5105
5105
|
default: zi
|
|
5106
5106
|
}, Symbol.toStringTag, { value: "Module" })), Ui = { class: "as-json-area as-form-line" }, Ei = {
|
|
@@ -5143,7 +5143,7 @@ const Ct = {
|
|
|
5143
5143
|
t.asaidata.btn ? (p(), m("div", Ei, [
|
|
5144
5144
|
u("button", {
|
|
5145
5145
|
onPointerdown: r[0] || (r[0] = (c) => o())
|
|
5146
|
-
},
|
|
5146
|
+
}, v(i(n).lg("asai.read")), 33),
|
|
5147
5147
|
G(u("input", {
|
|
5148
5148
|
type: "text",
|
|
5149
5149
|
"onUpdate:modelValue": r[1] || (r[1] = (c) => t.asaidata.path = c)
|
|
@@ -5156,9 +5156,9 @@ const Ct = {
|
|
|
5156
5156
|
}, [
|
|
5157
5157
|
(p(!0), m(I, null, ee(t.asaidata.list, (c) => (p(), m("option", {
|
|
5158
5158
|
value: c.value
|
|
5159
|
-
},
|
|
5159
|
+
}, v(c.label), 9, Ii))), 256))
|
|
5160
5160
|
], 512)), [
|
|
5161
|
-
[
|
|
5161
|
+
[we, t.asaidata.path]
|
|
5162
5162
|
]) : F("", !0)
|
|
5163
5163
|
])) : F("", !0),
|
|
5164
5164
|
u("div", Di, [
|
|
@@ -5169,26 +5169,26 @@ const Ct = {
|
|
|
5169
5169
|
}, null, 512)), [
|
|
5170
5170
|
[ue, t.asaidata.data]
|
|
5171
5171
|
]) : (p(), m(I, { key: 1 }, [
|
|
5172
|
-
se(
|
|
5172
|
+
se(v(t.asaidata.eq > 1 ? Array.isArray(t.asaidata) ? "[" : "{" : "") + " ", 1),
|
|
5173
5173
|
W(d, {
|
|
5174
5174
|
ujt: t.ujt,
|
|
5175
5175
|
asaidata: t.asaidata
|
|
5176
5176
|
}, null, 8, ["ujt", "asaidata"]),
|
|
5177
|
-
se(" " +
|
|
5177
|
+
se(" " + v(t.asaidata.eq > 1 ? Array.isArray(t.asaidata) ? "]" : "}" : ""), 1)
|
|
5178
5178
|
], 64))
|
|
5179
5179
|
]),
|
|
5180
5180
|
t.asaidata.btn ? (p(), m("div", Ri, [
|
|
5181
5181
|
u("button", {
|
|
5182
5182
|
onPointerdown: r[4] || (r[4] = (c) => s())
|
|
5183
|
-
},
|
|
5183
|
+
}, v(i(n).lg("asai.submit")), 33),
|
|
5184
5184
|
u("button", {
|
|
5185
5185
|
onPointerdown: r[5] || (r[5] = (c) => a())
|
|
5186
|
-
},
|
|
5186
|
+
}, v(i(n).lg("asai.del")), 33)
|
|
5187
5187
|
])) : F("", !0)
|
|
5188
5188
|
]);
|
|
5189
5189
|
};
|
|
5190
5190
|
}
|
|
5191
|
-
}), Wi = /* @__PURE__ */
|
|
5191
|
+
}), Wi = /* @__PURE__ */ B(Fi, [["__scopeId", "data-v-2a3e294c"]]), Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5192
5192
|
__proto__: null,
|
|
5193
5193
|
default: Wi
|
|
5194
5194
|
}, Symbol.toStringTag, { value: "Module" })), Hi = {
|
|
@@ -5215,7 +5215,7 @@ const Ct = {
|
|
|
5215
5215
|
n.publishlist = !0, e?.ckey === "publishlist" && e?.cdata && e?.cdata[e?.ckey] && Object.keys(e?.cdata[e?.ckey]).forEach((l) => {
|
|
5216
5216
|
n[l] = !0;
|
|
5217
5217
|
});
|
|
5218
|
-
const o =
|
|
5218
|
+
const o = q(() => {
|
|
5219
5219
|
let l = typeof e.cdata[e.ckey];
|
|
5220
5220
|
if (l === "object") {
|
|
5221
5221
|
if (e.cdata[e.ckey] && e.cdata[e.ckey]["@path"])
|
|
@@ -5245,11 +5245,11 @@ const Ct = {
|
|
|
5245
5245
|
key: 1,
|
|
5246
5246
|
class: "as-ed-mg",
|
|
5247
5247
|
onPointerdown: r[1] || (r[1] = (d) => a(t.ckey))
|
|
5248
|
-
}, " - " +
|
|
5248
|
+
}, " - " + v(t.ckey), 33)) : (p(), m("div", {
|
|
5249
5249
|
key: 0,
|
|
5250
5250
|
class: "as-ed-mg",
|
|
5251
5251
|
onPointerdown: r[0] || (r[0] = (d) => a(t.ckey))
|
|
5252
|
-
}, " + " +
|
|
5252
|
+
}, " + " + v(t.ckey), 33)),
|
|
5253
5253
|
n[t.ckey] ? (p(), m("div", qi, [
|
|
5254
5254
|
(p(!0), m(I, null, ee(Object.keys(t.cdata[t.ckey]), (d) => (p(), m("div", {
|
|
5255
5255
|
class: "as-ed-for-item",
|
|
@@ -5278,7 +5278,7 @@ const Ct = {
|
|
|
5278
5278
|
u("div", {
|
|
5279
5279
|
class: "as-ed-mg",
|
|
5280
5280
|
onPointerdown: a
|
|
5281
|
-
}, "+ " +
|
|
5281
|
+
}, "+ " + v(t.ckey), 33),
|
|
5282
5282
|
u("div", Yi, [
|
|
5283
5283
|
(p(!0), m(I, null, ee(t.cdata[t.ckey], (d, c) => (p(), m("div", {
|
|
5284
5284
|
class: "as-ed-for-item",
|
|
@@ -5299,9 +5299,9 @@ const Ct = {
|
|
|
5299
5299
|
e.cval.apikeys.includes(e.cdata[e.ckey]["@path"]) ? "as-ed-path-cur" : "as-ed-path"
|
|
5300
5300
|
),
|
|
5301
5301
|
onPointerdown: r[2] || (r[2] = (d) => s())
|
|
5302
|
-
},
|
|
5302
|
+
}, v(t.ckey), 35)) : (p(), m("span", Ki, v(t.ckey), 1));
|
|
5303
5303
|
}
|
|
5304
|
-
}), Ce = /* @__PURE__ */
|
|
5304
|
+
}), Ce = /* @__PURE__ */ B(Ji, [["__scopeId", "data-v-f916f007"]]), Gi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5305
5305
|
__proto__: null,
|
|
5306
5306
|
default: Ce
|
|
5307
5307
|
}, Symbol.toStringTag, { value: "Module" })), Zi = { class: "as-floating-menu" }, Qi = { key: 0 }, er = { key: 1 }, tr = ["onPointerup"], nr = /* @__PURE__ */ C({
|
|
@@ -5311,11 +5311,11 @@ const Ct = {
|
|
|
5311
5311
|
menus: {}
|
|
5312
5312
|
},
|
|
5313
5313
|
setup(t) {
|
|
5314
|
-
const e = t, { $fn: n, $global: o } = e.ujt, a =
|
|
5314
|
+
const e = t, { $fn: n, $global: o } = e.ujt, a = Y(!1);
|
|
5315
5315
|
function s() {
|
|
5316
5316
|
a.value = !a.value;
|
|
5317
5317
|
}
|
|
5318
|
-
const l =
|
|
5318
|
+
const l = q(() => [
|
|
5319
5319
|
{ value: "/", label: n.lg("asai.home"), type: "module" },
|
|
5320
5320
|
{
|
|
5321
5321
|
fn: () => n.changetheme("auto"),
|
|
@@ -5347,12 +5347,12 @@ const Ct = {
|
|
|
5347
5347
|
key: "menu" + f,
|
|
5348
5348
|
class: J(`${c.type === "module" ? "module " : ""}${c.value && i(o).location.hash.includes(c.value) ? "active" : ""}`),
|
|
5349
5349
|
onPointerup: (h) => c.value ? i(n).sethash(c.value) : c?.fn?.()
|
|
5350
|
-
},
|
|
5350
|
+
}, v(f + 1) + ". " + v(c.label || c.value), 43, tr))), 128))
|
|
5351
5351
|
], 2)
|
|
5352
5352
|
])
|
|
5353
5353
|
])) : F("", !0);
|
|
5354
5354
|
}
|
|
5355
|
-
}), or = /* @__PURE__ */
|
|
5355
|
+
}), or = /* @__PURE__ */ B(nr, [["__scopeId", "data-v-8b24c606"]]), ar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5356
5356
|
__proto__: null,
|
|
5357
5357
|
default: or
|
|
5358
5358
|
}, Symbol.toStringTag, { value: "Module" })), sr = { class: "app-menu-area" }, lr = /* @__PURE__ */ C({
|
|
@@ -5367,10 +5367,10 @@ const Ct = {
|
|
|
5367
5367
|
(p(!0), m(I, null, ee(t.menus, (s) => (p(), m("div", {
|
|
5368
5368
|
class: "app-menu",
|
|
5369
5369
|
onPointerdown: a[0] || (a[0] = (l) => i(n).sethash("item.value"))
|
|
5370
|
-
},
|
|
5370
|
+
}, v(s.label), 33))), 256))
|
|
5371
5371
|
]));
|
|
5372
5372
|
}
|
|
5373
|
-
}), ir = /* @__PURE__ */
|
|
5373
|
+
}), ir = /* @__PURE__ */ B(lr, [["__scopeId", "data-v-3324679b"]]), rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5374
5374
|
__proto__: null,
|
|
5375
5375
|
default: ir
|
|
5376
5376
|
}, Symbol.toStringTag, { value: "Module" })), cr = /* @__PURE__ */ C({
|
|
@@ -5384,14 +5384,14 @@ const Ct = {
|
|
|
5384
5384
|
o.getcomp = (r) => {
|
|
5385
5385
|
try {
|
|
5386
5386
|
try {
|
|
5387
|
-
return
|
|
5387
|
+
return ke(n.comps[`./${r}.vue`]);
|
|
5388
5388
|
} catch {
|
|
5389
|
-
return r && r.endsWith("/default") ?
|
|
5389
|
+
return r && r.endsWith("/default") ? ke(
|
|
5390
5390
|
n.comps[`./${r.slice(0, -8)}.vue`]
|
|
5391
|
-
) :
|
|
5391
|
+
) : ke(() => Promise.resolve().then(() => Ue));
|
|
5392
5392
|
}
|
|
5393
5393
|
} catch {
|
|
5394
|
-
return
|
|
5394
|
+
return ke(() => Promise.resolve().then(() => Ue));
|
|
5395
5395
|
}
|
|
5396
5396
|
};
|
|
5397
5397
|
const l = Ae(
|
|
@@ -5401,7 +5401,7 @@ const Ct = {
|
|
|
5401
5401
|
},
|
|
5402
5402
|
{ immediate: !0 }
|
|
5403
5403
|
);
|
|
5404
|
-
return
|
|
5404
|
+
return je(() => {
|
|
5405
5405
|
l && l();
|
|
5406
5406
|
}), (r, d) => (p(), X(pe(i(s).comp), { ujt: t.ujt }, null, 8, ["ujt"]));
|
|
5407
5407
|
}
|
|
@@ -5425,9 +5425,9 @@ const Ct = {
|
|
|
5425
5425
|
}
|
|
5426
5426
|
},
|
|
5427
5427
|
setup(t) {
|
|
5428
|
-
const e = t, n =
|
|
5428
|
+
const e = t, n = Y(null), o = Y(0), a = Y(0), s = Y(0), l = Y(
|
|
5429
5429
|
new Array(e.items.length).fill(Math.round(e.itemHeight))
|
|
5430
|
-
), r = /* @__PURE__ */ new Map(), d =
|
|
5430
|
+
), r = /* @__PURE__ */ new Map(), d = q(() => Math.round(
|
|
5431
5431
|
e.items.reduce(($, y, b) => $ + c(b), 0)
|
|
5432
5432
|
)), c = ($) => $ < 0 || $ >= e.items.length ? 0 : Math.round(l.value[$] ?? e.itemHeight), f = () => {
|
|
5433
5433
|
if (!n.value)
|
|
@@ -5439,11 +5439,11 @@ const Ct = {
|
|
|
5439
5439
|
let b = 0, k = e.items.length;
|
|
5440
5440
|
for (; b < k; ) {
|
|
5441
5441
|
const w = b + k >>> 1;
|
|
5442
|
-
|
|
5442
|
+
g(w) <= $ ? b = w + 1 : k = w;
|
|
5443
5443
|
}
|
|
5444
5444
|
const A = Math.max(0, b - 1), x = Math.ceil(y / e.itemHeight) + e.buffer * 2, L = Math.min(e.items.length, A + x);
|
|
5445
5445
|
return { start: A, end: L };
|
|
5446
|
-
}, h =
|
|
5446
|
+
}, h = q(() => {
|
|
5447
5447
|
const { start: $, end: y } = f();
|
|
5448
5448
|
return e.items.slice($, y).map((b, k) => {
|
|
5449
5449
|
const A = $ + k;
|
|
@@ -5451,10 +5451,10 @@ const Ct = {
|
|
|
5451
5451
|
index: A,
|
|
5452
5452
|
id: b.id || A,
|
|
5453
5453
|
data: b,
|
|
5454
|
-
offset:
|
|
5454
|
+
offset: g(A)
|
|
5455
5455
|
};
|
|
5456
5456
|
});
|
|
5457
|
-
}),
|
|
5457
|
+
}), g = ($) => {
|
|
5458
5458
|
if ($ <= 0) return 0;
|
|
5459
5459
|
if (r.has($)) return r.get($);
|
|
5460
5460
|
let y = $ - 1;
|
|
@@ -5486,7 +5486,7 @@ const Ct = {
|
|
|
5486
5486
|
] : $ < l.value.length && (l.value = l.value.slice(0, $)), r.clear();
|
|
5487
5487
|
}
|
|
5488
5488
|
);
|
|
5489
|
-
}),
|
|
5489
|
+
}), je(() => {
|
|
5490
5490
|
a.value && cancelAnimationFrame(a.value), s.value && clearTimeout(s.value);
|
|
5491
5491
|
}), ($, y) => (p(), m("div", {
|
|
5492
5492
|
class: "virtual-list-container",
|
|
@@ -5509,7 +5509,7 @@ const Ct = {
|
|
|
5509
5509
|
], 4)
|
|
5510
5510
|
], 544));
|
|
5511
5511
|
}
|
|
5512
|
-
}), pr = /* @__PURE__ */
|
|
5512
|
+
}), pr = /* @__PURE__ */ B(dr, [["__scopeId", "data-v-eacff7ee"]]), fr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5513
5513
|
__proto__: null,
|
|
5514
5514
|
default: pr
|
|
5515
5515
|
}, Symbol.toStringTag, { value: "Module" })), mr = /* @__PURE__ */ C({
|
|
@@ -5529,16 +5529,16 @@ const Ct = {
|
|
|
5529
5529
|
}
|
|
5530
5530
|
},
|
|
5531
5531
|
setup(t, { expose: e }) {
|
|
5532
|
-
const n = t, o =
|
|
5532
|
+
const n = t, o = Y(null), a = Y(0), s = Y([]), l = Y(10), r = q(() => n.items.reduce((b, k, A) => b + d(A), 0)), d = (b) => s.value[b] || n.itemHeight, c = q(
|
|
5533
5533
|
() => Math.max(0, _(a.value) - n.buffer)
|
|
5534
|
-
), f =
|
|
5534
|
+
), f = q(
|
|
5535
5535
|
() => Math.min(
|
|
5536
5536
|
n.items.length,
|
|
5537
5537
|
c.value + l.value + n.buffer * 2
|
|
5538
5538
|
)
|
|
5539
|
-
), h =
|
|
5539
|
+
), h = q(
|
|
5540
5540
|
() => n.items.slice(c.value, f.value).map((b, k) => {
|
|
5541
|
-
const A = c.value + k, x =
|
|
5541
|
+
const A = c.value + k, x = g(A);
|
|
5542
5542
|
return {
|
|
5543
5543
|
index: A,
|
|
5544
5544
|
id: b.id || A,
|
|
@@ -5546,11 +5546,11 @@ const Ct = {
|
|
|
5546
5546
|
offset: x
|
|
5547
5547
|
};
|
|
5548
5548
|
})
|
|
5549
|
-
),
|
|
5549
|
+
), g = (b) => n.items.slice(0, b).reduce((k, A, x) => k + d(x), 0), _ = (b) => {
|
|
5550
5550
|
let k = 0, A = n.items.length - 1;
|
|
5551
5551
|
for (; k <= A; ) {
|
|
5552
5552
|
const x = Math.floor((k + A) / 2);
|
|
5553
|
-
|
|
5553
|
+
g(x) <= b ? k = x + 1 : A = x - 1;
|
|
5554
5554
|
}
|
|
5555
5555
|
return A;
|
|
5556
5556
|
}, $ = () => {
|
|
@@ -5569,7 +5569,7 @@ const Ct = {
|
|
|
5569
5569
|
), $();
|
|
5570
5570
|
}), e({
|
|
5571
5571
|
freshVirtualList: () => {
|
|
5572
|
-
|
|
5572
|
+
be(() => {
|
|
5573
5573
|
y();
|
|
5574
5574
|
});
|
|
5575
5575
|
}
|
|
@@ -5595,7 +5595,7 @@ const Ct = {
|
|
|
5595
5595
|
], 4)
|
|
5596
5596
|
], 544));
|
|
5597
5597
|
}
|
|
5598
|
-
}), hr = /* @__PURE__ */
|
|
5598
|
+
}), hr = /* @__PURE__ */ B(mr, [["__scopeId", "data-v-20307bae"]]), gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5599
5599
|
__proto__: null,
|
|
5600
5600
|
default: hr
|
|
5601
5601
|
}, Symbol.toStringTag, { value: "Module" })), vr = /* @__PURE__ */ C({
|
|
@@ -5606,7 +5606,7 @@ const Ct = {
|
|
|
5606
5606
|
setup(t) {
|
|
5607
5607
|
const e = t, { $global: n } = e.ujt;
|
|
5608
5608
|
n.scale = 1;
|
|
5609
|
-
const o =
|
|
5609
|
+
const o = Y(null);
|
|
5610
5610
|
let a = null;
|
|
5611
5611
|
const s = () => {
|
|
5612
5612
|
const r = Math.min(
|
|
@@ -5619,13 +5619,13 @@ const Ct = {
|
|
|
5619
5619
|
requestAnimationFrame(s);
|
|
5620
5620
|
}, 150);
|
|
5621
5621
|
};
|
|
5622
|
-
return n.cmscale =
|
|
5622
|
+
return n.cmscale = q(() => ({
|
|
5623
5623
|
width: n.sys?.zoomwidth ? n.sys.zoomwidth + "px" : "1920px",
|
|
5624
5624
|
height: n.sys?.zoomheight ? n.sys.zoomheight + "px" : "1080px",
|
|
5625
5625
|
transform: `scale(${n.scale}) translate(-50%,-50%)`
|
|
5626
5626
|
})), he(() => {
|
|
5627
|
-
|
|
5628
|
-
}),
|
|
5627
|
+
be(s), window.addEventListener("resize", l);
|
|
5628
|
+
}), $e(() => {
|
|
5629
5629
|
window.removeEventListener("resize", l), clearTimeout(a);
|
|
5630
5630
|
}), (r, d) => (p(), m("div", {
|
|
5631
5631
|
ref_key: "containerRef",
|
|
@@ -5674,12 +5674,12 @@ const Ct = {
|
|
|
5674
5674
|
}, null, 2)) : (p(), m("span", {
|
|
5675
5675
|
key: 1,
|
|
5676
5676
|
class: J(`${t.asaidata.ic > 1 ? "as-form-ico" : ""}${t.asaidata?.rule?.[t.formkey]?.require ? " as-form-ico-require" : ""}`)
|
|
5677
|
-
},
|
|
5677
|
+
}, v(t.asaidata.eq > 2 ? '"' : "") + v(e.asaidata?.lang?.[t.formkey] || t.formkey) + v(t.asaidata.eq > 2 ? '"' : "") + v(t.asaidata.eq ? ":" : ""), 3)),
|
|
5678
5678
|
R(n.$slots, "default", {}, void 0, !0),
|
|
5679
|
-
se(
|
|
5679
|
+
se(v(t.asaidata.eq > 2 ? "," : ""), 1)
|
|
5680
5680
|
]));
|
|
5681
5681
|
}
|
|
5682
|
-
}), kr = /* @__PURE__ */
|
|
5682
|
+
}), kr = /* @__PURE__ */ B($r, [["__scopeId", "data-v-c2ac206b"]]), Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5683
5683
|
__proto__: null,
|
|
5684
5684
|
default: kr
|
|
5685
5685
|
}, Symbol.toStringTag, { value: "Module" })), wr = /* @__PURE__ */ C({
|
|
@@ -5736,7 +5736,7 @@ const Ct = {
|
|
|
5736
5736
|
formkey: {}
|
|
5737
5737
|
},
|
|
5738
5738
|
setup(t) {
|
|
5739
|
-
const e = t, n =
|
|
5739
|
+
const e = t, n = Y(!0);
|
|
5740
5740
|
return (o, a) => {
|
|
5741
5741
|
const s = U("AsaiFormLi");
|
|
5742
5742
|
return typeof e.formdata[t.formkey] == "object" ? (p(), m("div", {
|
|
@@ -5746,8 +5746,8 @@ const Ct = {
|
|
|
5746
5746
|
u("span", {
|
|
5747
5747
|
class: J(`${t.asaidata.ic > 1 ? n.value ? "as-form-ico-close" : "as-form-ico-open" : ""}`),
|
|
5748
5748
|
onPointerdown: a[0] || (a[0] = (l) => n.value = !n.value)
|
|
5749
|
-
},
|
|
5750
|
-
se(" " +
|
|
5749
|
+
}, v(t.asaidata.eq > 2 ? '"' : "") + v(e.asaidata?.lang && e.asaidata?.lang[t.formkey] || t.formkey) + v(t.asaidata.eq > 2 ? '"' : "") + v(t.asaidata.eq ? ":" : ""), 35),
|
|
5750
|
+
se(" " + v(t.asaidata.eq > 1 ? Array.isArray(e.formdata[t.formkey]) ? "[" : "{" : "") + " ", 1),
|
|
5751
5751
|
n.value ? (p(), X(s, {
|
|
5752
5752
|
key: 0,
|
|
5753
5753
|
ujt: t.ujt,
|
|
@@ -5756,7 +5756,7 @@ const Ct = {
|
|
|
5756
5756
|
}, null, 8, ["ujt", "asaidata", "formdata"])) : (p(), m(I, { key: 1 }, [
|
|
5757
5757
|
se("...")
|
|
5758
5758
|
], 64)),
|
|
5759
|
-
se(" " +
|
|
5759
|
+
se(" " + v(t.asaidata.eq > 1 ? Array.isArray(e.formdata[t.formkey]) ? "]" : "}" : "") + v(t.asaidata.eq > 2 ? "," : ""), 1)
|
|
5760
5760
|
], 2)) : F("", !0);
|
|
5761
5761
|
};
|
|
5762
5762
|
}
|
|
@@ -5772,29 +5772,26 @@ const Ct = {
|
|
|
5772
5772
|
formkey: {}
|
|
5773
5773
|
},
|
|
5774
5774
|
setup(t) {
|
|
5775
|
-
const e = t
|
|
5776
|
-
return (
|
|
5777
|
-
const
|
|
5778
|
-
return p(), X(
|
|
5775
|
+
const e = t;
|
|
5776
|
+
return (n, o) => {
|
|
5777
|
+
const a = U("AsfCheck"), s = U("AsfInput"), l = U("AsaiFormLabel");
|
|
5778
|
+
return p(), X(l, {
|
|
5779
5779
|
ujt: t.ujt,
|
|
5780
5780
|
asaidata: t.asaidata,
|
|
5781
5781
|
formdata: t.formdata,
|
|
5782
5782
|
formkey: t.formkey
|
|
5783
5783
|
}, {
|
|
5784
5784
|
default: ie(() => [
|
|
5785
|
-
se(
|
|
5786
|
-
e.asaidata.rule?.[t.formkey]?.type === "checkbox" || typeof e.formdata[t.formkey] == "boolean" ? (p(), X(
|
|
5785
|
+
se(v(typeof e.formdata[t.formkey] == "string" && t.asaidata.eq > 2 ? '"' : "") + " ", 1),
|
|
5786
|
+
e.asaidata.rule?.[t.formkey]?.type === "checkbox" || typeof e.formdata[t.formkey] == "boolean" ? (p(), X(a, {
|
|
5787
5787
|
key: 0,
|
|
5788
5788
|
ujt: t.ujt,
|
|
5789
5789
|
opt: {
|
|
5790
|
-
checkdata: e.asaidata.rule?.[t.formkey]?.checkdata
|
|
5791
|
-
i(n).lang.asai.close,
|
|
5792
|
-
i(n).lang.asai.open
|
|
5793
|
-
]
|
|
5790
|
+
checkdata: e.asaidata.rule?.[t.formkey]?.checkdata
|
|
5794
5791
|
},
|
|
5795
5792
|
modelValue: e.formdata[t.formkey],
|
|
5796
|
-
"onUpdate:modelValue":
|
|
5797
|
-
}, null, 8, ["ujt", "opt", "modelValue"])) : (p(), X(
|
|
5793
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => e.formdata[t.formkey] = r)
|
|
5794
|
+
}, null, 8, ["ujt", "opt", "modelValue"])) : (p(), X(s, {
|
|
5798
5795
|
key: 1,
|
|
5799
5796
|
ujt: t.ujt,
|
|
5800
5797
|
opt: {
|
|
@@ -5803,9 +5800,9 @@ const Ct = {
|
|
|
5803
5800
|
min: e.asaidata.rule?.[t.formkey]?.min
|
|
5804
5801
|
},
|
|
5805
5802
|
modelValue: e.formdata[t.formkey],
|
|
5806
|
-
"onUpdate:modelValue":
|
|
5803
|
+
"onUpdate:modelValue": o[1] || (o[1] = (r) => e.formdata[t.formkey] = r)
|
|
5807
5804
|
}, null, 8, ["ujt", "opt", "modelValue"])),
|
|
5808
|
-
se(" " +
|
|
5805
|
+
se(" " + v(typeof e.formdata[t.formkey] == "string" && t.asaidata.eq > 2 ? '"' : ""), 1)
|
|
5809
5806
|
]),
|
|
5810
5807
|
_: 1
|
|
5811
5808
|
}, 8, ["ujt", "asaidata", "formdata", "formkey"]);
|
|
@@ -5829,7 +5826,7 @@ const Ct = {
|
|
|
5829
5826
|
quality: 0.8
|
|
5830
5827
|
},
|
|
5831
5828
|
imgurls: {}
|
|
5832
|
-
}, a =
|
|
5829
|
+
}, a = Y(null), s = Y(null), l = Y(null), r = Y(e.asaidata?.rule?.[e.formkey]?.editorty || 2);
|
|
5833
5830
|
he(d);
|
|
5834
5831
|
function d() {
|
|
5835
5832
|
s.value && (s.value.innerHTML = e.formdata[e.formkey]);
|
|
@@ -5883,8 +5880,8 @@ const Ct = {
|
|
|
5883
5880
|
if (!O.has(E))
|
|
5884
5881
|
return z.removeAttribute(E);
|
|
5885
5882
|
if (["href", "src"].includes(E)) {
|
|
5886
|
-
const
|
|
5887
|
-
|
|
5883
|
+
const N = f(V, j);
|
|
5884
|
+
N ? z.setAttribute(E, N) : z.removeAttribute(E);
|
|
5888
5885
|
}
|
|
5889
5886
|
});
|
|
5890
5887
|
}), M.body.innerHTML;
|
|
@@ -5913,8 +5910,8 @@ const Ct = {
|
|
|
5913
5910
|
const w = window.prompt("请输入链接地址");
|
|
5914
5911
|
w && x("createLink", w);
|
|
5915
5912
|
}
|
|
5916
|
-
function
|
|
5917
|
-
a.value.accept = `${w}/*`,
|
|
5913
|
+
function g(w) {
|
|
5914
|
+
a.value.accept = `${w}/*`, be(() => a.value?.click());
|
|
5918
5915
|
}
|
|
5919
5916
|
async function _(w) {
|
|
5920
5917
|
const j = w.target.files?.[0];
|
|
@@ -5950,11 +5947,11 @@ const Ct = {
|
|
|
5950
5947
|
try {
|
|
5951
5948
|
const V = Math.min(o.img.maxWidth / O.width, 1);
|
|
5952
5949
|
M.width = V < 1 ? o.img.maxWidth : O.width, M.height = V < 1 ? O.height * V : O.height, z.imageSmoothingEnabled = !0, z.imageSmoothingQuality = "high", z.clearRect(0, 0, M.width, M.height), z.drawImage(O, 0, 0, M.width, M.height);
|
|
5953
|
-
const
|
|
5950
|
+
const N = M.toDataURL(
|
|
5954
5951
|
"image/jpeg",
|
|
5955
5952
|
o.img.quality
|
|
5956
5953
|
);
|
|
5957
|
-
E(), j(
|
|
5954
|
+
E(), j(N);
|
|
5958
5955
|
} catch (V) {
|
|
5959
5956
|
E(), S(V);
|
|
5960
5957
|
}
|
|
@@ -5987,7 +5984,7 @@ const Ct = {
|
|
|
5987
5984
|
s.value && document.execCommand(w, !1, j);
|
|
5988
5985
|
}
|
|
5989
5986
|
function L() {
|
|
5990
|
-
r.value++, r.value > 2 && (r.value = 0),
|
|
5987
|
+
r.value++, r.value > 2 && (r.value = 0), be(d);
|
|
5991
5988
|
}
|
|
5992
5989
|
return (w, j) => (p(), m("div", {
|
|
5993
5990
|
class: "as-richtext-area",
|
|
@@ -5997,20 +5994,20 @@ const Ct = {
|
|
|
5997
5994
|
u("select", {
|
|
5998
5995
|
onChange: j[0] || (j[0] = (S) => x("fontSize", S.target.value))
|
|
5999
5996
|
}, [
|
|
6000
|
-
u("option", Pr,
|
|
5997
|
+
u("option", Pr, v(i(n).lang.richtexteditor.fontsize), 1),
|
|
6001
5998
|
(p(), m(I, null, ee(8, (S) => u("option", {
|
|
6002
5999
|
key: "size" + S,
|
|
6003
6000
|
value: S * (S - 1) + 8
|
|
6004
|
-
},
|
|
6001
|
+
}, v(S * (S - 1) + 8) + "px ", 9, Cr)), 64))
|
|
6005
6002
|
], 32),
|
|
6006
6003
|
u("select", {
|
|
6007
6004
|
onChange: j[1] || (j[1] = (S) => x("formatBlock", S.target.value))
|
|
6008
6005
|
}, [
|
|
6009
|
-
u("option", Or,
|
|
6006
|
+
u("option", Or, v(i(n).lang.richtexteditor.paragraph), 1),
|
|
6010
6007
|
(p(), m(I, null, ee(6, (S) => u("option", {
|
|
6011
6008
|
key: "h" + S,
|
|
6012
6009
|
value: "h" + S
|
|
6013
|
-
},
|
|
6010
|
+
}, v(i(n).lang.richtexteditor.title) + v(S), 9, Ar)), 64))
|
|
6014
6011
|
], 32),
|
|
6015
6012
|
u("button", {
|
|
6016
6013
|
onPointerdown: j[2] || (j[2] = (S) => x("bold")),
|
|
@@ -6075,15 +6072,15 @@ const Ct = {
|
|
|
6075
6072
|
title: "删除链接"
|
|
6076
6073
|
}, " 除 ", 32),
|
|
6077
6074
|
u("button", {
|
|
6078
|
-
onPointerdown: j[17] || (j[17] = (S) =>
|
|
6075
|
+
onPointerdown: j[17] || (j[17] = (S) => g("image")),
|
|
6079
6076
|
title: "图片"
|
|
6080
6077
|
}, "🖼️", 32),
|
|
6081
6078
|
u("button", {
|
|
6082
|
-
onPointerdown: j[18] || (j[18] = (S) =>
|
|
6079
|
+
onPointerdown: j[18] || (j[18] = (S) => g("video")),
|
|
6083
6080
|
title: "视频"
|
|
6084
6081
|
}, "🎬", 32),
|
|
6085
6082
|
u("button", {
|
|
6086
|
-
onPointerdown: j[19] || (j[19] = (S) =>
|
|
6083
|
+
onPointerdown: j[19] || (j[19] = (S) => g("file")),
|
|
6087
6084
|
title: "文件"
|
|
6088
6085
|
}, "📎", 32),
|
|
6089
6086
|
u("button", {
|
|
@@ -6125,7 +6122,7 @@ const Ct = {
|
|
|
6125
6122
|
}, null, 544)
|
|
6126
6123
|
], 4));
|
|
6127
6124
|
}
|
|
6128
|
-
}), Vr = /* @__PURE__ */
|
|
6125
|
+
}), Vr = /* @__PURE__ */ B(Wr, [["__scopeId", "data-v-91fc208c"]]), Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6129
6126
|
__proto__: null,
|
|
6130
6127
|
default: Vr
|
|
6131
6128
|
}, Symbol.toStringTag, { value: "Module" })), Hr = /* @__PURE__ */ C({
|
|
@@ -6137,7 +6134,7 @@ const Ct = {
|
|
|
6137
6134
|
formkey: {}
|
|
6138
6135
|
},
|
|
6139
6136
|
setup(t) {
|
|
6140
|
-
const e = t, { $fn: n } = e.ujt, o =
|
|
6137
|
+
const e = t, { $fn: n } = e.ujt, o = q(() => Object.entries(
|
|
6141
6138
|
e.asaidata?.lang && e.asaidata?.lang[e.formkey + "data"] || e.asaidata?.rule?.[e.formkey]?.[e.formkey + "data"] || n.lg(e.asaidata?.rule?.[e.formkey]?.data) || {}
|
|
6142
6139
|
));
|
|
6143
6140
|
return (a, s) => {
|
|
@@ -6172,7 +6169,7 @@ const Ct = {
|
|
|
6172
6169
|
formkey: {}
|
|
6173
6170
|
},
|
|
6174
6171
|
setup(t) {
|
|
6175
|
-
const e = t, { $fn: n, $global: o, $model: a } = e.ujt, s =
|
|
6172
|
+
const e = t, { $fn: n, $global: o, $model: a } = e.ujt, s = Y(null), l = Y(null), r = Y("+"), d = async (f) => {
|
|
6176
6173
|
if (s.value.value) {
|
|
6177
6174
|
if (l.value = f.target.files[0], s.value.value = "", !l.value) {
|
|
6178
6175
|
r.value = n.lg("asai.fail");
|
|
@@ -6194,8 +6191,8 @@ const Ct = {
|
|
|
6194
6191
|
s.value.click();
|
|
6195
6192
|
}
|
|
6196
6193
|
return (f, h) => {
|
|
6197
|
-
const
|
|
6198
|
-
return p(), X(
|
|
6194
|
+
const g = U("AsaiFormLabel");
|
|
6195
|
+
return p(), X(g, {
|
|
6199
6196
|
ujt: t.ujt,
|
|
6200
6197
|
asaidata: t.asaidata,
|
|
6201
6198
|
formdata: t.formdata,
|
|
@@ -6232,19 +6229,19 @@ const Ct = {
|
|
|
6232
6229
|
key: 1,
|
|
6233
6230
|
class: "as-upload-tit",
|
|
6234
6231
|
title: e.formdata[t.formkey]
|
|
6235
|
-
},
|
|
6232
|
+
}, v(e.formdata[t.formkey]), 9, Yr))
|
|
6236
6233
|
])) : (p(), m("div", {
|
|
6237
6234
|
key: 1,
|
|
6238
6235
|
class: J(r.value === "+" ? "" : "as-upload-tit"),
|
|
6239
6236
|
title: r.value
|
|
6240
|
-
},
|
|
6237
|
+
}, v(r.value), 11, Xr))
|
|
6241
6238
|
], 32)
|
|
6242
6239
|
]),
|
|
6243
6240
|
_: 1
|
|
6244
6241
|
}, 8, ["ujt", "asaidata", "formdata", "formkey"]);
|
|
6245
6242
|
};
|
|
6246
6243
|
}
|
|
6247
|
-
}), Jr = /* @__PURE__ */
|
|
6244
|
+
}), Jr = /* @__PURE__ */ B(Kr, [["__scopeId", "data-v-fb6a0b19"]]), tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6248
6245
|
__proto__: null,
|
|
6249
6246
|
default: Jr
|
|
6250
6247
|
}, Symbol.toStringTag, { value: "Module" })), Gr = { key: 0 }, Zr = ["src", "alt", "title"], Qr = ["title"], ec = ["title"], tc = ["accept"], nc = /* @__PURE__ */ C({
|
|
@@ -6256,7 +6253,7 @@ const Ct = {
|
|
|
6256
6253
|
formkey: {}
|
|
6257
6254
|
},
|
|
6258
6255
|
setup(t) {
|
|
6259
|
-
const e = t, { $fn: n, $global: o, $model: a } = e.ujt, s =
|
|
6256
|
+
const e = t, { $fn: n, $global: o, $model: a } = e.ujt, s = Y(null), l = Y(null), r = Y("+"), d = async (f) => {
|
|
6260
6257
|
if (s.value.value) {
|
|
6261
6258
|
if (l.value = f.target.files[0], s.value.value = "", !l.value) {
|
|
6262
6259
|
r.value = n.lg("asai.fail");
|
|
@@ -6264,11 +6261,11 @@ const Ct = {
|
|
|
6264
6261
|
}
|
|
6265
6262
|
const h = new FileReader();
|
|
6266
6263
|
h.onload = async () => {
|
|
6267
|
-
const
|
|
6264
|
+
const g = h.result.split(",")[1];
|
|
6268
6265
|
try {
|
|
6269
6266
|
n.api.webserver.apiPost(
|
|
6270
6267
|
"/api/asaifile/manage/upbase64/?path=" + o.sys.path.updir + n.As.getName(l.value.name),
|
|
6271
|
-
|
|
6268
|
+
g,
|
|
6272
6269
|
{
|
|
6273
6270
|
headers: {
|
|
6274
6271
|
"Content-Type": "application/json"
|
|
@@ -6287,8 +6284,8 @@ const Ct = {
|
|
|
6287
6284
|
s.value.click();
|
|
6288
6285
|
}
|
|
6289
6286
|
return (f, h) => {
|
|
6290
|
-
const
|
|
6291
|
-
return p(), X(
|
|
6287
|
+
const g = U("AsaiFormLabel");
|
|
6288
|
+
return p(), X(g, {
|
|
6292
6289
|
ujt: t.ujt,
|
|
6293
6290
|
asaidata: t.asaidata,
|
|
6294
6291
|
formdata: t.formdata,
|
|
@@ -6309,12 +6306,12 @@ const Ct = {
|
|
|
6309
6306
|
key: 1,
|
|
6310
6307
|
class: "as-upload-tit",
|
|
6311
6308
|
title: e.formdata[t.formkey]
|
|
6312
|
-
},
|
|
6309
|
+
}, v(e.formdata[t.formkey]), 9, Qr))
|
|
6313
6310
|
])) : (p(), m("div", {
|
|
6314
6311
|
key: 1,
|
|
6315
6312
|
class: J(r.value === "+" ? "" : "as-upload-tit"),
|
|
6316
6313
|
title: r.value
|
|
6317
|
-
},
|
|
6314
|
+
}, v(r.value), 11, ec))
|
|
6318
6315
|
], 32),
|
|
6319
6316
|
t.asaidata?.rule?.[t.formkey]?.accept ? (p(), m("input", {
|
|
6320
6317
|
key: 0,
|
|
@@ -6337,7 +6334,7 @@ const Ct = {
|
|
|
6337
6334
|
}, 8, ["ujt", "asaidata", "formdata", "formkey"]);
|
|
6338
6335
|
};
|
|
6339
6336
|
}
|
|
6340
|
-
}), oc = /* @__PURE__ */
|
|
6337
|
+
}), oc = /* @__PURE__ */ B(nc, [["__scopeId", "data-v-eb4b381f"]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6341
6338
|
__proto__: null,
|
|
6342
6339
|
default: oc
|
|
6343
6340
|
}, Symbol.toStringTag, { value: "Module" })), ac = { key: 0 }, sc = ["src"], lc = ["title"], ic = /* @__PURE__ */ C({
|
|
@@ -6349,7 +6346,7 @@ const Ct = {
|
|
|
6349
6346
|
formkey: {}
|
|
6350
6347
|
},
|
|
6351
6348
|
setup(t) {
|
|
6352
|
-
const e = t, { $fn: n, $global: o } = e.ujt, a =
|
|
6349
|
+
const e = t, { $fn: n, $global: o } = e.ujt, a = Y(null), s = Y(null), l = Y("+"), r = async (f) => {
|
|
6353
6350
|
if (a.value.value) {
|
|
6354
6351
|
if (s.value = f.target.files[0], a.value.value = "", !s.value) {
|
|
6355
6352
|
l.value = n.lg("asai.fail");
|
|
@@ -6363,12 +6360,12 @@ const Ct = {
|
|
|
6363
6360
|
asaidata: e.asaidata,
|
|
6364
6361
|
formdata: e.formdata,
|
|
6365
6362
|
formkey: e.formkey,
|
|
6366
|
-
fn: (
|
|
6367
|
-
e.formdata[e.formkey] =
|
|
6363
|
+
fn: (g) => {
|
|
6364
|
+
e.formdata[e.formkey] = g, o.pop.popupload.stat = 0;
|
|
6368
6365
|
}
|
|
6369
6366
|
}), l.value = "";
|
|
6370
|
-
} catch (
|
|
6371
|
-
l.value = n.lg("asai.fail") + " " +
|
|
6367
|
+
} catch (g) {
|
|
6368
|
+
l.value = n.lg("asai.fail") + " " + g.message;
|
|
6372
6369
|
}
|
|
6373
6370
|
}, h.readAsDataURL(s.value);
|
|
6374
6371
|
}
|
|
@@ -6380,9 +6377,9 @@ const Ct = {
|
|
|
6380
6377
|
o.pop.popupload.stat = 1, o.pop.popupload.tit = n.lg("asai.upload"), o.pop.popupload.params = f;
|
|
6381
6378
|
}
|
|
6382
6379
|
return (f, h) => {
|
|
6383
|
-
const
|
|
6380
|
+
const g = U("AsaiUploadImgCutPop"), _ = U("AsaiFormLabel");
|
|
6384
6381
|
return p(), m(I, null, [
|
|
6385
|
-
W(
|
|
6382
|
+
W(g, { ujt: t.ujt }, null, 8, ["ujt"]),
|
|
6386
6383
|
W(_, {
|
|
6387
6384
|
ujt: t.ujt,
|
|
6388
6385
|
asaidata: t.asaidata,
|
|
@@ -6402,7 +6399,7 @@ const Ct = {
|
|
|
6402
6399
|
key: 1,
|
|
6403
6400
|
class: J(l.value === "+" ? "" : "as-upload-tit"),
|
|
6404
6401
|
title: l.value
|
|
6405
|
-
},
|
|
6402
|
+
}, v(l.value), 11, lc))
|
|
6406
6403
|
], 32),
|
|
6407
6404
|
u("input", {
|
|
6408
6405
|
accept: "image/*",
|
|
@@ -6418,7 +6415,7 @@ const Ct = {
|
|
|
6418
6415
|
], 64);
|
|
6419
6416
|
};
|
|
6420
6417
|
}
|
|
6421
|
-
}), rc = /* @__PURE__ */
|
|
6418
|
+
}), rc = /* @__PURE__ */ B(ic, [["__scopeId", "data-v-75020c8e"]]), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6422
6419
|
__proto__: null,
|
|
6423
6420
|
default: rc
|
|
6424
6421
|
}, Symbol.toStringTag, { value: "Module" })), cc = { class: "as-img-area" }, uc = {
|
|
@@ -6431,14 +6428,14 @@ const Ct = {
|
|
|
6431
6428
|
params: {}
|
|
6432
6429
|
},
|
|
6433
6430
|
setup(t) {
|
|
6434
|
-
const e = t, { $fn: n } = e.ujt, o =
|
|
6431
|
+
const e = t, { $fn: n } = e.ujt, o = Y(""), a = Y(null), s = Y(null), l = Y(null), r = Y({
|
|
6435
6432
|
x: 0,
|
|
6436
6433
|
y: 0,
|
|
6437
6434
|
width: 0,
|
|
6438
6435
|
height: 0,
|
|
6439
6436
|
maxWidth: 0,
|
|
6440
6437
|
maxHeight: 0
|
|
6441
|
-
}), d =
|
|
6438
|
+
}), d = Y({
|
|
6442
6439
|
type: null,
|
|
6443
6440
|
startX: 0,
|
|
6444
6441
|
startY: 0,
|
|
@@ -6447,11 +6444,11 @@ const Ct = {
|
|
|
6447
6444
|
originalWidth: 0,
|
|
6448
6445
|
originalHeight: 0,
|
|
6449
6446
|
direction: null
|
|
6450
|
-
}), c =
|
|
6447
|
+
}), c = q(() => ({
|
|
6451
6448
|
transform: `translate(${r.value.x}px, ${r.value.y}px)`,
|
|
6452
6449
|
width: `${r.value.width}px`,
|
|
6453
6450
|
height: `${r.value.height}px`
|
|
6454
|
-
})), f =
|
|
6451
|
+
})), f = q(
|
|
6455
6452
|
() => r.value.width > 0 && r.value.height > 0
|
|
6456
6453
|
), h = () => {
|
|
6457
6454
|
const x = a.value, L = l.value;
|
|
@@ -6468,7 +6465,7 @@ const Ct = {
|
|
|
6468
6465
|
maxWidth: w,
|
|
6469
6466
|
maxHeight: j
|
|
6470
6467
|
}, console.log("Initial crop params:", r.value);
|
|
6471
|
-
},
|
|
6468
|
+
}, g = (x, L = null) => {
|
|
6472
6469
|
console.log("Interaction started:", x, L);
|
|
6473
6470
|
const w = window.event || w, j = w.touches ? w.touches[0] : w;
|
|
6474
6471
|
d.value = {
|
|
@@ -6555,7 +6552,7 @@ const Ct = {
|
|
|
6555
6552
|
0,
|
|
6556
6553
|
j,
|
|
6557
6554
|
S
|
|
6558
|
-
), o.value = O.toDataURL("image/png", 0.9), e.params.asaidata?.rule?.[e.params?.formkey]?.data &&
|
|
6555
|
+
), o.value = O.toDataURL("image/png", 0.9), e.params.asaidata?.rule?.[e.params?.formkey]?.data && be(() => {
|
|
6559
6556
|
let z = e.params.asaidata.rule[e.params.formkey].data, P = {};
|
|
6560
6557
|
if (z.width < j || z.height < S) {
|
|
6561
6558
|
z.height / S > z.width / j ? (P.width = z.width, P.height = S * z.width / j) : (P.width = j * z.height / S, P.height = z.height);
|
|
@@ -6591,28 +6588,28 @@ const Ct = {
|
|
|
6591
6588
|
G(u("div", {
|
|
6592
6589
|
class: "as-img-crop-box",
|
|
6593
6590
|
style: Z(c.value),
|
|
6594
|
-
onMousedown: L[8] || (L[8] = H((w) =>
|
|
6595
|
-
onTouchstart: L[9] || (L[9] = H((w) =>
|
|
6591
|
+
onMousedown: L[8] || (L[8] = H((w) => g("move"), ["prevent"])),
|
|
6592
|
+
onTouchstart: L[9] || (L[9] = H((w) => g("move"), ["prevent"]))
|
|
6596
6593
|
}, [
|
|
6597
6594
|
u("div", {
|
|
6598
6595
|
class: "as-img-crop-handle top-left",
|
|
6599
|
-
onMousedown: L[0] || (L[0] = H((w) =>
|
|
6600
|
-
onTouchstart: L[1] || (L[1] = H((w) =>
|
|
6596
|
+
onMousedown: L[0] || (L[0] = H((w) => g("resize", "tl"), ["stop"])),
|
|
6597
|
+
onTouchstart: L[1] || (L[1] = H((w) => g("resize", "tl"), ["stop"]))
|
|
6601
6598
|
}, null, 32),
|
|
6602
6599
|
u("div", {
|
|
6603
6600
|
class: "as-img-crop-handle top-right",
|
|
6604
|
-
onMousedown: L[2] || (L[2] = H((w) =>
|
|
6605
|
-
onTouchstart: L[3] || (L[3] = H((w) =>
|
|
6601
|
+
onMousedown: L[2] || (L[2] = H((w) => g("resize", "tr"), ["stop"])),
|
|
6602
|
+
onTouchstart: L[3] || (L[3] = H((w) => g("resize", "tr"), ["stop"]))
|
|
6606
6603
|
}, null, 32),
|
|
6607
6604
|
u("div", {
|
|
6608
6605
|
class: "as-img-crop-handle bottom-left",
|
|
6609
|
-
onMousedown: L[4] || (L[4] = H((w) =>
|
|
6610
|
-
onTouchstart: L[5] || (L[5] = H((w) =>
|
|
6606
|
+
onMousedown: L[4] || (L[4] = H((w) => g("resize", "bl"), ["stop"])),
|
|
6607
|
+
onTouchstart: L[5] || (L[5] = H((w) => g("resize", "bl"), ["stop"]))
|
|
6611
6608
|
}, null, 32),
|
|
6612
6609
|
u("div", {
|
|
6613
6610
|
class: "as-img-crop-handle bottom-right",
|
|
6614
|
-
onMousedown: L[6] || (L[6] = H((w) =>
|
|
6615
|
-
onTouchstart: L[7] || (L[7] = H((w) =>
|
|
6611
|
+
onMousedown: L[6] || (L[6] = H((w) => g("resize", "br"), ["stop"])),
|
|
6612
|
+
onTouchstart: L[7] || (L[7] = H((w) => g("resize", "br"), ["stop"]))
|
|
6616
6613
|
}, null, 32)
|
|
6617
6614
|
], 36), [
|
|
6618
6615
|
[Ee, f.value]
|
|
@@ -6629,7 +6626,7 @@ const Ct = {
|
|
|
6629
6626
|
])
|
|
6630
6627
|
]));
|
|
6631
6628
|
}
|
|
6632
|
-
}), hc = /* @__PURE__ */
|
|
6629
|
+
}), hc = /* @__PURE__ */ B(mc, [["__scopeId", "data-v-d81428c2"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6633
6630
|
__proto__: null,
|
|
6634
6631
|
default: hc
|
|
6635
6632
|
}, Symbol.toStringTag, { value: "Module" })), gc = /* @__PURE__ */ C({
|
|
@@ -6690,11 +6687,11 @@ const Ct = {
|
|
|
6690
6687
|
o[a(l) || l] = o[l], delete o[l];
|
|
6691
6688
|
e.asaidata.comp ? Object.assign(e.asaidata.comp, o) : e.asaidata.comp = { ...o };
|
|
6692
6689
|
function s(l) {
|
|
6693
|
-
return l?.default ? l.default :
|
|
6690
|
+
return l?.default ? l.default : ke(l);
|
|
6694
6691
|
}
|
|
6695
6692
|
return e.asaidata.cmComp = (l) => (n[l] || (e.asaidata?.rule?.[l]?.comp && e.asaidata.comp[e.asaidata.rule[l].comp] ? n[l] = s(
|
|
6696
6693
|
e.asaidata.comp[e.asaidata.rule[l].comp]
|
|
6697
|
-
) : e.asaidata.comp[l] ? n[l] = s(e.asaidata.comp[l]) : l === "object" && e.asaidata.comp && e.asaidata.comp.object && (n[l] = s(e.asaidata.comp.object))), n[l]),
|
|
6694
|
+
) : e.asaidata.comp[l] ? n[l] = s(e.asaidata.comp[l]) : l === "object" && e.asaidata.comp && e.asaidata.comp.object && (n[l] = s(e.asaidata.comp.object))), n[l]), $e(() => {
|
|
6698
6695
|
n = null;
|
|
6699
6696
|
}), (l, r) => {
|
|
6700
6697
|
const d = U("AsaiFormLi");
|
|
@@ -6716,36 +6713,39 @@ const Ct = {
|
|
|
6716
6713
|
},
|
|
6717
6714
|
emits: ["update:modelValue"],
|
|
6718
6715
|
setup(t, { emit: e }) {
|
|
6716
|
+
ge((c) => ({
|
|
6717
|
+
v36b8c580: r.value
|
|
6718
|
+
}));
|
|
6719
6719
|
const n = t, { $global: o } = n.ujt, a = e;
|
|
6720
|
-
let s =
|
|
6720
|
+
let s = q({
|
|
6721
6721
|
get() {
|
|
6722
6722
|
return n.modelValue;
|
|
6723
6723
|
},
|
|
6724
|
-
set(
|
|
6725
|
-
a("update:modelValue",
|
|
6724
|
+
set(c) {
|
|
6725
|
+
a("update:modelValue", c);
|
|
6726
6726
|
}
|
|
6727
6727
|
});
|
|
6728
|
-
const l =
|
|
6729
|
-
o
|
|
6730
|
-
o
|
|
6731
|
-
]);
|
|
6732
|
-
function
|
|
6728
|
+
const l = q(() => n.opt?.checkdata || [
|
|
6729
|
+
o?.lang?.asai?.off || "off",
|
|
6730
|
+
o?.lang?.asai?.on || "on"
|
|
6731
|
+
]), r = q(() => n?.opt?.height || "var(--fs2)");
|
|
6732
|
+
function d(c) {
|
|
6733
6733
|
s.value == !1 ? s.value = !0 : s.value = !1;
|
|
6734
6734
|
}
|
|
6735
|
-
return (
|
|
6735
|
+
return (c, f) => (p(), m("div", {
|
|
6736
6736
|
class: J(`asf-check${i(s) ? "-ck" : ""}`),
|
|
6737
6737
|
style: Z(n.opt?.style || {}),
|
|
6738
|
-
onClick:
|
|
6738
|
+
onClick: d
|
|
6739
6739
|
}, [
|
|
6740
6740
|
u("div", {
|
|
6741
6741
|
class: J(`asf-check-ico${i(s) ? "-ck" : ""}`)
|
|
6742
6742
|
}, null, 2),
|
|
6743
6743
|
u("div", {
|
|
6744
6744
|
class: J(`asf-check-txt${i(s) ? "-ck" : ""}`)
|
|
6745
|
-
},
|
|
6745
|
+
}, v(i(s) ? l.value?.[1] : l.value?.[0]), 3)
|
|
6746
6746
|
], 6));
|
|
6747
6747
|
}
|
|
6748
|
-
}), _c = /* @__PURE__ */
|
|
6748
|
+
}), _c = /* @__PURE__ */ B(bc, [["__scopeId", "data-v-702347fb"]]), $c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6749
6749
|
__proto__: null,
|
|
6750
6750
|
default: _c
|
|
6751
6751
|
}, Symbol.toStringTag, { value: "Module" })), kc = {
|
|
@@ -6766,22 +6766,26 @@ const Ct = {
|
|
|
6766
6766
|
},
|
|
6767
6767
|
emits: ["update:modelValue"],
|
|
6768
6768
|
setup(t, { emit: e }) {
|
|
6769
|
+
ge((l) => ({
|
|
6770
|
+
v7800f5ef: s.value
|
|
6771
|
+
}));
|
|
6769
6772
|
const n = t, o = e;
|
|
6770
|
-
let a =
|
|
6773
|
+
let a = q({
|
|
6771
6774
|
get() {
|
|
6772
6775
|
return n.modelValue;
|
|
6773
6776
|
},
|
|
6774
|
-
set(
|
|
6775
|
-
o("update:modelValue",
|
|
6777
|
+
set(l) {
|
|
6778
|
+
o("update:modelValue", l);
|
|
6776
6779
|
}
|
|
6777
6780
|
});
|
|
6778
|
-
|
|
6781
|
+
const s = q(() => n?.opt?.height || "var(--fs2)");
|
|
6782
|
+
return (l, r) => t.opt?.max ? (p(), m("div", kc, [
|
|
6779
6783
|
G(u("input", {
|
|
6780
6784
|
style: Z(n.opt?.style || {}),
|
|
6781
6785
|
type: t.opt?.type || "number",
|
|
6782
6786
|
max: t.opt?.max,
|
|
6783
6787
|
min: t.opt?.min || 0,
|
|
6784
|
-
"onUpdate:modelValue":
|
|
6788
|
+
"onUpdate:modelValue": r[0] || (r[0] = (d) => Pe(a) ? a.value = d : a = d)
|
|
6785
6789
|
}, null, 12, wc), [
|
|
6786
6790
|
[Te, i(a)]
|
|
6787
6791
|
])
|
|
@@ -6790,7 +6794,7 @@ const Ct = {
|
|
|
6790
6794
|
style: Z(n.opt?.style || {}),
|
|
6791
6795
|
type: t.opt?.type || "text",
|
|
6792
6796
|
maxlength: t.opt?.maxlength,
|
|
6793
|
-
"onUpdate:modelValue":
|
|
6797
|
+
"onUpdate:modelValue": r[1] || (r[1] = (d) => Pe(a) ? a.value = d : a = d)
|
|
6794
6798
|
}, null, 12, xc), [
|
|
6795
6799
|
[Te, i(a)]
|
|
6796
6800
|
])
|
|
@@ -6798,16 +6802,19 @@ const Ct = {
|
|
|
6798
6802
|
G(u("input", {
|
|
6799
6803
|
style: Z(n.opt?.style || {}),
|
|
6800
6804
|
type: t.opt?.type || "text",
|
|
6801
|
-
"onUpdate:modelValue":
|
|
6805
|
+
"onUpdate:modelValue": r[2] || (r[2] = (d) => Pe(a) ? a.value = d : a = d)
|
|
6802
6806
|
}, null, 12, Pc), [
|
|
6803
6807
|
[Te, i(a)]
|
|
6804
6808
|
])
|
|
6805
6809
|
]));
|
|
6806
6810
|
}
|
|
6807
|
-
}), Oc = /* @__PURE__ */
|
|
6811
|
+
}), Oc = /* @__PURE__ */ B(Cc, [["__scopeId", "data-v-2ec76414"]]), Ac = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6808
6812
|
__proto__: null,
|
|
6809
6813
|
default: Oc
|
|
6810
|
-
}, Symbol.toStringTag, { value: "Module" })), Mc = { class: "asf-select" }, Tc = { class: "asf-select-cur-val" }, zc = { class: "asf-select-list-area" }, Lc =
|
|
6814
|
+
}, Symbol.toStringTag, { value: "Module" })), Mc = { class: "asf-select" }, Tc = { class: "asf-select-cur-val" }, zc = { class: "asf-select-list-area" }, Lc = {
|
|
6815
|
+
key: 0,
|
|
6816
|
+
class: "asf-select-list"
|
|
6817
|
+
}, Uc = { class: "asf-select-empty" }, Ec = ["data-val"], Ic = /* @__PURE__ */ C({
|
|
6811
6818
|
__name: "AsfSelect",
|
|
6812
6819
|
props: {
|
|
6813
6820
|
ujt: {},
|
|
@@ -6816,48 +6823,61 @@ const Ct = {
|
|
|
6816
6823
|
},
|
|
6817
6824
|
emits: ["update:modelValue"],
|
|
6818
6825
|
setup(t, { emit: e }) {
|
|
6819
|
-
|
|
6820
|
-
|
|
6826
|
+
ge((f) => ({
|
|
6827
|
+
v1ad5d886: l.value
|
|
6828
|
+
}));
|
|
6829
|
+
const n = t, { $global: o } = n.ujt, a = e;
|
|
6830
|
+
let s = q({
|
|
6821
6831
|
get() {
|
|
6822
6832
|
return n.modelValue;
|
|
6823
6833
|
},
|
|
6824
|
-
set(
|
|
6825
|
-
|
|
6834
|
+
set(f) {
|
|
6835
|
+
a("update:modelValue", f);
|
|
6826
6836
|
}
|
|
6827
6837
|
});
|
|
6828
|
-
|
|
6829
|
-
|
|
6838
|
+
const l = q(() => n?.opt?.height || "var(--fs2)"), r = me({
|
|
6839
|
+
up: !1
|
|
6840
|
+
});
|
|
6841
|
+
function d(f) {
|
|
6842
|
+
f.clientY > 299 ? r.up = !0 : r.up = !1;
|
|
6830
6843
|
}
|
|
6831
|
-
|
|
6844
|
+
function c(f) {
|
|
6845
|
+
typeof s.value == "number" ? s.value = +(f.target?.dataset?.val || 0) : s.value = f.target?.dataset?.val;
|
|
6846
|
+
}
|
|
6847
|
+
return (f, h) => (p(), m("div", Mc, [
|
|
6832
6848
|
u("div", {
|
|
6833
6849
|
class: "asf-select-cur",
|
|
6834
6850
|
tabindex: "0",
|
|
6835
|
-
style: Z(n.opt?.style || {})
|
|
6851
|
+
style: Z(n.opt?.style || {}),
|
|
6852
|
+
onPointerdown: d
|
|
6836
6853
|
}, [
|
|
6837
|
-
u("div", Tc,
|
|
6838
|
-
(
|
|
6839
|
-
)?.[1] || ""), 1),
|
|
6840
|
-
|
|
6841
|
-
],
|
|
6854
|
+
u("div", Tc, v(n.opt?.selectdata?.find(
|
|
6855
|
+
(g) => g[0] == i(s)
|
|
6856
|
+
)?.[1] || i(o).lang.asai.select || ""), 1),
|
|
6857
|
+
h[0] || (h[0] = u("div", { class: "asf-select-cur-ic" }, null, -1))
|
|
6858
|
+
], 36),
|
|
6842
6859
|
u("div", zc, [
|
|
6843
|
-
|
|
6844
|
-
|
|
6860
|
+
n.opt?.selectdata?.length ? (p(), m("div", {
|
|
6861
|
+
key: 1,
|
|
6862
|
+
class: J(`asf-select-list${n.opt?.selectdata?.length > 10 ? "2" : n.opt?.selectdata?.length > 2 ? "1" : ""}${r.up ? " asf-select-up" : ""}`),
|
|
6845
6863
|
style: Z(n.opt?.stylelist || {}),
|
|
6846
|
-
onPointerdown:
|
|
6864
|
+
onPointerdown: c
|
|
6847
6865
|
}, [
|
|
6848
|
-
(p(!0), m(I, null, ee(n.opt?.selectdata, (
|
|
6849
|
-
class: J(`asf-select-li${i(
|
|
6850
|
-
"data-val":
|
|
6851
|
-
key: "sel" +
|
|
6852
|
-
}, g
|
|
6853
|
-
],
|
|
6866
|
+
(p(!0), m(I, null, ee(n.opt?.selectdata, (g) => (p(), m("div", {
|
|
6867
|
+
class: J(`asf-select-li${i(s) == g[0] ? "-active" : ""}`),
|
|
6868
|
+
"data-val": g[0],
|
|
6869
|
+
key: "sel" + g[0]
|
|
6870
|
+
}, v(g[1]), 11, Ec))), 128))
|
|
6871
|
+
], 38)) : (p(), m("div", Lc, [
|
|
6872
|
+
u("div", Uc, v(i(o).lang.asai.empty), 1)
|
|
6873
|
+
]))
|
|
6854
6874
|
])
|
|
6855
6875
|
]));
|
|
6856
6876
|
}
|
|
6857
|
-
}),
|
|
6877
|
+
}), Dc = /* @__PURE__ */ B(Ic, [["__scopeId", "data-v-cab8fae5"]]), Rc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6858
6878
|
__proto__: null,
|
|
6859
|
-
default:
|
|
6860
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6879
|
+
default: Dc
|
|
6880
|
+
}, Symbol.toStringTag, { value: "Module" })), Fc = { class: "asf-textarea" }, Wc = ["placeholder", "readonly"], Vc = /* @__PURE__ */ C({
|
|
6861
6881
|
__name: "AsfTextarea",
|
|
6862
6882
|
props: {
|
|
6863
6883
|
ujt: {},
|
|
@@ -6866,36 +6886,40 @@ const Ct = {
|
|
|
6866
6886
|
},
|
|
6867
6887
|
emits: ["update:modelValue"],
|
|
6868
6888
|
setup(t, { emit: e }) {
|
|
6889
|
+
ge((l) => ({
|
|
6890
|
+
v6d5ab1f9: s.value
|
|
6891
|
+
}));
|
|
6869
6892
|
const n = t, o = e;
|
|
6870
|
-
let a =
|
|
6893
|
+
let a = q({
|
|
6871
6894
|
get() {
|
|
6872
6895
|
return n.modelValue;
|
|
6873
6896
|
},
|
|
6874
|
-
set(
|
|
6875
|
-
o("update:modelValue",
|
|
6897
|
+
set(l) {
|
|
6898
|
+
o("update:modelValue", l);
|
|
6876
6899
|
}
|
|
6877
6900
|
});
|
|
6878
|
-
|
|
6901
|
+
const s = q(() => n?.opt?.height || "var(--fs2)");
|
|
6902
|
+
return (l, r) => (p(), m("div", Fc, [
|
|
6879
6903
|
G(u("textarea", {
|
|
6880
6904
|
style: Z(n.opt?.style || {}),
|
|
6881
|
-
"onUpdate:modelValue":
|
|
6905
|
+
"onUpdate:modelValue": r[0] || (r[0] = (d) => Pe(a) ? a.value = d : a = d),
|
|
6882
6906
|
placeholder: t.opt?.placeholder,
|
|
6883
6907
|
readonly: !!t.opt?.readonly
|
|
6884
|
-
}, null, 12,
|
|
6908
|
+
}, null, 12, Wc), [
|
|
6885
6909
|
[ue, i(a)]
|
|
6886
6910
|
])
|
|
6887
6911
|
]));
|
|
6888
6912
|
}
|
|
6889
|
-
}),
|
|
6913
|
+
}), Hc = /* @__PURE__ */ B(Vc, [["__scopeId", "data-v-a16fb158"]]), qc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6890
6914
|
__proto__: null,
|
|
6891
|
-
default:
|
|
6892
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6915
|
+
default: Hc
|
|
6916
|
+
}, Symbol.toStringTag, { value: "Module" })), Bc = { class: "as-page-area" }, Nc = { class: "as-page-icon" }, Yc = {
|
|
6893
6917
|
class: "ico",
|
|
6894
6918
|
style: { "background-color": "var(--cz0)" }
|
|
6895
|
-
},
|
|
6919
|
+
}, Xc = {
|
|
6896
6920
|
class: "tit",
|
|
6897
6921
|
style: { color: "var(--cz8)" }
|
|
6898
|
-
},
|
|
6922
|
+
}, Kc = /* @__PURE__ */ C({
|
|
6899
6923
|
__name: "PageErr",
|
|
6900
6924
|
props: {
|
|
6901
6925
|
ujt: {}
|
|
@@ -6904,7 +6928,7 @@ const Ct = {
|
|
|
6904
6928
|
const e = window;
|
|
6905
6929
|
return (n, o) => {
|
|
6906
6930
|
const a = U("AsSvg");
|
|
6907
|
-
return p(), m("div",
|
|
6931
|
+
return p(), m("div", Bc, [
|
|
6908
6932
|
u("div", null, [
|
|
6909
6933
|
o[0] || (o[0] = u("div", null, [
|
|
6910
6934
|
u("img", {
|
|
@@ -6912,24 +6936,24 @@ const Ct = {
|
|
|
6912
6936
|
width: "200"
|
|
6913
6937
|
})
|
|
6914
6938
|
], -1)),
|
|
6915
|
-
u("div",
|
|
6916
|
-
u("div",
|
|
6939
|
+
u("div", Nc, [
|
|
6940
|
+
u("div", Yc, [
|
|
6917
6941
|
W(a, {
|
|
6918
6942
|
color: "var(--cz8)",
|
|
6919
6943
|
height: "88px",
|
|
6920
6944
|
src: "asai/page"
|
|
6921
6945
|
})
|
|
6922
6946
|
]),
|
|
6923
|
-
u("div",
|
|
6947
|
+
u("div", Xc, v(i(e).$GYS.$webmodel.lang[i(e).$GYS.$webmodel.lang.langty].pageerr), 1)
|
|
6924
6948
|
])
|
|
6925
6949
|
])
|
|
6926
6950
|
]);
|
|
6927
6951
|
};
|
|
6928
6952
|
}
|
|
6929
|
-
}),
|
|
6953
|
+
}), Jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6930
6954
|
__proto__: null,
|
|
6931
|
-
default:
|
|
6932
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6955
|
+
default: Kc
|
|
6956
|
+
}, Symbol.toStringTag, { value: "Module" })), Gc = { class: "as-page-area" }, Zc = { class: "as-page-icon" }, Qc = { class: "ico as-loading" }, eu = /* @__PURE__ */ C({
|
|
6933
6957
|
__name: "PageLoadClient",
|
|
6934
6958
|
props: {
|
|
6935
6959
|
ujt: {}
|
|
@@ -6937,7 +6961,7 @@ const Ct = {
|
|
|
6937
6961
|
setup(t) {
|
|
6938
6962
|
return (e, n) => {
|
|
6939
6963
|
const o = U("AsSvg"), a = U("UserCard");
|
|
6940
|
-
return p(), m("div",
|
|
6964
|
+
return p(), m("div", Gc, [
|
|
6941
6965
|
u("div", null, [
|
|
6942
6966
|
n[0] || (n[0] = u("div", null, [
|
|
6943
6967
|
u("img", {
|
|
@@ -6945,8 +6969,8 @@ const Ct = {
|
|
|
6945
6969
|
width: "200"
|
|
6946
6970
|
})
|
|
6947
6971
|
], -1)),
|
|
6948
|
-
u("div",
|
|
6949
|
-
u("div",
|
|
6972
|
+
u("div", Zc, [
|
|
6973
|
+
u("div", Qc, [
|
|
6950
6974
|
W(o, {
|
|
6951
6975
|
color: "var(--ch4)",
|
|
6952
6976
|
height: "88px",
|
|
@@ -6959,16 +6983,16 @@ const Ct = {
|
|
|
6959
6983
|
]);
|
|
6960
6984
|
};
|
|
6961
6985
|
}
|
|
6962
|
-
}),
|
|
6986
|
+
}), tu = /* @__PURE__ */ B(eu, [["__scopeId", "data-v-208bc5ba"]]), nu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6963
6987
|
__proto__: null,
|
|
6964
|
-
default:
|
|
6965
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6988
|
+
default: tu
|
|
6989
|
+
}, Symbol.toStringTag, { value: "Module" })), ou = { class: "as-page-area" }, au = { class: "as-page-icon" }, su = {
|
|
6966
6990
|
class: "ico",
|
|
6967
6991
|
style: { "background-color": "var(--cz0)" }
|
|
6968
|
-
},
|
|
6992
|
+
}, lu = {
|
|
6969
6993
|
class: "tit",
|
|
6970
6994
|
style: { color: "var(--cz8)" }
|
|
6971
|
-
},
|
|
6995
|
+
}, iu = /* @__PURE__ */ C({
|
|
6972
6996
|
__name: "PageLoadErr",
|
|
6973
6997
|
props: {
|
|
6974
6998
|
ujt: {},
|
|
@@ -6978,7 +7002,7 @@ const Ct = {
|
|
|
6978
7002
|
const e = t, { $global: n } = e.ujt;
|
|
6979
7003
|
return (o, a) => {
|
|
6980
7004
|
const s = U("AsSvg"), l = U("UserCard");
|
|
6981
|
-
return p(), m("div",
|
|
7005
|
+
return p(), m("div", ou, [
|
|
6982
7006
|
u("div", null, [
|
|
6983
7007
|
a[0] || (a[0] = u("div", null, [
|
|
6984
7008
|
u("img", {
|
|
@@ -6986,32 +7010,32 @@ const Ct = {
|
|
|
6986
7010
|
width: "200"
|
|
6987
7011
|
})
|
|
6988
7012
|
], -1)),
|
|
6989
|
-
u("div",
|
|
6990
|
-
u("div",
|
|
7013
|
+
u("div", au, [
|
|
7014
|
+
u("div", su, [
|
|
6991
7015
|
W(s, {
|
|
6992
7016
|
color: "var(--cz8)",
|
|
6993
7017
|
height: "88px",
|
|
6994
7018
|
src: "asai/server"
|
|
6995
7019
|
})
|
|
6996
7020
|
]),
|
|
6997
|
-
u("div",
|
|
7021
|
+
u("div", lu, v(i(n).lang?.asai?.page?.loadws), 1)
|
|
6998
7022
|
]),
|
|
6999
|
-
u("h3", null,
|
|
7023
|
+
u("h3", null, v(e.type), 1),
|
|
7000
7024
|
W(l, { ujt: t.ujt }, null, 8, ["ujt"])
|
|
7001
7025
|
])
|
|
7002
7026
|
]);
|
|
7003
7027
|
};
|
|
7004
7028
|
}
|
|
7005
|
-
}),
|
|
7029
|
+
}), ru = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7006
7030
|
__proto__: null,
|
|
7007
|
-
default:
|
|
7008
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7031
|
+
default: iu
|
|
7032
|
+
}, Symbol.toStringTag, { value: "Module" })), cu = { class: "as-page-area" }, uu = { class: "as-page-icon" }, du = {
|
|
7009
7033
|
class: "ico",
|
|
7010
7034
|
style: { "background-color": "var(--cy0)" }
|
|
7011
|
-
},
|
|
7035
|
+
}, pu = {
|
|
7012
7036
|
class: "tit",
|
|
7013
7037
|
style: { color: "var(--cy8)" }
|
|
7014
|
-
},
|
|
7038
|
+
}, fu = /* @__PURE__ */ C({
|
|
7015
7039
|
__name: "PageLoadServer",
|
|
7016
7040
|
props: {
|
|
7017
7041
|
ujt: {}
|
|
@@ -7020,7 +7044,7 @@ const Ct = {
|
|
|
7020
7044
|
const e = t, { $global: n } = e.ujt;
|
|
7021
7045
|
return (o, a) => {
|
|
7022
7046
|
const s = U("AsSvg"), l = U("UserCard");
|
|
7023
|
-
return p(), m("div",
|
|
7047
|
+
return p(), m("div", cu, [
|
|
7024
7048
|
u("div", null, [
|
|
7025
7049
|
a[0] || (a[0] = u("div", null, [
|
|
7026
7050
|
u("img", {
|
|
@@ -7028,31 +7052,31 @@ const Ct = {
|
|
|
7028
7052
|
width: "200"
|
|
7029
7053
|
})
|
|
7030
7054
|
], -1)),
|
|
7031
|
-
u("div",
|
|
7032
|
-
u("div",
|
|
7055
|
+
u("div", uu, [
|
|
7056
|
+
u("div", du, [
|
|
7033
7057
|
W(s, {
|
|
7034
7058
|
color: "var(--cy8)",
|
|
7035
7059
|
height: "88px",
|
|
7036
7060
|
src: "asai/web"
|
|
7037
7061
|
})
|
|
7038
7062
|
]),
|
|
7039
|
-
u("div",
|
|
7063
|
+
u("div", pu, v(i(n).lang.asai.page.loadserver), 1)
|
|
7040
7064
|
]),
|
|
7041
7065
|
W(l, { ujt: t.ujt }, null, 8, ["ujt"])
|
|
7042
7066
|
])
|
|
7043
7067
|
]);
|
|
7044
7068
|
};
|
|
7045
7069
|
}
|
|
7046
|
-
}),
|
|
7070
|
+
}), mu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7047
7071
|
__proto__: null,
|
|
7048
|
-
default:
|
|
7049
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7072
|
+
default: fu
|
|
7073
|
+
}, Symbol.toStringTag, { value: "Module" })), hu = { class: "as-page-area" }, gu = { class: "as-page-icon" }, vu = {
|
|
7050
7074
|
class: "ico",
|
|
7051
7075
|
style: { "background-color": "var(--cz0)" }
|
|
7052
|
-
},
|
|
7076
|
+
}, yu = {
|
|
7053
7077
|
class: "tit",
|
|
7054
7078
|
style: { color: "var(--cz8)" }
|
|
7055
|
-
},
|
|
7079
|
+
}, bu = /* @__PURE__ */ C({
|
|
7056
7080
|
__name: "PageLoadUserToken",
|
|
7057
7081
|
props: {
|
|
7058
7082
|
ujt: {}
|
|
@@ -7061,7 +7085,7 @@ const Ct = {
|
|
|
7061
7085
|
const e = t, { $global: n } = e.ujt;
|
|
7062
7086
|
return (o, a) => {
|
|
7063
7087
|
const s = U("AsSvg"), l = U("UserCard");
|
|
7064
|
-
return p(), m("div",
|
|
7088
|
+
return p(), m("div", hu, [
|
|
7065
7089
|
u("div", null, [
|
|
7066
7090
|
a[0] || (a[0] = u("div", null, [
|
|
7067
7091
|
u("img", {
|
|
@@ -7069,31 +7093,31 @@ const Ct = {
|
|
|
7069
7093
|
width: "200"
|
|
7070
7094
|
})
|
|
7071
7095
|
], -1)),
|
|
7072
|
-
u("div",
|
|
7073
|
-
u("div",
|
|
7096
|
+
u("div", gu, [
|
|
7097
|
+
u("div", vu, [
|
|
7074
7098
|
W(s, {
|
|
7075
7099
|
color: "var(--cz8)",
|
|
7076
7100
|
height: "88px",
|
|
7077
7101
|
src: "asai/user"
|
|
7078
7102
|
})
|
|
7079
7103
|
]),
|
|
7080
|
-
u("div",
|
|
7104
|
+
u("div", yu, v(i(n).lang.asai.page.loadusertoken), 1)
|
|
7081
7105
|
]),
|
|
7082
7106
|
W(l, { ujt: t.ujt }, null, 8, ["ujt"])
|
|
7083
7107
|
])
|
|
7084
7108
|
]);
|
|
7085
7109
|
};
|
|
7086
7110
|
}
|
|
7087
|
-
}),
|
|
7111
|
+
}), _u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7088
7112
|
__proto__: null,
|
|
7089
|
-
default:
|
|
7090
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7113
|
+
default: bu
|
|
7114
|
+
}, Symbol.toStringTag, { value: "Module" })), $u = { class: "as-page-area" }, ku = { class: "as-page-icon" }, wu = {
|
|
7091
7115
|
class: "ico",
|
|
7092
7116
|
style: { "background-color": "var(--cy0)" }
|
|
7093
|
-
},
|
|
7117
|
+
}, ju = {
|
|
7094
7118
|
class: "tit",
|
|
7095
7119
|
style: { color: "var(--cy8)" }
|
|
7096
|
-
},
|
|
7120
|
+
}, xu = /* @__PURE__ */ C({
|
|
7097
7121
|
__name: "PageLoadUserTokenOnline",
|
|
7098
7122
|
props: {
|
|
7099
7123
|
ujt: {}
|
|
@@ -7102,7 +7126,7 @@ const Ct = {
|
|
|
7102
7126
|
const e = t, { $global: n } = e.ujt;
|
|
7103
7127
|
return (o, a) => {
|
|
7104
7128
|
const s = U("AsSvg"), l = U("UserCard");
|
|
7105
|
-
return p(), m("div",
|
|
7129
|
+
return p(), m("div", $u, [
|
|
7106
7130
|
u("div", null, [
|
|
7107
7131
|
a[0] || (a[0] = u("div", null, [
|
|
7108
7132
|
u("img", {
|
|
@@ -7110,31 +7134,31 @@ const Ct = {
|
|
|
7110
7134
|
width: "200"
|
|
7111
7135
|
})
|
|
7112
7136
|
], -1)),
|
|
7113
|
-
u("div",
|
|
7114
|
-
u("div",
|
|
7137
|
+
u("div", ku, [
|
|
7138
|
+
u("div", wu, [
|
|
7115
7139
|
W(s, {
|
|
7116
7140
|
color: "var(--cy8)",
|
|
7117
7141
|
height: "88px",
|
|
7118
7142
|
src: "asai/user"
|
|
7119
7143
|
})
|
|
7120
7144
|
]),
|
|
7121
|
-
u("div",
|
|
7145
|
+
u("div", ju, v(i(n).lang.asai.page.loaduseronline), 1)
|
|
7122
7146
|
]),
|
|
7123
7147
|
W(l, { ujt: t.ujt }, null, 8, ["ujt"])
|
|
7124
7148
|
])
|
|
7125
7149
|
]);
|
|
7126
7150
|
};
|
|
7127
7151
|
}
|
|
7128
|
-
}),
|
|
7152
|
+
}), Su = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7129
7153
|
__proto__: null,
|
|
7130
|
-
default:
|
|
7131
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7154
|
+
default: xu
|
|
7155
|
+
}, Symbol.toStringTag, { value: "Module" })), Pu = { class: "as-page-area" }, Cu = { class: "as-page-icon" }, Ou = {
|
|
7132
7156
|
class: "ico",
|
|
7133
7157
|
style: { "background-color": "var(--cz0)" }
|
|
7134
|
-
},
|
|
7158
|
+
}, Au = {
|
|
7135
7159
|
class: "tit",
|
|
7136
7160
|
style: { color: "var(--cz8)" }
|
|
7137
|
-
},
|
|
7161
|
+
}, Mu = /* @__PURE__ */ C({
|
|
7138
7162
|
__name: "PageLoadWs",
|
|
7139
7163
|
props: {
|
|
7140
7164
|
ujt: {},
|
|
@@ -7144,7 +7168,7 @@ const Ct = {
|
|
|
7144
7168
|
const e = t, { $global: n } = e.ujt;
|
|
7145
7169
|
return (o, a) => {
|
|
7146
7170
|
const s = U("AsSvg"), l = U("UserCard");
|
|
7147
|
-
return p(), m("div",
|
|
7171
|
+
return p(), m("div", Pu, [
|
|
7148
7172
|
u("div", null, [
|
|
7149
7173
|
a[0] || (a[0] = u("div", null, [
|
|
7150
7174
|
u("img", {
|
|
@@ -7152,42 +7176,42 @@ const Ct = {
|
|
|
7152
7176
|
width: "200"
|
|
7153
7177
|
})
|
|
7154
7178
|
], -1)),
|
|
7155
|
-
u("div",
|
|
7156
|
-
u("div",
|
|
7179
|
+
u("div", Cu, [
|
|
7180
|
+
u("div", Ou, [
|
|
7157
7181
|
W(s, {
|
|
7158
7182
|
color: "var(--cz8)",
|
|
7159
7183
|
height: "88px",
|
|
7160
7184
|
src: "asai/server"
|
|
7161
7185
|
})
|
|
7162
7186
|
]),
|
|
7163
|
-
u("div",
|
|
7187
|
+
u("div", Au, v(i(n).lang?.asai?.page?.loadws), 1)
|
|
7164
7188
|
]),
|
|
7165
|
-
u("h3", null,
|
|
7189
|
+
u("h3", null, v(e.type), 1),
|
|
7166
7190
|
W(l, { ujt: t.ujt }, null, 8, ["ujt"])
|
|
7167
7191
|
])
|
|
7168
7192
|
]);
|
|
7169
7193
|
};
|
|
7170
7194
|
}
|
|
7171
|
-
}),
|
|
7195
|
+
}), Tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7172
7196
|
__proto__: null,
|
|
7173
|
-
default:
|
|
7174
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7197
|
+
default: Mu
|
|
7198
|
+
}, Symbol.toStringTag, { value: "Module" })), zu = ["id"], Lu = ["id"], Uu = ["id"], Eu = /* @__PURE__ */ C({
|
|
7175
7199
|
__name: "PopBoxMask",
|
|
7176
7200
|
props: {
|
|
7177
7201
|
ujt: {},
|
|
7178
7202
|
id: {}
|
|
7179
7203
|
},
|
|
7180
7204
|
setup(t) {
|
|
7181
|
-
|
|
7205
|
+
ge((l) => ({
|
|
7182
7206
|
v3211e1b4: i(n).pop[e.id].zindex,
|
|
7183
7207
|
v884bd0e2: a.value,
|
|
7184
7208
|
v116fbd3c: i(n).scale
|
|
7185
7209
|
}));
|
|
7186
7210
|
const e = t, { $global: n, $model: o } = e.ujt;
|
|
7187
7211
|
n.pop[e.id]?.zindex || (n.pop[e.id].zindex = 101);
|
|
7188
|
-
const a =
|
|
7212
|
+
const a = q(() => n.pop[e.id]?.event ? n.pop[e.id]?.event : "auto");
|
|
7189
7213
|
n.scale == null && (n.scale = 1);
|
|
7190
|
-
const s =
|
|
7214
|
+
const s = q(() => {
|
|
7191
7215
|
let l = n.pop[e.id]?.maskstyle || {};
|
|
7192
7216
|
return n.pop[e.id].full == 2 ? l = {
|
|
7193
7217
|
display: "block",
|
|
@@ -7212,7 +7236,7 @@ const Ct = {
|
|
|
7212
7236
|
id: "popmask" + t.id
|
|
7213
7237
|
}, [
|
|
7214
7238
|
R(l.$slots, "default", {}, void 0, !0)
|
|
7215
|
-
], 12,
|
|
7239
|
+
], 12, zu)
|
|
7216
7240
|
])) : F("", !0)
|
|
7217
7241
|
], 64)) : i(n).pop[e.id].full == 1 ? (p(), m(I, { key: 1 }, [
|
|
7218
7242
|
i(n).pop[e.id].stat ? (p(), X(Oe, {
|
|
@@ -7229,7 +7253,7 @@ const Ct = {
|
|
|
7229
7253
|
}, [
|
|
7230
7254
|
R(l.$slots, "default", {}, void 0, !0)
|
|
7231
7255
|
], 4)
|
|
7232
|
-
], 8,
|
|
7256
|
+
], 8, Lu)
|
|
7233
7257
|
])) : F("", !0)
|
|
7234
7258
|
], 64)) : (p(), m(I, { key: 2 }, [
|
|
7235
7259
|
i(n).pop[e.id].stat ? (p(), m("div", {
|
|
@@ -7239,20 +7263,20 @@ const Ct = {
|
|
|
7239
7263
|
id: "popmask" + t.id
|
|
7240
7264
|
}, [
|
|
7241
7265
|
R(l.$slots, "default", {}, void 0, !0)
|
|
7242
|
-
], 12,
|
|
7266
|
+
], 12, Uu)) : F("", !0)
|
|
7243
7267
|
], 64));
|
|
7244
7268
|
}
|
|
7245
|
-
}),
|
|
7269
|
+
}), Iu = /* @__PURE__ */ B(Eu, [["__scopeId", "data-v-425022d6"]]), Du = { class: "as-pop-content-txt" }, Ru = {
|
|
7246
7270
|
key: 0,
|
|
7247
7271
|
class: "as-pop-content-btns"
|
|
7248
|
-
},
|
|
7272
|
+
}, Fu = ["onPointerup"], Wu = /* @__PURE__ */ C({
|
|
7249
7273
|
__name: "PopBoxContent",
|
|
7250
7274
|
props: {
|
|
7251
7275
|
ujt: {},
|
|
7252
7276
|
id: {}
|
|
7253
7277
|
},
|
|
7254
7278
|
setup(t) {
|
|
7255
|
-
const e = t, { $global: n, $fn: o } = e.ujt, a =
|
|
7279
|
+
const e = t, { $global: n, $fn: o } = e.ujt, a = q(() => {
|
|
7256
7280
|
const s = {};
|
|
7257
7281
|
return n.pop[e.id]?.nooverflow || (s.overflow = n.pop[e.id]?.conoverflow || "auto"), s;
|
|
7258
7282
|
});
|
|
@@ -7262,10 +7286,10 @@ const Ct = {
|
|
|
7262
7286
|
style: Z(a.value)
|
|
7263
7287
|
}, [
|
|
7264
7288
|
R(s.$slots, "default", {}, () => [
|
|
7265
|
-
u("div",
|
|
7289
|
+
u("div", Du, v(i(n).pop[e.id]?.con || ""), 1)
|
|
7266
7290
|
], !0)
|
|
7267
7291
|
], 4),
|
|
7268
|
-
i(n).pop[e.id]?.btns?.length ? (p(), m("div",
|
|
7292
|
+
i(n).pop[e.id]?.btns?.length ? (p(), m("div", Ru, [
|
|
7269
7293
|
(p(!0), m(I, null, ee(i(n).pop[e.id].btns, (r, d) => (p(), m(I, null, [
|
|
7270
7294
|
r.fn ? (p(), m("div", {
|
|
7271
7295
|
key: 0,
|
|
@@ -7282,19 +7306,19 @@ const Ct = {
|
|
|
7282
7306
|
onPointerup: H((c) => r.fn(), ["stop"]),
|
|
7283
7307
|
class: J(d ? "" : "cur"),
|
|
7284
7308
|
style: Z(`${r.bg ? `background-color: ${r.bg};` : ""}`)
|
|
7285
|
-
},
|
|
7309
|
+
}, v(r.nm), 47, Fu)) : (p(), m("div", {
|
|
7286
7310
|
key: 1,
|
|
7287
7311
|
class: J(d ? "nofn" : "cur nofn"),
|
|
7288
7312
|
style: Z(`${r.bg ? `background-color: ${r.bg};` : ""}`)
|
|
7289
|
-
},
|
|
7313
|
+
}, v(r.nm), 7))
|
|
7290
7314
|
], 64))), 256))
|
|
7291
7315
|
])) : F("", !0)
|
|
7292
7316
|
], 64));
|
|
7293
7317
|
}
|
|
7294
|
-
}),
|
|
7318
|
+
}), Vu = /* @__PURE__ */ B(Wu, [["__scopeId", "data-v-5b386073"]]), Hu = { class: "as-pop-bar" }, qu = {
|
|
7295
7319
|
key: 0,
|
|
7296
7320
|
class: "as-pop-opts"
|
|
7297
|
-
},
|
|
7321
|
+
}, Bu = /* @__PURE__ */ C({
|
|
7298
7322
|
__name: "PopBoxBar",
|
|
7299
7323
|
props: {
|
|
7300
7324
|
ujt: {},
|
|
@@ -7308,16 +7332,16 @@ const Ct = {
|
|
|
7308
7332
|
return (a, s) => {
|
|
7309
7333
|
const l = U("AsSvg");
|
|
7310
7334
|
return p(), m(I, null, [
|
|
7311
|
-
u("div",
|
|
7335
|
+
u("div", Hu, [
|
|
7312
7336
|
i(n).pop[e.id].ico ? (p(), X(l, {
|
|
7313
7337
|
key: 0,
|
|
7314
7338
|
color: "var(--ch8)",
|
|
7315
7339
|
height: "var(--fs4)",
|
|
7316
7340
|
src: i(n).pop[e.id].ico
|
|
7317
7341
|
}, null, 8, ["src"])) : F("", !0),
|
|
7318
|
-
se(" " +
|
|
7342
|
+
se(" " + v(i(n).pop[e.id].tit || ""), 1)
|
|
7319
7343
|
]),
|
|
7320
|
-
i(n).pop[e.id]?.noclose ? F("", !0) : (p(), m("div",
|
|
7344
|
+
i(n).pop[e.id]?.noclose ? F("", !0) : (p(), m("div", qu, [
|
|
7321
7345
|
u("div", {
|
|
7322
7346
|
onPointerdown: s[0] || (s[0] = H((r) => o(), ["stop", "prevent"]))
|
|
7323
7347
|
}, "×", 32)
|
|
@@ -7325,7 +7349,7 @@ const Ct = {
|
|
|
7325
7349
|
], 64);
|
|
7326
7350
|
};
|
|
7327
7351
|
}
|
|
7328
|
-
}),
|
|
7352
|
+
}), Nu = /* @__PURE__ */ B(Bu, [["__scopeId", "data-v-03ef5bca"]]), Yu = ["id"], Xu = ["id"], Ku = ["id"], Ju = /* @__PURE__ */ C({
|
|
7329
7353
|
__name: "PopBoxMain",
|
|
7330
7354
|
props: {
|
|
7331
7355
|
ujt: {},
|
|
@@ -7341,7 +7365,7 @@ const Ct = {
|
|
|
7341
7365
|
l && (a.w = l?.offsetWidth, a.h = l?.offsetHeight);
|
|
7342
7366
|
}
|
|
7343
7367
|
});
|
|
7344
|
-
const s =
|
|
7368
|
+
const s = q(() => {
|
|
7345
7369
|
let l = n.pop[e.id]?.popstyle || {};
|
|
7346
7370
|
return l = {
|
|
7347
7371
|
width: n.pop[e.id]?.width || "380px",
|
|
@@ -7363,7 +7387,7 @@ const Ct = {
|
|
|
7363
7387
|
}, l;
|
|
7364
7388
|
});
|
|
7365
7389
|
return (l, r) => {
|
|
7366
|
-
const d =
|
|
7390
|
+
const d = ve("popresizezoom");
|
|
7367
7391
|
return i(n).pop[e.id].noresize ? (p(), m("div", {
|
|
7368
7392
|
key: 0,
|
|
7369
7393
|
class: "as-pop-area",
|
|
@@ -7371,14 +7395,14 @@ const Ct = {
|
|
|
7371
7395
|
id: "pop" + t.id
|
|
7372
7396
|
}, [
|
|
7373
7397
|
R(l.$slots, "default", {}, void 0, !0)
|
|
7374
|
-
], 12,
|
|
7398
|
+
], 12, Yu)) : i(n).pop[e.id].full == 2 ? G((p(), m("div", {
|
|
7375
7399
|
key: 1,
|
|
7376
7400
|
class: "as-pop-area",
|
|
7377
7401
|
style: Z(s.value),
|
|
7378
7402
|
id: "pop" + t.id
|
|
7379
7403
|
}, [
|
|
7380
7404
|
R(l.$slots, "default", {}, void 0, !0)
|
|
7381
|
-
], 12,
|
|
7405
|
+
], 12, Xu)), [
|
|
7382
7406
|
[d, { ujt: t.ujt, scale: 1 }]
|
|
7383
7407
|
]) : G((p(), m("div", {
|
|
7384
7408
|
key: 2,
|
|
@@ -7387,12 +7411,12 @@ const Ct = {
|
|
|
7387
7411
|
id: "pop" + t.id
|
|
7388
7412
|
}, [
|
|
7389
7413
|
R(l.$slots, "default", {}, void 0, !0)
|
|
7390
|
-
], 12,
|
|
7414
|
+
], 12, Ku)), [
|
|
7391
7415
|
[d, { ujt: t.ujt }]
|
|
7392
7416
|
]);
|
|
7393
7417
|
};
|
|
7394
7418
|
}
|
|
7395
|
-
}),
|
|
7419
|
+
}), Gu = /* @__PURE__ */ B(Ju, [["__scopeId", "data-v-7a2111d5"]]), Zu = ["id"], Qu = ["id"], ed = ["id"], td = ["id"], nd = /* @__PURE__ */ C({
|
|
7396
7420
|
__name: "PopBoxDragBar",
|
|
7397
7421
|
props: {
|
|
7398
7422
|
ujt: {},
|
|
@@ -7401,20 +7425,20 @@ const Ct = {
|
|
|
7401
7425
|
setup(t) {
|
|
7402
7426
|
const e = t, { $global: n } = e.ujt;
|
|
7403
7427
|
return (o, a) => {
|
|
7404
|
-
const s =
|
|
7428
|
+
const s = ve("drag"), l = ve("dragzoom");
|
|
7405
7429
|
return i(n).pop[e.id].notit ? (p(), m(I, { key: 0 }, [], 64)) : i(n).pop[e.id].nodrag ? (p(), m("div", {
|
|
7406
7430
|
key: 1,
|
|
7407
7431
|
class: "as-pop-drag-bar",
|
|
7408
7432
|
id: "popbar" + t.id
|
|
7409
7433
|
}, [
|
|
7410
7434
|
R(o.$slots, "default", {}, void 0, !0)
|
|
7411
|
-
], 8,
|
|
7435
|
+
], 8, Zu)) : i(n).pop[e.id].full == 2 ? G((p(), m("div", {
|
|
7412
7436
|
key: 2,
|
|
7413
7437
|
class: "as-pop-drag-bar",
|
|
7414
7438
|
id: "popbar" + t.id
|
|
7415
7439
|
}, [
|
|
7416
7440
|
R(o.$slots, "default", {}, void 0, !0)
|
|
7417
|
-
], 8,
|
|
7441
|
+
], 8, Qu)), [
|
|
7418
7442
|
[s, {
|
|
7419
7443
|
domarea: "pop" + t.id,
|
|
7420
7444
|
dommask: "popmask" + t.id
|
|
@@ -7425,7 +7449,7 @@ const Ct = {
|
|
|
7425
7449
|
id: "popbar" + t.id
|
|
7426
7450
|
}, [
|
|
7427
7451
|
R(o.$slots, "default", {}, void 0, !0)
|
|
7428
|
-
], 8,
|
|
7452
|
+
], 8, ed)), [
|
|
7429
7453
|
[l, {
|
|
7430
7454
|
ujt: t.ujt,
|
|
7431
7455
|
dom: "popbar" + t.id,
|
|
@@ -7441,7 +7465,7 @@ const Ct = {
|
|
|
7441
7465
|
id: "popbar" + t.id
|
|
7442
7466
|
}, [
|
|
7443
7467
|
R(o.$slots, "default", {}, void 0, !0)
|
|
7444
|
-
], 8,
|
|
7468
|
+
], 8, td)), [
|
|
7445
7469
|
[l, {
|
|
7446
7470
|
ujt: t.ujt,
|
|
7447
7471
|
dom: "popbar" + t.id,
|
|
@@ -7454,7 +7478,7 @@ const Ct = {
|
|
|
7454
7478
|
]);
|
|
7455
7479
|
};
|
|
7456
7480
|
}
|
|
7457
|
-
}),
|
|
7481
|
+
}), od = /* @__PURE__ */ B(nd, [["__scopeId", "data-v-d58c6048"]]), ad = /* @__PURE__ */ C({
|
|
7458
7482
|
__name: "PopBox",
|
|
7459
7483
|
props: {
|
|
7460
7484
|
ujt: {},
|
|
@@ -7465,33 +7489,33 @@ const Ct = {
|
|
|
7465
7489
|
},
|
|
7466
7490
|
setup(t) {
|
|
7467
7491
|
const e = t, { $global: n } = e.ujt;
|
|
7468
|
-
return e.id || (e.id = "popdefault"), n.pop[e.id] || (n.pop[e.id] = {}), e.full && !n.pop[e.id].full && (n.pop[e.id].full = e.full), e.maskstyle && !n.pop[e.id].maskstyle && (n.pop[e.id].maskstyle = e.maskstyle), e.popstyle && !n.pop[e.id].popstyle && (n.pop[e.id].popstyle = e.popstyle),
|
|
7492
|
+
return e.id || (e.id = "popdefault"), n.pop[e.id] || (n.pop[e.id] = {}), e.full && !n.pop[e.id].full && (n.pop[e.id].full = e.full), e.maskstyle && !n.pop[e.id].maskstyle && (n.pop[e.id].maskstyle = e.maskstyle), e.popstyle && !n.pop[e.id].popstyle && (n.pop[e.id].popstyle = e.popstyle), $e(() => {
|
|
7469
7493
|
n.pop[e.id] = {};
|
|
7470
|
-
}), (o, a) => i(n).pop[e.id].stat ? (p(), X(
|
|
7494
|
+
}), (o, a) => i(n).pop[e.id].stat ? (p(), X(Iu, {
|
|
7471
7495
|
key: 0,
|
|
7472
7496
|
ujt: t.ujt,
|
|
7473
7497
|
id: t.id
|
|
7474
7498
|
}, {
|
|
7475
7499
|
default: ie(() => [
|
|
7476
7500
|
(p(), X(bt, null, [
|
|
7477
|
-
W(
|
|
7501
|
+
W(Gu, {
|
|
7478
7502
|
ujt: t.ujt,
|
|
7479
7503
|
id: t.id
|
|
7480
7504
|
}, {
|
|
7481
7505
|
default: ie(() => [
|
|
7482
|
-
W(
|
|
7506
|
+
W(od, {
|
|
7483
7507
|
ujt: t.ujt,
|
|
7484
7508
|
id: t.id
|
|
7485
7509
|
}, {
|
|
7486
7510
|
default: ie(() => [
|
|
7487
|
-
W(
|
|
7511
|
+
W(Nu, {
|
|
7488
7512
|
ujt: t.ujt,
|
|
7489
7513
|
id: t.id
|
|
7490
7514
|
}, null, 8, ["ujt", "id"])
|
|
7491
7515
|
]),
|
|
7492
7516
|
_: 1
|
|
7493
7517
|
}, 8, ["ujt", "id"]),
|
|
7494
|
-
W(
|
|
7518
|
+
W(Vu, {
|
|
7495
7519
|
ujt: t.ujt,
|
|
7496
7520
|
id: t.id
|
|
7497
7521
|
}, {
|
|
@@ -7508,10 +7532,10 @@ const Ct = {
|
|
|
7508
7532
|
_: 3
|
|
7509
7533
|
}, 8, ["ujt", "id"])) : F("", !0);
|
|
7510
7534
|
}
|
|
7511
|
-
}),
|
|
7535
|
+
}), sd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7512
7536
|
__proto__: null,
|
|
7513
|
-
default:
|
|
7514
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7537
|
+
default: ad
|
|
7538
|
+
}, Symbol.toStringTag, { value: "Module" })), ld = /* @__PURE__ */ C({
|
|
7515
7539
|
__name: "PopBoxConfirm",
|
|
7516
7540
|
props: {
|
|
7517
7541
|
ujt: {},
|
|
@@ -7524,13 +7548,13 @@ const Ct = {
|
|
|
7524
7548
|
const e = t, { $global: n } = e.ujt;
|
|
7525
7549
|
return e.id || (e.id = "popdefaultboxconfirm"), n.pop[e.id] || (n.pop[e.id] = {}), n.pop[e.id]?.notit == null && (n.pop[e.id].notit = 1), n.pop[e.id]?.btns || (n.pop[e.id].btns = [
|
|
7526
7550
|
{
|
|
7527
|
-
nm:
|
|
7551
|
+
nm: q(() => n.lang?.asai?.confirm || "Confirm"),
|
|
7528
7552
|
fn: () => {
|
|
7529
7553
|
n.pop[e.id].fn && n.pop[e.id].fn(), n.pop[e.id].stat = 0;
|
|
7530
7554
|
}
|
|
7531
7555
|
},
|
|
7532
7556
|
{
|
|
7533
|
-
nm:
|
|
7557
|
+
nm: q(() => n.lang?.asai?.cancel || "Cancel"),
|
|
7534
7558
|
fn: () => {
|
|
7535
7559
|
n.pop[e.id].stat = 0;
|
|
7536
7560
|
}
|
|
@@ -7546,10 +7570,10 @@ const Ct = {
|
|
|
7546
7570
|
}, null, 8, ["ujt", "id", "full", "popstyle", "maskstyle"]);
|
|
7547
7571
|
};
|
|
7548
7572
|
}
|
|
7549
|
-
}),
|
|
7573
|
+
}), id = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7550
7574
|
__proto__: null,
|
|
7551
|
-
default:
|
|
7552
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7575
|
+
default: ld
|
|
7576
|
+
}, Symbol.toStringTag, { value: "Module" })), rd = { class: "as-pop-pass" }, cd = /* @__PURE__ */ C({
|
|
7553
7577
|
__name: "PopBoxConfirmPass",
|
|
7554
7578
|
props: {
|
|
7555
7579
|
ujt: {},
|
|
@@ -7563,7 +7587,7 @@ const Ct = {
|
|
|
7563
7587
|
const e = t, { $global: n, $fn: o } = e.ujt;
|
|
7564
7588
|
return e.id || (e.id = "popdefaultboxconfirmpass"), n.pop[e.id] || (n.pop[e.id] = {}), n.pop[e.id]?.tit || (n.pop[e.id].tit = o.lg("asai.confirmpass")), n.pop[e.id]?.pass || (n.pop[e.id].pass = ""), n.pop[e.id]?.btns || (n.pop[e.id].btns = [
|
|
7565
7589
|
{
|
|
7566
|
-
nm:
|
|
7590
|
+
nm: q(() => n.lang?.asai?.confirm || "Confirm"),
|
|
7567
7591
|
fn: () => {
|
|
7568
7592
|
e.pass && n.pop[e.id].pass == e.pass ? (n.pop[e.id].fn && n.pop[e.id].fn(), n.pop[e.id].stat = 0) : n.msg.fn({
|
|
7569
7593
|
type: "err",
|
|
@@ -7572,7 +7596,7 @@ const Ct = {
|
|
|
7572
7596
|
}
|
|
7573
7597
|
},
|
|
7574
7598
|
{
|
|
7575
|
-
nm:
|
|
7599
|
+
nm: q(() => n.lang?.asai?.cancel || "Cancel"),
|
|
7576
7600
|
fn: () => {
|
|
7577
7601
|
n.pop[e.id].stat = 0;
|
|
7578
7602
|
}
|
|
@@ -7588,8 +7612,8 @@ const Ct = {
|
|
|
7588
7612
|
}, {
|
|
7589
7613
|
default: ie(() => [
|
|
7590
7614
|
R(a.$slots, "default", {}, () => [
|
|
7591
|
-
u("div",
|
|
7592
|
-
u("p", null,
|
|
7615
|
+
u("div", rd, [
|
|
7616
|
+
u("p", null, v(i(o).lg("asai.confirmpassword")), 1),
|
|
7593
7617
|
u("p", null, [
|
|
7594
7618
|
G(u("input", {
|
|
7595
7619
|
type: "password",
|
|
@@ -7606,10 +7630,10 @@ const Ct = {
|
|
|
7606
7630
|
}, 8, ["ujt", "id", "full", "popstyle", "maskstyle"]);
|
|
7607
7631
|
};
|
|
7608
7632
|
}
|
|
7609
|
-
}),
|
|
7633
|
+
}), ud = /* @__PURE__ */ B(cd, [["__scopeId", "data-v-6dbdffb6"]]), dd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7610
7634
|
__proto__: null,
|
|
7611
|
-
default:
|
|
7612
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7635
|
+
default: ud
|
|
7636
|
+
}, Symbol.toStringTag, { value: "Module" })), pd = { class: "as-pop-drop-area" }, fd = ["id"], md = /* @__PURE__ */ C({
|
|
7613
7637
|
__name: "PopDrop",
|
|
7614
7638
|
props: {
|
|
7615
7639
|
ujt: {},
|
|
@@ -7618,7 +7642,7 @@ const Ct = {
|
|
|
7618
7642
|
maskstyle: {}
|
|
7619
7643
|
},
|
|
7620
7644
|
setup(t) {
|
|
7621
|
-
|
|
7645
|
+
ge((o) => ({
|
|
7622
7646
|
e16108b6: i(n).pop[e.id].zindex - 1,
|
|
7623
7647
|
v0e328372: i(n).pop[e.id].zindex
|
|
7624
7648
|
}));
|
|
@@ -7628,19 +7652,19 @@ const Ct = {
|
|
|
7628
7652
|
height: "auto",
|
|
7629
7653
|
top: 0,
|
|
7630
7654
|
right: 0
|
|
7631
|
-
}), n.pop[e.id]?.maskstyle || (e?.maskstyle ? n.pop[e.id].maskstyle = e.maskstyle : n.pop[e.id].maskstyle = {}),
|
|
7655
|
+
}), n.pop[e.id]?.maskstyle || (e?.maskstyle ? n.pop[e.id].maskstyle = e.maskstyle : n.pop[e.id].maskstyle = {}), $e(() => {
|
|
7632
7656
|
n.pop[e.id] = {};
|
|
7633
7657
|
}), (o, a) => (p(), m("div", {
|
|
7634
7658
|
class: J(i(n).pop[e.id]?.css + " as-pop-drop")
|
|
7635
7659
|
}, [
|
|
7636
7660
|
i(n).pop[e.id].stat && i(n).pop[e.id].popstyle?.top != 0 ? R(o.$slots, "poparea", { key: 0 }, () => [
|
|
7637
|
-
u("div",
|
|
7661
|
+
u("div", pd, [
|
|
7638
7662
|
u("div", {
|
|
7639
7663
|
class: "as-pop-drop-pop",
|
|
7640
7664
|
style: Z(i(n).pop[e.id].popstyle)
|
|
7641
7665
|
}, [
|
|
7642
7666
|
R(o.$slots, "pop", {}, () => [
|
|
7643
|
-
se(
|
|
7667
|
+
se(v(i(n).pop[e.id].con || ""), 1)
|
|
7644
7668
|
], !0)
|
|
7645
7669
|
], 4)
|
|
7646
7670
|
])
|
|
@@ -7651,7 +7675,7 @@ const Ct = {
|
|
|
7651
7675
|
onPointerdown: a[0] || (a[0] = H((s) => i(n).pop[e.id].stat = i(n).pop[e.id].stat ? 0 : 1, ["stop"]))
|
|
7652
7676
|
}, [
|
|
7653
7677
|
R(o.$slots, "des", {}, () => [
|
|
7654
|
-
se(
|
|
7678
|
+
se(v(i(n).pop[e.id].des || ""), 1)
|
|
7655
7679
|
], !0)
|
|
7656
7680
|
], 32)
|
|
7657
7681
|
], !0),
|
|
@@ -7665,10 +7689,10 @@ const Ct = {
|
|
|
7665
7689
|
style: Z(i(n).pop[e.id].popstyle)
|
|
7666
7690
|
}, [
|
|
7667
7691
|
R(o.$slots, "pop", {}, () => [
|
|
7668
|
-
se(
|
|
7692
|
+
se(v(i(n).pop[e.id].con || ""), 1)
|
|
7669
7693
|
], !0)
|
|
7670
7694
|
], 4)
|
|
7671
|
-
], 8,
|
|
7695
|
+
], 8, fd)
|
|
7672
7696
|
], !0) : F("", !0),
|
|
7673
7697
|
i(n).pop[e.id].stat ? (p(), m("div", {
|
|
7674
7698
|
key: 2,
|
|
@@ -7678,10 +7702,10 @@ const Ct = {
|
|
|
7678
7702
|
}, null, 36)) : F("", !0)
|
|
7679
7703
|
], 2));
|
|
7680
7704
|
}
|
|
7681
|
-
}),
|
|
7705
|
+
}), hd = /* @__PURE__ */ B(md, [["__scopeId", "data-v-9191c452"]]), gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7682
7706
|
__proto__: null,
|
|
7683
|
-
default:
|
|
7684
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7707
|
+
default: hd
|
|
7708
|
+
}, Symbol.toStringTag, { value: "Module" })), vd = /* @__PURE__ */ C({
|
|
7685
7709
|
__name: "PopMod",
|
|
7686
7710
|
props: {
|
|
7687
7711
|
ujt: {},
|
|
@@ -7690,7 +7714,7 @@ const Ct = {
|
|
|
7690
7714
|
maskstyle: {}
|
|
7691
7715
|
},
|
|
7692
7716
|
setup(t) {
|
|
7693
|
-
|
|
7717
|
+
ge((o) => ({
|
|
7694
7718
|
v1a9a90a0: i(n).pop[e.id].zindex - 1,
|
|
7695
7719
|
v0fc7b7d2: i(n).pop[e.id].zindex
|
|
7696
7720
|
}));
|
|
@@ -7703,7 +7727,7 @@ const Ct = {
|
|
|
7703
7727
|
"background-color": "#ffffff88"
|
|
7704
7728
|
}), n.pop[e.id]?.maskstyle || (e?.maskstyle ? n.pop[e.id].maskstyle = e.maskstyle : n.pop[e.id].maskstyle = {
|
|
7705
7729
|
"background-color": "rgba(0, 0, 0, 0.02)"
|
|
7706
|
-
}),
|
|
7730
|
+
}), $e(() => {
|
|
7707
7731
|
n.pop[e.id] = {};
|
|
7708
7732
|
}), (o, a) => i(n).pop[e.id].stat ? (p(), m(I, { key: 0 }, [
|
|
7709
7733
|
u("div", {
|
|
@@ -7719,19 +7743,19 @@ const Ct = {
|
|
|
7719
7743
|
], 4)
|
|
7720
7744
|
], 64)) : F("", !0);
|
|
7721
7745
|
}
|
|
7722
|
-
}),
|
|
7746
|
+
}), yd = /* @__PURE__ */ B(vd, [["__scopeId", "data-v-2439c68f"]]), bd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7723
7747
|
__proto__: null,
|
|
7724
|
-
default:
|
|
7725
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7748
|
+
default: yd
|
|
7749
|
+
}, Symbol.toStringTag, { value: "Module" })), _d = { class: "as-pop-msg-list" }, $d = { class: "as-pop-msg-li" }, kd = {
|
|
7726
7750
|
key: 0,
|
|
7727
7751
|
class: "as-pop-msg-tit"
|
|
7728
|
-
},
|
|
7752
|
+
}, wd = {
|
|
7729
7753
|
key: 1,
|
|
7730
7754
|
class: "as-pop-msg-con"
|
|
7731
|
-
},
|
|
7755
|
+
}, jd = {
|
|
7732
7756
|
key: 2,
|
|
7733
7757
|
class: "as-pop-msg-tm"
|
|
7734
|
-
},
|
|
7758
|
+
}, xd = ["title"], Sd = /* @__PURE__ */ C({
|
|
7735
7759
|
__name: "PopMsg",
|
|
7736
7760
|
props: {
|
|
7737
7761
|
ujt: {}
|
|
@@ -7758,7 +7782,7 @@ const Ct = {
|
|
|
7758
7782
|
for (; l--; )
|
|
7759
7783
|
a(1);
|
|
7760
7784
|
}
|
|
7761
|
-
return
|
|
7785
|
+
return je(() => {
|
|
7762
7786
|
s();
|
|
7763
7787
|
}), (l, r) => i(n).msg.data?.length ? (p(), m("div", {
|
|
7764
7788
|
key: 0,
|
|
@@ -7770,36 +7794,36 @@ const Ct = {
|
|
|
7770
7794
|
onTouchstart: r[2] || (r[2] = //@ts-ignore
|
|
7771
7795
|
(...d) => i(o).As.eStop && i(o).As.eStop(...d))
|
|
7772
7796
|
}, [
|
|
7773
|
-
u("div",
|
|
7774
|
-
(p(!0), m(I, null, ee(i(n).msg.data, (d) => (p(), m("div",
|
|
7797
|
+
u("div", _d, [
|
|
7798
|
+
(p(!0), m(I, null, ee(i(n).msg.data, (d) => (p(), m("div", $d, [
|
|
7775
7799
|
u("div", {
|
|
7776
7800
|
class: J("as-pop-msg" + (d?.type || ""))
|
|
7777
7801
|
}, [
|
|
7778
|
-
d?.tit ? (p(), m("div",
|
|
7779
|
-
d?.con ? (p(), m("div",
|
|
7780
|
-
d?.tm ? (p(), m("div",
|
|
7802
|
+
d?.tit ? (p(), m("div", kd, v(d.tit), 1)) : F("", !0),
|
|
7803
|
+
d?.con ? (p(), m("div", wd, v(d.con), 1)) : F("", !0),
|
|
7804
|
+
d?.tm ? (p(), m("div", jd, " [" + v(d.tm) + "] ", 1)) : F("", !0)
|
|
7781
7805
|
], 2)
|
|
7782
7806
|
]))), 256))
|
|
7783
7807
|
]),
|
|
7784
7808
|
u("div", {
|
|
7785
7809
|
class: "as-pop-msg-btn",
|
|
7786
7810
|
title: i(n)?.lang?.asai?.clear
|
|
7787
|
-
}, "×", 8,
|
|
7811
|
+
}, "×", 8, xd)
|
|
7788
7812
|
], 36)) : F("", !0);
|
|
7789
7813
|
}
|
|
7790
|
-
}),
|
|
7814
|
+
}), Pd = /* @__PURE__ */ B(Sd, [["__scopeId", "data-v-14e3f5d8"]]), Cd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7791
7815
|
__proto__: null,
|
|
7792
|
-
default:
|
|
7793
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7816
|
+
default: Pd
|
|
7817
|
+
}, Symbol.toStringTag, { value: "Module" })), Od = {
|
|
7794
7818
|
key: 0,
|
|
7795
7819
|
class: "as-pop-msg-tit"
|
|
7796
|
-
},
|
|
7820
|
+
}, Ad = {
|
|
7797
7821
|
key: 1,
|
|
7798
7822
|
class: "as-pop-msg-con"
|
|
7799
|
-
},
|
|
7823
|
+
}, Md = {
|
|
7800
7824
|
key: 2,
|
|
7801
7825
|
class: "as-pop-msg-tm"
|
|
7802
|
-
},
|
|
7826
|
+
}, Td = /* @__PURE__ */ C({
|
|
7803
7827
|
__name: "PopMsgOneByOne",
|
|
7804
7828
|
props: {
|
|
7805
7829
|
ujt: {}
|
|
@@ -7827,7 +7851,7 @@ const Ct = {
|
|
|
7827
7851
|
function a() {
|
|
7828
7852
|
n.msg.cur?.noclose || (n.msg.stat = 0, n.msg.bak.push(n.msg.fn(1)), n.msg.bak.length > 100 && n.msg.bak.splice(80), clearTimeout(n.msg.tm));
|
|
7829
7853
|
}
|
|
7830
|
-
const s =
|
|
7854
|
+
const s = q(() => n.msg.data.length ? (n.msg.cur = n.msg.data[0], n.msg.stat || (n.msg.stat = 1, clearTimeout(n.msg.tm), n.msg.tm = setTimeout(() => {
|
|
7831
7855
|
a();
|
|
7832
7856
|
}, n.msg.cur?.time || 3e3)), n.msg.cur) : null);
|
|
7833
7857
|
if (!n.msg?.data?.length) {
|
|
@@ -7845,16 +7869,16 @@ const Ct = {
|
|
|
7845
7869
|
u("div", {
|
|
7846
7870
|
class: J("as-pop-msg" + (s.value?.type || ""))
|
|
7847
7871
|
}, [
|
|
7848
|
-
s.value?.tit ? (p(), m("div",
|
|
7849
|
-
s.value?.con ? (p(), m("div",
|
|
7850
|
-
s.value?.tm ? (p(), m("div",
|
|
7872
|
+
s.value?.tit ? (p(), m("div", Od, v(s.value.tit), 1)) : F("", !0),
|
|
7873
|
+
s.value?.con ? (p(), m("div", Ad, v(s.value.con), 1)) : F("", !0),
|
|
7874
|
+
s.value?.tm ? (p(), m("div", Md, " [" + v(s.value.tm) + "] ", 1)) : F("", !0)
|
|
7851
7875
|
], 2)
|
|
7852
7876
|
], 36)) : F("", !0);
|
|
7853
7877
|
}
|
|
7854
|
-
}),
|
|
7878
|
+
}), zd = /* @__PURE__ */ B(Td, [["__scopeId", "data-v-07098c49"]]), Ld = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7855
7879
|
__proto__: null,
|
|
7856
|
-
default:
|
|
7857
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7880
|
+
default: zd
|
|
7881
|
+
}, Symbol.toStringTag, { value: "Module" })), Ud = ["id"], Ed = /* @__PURE__ */ C({
|
|
7858
7882
|
__name: "PopTip",
|
|
7859
7883
|
props: {
|
|
7860
7884
|
ujt: {},
|
|
@@ -7863,7 +7887,7 @@ const Ct = {
|
|
|
7863
7887
|
maskstyle: {}
|
|
7864
7888
|
},
|
|
7865
7889
|
setup(t) {
|
|
7866
|
-
|
|
7890
|
+
ge((l) => ({
|
|
7867
7891
|
v6952d5a2: i(n).pop[e.id].zindex,
|
|
7868
7892
|
v66a99e8d: i(n).pop[e.id].zindex - 1
|
|
7869
7893
|
}));
|
|
@@ -7878,7 +7902,7 @@ const Ct = {
|
|
|
7878
7902
|
function s() {
|
|
7879
7903
|
n.pop[e.id].stat = 0;
|
|
7880
7904
|
}
|
|
7881
|
-
return
|
|
7905
|
+
return $e(() => {
|
|
7882
7906
|
n.pop[e.id] = {};
|
|
7883
7907
|
}), (l, r) => (p(), m("div", {
|
|
7884
7908
|
class: J(i(n).pop[e.id]?.css + " as-pop-tip")
|
|
@@ -7888,7 +7912,7 @@ const Ct = {
|
|
|
7888
7912
|
onPointerdown: H(a, ["stop"])
|
|
7889
7913
|
}, [
|
|
7890
7914
|
R(l.$slots, "des", {}, () => [
|
|
7891
|
-
se(
|
|
7915
|
+
se(v(i(n).pop[e.id].des || ""), 1)
|
|
7892
7916
|
], !0)
|
|
7893
7917
|
], 32),
|
|
7894
7918
|
i(n).pop[e.id].stat ? (p(), X(Oe, {
|
|
@@ -7910,20 +7934,20 @@ const Ct = {
|
|
|
7910
7934
|
}, ["stop"]))
|
|
7911
7935
|
}, [
|
|
7912
7936
|
R(l.$slots, "pop", {}, () => [
|
|
7913
|
-
se(
|
|
7937
|
+
se(v(i(n).pop[e.id].con || ""), 1)
|
|
7914
7938
|
], !0)
|
|
7915
|
-
], 44,
|
|
7939
|
+
], 44, Ud)
|
|
7916
7940
|
], 36)
|
|
7917
7941
|
])) : F("", !0)
|
|
7918
7942
|
], 2));
|
|
7919
7943
|
}
|
|
7920
|
-
}),
|
|
7944
|
+
}), Id = /* @__PURE__ */ B(Ed, [["__scopeId", "data-v-f1bf172c"]]), Dd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7921
7945
|
__proto__: null,
|
|
7922
|
-
default:
|
|
7923
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7946
|
+
default: Id
|
|
7947
|
+
}, Symbol.toStringTag, { value: "Module" })), Rd = {
|
|
7924
7948
|
key: 0,
|
|
7925
7949
|
class: "as-pop-tipconfirm-pop"
|
|
7926
|
-
},
|
|
7950
|
+
}, Fd = { class: "as-pop-tipconfirm-content" }, Wd = { class: "as-pop-tipconfirm-btns" }, Vd = /* @__PURE__ */ C({
|
|
7927
7951
|
__name: "PopTipConfirm",
|
|
7928
7952
|
props: {
|
|
7929
7953
|
ujt: {},
|
|
@@ -7944,19 +7968,19 @@ const Ct = {
|
|
|
7944
7968
|
R(o.$slots, "des", {}, void 0, !0)
|
|
7945
7969
|
]),
|
|
7946
7970
|
pop: ie(() => [
|
|
7947
|
-
i(n).pop[t.id].stat ? (p(), m("div",
|
|
7948
|
-
u("div",
|
|
7971
|
+
i(n).pop[t.id].stat ? (p(), m("div", Rd, [
|
|
7972
|
+
u("div", Fd, [
|
|
7949
7973
|
R(o.$slots, "pop", {}, void 0, !0)
|
|
7950
7974
|
]),
|
|
7951
|
-
u("div",
|
|
7975
|
+
u("div", Wd, [
|
|
7952
7976
|
e.fn ? (p(), m("div", {
|
|
7953
7977
|
key: 0,
|
|
7954
7978
|
onPointerdown: a[0] || (a[0] = (l) => e.fn())
|
|
7955
|
-
},
|
|
7979
|
+
}, v(i(n)?.lang?.asai?.confirm), 33)) : F("", !0),
|
|
7956
7980
|
u("div", {
|
|
7957
7981
|
onPointerdown: a[1] || (a[1] = (l) => i(n).pop[t.id].stat = 0),
|
|
7958
7982
|
class: "cur"
|
|
7959
|
-
},
|
|
7983
|
+
}, v(i(n)?.lang?.asai?.cancel), 33)
|
|
7960
7984
|
])
|
|
7961
7985
|
])) : F("", !0)
|
|
7962
7986
|
]),
|
|
@@ -7964,13 +7988,13 @@ const Ct = {
|
|
|
7964
7988
|
}, 8, ["ujt", "id"]);
|
|
7965
7989
|
};
|
|
7966
7990
|
}
|
|
7967
|
-
}),
|
|
7991
|
+
}), Hd = /* @__PURE__ */ B(Vd, [["__scopeId", "data-v-526e2ae5"]]), qd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7968
7992
|
__proto__: null,
|
|
7969
|
-
default:
|
|
7970
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7993
|
+
default: Hd
|
|
7994
|
+
}, Symbol.toStringTag, { value: "Module" })), Bd = {
|
|
7971
7995
|
key: 0,
|
|
7972
7996
|
class: "as-usercard"
|
|
7973
|
-
},
|
|
7997
|
+
}, Nd = /* @__PURE__ */ C({
|
|
7974
7998
|
__name: "UserCard",
|
|
7975
7999
|
props: {
|
|
7976
8000
|
ujt: {},
|
|
@@ -7980,7 +8004,7 @@ const Ct = {
|
|
|
7980
8004
|
const e = t, { $fn: n, $global: o } = e.ujt, { initUserToken: a } = n.useInitUser(e.ujt, "webserver");
|
|
7981
8005
|
return a(), (s, l) => {
|
|
7982
8006
|
const r = U("AsSvg");
|
|
7983
|
-
return i(o).lang?.asai?.usercard ? (p(), m("div",
|
|
8007
|
+
return i(o).lang?.asai?.usercard ? (p(), m("div", Bd, [
|
|
7984
8008
|
u("div", {
|
|
7985
8009
|
onPointerdown: l[0] || (l[0] = (d) => i(n).sethash(i(o).sys?.router?.config?.login || "user/login"))
|
|
7986
8010
|
}, [
|
|
@@ -7989,7 +8013,7 @@ const Ct = {
|
|
|
7989
8013
|
height: "26px",
|
|
7990
8014
|
src: "asai/login"
|
|
7991
8015
|
}),
|
|
7992
|
-
se(" " +
|
|
8016
|
+
se(" " + v(i(o).lang.asai.usercard?.login), 1)
|
|
7993
8017
|
], 32),
|
|
7994
8018
|
u("div", {
|
|
7995
8019
|
class: "cur",
|
|
@@ -8001,48 +8025,48 @@ const Ct = {
|
|
|
8001
8025
|
height: "26px",
|
|
8002
8026
|
src: "asai/reset"
|
|
8003
8027
|
}),
|
|
8004
|
-
se(" " +
|
|
8028
|
+
se(" " + v(i(o).lang.asai.usercard?.reset), 1)
|
|
8005
8029
|
], 32)
|
|
8006
8030
|
])) : F("", !0);
|
|
8007
8031
|
};
|
|
8008
8032
|
}
|
|
8009
|
-
}),
|
|
8033
|
+
}), Yd = /* @__PURE__ */ B(Nd, [["__scopeId", "data-v-6cbcd0b9"]]), Xd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8010
8034
|
__proto__: null,
|
|
8011
|
-
default:
|
|
8012
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8035
|
+
default: Yd
|
|
8036
|
+
}, Symbol.toStringTag, { value: "Module" })), Kd = { class: "as-user-area-manage" }, Jd = { class: "as-user" }, Gd = { key: 0 }, Zd = { key: 1 }, Qd = { class: "as-user-btns" }, ep = /* @__PURE__ */ C({
|
|
8013
8037
|
__name: "UserDelManage",
|
|
8014
8038
|
props: {
|
|
8015
8039
|
ujt: {}
|
|
8016
8040
|
},
|
|
8017
8041
|
setup(t) {
|
|
8018
8042
|
const e = t, { $db: n, $fn: o } = e.ujt, { delUser: a } = o.useUser(e);
|
|
8019
|
-
return a(), (s, l) => (p(), m("div",
|
|
8020
|
-
u("div",
|
|
8021
|
-
i(n).channeluser.cur.msg ? (p(), m("h1",
|
|
8022
|
-
u("div",
|
|
8043
|
+
return a(), (s, l) => (p(), m("div", Kd, [
|
|
8044
|
+
u("div", Jd, [
|
|
8045
|
+
i(n).channeluser.cur.msg ? (p(), m("h1", Gd, v(i(n).channeluser.cur.msg), 1)) : (p(), m("h1", Zd, v(i(o).lg("channeluser.ui.delok")), 1)),
|
|
8046
|
+
u("div", Qd, [
|
|
8023
8047
|
u("div", {
|
|
8024
8048
|
class: "cur",
|
|
8025
8049
|
onPointerdown: l[0] || (l[0] = (r) => i(o).sethash("user/manage/list/"))
|
|
8026
|
-
},
|
|
8050
|
+
}, v(i(o).lg("channeluser.ui.list")), 33)
|
|
8027
8051
|
])
|
|
8028
8052
|
])
|
|
8029
8053
|
]));
|
|
8030
8054
|
}
|
|
8031
|
-
}),
|
|
8055
|
+
}), tp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8032
8056
|
__proto__: null,
|
|
8033
|
-
default:
|
|
8034
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8057
|
+
default: ep
|
|
8058
|
+
}, Symbol.toStringTag, { value: "Module" })), np = { class: "as-user-area" }, op = { class: "as-user" }, ap = { class: "as-user-btns" }, sp = /* @__PURE__ */ C({
|
|
8035
8059
|
__name: "UserEdit",
|
|
8036
8060
|
props: {
|
|
8037
8061
|
ujt: {}
|
|
8038
8062
|
},
|
|
8039
8063
|
setup(t) {
|
|
8040
8064
|
const e = t, { $db: n, $fn: o } = e.ujt, { userEdit: a } = o.useUser(e);
|
|
8041
|
-
return (s, l) => (p(), m("div",
|
|
8042
|
-
u("div",
|
|
8065
|
+
return (s, l) => (p(), m("div", np, [
|
|
8066
|
+
u("div", op, [
|
|
8043
8067
|
R(s.$slots, "tit"),
|
|
8044
8068
|
u("label", null, [
|
|
8045
|
-
u("div", null,
|
|
8069
|
+
u("div", null, v(i(o).lg("channeluser.ui.pw")) + ":", 1),
|
|
8046
8070
|
G(u("input", {
|
|
8047
8071
|
type: "password",
|
|
8048
8072
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => i(n).channeluser.cur.pw = r)
|
|
@@ -8051,7 +8075,7 @@ const Ct = {
|
|
|
8051
8075
|
])
|
|
8052
8076
|
]),
|
|
8053
8077
|
u("label", null, [
|
|
8054
|
-
u("div", null,
|
|
8078
|
+
u("div", null, v(i(o).lg("channeluser.ui.pwn")) + ":", 1),
|
|
8055
8079
|
G(u("input", {
|
|
8056
8080
|
type: "password",
|
|
8057
8081
|
"onUpdate:modelValue": l[1] || (l[1] = (r) => i(n).channeluser.cur.pwn = r)
|
|
@@ -8060,7 +8084,7 @@ const Ct = {
|
|
|
8060
8084
|
])
|
|
8061
8085
|
]),
|
|
8062
8086
|
u("label", null, [
|
|
8063
|
-
u("div", null,
|
|
8087
|
+
u("div", null, v(i(o).lg("channeluser.ui.pwnn")) + ":", 1),
|
|
8064
8088
|
G(u("input", {
|
|
8065
8089
|
type: "password",
|
|
8066
8090
|
"onUpdate:modelValue": l[2] || (l[2] = (r) => i(n).channeluser.cur.pwnn = r)
|
|
@@ -8068,36 +8092,36 @@ const Ct = {
|
|
|
8068
8092
|
[ue, i(n).channeluser.cur.pwnn]
|
|
8069
8093
|
])
|
|
8070
8094
|
]),
|
|
8071
|
-
u("div",
|
|
8095
|
+
u("div", ap, [
|
|
8072
8096
|
u("div", {
|
|
8073
8097
|
class: "cur",
|
|
8074
8098
|
onPointerdown: l[3] || (l[3] = (r) => i(a)())
|
|
8075
|
-
},
|
|
8099
|
+
}, v(i(o).lg("channeluser.ui.edit")), 33),
|
|
8076
8100
|
R(s.$slots, "btn")
|
|
8077
8101
|
])
|
|
8078
8102
|
])
|
|
8079
8103
|
]));
|
|
8080
8104
|
}
|
|
8081
|
-
}),
|
|
8105
|
+
}), lp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8082
8106
|
__proto__: null,
|
|
8083
|
-
default:
|
|
8084
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8107
|
+
default: sp
|
|
8108
|
+
}, Symbol.toStringTag, { value: "Module" })), ip = { class: "as-user-area-manage" }, rp = { class: "as-user" }, cp = { key: 0 }, up = ["value"], dp = { class: "as-user-btns" }, pp = { class: "as-user-dec" }, fp = { class: "as-user-btns" }, mp = /* @__PURE__ */ C({
|
|
8085
8109
|
__name: "UserEditManage",
|
|
8086
8110
|
props: {
|
|
8087
8111
|
ujt: {}
|
|
8088
8112
|
},
|
|
8089
8113
|
setup(t) {
|
|
8090
8114
|
const e = t, { $db: n, $global: o, $fn: a } = e.ujt, { editUser: s, initUser: l, cmLvList: r } = a.useUser(e);
|
|
8091
|
-
return l(), (d, c) => (p(), m("div",
|
|
8092
|
-
u("div",
|
|
8115
|
+
return l(), (d, c) => (p(), m("div", ip, [
|
|
8116
|
+
u("div", rp, [
|
|
8093
8117
|
R(d.$slots, "tit"),
|
|
8094
8118
|
u("label", null, [
|
|
8095
|
-
u("div", null,
|
|
8096
|
-
se(" " +
|
|
8119
|
+
u("div", null, v(i(a).lg("channeluser.data.us")) + ":", 1),
|
|
8120
|
+
se(" " + v(i(n).channeluser.cur.us), 1)
|
|
8097
8121
|
]),
|
|
8098
8122
|
i(n).channeluser.cur.lv < i(o).user?.info?.lv || i(n).channeluser.cur.us === i(o).user?.info?.us ? (p(), m(I, { key: 0 }, [
|
|
8099
8123
|
u("label", null, [
|
|
8100
|
-
u("div", null,
|
|
8124
|
+
u("div", null, v(i(a).lg("channeluser.data.pw")) + ":", 1),
|
|
8101
8125
|
G(u("input", {
|
|
8102
8126
|
type: "password",
|
|
8103
8127
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => i(n).channeluser.cur.pw = f)
|
|
@@ -8105,73 +8129,73 @@ const Ct = {
|
|
|
8105
8129
|
[ue, i(n).channeluser.cur.pw]
|
|
8106
8130
|
])
|
|
8107
8131
|
]),
|
|
8108
|
-
i(n).channeluser.cur.us !== i(o).user?.info?.us ? (p(), m("label",
|
|
8109
|
-
u("div", null,
|
|
8132
|
+
i(n).channeluser.cur.us !== i(o).user?.info?.us ? (p(), m("label", cp, [
|
|
8133
|
+
u("div", null, v(i(a).lg("channeluser.data.lv")) + ":", 1),
|
|
8110
8134
|
G(u("select", {
|
|
8111
8135
|
"onUpdate:modelValue": c[1] || (c[1] = (f) => i(n).channeluser.cur.lv = f)
|
|
8112
8136
|
}, [
|
|
8113
8137
|
(p(!0), m(I, null, ee(i(r), (f) => (p(), m("option", {
|
|
8114
8138
|
key: "lv" + f[0],
|
|
8115
8139
|
value: +f[0]
|
|
8116
|
-
},
|
|
8140
|
+
}, v(f[1]), 9, up))), 128))
|
|
8117
8141
|
], 512), [
|
|
8118
|
-
[
|
|
8142
|
+
[we, i(n).channeluser.cur.lv]
|
|
8119
8143
|
])
|
|
8120
8144
|
])) : F("", !0),
|
|
8121
|
-
u("div",
|
|
8145
|
+
u("div", dp, [
|
|
8122
8146
|
u("div", {
|
|
8123
8147
|
class: "cur",
|
|
8124
8148
|
onPointerdown: c[2] || (c[2] = (f) => i(s)())
|
|
8125
|
-
},
|
|
8149
|
+
}, v(i(a).lg("channeluser.ui.edit")), 33),
|
|
8126
8150
|
R(d.$slots, "btn")
|
|
8127
8151
|
])
|
|
8128
8152
|
], 64)) : (p(), m(I, { key: 1 }, [
|
|
8129
|
-
u("div",
|
|
8130
|
-
u("div",
|
|
8153
|
+
u("div", pp, v(i(a).lg("channeluser.ui.nopower")), 1),
|
|
8154
|
+
u("div", fp, [
|
|
8131
8155
|
R(d.$slots, "btn")
|
|
8132
8156
|
])
|
|
8133
8157
|
], 64))
|
|
8134
8158
|
])
|
|
8135
8159
|
]));
|
|
8136
8160
|
}
|
|
8137
|
-
}),
|
|
8161
|
+
}), hp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8138
8162
|
__proto__: null,
|
|
8139
|
-
default:
|
|
8140
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8163
|
+
default: mp
|
|
8164
|
+
}, Symbol.toStringTag, { value: "Module" })), gp = { class: "as-user-area" }, vp = { class: "as-user" }, yp = { class: "as-user-btns" }, bp = /* @__PURE__ */ C({
|
|
8141
8165
|
__name: "UserExit",
|
|
8142
8166
|
props: {
|
|
8143
8167
|
ujt: {}
|
|
8144
8168
|
},
|
|
8145
8169
|
setup(t) {
|
|
8146
8170
|
const e = t, { $fn: n, $global: o } = e.ujt, { userExit: a } = n.useUser(e);
|
|
8147
|
-
return a(), (s, l) => (p(), m("div",
|
|
8148
|
-
u("div",
|
|
8171
|
+
return a(), (s, l) => (p(), m("div", gp, [
|
|
8172
|
+
u("div", vp, [
|
|
8149
8173
|
R(s.$slots, "tit"),
|
|
8150
|
-
u("div",
|
|
8174
|
+
u("div", yp, [
|
|
8151
8175
|
u("div", {
|
|
8152
8176
|
class: "cur",
|
|
8153
8177
|
onPointerdown: l[0] || (l[0] = (r) => i(n).sethash(
|
|
8154
8178
|
i(o).sys?.router?.config?.login || "user/login"
|
|
8155
8179
|
))
|
|
8156
|
-
},
|
|
8180
|
+
}, v(i(n).lg("channeluser.ui.login")), 33),
|
|
8157
8181
|
R(s.$slots, "btn")
|
|
8158
8182
|
])
|
|
8159
8183
|
])
|
|
8160
8184
|
]));
|
|
8161
8185
|
}
|
|
8162
|
-
}),
|
|
8186
|
+
}), _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8163
8187
|
__proto__: null,
|
|
8164
|
-
default:
|
|
8165
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8188
|
+
default: bp
|
|
8189
|
+
}, Symbol.toStringTag, { value: "Module" })), $p = { class: "as-user-area-manage" }, kp = { class: "as-user" }, wp = { class: "as-user-list as-list-nth" }, jp = { class: "tit" }, xp = { class: "li" }, Sp = { class: "lis" }, Pp = { class: "btns" }, Cp = { class: "li" }, Op = { class: "lis" }, Ap = {
|
|
8166
8190
|
key: 0,
|
|
8167
8191
|
class: "btns"
|
|
8168
|
-
},
|
|
8192
|
+
}, Mp = ["onPointerdown"], Tp = ["onPointerdown"], zp = {
|
|
8169
8193
|
key: 1,
|
|
8170
8194
|
class: "btns"
|
|
8171
|
-
},
|
|
8195
|
+
}, Lp = {
|
|
8172
8196
|
key: 1,
|
|
8173
8197
|
class: "as-channel-page"
|
|
8174
|
-
},
|
|
8198
|
+
}, Up = /* @__PURE__ */ C({
|
|
8175
8199
|
__name: "UserListManage",
|
|
8176
8200
|
props: {
|
|
8177
8201
|
ujt: {},
|
|
@@ -8181,15 +8205,15 @@ const Ct = {
|
|
|
8181
8205
|
const e = t, { $fn: n, $db: o, $global: a } = e.ujt, { fetchContent: s, setPage: l, delUser: r } = n.useUser(e);
|
|
8182
8206
|
o.channeluser.fetch = s, o.channeluser.setpage = l, he(() => {
|
|
8183
8207
|
s(0);
|
|
8184
|
-
}), o.channeluser.cmPageSize =
|
|
8208
|
+
}), o.channeluser.cmPageSize = q(() => Number(a.location.query?.ps) || o.channeluser.config?.ps || 5);
|
|
8185
8209
|
function d(h) {
|
|
8186
8210
|
o.channeluser.cur.us = "", o.channeluser.cur.pw = "", o.channeluser.cur.lv = 0, a.pop.popdefaultconfirm.stat = 1, a.pop.popdefaultconfirm.full = 1, a.pop.popdefaultconfirm.con = a.lang.channeluser.ui.del + " " + h.us, a.pop.popdefaultconfirm.fn = () => r(h.us);
|
|
8187
8211
|
}
|
|
8188
8212
|
function c(h) {
|
|
8189
8213
|
n.setquery({ us: h.us }, 1), o.channeluser.cur.us = h.us, o.channeluser.cur.pw = h.pw, o.channeluser.cur.lv = h.lv, a.pop.popedituser.stat = 1, a.pop.popedituser.tit = a.lang.channeluser.ui.edit + " " + h.us;
|
|
8190
8214
|
}
|
|
8191
|
-
const f =
|
|
8192
|
-
return (h,
|
|
8215
|
+
const f = q(() => (o?.channeluser?.list || []).filter((h) => +h?.lv <= +a.user?.info?.lv));
|
|
8216
|
+
return (h, g) => {
|
|
8193
8217
|
const _ = U("UserEditManage"), $ = U("PopBox"), y = U("ChannelListSearch"), b = U("ChannelListPage");
|
|
8194
8218
|
return p(), m(I, null, [
|
|
8195
8219
|
W($, {
|
|
@@ -8204,16 +8228,16 @@ const Ct = {
|
|
|
8204
8228
|
}, {
|
|
8205
8229
|
btn: ie(() => [
|
|
8206
8230
|
u("div", {
|
|
8207
|
-
onPointerdown:
|
|
8208
|
-
},
|
|
8231
|
+
onPointerdown: g[0] || (g[0] = (k) => i(a).pop.popedituser.stat = 0)
|
|
8232
|
+
}, v(i(n).lg("asai.close")), 33)
|
|
8209
8233
|
]),
|
|
8210
8234
|
_: 1
|
|
8211
8235
|
}, 8, ["ujt"])) : F("", !0)
|
|
8212
8236
|
]),
|
|
8213
8237
|
_: 1
|
|
8214
8238
|
}, 8, ["ujt"]),
|
|
8215
|
-
u("div",
|
|
8216
|
-
u("div",
|
|
8239
|
+
u("div", $p, [
|
|
8240
|
+
u("div", kp, [
|
|
8217
8241
|
R(h.$slots, "tit"),
|
|
8218
8242
|
R(h.$slots, "btn"),
|
|
8219
8243
|
t.showtype ? F("", !0) : (p(), X(y, {
|
|
@@ -8221,26 +8245,26 @@ const Ct = {
|
|
|
8221
8245
|
ujt: t.ujt,
|
|
8222
8246
|
opt: { channel: "channeluser", model: "asai", ty: 1 }
|
|
8223
8247
|
}, null, 8, ["ujt"])),
|
|
8224
|
-
u("div",
|
|
8225
|
-
u("div",
|
|
8226
|
-
u("div",
|
|
8227
|
-
u("div",
|
|
8228
|
-
u("div",
|
|
8248
|
+
u("div", wp, [
|
|
8249
|
+
u("div", jp, [
|
|
8250
|
+
u("div", xp, v(i(a).lang.channeluser.data.us), 1),
|
|
8251
|
+
u("div", Sp, v(i(a).lang.channeluser.data.lv), 1),
|
|
8252
|
+
u("div", Pp, v(i(a).lang.asai.opt), 1)
|
|
8229
8253
|
]),
|
|
8230
8254
|
(p(!0), m(I, null, ee(f.value, (k) => (p(), m("div", null, [
|
|
8231
|
-
u("div",
|
|
8232
|
-
u("div",
|
|
8233
|
-
+k.lv < i(a).user?.info?.lv ? (p(), m("div",
|
|
8255
|
+
u("div", Cp, v(k.us), 1),
|
|
8256
|
+
u("div", Op, v(i(a).lang.channeluser.lv[k.lv]), 1),
|
|
8257
|
+
+k.lv < i(a).user?.info?.lv ? (p(), m("div", Ap, [
|
|
8234
8258
|
u("div", {
|
|
8235
8259
|
onPointerdown: (A) => c(k)
|
|
8236
|
-
},
|
|
8260
|
+
}, v(i(n).lg("channeluser.ui.edit")), 41, Mp),
|
|
8237
8261
|
u("div", {
|
|
8238
8262
|
onPointerdown: (A) => d(k)
|
|
8239
|
-
},
|
|
8240
|
-
])) : (p(), m("div",
|
|
8263
|
+
}, v(i(n).lg("channeluser.ui.del")), 41, Tp)
|
|
8264
|
+
])) : (p(), m("div", zp, "-"))
|
|
8241
8265
|
]))), 256))
|
|
8242
8266
|
]),
|
|
8243
|
-
i(o).channeluser?.cmPageList?.length > 1 ? (p(), m("div",
|
|
8267
|
+
i(o).channeluser?.cmPageList?.length > 1 ? (p(), m("div", Lp, [
|
|
8244
8268
|
W(b, {
|
|
8245
8269
|
ujt: t.ujt,
|
|
8246
8270
|
opt: { channel: "channeluser", model: "asai", ty: 1 }
|
|
@@ -8251,24 +8275,24 @@ const Ct = {
|
|
|
8251
8275
|
], 64);
|
|
8252
8276
|
};
|
|
8253
8277
|
}
|
|
8254
|
-
}),
|
|
8278
|
+
}), Ep = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8255
8279
|
__proto__: null,
|
|
8256
|
-
default:
|
|
8257
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8280
|
+
default: Up
|
|
8281
|
+
}, Symbol.toStringTag, { value: "Module" })), Ip = { class: "as-user-area" }, Dp = { class: "as-user" }, Rp = { class: "as-user-btns" }, Fp = /* @__PURE__ */ C({
|
|
8258
8282
|
__name: "UserLogin",
|
|
8259
8283
|
props: {
|
|
8260
8284
|
ujt: {}
|
|
8261
8285
|
},
|
|
8262
8286
|
setup(t) {
|
|
8263
8287
|
const e = t, { $db: n, $fn: o, $global: a } = e.ujt, { userLogin: s } = o.useUser(e);
|
|
8264
|
-
return (l, r) => (p(), m("div",
|
|
8265
|
-
u("div",
|
|
8288
|
+
return (l, r) => (p(), m("div", Ip, [
|
|
8289
|
+
u("div", Dp, [
|
|
8266
8290
|
R(l.$slots, "tit"),
|
|
8267
8291
|
R(l.$slots, "form", {
|
|
8268
8292
|
opt: { userLogin: i(s) }
|
|
8269
8293
|
}, () => [
|
|
8270
8294
|
u("label", null, [
|
|
8271
|
-
u("div", null,
|
|
8295
|
+
u("div", null, v(i(a).lang.channeluser.data.us) + ":", 1),
|
|
8272
8296
|
G(u("input", {
|
|
8273
8297
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => i(n).channeluser.cur.us = d)
|
|
8274
8298
|
}, null, 512), [
|
|
@@ -8276,7 +8300,7 @@ const Ct = {
|
|
|
8276
8300
|
])
|
|
8277
8301
|
]),
|
|
8278
8302
|
u("label", null, [
|
|
8279
|
-
u("div", null,
|
|
8303
|
+
u("div", null, v(i(a).lang.channeluser.data.pw) + ":", 1),
|
|
8280
8304
|
G(u("input", {
|
|
8281
8305
|
type: "password",
|
|
8282
8306
|
"onUpdate:modelValue": r[1] || (r[1] = (d) => i(n).channeluser.cur.pw = d)
|
|
@@ -8284,21 +8308,21 @@ const Ct = {
|
|
|
8284
8308
|
[ue, i(n).channeluser.cur.pw]
|
|
8285
8309
|
])
|
|
8286
8310
|
]),
|
|
8287
|
-
u("div",
|
|
8311
|
+
u("div", Rp, [
|
|
8288
8312
|
u("div", {
|
|
8289
8313
|
class: "cur",
|
|
8290
8314
|
onPointerdown: r[2] || (r[2] = (d) => i(s)())
|
|
8291
|
-
},
|
|
8315
|
+
}, v(i(a).lang.channeluser.ui.login), 33),
|
|
8292
8316
|
R(l.$slots, "btn")
|
|
8293
8317
|
])
|
|
8294
8318
|
])
|
|
8295
8319
|
])
|
|
8296
8320
|
]));
|
|
8297
8321
|
}
|
|
8298
|
-
}),
|
|
8322
|
+
}), Wp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8299
8323
|
__proto__: null,
|
|
8300
|
-
default:
|
|
8301
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8324
|
+
default: Fp
|
|
8325
|
+
}, Symbol.toStringTag, { value: "Module" })), Vp = { class: "as-user-btns" }, Hp = /* @__PURE__ */ C({
|
|
8302
8326
|
__name: "UserManage",
|
|
8303
8327
|
props: {
|
|
8304
8328
|
ujt: {},
|
|
@@ -8325,8 +8349,8 @@ const Ct = {
|
|
|
8325
8349
|
}, {
|
|
8326
8350
|
btn: ie(() => [
|
|
8327
8351
|
u("div", {
|
|
8328
|
-
onPointerdown: d[0] || (d[0] = (
|
|
8329
|
-
},
|
|
8352
|
+
onPointerdown: d[0] || (d[0] = (g) => i(a).pop.popadduser.stat = 0)
|
|
8353
|
+
}, v(i(n).lg("asai.close")), 33)
|
|
8330
8354
|
]),
|
|
8331
8355
|
_: 1
|
|
8332
8356
|
}, 8, ["ujt"])) : F("", !0)
|
|
@@ -8339,19 +8363,19 @@ const Ct = {
|
|
|
8339
8363
|
showtype: t.showtype
|
|
8340
8364
|
}, _t({
|
|
8341
8365
|
btn: ie(() => [
|
|
8342
|
-
u("div",
|
|
8366
|
+
u("div", Vp, [
|
|
8343
8367
|
u("div", {
|
|
8344
8368
|
class: "cur",
|
|
8345
|
-
onPointerdown: d[1] || (d[1] = (
|
|
8346
|
-
},
|
|
8369
|
+
onPointerdown: d[1] || (d[1] = (g) => l())
|
|
8370
|
+
}, v(i(n).lg("channeluser.ui.add")), 33),
|
|
8347
8371
|
t.showtype ? F("", !0) : (p(), m("div", {
|
|
8348
8372
|
key: 0,
|
|
8349
|
-
onPointerdown: d[2] || (d[2] = (
|
|
8350
|
-
},
|
|
8373
|
+
onPointerdown: d[2] || (d[2] = (g) => i(n).sethash(""))
|
|
8374
|
+
}, v(i(n).lg("asai.index")), 33)),
|
|
8351
8375
|
t.showtype ? F("", !0) : (p(), m("div", {
|
|
8352
8376
|
key: 1,
|
|
8353
|
-
onPointerdown: d[3] || (d[3] = (
|
|
8354
|
-
},
|
|
8377
|
+
onPointerdown: d[3] || (d[3] = (g) => i(n).sethash("user/exit/"))
|
|
8378
|
+
}, v(i(n).lg("channeluser.ui.exit")), 33))
|
|
8355
8379
|
])
|
|
8356
8380
|
]),
|
|
8357
8381
|
_: 2
|
|
@@ -8359,7 +8383,7 @@ const Ct = {
|
|
|
8359
8383
|
t.showtype ? void 0 : {
|
|
8360
8384
|
name: "tit",
|
|
8361
8385
|
fn: ie(() => [
|
|
8362
|
-
u("h1", null,
|
|
8386
|
+
u("h1", null, v(i(n).lg("channeluser.ui.list")), 1)
|
|
8363
8387
|
]),
|
|
8364
8388
|
key: "0"
|
|
8365
8389
|
}
|
|
@@ -8367,21 +8391,21 @@ const Ct = {
|
|
|
8367
8391
|
], 64);
|
|
8368
8392
|
};
|
|
8369
8393
|
}
|
|
8370
|
-
}),
|
|
8394
|
+
}), qp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8371
8395
|
__proto__: null,
|
|
8372
|
-
default:
|
|
8373
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8396
|
+
default: Hp
|
|
8397
|
+
}, Symbol.toStringTag, { value: "Module" })), Bp = { class: "as-user-area" }, Np = { class: "as-user" }, Yp = { class: "as-user-btns" }, Xp = /* @__PURE__ */ C({
|
|
8374
8398
|
__name: "UserReg",
|
|
8375
8399
|
props: {
|
|
8376
8400
|
ujt: {}
|
|
8377
8401
|
},
|
|
8378
8402
|
setup(t) {
|
|
8379
8403
|
const e = t, { $db: n, $fn: o } = e.ujt, { userReg: a } = o.useUser(e);
|
|
8380
|
-
return (s, l) => (p(), m("div",
|
|
8381
|
-
u("div",
|
|
8404
|
+
return (s, l) => (p(), m("div", Bp, [
|
|
8405
|
+
u("div", Np, [
|
|
8382
8406
|
R(s.$slots, "tit"),
|
|
8383
8407
|
u("label", null, [
|
|
8384
|
-
u("div", null,
|
|
8408
|
+
u("div", null, v(i(o).lg("channeluser.data.us")) + ":", 1),
|
|
8385
8409
|
G(u("input", {
|
|
8386
8410
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => i(n).channeluser.cur.us = r)
|
|
8387
8411
|
}, null, 512), [
|
|
@@ -8389,7 +8413,7 @@ const Ct = {
|
|
|
8389
8413
|
])
|
|
8390
8414
|
]),
|
|
8391
8415
|
u("label", null, [
|
|
8392
|
-
u("div", null,
|
|
8416
|
+
u("div", null, v(i(o).lg("channeluser.data.pw")) + ":", 1),
|
|
8393
8417
|
G(u("input", {
|
|
8394
8418
|
type: "password",
|
|
8395
8419
|
"onUpdate:modelValue": l[1] || (l[1] = (r) => i(n).channeluser.cur.pw = r)
|
|
@@ -8397,31 +8421,31 @@ const Ct = {
|
|
|
8397
8421
|
[ue, i(n).channeluser.cur.pw]
|
|
8398
8422
|
])
|
|
8399
8423
|
]),
|
|
8400
|
-
u("div",
|
|
8424
|
+
u("div", Yp, [
|
|
8401
8425
|
u("div", {
|
|
8402
8426
|
class: "cur",
|
|
8403
8427
|
onPointerdown: l[2] || (l[2] = (r) => i(a)())
|
|
8404
|
-
},
|
|
8428
|
+
}, v(i(o).lg("channeluser.ui.reg")), 33),
|
|
8405
8429
|
R(s.$slots, "btn")
|
|
8406
8430
|
])
|
|
8407
8431
|
])
|
|
8408
8432
|
]));
|
|
8409
8433
|
}
|
|
8410
|
-
}),
|
|
8434
|
+
}), Kp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8411
8435
|
__proto__: null,
|
|
8412
|
-
default:
|
|
8413
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8436
|
+
default: Xp
|
|
8437
|
+
}, Symbol.toStringTag, { value: "Module" })), Jp = { class: "as-user-area-manage" }, Gp = { class: "as-user" }, Zp = ["value"], Qp = { class: "as-user-btns" }, ef = /* @__PURE__ */ C({
|
|
8414
8438
|
__name: "UserRegManage",
|
|
8415
8439
|
props: {
|
|
8416
8440
|
ujt: {}
|
|
8417
8441
|
},
|
|
8418
8442
|
setup(t) {
|
|
8419
8443
|
const e = t, { $db: n, $fn: o } = e.ujt, { addUser: a, cmLvList: s } = o.useUser(e);
|
|
8420
|
-
return n.channeluser.cur.us = "", n.channeluser.cur.pw = "", n.channeluser.cur.lv = 3, (l, r) => (p(), m("div",
|
|
8421
|
-
u("div",
|
|
8444
|
+
return n.channeluser.cur.us = "", n.channeluser.cur.pw = "", n.channeluser.cur.lv = 3, (l, r) => (p(), m("div", Jp, [
|
|
8445
|
+
u("div", Gp, [
|
|
8422
8446
|
R(l.$slots, "tit"),
|
|
8423
8447
|
u("label", null, [
|
|
8424
|
-
u("div", null,
|
|
8448
|
+
u("div", null, v(i(o).lg("channeluser.data.us")) + ":", 1),
|
|
8425
8449
|
G(u("input", {
|
|
8426
8450
|
autocomplete: "off",
|
|
8427
8451
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => i(n).channeluser.cur.us = d)
|
|
@@ -8430,7 +8454,7 @@ const Ct = {
|
|
|
8430
8454
|
])
|
|
8431
8455
|
]),
|
|
8432
8456
|
u("label", null, [
|
|
8433
|
-
u("div", null,
|
|
8457
|
+
u("div", null, v(i(o).lg("channeluser.data.pw")) + ":", 1),
|
|
8434
8458
|
G(u("input", {
|
|
8435
8459
|
autocomplete: "off",
|
|
8436
8460
|
type: "password",
|
|
@@ -8440,32 +8464,32 @@ const Ct = {
|
|
|
8440
8464
|
])
|
|
8441
8465
|
]),
|
|
8442
8466
|
u("label", null, [
|
|
8443
|
-
u("div", null,
|
|
8467
|
+
u("div", null, v(i(o).lg("channeluser.data.lv")) + ":", 1),
|
|
8444
8468
|
G(u("select", {
|
|
8445
8469
|
"onUpdate:modelValue": r[2] || (r[2] = (d) => i(n).channeluser.cur.lv = d)
|
|
8446
8470
|
}, [
|
|
8447
8471
|
(p(!0), m(I, null, ee(i(s), (d) => (p(), m("option", {
|
|
8448
8472
|
key: "lv" + d[0],
|
|
8449
8473
|
value: +d[0]
|
|
8450
|
-
},
|
|
8474
|
+
}, v(d[1]), 9, Zp))), 128))
|
|
8451
8475
|
], 512), [
|
|
8452
|
-
[
|
|
8476
|
+
[we, i(n).channeluser.cur.lv]
|
|
8453
8477
|
])
|
|
8454
8478
|
]),
|
|
8455
|
-
u("div",
|
|
8479
|
+
u("div", Qp, [
|
|
8456
8480
|
u("div", {
|
|
8457
8481
|
class: "cur",
|
|
8458
8482
|
onPointerdown: r[3] || (r[3] = (d) => i(a)())
|
|
8459
|
-
},
|
|
8483
|
+
}, v(i(o).lg("channeluser.ui.add")), 33),
|
|
8460
8484
|
R(l.$slots, "btn")
|
|
8461
8485
|
])
|
|
8462
8486
|
])
|
|
8463
8487
|
]));
|
|
8464
8488
|
}
|
|
8465
|
-
}),
|
|
8489
|
+
}), tf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8466
8490
|
__proto__: null,
|
|
8467
|
-
default:
|
|
8468
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8491
|
+
default: ef
|
|
8492
|
+
}, Symbol.toStringTag, { value: "Module" })), of = {
|
|
8469
8493
|
install(t, e) {
|
|
8470
8494
|
e.loadv({
|
|
8471
8495
|
app: t,
|
|
@@ -8574,38 +8598,38 @@ const Ct = {
|
|
|
8574
8598
|
"./asui/form/AsaiUploadImgCutPop.vue": st,
|
|
8575
8599
|
"./asui/formbase/AsfCheck.vue": $c,
|
|
8576
8600
|
"./asui/formbase/AsfInput.vue": Ac,
|
|
8577
|
-
"./asui/formbase/AsfSelect.vue":
|
|
8578
|
-
"./asui/formbase/AsfTextarea.vue":
|
|
8579
|
-
"./asui/page/PageErr.vue":
|
|
8580
|
-
"./asui/page/PageLoadClient.vue":
|
|
8581
|
-
"./asui/page/PageLoadErr.vue":
|
|
8582
|
-
"./asui/page/PageLoadServer.vue":
|
|
8583
|
-
"./asui/page/PageLoadUserToken.vue":
|
|
8584
|
-
"./asui/page/PageLoadUserTokenOnline.vue":
|
|
8585
|
-
"./asui/page/PageLoadWs.vue":
|
|
8586
|
-
"./asui/pop/PopBox.vue":
|
|
8587
|
-
"./asui/pop/PopBoxConfirm.vue":
|
|
8588
|
-
"./asui/pop/PopBoxConfirmPass.vue":
|
|
8589
|
-
"./asui/pop/PopDrop.vue":
|
|
8590
|
-
"./asui/pop/PopMod.vue":
|
|
8591
|
-
"./asui/pop/PopMsg.vue":
|
|
8592
|
-
"./asui/pop/PopMsgOneByOne.vue":
|
|
8593
|
-
"./asui/pop/PopTip.vue":
|
|
8594
|
-
"./asui/pop/PopTipConfirm.vue":
|
|
8595
|
-
"./asui/user/UserCard.vue":
|
|
8596
|
-
"./asui/user/UserDelManage.vue":
|
|
8597
|
-
"./asui/user/UserEdit.vue":
|
|
8598
|
-
"./asui/user/UserEditManage.vue":
|
|
8599
|
-
"./asui/user/UserExit.vue":
|
|
8600
|
-
"./asui/user/UserListManage.vue":
|
|
8601
|
-
"./asui/user/UserLogin.vue":
|
|
8602
|
-
"./asui/user/UserManage.vue":
|
|
8603
|
-
"./asui/user/UserReg.vue":
|
|
8604
|
-
"./asui/user/UserRegManage.vue":
|
|
8601
|
+
"./asui/formbase/AsfSelect.vue": Rc,
|
|
8602
|
+
"./asui/formbase/AsfTextarea.vue": qc,
|
|
8603
|
+
"./asui/page/PageErr.vue": Jc,
|
|
8604
|
+
"./asui/page/PageLoadClient.vue": nu,
|
|
8605
|
+
"./asui/page/PageLoadErr.vue": ru,
|
|
8606
|
+
"./asui/page/PageLoadServer.vue": mu,
|
|
8607
|
+
"./asui/page/PageLoadUserToken.vue": _u,
|
|
8608
|
+
"./asui/page/PageLoadUserTokenOnline.vue": Su,
|
|
8609
|
+
"./asui/page/PageLoadWs.vue": Tu,
|
|
8610
|
+
"./asui/pop/PopBox.vue": sd,
|
|
8611
|
+
"./asui/pop/PopBoxConfirm.vue": id,
|
|
8612
|
+
"./asui/pop/PopBoxConfirmPass.vue": dd,
|
|
8613
|
+
"./asui/pop/PopDrop.vue": gd,
|
|
8614
|
+
"./asui/pop/PopMod.vue": bd,
|
|
8615
|
+
"./asui/pop/PopMsg.vue": Cd,
|
|
8616
|
+
"./asui/pop/PopMsgOneByOne.vue": Ld,
|
|
8617
|
+
"./asui/pop/PopTip.vue": Dd,
|
|
8618
|
+
"./asui/pop/PopTipConfirm.vue": qd,
|
|
8619
|
+
"./asui/user/UserCard.vue": Xd,
|
|
8620
|
+
"./asui/user/UserDelManage.vue": tp,
|
|
8621
|
+
"./asui/user/UserEdit.vue": lp,
|
|
8622
|
+
"./asui/user/UserEditManage.vue": hp,
|
|
8623
|
+
"./asui/user/UserExit.vue": _p,
|
|
8624
|
+
"./asui/user/UserListManage.vue": Ep,
|
|
8625
|
+
"./asui/user/UserLogin.vue": Wp,
|
|
8626
|
+
"./asui/user/UserManage.vue": qp,
|
|
8627
|
+
"./asui/user/UserReg.vue": Kp,
|
|
8628
|
+
"./asui/user/UserRegManage.vue": tf
|
|
8605
8629
|
})
|
|
8606
8630
|
});
|
|
8607
8631
|
}
|
|
8608
8632
|
};
|
|
8609
8633
|
export {
|
|
8610
|
-
|
|
8634
|
+
of as default
|
|
8611
8635
|
};
|