wevu 6.15.7 → 6.15.10
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/chunk-D1SwGrFN.mjs +27 -0
- package/dist/fetch.d.mts +9 -27
- package/dist/fetch.mjs +1 -356
- package/dist/{index-51F79u-U.d.mts → index-BwVHsSCe.d.mts} +1 -1
- package/dist/{index-B2-lsPjZ.d.mts → index-D9k9y3GQ.d.mts} +4 -2
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +5 -4
- package/dist/{ref-mshhFqmk.mjs → ref-C8almzLH.mjs} +62 -37
- package/dist/{router-B43fz4cM.mjs → router-Brjo9NKc.mjs} +7 -7
- package/dist/router.d.mts +1 -1
- package/dist/router.mjs +2 -2
- package/dist/{src-CXeO96dW.mjs → src-C_ZbpJIB.mjs} +6 -4
- package/dist/{store-fwgCLl_K.mjs → store-Cqeyitcj.mjs} +1 -1
- package/dist/store.d.mts +1 -1
- package/dist/store.mjs +1 -1
- package/dist/vue-demi.d.mts +7 -3
- package/dist/vue-demi.mjs +6 -5
- package/dist/{vue-types-Ir1bT6Gp.d.mts → vue-types-hsjLkWTv.d.mts} +45 -64
- package/dist/web-apis.d.mts +3 -0
- package/dist/web-apis.mjs +3 -0
- package/package.json +11 -3
- package/dist/defineProperty-BewxOmW8.mjs +0 -39
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { t as _defineProperty } from "./defineProperty-BewxOmW8.mjs";
|
|
2
1
|
//#region src/scheduler.ts
|
|
3
2
|
const resolvedPromise = Promise.resolve();
|
|
4
3
|
const jobQueue = /* @__PURE__ */ new Set();
|
|
@@ -25,6 +24,44 @@ function nextTick(fn) {
|
|
|
25
24
|
return fn ? resolvedPromise.then(fn) : resolvedPromise;
|
|
26
25
|
}
|
|
27
26
|
//#endregion
|
|
27
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/typeof.js
|
|
28
|
+
function _typeof(o) {
|
|
29
|
+
"@babel/helpers - typeof";
|
|
30
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
31
|
+
return typeof o;
|
|
32
|
+
} : function(o) {
|
|
33
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
34
|
+
}, _typeof(o);
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/toPrimitive.js
|
|
38
|
+
function toPrimitive(t, r) {
|
|
39
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
40
|
+
var e = t[Symbol.toPrimitive];
|
|
41
|
+
if (void 0 !== e) {
|
|
42
|
+
var i = e.call(t, r || "default");
|
|
43
|
+
if ("object" != _typeof(i)) return i;
|
|
44
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
45
|
+
}
|
|
46
|
+
return ("string" === r ? String : Number)(t);
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/toPropertyKey.js
|
|
50
|
+
function toPropertyKey(t) {
|
|
51
|
+
var i = toPrimitive(t, "string");
|
|
52
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/defineProperty.js
|
|
56
|
+
function _defineProperty(e, r, t) {
|
|
57
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
58
|
+
value: t,
|
|
59
|
+
enumerable: !0,
|
|
60
|
+
configurable: !0,
|
|
61
|
+
writable: !0
|
|
62
|
+
}) : e[r] = t, e;
|
|
63
|
+
}
|
|
64
|
+
//#endregion
|
|
28
65
|
//#region src/reactivity/core.ts
|
|
29
66
|
const targetMap = /* @__PURE__ */ new WeakMap();
|
|
30
67
|
let activeEffect = null;
|
|
@@ -336,18 +373,6 @@ function resolvePathToTarget(root, target) {
|
|
|
336
373
|
}
|
|
337
374
|
//#endregion
|
|
338
375
|
//#region src/reactivity/reactive/shared.ts
|
|
339
|
-
let ReactiveFlags = /* @__PURE__ */ function(ReactiveFlags) {
|
|
340
|
-
ReactiveFlags["IS_REACTIVE"] = "__r_isReactive";
|
|
341
|
-
ReactiveFlags["IS_READONLY"] = "__r_isReadonly";
|
|
342
|
-
ReactiveFlags["RAW"] = "__r_raw";
|
|
343
|
-
ReactiveFlags["SKIP"] = "__r_skip";
|
|
344
|
-
return ReactiveFlags;
|
|
345
|
-
}({});
|
|
346
|
-
let TargetType = /* @__PURE__ */ function(TargetType) {
|
|
347
|
-
TargetType[TargetType["INVALID"] = 0] = "INVALID";
|
|
348
|
-
TargetType[TargetType["COMMON"] = 1] = "COMMON";
|
|
349
|
-
return TargetType;
|
|
350
|
-
}({});
|
|
351
376
|
function isObject(value) {
|
|
352
377
|
return typeof value === "object" && value !== null;
|
|
353
378
|
}
|
|
@@ -357,16 +382,16 @@ function toRawType(value) {
|
|
|
357
382
|
function targetTypeMap(rawType) {
|
|
358
383
|
switch (rawType) {
|
|
359
384
|
case "Object":
|
|
360
|
-
case "Array": return
|
|
385
|
+
case "Array": return 1;
|
|
361
386
|
case "Map":
|
|
362
387
|
case "Set":
|
|
363
388
|
case "WeakMap":
|
|
364
|
-
case "WeakSet": return
|
|
365
|
-
default: return
|
|
389
|
+
case "WeakSet": return 0;
|
|
390
|
+
default: return 0;
|
|
366
391
|
}
|
|
367
392
|
}
|
|
368
393
|
function getTargetType(value) {
|
|
369
|
-
return value[
|
|
394
|
+
return value["__r_skip"] ? 0 : targetTypeMap(toRawType(value));
|
|
370
395
|
}
|
|
371
396
|
const VERSION_KEY = Symbol("wevu.version");
|
|
372
397
|
function isArrayIndexKey(key) {
|
|
@@ -378,7 +403,7 @@ function isArrayIndexKey(key) {
|
|
|
378
403
|
}
|
|
379
404
|
function toRaw(observed) {
|
|
380
405
|
var _ReactiveFlags$RAW;
|
|
381
|
-
return (_ReactiveFlags$RAW = observed === null || observed === void 0 ? void 0 : observed[
|
|
406
|
+
return (_ReactiveFlags$RAW = observed === null || observed === void 0 ? void 0 : observed["__r_raw"]) !== null && _ReactiveFlags$RAW !== void 0 ? _ReactiveFlags$RAW : observed;
|
|
382
407
|
}
|
|
383
408
|
//#endregion
|
|
384
409
|
//#region src/reactivity/reactive/state.ts
|
|
@@ -419,7 +444,7 @@ function prelinkReactiveTree(root, options) {
|
|
|
419
444
|
for (const [key, value] of entries) {
|
|
420
445
|
if (node.path === "" && shouldIncludeTopKey && !shouldIncludeTopKey(key)) continue;
|
|
421
446
|
if (!isObject(value)) continue;
|
|
422
|
-
if (value[
|
|
447
|
+
if (value["__r_skip"]) continue;
|
|
423
448
|
const childRaw = toRaw(value);
|
|
424
449
|
if (!rawRootMap.has(childRaw)) rawRootMap.set(childRaw, rootRaw);
|
|
425
450
|
recordParentLink(childRaw, node.current, key);
|
|
@@ -468,8 +493,8 @@ function touchReactive(target) {
|
|
|
468
493
|
//#region src/reactivity/reactive/shallow.ts
|
|
469
494
|
const shallowHandlers = {
|
|
470
495
|
get(target, key, receiver) {
|
|
471
|
-
if (key ===
|
|
472
|
-
if (key ===
|
|
496
|
+
if (key === "__r_isReactive") return true;
|
|
497
|
+
if (key === "__r_raw") return target;
|
|
473
498
|
const res = Reflect.get(target, key, receiver);
|
|
474
499
|
track(target, key);
|
|
475
500
|
return res;
|
|
@@ -516,10 +541,10 @@ const shallowHandlers = {
|
|
|
516
541
|
*/
|
|
517
542
|
function shallowReactive(target) {
|
|
518
543
|
if (!isObject(target)) return target;
|
|
519
|
-
if (target[
|
|
544
|
+
if (target["__r_isReactive"]) return target;
|
|
520
545
|
const existingProxy = shallowReactiveMap.get(target);
|
|
521
546
|
if (existingProxy) return existingProxy;
|
|
522
|
-
if (getTargetType(target) ===
|
|
547
|
+
if (getTargetType(target) === 0) return target;
|
|
523
548
|
const proxy = new Proxy(target, shallowHandlers);
|
|
524
549
|
shallowReactiveMap.set(target, proxy);
|
|
525
550
|
rawMap.set(proxy, target);
|
|
@@ -596,15 +621,15 @@ function emitMutation(target, key, op) {
|
|
|
596
621
|
}
|
|
597
622
|
const mutableHandlers = {
|
|
598
623
|
get(target, key, receiver) {
|
|
599
|
-
if (key ===
|
|
600
|
-
if (key ===
|
|
624
|
+
if (key === "__r_isReactive") return true;
|
|
625
|
+
if (key === "__r_raw") return target;
|
|
601
626
|
const res = Reflect.get(target, key, receiver);
|
|
602
627
|
track(target, key);
|
|
603
628
|
if (isObject(res)) {
|
|
604
629
|
var _rawRootMap$get2, _ReactiveFlags$RAW;
|
|
605
|
-
if (res[
|
|
630
|
+
if (res["__r_skip"]) return res;
|
|
606
631
|
const parentRoot = (_rawRootMap$get2 = rawRootMap.get(target)) !== null && _rawRootMap$get2 !== void 0 ? _rawRootMap$get2 : target;
|
|
607
|
-
const childRaw = (_ReactiveFlags$RAW = res === null || res === void 0 ? void 0 : res[
|
|
632
|
+
const childRaw = (_ReactiveFlags$RAW = res === null || res === void 0 ? void 0 : res["__r_raw"]) !== null && _ReactiveFlags$RAW !== void 0 ? _ReactiveFlags$RAW : res;
|
|
608
633
|
if (!rawRootMap.has(childRaw)) rawRootMap.set(childRaw, parentRoot);
|
|
609
634
|
recordParentLink(childRaw, target, key);
|
|
610
635
|
const parentPath = rawPathMap.get(target);
|
|
@@ -623,12 +648,12 @@ const mutableHandlers = {
|
|
|
623
648
|
const result = Reflect.set(target, key, value, receiver);
|
|
624
649
|
if (!Object.is(oldValue, value)) {
|
|
625
650
|
var _ReactiveFlags$RAW2;
|
|
626
|
-
const oldRaw = isObject(oldValue) ? (_ReactiveFlags$RAW2 = oldValue === null || oldValue === void 0 ? void 0 : oldValue[
|
|
651
|
+
const oldRaw = isObject(oldValue) ? (_ReactiveFlags$RAW2 = oldValue === null || oldValue === void 0 ? void 0 : oldValue["__r_raw"]) !== null && _ReactiveFlags$RAW2 !== void 0 ? _ReactiveFlags$RAW2 : oldValue : void 0;
|
|
627
652
|
if (oldRaw) removeParentLink(oldRaw, target, key);
|
|
628
|
-
if (isObject(value) && !value[
|
|
653
|
+
if (isObject(value) && !value["__r_skip"]) {
|
|
629
654
|
var _rawRootMap$get3, _ReactiveFlags$RAW3;
|
|
630
655
|
const root = (_rawRootMap$get3 = rawRootMap.get(target)) !== null && _rawRootMap$get3 !== void 0 ? _rawRootMap$get3 : target;
|
|
631
|
-
const childRaw = (_ReactiveFlags$RAW3 = value === null || value === void 0 ? void 0 : value[
|
|
656
|
+
const childRaw = (_ReactiveFlags$RAW3 = value === null || value === void 0 ? void 0 : value["__r_raw"]) !== null && _ReactiveFlags$RAW3 !== void 0 ? _ReactiveFlags$RAW3 : value;
|
|
632
657
|
if (!rawRootMap.has(childRaw)) rawRootMap.set(childRaw, root);
|
|
633
658
|
recordParentLink(childRaw, target, key);
|
|
634
659
|
const parentPath = rawPathMap.get(target);
|
|
@@ -657,7 +682,7 @@ const mutableHandlers = {
|
|
|
657
682
|
const result = Reflect.deleteProperty(target, key);
|
|
658
683
|
if (hadKey && result) {
|
|
659
684
|
var _ReactiveFlags$RAW4;
|
|
660
|
-
const oldRaw = isObject(oldValue) ? (_ReactiveFlags$RAW4 = oldValue === null || oldValue === void 0 ? void 0 : oldValue[
|
|
685
|
+
const oldRaw = isObject(oldValue) ? (_ReactiveFlags$RAW4 = oldValue === null || oldValue === void 0 ? void 0 : oldValue["__r_raw"]) !== null && _ReactiveFlags$RAW4 !== void 0 ? _ReactiveFlags$RAW4 : oldValue : void 0;
|
|
661
686
|
if (oldRaw) removeParentLink(oldRaw, target, key);
|
|
662
687
|
trigger(target, key);
|
|
663
688
|
trigger(target, VERSION_KEY);
|
|
@@ -680,10 +705,10 @@ const mutableHandlers = {
|
|
|
680
705
|
};
|
|
681
706
|
function reactive(target) {
|
|
682
707
|
if (!isObject(target)) return target;
|
|
683
|
-
if (target[
|
|
708
|
+
if (target["__r_isReactive"]) return target;
|
|
684
709
|
const existingProxy = reactiveMap.get(target);
|
|
685
710
|
if (existingProxy) return existingProxy;
|
|
686
|
-
if (getTargetType(target) ===
|
|
711
|
+
if (getTargetType(target) === 0) return target;
|
|
687
712
|
const proxy = new Proxy(target, mutableHandlers);
|
|
688
713
|
reactiveMap.set(target, proxy);
|
|
689
714
|
rawMap.set(proxy, target);
|
|
@@ -692,7 +717,7 @@ function reactive(target) {
|
|
|
692
717
|
return proxy;
|
|
693
718
|
}
|
|
694
719
|
function isReactive(value) {
|
|
695
|
-
return Boolean(value && value[
|
|
720
|
+
return Boolean(value && value["__r_isReactive"]);
|
|
696
721
|
}
|
|
697
722
|
function convertToReactive(value) {
|
|
698
723
|
return isObject(value) ? reactive(value) : value;
|
|
@@ -718,7 +743,7 @@ function convertToReactive(value) {
|
|
|
718
743
|
*/
|
|
719
744
|
function markRaw(value) {
|
|
720
745
|
if (!isObject(value)) return value;
|
|
721
|
-
Object.defineProperty(value,
|
|
746
|
+
Object.defineProperty(value, "__r_skip", {
|
|
722
747
|
value: true,
|
|
723
748
|
configurable: true,
|
|
724
749
|
enumerable: false,
|
|
@@ -733,7 +758,7 @@ function markRaw(value) {
|
|
|
733
758
|
* @returns 若含有跳过标记则返回 true
|
|
734
759
|
*/
|
|
735
760
|
function isRaw(value) {
|
|
736
|
-
return isObject(value) &&
|
|
761
|
+
return isObject(value) && "__r_skip" in value;
|
|
737
762
|
}
|
|
738
763
|
//#endregion
|
|
739
764
|
//#region src/reactivity/ref.ts
|
|
@@ -826,4 +851,4 @@ function customRef(factory, defaultValue) {
|
|
|
826
851
|
return markRaw(new CustomRefImpl(factory, defaultValue));
|
|
827
852
|
}
|
|
828
853
|
//#endregion
|
|
829
|
-
export {
|
|
854
|
+
export { track as A, effect as C, onScopeDispose as D, getCurrentScope as E, triggerEffects as M, nextTick as N, startBatch as O, queueJob as P, batch as S, endBatch as T, getTargetType as _, toValue as a, addMutationRecorder as b, isRaw as c, reactive as d, isShallowReactive as f, touchReactive as g, prelinkReactiveTree as h, ref as i, trigger as j, stop as k, isReactive as l, clearPatchIndices as m, isRef as n, unref as o, shallowReactive as p, markAsRef as r, getReactiveVersion as s, customRef as t, markRaw as u, isObject as v, effectScope as w, removeMutationRecorder as x, toRaw as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as getTargetType, l as isReactive, n as isRef, r as markAsRef, v as isObject } from "./ref-C8almzLH.mjs";
|
|
2
2
|
import { WEVU_HOOKS_KEY, WEVU_IS_APP_INSTANCE_KEY } from "@weapp-core/constants";
|
|
3
3
|
import { getMiniProgramPlatformByRuntimeGlobalKey, getMiniProgramRuntimeCapabilities, getMiniProgramRuntimeGlobalKey, getMiniProgramRuntimeGlobalKeys, getMiniProgramRuntimeHostConfigKey, resolveMiniProgramPlatform, supportsMiniProgramRuntimeCapability } from "@weapp-core/shared";
|
|
4
4
|
//#region src/reactivity/readonly.ts
|
|
@@ -14,11 +14,11 @@ function createReadonlyWrapper(target) {
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperties(readonlyRef, {
|
|
17
|
-
[
|
|
17
|
+
["__r_isReadonly"]: {
|
|
18
18
|
value: true,
|
|
19
19
|
configurable: true
|
|
20
20
|
},
|
|
21
|
-
[
|
|
21
|
+
["__r_raw"]: {
|
|
22
22
|
value: source,
|
|
23
23
|
configurable: true
|
|
24
24
|
}
|
|
@@ -26,7 +26,7 @@ function createReadonlyWrapper(target) {
|
|
|
26
26
|
return readonlyRef;
|
|
27
27
|
}
|
|
28
28
|
if (!isObject(target)) return target;
|
|
29
|
-
if (getTargetType(target) ===
|
|
29
|
+
if (getTargetType(target) === 0) return target;
|
|
30
30
|
return new Proxy(target, {
|
|
31
31
|
set() {
|
|
32
32
|
throw new Error("无法在只读对象上设置属性");
|
|
@@ -38,8 +38,8 @@ function createReadonlyWrapper(target) {
|
|
|
38
38
|
throw new Error("无法在只读对象上定义属性");
|
|
39
39
|
},
|
|
40
40
|
get(target, key, receiver) {
|
|
41
|
-
if (key ===
|
|
42
|
-
if (key ===
|
|
41
|
+
if (key === "__r_isReadonly") return true;
|
|
42
|
+
if (key === "__r_raw") return target;
|
|
43
43
|
return Reflect.get(target, key, receiver);
|
|
44
44
|
}
|
|
45
45
|
});
|
|
@@ -54,7 +54,7 @@ function shallowReadonly(target) {
|
|
|
54
54
|
* 判断值是否为只读代理或只读 ref 包装。
|
|
55
55
|
*/
|
|
56
56
|
function isReadonly(value) {
|
|
57
|
-
return Boolean(value && value[
|
|
57
|
+
return Boolean(value && value["__r_isReadonly"]);
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* 判断值是否为响应式代理或只读代理。
|
package/dist/router.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as RouterNavigateToOption, an as TypedRouterUrl, en as RouterReLaunchOption, in as TypedRouterTabBarUrl, nn as RouterSwitchTabOption, on as WevuTypedRouterRouteMap, rn as SetupContextRouter, tn as RouterRedirectToOption } from "./vue-types-
|
|
1
|
+
import { $t as RouterNavigateToOption, an as TypedRouterUrl, en as RouterReLaunchOption, in as TypedRouterTabBarUrl, nn as RouterSwitchTabOption, on as WevuTypedRouterRouteMap, rn as SetupContextRouter, tn as RouterRedirectToOption } from "./vue-types-hsjLkWTv.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/routerInternal/types.d.ts
|
|
4
4
|
interface RouteResolveCodec {
|
package/dist/router.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as reactive } from "./ref-
|
|
2
|
-
import { E as onLoad, F as onRouteDone, J as getCurrentSetupContext, a as resolveCurrentRoute, c as normalizeRouteParams, d as createAbsoluteRoutePath, f as isDynamicRoutePath, g as injectGlobal, i as parsePathInput, l as parseQuery, n as useNativeRouter$1, o as normalizeHash, ot as readonly, p as resolvePath, r as createRouteLocation, s as normalizeQuery, t as useNativePageRouter$1, u as stringifyQuery, v as provideGlobal, z as onShow } from "./router-
|
|
1
|
+
import { d as reactive } from "./ref-C8almzLH.mjs";
|
|
2
|
+
import { E as onLoad, F as onRouteDone, J as getCurrentSetupContext, a as resolveCurrentRoute, c as normalizeRouteParams, d as createAbsoluteRoutePath, f as isDynamicRoutePath, g as injectGlobal, i as parsePathInput, l as parseQuery, n as useNativeRouter$1, o as normalizeHash, ot as readonly, p as resolvePath, r as createRouteLocation, s as normalizeQuery, t as useNativePageRouter$1, u as stringifyQuery, v as provideGlobal, z as onShow } from "./router-Brjo9NKc.mjs";
|
|
3
3
|
//#region src/routerInternal/params.ts
|
|
4
4
|
const PATH_PARAM_TOKEN_RE = /^:(\w+)(?:\([^)]*\))?([+*?])?$/;
|
|
5
5
|
function parsePathParamToken(segment) {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import "./chunk-D1SwGrFN.mjs";
|
|
2
|
+
import { A as track, C as effect, D as onScopeDispose, M as triggerEffects, N as nextTick, P as queueJob, b as addMutationRecorder, d as reactive, 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, v as isObject$1, w as effectScope, x as removeMutationRecorder, y as toRaw } from "./ref-C8almzLH.mjs";
|
|
3
|
+
import "./store-Cqeyitcj.mjs";
|
|
4
|
+
import { $ as getCurrentMiniProgramPages, A as onPageScroll, G as callHookList, J as getCurrentSetupContext, K as callHookReturn, Q as getCurrentMiniProgramHostConfig, S as onDetached, U as onUnload, W as assertInSetup, X as setCurrentInstance, Y as pushHook, Z as setCurrentSetupContext, et as getCurrentMiniProgramRuntimeCapabilities, nt as getScopedSlotHostGlobalObject, ot as readonly, q as getCurrentInstance, rt as supportsCurrentMiniProgramRuntimeCapability, tt as getMiniProgramGlobalObject, x as onAttached, y as setGlobalProvidedValue } from "./router-Brjo9NKc.mjs";
|
|
3
5
|
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_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_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";
|
|
4
6
|
import { resolveMiniProgramPageKeys } from "@weapp-core/shared";
|
|
5
7
|
//#region src/reactivity/shallowRef.ts
|
|
@@ -103,7 +105,7 @@ function traverse(value, depth = Infinity, seen = /* @__PURE__ */ new Map()) {
|
|
|
103
105
|
traverse(value.value, depth - 1, seen);
|
|
104
106
|
return value;
|
|
105
107
|
}
|
|
106
|
-
if (value[
|
|
108
|
+
if (value["__r_skip"]) return value;
|
|
107
109
|
const existingDepth = seen.get(value);
|
|
108
110
|
if (existingDepth !== void 0 && existingDepth >= depth) return value;
|
|
109
111
|
seen.set(value, depth);
|
|
@@ -433,7 +435,7 @@ function watchSyncEffect(effectFn, options = {}) {
|
|
|
433
435
|
}
|
|
434
436
|
//#endregion
|
|
435
437
|
//#region src/version.ts
|
|
436
|
-
const version = "6.15.
|
|
438
|
+
const version = "6.15.10";
|
|
437
439
|
//#endregion
|
|
438
440
|
//#region src/utils.ts
|
|
439
441
|
function capitalize(str) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as track, C as effect, d as reactive, g as touchReactive, j as trigger, l as isReactive, n as isRef, r as markAsRef, w as effectScope, y as toRaw } from "./ref-C8almzLH.mjs";
|
|
2
2
|
//#region src/reactivity/computed.ts
|
|
3
3
|
function computed(getterOrOptions) {
|
|
4
4
|
let getter;
|
package/dist/store.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ActionContext, c as MutationType, d as SubscriptionCallback, i as defineStore, l as StoreManager, n as storeToRefs, o as ActionSubscriber, r as createStore, s as DefineStoreOptions, t as StoreToRefsResult, u as StoreSubscribeOptions } from "./index-
|
|
1
|
+
import { a as ActionContext, c as MutationType, d as SubscriptionCallback, i as defineStore, l as StoreManager, n as storeToRefs, o as ActionSubscriber, r as createStore, s as DefineStoreOptions, t as StoreToRefsResult, u as StoreSubscribeOptions } from "./index-BwVHsSCe.mjs";
|
|
2
2
|
export { ActionContext, ActionSubscriber, DefineStoreOptions, MutationType, StoreManager, StoreSubscribeOptions, StoreToRefsResult, SubscriptionCallback, createStore, defineStore, storeToRefs };
|
package/dist/store.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as defineStore, r as createStore, t as storeToRefs } from "./store-
|
|
1
|
+
import { n as defineStore, r as createStore, t as storeToRefs } from "./store-Cqeyitcj.mjs";
|
|
2
2
|
export { createStore, defineStore, storeToRefs };
|
package/dist/vue-demi.d.mts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { a as MiniProgramCSSProperties, c as MiniProgramIntrinsicEventHandler, d as WeappIntrinsicElementBaseAttributes, f as WeappIntrinsicEventHandler, i as WeappIntrinsicElements, l as WeappCSSProperties, n as MiniProgramIntrinsicElements, o as MiniProgramDatasetAttributes, r as WeappHtmlAliasIntrinsicElements, s as MiniProgramIntrinsicElementBaseAttributes, t as MiniProgramHtmlAliasIntrinsicElements, u as WeappDatasetAttributes } from "./weappIntrinsicElements-Cdfh6BlL.mjs";
|
|
2
|
-
import { $ as shallowRef, $n as HostMiniProgramNodesRefFields, A as watchPostEffect, An as MiniProgramPageLifetimes, Ar as
|
|
3
|
-
import { $ as PageLayoutState, $t as onTabItemTap, A as defineAppSetup, An as MiniProgramTemplateRefValue, At as onServerPrefetch, B as setRuntimeSetDataVisibility, Bn as SetDataDebugInfo, Bt as onMemoryWarning, C as UseModelOptions, Cn as defineComponent, Ct as onActivated, D as useAttrs, Dn as createApp, Dt as onDeactivated, E as useModel, En as setWevuDefaults, Et as onBeforeUpdate, F as useUpdatePerformanceListener, Fn as CreateAppOptions, Ft as onDetached, G as inject, Gt as onReachBottom, H as registerComponent, Ht as onPageNotFound, I as normalizeClass, In as DataOption, It as onError, J as provideGlobal, Jt as onRouteDone, K as injectGlobal, Kt as onReady, L as normalizeStyle, Ln as DefineAppOptions, Lt as onHide, M as UpdatePerformanceListener, Mn as TemplateRefs, Mt as onUpdated, N as UpdatePerformanceListenerResult, Nn as WevuGlobalComponents, Nt as onAddToFavorites, O as useNativeInstance, On as GlobalComponents, Ot as onErrorCaptured, P as UseUpdatePerformanceListenerStopHandle, Pn as WevuGlobalDirectives, Pt as onAttached, Q as usePageScrollThrottle, Qt as onShow, R as runSetupFunction, Rn as DefineComponentOptions, Rt as onLaunch, S as ModelModifiers, Sn as createWevuScopedSlotComponent, St as callUpdateHooks, T as useBindModel, Tn as resetWevuDefaults, Tt as onBeforeUnmount, U as registerApp, Ut as onPageScroll, V as teardownRuntimeInstance, Vn as SetDataSnapshotOptions, Vt as onMoved, W as hasInjectionContext, Wt as onPullDownRefresh, X as UsePageScrollThrottleOptions, Xt as onShareAppMessage, Y as setGlobalProvidedValue, Yt as onSaveExitState, Z as UsePageScrollThrottleStopHandle, Zt as onShareTimeline, _ as EmitsOptions, _n as SetupContextWithTypeProps, _t as useLayoutHosts, a as PageLayoutMeta, an as getCurrentInstance, at as usePageLayout, b as useNativePageRouter, bn as WevuDefinedComponent, bt as UseIntersectionObserverResult, c as defineExpose, cn as setCurrentSetupContext, ct as LayoutBridgeInstance, d as definePageMeta, dn as DisposableMethodName, dt as registerRuntimeLayoutHosts, en as onThemeChange, et as WevuPageLayoutMap, f as defineProps, fn as DisposableObject, ft as resolveLayoutBridge, g as EmitFn, gn as DefineComponentWithTypeProps, gt as useLayoutBridge, h as ComponentTypeEmits, hn as DefineComponentTypePropsOptions, ht as unregisterRuntimeLayoutHosts, i as ModelRef, in as callHookReturn, it as syncRuntimePageLayoutStateFromRuntime, j as use, jn as TemplateRefValue, jt as onUnmounted, k as useSlots, kn as GlobalDirectives, kt as onMounted, l as defineModel, ln as DisposableBag, lt as LayoutHostBinding, m as withDefaults, mn as ComponentDefinition, mt as unregisterPageLayoutBridge, n as DefineModelModifiers, nn as onUnload, nt as setPageLayout, o as PageMeta, on as getCurrentSetupContext, ot as isNoSetData, p as defineSlots, pn as useDisposables, pt as resolveLayoutHost, q as provide, qt as onResize, r as DefineModelTransformOptions, rn as callHookList, rt as syncRuntimePageLayoutState, s as defineEmits, sn as setCurrentInstance, st as markNoSetData, t as version, tn as onUnhandledRejection, tt as resolveRuntimePageLayoutName, u as defineOptions, un as DisposableLike, ut as registerPageLayoutBridge, v as TemplateRef, vn as SetupFunctionWithTypeProps, vt as waitForLayoutHost, w as mergeModels, wn as WevuDefaults, wt as onBeforeMount, x as useNativeRouter, xn as createWevuComponent, xt as useIntersectionObserver, y as useTemplateRef, yn as WevuComponentConstructor, yt as UseIntersectionObserverOptions, z as mountRuntimeInstance, zn as PageFeatures, zt as onLoad } from "./index-
|
|
4
|
-
import { a as ActionContext, c as MutationType, d as SubscriptionCallback, i as defineStore, l as StoreManager, n as storeToRefs, o as ActionSubscriber, r as createStore, s as DefineStoreOptions, t as StoreToRefsResult, u as StoreSubscribeOptions } from "./index-
|
|
2
|
+
import { $ as shallowRef, $n as HostMiniProgramNodesRefFields, A as watchPostEffect, An as MiniProgramPageLifetimes, Ar as MiniProgramRuntimeHostNamespaceBySource, At as nextTick, B as WatchOptions, Bn as HostMiniProgramComponentInstance, Bt as MaybeRef, C as ExtractMethods, Cn as MiniProgramAppOptions, Cr as MiniProgramHostNamespace, Ct as effect, D as ModelBindingPayload, Dn as MiniProgramComponentPropertyValue, Dr as MiniProgramPlatformHostNamespaceBySource, Dt as onScopeDispose, E as ModelBindingOptions, En as MiniProgramComponentOptions, Er as MiniProgramHostSourceRegistry, Et as getCurrentScope, F as OnCleanup, Fn as HostMiniProgramBoundingClientRectResult, Fr as WechatMiniProgramHostNamespace, Ft as WritableComputedRef, G as WatchStopHandle, Gn as HostMiniProgramComponentTrivialInstance, Gt as isRef, H as WatchSource, Hn as HostMiniProgramComponentPropertyOption, Ht as Ref, I as WatchCallback, In as HostMiniProgramComponentAllFullProperty, Ir as WechatMiniProgramHostSourceContract, It as computed, J as traverse, Jn as HostMiniProgramIntersectionObserverOptions, Jt as unref, K as getDeepWatchStrategy, Kn as HostMiniProgramComponentTrivialOption, Kt as ref, L as WatchEffect, Ln as HostMiniProgramComponentAllProperty, Lt as CustomRefFactory, M as MapSources, Mn as HostMiniProgramAppOptions, Mr as MiniProgramRuntimeHostSourceRegistry, Mt as ComputedRef, N as MaybeUndefined, Nn as HostMiniProgramAppTrivialInstance, Nr as TtMiniProgramHostNamespace, Nt as ComputedSetter, O as watch, On as MiniProgramComponentRawOptions, Or as MiniProgramPlatformHostSourceName, Ot as startBatch, P as MultiWatchSources, Pn as HostMiniProgramBehaviorIdentifier, Pr as TtMiniProgramHostSourceContract, Pt as WritableComputedOptions, Q as isShallowRef, Qn as HostMiniProgramNodesRef, Qt as MiniProgramRouterSwitchTabOption, R as WatchEffectOptions, Rn as HostMiniProgramComponentBehaviorOptions, Rt as CustomRefOptions, S as ExtractComputed, Sn as MiniProgramAdapter, Sr as DouyinMiniProgramHostSourceContract, St as batch, T as ModelBinding, Tn as MiniProgramComponentInstance, Tr as MiniProgramHostSourceName, Tt as endBatch, U as WatchSourceValue, Un as HostMiniProgramComponentPropertyValue, Ut as ShallowRef, V as WatchScheduler, Vn as HostMiniProgramComponentMethodOption, Vt as MaybeRefOrGetter, W as WatchSources, Wn as HostMiniProgramComponentShortProperty, Wt as customRef, X as toRef, Xn as HostMiniProgramMemoryWarningResult, Xt as MiniProgramRouterReLaunchOption, Y as ToRefs, Yn as HostMiniProgramLaunchOptions, Yt as MiniProgramRouterNavigateToOption, Z as toRefs, Zn as HostMiniProgramNavigateToOption, Zt as MiniProgramRouterRedirectToOption, _ as RuntimeApp, _n as NativeTypeHint, _r as AlipayMiniProgramHostNamespace, _t as MutationOp, a as NativeComponent, ar as HostMiniProgramReLaunchOption, at as getReactiveVersion, b as ComponentPublicInstance, bn as PropOptions, br as DefaultMiniProgramHostSourceContract, bt as removeMutationRecorder, c as ShallowUnwrapRef, cn as ExtractDefaultPropTypes, cr as HostMiniProgramSaveExitState, ct as markRaw, d as SetupContext, dn as InferNativePropType, dr as HostMiniProgramShareAppMessageOption, dt as isShallowReactive, er as HostMiniProgramPageLifetime, et as triggerRef, f as SetupContextNativeInstance, fn as InferNativeProps, fr as HostMiniProgramSwitchTabOption, ft as shallowReactive, g as InternalRuntimeStateFields, gn as NativePropsOptions, gr as HostMiniProgramUnhandledRejectionResult, gt as MutationKind, h as InternalRuntimeState, hn as NativePropType, hr as HostMiniProgramTriggerEventOptions, ht as touchReactive, i as DefineComponent, ir as HostMiniProgramPageTrivialInstance, it as shallowReadonly, j as watchSyncEffect, jn as HostMiniProgramAddToFavoritesOption, jr as MiniProgramRuntimeHostSourceName, jt as ComputedGetter, k as watchEffect, kn as MiniProgramInstance, kr as MiniProgramPlatformHostSourceRegistry, kt as stop, l as VNode, ln as ExtractPropTypes, lr as HostMiniProgramScrollOffsetResult, lt as reactive, m as AppConfig, mn as InferProps, mr as HostMiniProgramThemeChangeResult, mt as prelinkReactiveTree, n as ComponentCustomProps, nr as HostMiniProgramPageResizeOption, nt as isReadonly, o as ObjectDirective, on as WevuTypedRouterRouteMap, or as HostMiniProgramRedirectToOption, ot as isRaw, p as SetupFunction, pn as InferPropType, pr as HostMiniProgramTabItemTapOption, pt as PrelinkReactiveTreeOptions, q as setDeepWatchStrategy, qn as HostMiniProgramIntersectionObserver, qt as toValue, r as ComponentOptionsMixin, rn as SetupContextRouter, rr as HostMiniProgramPageScrollOption, rt as readonly, s as PublicProps, sn as ComponentPropsOptions, sr as HostMiniProgramRouter, st as isReactive, t as AllowedComponentProps, tr as HostMiniProgramPageNotFoundOptions, tt as isProxy, u as VNodeProps, un as ExtractPublicPropTypes, ur as HostMiniProgramSelectorQuery, ut as toRaw, v as RuntimeInstance, vn as NativeTypedProperty, vr as AlipayMiniProgramHostSourceContract, vt as MutationRecord, w as MethodDefinitions, wn as MiniProgramBehaviorIdentifier, wr as MiniProgramHostNamespaceBySource, wt as effectScope, x as ComputedDefinitions, xn as PropType, xr as DouyinMiniProgramHostNamespace, xt as EffectScope, y as WevuPlugin, yn as PropConstructor, yr as DefaultMiniProgramHostNamespace, yt as addMutationRecorder, z as WatchMultiSources, zn as HostMiniProgramComponentEmptyArray, zt as CustomRefSource } from "./vue-types-hsjLkWTv.mjs";
|
|
3
|
+
import { $ as PageLayoutState, $t as onTabItemTap, A as defineAppSetup, An as MiniProgramTemplateRefValue, At as onServerPrefetch, B as setRuntimeSetDataVisibility, Bn as SetDataDebugInfo, Bt as onMemoryWarning, C as UseModelOptions, Cn as defineComponent, Ct as onActivated, D as useAttrs, Dn as createApp, Dt as onDeactivated, E as useModel, En as setWevuDefaults, Et as onBeforeUpdate, F as useUpdatePerformanceListener, Fn as CreateAppOptions, Ft as onDetached, G as inject, Gt as onReachBottom, H as registerComponent, Ht as onPageNotFound, I as normalizeClass, In as DataOption, It as onError, J as provideGlobal, Jt as onRouteDone, K as injectGlobal, Kt as onReady, L as normalizeStyle, Ln as DefineAppOptions, Lt as onHide, M as UpdatePerformanceListener, Mn as TemplateRefs, Mt as onUpdated, N as UpdatePerformanceListenerResult, Nn as WevuGlobalComponents, Nt as onAddToFavorites, O as useNativeInstance, On as GlobalComponents, Ot as onErrorCaptured, P as UseUpdatePerformanceListenerStopHandle, Pn as WevuGlobalDirectives, Pt as onAttached, Q as usePageScrollThrottle, Qt as onShow, R as runSetupFunction, Rn as DefineComponentOptions, Rt as onLaunch, S as ModelModifiers, Sn as createWevuScopedSlotComponent, St as callUpdateHooks, T as useBindModel, Tn as resetWevuDefaults, Tt as onBeforeUnmount, U as registerApp, Ut as onPageScroll, V as teardownRuntimeInstance, Vn as SetDataSnapshotOptions, Vt as onMoved, W as hasInjectionContext, Wt as onPullDownRefresh, X as UsePageScrollThrottleOptions, Xt as onShareAppMessage, Y as setGlobalProvidedValue, Yt as onSaveExitState, Z as UsePageScrollThrottleStopHandle, Zt as onShareTimeline, _ as EmitsOptions, _n as SetupContextWithTypeProps, _t as useLayoutHosts, a as PageLayoutMeta, an as getCurrentInstance, at as usePageLayout, b as useNativePageRouter, bn as WevuDefinedComponent, bt as UseIntersectionObserverResult, c as defineExpose, cn as setCurrentSetupContext, ct as LayoutBridgeInstance, d as definePageMeta, dn as DisposableMethodName, dt as registerRuntimeLayoutHosts, en as onThemeChange, et as WevuPageLayoutMap, f as defineProps, fn as DisposableObject, ft as resolveLayoutBridge, g as EmitFn, gn as DefineComponentWithTypeProps, gt as useLayoutBridge, h as ComponentTypeEmits, hn as DefineComponentTypePropsOptions, ht as unregisterRuntimeLayoutHosts, i as ModelRef, in as callHookReturn, it as syncRuntimePageLayoutStateFromRuntime, j as use, jn as TemplateRefValue, jt as onUnmounted, k as useSlots, kn as GlobalDirectives, kt as onMounted, l as defineModel, ln as DisposableBag, lt as LayoutHostBinding, m as withDefaults, mn as ComponentDefinition, mt as unregisterPageLayoutBridge, n as DefineModelModifiers, nn as onUnload, nt as setPageLayout, o as PageMeta, on as getCurrentSetupContext, ot as isNoSetData, p as defineSlots, pn as useDisposables, pt as resolveLayoutHost, q as provide, qt as onResize, r as DefineModelTransformOptions, rn as callHookList, rt as syncRuntimePageLayoutState, s as defineEmits, sn as setCurrentInstance, st as markNoSetData, t as version, tn as onUnhandledRejection, tt as resolveRuntimePageLayoutName, u as defineOptions, un as DisposableLike, ut as registerPageLayoutBridge, v as TemplateRef, vn as SetupFunctionWithTypeProps, vt as waitForLayoutHost, w as mergeModels, wn as WevuDefaults, wt as onBeforeMount, x as useNativeRouter, xn as createWevuComponent, xt as useIntersectionObserver, y as useTemplateRef, yn as WevuComponentConstructor, yt as UseIntersectionObserverOptions, z as mountRuntimeInstance, zn as PageFeatures, zt as onLoad } from "./index-D9k9y3GQ.mjs";
|
|
4
|
+
import { a as ActionContext, c as MutationType, d as SubscriptionCallback, i as defineStore, l as StoreManager, n as storeToRefs, o as ActionSubscriber, r as createStore, s as DefineStoreOptions, t as StoreToRefsResult, u as StoreSubscribeOptions } from "./index-BwVHsSCe.mjs";
|
|
5
|
+
export * from "@wevu/web-apis";
|
|
5
6
|
|
|
6
7
|
//#region src/vue-demi.d.ts
|
|
8
|
+
declare namespace vue_demi_d_exports {
|
|
9
|
+
export { ActionContext, ActionSubscriber, AlipayMiniProgramHostNamespace, AlipayMiniProgramHostSourceContract, AllowedComponentProps, AppConfig, ComponentCustomProps, ComponentDefinition, ComponentOptionsMixin, ComponentPropsOptions, ComponentPublicInstance, ComponentTypeEmits, ComputedDefinitions, ComputedGetter, ComputedRef, ComputedSetter, CreateAppOptions, CustomRefFactory, CustomRefOptions, CustomRefSource, DataOption, DefaultMiniProgramHostNamespace, DefaultMiniProgramHostSourceContract, DefineAppOptions, DefineComponent, DefineComponentOptions, DefineComponentTypePropsOptions, DefineComponentWithTypeProps, DefineModelModifiers, DefineModelTransformOptions, DefineStoreOptions, DisposableBag, DisposableLike, DisposableMethodName, DisposableObject, DouyinMiniProgramHostNamespace, DouyinMiniProgramHostSourceContract, EffectScope, EmitFn, EmitsOptions, ExtractComputed, ExtractDefaultPropTypes, ExtractMethods, ExtractPropTypes, ExtractPublicPropTypes, GlobalComponents, GlobalDirectives, HostMiniProgramAddToFavoritesOption, HostMiniProgramAppOptions, HostMiniProgramAppTrivialInstance, HostMiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult, HostMiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray, HostMiniProgramComponentInstance, HostMiniProgramComponentMethodOption, HostMiniProgramComponentPropertyOption, HostMiniProgramComponentPropertyValue, HostMiniProgramComponentShortProperty, HostMiniProgramComponentTrivialInstance, HostMiniProgramComponentTrivialOption, HostMiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions, HostMiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption, HostMiniProgramNodesRef, HostMiniProgramNodesRefFields, HostMiniProgramPageLifetime, HostMiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption, HostMiniProgramPageScrollOption, HostMiniProgramPageTrivialInstance, HostMiniProgramReLaunchOption, HostMiniProgramRedirectToOption, HostMiniProgramRouter, HostMiniProgramSaveExitState, HostMiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption, HostMiniProgramThemeChangeResult, HostMiniProgramTriggerEventOptions, HostMiniProgramUnhandledRejectionResult, InferNativePropType, InferNativeProps, InferPropType, InferProps, InternalRuntimeState, InternalRuntimeStateFields, LayoutBridgeInstance, LayoutHostBinding, MapSources, MaybeRef, MaybeRefOrGetter, MaybeUndefined, MethodDefinitions, MiniProgramAdapter, HostMiniProgramAddToFavoritesOption as MiniProgramAddToFavoritesOption, MiniProgramAppOptions, MiniProgramBehaviorIdentifier, HostMiniProgramBoundingClientRectResult as MiniProgramBoundingClientRectResult, MiniProgramCSSProperties, HostMiniProgramComponentAllFullProperty as MiniProgramComponentAllFullProperty, HostMiniProgramComponentAllProperty as MiniProgramComponentAllProperty, HostMiniProgramComponentBehaviorOptions as MiniProgramComponentBehaviorOptions, HostMiniProgramComponentEmptyArray as MiniProgramComponentEmptyArray, MiniProgramComponentInstance, HostMiniProgramComponentMethodOption as MiniProgramComponentMethodOption, MiniProgramComponentOptions, HostMiniProgramComponentPropertyOption as MiniProgramComponentPropertyOption, MiniProgramComponentPropertyValue, MiniProgramComponentRawOptions, HostMiniProgramComponentShortProperty as MiniProgramComponentShortProperty, MiniProgramDatasetAttributes, MiniProgramHostNamespace, MiniProgramHostNamespaceBySource, MiniProgramHostSourceName, MiniProgramHostSourceRegistry, MiniProgramHtmlAliasIntrinsicElements, MiniProgramInstance, HostMiniProgramIntersectionObserver as MiniProgramIntersectionObserver, HostMiniProgramIntersectionObserverOptions as MiniProgramIntersectionObserverOptions, MiniProgramIntrinsicElementBaseAttributes, MiniProgramIntrinsicElements, MiniProgramIntrinsicEventHandler, HostMiniProgramLaunchOptions as MiniProgramLaunchOptions, HostMiniProgramMemoryWarningResult as MiniProgramMemoryWarningResult, HostMiniProgramNavigateToOption as MiniProgramNavigateToOption, HostMiniProgramNodesRef as MiniProgramNodesRef, HostMiniProgramNodesRefFields as MiniProgramNodesRefFields, HostMiniProgramPageLifetime as MiniProgramPageLifetime, MiniProgramPageLifetimes, HostMiniProgramPageNotFoundOptions as MiniProgramPageNotFoundOptions, HostMiniProgramPageResizeOption as MiniProgramPageResizeOption, HostMiniProgramPageScrollOption as MiniProgramPageScrollOption, MiniProgramPlatformHostNamespaceBySource, MiniProgramPlatformHostSourceName, MiniProgramPlatformHostSourceRegistry, HostMiniProgramReLaunchOption as MiniProgramReLaunchOption, HostMiniProgramRedirectToOption as MiniProgramRedirectToOption, HostMiniProgramRouter as MiniProgramRouter, MiniProgramRouterNavigateToOption, MiniProgramRouterReLaunchOption, MiniProgramRouterRedirectToOption, MiniProgramRouterSwitchTabOption, MiniProgramRuntimeHostNamespaceBySource, MiniProgramRuntimeHostSourceName, MiniProgramRuntimeHostSourceRegistry, HostMiniProgramSaveExitState as MiniProgramSaveExitState, HostMiniProgramScrollOffsetResult as MiniProgramScrollOffsetResult, HostMiniProgramSelectorQuery as MiniProgramSelectorQuery, HostMiniProgramShareAppMessageOption as MiniProgramShareAppMessageOption, HostMiniProgramSwitchTabOption as MiniProgramSwitchTabOption, HostMiniProgramTabItemTapOption as MiniProgramTabItemTapOption, MiniProgramTemplateRefValue, HostMiniProgramThemeChangeResult as MiniProgramThemeChangeResult, HostMiniProgramUnhandledRejectionResult as MiniProgramUnhandledRejectionResult, ModelBinding, ModelBindingOptions, ModelBindingPayload, ModelModifiers, ModelRef, MultiWatchSources, MutationKind, MutationOp, MutationRecord, MutationType, NativeComponent, NativePropType, NativePropsOptions, NativeTypeHint, NativeTypedProperty, ObjectDirective, OnCleanup, PageFeatures, PageLayoutMeta, PageLayoutState, PageMeta, PrelinkReactiveTreeOptions, PropConstructor, PropOptions, PropType, PublicProps, Ref, RuntimeApp, RuntimeInstance, SetDataDebugInfo, SetDataSnapshotOptions, SetupContext, SetupContextNativeInstance, SetupContextRouter, SetupContextWithTypeProps, SetupFunction, SetupFunctionWithTypeProps, ShallowRef, ShallowUnwrapRef, StoreManager, StoreSubscribeOptions, StoreToRefsResult, SubscriptionCallback, TemplateRef, TemplateRefValue, TemplateRefs, ToRefs, HostMiniProgramTriggerEventOptions as TriggerEventOptions, TtMiniProgramHostNamespace, TtMiniProgramHostSourceContract, UpdatePerformanceListener, UpdatePerformanceListenerResult, UseIntersectionObserverOptions, UseIntersectionObserverResult, UseModelOptions, UsePageScrollThrottleOptions, UsePageScrollThrottleStopHandle, UseUpdatePerformanceListenerStopHandle, VNode, VNodeProps, Vue2, WatchCallback, WatchEffect, WatchEffectOptions, WatchMultiSources, WatchOptions, WatchScheduler, WatchSource, WatchSourceValue, WatchSources, WatchStopHandle, WeappCSSProperties, WeappDatasetAttributes, WeappHtmlAliasIntrinsicElements, WeappIntrinsicElementBaseAttributes, WeappIntrinsicElements, WeappIntrinsicEventHandler, WechatMiniProgramHostNamespace, WechatMiniProgramHostSourceContract, WevuComponentConstructor, WevuDefaults, WevuDefinedComponent, WevuGlobalComponents, WevuGlobalDirectives, WevuPageLayoutMap, WevuPlugin, WevuTypedRouterRouteMap, WritableComputedOptions, WritableComputedRef, addMutationRecorder, batch, callHookList, callHookReturn, callUpdateHooks, computed, createApp, createStore, createWevuComponent, createWevuScopedSlotComponent, customRef, defineAppSetup, defineComponent, defineEmits, defineExpose, defineModel, defineOptions, definePageMeta, defineProps, defineSlots, defineStore, effect, effectScope, endBatch, getCurrentInstance, getCurrentScope, getCurrentSetupContext, getDeepWatchStrategy, getReactiveVersion, hasInjectionContext, inject, injectGlobal, install, isNoSetData, isProxy, isRaw, isReactive, isReadonly, isRef, isShallowReactive, isShallowRef, isVue2, isVue3, markNoSetData, markRaw, mergeModels, mountRuntimeInstance, nextTick, normalizeClass, normalizeStyle, onActivated, onAddToFavorites, onAttached, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onDetached, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMemoryWarning, onMounted, onMoved, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onRouteDone, onSaveExitState, onScopeDispose, onServerPrefetch, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, prelinkReactiveTree, provide, provideGlobal, reactive, readonly, ref, registerApp, registerComponent, registerPageLayoutBridge, registerRuntimeLayoutHosts, removeMutationRecorder, resetWevuDefaults, resolveLayoutBridge, resolveLayoutHost, resolveRuntimePageLayoutName, runSetupFunction, setCurrentInstance, setCurrentSetupContext, setDeepWatchStrategy, setGlobalProvidedValue, setPageLayout, setRuntimeSetDataVisibility, setWevuDefaults, shallowReactive, shallowReadonly, shallowRef, startBatch, stop, storeToRefs, syncRuntimePageLayoutState, syncRuntimePageLayoutStateFromRuntime, teardownRuntimeInstance, toRaw, toRef, toRefs, toValue, touchReactive, traverse, triggerRef, unref, unregisterPageLayoutBridge, unregisterRuntimeLayoutHosts, use, useAttrs, useBindModel, useDisposables, useIntersectionObserver, useLayoutBridge, useLayoutHosts, useModel, useNativeInstance, useNativePageRouter, useNativeRouter, usePageLayout, usePageScrollThrottle, useSlots, useTemplateRef, useUpdatePerformanceListener, version, waitForLayoutHost, watch, watchEffect, watchPostEffect, watchSyncEffect, withDefaults };
|
|
10
|
+
}
|
|
7
11
|
/**
|
|
8
12
|
* 标记当前兼容层运行在 Vue 3 风格分支。
|
|
9
13
|
*/
|
package/dist/vue-demi.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { i as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import "./chunk-D1SwGrFN.mjs";
|
|
2
|
+
import { C as effect, D as onScopeDispose, E as getCurrentScope, N as nextTick, O as startBatch, 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, k as stop, l as isReactive, n as isRef, o as unref, p as shallowReactive, s as getReactiveVersion, t as customRef, u as markRaw, w as effectScope, x as removeMutationRecorder, y as toRaw } from "./ref-C8almzLH.mjs";
|
|
3
|
+
import { i as computed, n as defineStore, r as createStore, t as storeToRefs } from "./store-Cqeyitcj.mjs";
|
|
4
|
+
import { A as onPageScroll, B as onTabItemTap, C as onError, D as onMemoryWarning, E as onLoad, F as onRouteDone, G as callHookList, H as onUnhandledRejection, I as onSaveExitState, J as getCurrentSetupContext, K as callHookReturn, L as onShareAppMessage, M as onReachBottom, N as onReady, O as onMoved, P as onResize, R as onShareTimeline, S as onDetached, T as onLaunch, U as onUnload, V as onThemeChange, X as setCurrentInstance, Z as setCurrentSetupContext, _ as provide, at as isReadonly, b as onAddToFavorites, g as injectGlobal, h as inject, it as isProxy, j as onPullDownRefresh, k as onPageNotFound, m as hasInjectionContext, n as useNativeRouter, ot as readonly, q as getCurrentInstance, st as shallowReadonly, t as useNativePageRouter, v as provideGlobal, w as onHide, x as onAttached, y as setGlobalProvidedValue, z as onShow } from "./router-Brjo9NKc.mjs";
|
|
5
|
+
import { $ as onBeforeMount, A as registerApp, B as resetWevuDefaults, C as resolveLayoutBridge, D as useLayoutBridge, E as unregisterRuntimeLayoutHosts, F as resolveRuntimePageLayoutName, G as watch, H as isNoSetData, I as setPageLayout, J as watchSyncEffect, K as watchEffect, L as syncRuntimePageLayoutState, M as setRuntimeSetDataVisibility, N as teardownRuntimeInstance, O as useLayoutHosts, P as runSetupFunction, Q as onActivated, R as syncRuntimePageLayoutStateFromRuntime, S as registerRuntimeLayoutHosts, T as unregisterPageLayoutBridge, U as markNoSetData, V as setWevuDefaults, W as version, X as setDeepWatchStrategy, Y as getDeepWatchStrategy, Z as callUpdateHooks, _ as createWevuScopedSlotComponent, a as useAttrs, at as onServerPrefetch, b as registerComponent, c as defineAppSetup, ct as traverse, d as normalizeClass, dt as isShallowRef, et as onBeforeUnmount, f as normalizeStyle, ft as shallowRef, g as createWevuComponent, h as useDisposables, i as useModel, it as onMounted, j as mountRuntimeInstance, k as waitForLayoutHost, l as use, lt as toRef, m as useIntersectionObserver, n as mergeModels, nt as onDeactivated, o as useNativeInstance, ot as onUnmounted, p as usePageScrollThrottle, pt as triggerRef, q as watchPostEffect, r as useBindModel, rt as onErrorCaptured, s as useSlots, st as onUpdated, t as useTemplateRef, tt as onBeforeUpdate, u as useUpdatePerformanceListener, ut as toRefs, v as defineComponent, w as resolveLayoutHost, x as registerPageLayoutBridge, y as createApp, z as usePageLayout } from "./src-C_ZbpJIB.mjs";
|
|
6
|
+
export * from "@wevu/web-apis";
|
|
6
7
|
/**
|
|
7
8
|
* 标记当前兼容层运行在 Vue 3 风格分支。
|
|
8
9
|
*/
|
|
@@ -1,27 +1,6 @@
|
|
|
1
1
|
import { AllowedComponentProps, Component, ComponentCustomProps, ComponentOptionsMixin, ComponentProvideOptions, ComputedOptions, DefineComponent, Directive, EmitsOptions, MethodOptions, ObjectDirective, PublicProps, Ref, ShallowRef, ShallowUnwrapRef, SlotsType, VNode, VNodeProps } from "vue";
|
|
2
2
|
|
|
3
|
-
//#region src/runtime/types/
|
|
4
|
-
declare namespace DefaultMiniProgramHostNamespace {
|
|
5
|
-
export import App = WechatMiniProgramHostNamespace.App;
|
|
6
|
-
export import Behavior = WechatMiniProgramHostNamespace.Behavior;
|
|
7
|
-
export import Component = WechatMiniProgramHostNamespace.Component;
|
|
8
|
-
export import Page = WechatMiniProgramHostNamespace.Page;
|
|
9
|
-
export import BoundingClientRectCallbackResult = WechatMiniProgramHostNamespace.BoundingClientRectCallbackResult;
|
|
10
|
-
export import ScrollOffsetCallbackResult = WechatMiniProgramHostNamespace.ScrollOffsetCallbackResult;
|
|
11
|
-
export import NodesRef = WechatMiniProgramHostNamespace.NodesRef;
|
|
12
|
-
export import SelectorQuery = WechatMiniProgramHostNamespace.SelectorQuery;
|
|
13
|
-
export import CreateIntersectionObserverOption = WechatMiniProgramHostNamespace.CreateIntersectionObserverOption;
|
|
14
|
-
export import IntersectionObserver = WechatMiniProgramHostNamespace.IntersectionObserver;
|
|
15
|
-
export import OnUnhandledRejectionListenerResult = WechatMiniProgramHostNamespace.OnUnhandledRejectionListenerResult;
|
|
16
|
-
export import OnThemeChangeListenerResult = WechatMiniProgramHostNamespace.OnThemeChangeListenerResult;
|
|
17
|
-
export import OnMemoryWarningListenerResult = WechatMiniProgramHostNamespace.OnMemoryWarningListenerResult;
|
|
18
|
-
export import SwitchTabOption = WechatMiniProgramHostNamespace.SwitchTabOption;
|
|
19
|
-
export import ReLaunchOption = WechatMiniProgramHostNamespace.ReLaunchOption;
|
|
20
|
-
export import RedirectToOption = WechatMiniProgramHostNamespace.RedirectToOption;
|
|
21
|
-
export import NavigateToOption = WechatMiniProgramHostNamespace.NavigateToOption;
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region src/runtime/types/miniprogramHostWechat.d.ts
|
|
3
|
+
//#region src/runtime/types/miniprogramHostSources.d.ts
|
|
25
4
|
declare namespace WechatMiniProgramHostNamespace {
|
|
26
5
|
export import App = WechatMiniprogram.App;
|
|
27
6
|
export import Behavior = WechatMiniprogram.Behavior;
|
|
@@ -41,15 +20,47 @@ declare namespace WechatMiniProgramHostNamespace {
|
|
|
41
20
|
export import RedirectToOption = WechatMiniprogram.RedirectToOption;
|
|
42
21
|
export import NavigateToOption = WechatMiniprogram.NavigateToOption;
|
|
43
22
|
}
|
|
44
|
-
//#endregion
|
|
45
|
-
//#region src/runtime/types/miniprogramHostAlipay.d.ts
|
|
46
23
|
declare namespace AlipayMiniProgramHostNamespace {}
|
|
47
|
-
//#endregion
|
|
48
|
-
//#region src/runtime/types/miniprogramHostTt.d.ts
|
|
49
24
|
declare namespace DouyinMiniProgramHostNamespace {}
|
|
50
25
|
declare namespace TtMiniProgramHostNamespace {}
|
|
51
|
-
|
|
52
|
-
|
|
26
|
+
declare namespace DefaultMiniProgramHostNamespace {
|
|
27
|
+
export import App = WechatMiniProgramHostNamespace.App;
|
|
28
|
+
export import Behavior = WechatMiniProgramHostNamespace.Behavior;
|
|
29
|
+
export import Component = WechatMiniProgramHostNamespace.Component;
|
|
30
|
+
export import Page = WechatMiniProgramHostNamespace.Page;
|
|
31
|
+
export import BoundingClientRectCallbackResult = WechatMiniProgramHostNamespace.BoundingClientRectCallbackResult;
|
|
32
|
+
export import ScrollOffsetCallbackResult = WechatMiniProgramHostNamespace.ScrollOffsetCallbackResult;
|
|
33
|
+
export import NodesRef = WechatMiniProgramHostNamespace.NodesRef;
|
|
34
|
+
export import SelectorQuery = WechatMiniProgramHostNamespace.SelectorQuery;
|
|
35
|
+
export import CreateIntersectionObserverOption = WechatMiniProgramHostNamespace.CreateIntersectionObserverOption;
|
|
36
|
+
export import IntersectionObserver = WechatMiniProgramHostNamespace.IntersectionObserver;
|
|
37
|
+
export import OnUnhandledRejectionListenerResult = WechatMiniProgramHostNamespace.OnUnhandledRejectionListenerResult;
|
|
38
|
+
export import OnThemeChangeListenerResult = WechatMiniProgramHostNamespace.OnThemeChangeListenerResult;
|
|
39
|
+
export import OnMemoryWarningListenerResult = WechatMiniProgramHostNamespace.OnMemoryWarningListenerResult;
|
|
40
|
+
export import SwitchTabOption = WechatMiniProgramHostNamespace.SwitchTabOption;
|
|
41
|
+
export import ReLaunchOption = WechatMiniProgramHostNamespace.ReLaunchOption;
|
|
42
|
+
export import RedirectToOption = WechatMiniProgramHostNamespace.RedirectToOption;
|
|
43
|
+
export import NavigateToOption = WechatMiniProgramHostNamespace.NavigateToOption;
|
|
44
|
+
}
|
|
45
|
+
declare namespace MiniProgramHostNamespace {
|
|
46
|
+
export import App = DefaultMiniProgramHostNamespace.App;
|
|
47
|
+
export import Behavior = DefaultMiniProgramHostNamespace.Behavior;
|
|
48
|
+
export import Component = DefaultMiniProgramHostNamespace.Component;
|
|
49
|
+
export import Page = DefaultMiniProgramHostNamespace.Page;
|
|
50
|
+
export import BoundingClientRectCallbackResult = DefaultMiniProgramHostNamespace.BoundingClientRectCallbackResult;
|
|
51
|
+
export import ScrollOffsetCallbackResult = DefaultMiniProgramHostNamespace.ScrollOffsetCallbackResult;
|
|
52
|
+
export import NodesRef = DefaultMiniProgramHostNamespace.NodesRef;
|
|
53
|
+
export import SelectorQuery = DefaultMiniProgramHostNamespace.SelectorQuery;
|
|
54
|
+
export import CreateIntersectionObserverOption = DefaultMiniProgramHostNamespace.CreateIntersectionObserverOption;
|
|
55
|
+
export import IntersectionObserver = DefaultMiniProgramHostNamespace.IntersectionObserver;
|
|
56
|
+
export import OnUnhandledRejectionListenerResult = DefaultMiniProgramHostNamespace.OnUnhandledRejectionListenerResult;
|
|
57
|
+
export import OnThemeChangeListenerResult = DefaultMiniProgramHostNamespace.OnThemeChangeListenerResult;
|
|
58
|
+
export import OnMemoryWarningListenerResult = DefaultMiniProgramHostNamespace.OnMemoryWarningListenerResult;
|
|
59
|
+
export import SwitchTabOption = DefaultMiniProgramHostNamespace.SwitchTabOption;
|
|
60
|
+
export import ReLaunchOption = DefaultMiniProgramHostNamespace.ReLaunchOption;
|
|
61
|
+
export import RedirectToOption = DefaultMiniProgramHostNamespace.RedirectToOption;
|
|
62
|
+
export import NavigateToOption = DefaultMiniProgramHostNamespace.NavigateToOption;
|
|
63
|
+
}
|
|
53
64
|
type MiniProgramPlatformHostSourceName = 'default' | 'wechat' | 'alipay' | 'douyin';
|
|
54
65
|
type MiniProgramRuntimeHostSourceName = 'wx' | 'my' | 'tt';
|
|
55
66
|
type MiniProgramHostSourceName = MiniProgramPlatformHostSourceName | MiniProgramRuntimeHostSourceName;
|
|
@@ -68,21 +79,10 @@ interface DefaultMiniProgramHostSourceContract {
|
|
|
68
79
|
RedirectToOption: DefaultMiniProgramHostNamespace.RedirectToOption;
|
|
69
80
|
NavigateToOption: DefaultMiniProgramHostNamespace.NavigateToOption;
|
|
70
81
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
SelectorQuery: WechatMiniProgramHostNamespace.SelectorQuery;
|
|
76
|
-
CreateIntersectionObserverOption: WechatMiniProgramHostNamespace.CreateIntersectionObserverOption;
|
|
77
|
-
IntersectionObserver: WechatMiniProgramHostNamespace.IntersectionObserver;
|
|
78
|
-
OnUnhandledRejectionListenerResult: WechatMiniProgramHostNamespace.OnUnhandledRejectionListenerResult;
|
|
79
|
-
OnThemeChangeListenerResult: WechatMiniProgramHostNamespace.OnThemeChangeListenerResult;
|
|
80
|
-
OnMemoryWarningListenerResult: WechatMiniProgramHostNamespace.OnMemoryWarningListenerResult;
|
|
81
|
-
SwitchTabOption: WechatMiniProgramHostNamespace.SwitchTabOption;
|
|
82
|
-
ReLaunchOption: WechatMiniProgramHostNamespace.ReLaunchOption;
|
|
83
|
-
RedirectToOption: WechatMiniProgramHostNamespace.RedirectToOption;
|
|
84
|
-
NavigateToOption: WechatMiniProgramHostNamespace.NavigateToOption;
|
|
85
|
-
}
|
|
82
|
+
/**
|
|
83
|
+
* @description 微信平台命名兼容契约;当前默认宿主语义仍复用微信底座,但上层主链路应优先依赖 default。
|
|
84
|
+
*/
|
|
85
|
+
interface WechatMiniProgramHostSourceContract extends DefaultMiniProgramHostSourceContract {}
|
|
86
86
|
/**
|
|
87
87
|
* @description 支付宝宿主类型契约占位;后续接入稳定 typings 时在此扩展。
|
|
88
88
|
*/
|
|
@@ -102,7 +102,7 @@ interface MiniProgramPlatformHostSourceRegistry {
|
|
|
102
102
|
douyin: DouyinMiniProgramHostSourceContract;
|
|
103
103
|
}
|
|
104
104
|
interface MiniProgramRuntimeHostSourceRegistry {
|
|
105
|
-
wx:
|
|
105
|
+
wx: DefaultMiniProgramHostSourceContract;
|
|
106
106
|
my: AlipayMiniProgramHostSourceContract;
|
|
107
107
|
tt: TtMiniProgramHostSourceContract;
|
|
108
108
|
}
|
|
@@ -112,25 +112,6 @@ type MiniProgramRuntimeHostNamespaceBySource<TSourceName extends MiniProgramRunt
|
|
|
112
112
|
type MiniProgramHostNamespaceBySource<TSourceName extends MiniProgramHostSourceName = MiniProgramHostSourceName> = MiniProgramHostSourceRegistry[TSourceName];
|
|
113
113
|
//#endregion
|
|
114
114
|
//#region src/runtime/types/miniprogramHost.d.ts
|
|
115
|
-
declare namespace MiniProgramHostNamespace {
|
|
116
|
-
export import App = DefaultMiniProgramHostNamespace.App;
|
|
117
|
-
export import Behavior = DefaultMiniProgramHostNamespace.Behavior;
|
|
118
|
-
export import Component = DefaultMiniProgramHostNamespace.Component;
|
|
119
|
-
export import Page = DefaultMiniProgramHostNamespace.Page;
|
|
120
|
-
export import BoundingClientRectCallbackResult = DefaultMiniProgramHostNamespace.BoundingClientRectCallbackResult;
|
|
121
|
-
export import ScrollOffsetCallbackResult = DefaultMiniProgramHostNamespace.ScrollOffsetCallbackResult;
|
|
122
|
-
export import NodesRef = DefaultMiniProgramHostNamespace.NodesRef;
|
|
123
|
-
export import SelectorQuery = DefaultMiniProgramHostNamespace.SelectorQuery;
|
|
124
|
-
export import CreateIntersectionObserverOption = DefaultMiniProgramHostNamespace.CreateIntersectionObserverOption;
|
|
125
|
-
export import IntersectionObserver = DefaultMiniProgramHostNamespace.IntersectionObserver;
|
|
126
|
-
export import OnUnhandledRejectionListenerResult = DefaultMiniProgramHostNamespace.OnUnhandledRejectionListenerResult;
|
|
127
|
-
export import OnThemeChangeListenerResult = DefaultMiniProgramHostNamespace.OnThemeChangeListenerResult;
|
|
128
|
-
export import OnMemoryWarningListenerResult = DefaultMiniProgramHostNamespace.OnMemoryWarningListenerResult;
|
|
129
|
-
export import SwitchTabOption = DefaultMiniProgramHostNamespace.SwitchTabOption;
|
|
130
|
-
export import ReLaunchOption = DefaultMiniProgramHostNamespace.ReLaunchOption;
|
|
131
|
-
export import RedirectToOption = DefaultMiniProgramHostNamespace.RedirectToOption;
|
|
132
|
-
export import NavigateToOption = DefaultMiniProgramHostNamespace.NavigateToOption;
|
|
133
|
-
}
|
|
134
115
|
type HostMiniProgramComponentBehaviorOptions = MiniProgramHostNamespace.Component.ComponentOptions;
|
|
135
116
|
type HostMiniProgramComponentTrivialOption = MiniProgramHostNamespace.Component.TrivialOption;
|
|
136
117
|
type HostMiniProgramBehaviorIdentifier = MiniProgramHostNamespace.Behavior.Identifier;
|
|
@@ -876,4 +857,4 @@ type ShallowUnwrapRef$1<T> = ShallowUnwrapRef<T>;
|
|
|
876
857
|
type VNode$1<HostNode = any, HostElement = any, ExtraProps = Record<string, any>> = VNode<HostNode, HostElement, ExtraProps>;
|
|
877
858
|
type VNodeProps$1 = VNodeProps;
|
|
878
859
|
//#endregion
|
|
879
|
-
export { shallowRef as $, HostMiniProgramNodesRefFields as $n, RouterNavigateToOption as $t, watchPostEffect as A, MiniProgramPageLifetimes as An,
|
|
860
|
+
export { shallowRef as $, HostMiniProgramNodesRefFields as $n, RouterNavigateToOption as $t, watchPostEffect as A, MiniProgramPageLifetimes as An, MiniProgramRuntimeHostNamespaceBySource as Ar, nextTick as At, WatchOptions as B, HostMiniProgramComponentInstance as Bn, MaybeRef as Bt, ExtractMethods as C, MiniProgramAppOptions as Cn, MiniProgramHostNamespace as Cr, effect as Ct, ModelBindingPayload as D, MiniProgramComponentPropertyValue as Dn, MiniProgramPlatformHostNamespaceBySource as Dr, onScopeDispose as Dt, ModelBindingOptions as E, MiniProgramComponentOptions as En, MiniProgramHostSourceRegistry as Er, getCurrentScope as Et, OnCleanup as F, HostMiniProgramBoundingClientRectResult as Fn, WechatMiniProgramHostNamespace as Fr, WritableComputedRef as Ft, WatchStopHandle as G, HostMiniProgramComponentTrivialInstance as Gn, isRef as Gt, WatchSource as H, HostMiniProgramComponentPropertyOption as Hn, Ref$2 as Ht, WatchCallback as I, HostMiniProgramComponentAllFullProperty as In, WechatMiniProgramHostSourceContract as Ir, computed as It, traverse as J, HostMiniProgramIntersectionObserverOptions as Jn, unref as Jt, getDeepWatchStrategy as K, HostMiniProgramComponentTrivialOption as Kn, ref as Kt, WatchEffect as L, HostMiniProgramComponentAllProperty as Ln, CustomRefFactory as Lt, MapSources as M, HostMiniProgramAppOptions as Mn, MiniProgramRuntimeHostSourceRegistry as Mr, ComputedRef as Mt, MaybeUndefined as N, HostMiniProgramAppTrivialInstance as Nn, TtMiniProgramHostNamespace as Nr, ComputedSetter as Nt, watch as O, MiniProgramComponentRawOptions as On, MiniProgramPlatformHostSourceName as Or, startBatch as Ot, MultiWatchSources as P, HostMiniProgramBehaviorIdentifier as Pn, TtMiniProgramHostSourceContract as Pr, WritableComputedOptions as Pt, isShallowRef as Q, HostMiniProgramNodesRef as Qn, MiniProgramRouterSwitchTabOption as Qt, WatchEffectOptions as R, HostMiniProgramComponentBehaviorOptions as Rn, CustomRefOptions as Rt, ExtractComputed as S, MiniProgramAdapter as Sn, DouyinMiniProgramHostSourceContract as Sr, batch as St, ModelBinding as T, MiniProgramComponentInstance as Tn, MiniProgramHostSourceName as Tr, endBatch as Tt, WatchSourceValue as U, HostMiniProgramComponentPropertyValue as Un, ShallowRef$2 as Ut, WatchScheduler as V, HostMiniProgramComponentMethodOption as Vn, MaybeRefOrGetter as Vt, WatchSources as W, HostMiniProgramComponentShortProperty as Wn, customRef as Wt, toRef as X, HostMiniProgramMemoryWarningResult as Xn, MiniProgramRouterReLaunchOption as Xt, ToRefs as Y, HostMiniProgramLaunchOptions as Yn, MiniProgramRouterNavigateToOption as Yt, toRefs as Z, HostMiniProgramNavigateToOption as Zn, MiniProgramRouterRedirectToOption as Zt, RuntimeApp as _, NativeTypeHint as _n, AlipayMiniProgramHostNamespace as _r, MutationOp as _t, NativeComponent as a, TypedRouterUrl as an, HostMiniProgramReLaunchOption as ar, getReactiveVersion as at, ComponentPublicInstance as b, PropOptions as bn, DefaultMiniProgramHostSourceContract as br, removeMutationRecorder as bt, ShallowUnwrapRef$1 as c, ExtractDefaultPropTypes as cn, HostMiniProgramSaveExitState as cr, markRaw as ct, SetupContext as d, InferNativePropType as dn, HostMiniProgramShareAppMessageOption as dr, isShallowReactive as dt, RouterReLaunchOption as en, HostMiniProgramPageLifetime as er, triggerRef as et, SetupContextNativeInstance as f, InferNativeProps as fn, HostMiniProgramSwitchTabOption as fr, shallowReactive as ft, InternalRuntimeStateFields as g, NativePropsOptions as gn, HostMiniProgramUnhandledRejectionResult as gr, MutationKind as gt, InternalRuntimeState as h, NativePropType as hn, HostMiniProgramTriggerEventOptions as hr, touchReactive as ht, DefineComponent$1 as i, TypedRouterTabBarUrl as in, HostMiniProgramPageTrivialInstance as ir, shallowReadonly as it, watchSyncEffect as j, HostMiniProgramAddToFavoritesOption as jn, MiniProgramRuntimeHostSourceName as jr, ComputedGetter as jt, watchEffect as k, MiniProgramInstance as kn, MiniProgramPlatformHostSourceRegistry as kr, stop as kt, VNode$1 as l, ExtractPropTypes as ln, HostMiniProgramScrollOffsetResult as lr, reactive as lt, AppConfig as m, InferProps as mn, HostMiniProgramThemeChangeResult as mr, prelinkReactiveTree as mt, ComponentCustomProps$1 as n, RouterSwitchTabOption as nn, HostMiniProgramPageResizeOption as nr, isReadonly as nt, ObjectDirective$1 as o, WevuTypedRouterRouteMap as on, HostMiniProgramRedirectToOption as or, isRaw as ot, SetupFunction as p, InferPropType as pn, HostMiniProgramTabItemTapOption as pr, PrelinkReactiveTreeOptions as pt, setDeepWatchStrategy as q, HostMiniProgramIntersectionObserver as qn, toValue as qt, ComponentOptionsMixin$1 as r, SetupContextRouter as rn, HostMiniProgramPageScrollOption as rr, readonly as rt, PublicProps$1 as s, ComponentPropsOptions as sn, HostMiniProgramRouter as sr, isReactive as st, AllowedComponentProps$1 as t, RouterRedirectToOption as tn, HostMiniProgramPageNotFoundOptions as tr, isProxy as tt, VNodeProps$1 as u, ExtractPublicPropTypes as un, HostMiniProgramSelectorQuery as ur, toRaw as ut, RuntimeInstance as v, NativeTypedProperty as vn, AlipayMiniProgramHostSourceContract as vr, MutationRecord as vt, MethodDefinitions as w, MiniProgramBehaviorIdentifier as wn, MiniProgramHostNamespaceBySource as wr, effectScope as wt, ComputedDefinitions as x, PropType as xn, DouyinMiniProgramHostNamespace as xr, EffectScope as xt, WevuPlugin as y, PropConstructor as yn, DefaultMiniProgramHostNamespace as yr, addMutationRecorder as yt, WatchMultiSources as z, HostMiniProgramComponentEmptyArray as zn, CustomRefSource as zt };
|