@yiin/reactive-proxy-state 1.0.43 → 1.0.44
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/index.cjs +41 -39
- package/dist/index.js +41 -39
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
19
19
|
}
|
|
20
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(mod))
|
|
24
|
+
if (!__hasOwnProp.call(to, key))
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: __accessProp.bind(mod, key),
|
|
27
|
+
enumerable: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
if (canCache)
|
|
29
31
|
cache.set(mod, to);
|
|
30
32
|
return to;
|
|
@@ -62,7 +64,7 @@ var __export = (target, all) => {
|
|
|
62
64
|
};
|
|
63
65
|
|
|
64
66
|
// node_modules/@vue/shared/dist/shared.cjs.js
|
|
65
|
-
var require_shared_cjs = __commonJS((exports2)
|
|
67
|
+
var require_shared_cjs = __commonJS(function(exports2) {
|
|
66
68
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
67
69
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
68
70
|
function makeMap(str) {
|
|
@@ -608,7 +610,7 @@ var require_shared_cjs = __commonJS((exports2) => {
|
|
|
608
610
|
});
|
|
609
611
|
|
|
610
612
|
// node_modules/@vue/reactivity/dist/reactivity.cjs.js
|
|
611
|
-
var require_reactivity_cjs = __commonJS((exports2)
|
|
613
|
+
var require_reactivity_cjs = __commonJS(function(exports2) {
|
|
612
614
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
613
615
|
var shared = require_shared_cjs();
|
|
614
616
|
function warn(msg, ...args) {
|
|
@@ -2348,37 +2350,37 @@ var require_reactivity_cjs = __commonJS((exports2) => {
|
|
|
2348
2350
|
// src/index.ts
|
|
2349
2351
|
var exports_src = {};
|
|
2350
2352
|
__export(exports_src, {
|
|
2351
|
-
|
|
2352
|
-
watch: () => watch,
|
|
2353
|
-
updateState: () => updateState,
|
|
2354
|
-
unref: () => unref,
|
|
2355
|
-
triggerRef: () => triggerRef,
|
|
2356
|
-
trigger: () => trigger,
|
|
2357
|
-
trackVueReactiveEvents: () => trackVueReactiveEvents,
|
|
2358
|
-
track: () => track,
|
|
2359
|
-
toRefs: () => toRefs,
|
|
2360
|
-
toRef: () => toRef,
|
|
2361
|
-
toRaw: () => toRaw,
|
|
2362
|
-
setActiveEffect: () => setActiveEffect,
|
|
2363
|
-
runCleanupFunctions: () => runCleanupFunctions,
|
|
2364
|
-
resetProxyStats: () => resetProxyStats,
|
|
2365
|
-
ref: () => ref,
|
|
2366
|
-
reactive: () => reactive,
|
|
2367
|
-
markRaw: () => markRaw,
|
|
2368
|
-
isRefSymbol: () => isRefSymbol,
|
|
2369
|
-
isRef: () => isRef,
|
|
2370
|
-
isReactive: () => isReactive,
|
|
2371
|
-
isComputed: () => isComputed,
|
|
2372
|
-
getProxyStats: () => getProxyStats,
|
|
2373
|
-
deepToRaw: () => deepToRaw,
|
|
2374
|
-
deepEqual: () => deepEqual,
|
|
2375
|
-
deepClone: () => deepClone,
|
|
2376
|
-
createRendererBridgeEmitter: () => createRendererBridgeEmitter,
|
|
2377
|
-
createMainBridgeEmitter: () => createMainBridgeEmitter,
|
|
2378
|
-
createBridgeEmitter: () => createBridgeEmitter,
|
|
2379
|
-
computed: () => computed,
|
|
2353
|
+
activeEffect: () => activeEffect,
|
|
2380
2354
|
cleanupEffect: () => cleanupEffect,
|
|
2381
|
-
|
|
2355
|
+
computed: () => computed,
|
|
2356
|
+
createBridgeEmitter: () => createBridgeEmitter,
|
|
2357
|
+
createMainBridgeEmitter: () => createMainBridgeEmitter,
|
|
2358
|
+
createRendererBridgeEmitter: () => createRendererBridgeEmitter,
|
|
2359
|
+
deepClone: () => deepClone,
|
|
2360
|
+
deepEqual: () => deepEqual,
|
|
2361
|
+
deepToRaw: () => deepToRaw,
|
|
2362
|
+
getProxyStats: () => getProxyStats,
|
|
2363
|
+
isComputed: () => isComputed,
|
|
2364
|
+
isReactive: () => isReactive,
|
|
2365
|
+
isRef: () => isRef,
|
|
2366
|
+
isRefSymbol: () => isRefSymbol,
|
|
2367
|
+
markRaw: () => markRaw,
|
|
2368
|
+
reactive: () => reactive,
|
|
2369
|
+
ref: () => ref,
|
|
2370
|
+
resetProxyStats: () => resetProxyStats,
|
|
2371
|
+
runCleanupFunctions: () => runCleanupFunctions,
|
|
2372
|
+
setActiveEffect: () => setActiveEffect,
|
|
2373
|
+
toRaw: () => toRaw,
|
|
2374
|
+
toRef: () => toRef,
|
|
2375
|
+
toRefs: () => toRefs,
|
|
2376
|
+
track: () => track,
|
|
2377
|
+
trackVueReactiveEvents: () => trackVueReactiveEvents,
|
|
2378
|
+
trigger: () => trigger,
|
|
2379
|
+
triggerRef: () => triggerRef,
|
|
2380
|
+
unref: () => unref,
|
|
2381
|
+
updateState: () => updateState,
|
|
2382
|
+
watch: () => watch,
|
|
2383
|
+
watchEffect: () => watchEffect
|
|
2382
2384
|
});
|
|
2383
2385
|
module.exports = __toCommonJS(exports_src);
|
|
2384
2386
|
|
|
@@ -2500,7 +2502,7 @@ function cleanupPathConcatCache() {
|
|
|
2500
2502
|
}
|
|
2501
2503
|
}
|
|
2502
2504
|
}
|
|
2503
|
-
function deepEqual(a, b, seen =
|
|
2505
|
+
function deepEqual(a, b, seen = new WeakMap) {
|
|
2504
2506
|
if (a === b)
|
|
2505
2507
|
return true;
|
|
2506
2508
|
if (a == null || b == null)
|
package/dist/index.js
CHANGED
|
@@ -18,12 +18,14 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
18
18
|
}
|
|
19
19
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
20
20
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
22
|
+
for (let key of __getOwnPropNames(mod))
|
|
23
|
+
if (!__hasOwnProp.call(to, key))
|
|
24
|
+
__defProp(to, key, {
|
|
25
|
+
get: __accessProp.bind(mod, key),
|
|
26
|
+
enumerable: true
|
|
27
|
+
});
|
|
28
|
+
}
|
|
27
29
|
if (canCache)
|
|
28
30
|
cache.set(mod, to);
|
|
29
31
|
return to;
|
|
@@ -31,7 +33,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
31
33
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
32
34
|
|
|
33
35
|
// node_modules/@vue/shared/dist/shared.cjs.js
|
|
34
|
-
var require_shared_cjs = __commonJS((exports)
|
|
36
|
+
var require_shared_cjs = __commonJS(function(exports) {
|
|
35
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
38
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
37
39
|
function makeMap(str) {
|
|
@@ -577,7 +579,7 @@ var require_shared_cjs = __commonJS((exports) => {
|
|
|
577
579
|
});
|
|
578
580
|
|
|
579
581
|
// node_modules/@vue/reactivity/dist/reactivity.cjs.js
|
|
580
|
-
var require_reactivity_cjs = __commonJS((exports)
|
|
582
|
+
var require_reactivity_cjs = __commonJS(function(exports) {
|
|
581
583
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
582
584
|
var shared = require_shared_cjs();
|
|
583
585
|
function warn(msg, ...args) {
|
|
@@ -2431,7 +2433,7 @@ function cleanupPathConcatCache() {
|
|
|
2431
2433
|
}
|
|
2432
2434
|
}
|
|
2433
2435
|
}
|
|
2434
|
-
function deepEqual(a, b, seen =
|
|
2436
|
+
function deepEqual(a, b, seen = new WeakMap) {
|
|
2435
2437
|
if (a === b)
|
|
2436
2438
|
return true;
|
|
2437
2439
|
if (a == null || b == null)
|
|
@@ -4550,35 +4552,35 @@ function deepToRaw(input, seen = new WeakMap) {
|
|
|
4550
4552
|
return source;
|
|
4551
4553
|
}
|
|
4552
4554
|
export {
|
|
4553
|
-
|
|
4554
|
-
watch,
|
|
4555
|
-
updateState,
|
|
4556
|
-
unref,
|
|
4557
|
-
triggerRef,
|
|
4558
|
-
trigger,
|
|
4559
|
-
trackVueReactiveEvents,
|
|
4560
|
-
track,
|
|
4561
|
-
toRefs,
|
|
4562
|
-
toRef,
|
|
4563
|
-
toRaw,
|
|
4564
|
-
setActiveEffect,
|
|
4565
|
-
runCleanupFunctions,
|
|
4566
|
-
resetProxyStats,
|
|
4567
|
-
ref,
|
|
4568
|
-
reactive,
|
|
4569
|
-
markRaw,
|
|
4570
|
-
isRefSymbol,
|
|
4571
|
-
isRef,
|
|
4572
|
-
isReactive,
|
|
4573
|
-
isComputed,
|
|
4574
|
-
getProxyStats,
|
|
4575
|
-
deepToRaw,
|
|
4576
|
-
deepEqual,
|
|
4577
|
-
deepClone,
|
|
4578
|
-
createRendererBridgeEmitter,
|
|
4579
|
-
createMainBridgeEmitter,
|
|
4580
|
-
createBridgeEmitter,
|
|
4581
|
-
computed,
|
|
4555
|
+
activeEffect,
|
|
4582
4556
|
cleanupEffect,
|
|
4583
|
-
|
|
4557
|
+
computed,
|
|
4558
|
+
createBridgeEmitter,
|
|
4559
|
+
createMainBridgeEmitter,
|
|
4560
|
+
createRendererBridgeEmitter,
|
|
4561
|
+
deepClone,
|
|
4562
|
+
deepEqual,
|
|
4563
|
+
deepToRaw,
|
|
4564
|
+
getProxyStats,
|
|
4565
|
+
isComputed,
|
|
4566
|
+
isReactive,
|
|
4567
|
+
isRef,
|
|
4568
|
+
isRefSymbol,
|
|
4569
|
+
markRaw,
|
|
4570
|
+
reactive,
|
|
4571
|
+
ref,
|
|
4572
|
+
resetProxyStats,
|
|
4573
|
+
runCleanupFunctions,
|
|
4574
|
+
setActiveEffect,
|
|
4575
|
+
toRaw,
|
|
4576
|
+
toRef,
|
|
4577
|
+
toRefs,
|
|
4578
|
+
track,
|
|
4579
|
+
trackVueReactiveEvents,
|
|
4580
|
+
trigger,
|
|
4581
|
+
triggerRef,
|
|
4582
|
+
unref,
|
|
4583
|
+
updateState,
|
|
4584
|
+
watch,
|
|
4585
|
+
watchEffect
|
|
4584
4586
|
};
|