@graphrefly/graphrefly 0.27.0 → 0.28.0
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/backoff-HPZMEZNF.js +1 -0
- package/dist/cascading-B-5zmAUv.d.cts +180 -0
- package/dist/cascading-D9WG1-9L.d.ts +180 -0
- package/dist/chunk-2FOAM3OR.js +1 -0
- package/dist/chunk-2PMCKKRK.js +1 -0
- package/dist/chunk-3JXNEPCD.js +2 -0
- package/dist/chunk-3R5HFPX7.js +78 -0
- package/dist/chunk-4GKB4OUJ.js +1 -0
- package/dist/chunk-4VVTGLXJ.js +1 -0
- package/dist/chunk-5QDBSZBV.js +1 -0
- package/dist/chunk-6QZNQS5B.js +1 -0
- package/dist/chunk-6V3SEX2I.js +1 -0
- package/dist/chunk-76A3HVQE.js +9 -0
- package/dist/chunk-7H6LGFUG.js +64 -0
- package/dist/chunk-CK2E7BTU.js +1 -0
- package/dist/chunk-CKCSDI7T.js +6 -0
- package/dist/chunk-CRXTH3SH.js +1 -0
- package/dist/chunk-CWLN3X3N.js +1 -0
- package/dist/chunk-D7A7DBE4.js +1 -0
- package/dist/chunk-DBGGMN3D.js +1 -0
- package/dist/chunk-DQA3UIQ2.js +1 -0
- package/dist/chunk-ERLIRFPA.js +1 -0
- package/dist/chunk-ESMPEKEV.js +1 -0
- package/dist/chunk-ETWTCCJI.js +1 -0
- package/dist/chunk-FNYWM6JC.js +1 -0
- package/dist/chunk-GHJJR5P4.js +1 -0
- package/dist/chunk-GPW2V3RE.js +1 -0
- package/dist/chunk-I6VIH3VA.js +1 -0
- package/dist/chunk-K2GNMCQT.js +1 -0
- package/dist/chunk-LBTDSCCO.js +3 -0
- package/dist/chunk-LQ3Y5NJS.js +1 -0
- package/dist/chunk-MIQTDPY4.js +5 -0
- package/dist/chunk-MTTAAPCK.js +1 -0
- package/dist/chunk-OAWLCNJJ.js +1 -0
- package/dist/chunk-OBKQQA5I.js +1 -0
- package/dist/chunk-OYHGKYQM.js +1 -0
- package/dist/chunk-PIOGHC63.js +1 -0
- package/dist/chunk-QWAPKG3O.js +2 -0
- package/dist/chunk-QYADASLV.js +1 -0
- package/dist/chunk-RHESUC3V.js +43 -0
- package/dist/chunk-S35VARIR.js +1 -0
- package/dist/chunk-SC3U7ETD.js +1 -0
- package/dist/chunk-U3AICJKU.js +1 -0
- package/dist/chunk-UMBIDLJ4.js +1 -0
- package/dist/chunk-UPHHLMHE.js +1 -0
- package/dist/chunk-UPXUCFMX.js +1 -0
- package/dist/chunk-UWJE5FQA.js +18 -0
- package/dist/chunk-V6YQICXZ.js +1 -0
- package/dist/chunk-VIMF6LGM.js +1 -0
- package/dist/chunk-VJLMUKOI.js +1 -0
- package/dist/chunk-VPYBOXVT.js +1 -0
- package/dist/chunk-VTPVOGHH.js +1 -0
- package/dist/chunk-WQ2BN6X6.js +1 -0
- package/dist/chunk-XAUNPIMX.js +1 -0
- package/dist/chunk-Y2EMPB3I.js +1 -0
- package/dist/chunk-Z4HDAS2Q.js +1 -0
- package/dist/chunk-ZB5EHBIO.js +1 -0
- package/dist/chunk-ZV2DXV5A.js +23 -0
- package/dist/compat/index.cjs +14 -7656
- package/dist/compat/index.d.cts +15 -14
- package/dist/compat/index.d.ts +15 -14
- package/dist/compat/index.js +1 -50
- package/dist/compat/jotai/index.cjs +1 -2048
- package/dist/compat/jotai/index.d.cts +2 -2
- package/dist/compat/jotai/index.d.ts +2 -2
- package/dist/compat/jotai/index.js +1 -9
- package/dist/compat/nanostores/index.cjs +1 -2175
- package/dist/compat/nanostores/index.d.cts +2 -2
- package/dist/compat/nanostores/index.d.ts +2 -2
- package/dist/compat/nanostores/index.js +1 -23
- package/dist/compat/nestjs/index.cjs +14 -6782
- package/dist/compat/nestjs/index.d.cts +7 -6
- package/dist/compat/nestjs/index.d.ts +7 -6
- package/dist/compat/nestjs/index.js +1 -83
- package/dist/compat/react/index.cjs +1 -141
- package/dist/compat/react/index.d.cts +2 -2
- package/dist/compat/react/index.d.ts +2 -2
- package/dist/compat/react/index.js +1 -12
- package/dist/compat/solid/index.cjs +1 -128
- package/dist/compat/solid/index.d.cts +2 -2
- package/dist/compat/solid/index.d.ts +2 -2
- package/dist/compat/solid/index.js +1 -12
- package/dist/compat/svelte/index.cjs +1 -131
- package/dist/compat/svelte/index.d.cts +2 -2
- package/dist/compat/svelte/index.d.ts +2 -2
- package/dist/compat/svelte/index.js +1 -12
- package/dist/compat/vue/index.cjs +1 -146
- package/dist/compat/vue/index.d.cts +2 -2
- package/dist/compat/vue/index.d.ts +2 -2
- package/dist/compat/vue/index.js +1 -12
- package/dist/compat/zustand/index.cjs +6 -4931
- package/dist/compat/zustand/index.d.cts +5 -5
- package/dist/compat/zustand/index.d.ts +5 -5
- package/dist/compat/zustand/index.js +1 -12
- package/dist/composite-B-xqw4Kk.d.cts +69 -0
- package/dist/composite-BhbKHbOS.d.ts +69 -0
- package/dist/core/index.cjs +1 -2271
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +1 -110
- package/dist/extra/browser.cjs +1 -0
- package/dist/extra/browser.d.cts +3 -0
- package/dist/extra/browser.d.ts +3 -0
- package/dist/extra/browser.js +1 -0
- package/dist/extra/index.cjs +23 -9971
- package/dist/extra/index.d.cts +13 -6
- package/dist/extra/index.d.ts +13 -6
- package/dist/extra/index.js +1 -381
- package/dist/extra/node.cjs +3 -0
- package/dist/extra/node.d.cts +81 -0
- package/dist/extra/node.d.ts +81 -0
- package/dist/extra/node.js +2 -0
- package/dist/extra/operators.cjs +1 -0
- package/dist/extra/operators.d.cts +910 -0
- package/dist/extra/operators.d.ts +910 -0
- package/dist/extra/operators.js +1 -0
- package/dist/extra/reactive.cjs +1 -0
- package/dist/extra/reactive.d.cts +352 -0
- package/dist/extra/reactive.d.ts +352 -0
- package/dist/extra/reactive.js +1 -0
- package/dist/extra/sources.cjs +1 -2486
- package/dist/extra/sources.d.cts +6 -2
- package/dist/extra/sources.d.ts +6 -2
- package/dist/extra/sources.js +1 -57
- package/dist/extra/storage-browser.cjs +1 -0
- package/dist/extra/storage-browser.d.cts +71 -0
- package/dist/extra/storage-browser.d.ts +71 -0
- package/dist/extra/storage-browser.js +1 -0
- package/dist/extra/storage-core.cjs +1 -0
- package/dist/extra/storage-core.d.cts +98 -0
- package/dist/extra/storage-core.d.ts +98 -0
- package/dist/extra/storage-core.js +1 -0
- package/dist/extra/storage-node.cjs +2 -0
- package/dist/extra/storage-node.d.cts +60 -0
- package/dist/extra/storage-node.d.ts +60 -0
- package/dist/extra/storage-node.js +1 -0
- package/dist/fallback-BaTS7vVY.d.cts +258 -0
- package/dist/fallback-eOm3LNxP.d.ts +258 -0
- package/dist/graph/index.cjs +6 -5030
- package/dist/graph/index.d.cts +6 -5
- package/dist/graph/index.d.ts +6 -5
- package/dist/graph/index.js +1 -50
- package/dist/{graph-CCwGKLCm.d.ts → graph-BZGRXwOm.d.ts} +134 -31
- package/dist/{graph-DNCrvZSn.d.cts → graph-D48Qw9Cg.d.cts} +134 -31
- package/dist/index-8FSVk4Uf.d.ts +135 -0
- package/dist/index-9oDeHH2u.d.cts +291 -0
- package/dist/{messaging-XDoYablx.d.ts → index-B0c4cmIO.d.ts} +31 -93
- package/dist/{index-VdHQMPy1.d.ts → index-B1AmmSlb.d.ts} +1 -1
- package/dist/{index-VHqptjhu.d.cts → index-B2pwesl9.d.cts} +1 -1
- package/dist/index-BHvIquRZ.d.ts +1957 -0
- package/dist/{index-Dzk2hrlR.d.ts → index-BVHOrDwO.d.ts} +1 -1
- package/dist/{index-CxFrXH4m.d.ts → index-BWJV63ti.d.ts} +1 -1
- package/dist/{index-Xi3u0HCQ.d.cts → index-B_agccPe.d.cts} +1 -1
- package/dist/index-BgyGlizc.d.ts +163 -0
- package/dist/index-BpA5c4G9.d.ts +357 -0
- package/dist/index-BpIFjILY.d.cts +357 -0
- package/dist/{index-3lsddbbS.d.ts → index-Bqachn9_.d.ts} +1 -1
- package/dist/index-Btib9rsU.d.ts +607 -0
- package/dist/{index-wEn0eFe8.d.ts → index-BwM9BEkt.d.ts} +1 -1
- package/dist/index-BxJ86YZZ.d.cts +105 -0
- package/dist/{audit-DRlSzBu9.d.ts → index-C73n7lo-.d.cts} +27 -21
- package/dist/index-CEXXwWVH.d.cts +192 -0
- package/dist/index-CHEswufn.d.cts +163 -0
- package/dist/{index-C0svESO4.d.ts → index-CMn8S8Hw.d.ts} +1 -1
- package/dist/{index-ByQxazQJ.d.cts → index-CRO83MmV.d.cts} +1 -1
- package/dist/{index-BuEoe-Qu.d.ts → index-CloUk1kY.d.ts} +9 -9
- package/dist/index-CpgYhnrG.d.ts +291 -0
- package/dist/{index-DO_6JN9Z.d.cts → index-Cyojz0AE.d.cts} +1 -1
- package/dist/{demo-shell-BDkOptd6.d.ts → index-CzobVSMr.d.ts} +14 -14
- package/dist/index-Czq6ynh8.d.ts +143 -0
- package/dist/{index-BaSM3aYt.d.ts → index-D-YB-Vl3.d.ts} +3 -3
- package/dist/index-DAlweici.d.ts +231 -0
- package/dist/index-DEwTb_fm.d.cts +1957 -0
- package/dist/{index-DYme44FM.d.cts → index-DL-rYJrx.d.cts} +1 -1
- package/dist/{memory-li6FL5RM.d.ts → index-DP4ZTkdw.d.ts} +26 -26
- package/dist/{index-BwfLUNw4.d.ts → index-DUqMOlKZ.d.cts} +173 -2040
- package/dist/{index-B1tloyhO.d.cts → index-D_NwnRYS.d.cts} +1 -1
- package/dist/index-DaLJvH8Z.d.ts +105 -0
- package/dist/index-DcXZBF5a.d.cts +135 -0
- package/dist/index-DfyOkTvs.d.ts +321 -0
- package/dist/{index-B9B7_HEY.d.ts → index-DiOXyAwt.d.ts} +1 -1
- package/dist/index-DpHe5e0Q.d.ts +186 -0
- package/dist/index-DraikLjn.d.ts +86 -0
- package/dist/{index-D8wS_PeY.d.cts → index-DxsnAMWD.d.cts} +9 -9
- package/dist/{messaging-Gt4LPbyA.d.cts → index-DyxjtScX.d.cts} +31 -93
- package/dist/{audit-ClmqGOCx.d.cts → index-HDpJe9hX.d.ts} +27 -21
- package/dist/{index-DVGiGFGT.d.cts → index-O6TgGUBV.d.cts} +3 -3
- package/dist/{index-B6EhDnjH.d.cts → index-Oi8d8w4R.d.cts} +1 -1
- package/dist/{index-C8oil6M6.d.ts → index-ROpQmGjE.d.ts} +30 -6
- package/dist/index-RukJ4DLS.d.cts +607 -0
- package/dist/{index-BHlKbUwO.d.cts → index-ZftwfxJM.d.ts} +173 -2040
- package/dist/{index-BPVt8kqc.d.ts → index-cByzxQIC.d.cts} +10 -195
- package/dist/index-dtN7YA2x.d.cts +143 -0
- package/dist/{index-CI3DprxP.d.cts → index-fM6y00vT.d.cts} +30 -6
- package/dist/{index-DlLp-2Xn.d.cts → index-m-yHof5p.d.ts} +10 -195
- package/dist/index-pXrDMpRO.d.cts +231 -0
- package/dist/index-rHJSKsU8.d.cts +186 -0
- package/dist/index-rX8HBM5h.d.cts +321 -0
- package/dist/{index-CO8uBlUh.d.cts → index-rnwQly8X.d.cts} +147 -20
- package/dist/index-sm373fsH.d.ts +192 -0
- package/dist/{memory-C6Z2tGpC.d.cts → index-tbf2gKHd.d.cts} +26 -26
- package/dist/{demo-shell-Crid1WdR.d.cts → index-u15meRxL.d.cts} +14 -14
- package/dist/{index-B6D3QNSA.d.ts → index-umtoWT8K.d.ts} +147 -20
- package/dist/index-vscRDkjW.d.cts +86 -0
- package/dist/index.cjs +150 -24142
- package/dist/index.d.cts +69 -2099
- package/dist/index.d.ts +69 -2099
- package/dist/index.js +1 -3868
- package/dist/{meta-CbznRPYJ.d.ts → meta-Cgj6zeji.d.cts} +5 -5
- package/dist/{meta-BxCA7rcr.d.cts → meta-CwesDrMD.d.ts} +5 -5
- package/dist/{node-BmerH3kS.d.cts → node-Cc1TniY8.d.cts} +36 -9
- package/dist/{node-BmerH3kS.d.ts → node-Cc1TniY8.d.ts} +36 -9
- package/dist/{observable-BgGUwcqp.d.ts → observable-Ct-gJ9jI.d.ts} +1 -1
- package/dist/{observable-DJt_AxzQ.d.cts → observable-glXQoGj2.d.cts} +1 -1
- package/dist/patterns/ai/browser.cjs +25 -0
- package/dist/patterns/ai/browser.d.cts +127 -0
- package/dist/patterns/ai/browser.d.ts +127 -0
- package/dist/patterns/ai/browser.js +3 -0
- package/dist/patterns/ai/index.cjs +91 -0
- package/dist/patterns/ai/index.d.cts +17 -0
- package/dist/patterns/ai/index.d.ts +17 -0
- package/dist/patterns/ai/index.js +1 -0
- package/dist/patterns/ai/node.cjs +2 -0
- package/dist/patterns/ai/node.d.cts +58 -0
- package/dist/patterns/ai/node.d.ts +58 -0
- package/dist/patterns/ai/node.js +1 -0
- package/dist/patterns/audit/index.cjs +6 -0
- package/dist/patterns/audit/index.d.cts +6 -0
- package/dist/patterns/audit/index.d.ts +6 -0
- package/dist/patterns/audit/index.js +1 -0
- package/dist/patterns/cqrs/index.cjs +6 -0
- package/dist/patterns/cqrs/index.d.cts +5 -0
- package/dist/patterns/cqrs/index.d.ts +5 -0
- package/dist/patterns/cqrs/index.js +1 -0
- package/dist/patterns/demo-shell/index.cjs +7 -0
- package/dist/patterns/demo-shell/index.d.cts +6 -0
- package/dist/patterns/demo-shell/index.d.ts +6 -0
- package/dist/patterns/demo-shell/index.js +1 -0
- package/dist/patterns/domain-templates/index.cjs +6 -0
- package/dist/patterns/domain-templates/index.d.cts +5 -0
- package/dist/patterns/domain-templates/index.d.ts +5 -0
- package/dist/patterns/domain-templates/index.js +1 -0
- package/dist/patterns/graphspec/index.cjs +83 -0
- package/dist/patterns/graphspec/index.d.cts +7 -0
- package/dist/patterns/graphspec/index.d.ts +7 -0
- package/dist/patterns/graphspec/index.js +1 -0
- package/dist/patterns/guarded-execution/index.cjs +6 -0
- package/dist/patterns/guarded-execution/index.d.cts +7 -0
- package/dist/patterns/guarded-execution/index.d.ts +7 -0
- package/dist/patterns/guarded-execution/index.js +1 -0
- package/dist/patterns/harness/index.cjs +48 -0
- package/dist/patterns/harness/index.d.cts +8 -0
- package/dist/patterns/harness/index.d.ts +8 -0
- package/dist/patterns/harness/index.js +1 -0
- package/dist/patterns/job-queue/index.cjs +6 -0
- package/dist/patterns/job-queue/index.d.cts +5 -0
- package/dist/patterns/job-queue/index.d.ts +5 -0
- package/dist/patterns/job-queue/index.js +1 -0
- package/dist/patterns/lens/index.cjs +6 -0
- package/dist/patterns/lens/index.d.cts +7 -0
- package/dist/patterns/lens/index.d.ts +7 -0
- package/dist/patterns/lens/index.js +1 -0
- package/dist/patterns/memory/index.cjs +6 -0
- package/dist/patterns/memory/index.d.cts +5 -0
- package/dist/patterns/memory/index.d.ts +5 -0
- package/dist/patterns/memory/index.js +1 -0
- package/dist/patterns/messaging/index.cjs +6 -0
- package/dist/patterns/messaging/index.d.cts +5 -0
- package/dist/patterns/messaging/index.d.ts +5 -0
- package/dist/patterns/messaging/index.js +1 -0
- package/dist/patterns/orchestration/index.cjs +6 -0
- package/dist/patterns/orchestration/index.d.cts +6 -0
- package/dist/patterns/orchestration/index.d.ts +6 -0
- package/dist/patterns/orchestration/index.js +1 -0
- package/dist/patterns/reactive-layout/index.cjs +7 -6444
- package/dist/patterns/reactive-layout/index.d.cts +6 -6
- package/dist/patterns/reactive-layout/index.d.ts +6 -6
- package/dist/patterns/reactive-layout/index.js +1 -56
- package/dist/patterns/reduction/index.cjs +6 -0
- package/dist/patterns/reduction/index.d.cts +5 -0
- package/dist/patterns/reduction/index.d.ts +5 -0
- package/dist/patterns/reduction/index.js +1 -0
- package/dist/patterns/refine-loop/index.cjs +8 -0
- package/dist/patterns/refine-loop/index.d.cts +7 -0
- package/dist/patterns/refine-loop/index.d.ts +7 -0
- package/dist/patterns/refine-loop/index.js +1 -0
- package/dist/patterns/resilient-pipeline/index.cjs +1 -0
- package/dist/patterns/resilient-pipeline/index.d.cts +7 -0
- package/dist/patterns/resilient-pipeline/index.d.ts +7 -0
- package/dist/patterns/resilient-pipeline/index.js +1 -0
- package/dist/patterns/surface/index.cjs +14 -0
- package/dist/patterns/surface/index.d.cts +8 -0
- package/dist/patterns/surface/index.d.ts +8 -0
- package/dist/patterns/surface/index.js +1 -0
- package/dist/{reactive-layout-MQP--J3F.d.cts → reactive-layout-CpYb5qLP.d.cts} +2 -2
- package/dist/{reactive-layout-u5Ulnqag.d.ts → reactive-layout-D8u4wuUR.d.ts} +2 -2
- package/dist/reactive-log-DPzuUDj5.d.cts +190 -0
- package/dist/reactive-log-YuH9VYN8.d.ts +190 -0
- package/dist/{composite-aUCvjZVR.d.ts → reactive-map-CdbNoSgP.d.ts} +2 -67
- package/dist/{composite-C7PcQvcs.d.cts → reactive-map-DUeRmb9d.d.cts} +2 -67
- package/dist/resilience-Ba5-b4WD.d.cts +493 -0
- package/dist/resilience-CGRzhnD3.d.ts +493 -0
- package/dist/resilience-QAHKANT5.js +1 -0
- package/dist/{sugar-D02n5JjF.d.cts → sugar-BV0htudb.d.cts} +8 -4
- package/dist/{sugar-CCOxXK1e.d.ts → sugar-Dtyrq2_q.d.ts} +8 -4
- package/dist/topology-tree-CYHOwQZ_.d.ts +25 -0
- package/dist/topology-tree-DROUdq5B.d.cts +25 -0
- package/dist/types-O3GzJY2U.d.cts +401 -0
- package/dist/types-u64Ose53.d.ts +401 -0
- package/package.json +252 -22
- package/dist/ai-CaR_912Q.d.cts +0 -1033
- package/dist/ai-WlRltJV7.d.ts +0 -1033
- package/dist/chunk-3ZWCKRHX.js +0 -117
- package/dist/chunk-3ZWCKRHX.js.map +0 -1
- package/dist/chunk-7TAQJHQV.js +0 -103
- package/dist/chunk-7TAQJHQV.js.map +0 -1
- package/dist/chunk-APFNLIRG.js +0 -62
- package/dist/chunk-APFNLIRG.js.map +0 -1
- package/dist/chunk-AT5LKYNL.js +0 -395
- package/dist/chunk-AT5LKYNL.js.map +0 -1
- package/dist/chunk-BQ6RQQFF.js +0 -5087
- package/dist/chunk-BQ6RQQFF.js.map +0 -1
- package/dist/chunk-BVZYTZ5H.js +0 -599
- package/dist/chunk-BVZYTZ5H.js.map +0 -1
- package/dist/chunk-DST5DKZS.js +0 -1371
- package/dist/chunk-DST5DKZS.js.map +0 -1
- package/dist/chunk-GTE6PWRZ.js +0 -866
- package/dist/chunk-GTE6PWRZ.js.map +0 -1
- package/dist/chunk-HXZEYDUR.js +0 -94
- package/dist/chunk-HXZEYDUR.js.map +0 -1
- package/dist/chunk-J22W6HV3.js +0 -107
- package/dist/chunk-J22W6HV3.js.map +0 -1
- package/dist/chunk-J2VBW3DZ.js +0 -302
- package/dist/chunk-J2VBW3DZ.js.map +0 -1
- package/dist/chunk-JSCT3CR4.js +0 -38
- package/dist/chunk-JSCT3CR4.js.map +0 -1
- package/dist/chunk-JWBCY4NC.js +0 -330
- package/dist/chunk-JWBCY4NC.js.map +0 -1
- package/dist/chunk-K2AUJHVP.js +0 -2251
- package/dist/chunk-K2AUJHVP.js.map +0 -1
- package/dist/chunk-MJ2NKQQL.js +0 -119
- package/dist/chunk-MJ2NKQQL.js.map +0 -1
- package/dist/chunk-N6UR7YVY.js +0 -198
- package/dist/chunk-N6UR7YVY.js.map +0 -1
- package/dist/chunk-NC6S43JJ.js +0 -456
- package/dist/chunk-NC6S43JJ.js.map +0 -1
- package/dist/chunk-OFVJBJXR.js +0 -98
- package/dist/chunk-OFVJBJXR.js.map +0 -1
- package/dist/chunk-OHISZPOJ.js +0 -97
- package/dist/chunk-OHISZPOJ.js.map +0 -1
- package/dist/chunk-OU5CQKNW.js +0 -102
- package/dist/chunk-OU5CQKNW.js.map +0 -1
- package/dist/chunk-PF7GRZMW.js +0 -2712
- package/dist/chunk-PF7GRZMW.js.map +0 -1
- package/dist/chunk-PHOUUNK7.js +0 -2291
- package/dist/chunk-PHOUUNK7.js.map +0 -1
- package/dist/chunk-RNHBMHKA.js +0 -1665
- package/dist/chunk-RNHBMHKA.js.map +0 -1
- package/dist/chunk-SX52TAR4.js +0 -110
- package/dist/chunk-SX52TAR4.js.map +0 -1
- package/dist/chunk-VYPWMZ6H.js +0 -98
- package/dist/chunk-VYPWMZ6H.js.map +0 -1
- package/dist/chunk-WBZOVTYK.js +0 -171
- package/dist/chunk-WBZOVTYK.js.map +0 -1
- package/dist/chunk-WKNUIZOY.js +0 -354
- package/dist/chunk-WKNUIZOY.js.map +0 -1
- package/dist/chunk-X3VMZYBT.js +0 -713
- package/dist/chunk-X3VMZYBT.js.map +0 -1
- package/dist/chunk-X5R3GL6H.js +0 -525
- package/dist/chunk-X5R3GL6H.js.map +0 -1
- package/dist/chunk-XGPU467M.js +0 -136
- package/dist/chunk-XGPU467M.js.map +0 -1
- package/dist/compat/index.cjs.map +0 -1
- package/dist/compat/index.js.map +0 -1
- package/dist/compat/jotai/index.cjs.map +0 -1
- package/dist/compat/jotai/index.js.map +0 -1
- package/dist/compat/nanostores/index.cjs.map +0 -1
- package/dist/compat/nanostores/index.js.map +0 -1
- package/dist/compat/nestjs/index.cjs.map +0 -1
- package/dist/compat/nestjs/index.js.map +0 -1
- package/dist/compat/react/index.cjs.map +0 -1
- package/dist/compat/react/index.js.map +0 -1
- package/dist/compat/solid/index.cjs.map +0 -1
- package/dist/compat/solid/index.js.map +0 -1
- package/dist/compat/svelte/index.cjs.map +0 -1
- package/dist/compat/svelte/index.js.map +0 -1
- package/dist/compat/vue/index.cjs.map +0 -1
- package/dist/compat/vue/index.js.map +0 -1
- package/dist/compat/zustand/index.cjs.map +0 -1
- package/dist/compat/zustand/index.js.map +0 -1
- package/dist/core/index.cjs.map +0 -1
- package/dist/core/index.js.map +0 -1
- package/dist/extra/index.cjs.map +0 -1
- package/dist/extra/index.js.map +0 -1
- package/dist/extra/sources.cjs.map +0 -1
- package/dist/extra/sources.js.map +0 -1
- package/dist/graph/index.cjs.map +0 -1
- package/dist/graph/index.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/patterns/ai.cjs +0 -7930
- package/dist/patterns/ai.cjs.map +0 -1
- package/dist/patterns/ai.d.cts +0 -10
- package/dist/patterns/ai.d.ts +0 -10
- package/dist/patterns/ai.js +0 -71
- package/dist/patterns/ai.js.map +0 -1
- package/dist/patterns/audit.cjs +0 -5805
- package/dist/patterns/audit.cjs.map +0 -1
- package/dist/patterns/audit.d.cts +0 -6
- package/dist/patterns/audit.d.ts +0 -6
- package/dist/patterns/audit.js +0 -29
- package/dist/patterns/audit.js.map +0 -1
- package/dist/patterns/demo-shell.cjs +0 -5604
- package/dist/patterns/demo-shell.cjs.map +0 -1
- package/dist/patterns/demo-shell.d.cts +0 -6
- package/dist/patterns/demo-shell.d.ts +0 -6
- package/dist/patterns/demo-shell.js +0 -15
- package/dist/patterns/demo-shell.js.map +0 -1
- package/dist/patterns/memory.cjs +0 -5283
- package/dist/patterns/memory.cjs.map +0 -1
- package/dist/patterns/memory.d.cts +0 -5
- package/dist/patterns/memory.d.ts +0 -5
- package/dist/patterns/memory.js +0 -20
- package/dist/patterns/memory.js.map +0 -1
- package/dist/patterns/reactive-layout/index.cjs.map +0 -1
- package/dist/patterns/reactive-layout/index.js.map +0 -1
- package/dist/storage-CMjUUuxn.d.ts +0 -190
- package/dist/storage-DdWlZo6U.d.cts +0 -190
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { T as ToObservableOptions, t as toObservable } from '../../observable-
|
|
2
|
-
export { A as ACTOR_KEY, a as ActorExtractor, C as COMMAND_HANDLERS, b as CQRS_EVENT_HANDLERS,
|
|
1
|
+
export { T as ToObservableOptions, t as toObservable } from '../../observable-glXQoGj2.cjs';
|
|
2
|
+
export { A as ACTOR_KEY, a as ActorExtractor, C as COMMAND_HANDLERS, b as CQRS_EVENT_HANDLERS, c as CRON_HANDLERS, d as CommandHandler, e as CommandHandlerMeta, E as EVENT_HANDLERS, f as EventHandler, g as EventHandlerMeta, G as GRAPHREFLY_REQUEST_GRAPH, h as GRAPHREFLY_ROOT_GRAPH, j as GraphCron, k as GraphCronMeta, l as GraphInterval, m as GraphIntervalMeta, n as GraphReflyCqrsOptions, o as GraphReflyEventExplorer, p as GraphReflyFeatureOptions, q as GraphReflyGuard, r as GraphReflyGuardImpl, s as GraphReflyModule, t as GraphReflyRootOptions, I as INTERVAL_HANDLERS, u as InjectCqrsGraph, v as InjectGraph, w as InjectNode, O as ObserveGateway, x as ObserveGatewayOptions, y as ObserveSSEOptions, z as ObserveSubscriptionOptions, B as ObserveWsCommand, D as ObserveWsMessage, F as OnGraphEvent, H as OnGraphEventMeta, Q as QUERY_HANDLERS, J as QueryHandler, K as QueryHandlerMeta, S as SAGA_HANDLERS, L as SagaHandler, M as SagaHandlerMeta, N as fromHeader, P as fromJwtPayload, R as getActor, T as getGraphToken, U as getNodeToken, V as observeSSE, W as observeSubscription } from '../../index-cByzxQIC.cjs';
|
|
3
3
|
import 'rxjs';
|
|
4
|
-
import '../../node-
|
|
4
|
+
import '../../node-Cc1TniY8.cjs';
|
|
5
5
|
import '@nestjs/common';
|
|
6
6
|
import '@nestjs/core';
|
|
7
|
-
import '../../graph-
|
|
8
|
-
import '../../meta-
|
|
9
|
-
import '../../storage-
|
|
7
|
+
import '../../graph-D48Qw9Cg.cjs';
|
|
8
|
+
import '../../meta-Cgj6zeji.cjs';
|
|
9
|
+
import '../../extra/storage-core.cjs';
|
|
10
|
+
import '../../index-CEXXwWVH.cjs';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { T as ToObservableOptions, t as toObservable } from '../../observable-
|
|
2
|
-
export { A as ACTOR_KEY, a as ActorExtractor, C as COMMAND_HANDLERS, b as CQRS_EVENT_HANDLERS,
|
|
1
|
+
export { T as ToObservableOptions, t as toObservable } from '../../observable-Ct-gJ9jI.js';
|
|
2
|
+
export { A as ACTOR_KEY, a as ActorExtractor, C as COMMAND_HANDLERS, b as CQRS_EVENT_HANDLERS, c as CRON_HANDLERS, d as CommandHandler, e as CommandHandlerMeta, E as EVENT_HANDLERS, f as EventHandler, g as EventHandlerMeta, G as GRAPHREFLY_REQUEST_GRAPH, h as GRAPHREFLY_ROOT_GRAPH, j as GraphCron, k as GraphCronMeta, l as GraphInterval, m as GraphIntervalMeta, n as GraphReflyCqrsOptions, o as GraphReflyEventExplorer, p as GraphReflyFeatureOptions, q as GraphReflyGuard, r as GraphReflyGuardImpl, s as GraphReflyModule, t as GraphReflyRootOptions, I as INTERVAL_HANDLERS, u as InjectCqrsGraph, v as InjectGraph, w as InjectNode, O as ObserveGateway, x as ObserveGatewayOptions, y as ObserveSSEOptions, z as ObserveSubscriptionOptions, B as ObserveWsCommand, D as ObserveWsMessage, F as OnGraphEvent, H as OnGraphEventMeta, Q as QUERY_HANDLERS, J as QueryHandler, K as QueryHandlerMeta, S as SAGA_HANDLERS, L as SagaHandler, M as SagaHandlerMeta, N as fromHeader, P as fromJwtPayload, R as getActor, T as getGraphToken, U as getNodeToken, V as observeSSE, W as observeSubscription } from '../../index-m-yHof5p.js';
|
|
3
3
|
import 'rxjs';
|
|
4
|
-
import '../../node-
|
|
4
|
+
import '../../node-Cc1TniY8.js';
|
|
5
5
|
import '@nestjs/common';
|
|
6
6
|
import '@nestjs/core';
|
|
7
|
-
import '../../graph-
|
|
8
|
-
import '../../meta-
|
|
9
|
-
import '../../storage-
|
|
7
|
+
import '../../graph-BZGRXwOm.js';
|
|
8
|
+
import '../../meta-CwesDrMD.js';
|
|
9
|
+
import '../../extra/storage-core.js';
|
|
10
|
+
import '../../index-sm373fsH.js';
|
|
@@ -1,83 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ACTOR_KEY,
|
|
3
|
-
COMMAND_HANDLERS,
|
|
4
|
-
CQRS_EVENT_HANDLERS,
|
|
5
|
-
CRON_HANDLERS,
|
|
6
|
-
CommandHandler,
|
|
7
|
-
EVENT_HANDLERS,
|
|
8
|
-
EventHandler,
|
|
9
|
-
GRAPHREFLY_REQUEST_GRAPH,
|
|
10
|
-
GRAPHREFLY_ROOT_GRAPH,
|
|
11
|
-
GraphCron,
|
|
12
|
-
GraphInterval,
|
|
13
|
-
GraphReflyEventExplorer,
|
|
14
|
-
GraphReflyGuard,
|
|
15
|
-
GraphReflyGuardImpl,
|
|
16
|
-
GraphReflyModule,
|
|
17
|
-
INTERVAL_HANDLERS,
|
|
18
|
-
InjectCqrsGraph,
|
|
19
|
-
InjectGraph,
|
|
20
|
-
InjectNode,
|
|
21
|
-
ObserveGateway,
|
|
22
|
-
OnGraphEvent,
|
|
23
|
-
QUERY_HANDLERS,
|
|
24
|
-
QueryHandler,
|
|
25
|
-
SAGA_HANDLERS,
|
|
26
|
-
SagaHandler,
|
|
27
|
-
fromHeader,
|
|
28
|
-
fromJwtPayload,
|
|
29
|
-
getActor,
|
|
30
|
-
getGraphToken,
|
|
31
|
-
getNodeToken,
|
|
32
|
-
observeSSE,
|
|
33
|
-
observeSubscription
|
|
34
|
-
} from "../../chunk-DST5DKZS.js";
|
|
35
|
-
import {
|
|
36
|
-
toObservable
|
|
37
|
-
} from "../../chunk-OFVJBJXR.js";
|
|
38
|
-
import "../../chunk-JSCT3CR4.js";
|
|
39
|
-
import "../../chunk-3ZWCKRHX.js";
|
|
40
|
-
import "../../chunk-J2VBW3DZ.js";
|
|
41
|
-
import "../../chunk-BVZYTZ5H.js";
|
|
42
|
-
import "../../chunk-OU5CQKNW.js";
|
|
43
|
-
import "../../chunk-PF7GRZMW.js";
|
|
44
|
-
import "../../chunk-VYPWMZ6H.js";
|
|
45
|
-
import "../../chunk-7TAQJHQV.js";
|
|
46
|
-
import "../../chunk-PHOUUNK7.js";
|
|
47
|
-
import "../../chunk-SX52TAR4.js";
|
|
48
|
-
export {
|
|
49
|
-
ACTOR_KEY,
|
|
50
|
-
COMMAND_HANDLERS,
|
|
51
|
-
CQRS_EVENT_HANDLERS,
|
|
52
|
-
CRON_HANDLERS,
|
|
53
|
-
CommandHandler,
|
|
54
|
-
EVENT_HANDLERS,
|
|
55
|
-
EventHandler,
|
|
56
|
-
GRAPHREFLY_REQUEST_GRAPH,
|
|
57
|
-
GRAPHREFLY_ROOT_GRAPH,
|
|
58
|
-
GraphCron,
|
|
59
|
-
GraphInterval,
|
|
60
|
-
GraphReflyEventExplorer,
|
|
61
|
-
GraphReflyGuard,
|
|
62
|
-
GraphReflyGuardImpl,
|
|
63
|
-
GraphReflyModule,
|
|
64
|
-
INTERVAL_HANDLERS,
|
|
65
|
-
InjectCqrsGraph,
|
|
66
|
-
InjectGraph,
|
|
67
|
-
InjectNode,
|
|
68
|
-
ObserveGateway,
|
|
69
|
-
OnGraphEvent,
|
|
70
|
-
QUERY_HANDLERS,
|
|
71
|
-
QueryHandler,
|
|
72
|
-
SAGA_HANDLERS,
|
|
73
|
-
SagaHandler,
|
|
74
|
-
fromHeader,
|
|
75
|
-
fromJwtPayload,
|
|
76
|
-
getActor,
|
|
77
|
-
getGraphToken,
|
|
78
|
-
getNodeToken,
|
|
79
|
-
observeSSE,
|
|
80
|
-
observeSubscription,
|
|
81
|
-
toObservable
|
|
82
|
-
};
|
|
83
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import{A as B,B as C,C as D,D as E,E as F,F as G,a as b,b as c,c as d,d as e,e as f,f as g,g as h,h as i,i as j,j as k,k as l,l as m,m as n,n as o,o as p,p as q,q as r,r as s,s as t,t as u,u as v,v as w,w as x,x as y,y as z,z as A}from"../../chunk-76A3HVQE.js";import"../../chunk-6V3SEX2I.js";import"../../chunk-ETWTCCJI.js";import"../../chunk-2FOAM3OR.js";import"../../chunk-MTTAAPCK.js";import{a}from"../../chunk-5QDBSZBV.js";import"../../chunk-CKCSDI7T.js";import"../../chunk-ESMPEKEV.js";import"../../chunk-VPYBOXVT.js";import"../../chunk-D7A7DBE4.js";import"../../chunk-2PMCKKRK.js";import"../../chunk-ZB5EHBIO.js";import"../../chunk-CK2E7BTU.js";import"../../chunk-QYADASLV.js";export{A as ACTOR_KEY,i as COMMAND_HANDLERS,j as CQRS_EVENT_HANDLERS,h as CRON_HANDLERS,s as CommandHandler,f as EVENT_HANDLERS,t as EventHandler,c as GRAPHREFLY_REQUEST_GRAPH,b as GRAPHREFLY_ROOT_GRAPH,r as GraphCron,q as GraphInterval,w as GraphReflyEventExplorer,F as GraphReflyGuard,E as GraphReflyGuardImpl,G as GraphReflyModule,g as INTERVAL_HANDLERS,n as InjectCqrsGraph,m as InjectGraph,o as InjectNode,z as ObserveGateway,p as OnGraphEvent,k as QUERY_HANDLERS,u as QueryHandler,l as SAGA_HANDLERS,v as SagaHandler,C as fromHeader,B as fromJwtPayload,D as getActor,d as getGraphToken,e as getNodeToken,x as observeSSE,y as observeSubscription,a as toObservable};
|
|
@@ -1,141 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/compat/react/index.ts
|
|
21
|
-
var react_exports = {};
|
|
22
|
-
__export(react_exports, {
|
|
23
|
-
useStore: () => useStore,
|
|
24
|
-
useSubscribe: () => useSubscribe,
|
|
25
|
-
useSubscribeRecord: () => useSubscribeRecord
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(react_exports);
|
|
28
|
-
var import_react = require("react");
|
|
29
|
-
|
|
30
|
-
// src/core/messages.ts
|
|
31
|
-
var START = /* @__PURE__ */ Symbol.for("graphrefly/START");
|
|
32
|
-
var DATA = /* @__PURE__ */ Symbol.for("graphrefly/DATA");
|
|
33
|
-
var DIRTY = /* @__PURE__ */ Symbol.for("graphrefly/DIRTY");
|
|
34
|
-
var RESOLVED = /* @__PURE__ */ Symbol.for("graphrefly/RESOLVED");
|
|
35
|
-
var INVALIDATE = /* @__PURE__ */ Symbol.for("graphrefly/INVALIDATE");
|
|
36
|
-
var TEARDOWN = /* @__PURE__ */ Symbol.for("graphrefly/TEARDOWN");
|
|
37
|
-
var COMPLETE = /* @__PURE__ */ Symbol.for("graphrefly/COMPLETE");
|
|
38
|
-
var DIRTY_MSG = Object.freeze([DIRTY]);
|
|
39
|
-
var RESOLVED_MSG = Object.freeze([RESOLVED]);
|
|
40
|
-
var INVALIDATE_MSG = Object.freeze([INVALIDATE]);
|
|
41
|
-
var START_MSG = Object.freeze([START]);
|
|
42
|
-
var COMPLETE_MSG = Object.freeze([COMPLETE]);
|
|
43
|
-
var TEARDOWN_MSG = Object.freeze([TEARDOWN]);
|
|
44
|
-
var DIRTY_ONLY_BATCH = Object.freeze([DIRTY_MSG]);
|
|
45
|
-
var RESOLVED_ONLY_BATCH = Object.freeze([RESOLVED_MSG]);
|
|
46
|
-
var INVALIDATE_ONLY_BATCH = Object.freeze([INVALIDATE_MSG]);
|
|
47
|
-
var COMPLETE_ONLY_BATCH = Object.freeze([COMPLETE_MSG]);
|
|
48
|
-
var TEARDOWN_ONLY_BATCH = Object.freeze([TEARDOWN_MSG]);
|
|
49
|
-
|
|
50
|
-
// src/compat/react/index.ts
|
|
51
|
-
function useSubscribe(node) {
|
|
52
|
-
return (0, import_react.useSyncExternalStore)(
|
|
53
|
-
(onStoreChange) => {
|
|
54
|
-
let disposed = false;
|
|
55
|
-
const unsub = node.subscribe(() => {
|
|
56
|
-
if (!disposed) onStoreChange();
|
|
57
|
-
});
|
|
58
|
-
return () => {
|
|
59
|
-
disposed = true;
|
|
60
|
-
unsub();
|
|
61
|
-
};
|
|
62
|
-
},
|
|
63
|
-
() => node.cache,
|
|
64
|
-
() => node.cache
|
|
65
|
-
// Server snapshot
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
function useStore(node) {
|
|
69
|
-
const value = useSubscribe(node);
|
|
70
|
-
const setter = (0, import_react.useCallback)(
|
|
71
|
-
(v) => {
|
|
72
|
-
node.down([[DIRTY], [DATA, v]]);
|
|
73
|
-
},
|
|
74
|
-
[node]
|
|
75
|
-
);
|
|
76
|
-
return [value, setter];
|
|
77
|
-
}
|
|
78
|
-
function useSubscribeRecord(keysNode, factory) {
|
|
79
|
-
const factoryRef = (0, import_react.useRef)(factory);
|
|
80
|
-
factoryRef.current = factory;
|
|
81
|
-
const store = (0, import_react.useMemo)(() => {
|
|
82
|
-
const computeSnap = () => {
|
|
83
|
-
const snap = {};
|
|
84
|
-
const keys = keysNode.cache ?? [];
|
|
85
|
-
for (const key of keys) {
|
|
86
|
-
const nodes = factoryRef.current(key);
|
|
87
|
-
const values = {};
|
|
88
|
-
for (const field of Object.keys(nodes)) {
|
|
89
|
-
values[field] = nodes[field].cache;
|
|
90
|
-
}
|
|
91
|
-
snap[key] = values;
|
|
92
|
-
}
|
|
93
|
-
return snap;
|
|
94
|
-
};
|
|
95
|
-
let currentSnapshot = computeSnap();
|
|
96
|
-
return {
|
|
97
|
-
subscribe: (onStoreChange) => {
|
|
98
|
-
let disposed = false;
|
|
99
|
-
let entrySubs = [];
|
|
100
|
-
const cleanupEntries = () => {
|
|
101
|
-
for (const unsub of entrySubs) unsub();
|
|
102
|
-
entrySubs = [];
|
|
103
|
-
};
|
|
104
|
-
const sync = (nextKeys) => {
|
|
105
|
-
cleanupEntries();
|
|
106
|
-
for (const key of nextKeys) {
|
|
107
|
-
const nodes = factoryRef.current(key);
|
|
108
|
-
for (const field of Object.keys(nodes)) {
|
|
109
|
-
const unsub = nodes[field].subscribe(() => {
|
|
110
|
-
currentSnapshot = computeSnap();
|
|
111
|
-
if (!disposed) onStoreChange();
|
|
112
|
-
});
|
|
113
|
-
entrySubs.push(unsub);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
currentSnapshot = computeSnap();
|
|
117
|
-
if (!disposed) onStoreChange();
|
|
118
|
-
};
|
|
119
|
-
const keysUnsub = keysNode.subscribe((msgs) => {
|
|
120
|
-
const hasSettled = msgs.some((m) => m[0] === DATA || m[0] === RESOLVED);
|
|
121
|
-
if (!disposed && hasSettled) sync(keysNode.cache ?? []);
|
|
122
|
-
});
|
|
123
|
-
sync(keysNode.cache ?? []);
|
|
124
|
-
return () => {
|
|
125
|
-
disposed = true;
|
|
126
|
-
keysUnsub();
|
|
127
|
-
cleanupEntries();
|
|
128
|
-
};
|
|
129
|
-
},
|
|
130
|
-
getSnapshot: () => currentSnapshot
|
|
131
|
-
};
|
|
132
|
-
}, [keysNode]);
|
|
133
|
-
return (0, import_react.useSyncExternalStore)(store.subscribe, store.getSnapshot, store.getSnapshot);
|
|
134
|
-
}
|
|
135
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
136
|
-
0 && (module.exports = {
|
|
137
|
-
useStore,
|
|
138
|
-
useSubscribe,
|
|
139
|
-
useSubscribeRecord
|
|
140
|
-
});
|
|
141
|
-
//# sourceMappingURL=index.cjs.map
|
|
1
|
+
"use strict";var i=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var m=(e,s)=>{for(var o in s)i(e,o,{get:s[o],enumerable:!0})},D=(e,s,o,t)=>{if(s&&typeof s=="object"||typeof s=="function")for(let r of d(s))!h.call(e,r)&&r!==o&&i(e,r,{get:()=>s[r],enumerable:!(t=A(s,r))||t.enumerable});return e};var L=e=>D(i({},"__esModule",{value:!0}),e);var v={};m(v,{useStore:()=>V,useSubscribe:()=>E,useSubscribeRecord:()=>K});module.exports=L(v);var n=require("react");var N=Symbol.for("graphrefly/START"),M=Symbol.for("graphrefly/DATA"),T=Symbol.for("graphrefly/DIRTY"),S=Symbol.for("graphrefly/RESOLVED"),_=Symbol.for("graphrefly/INVALIDATE");var j=Symbol.for("graphrefly/TEARDOWN"),I=Symbol.for("graphrefly/COMPLETE");var z=Object.freeze([T]),C=Object.freeze([S]),P=Object.freeze([_]),B=Object.freeze([N]),Y=Object.freeze([I]),k=Object.freeze([j]),H=Object.freeze([z]),U=Object.freeze([C]),w=Object.freeze([P]),W=Object.freeze([Y]),F=Object.freeze([k]);function E(e){return(0,n.useSyncExternalStore)(s=>{let o=!1,t=e.subscribe(()=>{o||s()});return()=>{o=!0,t()}},()=>e.cache,()=>e.cache)}function V(e){let s=E(e),o=(0,n.useCallback)(t=>{e.down([[T],[M,t]])},[e]);return[s,o]}function K(e,s){let o=(0,n.useRef)(s);o.current=s;let t=(0,n.useMemo)(()=>{let r=()=>{let f={},c=e.cache??[];for(let a of c){let p=o.current(a),u={};for(let l of Object.keys(p))u[l]=p[l].cache;f[a]=u}return f},R=r();return{subscribe:f=>{let c=!1,a=[],p=()=>{for(let b of a)b();a=[]},u=b=>{p();for(let y of b){let g=o.current(y);for(let x of Object.keys(g)){let O=g[x].subscribe(()=>{R=r(),c||f()});a.push(O)}}R=r(),c||f()},l=e.subscribe(b=>{let y=b.some(g=>g[0]===M||g[0]===S);!c&&y&&u(e.cache??[])});return u(e.cache??[]),()=>{c=!0,l(),p()}},getSnapshot:()=>R}},[e]);return(0,n.useSyncExternalStore)(t.subscribe,t.getSnapshot,t.getSnapshot)}0&&(module.exports={useStore,useSubscribe,useSubscribeRecord});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../node-
|
|
2
|
-
export { N as NodeFactory, u as useStore, a as useSubscribe, b as useSubscribeRecord } from '../../index-
|
|
1
|
+
import '../../node-Cc1TniY8.cjs';
|
|
2
|
+
export { N as NodeFactory, u as useStore, a as useSubscribe, b as useSubscribeRecord } from '../../index-DL-rYJrx.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../node-
|
|
2
|
-
export { N as NodeFactory, u as useStore, a as useSubscribe, b as useSubscribeRecord } from '../../index-
|
|
1
|
+
import '../../node-Cc1TniY8.js';
|
|
2
|
+
export { N as NodeFactory, u as useStore, a as useSubscribe, b as useSubscribeRecord } from '../../index-BVHOrDwO.js';
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
useStore,
|
|
3
|
-
useSubscribe,
|
|
4
|
-
useSubscribeRecord
|
|
5
|
-
} from "../../chunk-J22W6HV3.js";
|
|
6
|
-
import "../../chunk-SX52TAR4.js";
|
|
7
|
-
export {
|
|
8
|
-
useStore,
|
|
9
|
-
useSubscribe,
|
|
10
|
-
useSubscribeRecord
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import{a,b,c}from"../../chunk-VJLMUKOI.js";import"../../chunk-CK2E7BTU.js";import"../../chunk-QYADASLV.js";export{b as useStore,a as useSubscribe,c as useSubscribeRecord};
|
|
@@ -1,128 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/compat/solid/index.ts
|
|
21
|
-
var solid_exports = {};
|
|
22
|
-
__export(solid_exports, {
|
|
23
|
-
useStore: () => useStore,
|
|
24
|
-
useSubscribe: () => useSubscribe,
|
|
25
|
-
useSubscribeRecord: () => useSubscribeRecord
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(solid_exports);
|
|
28
|
-
var import_solid_js = require("solid-js");
|
|
29
|
-
|
|
30
|
-
// src/core/messages.ts
|
|
31
|
-
var START = /* @__PURE__ */ Symbol.for("graphrefly/START");
|
|
32
|
-
var DATA = /* @__PURE__ */ Symbol.for("graphrefly/DATA");
|
|
33
|
-
var DIRTY = /* @__PURE__ */ Symbol.for("graphrefly/DIRTY");
|
|
34
|
-
var RESOLVED = /* @__PURE__ */ Symbol.for("graphrefly/RESOLVED");
|
|
35
|
-
var INVALIDATE = /* @__PURE__ */ Symbol.for("graphrefly/INVALIDATE");
|
|
36
|
-
var TEARDOWN = /* @__PURE__ */ Symbol.for("graphrefly/TEARDOWN");
|
|
37
|
-
var COMPLETE = /* @__PURE__ */ Symbol.for("graphrefly/COMPLETE");
|
|
38
|
-
var DIRTY_MSG = Object.freeze([DIRTY]);
|
|
39
|
-
var RESOLVED_MSG = Object.freeze([RESOLVED]);
|
|
40
|
-
var INVALIDATE_MSG = Object.freeze([INVALIDATE]);
|
|
41
|
-
var START_MSG = Object.freeze([START]);
|
|
42
|
-
var COMPLETE_MSG = Object.freeze([COMPLETE]);
|
|
43
|
-
var TEARDOWN_MSG = Object.freeze([TEARDOWN]);
|
|
44
|
-
var DIRTY_ONLY_BATCH = Object.freeze([DIRTY_MSG]);
|
|
45
|
-
var RESOLVED_ONLY_BATCH = Object.freeze([RESOLVED_MSG]);
|
|
46
|
-
var INVALIDATE_ONLY_BATCH = Object.freeze([INVALIDATE_MSG]);
|
|
47
|
-
var COMPLETE_ONLY_BATCH = Object.freeze([COMPLETE_MSG]);
|
|
48
|
-
var TEARDOWN_ONLY_BATCH = Object.freeze([TEARDOWN_MSG]);
|
|
49
|
-
|
|
50
|
-
// src/compat/solid/index.ts
|
|
51
|
-
function useSubscribe(node) {
|
|
52
|
-
const [value, setValue] = (0, import_solid_js.createSignal)(node.cache, { equals: false });
|
|
53
|
-
const unsub = node.subscribe(() => {
|
|
54
|
-
setValue(() => node.cache);
|
|
55
|
-
});
|
|
56
|
-
if ((0, import_solid_js.getOwner)()) {
|
|
57
|
-
(0, import_solid_js.onCleanup)(() => unsub());
|
|
58
|
-
} else if (typeof console !== "undefined") {
|
|
59
|
-
console.warn(
|
|
60
|
-
"[graphrefly-ts] useSubscribe called outside a Solid reactive owner \u2014 subscription will not be auto-disposed."
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
return value;
|
|
64
|
-
}
|
|
65
|
-
function useStore(node) {
|
|
66
|
-
const value = useSubscribe(node);
|
|
67
|
-
const setter = (v) => {
|
|
68
|
-
node.down([[DIRTY], [DATA, v]]);
|
|
69
|
-
};
|
|
70
|
-
return [value, setter];
|
|
71
|
-
}
|
|
72
|
-
function useSubscribeRecord(keysNode, factory) {
|
|
73
|
-
const [value, setValue] = (0, import_solid_js.createSignal)({}, { equals: false });
|
|
74
|
-
let entrySubs = [];
|
|
75
|
-
const cleanupEntries = () => {
|
|
76
|
-
for (const unsub of entrySubs) unsub();
|
|
77
|
-
entrySubs = [];
|
|
78
|
-
};
|
|
79
|
-
const buildSnapshot = () => {
|
|
80
|
-
const snap = {};
|
|
81
|
-
for (const key of keysNode.cache ?? []) {
|
|
82
|
-
const nodes = factory(key);
|
|
83
|
-
const values = {};
|
|
84
|
-
for (const field of Object.keys(nodes)) {
|
|
85
|
-
values[field] = nodes[field].cache;
|
|
86
|
-
}
|
|
87
|
-
snap[key] = values;
|
|
88
|
-
}
|
|
89
|
-
return snap;
|
|
90
|
-
};
|
|
91
|
-
const sync = (nextKeys) => {
|
|
92
|
-
cleanupEntries();
|
|
93
|
-
for (const key of nextKeys) {
|
|
94
|
-
const nodes = factory(key);
|
|
95
|
-
for (const field of Object.keys(nodes)) {
|
|
96
|
-
const unsub = nodes[field].subscribe(() => {
|
|
97
|
-
setValue(() => buildSnapshot());
|
|
98
|
-
});
|
|
99
|
-
entrySubs.push(unsub);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
setValue(() => buildSnapshot());
|
|
103
|
-
};
|
|
104
|
-
const keysUnsub = keysNode.subscribe((msgs) => {
|
|
105
|
-
if (msgs.some((m) => m[0] === DATA || m[0] === RESOLVED)) {
|
|
106
|
-
sync(keysNode.cache ?? []);
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
sync(keysNode.cache ?? []);
|
|
110
|
-
if ((0, import_solid_js.getOwner)()) {
|
|
111
|
-
(0, import_solid_js.onCleanup)(() => {
|
|
112
|
-
keysUnsub();
|
|
113
|
-
cleanupEntries();
|
|
114
|
-
});
|
|
115
|
-
} else if (typeof console !== "undefined") {
|
|
116
|
-
console.warn(
|
|
117
|
-
"[graphrefly-ts] useSubscribeRecord called outside a Solid reactive owner \u2014 subscription will not be auto-disposed."
|
|
118
|
-
);
|
|
119
|
-
}
|
|
120
|
-
return value;
|
|
121
|
-
}
|
|
122
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
123
|
-
0 && (module.exports = {
|
|
124
|
-
useStore,
|
|
125
|
-
useSubscribe,
|
|
126
|
-
useSubscribeRecord
|
|
127
|
-
});
|
|
128
|
-
//# sourceMappingURL=index.cjs.map
|
|
1
|
+
"use strict";var i=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var O=Object.prototype.hasOwnProperty;var x=(e,s)=>{for(var o in s)i(e,o,{get:s[o],enumerable:!0})},A=(e,s,o,r)=>{if(s&&typeof s=="object"||typeof s=="function")for(let t of E(s))!O.call(e,t)&&t!==o&&i(e,t,{get:()=>s[t],enumerable:!(r=S(s,t))||r.enumerable});return e};var h=e=>A(i({},"__esModule",{value:!0}),e);var v={};x(v,{useStore:()=>z,useSubscribe:()=>d,useSubscribeRecord:()=>V});module.exports=h(v);var n=require("solid-js");var m=Symbol.for("graphrefly/START"),u=Symbol.for("graphrefly/DATA"),b=Symbol.for("graphrefly/DIRTY"),g=Symbol.for("graphrefly/RESOLVED"),D=Symbol.for("graphrefly/INVALIDATE");var L=Symbol.for("graphrefly/TEARDOWN"),N=Symbol.for("graphrefly/COMPLETE");var _=Object.freeze([b]),j=Object.freeze([g]),I=Object.freeze([D]),P=Object.freeze([m]),C=Object.freeze([N]),w=Object.freeze([L]),Y=Object.freeze([_]),k=Object.freeze([j]),G=Object.freeze([I]),B=Object.freeze([C]),H=Object.freeze([w]);function d(e){let[s,o]=(0,n.createSignal)(e.cache,{equals:!1}),r=e.subscribe(()=>{o(()=>e.cache)});return(0,n.getOwner)()?(0,n.onCleanup)(()=>r()):typeof console<"u"&&console.warn("[graphrefly-ts] useSubscribe called outside a Solid reactive owner \u2014 subscription will not be auto-disposed."),s}function z(e){return[d(e),r=>{e.down([[b],[u,r]])}]}function V(e,s){let[o,r]=(0,n.createSignal)({},{equals:!1}),t=[],R=()=>{for(let a of t)a();t=[]},y=()=>{let a={};for(let c of e.cache??[]){let f=s(c),l={};for(let p of Object.keys(f))l[p]=f[p].cache;a[c]=l}return a},T=a=>{R();for(let c of a){let f=s(c);for(let l of Object.keys(f)){let p=f[l].subscribe(()=>{r(()=>y())});t.push(p)}}r(()=>y())},M=e.subscribe(a=>{a.some(c=>c[0]===u||c[0]===g)&&T(e.cache??[])});return T(e.cache??[]),(0,n.getOwner)()?(0,n.onCleanup)(()=>{M(),R()}):typeof console<"u"&&console.warn("[graphrefly-ts] useSubscribeRecord called outside a Solid reactive owner \u2014 subscription will not be auto-disposed."),o}0&&(module.exports={useStore,useSubscribe,useSubscribeRecord});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../node-
|
|
2
|
-
export { A as Accessor, N as NodeFactory, u as useStore, a as useSubscribe, b as useSubscribeRecord } from '../../index-
|
|
1
|
+
import '../../node-Cc1TniY8.cjs';
|
|
2
|
+
export { A as Accessor, N as NodeFactory, u as useStore, a as useSubscribe, b as useSubscribeRecord } from '../../index-B_agccPe.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../node-
|
|
2
|
-
export { A as Accessor, N as NodeFactory, u as useStore, a as useSubscribe, b as useSubscribeRecord } from '../../index-
|
|
1
|
+
import '../../node-Cc1TniY8.js';
|
|
2
|
+
export { A as Accessor, N as NodeFactory, u as useStore, a as useSubscribe, b as useSubscribeRecord } from '../../index-B1AmmSlb.js';
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
useStore,
|
|
3
|
-
useSubscribe,
|
|
4
|
-
useSubscribeRecord
|
|
5
|
-
} from "../../chunk-HXZEYDUR.js";
|
|
6
|
-
import "../../chunk-SX52TAR4.js";
|
|
7
|
-
export {
|
|
8
|
-
useStore,
|
|
9
|
-
useSubscribe,
|
|
10
|
-
useSubscribeRecord
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import{a,b,c}from"../../chunk-VIMF6LGM.js";import"../../chunk-CK2E7BTU.js";import"../../chunk-QYADASLV.js";export{b as useStore,a as useSubscribe,c as useSubscribeRecord};
|
|
@@ -1,131 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/compat/svelte/index.ts
|
|
21
|
-
var svelte_exports = {};
|
|
22
|
-
__export(svelte_exports, {
|
|
23
|
-
useStore: () => useStore,
|
|
24
|
-
useSubscribe: () => useSubscribe,
|
|
25
|
-
useSubscribeRecord: () => useSubscribeRecord
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(svelte_exports);
|
|
28
|
-
|
|
29
|
-
// src/core/messages.ts
|
|
30
|
-
var START = /* @__PURE__ */ Symbol.for("graphrefly/START");
|
|
31
|
-
var DATA = /* @__PURE__ */ Symbol.for("graphrefly/DATA");
|
|
32
|
-
var DIRTY = /* @__PURE__ */ Symbol.for("graphrefly/DIRTY");
|
|
33
|
-
var RESOLVED = /* @__PURE__ */ Symbol.for("graphrefly/RESOLVED");
|
|
34
|
-
var INVALIDATE = /* @__PURE__ */ Symbol.for("graphrefly/INVALIDATE");
|
|
35
|
-
var TEARDOWN = /* @__PURE__ */ Symbol.for("graphrefly/TEARDOWN");
|
|
36
|
-
var COMPLETE = /* @__PURE__ */ Symbol.for("graphrefly/COMPLETE");
|
|
37
|
-
var DIRTY_MSG = Object.freeze([DIRTY]);
|
|
38
|
-
var RESOLVED_MSG = Object.freeze([RESOLVED]);
|
|
39
|
-
var INVALIDATE_MSG = Object.freeze([INVALIDATE]);
|
|
40
|
-
var START_MSG = Object.freeze([START]);
|
|
41
|
-
var COMPLETE_MSG = Object.freeze([COMPLETE]);
|
|
42
|
-
var TEARDOWN_MSG = Object.freeze([TEARDOWN]);
|
|
43
|
-
var DIRTY_ONLY_BATCH = Object.freeze([DIRTY_MSG]);
|
|
44
|
-
var RESOLVED_ONLY_BATCH = Object.freeze([RESOLVED_MSG]);
|
|
45
|
-
var INVALIDATE_ONLY_BATCH = Object.freeze([INVALIDATE_MSG]);
|
|
46
|
-
var COMPLETE_ONLY_BATCH = Object.freeze([COMPLETE_MSG]);
|
|
47
|
-
var TEARDOWN_ONLY_BATCH = Object.freeze([TEARDOWN_MSG]);
|
|
48
|
-
|
|
49
|
-
// src/compat/svelte/index.ts
|
|
50
|
-
function useSubscribe(node) {
|
|
51
|
-
return {
|
|
52
|
-
subscribe(run) {
|
|
53
|
-
const unsub = node.subscribe(() => {
|
|
54
|
-
run(node.cache);
|
|
55
|
-
});
|
|
56
|
-
run(node.cache);
|
|
57
|
-
return unsub;
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function useStore(node) {
|
|
62
|
-
return {
|
|
63
|
-
subscribe(run) {
|
|
64
|
-
const unsub = node.subscribe(() => {
|
|
65
|
-
run(node.cache);
|
|
66
|
-
});
|
|
67
|
-
run(node.cache);
|
|
68
|
-
return unsub;
|
|
69
|
-
},
|
|
70
|
-
set(value) {
|
|
71
|
-
node.down([[DIRTY], [DATA, value]]);
|
|
72
|
-
},
|
|
73
|
-
update(updater) {
|
|
74
|
-
const next = updater(node.cache);
|
|
75
|
-
node.down([[DIRTY], [DATA, next]]);
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
function useSubscribeRecord(keysNode, factory) {
|
|
80
|
-
return {
|
|
81
|
-
subscribe(run) {
|
|
82
|
-
let entrySubs = [];
|
|
83
|
-
const cleanupEntries = () => {
|
|
84
|
-
for (const unsub of entrySubs) unsub();
|
|
85
|
-
entrySubs = [];
|
|
86
|
-
};
|
|
87
|
-
const buildSnapshot = () => {
|
|
88
|
-
const snap = {};
|
|
89
|
-
for (const key of keysNode.cache ?? []) {
|
|
90
|
-
const nodes = factory(key);
|
|
91
|
-
const values = {};
|
|
92
|
-
for (const field of Object.keys(nodes)) {
|
|
93
|
-
values[field] = nodes[field].cache;
|
|
94
|
-
}
|
|
95
|
-
snap[key] = values;
|
|
96
|
-
}
|
|
97
|
-
return snap;
|
|
98
|
-
};
|
|
99
|
-
const sync = (nextKeys) => {
|
|
100
|
-
cleanupEntries();
|
|
101
|
-
for (const key of nextKeys) {
|
|
102
|
-
const nodes = factory(key);
|
|
103
|
-
for (const field of Object.keys(nodes)) {
|
|
104
|
-
const unsub = nodes[field].subscribe(() => {
|
|
105
|
-
run(buildSnapshot());
|
|
106
|
-
});
|
|
107
|
-
entrySubs.push(unsub);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
run(buildSnapshot());
|
|
111
|
-
};
|
|
112
|
-
const keysUnsub = keysNode.subscribe((msgs) => {
|
|
113
|
-
if (msgs.some((m) => m[0] === DATA || m[0] === RESOLVED)) {
|
|
114
|
-
sync(keysNode.cache ?? []);
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
sync(keysNode.cache ?? []);
|
|
118
|
-
return () => {
|
|
119
|
-
keysUnsub();
|
|
120
|
-
cleanupEntries();
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
126
|
-
0 && (module.exports = {
|
|
127
|
-
useStore,
|
|
128
|
-
useSubscribe,
|
|
129
|
-
useSubscribeRecord
|
|
130
|
-
});
|
|
131
|
-
//# sourceMappingURL=index.cjs.map
|
|
1
|
+
"use strict";var i=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var M=Object.prototype.hasOwnProperty;var S=(e,s)=>{for(var o in s)i(e,o,{get:s[o],enumerable:!0})},x=(e,s,o,a)=>{if(s&&typeof s=="object"||typeof s=="function")for(let r of y(s))!M.call(e,r)&&r!==o&&i(e,r,{get:()=>s[r],enumerable:!(a=g(s,r))||a.enumerable});return e};var E=e=>x(i({},"__esModule",{value:!0}),e);var C={};S(C,{useStore:()=>I,useSubscribe:()=>j,useSubscribeRecord:()=>z});module.exports=E(C);var O=Symbol.for("graphrefly/START"),b=Symbol.for("graphrefly/DATA"),f=Symbol.for("graphrefly/DIRTY"),p=Symbol.for("graphrefly/RESOLVED"),A=Symbol.for("graphrefly/INVALIDATE");var h=Symbol.for("graphrefly/TEARDOWN"),v=Symbol.for("graphrefly/COMPLETE");var D=Object.freeze([f]),m=Object.freeze([p]),L=Object.freeze([A]),P=Object.freeze([O]),N=Object.freeze([v]),_=Object.freeze([h]),Y=Object.freeze([D]),V=Object.freeze([m]),k=Object.freeze([L]),G=Object.freeze([N]),W=Object.freeze([_]);function j(e){return{subscribe(s){let o=e.subscribe(()=>{s(e.cache)});return s(e.cache),o}}}function I(e){return{subscribe(s){let o=e.subscribe(()=>{s(e.cache)});return s(e.cache),o},set(s){e.down([[f],[b,s]])},update(s){let o=s(e.cache);e.down([[f],[b,o]])}}}function z(e,s){return{subscribe(o){let a=[],r=()=>{for(let t of a)t();a=[]},R=()=>{let t={};for(let n of e.cache??[]){let c=s(n),l={};for(let u of Object.keys(c))l[u]=c[u].cache;t[n]=l}return t},T=t=>{r();for(let n of t){let c=s(n);for(let l of Object.keys(c)){let u=c[l].subscribe(()=>{o(R())});a.push(u)}}o(R())},d=e.subscribe(t=>{t.some(n=>n[0]===b||n[0]===p)&&T(e.cache??[])});return T(e.cache??[]),()=>{d(),r()}}}}0&&(module.exports={useStore,useSubscribe,useSubscribeRecord});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../node-
|
|
2
|
-
export { N as NodeFactory, S as SvelteReadable, a as SvelteWritable, u as useStore, b as useSubscribe, c as useSubscribeRecord } from '../../index-
|
|
1
|
+
import '../../node-Cc1TniY8.cjs';
|
|
2
|
+
export { N as NodeFactory, S as SvelteReadable, a as SvelteWritable, u as useStore, b as useSubscribe, c as useSubscribeRecord } from '../../index-B2pwesl9.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../node-
|
|
2
|
-
export { N as NodeFactory, S as SvelteReadable, a as SvelteWritable, u as useStore, b as useSubscribe, c as useSubscribeRecord } from '../../index-
|
|
1
|
+
import '../../node-Cc1TniY8.js';
|
|
2
|
+
export { N as NodeFactory, S as SvelteReadable, a as SvelteWritable, u as useStore, b as useSubscribe, c as useSubscribeRecord } from '../../index-BWJV63ti.js';
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
useStore,
|
|
3
|
-
useSubscribe,
|
|
4
|
-
useSubscribeRecord
|
|
5
|
-
} from "../../chunk-OHISZPOJ.js";
|
|
6
|
-
import "../../chunk-SX52TAR4.js";
|
|
7
|
-
export {
|
|
8
|
-
useStore,
|
|
9
|
-
useSubscribe,
|
|
10
|
-
useSubscribeRecord
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import{a,b,c}from"../../chunk-6QZNQS5B.js";import"../../chunk-CK2E7BTU.js";import"../../chunk-QYADASLV.js";export{b as useStore,a as useSubscribe,c as useSubscribeRecord};
|