wevu 6.16.4 → 6.16.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/dev/index.mjs +4 -4
- package/dist/dev/{ref-BTTXccLL.mjs → ref-oJCdOWf7.mjs} +12 -9
- package/dist/dev/ref-oJCdOWf7.mjs.map +1 -0
- package/dist/dev/{router-BZZnIx32.mjs → router-CXNNN43P.mjs} +105 -9
- package/dist/dev/router-CXNNN43P.mjs.map +1 -0
- package/dist/dev/router.mjs +10 -5
- package/dist/dev/router.mjs.map +1 -1
- package/dist/dev/{src-Cam-aFpb.mjs → src-C2BzhMY6.mjs} +66 -147
- package/dist/dev/src-C2BzhMY6.mjs.map +1 -0
- package/dist/dev/{store-Dr0zE_9B.mjs → store-BhOds5RF.mjs} +2 -2
- package/dist/dev/{store-Dr0zE_9B.mjs.map → store-BhOds5RF.mjs.map} +1 -1
- package/dist/dev/store.mjs +1 -1
- package/dist/dev/vue-demi.mjs +4 -4
- package/dist/index.mjs +1 -1
- package/dist/ref-B6CIXciv.mjs +1 -0
- package/dist/router-Cm3FUnTw.mjs +1 -0
- package/dist/router.mjs +1 -1
- package/dist/src-BF-e4_0K.mjs +1 -0
- package/dist/{store-B63-EIon.mjs → store-C-7rPMM3.mjs} +1 -1
- package/dist/store.mjs +1 -1
- package/dist/vue-demi.mjs +1 -1
- package/package.json +5 -5
- package/dist/dev/ref-BTTXccLL.mjs.map +0 -1
- package/dist/dev/router-BZZnIx32.mjs.map +0 -1
- package/dist/dev/src-Cam-aFpb.mjs.map +0 -1
- package/dist/ref-Bs--7iY3.mjs +0 -1
- package/dist/router-BtpVtHM4.mjs +0 -1
- package/dist/src-BGx2SrdP.mjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as track, C as effect, D as onScopeDispose, E as getCurrentScope, M as triggerEffects, N as nextTick, O as startBatch, P as queueJob, S as batch, T as endBatch, a as toValue, b as addMutationRecorder, c as isRaw, d as reactive, f as isShallowReactive, g as touchReactive, h as prelinkReactiveTree, i as ref, j as trigger, k as stop, l as isReactive, m as clearPatchIndices, n as isRef, o as unref, p as shallowReactive, r as markAsRef, s as getReactiveVersion, t as customRef, u as markRaw, v as isObject$1, w as effectScope, x as removeMutationRecorder, y as toRaw } from "./ref-
|
|
2
|
-
import { i as computed, n as defineStore, r as createStore, t as storeToRefs } from "./store-
|
|
3
|
-
import { $ as
|
|
1
|
+
import { A as track, C as effect, D as onScopeDispose, E as getCurrentScope, M as triggerEffects, N as nextTick, O as startBatch, P as queueJob, S as batch, T as endBatch, a as toValue, b as addMutationRecorder, c as isRaw, d as reactive, f as isShallowReactive, g as touchReactive, h as prelinkReactiveTree, i as ref, j as trigger, k as stop, l as isReactive, m as clearPatchIndices, n as isRef, o as unref, p as shallowReactive, r as markAsRef, s as getReactiveVersion, t as customRef, u as markRaw, v as isObject$1, w as effectScope, x as removeMutationRecorder, y as toRaw } from "./ref-oJCdOWf7.mjs";
|
|
2
|
+
import { i as computed, n as defineStore, r as createStore, t as storeToRefs } from "./store-BhOds5RF.mjs";
|
|
3
|
+
import { $ as onUnhandledRejection, A as setGlobalProvidedValue, B as onPageNotFound, C as releaseCurrentPageInstance, D as attachRuntimeProvideContext, E as attachRuntimeLayoutProvideContext, F as onHide, G as onResize, H as onPullDownRefresh, I as onLaunch, J as onShareAppMessage, K as onRouteDone, L as onLoad, M as onAttached, N as onDetached, O as ensureRuntimeAppProvides, P as onError, Q as onThemeChange, R as onMemoryWarning, S as getCurrentPageInstance, T as runInPageScrollHook, U as onReachBottom, V as onPageScroll, W as onReady, X as onShow, Y as onShareTimeline, Z as onTabItemTap, _ as provide, _t as readonly, at as getCurrentSetupContext, b as ensureMiniProgramGlobalPatched, ct as setCurrentSetupContext, dt as getCurrentMiniProgramRuntimeCapabilities, et as onUnload, ft as getMiniProgramGlobalObject, g as injectGlobal, gt as isReadonly, h as inject, ht as isProxy, it as getCurrentInstance, j as onAddToFavorites, k as setRuntimeAppProvidedValue, lt as getCurrentMiniProgramHostConfig, m as hasInjectionContext, mt as supportsCurrentMiniProgramRuntimeCapability, n as useNativeRouter, nt as callHookList, ot as pushHook, pt as getScopedSlotHostGlobalObject, q as onSaveExitState, rt as callHookReturn, st as setCurrentInstance, t as useNativePageRouter, tt as assertInSetup, ut as getCurrentMiniProgramPages, v as provideGlobal, vt as shallowReadonly, w as resolvePageOptions, x as ensurePageShareMenus, y as bindCurrentPageInstance, z as onMoved } from "./router-CXNNN43P.mjs";
|
|
4
4
|
import { WEVU_ATTRS_KEY, WEVU_EFFECT_SCOPE_KEY, WEVU_EXPOSED_KEY, WEVU_HOOKS_KEY, WEVU_INLINE_HANDLER, WEVU_INLINE_MAP_KEY, WEVU_IS_APP_INSTANCE_KEY, WEVU_LAYOUT_BRIDGE_PAGE_KEYS, WEVU_LAYOUT_HOST_BRIDGE_KEY, WEVU_MODEL_HANDLER, WEVU_NATIVE_INSTANCE_KEY, WEVU_ON_BEFORE_UPDATE_HOOK, WEVU_ON_LOAD_CALLED_KEY, WEVU_ON_UPDATED_HOOK, WEVU_OWNER_HANDLER, WEVU_PAGE_LAYOUT_NAME_KEY, WEVU_PAGE_LAYOUT_NONE, WEVU_PAGE_LAYOUT_PROPS_KEY, WEVU_PAGE_LAYOUT_SETTER_KEY, WEVU_PAGE_SCROLL_HOOK_DEPTH_KEY, WEVU_PARENT_INSTANCE_KEY, WEVU_PENDING_PROP_VALUES_KEY, WEVU_PROPS_KEY, WEVU_PROP_KEYS_KEY, WEVU_PUBLIC_RUNTIME_KEY, WEVU_READY_CALLED_KEY, WEVU_RESERVED_METHOD_PREFIX, WEVU_ROUTE_DONE_CALLED_KEY, WEVU_ROUTE_DONE_IN_TICK_KEY, WEVU_RUNTIME_APP_KEY, WEVU_RUNTIME_KEY, WEVU_SCOPED_SLOT_CREATOR_KEY, WEVU_SETUP_CONTEXT_INSTANCE_KEY, WEVU_SLOT_NAMES_PROP, WEVU_SLOT_OWNER_ID_KEY, WEVU_SLOT_OWNER_ID_PROP, WEVU_SLOT_OWNER_KEY, WEVU_SLOT_PROPS_DATA_KEY, WEVU_SLOT_PROPS_KEY, WEVU_SLOT_SCOPE_KEY, WEVU_TEMPLATE_REFS_CALLBACKS_KEY, WEVU_TEMPLATE_REFS_KEY, WEVU_TEMPLATE_REFS_PENDING_KEY, WEVU_TEMPLATE_REF_MAP_KEY, WEVU_WATCH_STOPS_KEY } from "@weapp-core/constants";
|
|
5
5
|
import { resolveMiniProgramPageKeys } from "@weapp-core/shared";
|
|
6
6
|
import { wpi } from "@wevu/api";
|
|
@@ -478,7 +478,7 @@ function watchSyncEffect(effectFn, options = {}) {
|
|
|
478
478
|
|
|
479
479
|
//#endregion
|
|
480
480
|
//#region package.json
|
|
481
|
-
var version$1 = "6.16.
|
|
481
|
+
var version$1 = "6.16.6";
|
|
482
482
|
|
|
483
483
|
//#endregion
|
|
484
484
|
//#region src/version.ts
|
|
@@ -494,6 +494,9 @@ function toPathSegments(path) {
|
|
|
494
494
|
if (!path) return [];
|
|
495
495
|
return path.split(".").map((segment) => segment.trim()).filter(Boolean);
|
|
496
496
|
}
|
|
497
|
+
function hasOwn(source, key) {
|
|
498
|
+
return Object.prototype.hasOwnProperty.call(source, key);
|
|
499
|
+
}
|
|
497
500
|
|
|
498
501
|
//#endregion
|
|
499
502
|
//#region src/runtime/internal.ts
|
|
@@ -520,7 +523,7 @@ function setWithSegments(target, segments, value) {
|
|
|
520
523
|
if (current[key] == null || typeof current[key] !== "object") current[key] = {};
|
|
521
524
|
current = current[key];
|
|
522
525
|
}
|
|
523
|
-
current[segments.
|
|
526
|
+
current[segments[segments.length - 1]] = value;
|
|
524
527
|
}
|
|
525
528
|
function setByPath(state, computedRefs, computedSetters, segments, value) {
|
|
526
529
|
if (!segments.length) return;
|
|
@@ -758,7 +761,7 @@ function createRuntimeContext(options) {
|
|
|
758
761
|
if (isValidNativeCandidate(runtimeNative)) return runtimeNative;
|
|
759
762
|
};
|
|
760
763
|
const installNativeMethodBridge = (methodName) => {
|
|
761
|
-
if (
|
|
764
|
+
if (hasOwn(boundMethods, methodName)) return;
|
|
762
765
|
const bridge = (...args) => {
|
|
763
766
|
const nativeInstance = resolveNativeInstance(state, state);
|
|
764
767
|
if (!nativeInstance) return;
|
|
@@ -775,9 +778,9 @@ function createRuntimeContext(options) {
|
|
|
775
778
|
if (key === "data") return state;
|
|
776
779
|
if (key === "$state") return state;
|
|
777
780
|
if (key === "$computed") return computedProxy;
|
|
778
|
-
if (
|
|
781
|
+
if (hasOwn(boundMethods, key)) return boundMethods[key];
|
|
779
782
|
if (computedRefs[key]) return computedRefs[key].value;
|
|
780
|
-
if (
|
|
783
|
+
if (hasOwn(appConfig.globalProperties, key)) return appConfig.globalProperties[key];
|
|
781
784
|
}
|
|
782
785
|
if (!Reflect.has(target, key)) {
|
|
783
786
|
const nativeInstance = resolveNativeInstance(target, receiver);
|
|
@@ -801,7 +804,7 @@ function createRuntimeContext(options) {
|
|
|
801
804
|
},
|
|
802
805
|
has(target, key) {
|
|
803
806
|
if (key === "data") return true;
|
|
804
|
-
if (typeof key === "string" && (computedRefs[key] ||
|
|
807
|
+
if (typeof key === "string" && (computedRefs[key] || hasOwn(boundMethods, key))) return true;
|
|
805
808
|
const nativeInstance = resolveNativeInstance(target, target);
|
|
806
809
|
if (nativeInstance && Reflect.has(nativeInstance, key)) return true;
|
|
807
810
|
return Reflect.has(target, key);
|
|
@@ -835,7 +838,7 @@ function createRuntimeContext(options) {
|
|
|
835
838
|
setComputedValue(computedSetters, key, value);
|
|
836
839
|
}
|
|
837
840
|
};
|
|
838
|
-
if (
|
|
841
|
+
if (hasOwn(boundMethods, key)) return {
|
|
839
842
|
configurable: true,
|
|
840
843
|
enumerable: false,
|
|
841
844
|
value: boundMethods[key]
|
|
@@ -1034,7 +1037,7 @@ function isPlainObjectEqual(a, b, compare) {
|
|
|
1034
1037
|
const bKeys = Object.keys(b);
|
|
1035
1038
|
if (aKeys.length !== bKeys.length) return false;
|
|
1036
1039
|
for (const key of aKeys) {
|
|
1037
|
-
if (!
|
|
1040
|
+
if (!hasOwn(b, key)) return false;
|
|
1038
1041
|
if (!compare(a[key], b[key])) return false;
|
|
1039
1042
|
}
|
|
1040
1043
|
return true;
|
|
@@ -1052,13 +1055,13 @@ function assignNestedDiff(prev, next, path, output) {
|
|
|
1052
1055
|
if (isDeepEqual(prev, next)) return;
|
|
1053
1056
|
if (isPlainObject$1(prev) && isPlainObject$1(next)) {
|
|
1054
1057
|
for (const key of Object.keys(next)) {
|
|
1055
|
-
if (!
|
|
1058
|
+
if (!hasOwn(prev, key)) {
|
|
1056
1059
|
output[`${path}.${key}`] = normalizeSetDataValue$1(next[key]);
|
|
1057
1060
|
continue;
|
|
1058
1061
|
}
|
|
1059
1062
|
assignNestedDiff(prev[key], next[key], `${path}.${key}`, output);
|
|
1060
1063
|
}
|
|
1061
|
-
for (const key of Object.keys(prev)) if (!
|
|
1064
|
+
for (const key of Object.keys(prev)) if (!hasOwn(next, key)) output[`${path}.${key}`] = null;
|
|
1062
1065
|
return;
|
|
1063
1066
|
}
|
|
1064
1067
|
if (Array.isArray(prev) && Array.isArray(next)) {
|
|
@@ -1076,7 +1079,7 @@ function diffSnapshots(prev, next, options) {
|
|
|
1076
1079
|
}
|
|
1077
1080
|
for (const key of Object.keys(prev)) {
|
|
1078
1081
|
if (skipKeys === null || skipKeys === void 0 ? void 0 : skipKeys.has(key)) continue;
|
|
1079
|
-
if (!
|
|
1082
|
+
if (!hasOwn(next, key)) diff[key] = null;
|
|
1080
1083
|
}
|
|
1081
1084
|
return diff;
|
|
1082
1085
|
}
|
|
@@ -1090,7 +1093,7 @@ function collapsePayload(input) {
|
|
|
1090
1093
|
const prefixStack = [];
|
|
1091
1094
|
for (const key of keys) {
|
|
1092
1095
|
while (prefixStack.length) {
|
|
1093
|
-
const prefix = prefixStack.
|
|
1096
|
+
const prefix = prefixStack[prefixStack.length - 1];
|
|
1094
1097
|
if (key.startsWith(prefix)) break;
|
|
1095
1098
|
prefixStack.pop();
|
|
1096
1099
|
}
|
|
@@ -1215,8 +1218,8 @@ function mergeSiblingPayload(options) {
|
|
|
1215
1218
|
return 2 + key.length + 1 + estimateValueSize(value);
|
|
1216
1219
|
};
|
|
1217
1220
|
for (const [parent, list] of parents) {
|
|
1218
|
-
if (
|
|
1219
|
-
const existingChildren = list.filter((k) =>
|
|
1221
|
+
if (hasOwn(out, parent)) continue;
|
|
1222
|
+
const existingChildren = list.filter((k) => hasOwn(out, k));
|
|
1220
1223
|
if (existingChildren.length < mergeSiblingThreshold) continue;
|
|
1221
1224
|
const parentValue = getPlainByPath(parent);
|
|
1222
1225
|
if (mergeSiblingSkipArray && Array.isArray(parentValue)) continue;
|
|
@@ -1267,7 +1270,7 @@ function isShallowEqualValue(a, b) {
|
|
|
1267
1270
|
const bKeys = Object.keys(b);
|
|
1268
1271
|
if (aKeys.length !== bKeys.length) return false;
|
|
1269
1272
|
for (const k of aKeys) {
|
|
1270
|
-
if (!
|
|
1273
|
+
if (!hasOwn(b, k)) return false;
|
|
1271
1274
|
if (!Object.is(a[k], b[k])) return false;
|
|
1272
1275
|
}
|
|
1273
1276
|
return true;
|
|
@@ -1287,7 +1290,7 @@ function isDeepEqualValue(a, b, depth, budget) {
|
|
|
1287
1290
|
for (const k of aKeys) {
|
|
1288
1291
|
budget.keys -= 1;
|
|
1289
1292
|
if (budget.keys <= 0) return false;
|
|
1290
|
-
if (!
|
|
1293
|
+
if (!hasOwn(b, k)) return false;
|
|
1291
1294
|
if (!isDeepEqualValue(a[k], b[k], depth - 1, budget)) return false;
|
|
1292
1295
|
}
|
|
1293
1296
|
return true;
|
|
@@ -1300,10 +1303,10 @@ function applySnapshotUpdate(snapshot, path, value, op, options) {
|
|
|
1300
1303
|
let current = snapshot;
|
|
1301
1304
|
for (let i = 0; i < segments.length - 1; i++) {
|
|
1302
1305
|
const key = segments[i];
|
|
1303
|
-
if (!
|
|
1306
|
+
if (!hasOwn(current, key) || current[key] == null || typeof current[key] !== "object") current[key] = {};
|
|
1304
1307
|
current = current[key];
|
|
1305
1308
|
}
|
|
1306
|
-
const leaf = segments.
|
|
1309
|
+
const leaf = segments[segments.length - 1];
|
|
1307
1310
|
if (op === "delete") try {
|
|
1308
1311
|
delete current[leaf];
|
|
1309
1312
|
} catch (_unused) {
|
|
@@ -1511,7 +1514,7 @@ function createSetDataScheduler(options) {
|
|
|
1511
1514
|
const leftKeys = Object.keys(left);
|
|
1512
1515
|
const rightKeys = Object.keys(right);
|
|
1513
1516
|
if (leftKeys.length !== rightKeys.length) return false;
|
|
1514
|
-
return leftKeys.every((key) =>
|
|
1517
|
+
return leftKeys.every((key) => hasOwn(right, key) && isDeepEqual(left[key], right[key]));
|
|
1515
1518
|
}
|
|
1516
1519
|
return false;
|
|
1517
1520
|
};
|
|
@@ -1530,8 +1533,8 @@ function createSetDataScheduler(options) {
|
|
|
1530
1533
|
};
|
|
1531
1534
|
const isSameToken = (left, right) => {
|
|
1532
1535
|
if (Object.is(left, right)) return true;
|
|
1533
|
-
if (!left || !right || typeof left !== "object" || typeof right !== "object" || !
|
|
1534
|
-
if (left && right && typeof left === "object" && typeof right === "object" &&
|
|
1536
|
+
if (!left || !right || typeof left !== "object" || typeof right !== "object" || !hasOwn(left, "raw") || !hasOwn(right, "raw")) {
|
|
1537
|
+
if (left && right && typeof left === "object" && typeof right === "object" && hasOwn(left, "snapshot") && hasOwn(right, "snapshot")) return isDeepEqual(left.snapshot, right.snapshot);
|
|
1535
1538
|
return false;
|
|
1536
1539
|
}
|
|
1537
1540
|
return left.raw === right.raw && left.version === right.version;
|
|
@@ -1577,8 +1580,8 @@ function createSetDataScheduler(options) {
|
|
|
1577
1580
|
includedStateKeys.add(key);
|
|
1578
1581
|
const token = createValueToken(rawState[key]);
|
|
1579
1582
|
const previousToken = latestStateTokens[key];
|
|
1580
|
-
if (previousToken && token && typeof previousToken === "object" && typeof token === "object" &&
|
|
1581
|
-
if (!isSameToken(previousToken, token) || !
|
|
1583
|
+
if (previousToken && token && typeof previousToken === "object" && typeof token === "object" && hasOwn(previousToken, "raw") && hasOwn(token, "raw") && Array.isArray(previousToken.raw) && Array.isArray(token.raw) && previousToken.raw !== token.raw) replacedTopLevelKeys.add(key);
|
|
1584
|
+
if (!isSameToken(previousToken, token) || !hasOwn(latestSnapshot, key)) nextSnapshot[key] = toPlain(rawState[key], seen, {
|
|
1582
1585
|
cache: plainCache,
|
|
1583
1586
|
maxDepth: toPlainMaxDepth,
|
|
1584
1587
|
maxKeys: toPlainMaxKeys
|
|
@@ -1587,7 +1590,7 @@ function createSetDataScheduler(options) {
|
|
|
1587
1590
|
}
|
|
1588
1591
|
for (const key of Object.keys(latestStateTokens)) if (!includedStateKeys.has(key)) {
|
|
1589
1592
|
delete latestStateTokens[key];
|
|
1590
|
-
if (!includeComputed || !
|
|
1593
|
+
if (!includeComputed || !hasOwn(computedRefs, key)) delete nextSnapshot[key];
|
|
1591
1594
|
}
|
|
1592
1595
|
if (!includeComputed) {
|
|
1593
1596
|
for (const key of Object.keys(latestComputedTokens)) delete latestComputedTokens[key];
|
|
@@ -1601,7 +1604,7 @@ function createSetDataScheduler(options) {
|
|
|
1601
1604
|
includedComputedKeys.add(key);
|
|
1602
1605
|
const value = computedRefs[key].value;
|
|
1603
1606
|
const token = createValueToken(value);
|
|
1604
|
-
if (!isSameToken(latestComputedTokens[key], token) || !
|
|
1607
|
+
if (!isSameToken(latestComputedTokens[key], token) || !hasOwn(latestSnapshot, key)) nextSnapshot[key] = toPlain(value, seen, {
|
|
1605
1608
|
cache: plainCache,
|
|
1606
1609
|
maxDepth: toPlainMaxDepth,
|
|
1607
1610
|
maxKeys: toPlainMaxKeys
|
|
@@ -1610,7 +1613,7 @@ function createSetDataScheduler(options) {
|
|
|
1610
1613
|
}
|
|
1611
1614
|
for (const key of Object.keys(latestComputedTokens)) if (!includedComputedKeys.has(key)) {
|
|
1612
1615
|
delete latestComputedTokens[key];
|
|
1613
|
-
if (!
|
|
1616
|
+
if (!hasOwn(rawState, key) || !shouldIncludeKey(key)) delete nextSnapshot[key];
|
|
1614
1617
|
}
|
|
1615
1618
|
return {
|
|
1616
1619
|
snapshot: nextSnapshot,
|
|
@@ -1805,7 +1808,7 @@ function createRuntimeMount(options) {
|
|
|
1805
1808
|
const { data, resolvedComputed, resolvedMethods, appConfig, setDataOptions } = options;
|
|
1806
1809
|
return (adapter) => {
|
|
1807
1810
|
const rawState = resolveDataOption(data);
|
|
1808
|
-
if (rawState && typeof rawState === "object" && !
|
|
1811
|
+
if (rawState && typeof rawState === "object" && !hasOwn(rawState, WEVU_PROPS_KEY)) try {
|
|
1809
1812
|
Object.defineProperty(rawState, WEVU_PROPS_KEY, {
|
|
1810
1813
|
value: shallowReactive(Object.create(null)),
|
|
1811
1814
|
configurable: true,
|
|
@@ -2183,100 +2186,13 @@ function runInlineExpression(ctx, expr, event, inlineMap) {
|
|
|
2183
2186
|
if (typeof handler === "function") return handler.apply(ctx, resolvedArgs);
|
|
2184
2187
|
}
|
|
2185
2188
|
|
|
2186
|
-
//#endregion
|
|
2187
|
-
//#region src/runtime/register/component/lifecycle/platform.ts
|
|
2188
|
-
let miniProgramGlobalPatched = false;
|
|
2189
|
-
let currentPageInstance;
|
|
2190
|
-
function getCurrentPageInstance() {
|
|
2191
|
-
return currentPageInstance;
|
|
2192
|
-
}
|
|
2193
|
-
function bindCurrentPageInstance(target) {
|
|
2194
|
-
currentPageInstance = target;
|
|
2195
|
-
}
|
|
2196
|
-
function releaseCurrentPageInstance(target) {
|
|
2197
|
-
if (currentPageInstance === target) currentPageInstance = void 0;
|
|
2198
|
-
}
|
|
2199
|
-
function runInPageScrollHook(target, task) {
|
|
2200
|
-
var _WEVU_PAGE_SCROLL_HOO;
|
|
2201
|
-
target[WEVU_PAGE_SCROLL_HOOK_DEPTH_KEY] = Number((_WEVU_PAGE_SCROLL_HOO = target[WEVU_PAGE_SCROLL_HOOK_DEPTH_KEY]) !== null && _WEVU_PAGE_SCROLL_HOO !== void 0 ? _WEVU_PAGE_SCROLL_HOO : 0) + 1;
|
|
2202
|
-
try {
|
|
2203
|
-
return task();
|
|
2204
|
-
} finally {
|
|
2205
|
-
var _WEVU_PAGE_SCROLL_HOO2;
|
|
2206
|
-
const nextDepth = Number((_WEVU_PAGE_SCROLL_HOO2 = target[WEVU_PAGE_SCROLL_HOOK_DEPTH_KEY]) !== null && _WEVU_PAGE_SCROLL_HOO2 !== void 0 ? _WEVU_PAGE_SCROLL_HOO2 : 1) - 1;
|
|
2207
|
-
if (nextDepth <= 0) delete target[WEVU_PAGE_SCROLL_HOOK_DEPTH_KEY];
|
|
2208
|
-
else target[WEVU_PAGE_SCROLL_HOOK_DEPTH_KEY] = nextDepth;
|
|
2209
|
-
}
|
|
2210
|
-
}
|
|
2211
|
-
function resolvePageOptions(target) {
|
|
2212
|
-
const direct = target.options;
|
|
2213
|
-
if (direct && typeof direct === "object") return direct;
|
|
2214
|
-
const page = getCurrentMiniProgramPages().at(-1);
|
|
2215
|
-
const options = page && typeof page === "object" ? page.options : void 0;
|
|
2216
|
-
if (options && typeof options === "object") return options;
|
|
2217
|
-
return {};
|
|
2218
|
-
}
|
|
2219
|
-
function ensureMiniProgramGlobalPatched() {
|
|
2220
|
-
if (miniProgramGlobalPatched) return;
|
|
2221
|
-
miniProgramGlobalPatched = true;
|
|
2222
|
-
const miniProgramGlobal = getMiniProgramGlobalObject();
|
|
2223
|
-
if (!miniProgramGlobal || typeof miniProgramGlobal !== "object") return;
|
|
2224
|
-
if (supportsCurrentMiniProgramRuntimeCapability("pullDownRefreshApi")) {
|
|
2225
|
-
const rawStartPullDownRefresh = miniProgramGlobal.startPullDownRefresh;
|
|
2226
|
-
if (typeof rawStartPullDownRefresh === "function") miniProgramGlobal.startPullDownRefresh = function startPullDownRefreshPatched(...args) {
|
|
2227
|
-
const result = rawStartPullDownRefresh.apply(this, args);
|
|
2228
|
-
if (currentPageInstance) callHookList(currentPageInstance, "onPullDownRefresh", []);
|
|
2229
|
-
return result;
|
|
2230
|
-
};
|
|
2231
|
-
}
|
|
2232
|
-
if (supportsCurrentMiniProgramRuntimeCapability("pageScrollApi")) {
|
|
2233
|
-
const rawPageScrollTo = miniProgramGlobal.pageScrollTo;
|
|
2234
|
-
if (typeof rawPageScrollTo === "function") miniProgramGlobal.pageScrollTo = function pageScrollToPatched(options, ...rest) {
|
|
2235
|
-
const result = rawPageScrollTo.apply(this, [options, ...rest]);
|
|
2236
|
-
if (currentPageInstance) {
|
|
2237
|
-
const pageInstance = currentPageInstance;
|
|
2238
|
-
runInPageScrollHook(pageInstance, () => {
|
|
2239
|
-
callHookList(pageInstance, "onPageScroll", [options !== null && options !== void 0 ? options : {}]);
|
|
2240
|
-
});
|
|
2241
|
-
}
|
|
2242
|
-
return result;
|
|
2243
|
-
};
|
|
2244
|
-
}
|
|
2245
|
-
}
|
|
2246
|
-
function ensurePageShareMenus(options) {
|
|
2247
|
-
const { enableOnShareAppMessage, enableOnShareTimeline } = options;
|
|
2248
|
-
if (!enableOnShareAppMessage && !enableOnShareTimeline) return;
|
|
2249
|
-
if (!supportsCurrentMiniProgramRuntimeCapability("pageShareMenu")) return;
|
|
2250
|
-
const miniProgramGlobal = getMiniProgramGlobalObject();
|
|
2251
|
-
if (!miniProgramGlobal || typeof miniProgramGlobal.showShareMenu !== "function") return;
|
|
2252
|
-
const shouldShowShareAppMessage = getCurrentMiniProgramRuntimeCapabilities().shareTimelineRequiresShareAppMessage ? enableOnShareAppMessage || enableOnShareTimeline : enableOnShareAppMessage;
|
|
2253
|
-
if (!shouldShowShareAppMessage && !enableOnShareTimeline) return;
|
|
2254
|
-
const menus = [];
|
|
2255
|
-
if (shouldShowShareAppMessage) menus.push("shareAppMessage");
|
|
2256
|
-
if (enableOnShareTimeline) menus.push("shareTimeline");
|
|
2257
|
-
const payloads = [
|
|
2258
|
-
{
|
|
2259
|
-
withShareTicket: true,
|
|
2260
|
-
menus
|
|
2261
|
-
},
|
|
2262
|
-
{ menus },
|
|
2263
|
-
enableOnShareTimeline ? { withShareTicket: true } : void 0,
|
|
2264
|
-
enableOnShareTimeline ? {} : void 0,
|
|
2265
|
-
void 0
|
|
2266
|
-
];
|
|
2267
|
-
for (const payload of payloads) try {
|
|
2268
|
-
if (payload === void 0) miniProgramGlobal.showShareMenu();
|
|
2269
|
-
else miniProgramGlobal.showShareMenu(payload);
|
|
2270
|
-
break;
|
|
2271
|
-
} catch (_unused) {}
|
|
2272
|
-
}
|
|
2273
|
-
|
|
2274
2189
|
//#endregion
|
|
2275
2190
|
//#region src/runtime/pageLayout.ts
|
|
2276
2191
|
function resolveCurrentPageInstance$1() {
|
|
2277
2192
|
const runtimeCurrentPage = getCurrentPageInstance();
|
|
2278
2193
|
if (runtimeCurrentPage) return runtimeCurrentPage;
|
|
2279
|
-
|
|
2194
|
+
const pages = getCurrentMiniProgramPages();
|
|
2195
|
+
return pages[pages.length - 1];
|
|
2280
2196
|
}
|
|
2281
2197
|
function normalizeRuntimePageLayoutName(layout) {
|
|
2282
2198
|
return layout === WEVU_PAGE_LAYOUT_NONE ? false : layout;
|
|
@@ -2794,7 +2710,7 @@ function normalizeSlotNames(value) {
|
|
|
2794
2710
|
return Object.entries(value).filter(([, enabled]) => Boolean(enabled)).map(([name]) => name);
|
|
2795
2711
|
}
|
|
2796
2712
|
function createSetupSlotsProxy(props) {
|
|
2797
|
-
if (!
|
|
2713
|
+
if (!hasOwn(props, WEVU_SLOT_NAMES_PROP)) return createSetupSlotsFallback();
|
|
2798
2714
|
const resolveNames = () => normalizeSlotNames(props[WEVU_SLOT_NAMES_PROP]);
|
|
2799
2715
|
const isEnabled = (key) => typeof key === "string" && resolveNames().includes(key);
|
|
2800
2716
|
return new Proxy(Object.create(null), {
|
|
@@ -2839,7 +2755,7 @@ function safeMarkNoSetData(value) {
|
|
|
2839
2755
|
}
|
|
2840
2756
|
function isTriggerEventOptions(value) {
|
|
2841
2757
|
if (!value || typeof value !== "object" || Array.isArray(value)) return false;
|
|
2842
|
-
return
|
|
2758
|
+
return hasOwn(value, "bubbles") || hasOwn(value, "composed") || hasOwn(value, "capturePhase");
|
|
2843
2759
|
}
|
|
2844
2760
|
function normalizeEmitPayload(args) {
|
|
2845
2761
|
if (args.length === 0) return {
|
|
@@ -2850,7 +2766,7 @@ function normalizeEmitPayload(args) {
|
|
|
2850
2766
|
detail: args[0],
|
|
2851
2767
|
options: void 0
|
|
2852
2768
|
};
|
|
2853
|
-
const maybeOptions = args.
|
|
2769
|
+
const maybeOptions = args[args.length - 1];
|
|
2854
2770
|
if (isTriggerEventOptions(maybeOptions)) {
|
|
2855
2771
|
const detailArgs = args.slice(0, -1);
|
|
2856
2772
|
return {
|
|
@@ -3017,12 +2933,14 @@ function resolveRuntimeParentInstance(target) {
|
|
|
3017
2933
|
const owner = selectOwnerComponent.call(target);
|
|
3018
2934
|
if (owner && owner !== target && typeof owner === "object" && owner.__wevu) return owner;
|
|
3019
2935
|
} catch (_unused) {}
|
|
3020
|
-
const
|
|
2936
|
+
const pages = getCurrentMiniProgramPages();
|
|
2937
|
+
const currentPage = pages[pages.length - 1];
|
|
3021
2938
|
if (currentPage && currentPage !== target && typeof currentPage === "object" && currentPage.__wevu) return currentPage;
|
|
3022
2939
|
}
|
|
3023
2940
|
function attachRuntimeLayoutParentContext(target) {
|
|
3024
2941
|
if (!isRuntimeLayoutComponentTarget(target)) return;
|
|
3025
|
-
const
|
|
2942
|
+
const pages = getCurrentMiniProgramPages();
|
|
2943
|
+
const currentPage = pages[pages.length - 1];
|
|
3026
2944
|
if (currentPage && currentPage !== target && typeof currentPage === "object" && currentPage.__wevu) attachRuntimeLayoutProvideContext(target, currentPage);
|
|
3027
2945
|
}
|
|
3028
2946
|
function attachRuntimeProvideParentContext(target, runtimeApp) {
|
|
@@ -3072,11 +2990,11 @@ function runRuntimeSetupPhase(options) {
|
|
|
3072
2990
|
const attrs = shallowReactive(Object.create(null));
|
|
3073
2991
|
const declaredPropKeys = new Set(Array.isArray(target[WEVU_PROP_KEYS_KEY]) ? target[WEVU_PROP_KEYS_KEY] : []);
|
|
3074
2992
|
const hasRuntimeStateKey = (key) => {
|
|
3075
|
-
return runtimeState != null && typeof runtimeState === "object" &&
|
|
2993
|
+
return runtimeState != null && typeof runtimeState === "object" && hasOwn(runtimeState, key);
|
|
3076
2994
|
};
|
|
3077
2995
|
const syncAttrsFromProperties = () => {
|
|
3078
2996
|
const next = target.properties && typeof target.properties === "object" ? target.properties : void 0;
|
|
3079
|
-
for (const existingKey of Object.keys(attrs)) if (!next || !
|
|
2997
|
+
for (const existingKey of Object.keys(attrs)) if (!next || !hasOwn(next, existingKey) || declaredPropKeys.has(existingKey) || hasRuntimeStateKey(existingKey)) delete attrs[existingKey];
|
|
3080
2998
|
if (!next) return;
|
|
3081
2999
|
for (const [key, value] of Object.entries(next)) {
|
|
3082
3000
|
if (declaredPropKeys.has(key) || hasRuntimeStateKey(key)) continue;
|
|
@@ -3151,7 +3069,7 @@ function runRuntimeSetupPhase(options) {
|
|
|
3151
3069
|
enumerable: false,
|
|
3152
3070
|
get() {
|
|
3153
3071
|
const propsSource = runtimeRawState[WEVU_PROPS_KEY];
|
|
3154
|
-
if (propsSource && typeof propsSource === "object" &&
|
|
3072
|
+
if (propsSource && typeof propsSource === "object" && hasOwn(propsSource, key)) return propsSource[key];
|
|
3155
3073
|
return fallbackValue;
|
|
3156
3074
|
},
|
|
3157
3075
|
set(next) {
|
|
@@ -3264,7 +3182,7 @@ function callNativeSetData(instance, setData, payload) {
|
|
|
3264
3182
|
}
|
|
3265
3183
|
function syncRuntimeProps(props, mpProperties) {
|
|
3266
3184
|
const currentKeys = Object.keys(props);
|
|
3267
|
-
for (const key of currentKeys) if (!
|
|
3185
|
+
for (const key of currentKeys) if (!hasOwn(mpProperties, key)) try {
|
|
3268
3186
|
delete props[key];
|
|
3269
3187
|
} catch (_unused6) {}
|
|
3270
3188
|
for (const [key, value] of Object.entries(mpProperties)) props[key] = value;
|
|
@@ -4134,7 +4052,7 @@ function prepareComponentOptions(mpOptions) {
|
|
|
4134
4052
|
const applyExtraInstanceFields = (instance) => {
|
|
4135
4053
|
if (!extraInstanceFieldEntries.length) return;
|
|
4136
4054
|
for (const [key, value] of extraInstanceFieldEntries) {
|
|
4137
|
-
if (
|
|
4055
|
+
if (hasOwn(instance, key)) continue;
|
|
4138
4056
|
try {
|
|
4139
4057
|
instance[key] = cloneInstanceFieldValue(value);
|
|
4140
4058
|
} catch (_unused) {}
|
|
@@ -4251,12 +4169,12 @@ function createPropsSync(options) {
|
|
|
4251
4169
|
const hasRuntimeStateKey = (key) => {
|
|
4252
4170
|
var _wevu;
|
|
4253
4171
|
const runtimeState = (_wevu = instance.__wevu) === null || _wevu === void 0 ? void 0 : _wevu.state;
|
|
4254
|
-
return runtimeState != null && typeof runtimeState === "object" &&
|
|
4172
|
+
return runtimeState != null && typeof runtimeState === "object" && hasOwn(runtimeState, key);
|
|
4255
4173
|
};
|
|
4256
4174
|
const properties = instance.properties;
|
|
4257
4175
|
const next = properties && typeof properties === "object" ? properties : void 0;
|
|
4258
4176
|
const currentKeys = Object.keys(attrsProxy);
|
|
4259
|
-
for (const existingKey of currentKeys) if (!next || !
|
|
4177
|
+
for (const existingKey of currentKeys) if (!next || !hasOwn(next, existingKey) || propKeySet.has(existingKey) || hasRuntimeStateKey(existingKey)) try {
|
|
4260
4178
|
delete attrsProxy[existingKey];
|
|
4261
4179
|
} catch (_unused2) {}
|
|
4262
4180
|
if (!next) {
|
|
@@ -4278,17 +4196,17 @@ function createPropsSync(options) {
|
|
|
4278
4196
|
if (propsProxy && typeof propsProxy === "object" && properties && typeof properties === "object") {
|
|
4279
4197
|
const next = properties;
|
|
4280
4198
|
const currentKeys = Object.keys(propsProxy);
|
|
4281
|
-
for (const existingKey of currentKeys) if (!
|
|
4199
|
+
for (const existingKey of currentKeys) if (!hasOwn(next, existingKey)) try {
|
|
4282
4200
|
delete propsProxy[existingKey];
|
|
4283
4201
|
} catch (_unused4) {}
|
|
4284
4202
|
for (const [k, v] of Object.entries(next)) {
|
|
4285
|
-
const nextValue = pendingPropValues &&
|
|
4203
|
+
const nextValue = pendingPropValues && hasOwn(pendingPropValues, k) ? pendingPropValues[k] : v;
|
|
4286
4204
|
try {
|
|
4287
4205
|
propsProxy[k] = nextValue;
|
|
4288
4206
|
} catch (_unused5) {}
|
|
4289
4207
|
}
|
|
4290
4208
|
if (pendingPropValues) {
|
|
4291
|
-
for (const [k, v] of Object.entries(pendingPropValues)) if (!
|
|
4209
|
+
for (const [k, v] of Object.entries(pendingPropValues)) if (!hasOwn(next, k)) try {
|
|
4292
4210
|
propsProxy[k] = v;
|
|
4293
4211
|
} catch (_unused6) {}
|
|
4294
4212
|
}
|
|
@@ -4338,7 +4256,8 @@ function createPropsSync(options) {
|
|
|
4338
4256
|
//#region src/runtime/layoutBridge.ts
|
|
4339
4257
|
const pageLayoutBridges = /* @__PURE__ */ new Map();
|
|
4340
4258
|
function resolveCurrentPageInstance() {
|
|
4341
|
-
|
|
4259
|
+
const pages = getCurrentMiniProgramPages();
|
|
4260
|
+
return pages[pages.length - 1];
|
|
4342
4261
|
}
|
|
4343
4262
|
function normalizeSelectors(selectors) {
|
|
4344
4263
|
return Array.from(new Set(Array.isArray(selectors) ? selectors : [selectors])).filter((selector) => typeof selector === "string" && selector.length > 0);
|
|
@@ -4968,7 +4887,7 @@ function normalizeExplicitPropertyDefinition(definition, allowNullPropInput) {
|
|
|
4968
4887
|
const propOptions = {};
|
|
4969
4888
|
applyTypeOptions(propOptions, definition);
|
|
4970
4889
|
if (allowNullPropInput && propOptions.type !== null) appendOptionalType(propOptions, null);
|
|
4971
|
-
if (!
|
|
4890
|
+
if (!hasOwn(propOptions, "type")) propOptions.type = null;
|
|
4972
4891
|
return propOptions;
|
|
4973
4892
|
}
|
|
4974
4893
|
if (typeof definition !== "object") return definition;
|
|
@@ -4982,7 +4901,7 @@ function normalizeExplicitPropertyDefinition(definition, allowNullPropInput) {
|
|
|
4982
4901
|
if (existingOptionalTypes.length > 0) propOptions.optionalTypes = existingOptionalTypes;
|
|
4983
4902
|
else delete propOptions.optionalTypes;
|
|
4984
4903
|
}
|
|
4985
|
-
if (!
|
|
4904
|
+
if (!hasOwn(propOptions, "type")) propOptions.type = null;
|
|
4986
4905
|
if (allowNullPropInput && propOptions.type !== null) appendOptionalType(propOptions, null);
|
|
4987
4906
|
return propOptions;
|
|
4988
4907
|
}
|
|
@@ -5002,15 +4921,15 @@ function normalizeProps(baseOptions, props, explicitProperties) {
|
|
|
5002
4921
|
const resolvedExplicit = explicitProperties !== null && explicitProperties !== void 0 ? explicitProperties : baseProperties && typeof baseProperties === "object" ? baseProperties : void 0;
|
|
5003
4922
|
const attachInternalProps = (source) => {
|
|
5004
4923
|
const next = { ...source !== null && source !== void 0 ? source : {} };
|
|
5005
|
-
if (!
|
|
4924
|
+
if (!hasOwn(next, WEVU_SLOT_OWNER_ID_PROP)) next[WEVU_SLOT_OWNER_ID_PROP] = {
|
|
5006
4925
|
type: String,
|
|
5007
4926
|
value: ""
|
|
5008
4927
|
};
|
|
5009
|
-
if (!
|
|
4928
|
+
if (!hasOwn(next, WEVU_SLOT_SCOPE_KEY)) next[WEVU_SLOT_SCOPE_KEY] = {
|
|
5010
4929
|
type: null,
|
|
5011
4930
|
value: null
|
|
5012
4931
|
};
|
|
5013
|
-
if (!
|
|
4932
|
+
if (!hasOwn(next, WEVU_SLOT_NAMES_PROP)) next[WEVU_SLOT_NAMES_PROP] = {
|
|
5014
4933
|
type: null,
|
|
5015
4934
|
value: null
|
|
5016
4935
|
};
|
|
@@ -5035,7 +4954,7 @@ function normalizeProps(baseOptions, props, explicitProperties) {
|
|
|
5035
4954
|
const propOptions = {};
|
|
5036
4955
|
applyTypeOptions(propOptions, definition);
|
|
5037
4956
|
if (allowNullPropInput && propOptions.type !== null) appendOptionalType(propOptions, null);
|
|
5038
|
-
if (!
|
|
4957
|
+
if (!hasOwn(propOptions, "type")) propOptions.type = null;
|
|
5039
4958
|
properties[key] = propOptions;
|
|
5040
4959
|
return;
|
|
5041
4960
|
}
|
|
@@ -5064,7 +4983,7 @@ function normalizeProps(baseOptions, props, explicitProperties) {
|
|
|
5064
4983
|
const defaultValue = "default" in definition ? definition.default : definition.value;
|
|
5065
4984
|
if (defaultValue !== void 0) propOptions.value = typeof defaultValue === "function" ? defaultValue() : defaultValue;
|
|
5066
4985
|
if (allowNullPropInput && propOptions.type !== null) appendOptionalType(propOptions, null);
|
|
5067
|
-
if (!
|
|
4986
|
+
if (!hasOwn(propOptions, "type")) propOptions.type = null;
|
|
5068
4987
|
properties[key] = propOptions;
|
|
5069
4988
|
}
|
|
5070
4989
|
});
|
|
@@ -5117,8 +5036,8 @@ function normalizeSlotBindings(value) {
|
|
|
5117
5036
|
}
|
|
5118
5037
|
function mergeSlotProps(instance, override) {
|
|
5119
5038
|
var _instance$properties, _instance$properties2;
|
|
5120
|
-
const scopeSource =
|
|
5121
|
-
const propsSource =
|
|
5039
|
+
const scopeSource = hasOwn(override !== null && override !== void 0 ? override : {}, WEVU_SLOT_SCOPE_KEY) ? override[WEVU_SLOT_SCOPE_KEY] : instance === null || instance === void 0 || (_instance$properties = instance.properties) === null || _instance$properties === void 0 ? void 0 : _instance$properties[WEVU_SLOT_SCOPE_KEY];
|
|
5040
|
+
const propsSource = hasOwn(override !== null && override !== void 0 ? override : {}, WEVU_SLOT_PROPS_KEY) ? override[WEVU_SLOT_PROPS_KEY] : instance === null || instance === void 0 || (_instance$properties2 = instance.properties) === null || _instance$properties2 === void 0 ? void 0 : _instance$properties2[WEVU_SLOT_PROPS_KEY];
|
|
5122
5041
|
const scope = normalizeSlotBindings(scopeSource);
|
|
5123
5042
|
const slotProps = normalizeSlotBindings(propsSource);
|
|
5124
5043
|
const merged = {
|
|
@@ -5244,7 +5163,7 @@ function applySetupResult(runtime, target, result) {
|
|
|
5244
5163
|
enumerable: false,
|
|
5245
5164
|
get() {
|
|
5246
5165
|
const propsSource = rawState[WEVU_PROPS_KEY];
|
|
5247
|
-
if (propsSource && typeof propsSource === "object" &&
|
|
5166
|
+
if (propsSource && typeof propsSource === "object" && hasOwn(propsSource, key)) return propsSource[key];
|
|
5248
5167
|
return fallbackValue;
|
|
5249
5168
|
},
|
|
5250
5169
|
set(next) {
|
|
@@ -5553,7 +5472,7 @@ function normalizeRoute(route) {
|
|
|
5553
5472
|
*/
|
|
5554
5473
|
function getCurrentPageStackSnapshot() {
|
|
5555
5474
|
const pages = getCurrentMiniProgramPages();
|
|
5556
|
-
const currentPage = pages.
|
|
5475
|
+
const currentPage = pages[pages.length - 1];
|
|
5557
5476
|
const stackLength = pages.length || 1;
|
|
5558
5477
|
return {
|
|
5559
5478
|
canGoBack: stackLength > 1,
|
|
@@ -6088,4 +6007,4 @@ function useTemplateRef(name) {
|
|
|
6088
6007
|
|
|
6089
6008
|
//#endregion
|
|
6090
6009
|
export { isNoSetData as $, createApp as A, waitForLayoutHost as B, usePageStack as C, shallowRef as Ct, createWevuComponent as D, useDisposables as E, __reExport as Et, resolveLayoutHost as F, runSetupFunction as G, mountRuntimeInstance as H, unregisterPageLayoutBridge as I, syncRuntimePageLayoutState as J, resolveRuntimePageLayoutName as K, unregisterRuntimeLayoutHosts as L, registerPageLayoutBridge as M, registerRuntimeLayoutHosts as N, createWevuScopedSlotComponent as O, resolveLayoutBridge as P, setWevuDefaults as Q, useLayoutBridge as R, useNavigationBarMetrics as S, isShallowRef as St, useElementIntersectionObserver as T, __exportAll as Tt, setRuntimeSetDataVisibility as U, registerApp as V, teardownRuntimeInstance as W, usePageLayout as X, syncRuntimePageLayoutStateFromRuntime as Y, resetWevuDefaults as Z, useSelectorQuery as _, onUnmounted as _t, useModel as a, watchSyncEffect as at, getCurrentPageStackSnapshot as b, toRef as bt, useSlots as c, callUpdateHooks as ct, useUpdatePerformanceListener as d, onBeforeUnmount as dt, markNoSetData as et, normalizeClass as f, onBeforeUpdate as ft, useSelectorFields as g, onServerPrefetch as gt, useScrollOffset as h, onMounted as ht, useChangeModel as i, watchPostEffect as it, registerComponent as j, defineComponent as k, defineAppSetup as l, onActivated as lt, useBoundingClientRect as m, onErrorCaptured as mt, mergeModels as n, watch as nt, useAttrs as o, getDeepWatchStrategy as ot, normalizeStyle as p, onDeactivated as pt, setPageLayout as q, useBindModel as r, watchEffect as rt, useNativeInstance as s, setDeepWatchStrategy as st, useTemplateRef as t, version as tt, use as u, onBeforeMount as ut, useAsyncPullDownRefresh as v, onUpdated as vt, useIntersectionObserver as w, triggerRef as wt, getNavigationBarMetrics as x, toRefs as xt, usePageScrollThrottle as y, traverse as yt, useLayoutHosts as z };
|
|
6091
|
-
//# sourceMappingURL=src-
|
|
6010
|
+
//# sourceMappingURL=src-C2BzhMY6.mjs.map
|