delta-comic-core 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.css +1 -1
- package/dist/bundle.js +158 -142
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.umd.cjs +2 -2
- package/dist/bundle.umd.cjs.map +1 -1
- package/dist/components/image.vue.d.ts +3 -3
- package/dist/config/index.d.ts +10 -5
- package/dist/index.d.ts +19 -13
- package/dist/pack.tgz +0 -0
- package/dist/struct/item.d.ts +2 -0
- package/dist/utils/data.d.ts +11 -2
- package/package.json +2 -2
package/dist/bundle.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, customRef, defineComponent, getCurrentInstance, getCurrentScope, guardReactiveProps, hasInjectionContext, inject, isRef, isVNode, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeUnmount, onBeforeUpdate, onDeactivated, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, readonly, ref, renderList, renderSlot, resolveDynamicComponent, shallowReactive, shallowReadonly, shallowRef, toDisplayString, toRef, toValue, unref, useCssVars, useModel, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives, withModifiers } from "vue";
|
|
2
2
|
import { onBeforeRouteLeave, useRoute, useRouter } from "vue-router";
|
|
3
|
-
import { NButton, NEmpty, NIcon, NImage, NResult, NVirtualList
|
|
3
|
+
import { NButton, NEmpty, NIcon, NImage, NResult, NVirtualList } from "naive-ui";
|
|
4
4
|
import { showImagePreview } from "vant";
|
|
5
5
|
import { defineStore } from "pinia";
|
|
6
6
|
import axios, { getAdapter, isAxiosError, isCancel } from "axios";
|
|
@@ -1080,13 +1080,13 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
|
|
|
1080
1080
|
}), K();
|
|
1081
1081
|
};
|
|
1082
1082
|
isHidden(a) ? nextTick().then(r) : r();
|
|
1083
|
-
},
|
|
1084
|
-
!e.touchable || n.touches.length > 1 || (l.start(n), c = !1,
|
|
1085
|
-
},
|
|
1083
|
+
}, ll = () => J(s.active), ul, dl = (n) => {
|
|
1084
|
+
!e.touchable || n.touches.length > 1 || (l.start(n), c = !1, ul = Date.now(), W(), k());
|
|
1085
|
+
}, fl = (r) => {
|
|
1086
1086
|
e.touchable && s.swiping && (l.move(r), S.value && (!e.loop && (s.active === 0 && h.value > 0 || s.active === p.value - 1 && h.value < 0) || (preventDefault(r, e.stopPropagation), O({ offset: h.value }), c ||= (n("dragStart", { index: b.value }), !0))));
|
|
1087
|
-
},
|
|
1087
|
+
}, pl = () => {
|
|
1088
1088
|
if (!e.touchable || !s.swiping) return;
|
|
1089
|
-
let r = Date.now() -
|
|
1089
|
+
let r = Date.now() - ul, i = h.value / r;
|
|
1090
1090
|
if ((Math.abs(i) > .25 || Math.abs(h.value) > m.value / 2) && S.value) {
|
|
1091
1091
|
let n = e.vertical ? l.offsetY.value : l.offsetX.value, r = 0;
|
|
1092
1092
|
r = e.loop ? n > 0 ? h.value > 0 ? -1 : 1 : 0 : -Math[h.value > 0 ? "ceil" : "floor"](h.value / m.value), O({
|
|
@@ -1095,7 +1095,7 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
|
|
|
1095
1095
|
});
|
|
1096
1096
|
} else h.value && O({ pace: 0 });
|
|
1097
1097
|
c = !1, s.swiping = !1, n("dragEnd", { index: b.value }), K();
|
|
1098
|
-
},
|
|
1098
|
+
}, ml = (n, r = {}) => {
|
|
1099
1099
|
k(), l.reset(), doubleRaf(() => {
|
|
1100
1100
|
let i;
|
|
1101
1101
|
i = e.loop && n === p.value ? s.active === 0 ? 0 : n : n % p.value, r.immediate ? doubleRaf(() => {
|
|
@@ -1105,25 +1105,25 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
|
|
|
1105
1105
|
emitChange: !0
|
|
1106
1106
|
});
|
|
1107
1107
|
});
|
|
1108
|
-
},
|
|
1108
|
+
}, hl = (n, r) => {
|
|
1109
1109
|
let i = r === b.value;
|
|
1110
1110
|
return createVNode("i", {
|
|
1111
1111
|
style: i ? { backgroundColor: e.indicatorColor } : void 0,
|
|
1112
1112
|
class: bem$7("indicator", { active: i })
|
|
1113
1113
|
}, null);
|
|
1114
|
-
},
|
|
1114
|
+
}, gl = () => {
|
|
1115
1115
|
if (r.indicator) return r.indicator({
|
|
1116
1116
|
active: b.value,
|
|
1117
1117
|
total: p.value
|
|
1118
1118
|
});
|
|
1119
|
-
if (e.showIndicators && p.value > 1) return createVNode("div", { class: bem$7("indicators", { vertical: e.vertical }) }, [Array(p.value).fill("").map(
|
|
1119
|
+
if (e.showIndicators && p.value > 1) return createVNode("div", { class: bem$7("indicators", { vertical: e.vertical }) }, [Array(p.value).fill("").map(hl)]);
|
|
1120
1120
|
};
|
|
1121
1121
|
return useExpose({
|
|
1122
1122
|
prev: M,
|
|
1123
1123
|
next: V,
|
|
1124
1124
|
state: s,
|
|
1125
|
-
resize:
|
|
1126
|
-
swipeTo:
|
|
1125
|
+
resize: ll,
|
|
1126
|
+
swipeTo: ml
|
|
1127
1127
|
}), f({
|
|
1128
1128
|
size: m,
|
|
1129
1129
|
props: e,
|
|
@@ -1134,19 +1134,19 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
|
|
|
1134
1134
|
windowHeight,
|
|
1135
1135
|
() => e.width,
|
|
1136
1136
|
() => e.height
|
|
1137
|
-
],
|
|
1137
|
+
], ll), watch(usePageVisibility(), (e) => {
|
|
1138
1138
|
e === "visible" ? K() : W();
|
|
1139
|
-
}), onMounted(J), onActivated(() => J(s.active)), onPopupReopen(() => J(s.active)), onDeactivated(W), onBeforeUnmount(W), useEventListener("touchmove",
|
|
1139
|
+
}), onMounted(J), onActivated(() => J(s.active)), onPopupReopen(() => J(s.active)), onDeactivated(W), onBeforeUnmount(W), useEventListener("touchmove", fl, { target: o }), () => createVNode("div", {
|
|
1140
1140
|
ref: a,
|
|
1141
1141
|
class: bem$7()
|
|
1142
1142
|
}, [createVNode("div", {
|
|
1143
1143
|
ref: o,
|
|
1144
1144
|
style: C.value,
|
|
1145
1145
|
class: bem$7("track", { vertical: e.vertical }),
|
|
1146
|
-
onTouchstartPassive:
|
|
1147
|
-
onTouchend:
|
|
1148
|
-
onTouchcancel:
|
|
1149
|
-
}, [r.default?.call(r)]),
|
|
1146
|
+
onTouchstartPassive: dl,
|
|
1147
|
+
onTouchend: pl,
|
|
1148
|
+
onTouchcancel: pl
|
|
1149
|
+
}, [r.default?.call(r)]), gl()]);
|
|
1150
1150
|
}
|
|
1151
1151
|
})), [name$6, bem$6] = createNamespace("tabs"), stdin_default$5 = defineComponent({
|
|
1152
1152
|
name: name$6,
|
|
@@ -1283,26 +1283,26 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
|
|
|
1283
1283
|
event: a,
|
|
1284
1284
|
disabled: s
|
|
1285
1285
|
});
|
|
1286
|
-
},
|
|
1286
|
+
}, ll = (e) => {
|
|
1287
1287
|
s = e.isFixed, n("scroll", e);
|
|
1288
|
-
},
|
|
1288
|
+
}, ul = (e) => {
|
|
1289
1289
|
nextTick(() => {
|
|
1290
1290
|
W(e), K(!0);
|
|
1291
1291
|
});
|
|
1292
|
-
},
|
|
1292
|
+
}, dl = () => {
|
|
1293
1293
|
for (let e = 0; e < b.length; e++) {
|
|
1294
1294
|
let { top: n } = useRect(b[e].$el);
|
|
1295
1295
|
if (n > M.value) return e === 0 ? 0 : e - 1;
|
|
1296
1296
|
}
|
|
1297
1297
|
return b.length - 1;
|
|
1298
|
+
}, fl = () => {
|
|
1299
|
+
e.scrollspy && !o && H(dl());
|
|
1298
1300
|
}, pl = () => {
|
|
1299
|
-
e.scrollspy && !o && H(fl());
|
|
1300
|
-
}, ml = () => {
|
|
1301
1301
|
if (e.type === "line" && b.length) return createVNode("div", {
|
|
1302
1302
|
class: bem$5("line"),
|
|
1303
1303
|
style: C.lineStyle
|
|
1304
1304
|
}, null);
|
|
1305
|
-
},
|
|
1305
|
+
}, ml = () => {
|
|
1306
1306
|
let { type: n, border: i, sticky: a } = e, o = [createVNode("div", {
|
|
1307
1307
|
ref: a ? void 0 : p,
|
|
1308
1308
|
class: [bem$5("wrap"), { [BORDER_TOP_BOTTOM]: n === "line" && i }]
|
|
@@ -1318,11 +1318,11 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
|
|
|
1318
1318
|
}, [
|
|
1319
1319
|
r["nav-left"]?.call(r),
|
|
1320
1320
|
b.map((e) => e.renderTitle(J)),
|
|
1321
|
-
|
|
1321
|
+
pl(),
|
|
1322
1322
|
r["nav-right"]?.call(r)
|
|
1323
1323
|
])]), r["nav-bottom"]?.call(r)];
|
|
1324
1324
|
return a ? createVNode("div", { ref: p }, [o]) : o;
|
|
1325
|
-
},
|
|
1325
|
+
}, hl = () => {
|
|
1326
1326
|
B(), nextTick(() => {
|
|
1327
1327
|
var e;
|
|
1328
1328
|
z(!0), (e = m.value?.swipeRef.value) == null || e.resize();
|
|
@@ -1333,20 +1333,20 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
|
|
|
1333
1333
|
e.duration,
|
|
1334
1334
|
e.lineWidth,
|
|
1335
1335
|
e.lineHeight
|
|
1336
|
-
], B), watch(windowWidth,
|
|
1336
|
+
], B), watch(windowWidth, hl), watch(() => e.active, (e) => {
|
|
1337
1337
|
e !== k.value && W(e);
|
|
1338
1338
|
}), watch(() => b.length, () => {
|
|
1339
1339
|
C.inited && (W(e.active), B(), nextTick(() => {
|
|
1340
1340
|
z(!0);
|
|
1341
1341
|
}));
|
|
1342
1342
|
}), useExpose({
|
|
1343
|
-
resize:
|
|
1344
|
-
scrollTo:
|
|
1343
|
+
resize: hl,
|
|
1344
|
+
scrollTo: ul
|
|
1345
1345
|
}), onActivated(B), onPopupReopen(B), onMountedOrActivated(() => {
|
|
1346
1346
|
W(e.active, !0), nextTick(() => {
|
|
1347
1347
|
C.inited = !0, p.value && (a = useRect(p.value).height), z(!0);
|
|
1348
1348
|
});
|
|
1349
|
-
}), useVisibilityChange(d, B), useEventListener("scroll",
|
|
1349
|
+
}), useVisibilityChange(d, B), useEventListener("scroll", fl, {
|
|
1350
1350
|
target: g,
|
|
1351
1351
|
passive: !0
|
|
1352
1352
|
}), S({
|
|
@@ -1364,8 +1364,8 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
|
|
|
1364
1364
|
}, [e.showHeader ? e.sticky ? createVNode(Sticky, {
|
|
1365
1365
|
container: d.value,
|
|
1366
1366
|
offsetTop: j.value,
|
|
1367
|
-
onScroll:
|
|
1368
|
-
}, { default: () => [
|
|
1367
|
+
onScroll: ll
|
|
1368
|
+
}, { default: () => [ml()] }) : ml() : null, createVNode(stdin_default$5, {
|
|
1369
1369
|
ref: m,
|
|
1370
1370
|
count: b.length,
|
|
1371
1371
|
inited: C.inited,
|
|
@@ -2202,7 +2202,7 @@ var loading_default = /* @__PURE__ */ ((e, n) => {
|
|
|
2202
2202
|
textColor: {}
|
|
2203
2203
|
},
|
|
2204
2204
|
setup(e) {
|
|
2205
|
-
useCssVars((e) => ({
|
|
2205
|
+
useCssVars((e) => ({ v4790b4ce: r.value }));
|
|
2206
2206
|
let n = e, r = computed(() => isNumber(n.size) ? `${n.size}px` : n.size);
|
|
2207
2207
|
return (e, r) => {
|
|
2208
2208
|
let i = Loading;
|
|
@@ -2212,7 +2212,7 @@ var loading_default = /* @__PURE__ */ ((e, n) => {
|
|
|
2212
2212
|
}, 16);
|
|
2213
2213
|
};
|
|
2214
2214
|
}
|
|
2215
|
-
}), [["__scopeId", "data-v-
|
|
2215
|
+
}), [["__scopeId", "data-v-7ff4601b"]]);
|
|
2216
2216
|
const useGlobalVar = (e, n) => (window.$api.__core_lib__ ??= {})[n] ??= e;
|
|
2217
2217
|
var layout_exports = /* @__PURE__ */ __export({ useZIndex: () => useZIndex }), allLayers = useGlobalVar(shallowReactive([]), "utils/layers");
|
|
2218
2218
|
const useZIndex = (e) => {
|
|
@@ -2228,11 +2228,11 @@ const useZIndex = (e) => {
|
|
|
2228
2228
|
r
|
|
2229
2229
|
];
|
|
2230
2230
|
};
|
|
2231
|
-
function tryOnScopeDispose(e) {
|
|
2232
|
-
return getCurrentScope() ? (onScopeDispose(e), !0) : !1;
|
|
2231
|
+
function tryOnScopeDispose(e, n) {
|
|
2232
|
+
return getCurrentScope() ? (onScopeDispose(e, n), !0) : !1;
|
|
2233
2233
|
}
|
|
2234
|
-
var localProvidedStateMap = /* @__PURE__ */ new WeakMap(), injectLocal =
|
|
2235
|
-
let n = e[0], r = getCurrentInstance()?.proxy;
|
|
2234
|
+
var localProvidedStateMap = /* @__PURE__ */ new WeakMap(), injectLocal = (...e) => {
|
|
2235
|
+
let n = e[0], r = getCurrentInstance()?.proxy ?? getCurrentScope();
|
|
2236
2236
|
if (r == null && !hasInjectionContext()) throw Error("injectLocal must be called in setup");
|
|
2237
2237
|
return r && localProvidedStateMap.has(r) && n in localProvidedStateMap.get(r) ? localProvidedStateMap.get(r)[n] : inject(...e);
|
|
2238
2238
|
}, isClient = typeof window < "u" && typeof document < "u";
|
|
@@ -2282,7 +2282,7 @@ function throttleFilter(...e) {
|
|
|
2282
2282
|
};
|
|
2283
2283
|
return (e) => {
|
|
2284
2284
|
let f = toValue(s), p = Date.now() - n, m = () => o = e();
|
|
2285
|
-
return d(), f <= 0 ? (n = Date.now(), m()) : (p > f
|
|
2285
|
+
return d(), f <= 0 ? (n = Date.now(), m()) : (p > f ? (n = Date.now(), (l || !i) && m()) : c && (o = new Promise((e, o) => {
|
|
2286
2286
|
a = u ? o : e, r = setTimeout(() => {
|
|
2287
2287
|
n = Date.now(), i = !0, e(m()), d();
|
|
2288
2288
|
}, Math.max(0, f - p));
|
|
@@ -2320,11 +2320,9 @@ function toArray(e) {
|
|
|
2320
2320
|
function getLifeCycleTarget(e) {
|
|
2321
2321
|
return e || getCurrentInstance();
|
|
2322
2322
|
}
|
|
2323
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
2324
2323
|
function useDebounceFn(e, n = 200, r = {}) {
|
|
2325
2324
|
return createFilterWrapper(debounceFilter(n, r), e);
|
|
2326
2325
|
}
|
|
2327
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
2328
2326
|
function useThrottleFn(e, n = 200, r = !1, i = !0, a = !1) {
|
|
2329
2327
|
return createFilterWrapper(throttleFilter(n, r, i, a), e);
|
|
2330
2328
|
}
|
|
@@ -2344,6 +2342,7 @@ function watchPausable(e, n, r = {}) {
|
|
|
2344
2342
|
isActive: u
|
|
2345
2343
|
};
|
|
2346
2344
|
}
|
|
2345
|
+
var pausableWatch = watchPausable;
|
|
2347
2346
|
function tryOnMounted(e, n = !0, r) {
|
|
2348
2347
|
getLifeCycleTarget(r) ? onMounted(e, r) : n ? e() : nextTick(e);
|
|
2349
2348
|
}
|
|
@@ -2438,7 +2437,7 @@ function watchOnce(e, n, r) {
|
|
|
2438
2437
|
function computedAsync(e, n, r) {
|
|
2439
2438
|
let a;
|
|
2440
2439
|
a = isRef(r) ? { evaluating: r } : r || {};
|
|
2441
|
-
let { lazy: o = !1, flush: s = "
|
|
2440
|
+
let { lazy: o = !1, flush: s = "sync", evaluating: c = void 0, shallow: l = !0, onError: u = globalThis.reportError ?? noop } = a, d = shallowRef(!o), f = l ? shallowRef(n) : ref(n), p = 0;
|
|
2442
2441
|
return watchEffect(async (n) => {
|
|
2443
2442
|
if (!d.value) return;
|
|
2444
2443
|
p++;
|
|
@@ -2486,7 +2485,6 @@ function useEventListener$1(...e) {
|
|
|
2486
2485
|
s(), r();
|
|
2487
2486
|
};
|
|
2488
2487
|
}
|
|
2489
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
2490
2488
|
function useMounted() {
|
|
2491
2489
|
let e = shallowRef(!1), n = getCurrentInstance();
|
|
2492
2490
|
return n && onMounted(() => {
|
|
@@ -2495,7 +2493,7 @@ function useMounted() {
|
|
|
2495
2493
|
}
|
|
2496
2494
|
/* @__NO_SIDE_EFFECTS__ */
|
|
2497
2495
|
function useSupported(e) {
|
|
2498
|
-
let n =
|
|
2496
|
+
let n = useMounted();
|
|
2499
2497
|
return computed(() => (n.value, !!e()));
|
|
2500
2498
|
}
|
|
2501
2499
|
function useMutationObserver(e, n, r = {}) {
|
|
@@ -2520,53 +2518,57 @@ function useMutationObserver(e, n, r = {}) {
|
|
|
2520
2518
|
}
|
|
2521
2519
|
var DEFAULT_DELAY = 500, DEFAULT_THRESHOLD = 10;
|
|
2522
2520
|
function onLongPress(e, n, r) {
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2521
|
+
var a, o;
|
|
2522
|
+
let s = computed(() => unrefElement(e)), c, l, u, d = !1;
|
|
2523
|
+
function f() {
|
|
2524
|
+
c &&= (clearTimeout(c), void 0), l = void 0, u = void 0, d = !1;
|
|
2526
2525
|
}
|
|
2527
|
-
function
|
|
2526
|
+
function p(e) {
|
|
2528
2527
|
let n = r?.delay;
|
|
2529
2528
|
return typeof n == "function" ? n(e) : n ?? DEFAULT_DELAY;
|
|
2530
2529
|
}
|
|
2531
|
-
function
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
l
|
|
2530
|
+
function m(e) {
|
|
2531
|
+
var n, i, a;
|
|
2532
|
+
let [o, c, p] = [
|
|
2533
|
+
u,
|
|
2534
|
+
l,
|
|
2535
|
+
d
|
|
2536
2536
|
];
|
|
2537
|
-
if (
|
|
2538
|
-
r
|
|
2539
|
-
let
|
|
2540
|
-
r.onMouseUp(e.timeStamp -
|
|
2541
|
-
}
|
|
2542
|
-
function
|
|
2543
|
-
|
|
2537
|
+
if (f(), !r?.onMouseUp || !c || !o || !(r == null || (n = r.modifiers) == null) && n.self && e.target !== s.value) return;
|
|
2538
|
+
!(r == null || (i = r.modifiers) == null) && i.prevent && e.preventDefault(), !(r == null || (a = r.modifiers) == null) && a.stop && e.stopPropagation();
|
|
2539
|
+
let m = e.x - c.x, h = e.y - c.y, g = Math.sqrt(m * m + h * h);
|
|
2540
|
+
r.onMouseUp(e.timeStamp - o, g, p);
|
|
2541
|
+
}
|
|
2542
|
+
function h(e) {
|
|
2543
|
+
var i, a, o;
|
|
2544
|
+
!(r == null || (i = r.modifiers) == null) && i.self && e.target !== s.value || (f(), !(r == null || (a = r.modifiers) == null) && a.prevent && e.preventDefault(), !(r == null || (o = r.modifiers) == null) && o.stop && e.stopPropagation(), l = {
|
|
2544
2545
|
x: e.x,
|
|
2545
2546
|
y: e.y
|
|
2546
|
-
},
|
|
2547
|
-
|
|
2548
|
-
},
|
|
2549
|
-
}
|
|
2550
|
-
function
|
|
2551
|
-
|
|
2552
|
-
r
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
useEventListener$1(
|
|
2562
|
-
useEventListener$1(
|
|
2547
|
+
}, u = e.timeStamp, c = setTimeout(() => {
|
|
2548
|
+
d = !0, n(e);
|
|
2549
|
+
}, p(e)));
|
|
2550
|
+
}
|
|
2551
|
+
function g(e) {
|
|
2552
|
+
var n, i, a;
|
|
2553
|
+
if (!(r == null || (n = r.modifiers) == null) && n.self && e.target !== s.value || !l || r?.distanceThreshold === !1) return;
|
|
2554
|
+
!(r == null || (i = r.modifiers) == null) && i.prevent && e.preventDefault(), !(r == null || (a = r.modifiers) == null) && a.stop && e.stopPropagation();
|
|
2555
|
+
let o = e.x - l.x, c = e.y - l.y;
|
|
2556
|
+
Math.sqrt(o * o + c * c) >= (r?.distanceThreshold ?? DEFAULT_THRESHOLD) && f();
|
|
2557
|
+
}
|
|
2558
|
+
let v = {
|
|
2559
|
+
capture: r == null || (a = r.modifiers) == null ? void 0 : a.capture,
|
|
2560
|
+
once: r == null || (o = r.modifiers) == null ? void 0 : o.once
|
|
2561
|
+
}, y = [
|
|
2562
|
+
useEventListener$1(s, "pointerdown", h, v),
|
|
2563
|
+
useEventListener$1(s, "pointermove", g, v),
|
|
2564
|
+
useEventListener$1(s, ["pointerup", "pointerleave"], m, v)
|
|
2563
2565
|
];
|
|
2564
|
-
return () =>
|
|
2566
|
+
return () => y.forEach((e) => e());
|
|
2565
2567
|
}
|
|
2566
2568
|
var ssrWidthSymbol = Symbol("vueuse-ssr-width");
|
|
2567
2569
|
/* @__NO_SIDE_EFFECTS__ */
|
|
2568
2570
|
function useSSRWidth() {
|
|
2569
|
-
let e = hasInjectionContext() ?
|
|
2571
|
+
let e = hasInjectionContext() ? injectLocal(ssrWidthSymbol, null) : null;
|
|
2570
2572
|
return typeof e == "number" ? e : void 0;
|
|
2571
2573
|
}
|
|
2572
2574
|
function useMediaQuery(e, n = {}) {
|
|
@@ -2591,7 +2593,6 @@ function getHandlers() {
|
|
|
2591
2593
|
function getSSRHandler(e, n) {
|
|
2592
2594
|
return handlers[e] || n;
|
|
2593
2595
|
}
|
|
2594
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
2595
2596
|
function usePreferredDark(e) {
|
|
2596
2597
|
return useMediaQuery("(prefers-color-scheme: dark)", e);
|
|
2597
2598
|
}
|
|
@@ -2642,7 +2643,7 @@ function useStorage(e, n, r, a = {}) {
|
|
|
2642
2643
|
m(e);
|
|
2643
2644
|
}
|
|
2644
2645
|
if (!r) return g;
|
|
2645
|
-
let y = toValue(n), b = guessSerializerType(y), S = a.serializer ?? StorageSerializers[b], { pause: C, resume: w } =
|
|
2646
|
+
let y = toValue(n), b = guessSerializerType(y), S = a.serializer ?? StorageSerializers[b], { pause: C, resume: w } = pausableWatch(g, (e) => k(e), {
|
|
2646
2647
|
flush: o,
|
|
2647
2648
|
deep: s,
|
|
2648
2649
|
eventFilter: p
|
|
@@ -2765,17 +2766,17 @@ function useScroll(e, n = {}) {
|
|
|
2765
2766
|
}
|
|
2766
2767
|
});
|
|
2767
2768
|
function b(n, r) {
|
|
2768
|
-
var i;
|
|
2769
|
+
var i, a;
|
|
2769
2770
|
if (!f) return;
|
|
2770
|
-
let
|
|
2771
|
-
if (!
|
|
2772
|
-
(i =
|
|
2771
|
+
let o = toValue(e);
|
|
2772
|
+
if (!o) return;
|
|
2773
|
+
(i = o instanceof Document ? f.document.body : o) == null || i.scrollTo({
|
|
2773
2774
|
top: toValue(r) ?? y.value,
|
|
2774
2775
|
left: toValue(n) ?? v.value,
|
|
2775
2776
|
behavior: toValue(d)
|
|
2776
2777
|
});
|
|
2777
|
-
let o = a
|
|
2778
|
-
v != null && (h.value =
|
|
2778
|
+
let s = (o == null || (a = o.document) == null ? void 0 : a.documentElement) || o?.documentElement || o;
|
|
2779
|
+
v != null && (h.value = s.scrollLeft), y != null && (g.value = s.scrollTop);
|
|
2779
2780
|
}
|
|
2780
2781
|
let S = shallowRef(!1), C = reactive({
|
|
2781
2782
|
left: !0,
|
|
@@ -2789,20 +2790,21 @@ function useScroll(e, n = {}) {
|
|
|
2789
2790
|
bottom: !1
|
|
2790
2791
|
}), E = (e) => {
|
|
2791
2792
|
S.value && (S.value = !1, w.left = !1, w.right = !1, w.top = !1, w.bottom = !1, o(e));
|
|
2792
|
-
}, D =
|
|
2793
|
+
}, D = useDebounceFn(E, r + a), O = (e) => {
|
|
2794
|
+
var n;
|
|
2793
2795
|
if (!f) return;
|
|
2794
|
-
let n = e
|
|
2795
|
-
w.left =
|
|
2796
|
-
let
|
|
2797
|
-
|
|
2798
|
-
let
|
|
2799
|
-
e === f.document && !
|
|
2800
|
-
let
|
|
2801
|
-
|
|
2796
|
+
let r = (e == null || (n = e.document) == null ? void 0 : n.documentElement) || e?.documentElement || unrefElement(e), { display: i, flexDirection: a, direction: o } = getComputedStyle(r), s = o === "rtl" ? -1 : 1, l = r.scrollLeft;
|
|
2797
|
+
w.left = l < h.value, w.right = l > h.value;
|
|
2798
|
+
let u = Math.abs(l * s) <= (c.left || 0), d = Math.abs(l * s) + r.clientWidth >= r.scrollWidth - (c.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
|
|
2799
|
+
i === "flex" && a === "row-reverse" ? (C.left = d, C.right = u) : (C.left = u, C.right = d), h.value = l;
|
|
2800
|
+
let p = r.scrollTop;
|
|
2801
|
+
e === f.document && !p && (p = f.document.body.scrollTop), w.top = p < g.value, w.bottom = p > g.value;
|
|
2802
|
+
let m = Math.abs(p) <= (c.top || 0), v = Math.abs(p) + r.clientHeight >= r.scrollHeight - (c.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
|
|
2803
|
+
i === "flex" && a === "column-reverse" ? (C.top = v, C.bottom = m) : (C.top = m, C.bottom = v), g.value = p;
|
|
2802
2804
|
}, k = (e) => {
|
|
2803
2805
|
f && (O(e.target.documentElement ?? e.target), S.value = !0, D(e), s(e));
|
|
2804
2806
|
};
|
|
2805
|
-
return useEventListener$1(e, "scroll", r ?
|
|
2807
|
+
return useEventListener$1(e, "scroll", r ? useThrottleFn(k, r, !0, !1) : k, u), tryOnMounted(() => {
|
|
2806
2808
|
try {
|
|
2807
2809
|
let n = toValue(e);
|
|
2808
2810
|
if (!n) return;
|
|
@@ -2833,7 +2835,6 @@ function useLocalStorage(e, n, r = {}) {
|
|
|
2833
2835
|
let { window: i = defaultWindow } = r;
|
|
2834
2836
|
return useStorage(e, n, i?.localStorage, r);
|
|
2835
2837
|
}
|
|
2836
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
2837
2838
|
function useWindowSize(e = {}) {
|
|
2838
2839
|
let { window: n = defaultWindow, initialWidth: r = Infinity, initialHeight: i = Infinity, listenOrientation: a = !0, includeScrollbar: o = !0, type: s = "inner" } = e, c = shallowRef(r), l = shallowRef(i), u = () => {
|
|
2839
2840
|
if (n) if (s === "outer") c.value = n.outerWidth, l.value = n.outerHeight;
|
|
@@ -2868,7 +2869,7 @@ var floatPopup_default = /* @__PURE__ */ defineComponent({
|
|
|
2868
2869
|
overlay: { type: Boolean }
|
|
2869
2870
|
},
|
|
2870
2871
|
setup(e, { expose: s }) {
|
|
2871
|
-
let l = useRouter(), d = e, f = shallowRef(!1), { height: p } =
|
|
2872
|
+
let l = useRouter(), d = e, f = shallowRef(!1), { height: p } = useWindowSize(), m = computed(() => isArray(d.anchors) ? d.anchors : d.anchors === "high" ? [
|
|
2872
2873
|
0,
|
|
2873
2874
|
Math.round(.4 * p.value),
|
|
2874
2875
|
Math.round(.7 * p.value),
|
|
@@ -3026,8 +3027,8 @@ var image_default = /* @__PURE__ */ defineComponent({
|
|
|
3026
3027
|
}, j = useTemplateRef("img");
|
|
3027
3028
|
return r({
|
|
3028
3029
|
isLoaded: S,
|
|
3029
|
-
imageEl: j.value?.imageRef,
|
|
3030
|
-
imageIns: j
|
|
3030
|
+
imageEl: computed(() => j.value?.imageRef),
|
|
3031
|
+
imageIns: j
|
|
3031
3032
|
}), (r, i) => {
|
|
3032
3033
|
let l = NImage, m = Icon;
|
|
3033
3034
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -3288,6 +3289,7 @@ var data_exports = /* @__PURE__ */ __export({
|
|
|
3288
3289
|
this.$$raw = e;
|
|
3289
3290
|
}
|
|
3290
3291
|
}, PromiseContent = class e {
|
|
3292
|
+
[Symbol.toStringTag] = "PromiseContent";
|
|
3291
3293
|
static _this;
|
|
3292
3294
|
static #_ = this._this = useGlobalVar(this, "data/PromiseContent");
|
|
3293
3295
|
static isPromiseContent(e) {
|
|
@@ -3303,12 +3305,22 @@ var data_exports = /* @__PURE__ */ __export({
|
|
|
3303
3305
|
this.data.value = void 0, this.isLoading.value = !0, this.isError.value = !1, this.errorCause.value = void 0, this.isEmpty.value = !0;
|
|
3304
3306
|
try {
|
|
3305
3307
|
let n = await e;
|
|
3306
|
-
this.data.value = this.processor(n), this.isLoading.value = !1, this.isError.value = !1, this.isEmpty.value = isEmpty(n);
|
|
3308
|
+
this.data.value = this.processor(n), this.isLoading.value = !1, this.isError.value = !1, this.isEmpty.value = isEmpty(n), this.emitter.emit("success", this.data.value);
|
|
3307
3309
|
} catch (e) {
|
|
3308
|
-
this.data.value = void 0, this.isError.value = !0, this.errorCause.value = isError(e) ? e : Error(String(e)), console.error("Non-throw Error [PromiseContent]", e);
|
|
3310
|
+
this.data.value = void 0, this.isError.value = !0, this.errorCause.value = isError(e) ? e : Error(String(e)), console.error("Non-throw Error [PromiseContent]", e), this.emitter.emit("error", e);
|
|
3309
3311
|
}
|
|
3312
|
+
this.emitter.emit("finial", void 0);
|
|
3313
|
+
}
|
|
3314
|
+
emitter = mitt_default();
|
|
3315
|
+
onError(e) {
|
|
3316
|
+
return this.emitter.on("error", e), () => this.emitter.off("error", e);
|
|
3317
|
+
}
|
|
3318
|
+
onSuccess(e) {
|
|
3319
|
+
return this.emitter.on("success", e), () => this.emitter.off("success", e);
|
|
3320
|
+
}
|
|
3321
|
+
onFinal(e) {
|
|
3322
|
+
return this.emitter.on("finial", e), () => this.emitter.off("finial", e);
|
|
3310
3323
|
}
|
|
3311
|
-
[Symbol.toStringTag] = "[class PromiseContent]";
|
|
3312
3324
|
setProcessor(n) {
|
|
3313
3325
|
return e.fromPromise(this.promise, n);
|
|
3314
3326
|
}
|
|
@@ -3555,7 +3567,7 @@ var _hoisted_1$3 = {
|
|
|
3555
3567
|
isEmpty: isEmpty(d.source),
|
|
3556
3568
|
data: d.source,
|
|
3557
3569
|
isNoResult: isEmpty(d.source)
|
|
3558
|
-
}), p =
|
|
3570
|
+
}), p = {
|
|
3559
3571
|
isLoadingNoData: {
|
|
3560
3572
|
opacity: 1,
|
|
3561
3573
|
translateY: 0,
|
|
@@ -3566,7 +3578,7 @@ var _hoisted_1$3 = {
|
|
|
3566
3578
|
left: "50%",
|
|
3567
3579
|
top: "8px",
|
|
3568
3580
|
translateX: "-50%",
|
|
3569
|
-
backgroundColor: "
|
|
3581
|
+
backgroundColor: "var(--van-background-2)",
|
|
3570
3582
|
borderRadius: "100%"
|
|
3571
3583
|
},
|
|
3572
3584
|
isErrorNoData: {
|
|
@@ -3579,7 +3591,7 @@ var _hoisted_1$3 = {
|
|
|
3579
3591
|
left: "50%",
|
|
3580
3592
|
top: "50%",
|
|
3581
3593
|
translateX: "-50%",
|
|
3582
|
-
backgroundColor: "
|
|
3594
|
+
backgroundColor: "var(--van-background-2)",
|
|
3583
3595
|
borderRadius: "4px"
|
|
3584
3596
|
},
|
|
3585
3597
|
isLoadingData: {
|
|
@@ -3592,7 +3604,7 @@ var _hoisted_1$3 = {
|
|
|
3592
3604
|
left: "4px",
|
|
3593
3605
|
top: "calc(100% - 8px - 1rem)",
|
|
3594
3606
|
translateX: "0%",
|
|
3595
|
-
backgroundColor: p
|
|
3607
|
+
backgroundColor: "var(--p-color)",
|
|
3596
3608
|
borderRadius: "1.3rem"
|
|
3597
3609
|
},
|
|
3598
3610
|
isErrorData: {
|
|
@@ -3605,7 +3617,7 @@ var _hoisted_1$3 = {
|
|
|
3605
3617
|
left: "4px",
|
|
3606
3618
|
top: "calc(100% - 8px - 4rem)",
|
|
3607
3619
|
translateX: "0%",
|
|
3608
|
-
backgroundColor: p
|
|
3620
|
+
backgroundColor: "var(--p-color)",
|
|
3609
3621
|
borderRadius: "4px"
|
|
3610
3622
|
},
|
|
3611
3623
|
isEmpty: {
|
|
@@ -3618,7 +3630,7 @@ var _hoisted_1$3 = {
|
|
|
3618
3630
|
left: "50%",
|
|
3619
3631
|
top: "50%",
|
|
3620
3632
|
translateX: "-50%",
|
|
3621
|
-
backgroundColor: "
|
|
3633
|
+
backgroundColor: "var(--van-background-2)",
|
|
3622
3634
|
borderRadius: "4px"
|
|
3623
3635
|
},
|
|
3624
3636
|
done: {
|
|
@@ -3631,16 +3643,16 @@ var _hoisted_1$3 = {
|
|
|
3631
3643
|
left: "4px",
|
|
3632
3644
|
top: "calc(100% - 8px - 1rem)",
|
|
3633
3645
|
translateX: "0%",
|
|
3634
|
-
backgroundColor: p
|
|
3646
|
+
backgroundColor: "var(--p-color)",
|
|
3635
3647
|
borderRadius: "4px"
|
|
3636
3648
|
}
|
|
3637
|
-
},
|
|
3638
|
-
return n({ cont:
|
|
3639
|
-
let
|
|
3649
|
+
}, m = computed(() => !d.hideLoading && f.value.isLoading ? f.value.isEmpty ? "isLoadingNoData" : "isLoadingData" : !d.hideError && f.value.isError ? f.value.isEmpty ? "isErrorNoData" : "isErrorData" : !d.hideEmpty && f.value.isNoResult ? "isEmpty" : "done"), h = useTemplateRef("cont");
|
|
3650
|
+
return n({ cont: h }), (n, i) => {
|
|
3651
|
+
let g = Loading, v = NEmpty, y = NButton, b = NIcon, S = NResult, C = AnimatePresence;
|
|
3640
3652
|
return openBlock(), createElementBlock("div", _hoisted_1$1, [createElementVNode("div", {
|
|
3641
3653
|
class: normalizeClass(["relative size-full", [d.class]]),
|
|
3642
3654
|
ref_key: "cont",
|
|
3643
|
-
ref:
|
|
3655
|
+
ref: h
|
|
3644
3656
|
}, [f.value.isEmpty ? createCommentVNode("", !0) : renderSlot(n.$slots, "default", {
|
|
3645
3657
|
key: 0,
|
|
3646
3658
|
data: f.value.data
|
|
@@ -3652,27 +3664,27 @@ var _hoisted_1$3 = {
|
|
|
3652
3664
|
left: "50%",
|
|
3653
3665
|
translateX: "-50%"
|
|
3654
3666
|
},
|
|
3655
|
-
variants:
|
|
3656
|
-
animate:
|
|
3667
|
+
variants: p,
|
|
3668
|
+
animate: m.value,
|
|
3657
3669
|
class: "shadow flex justify-center items-center scale-100 absolute whitespace-nowrap"
|
|
3658
3670
|
}, {
|
|
3659
3671
|
default: withCtx(() => [createVNode(Transition, { name: "van-fade" }, {
|
|
3660
|
-
default: withCtx(() => [
|
|
3672
|
+
default: withCtx(() => [m.value === "isLoadingNoData" ? (openBlock(), createBlock(g, {
|
|
3661
3673
|
key: 0,
|
|
3662
3674
|
size: "25px",
|
|
3663
3675
|
color: "var(--p-color)"
|
|
3664
|
-
})) :
|
|
3676
|
+
})) : m.value === "isLoadingData" ? (openBlock(), createBlock(loading_default, {
|
|
3665
3677
|
key: 1,
|
|
3666
3678
|
size: "10px",
|
|
3667
3679
|
color: "white"
|
|
3668
3680
|
}, {
|
|
3669
3681
|
default: withCtx(() => [...i[2] ||= [createTextVNode("加载中", -1)]]),
|
|
3670
3682
|
_: 1
|
|
3671
|
-
})) :
|
|
3683
|
+
})) : m.value === "isEmpty" ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(v, {
|
|
3672
3684
|
description: "无结果",
|
|
3673
3685
|
class: normalizeClass(["w-full !justify-center", [e.classEmpty]]),
|
|
3674
3686
|
style: normalizeStyle([e.style, e.styleEmpty])
|
|
3675
|
-
}, null, 8, ["class", "style"])])) :
|
|
3687
|
+
}, null, 8, ["class", "style"])])) : m.value === "isErrorNoData" ? (openBlock(), createElementBlock("div", _hoisted_3, [createVNode(S, {
|
|
3676
3688
|
class: normalizeClass(["!items-center !justify-center flex flex-col !size-full *:w-full text-wrap", [e.classError]]),
|
|
3677
3689
|
status: "error",
|
|
3678
3690
|
title: "网络错误",
|
|
@@ -3699,7 +3711,7 @@ var _hoisted_1$3 = {
|
|
|
3699
3711
|
"class",
|
|
3700
3712
|
"style",
|
|
3701
3713
|
"description"
|
|
3702
|
-
])])) :
|
|
3714
|
+
])])) : m.value === "isErrorData" ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
3703
3715
|
createVNode(b, {
|
|
3704
3716
|
size: "3rem",
|
|
3705
3717
|
color: "white"
|
|
@@ -4986,11 +4998,12 @@ var Ce = ["data-index"], U = /* @__PURE__ */ defineComponent({
|
|
|
4986
4998
|
$$plugin;
|
|
4987
4999
|
$$meta;
|
|
4988
5000
|
thisEp;
|
|
5001
|
+
customIsSafe;
|
|
4989
5002
|
get $thisEp() {
|
|
4990
5003
|
return new Ep(this.thisEp);
|
|
4991
5004
|
}
|
|
4992
5005
|
constructor(e) {
|
|
4993
|
-
super(e), this.$$plugin = e.$$plugin, this.$$meta = e.$$meta, this.thisEp = e.thisEp, this.updateTime = e.updateTime, this.cover = e.cover, this.title = e.title, this.id = e.id, this.categories = e.categories, this.author = e.author, this.viewNumber = e.viewNumber, this.likeNumber = e.likeNumber, this.commentNumber = e.commentNumber, this.isLiked = e.isLiked, this.customIsAI = e.customIsAI, this.contentType = ContentPage.toContentType(e.contentType), this.length = e.length, this.epLength = e.epLength, this.description = e.description, this.commentSendable = e.commentSendable;
|
|
5006
|
+
super(e), this.$$plugin = e.$$plugin, this.$$meta = e.$$meta, this.thisEp = e.thisEp, this.updateTime = e.updateTime, this.cover = e.cover, this.title = e.title, this.id = e.id, this.categories = e.categories, this.author = e.author, this.viewNumber = e.viewNumber, this.likeNumber = e.likeNumber, this.commentNumber = e.commentNumber, this.isLiked = e.isLiked, this.customIsAI = e.customIsAI, this.contentType = ContentPage.toContentType(e.contentType), this.length = e.length, this.epLength = e.epLength, this.description = e.description, this.commentSendable = e.commentSendable, this.customIsSafe = e.customIsSafe;
|
|
4994
5007
|
}
|
|
4995
5008
|
commentSendable;
|
|
4996
5009
|
customIsAI;
|
|
@@ -5133,7 +5146,7 @@ const createLoadingMessage = (e = "加载中", n = window.$message) => {
|
|
|
5133
5146
|
};
|
|
5134
5147
|
var ConfigPointer = class {
|
|
5135
5148
|
constructor(e, n) {
|
|
5136
|
-
this.pluginName = e, this.config = n, this.key = Symbol(e);
|
|
5149
|
+
this.pluginName = e, this.config = n, this.key = Symbol.for(`config:${e}`);
|
|
5137
5150
|
}
|
|
5138
5151
|
key;
|
|
5139
5152
|
};
|
|
@@ -5178,26 +5191,29 @@ const appConfig = new ConfigPointer("core", {
|
|
|
5178
5191
|
let r = n.get(e.key);
|
|
5179
5192
|
if (!r) throw Error(`not found config by plugin "${e.pluginName}"`);
|
|
5180
5193
|
return r.value;
|
|
5181
|
-
}, "load"), a =
|
|
5194
|
+
}, "load"), a = usePreferredDark(), o = computed(() => {
|
|
5195
|
+
if (!s(appConfig)) return a.value;
|
|
5196
|
+
switch (r(appConfig).value.darkMode) {
|
|
5197
|
+
case "light": return !1;
|
|
5198
|
+
case "dark": return !0;
|
|
5199
|
+
case "system": return a.value;
|
|
5200
|
+
default: return !1;
|
|
5201
|
+
}
|
|
5202
|
+
}), s = e.action((e) => n.has(e.key), "isExistConfig");
|
|
5182
5203
|
return {
|
|
5183
|
-
isDark:
|
|
5184
|
-
switch (r(appConfig).darkMode) {
|
|
5185
|
-
case "light": return !1;
|
|
5186
|
-
case "dark": return !0;
|
|
5187
|
-
case "system": return a.value;
|
|
5188
|
-
default: return !1;
|
|
5189
|
-
}
|
|
5190
|
-
}),
|
|
5204
|
+
isDark: o,
|
|
5191
5205
|
form: n,
|
|
5192
|
-
$load: r
|
|
5206
|
+
$load: r,
|
|
5207
|
+
$isExistConfig: s,
|
|
5208
|
+
$resignerConfig: e.action((e) => {
|
|
5209
|
+
let n = useConfig(), r = useLocalStorage(`config:${e.pluginName}`, fromPairs(Object.entries(e.config).map(([e, n]) => [e, n.defaultValue])));
|
|
5210
|
+
n.form.set(e.key, {
|
|
5211
|
+
form: e.config,
|
|
5212
|
+
value: r
|
|
5213
|
+
});
|
|
5214
|
+
}, "resignerConfig")
|
|
5193
5215
|
};
|
|
5194
|
-
}),
|
|
5195
|
-
let n = useConfig(), r = useLocalStorage(`${e.pluginName}.config`, fromPairs(Object.entries(e.config).map(([e, n]) => [e, n.defaultValue])));
|
|
5196
|
-
n.form.set(e.key, {
|
|
5197
|
-
form: e.config,
|
|
5198
|
-
value: r
|
|
5199
|
-
});
|
|
5200
|
-
}, definePlugin = (e) => {
|
|
5216
|
+
}), definePlugin = (e) => {
|
|
5201
5217
|
if (isFunction(e)) var n = e(window.$$safe$$);
|
|
5202
5218
|
else var n = e;
|
|
5203
5219
|
console.log("[definePlugin] new plugin defining...", n);
|
|
@@ -5221,7 +5237,7 @@ const appConfig = new ConfigPointer("core", {
|
|
|
5221
5237
|
for (let e of o.hotPage.topButton ?? []) ContentPage.setTopButton(r, e);
|
|
5222
5238
|
}
|
|
5223
5239
|
}
|
|
5224
|
-
if (s && User.userEditorBase.set(r, s.edit), n.config) for (let e of n.config) resignerConfig(e);
|
|
5240
|
+
if (s && User.userEditorBase.set(r, s.edit), n.config) for (let e of n.config) useConfig().$resignerConfig(e);
|
|
5225
5241
|
return SharedFunction.call("addPlugin", n);
|
|
5226
5242
|
}, declareDependType = (e) => Symbol.for(`expose:${e}`), requireDepend = (e) => _pluginExposes.get(e), _pluginExposes = /* @__PURE__ */ new Map(), coreModule = declareDependType("core"), _ = void 0, Comp = {
|
|
5227
5243
|
Await: await_default,
|