@graphrefly/graphrefly 0.25.0 → 0.26.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/README.md +8 -0
- package/dist/{chunk-QOWVNWOC.js → chunk-3ZWCKRHX.js} +27 -25
- package/dist/{chunk-QOWVNWOC.js.map → chunk-3ZWCKRHX.js.map} +1 -1
- package/dist/chunk-6LDQFTYS.js +102 -0
- package/dist/chunk-6LDQFTYS.js.map +1 -0
- package/dist/{chunk-IAHGTNOZ.js → chunk-AMCG74RZ.js} +193 -24
- package/dist/chunk-AMCG74RZ.js.map +1 -0
- package/dist/{chunk-L2GLW2U7.js → chunk-BVZYTZ5H.js} +9 -103
- package/dist/chunk-BVZYTZ5H.js.map +1 -0
- package/dist/chunk-FQMKGR6L.js +330 -0
- package/dist/chunk-FQMKGR6L.js.map +1 -0
- package/dist/chunk-HXZEYDUR.js +94 -0
- package/dist/chunk-HXZEYDUR.js.map +1 -0
- package/dist/{chunk-EVR6UFUV.js → chunk-IZYUSJC7.js} +16 -14
- package/dist/{chunk-EVR6UFUV.js.map → chunk-IZYUSJC7.js.map} +1 -1
- package/dist/chunk-J22W6HV3.js +107 -0
- package/dist/chunk-J22W6HV3.js.map +1 -0
- package/dist/{chunk-HWPIFSW2.js → chunk-JSCT3CR4.js} +6 -4
- package/dist/{chunk-HWPIFSW2.js.map → chunk-JSCT3CR4.js.map} +1 -1
- package/dist/chunk-JYXEWPH4.js +62 -0
- package/dist/chunk-JYXEWPH4.js.map +1 -0
- package/dist/{chunk-TKE3JGOH.js → chunk-LCE3GF5P.js} +5 -692
- package/dist/chunk-LCE3GF5P.js.map +1 -0
- package/dist/chunk-MJ2NKQQL.js +119 -0
- package/dist/chunk-MJ2NKQQL.js.map +1 -0
- package/dist/chunk-N6UR7YVY.js +198 -0
- package/dist/chunk-N6UR7YVY.js.map +1 -0
- package/dist/chunk-OHISZPOJ.js +97 -0
- package/dist/chunk-OHISZPOJ.js.map +1 -0
- package/dist/{chunk-5DJTTKX3.js → chunk-PHOUUNK7.js} +74 -111
- package/dist/chunk-PHOUUNK7.js.map +1 -0
- package/dist/{chunk-PY4XCDLR.js → chunk-RB6QPHJ7.js} +8 -6
- package/dist/{chunk-PY4XCDLR.js.map → chunk-RB6QPHJ7.js.map} +1 -1
- package/dist/chunk-SN4YWWYO.js +171 -0
- package/dist/chunk-SN4YWWYO.js.map +1 -0
- package/dist/chunk-SX52TAR4.js +110 -0
- package/dist/chunk-SX52TAR4.js.map +1 -0
- package/dist/{chunk-XOFWRC73.js → chunk-THTWHNU4.js} +319 -24
- package/dist/chunk-THTWHNU4.js.map +1 -0
- package/dist/{chunk-H4RVA4VE.js → chunk-VYPWMZ6H.js} +2 -2
- package/dist/chunk-XGPU467M.js +136 -0
- package/dist/chunk-XGPU467M.js.map +1 -0
- package/dist/chunk-ZQMEI34O.js +713 -0
- package/dist/chunk-ZQMEI34O.js.map +1 -0
- package/dist/compat/index.cjs +7656 -0
- package/dist/compat/index.cjs.map +1 -0
- package/dist/compat/index.d.cts +18 -0
- package/dist/compat/index.d.ts +18 -0
- package/dist/compat/index.js +49 -0
- package/dist/compat/index.js.map +1 -0
- package/dist/compat/jotai/index.cjs +2048 -0
- package/dist/compat/jotai/index.cjs.map +1 -0
- package/dist/compat/jotai/index.d.cts +2 -0
- package/dist/compat/jotai/index.d.ts +2 -0
- package/dist/compat/jotai/index.js +9 -0
- package/dist/compat/jotai/index.js.map +1 -0
- package/dist/compat/nanostores/index.cjs +2175 -0
- package/dist/compat/nanostores/index.cjs.map +1 -0
- package/dist/compat/nanostores/index.d.cts +2 -0
- package/dist/compat/nanostores/index.d.ts +2 -0
- package/dist/compat/nanostores/index.js +23 -0
- package/dist/compat/nanostores/index.js.map +1 -0
- package/dist/compat/nestjs/index.cjs +350 -16
- package/dist/compat/nestjs/index.cjs.map +1 -1
- package/dist/compat/nestjs/index.d.cts +6 -6
- package/dist/compat/nestjs/index.d.ts +6 -6
- package/dist/compat/nestjs/index.js +10 -9
- package/dist/compat/react/index.cjs +141 -0
- package/dist/compat/react/index.cjs.map +1 -0
- package/dist/compat/react/index.d.cts +2 -0
- package/dist/compat/react/index.d.ts +2 -0
- package/dist/compat/react/index.js +12 -0
- package/dist/compat/react/index.js.map +1 -0
- package/dist/compat/solid/index.cjs +128 -0
- package/dist/compat/solid/index.cjs.map +1 -0
- package/dist/compat/solid/index.d.cts +2 -0
- package/dist/compat/solid/index.d.ts +2 -0
- package/dist/compat/solid/index.js +12 -0
- package/dist/compat/solid/index.js.map +1 -0
- package/dist/compat/svelte/index.cjs +131 -0
- package/dist/compat/svelte/index.cjs.map +1 -0
- package/dist/compat/svelte/index.d.cts +2 -0
- package/dist/compat/svelte/index.d.ts +2 -0
- package/dist/compat/svelte/index.js +12 -0
- package/dist/compat/svelte/index.js.map +1 -0
- package/dist/compat/vue/index.cjs +146 -0
- package/dist/compat/vue/index.cjs.map +1 -0
- package/dist/compat/vue/index.d.cts +3 -0
- package/dist/compat/vue/index.d.ts +3 -0
- package/dist/compat/vue/index.js +12 -0
- package/dist/compat/vue/index.js.map +1 -0
- package/dist/compat/zustand/index.cjs +4931 -0
- package/dist/compat/zustand/index.cjs.map +1 -0
- package/dist/compat/zustand/index.d.cts +5 -0
- package/dist/compat/zustand/index.d.ts +5 -0
- package/dist/compat/zustand/index.js +12 -0
- package/dist/compat/zustand/index.js.map +1 -0
- package/dist/core/index.cjs +53 -4
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/core/index.js +26 -24
- package/dist/demo-shell-26p5fVxn.d.cts +102 -0
- package/dist/demo-shell-DEp-nMTl.d.ts +102 -0
- package/dist/extra/index.cjs +222 -110
- package/dist/extra/index.cjs.map +1 -1
- package/dist/extra/index.d.cts +5 -4
- package/dist/extra/index.d.ts +5 -4
- package/dist/extra/index.js +6 -5
- package/dist/extra/sources.cjs +2486 -0
- package/dist/extra/sources.cjs.map +1 -0
- package/dist/extra/sources.d.cts +465 -0
- package/dist/extra/sources.d.ts +465 -0
- package/dist/extra/sources.js +57 -0
- package/dist/extra/sources.js.map +1 -0
- package/dist/graph/index.cjs +408 -14
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +5 -5
- package/dist/graph/index.d.ts +5 -5
- package/dist/graph/index.js +13 -5
- package/dist/{graph-B6NFqv3z.d.ts → graph-6tZ5jEzr.d.cts} +195 -4
- package/dist/{graph-D-3JIQme.d.cts → graph-DQ69XU0g.d.ts} +195 -4
- package/dist/index-B4MP_8V_.d.cts +37 -0
- package/dist/index-BEfE8H_G.d.cts +121 -0
- package/dist/{index-OXImXMq6.d.ts → index-BW1z3BN9.d.ts} +18 -196
- package/dist/index-BYOHF0zP.d.ts +34 -0
- package/dist/index-B_IP40nB.d.cts +36 -0
- package/dist/index-Bd_fwmLf.d.cts +45 -0
- package/dist/{index-Ds23Wvou.d.ts → index-BeIdBfcb.d.cts} +120 -573
- package/dist/index-BjI6ty9z.d.ts +121 -0
- package/dist/index-Bxb5ZYc9.d.cts +34 -0
- package/dist/{index-BJB7t9gg.d.cts → index-C0ZXMaXO.d.cts} +2 -2
- package/dist/{index-DKE1EATr.d.cts → index-C8mdwMXc.d.cts} +18 -196
- package/dist/index-CDAjUFIv.d.ts +36 -0
- package/dist/index-CPgZ5wRl.d.ts +44 -0
- package/dist/{index-AMWewNDe.d.cts → index-CUwyr1Kk.d.cts} +33 -4
- package/dist/index-CUyrtuOf.d.cts +127 -0
- package/dist/{index-C-TXEa7C.d.ts → index-CY2TljO4.d.ts} +2 -2
- package/dist/index-CmnuOibw.d.ts +37 -0
- package/dist/{index-DiobMNwE.d.ts → index-CuYwdKO-.d.ts} +3 -3
- package/dist/index-DFhjO4Gg.d.cts +44 -0
- package/dist/{index-Ch0IpIO0.d.cts → index-DdD5MVDL.d.ts} +120 -573
- package/dist/index-DrISNAOm.d.ts +45 -0
- package/dist/index-QBpffFW-.d.cts +86 -0
- package/dist/{index-J7Kc0oIQ.d.cts → index-_oMEWlDq.d.cts} +3 -3
- package/dist/{index-CYkjxu3s.d.ts → index-eJ6T_qGM.d.ts} +33 -4
- package/dist/index-qldRdbQw.d.ts +86 -0
- package/dist/index-xdGjv0nO.d.ts +127 -0
- package/dist/index.cjs +1780 -176
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1007 -648
- package/dist/index.d.ts +1007 -648
- package/dist/index.js +1202 -1172
- package/dist/index.js.map +1 -1
- package/dist/{meta-CnkLA_43.d.ts → meta-BGqSZ7mt.d.ts} +1 -1
- package/dist/{meta-DWbkoq1s.d.cts → meta-C0-8XW6Q.d.cts} +1 -1
- package/dist/{node-B-f-Lu-k.d.cts → node-C_IBuvX2.d.cts} +26 -1
- package/dist/{node-B-f-Lu-k.d.ts → node-C_IBuvX2.d.ts} +26 -1
- package/dist/{observable-DBnrwcar.d.cts → observable-Crr1jgzx.d.cts} +1 -1
- package/dist/{observable-uP-wy_uK.d.ts → observable-DCk45RH5.d.ts} +1 -1
- package/dist/patterns/demo-shell.cjs +5604 -0
- package/dist/patterns/demo-shell.cjs.map +1 -0
- package/dist/patterns/demo-shell.d.cts +6 -0
- package/dist/patterns/demo-shell.d.ts +6 -0
- package/dist/patterns/demo-shell.js +15 -0
- package/dist/patterns/demo-shell.js.map +1 -0
- package/dist/patterns/reactive-layout/index.cjs +355 -13
- package/dist/patterns/reactive-layout/index.cjs.map +1 -1
- package/dist/patterns/reactive-layout/index.d.cts +6 -5
- package/dist/patterns/reactive-layout/index.d.ts +6 -5
- package/dist/patterns/reactive-layout/index.js +15 -12
- package/dist/reactive-layout-BaOQefHu.d.cts +183 -0
- package/dist/reactive-layout-D9gejYXE.d.ts +183 -0
- package/dist/{storage-BuTdpCI1.d.cts → storage-BMycWEh2.d.ts} +9 -1
- package/dist/{storage-F2X1U1x0.d.ts → storage-DiqWHzVI.d.cts} +9 -1
- package/package.json +32 -2
- package/dist/chunk-5DJTTKX3.js.map +0 -1
- package/dist/chunk-IAHGTNOZ.js.map +0 -1
- package/dist/chunk-L2GLW2U7.js.map +0 -1
- package/dist/chunk-MW4VAKAO.js +0 -47
- package/dist/chunk-MW4VAKAO.js.map +0 -1
- package/dist/chunk-TKE3JGOH.js.map +0 -1
- package/dist/chunk-XOFWRC73.js.map +0 -1
- /package/dist/{chunk-H4RVA4VE.js.map → chunk-VYPWMZ6H.js.map} +0 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { i as index$2 } from './index-QBpffFW-.cjs';
|
|
2
|
+
import { i as index$3 } from './index-CUyrtuOf.cjs';
|
|
3
|
+
import { i as index$4 } from './index-_oMEWlDq.cjs';
|
|
4
|
+
import { i as index$5 } from './index-DFhjO4Gg.cjs';
|
|
5
|
+
import { N as Node } from './node-C_IBuvX2.cjs';
|
|
6
|
+
import { i as index$6 } from './index-B_IP40nB.cjs';
|
|
7
|
+
import { i as index$7 } from './index-Bd_fwmLf.cjs';
|
|
8
|
+
import { i as index$8 } from './index-Bxb5ZYc9.cjs';
|
|
9
|
+
import { i as index$9 } from './index-B4MP_8V_.cjs';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Options for creating signals.
|
|
13
|
+
*
|
|
14
|
+
* @category compat
|
|
15
|
+
*/
|
|
16
|
+
interface SignalOptions {
|
|
17
|
+
/** Optional identifier for the underlying node. */
|
|
18
|
+
name?: string;
|
|
19
|
+
/** Custom equality function for change detection. */
|
|
20
|
+
equals?: (a: any, b: any) => boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Common interface for all reactive signals.
|
|
24
|
+
*
|
|
25
|
+
* @category compat
|
|
26
|
+
*/
|
|
27
|
+
interface AnySignal<T> {
|
|
28
|
+
/** Returns the current value of the signal. */
|
|
29
|
+
get(): T;
|
|
30
|
+
/** @internal The underlying GraphReFly node. */
|
|
31
|
+
_node: Node<T>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* TC39 `Signal.State` — a writable signal backed by a GraphReFly `state` node.
|
|
35
|
+
* Automatically registers itself as a dependency if read inside a `Computed`.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* const count = new Signal.State(0);
|
|
40
|
+
* count.get(); // 0
|
|
41
|
+
* count.set(1);
|
|
42
|
+
* count.get(); // 1
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
declare class SignalState<T> implements AnySignal<T> {
|
|
46
|
+
/** @internal */
|
|
47
|
+
_node: Node<T>;
|
|
48
|
+
private readonly _equals;
|
|
49
|
+
constructor(initial: T, opts?: SignalOptions);
|
|
50
|
+
get(): T;
|
|
51
|
+
set(value: T): void;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* TC39 `Signal.Computed` — a read-only signal backed by `dynamicNode`.
|
|
55
|
+
* Automatically tracks dependencies when `get()` is called on other signals
|
|
56
|
+
* during its computation.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```ts
|
|
60
|
+
* const count = new Signal.State(0);
|
|
61
|
+
* const doubled = new Signal.Computed(() => count.get() * 2);
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
declare class SignalComputed<T> implements AnySignal<T> {
|
|
65
|
+
/** @internal */
|
|
66
|
+
_node: Node<T>;
|
|
67
|
+
constructor(computation: () => T, opts?: SignalOptions);
|
|
68
|
+
get(): T;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* TC39 Signals-compatible namespace. Wraps GraphReFly primitives.
|
|
72
|
+
* Provides auto-tracking conforming to the TS39 signals proposal.
|
|
73
|
+
*
|
|
74
|
+
* @category compat
|
|
75
|
+
*/
|
|
76
|
+
declare const Signal: {
|
|
77
|
+
readonly State: typeof SignalState;
|
|
78
|
+
readonly Computed: typeof SignalComputed;
|
|
79
|
+
/**
|
|
80
|
+
* Subscribes to changes on a signal.
|
|
81
|
+
* Returns an unsubscribe callback.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```ts
|
|
85
|
+
* const count = new Signal.State(0);
|
|
86
|
+
* const unsub = Signal.sub(count, v => console.log(v));
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
readonly sub: <T>(signal: AnySignal<T>, callback: ((value: T) => void) | {
|
|
90
|
+
data?: (value: T) => void;
|
|
91
|
+
error?: (err: unknown) => void;
|
|
92
|
+
complete?: () => void;
|
|
93
|
+
}) => (() => void);
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
type index$1_AnySignal<T> = AnySignal<T>;
|
|
97
|
+
declare const index$1_Signal: typeof Signal;
|
|
98
|
+
type index$1_SignalComputed<T> = SignalComputed<T>;
|
|
99
|
+
declare const index$1_SignalComputed: typeof SignalComputed;
|
|
100
|
+
type index$1_SignalOptions = SignalOptions;
|
|
101
|
+
type index$1_SignalState<T> = SignalState<T>;
|
|
102
|
+
declare const index$1_SignalState: typeof SignalState;
|
|
103
|
+
declare namespace index$1 {
|
|
104
|
+
export { type index$1_AnySignal as AnySignal, index$1_Signal as Signal, index$1_SignalComputed as SignalComputed, type index$1_SignalOptions as SignalOptions, index$1_SignalState as SignalState };
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Compat layer: compatibility wrappers for other state management libraries (Phase 5.1b).
|
|
109
|
+
*
|
|
110
|
+
* Framework adapters are optional peers. Install only what you use:
|
|
111
|
+
* - `@graphrefly/graphrefly-ts/compat/react` -> `react`, `react-dom`
|
|
112
|
+
* - `@graphrefly/graphrefly-ts/compat/vue` -> `vue`
|
|
113
|
+
* - `@graphrefly/graphrefly-ts/compat/svelte` -> `svelte`
|
|
114
|
+
* - `@graphrefly/graphrefly-ts/compat/solid` -> `solid-js`
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
declare namespace index {
|
|
118
|
+
export { index$2 as jotai, index$3 as nanostores, index$4 as nestjs, index$5 as react, index$1 as signals, index$6 as solid, index$7 as svelte, index$8 as vue, index$9 as zustand };
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export { index$1 as a, index as i };
|
|
@@ -1,184 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
/** Pluggable measurement backend. */
|
|
5
|
-
interface MeasurementAdapter {
|
|
6
|
-
measureSegment(text: string, font: string): {
|
|
7
|
-
width: number;
|
|
8
|
-
};
|
|
9
|
-
/** Optional; adapters may omit for read-only / stateless measurement. */
|
|
10
|
-
clearCache?(): void;
|
|
11
|
-
}
|
|
12
|
-
/** Mutable counters for `analyzeAndMeasure` cache hit ratio (hits / (hits + misses)). */
|
|
13
|
-
type SegmentMeasureStats = {
|
|
14
|
-
hits: number;
|
|
15
|
-
misses: number;
|
|
16
|
-
};
|
|
17
|
-
/** Break kind for each segment (ported from Pretext analysis.ts). */
|
|
18
|
-
type SegmentBreakKind = "text" | "space" | "zero-width-break" | "soft-hyphen" | "hard-break";
|
|
19
|
-
/** A measured text segment ready for line breaking. */
|
|
20
|
-
type PreparedSegment = {
|
|
21
|
-
text: string;
|
|
22
|
-
width: number;
|
|
23
|
-
kind: SegmentBreakKind;
|
|
24
|
-
/** Grapheme widths for overflow-wrap: break-word (null if single grapheme). */
|
|
25
|
-
graphemeWidths: number[] | null;
|
|
26
|
-
};
|
|
27
|
-
/** A laid-out line with start/end cursors. */
|
|
28
|
-
type LayoutLine = {
|
|
29
|
-
text: string;
|
|
30
|
-
width: number;
|
|
31
|
-
startSegment: number;
|
|
32
|
-
startGrapheme: number;
|
|
33
|
-
endSegment: number;
|
|
34
|
-
endGrapheme: number;
|
|
35
|
-
};
|
|
36
|
-
/** Per-character position for hit testing. */
|
|
37
|
-
type CharPosition = {
|
|
38
|
-
x: number;
|
|
39
|
-
y: number;
|
|
40
|
-
width: number;
|
|
41
|
-
height: number;
|
|
42
|
-
line: number;
|
|
43
|
-
};
|
|
44
|
-
/** Full layout result from the line-breaks derived node. */
|
|
45
|
-
type LineBreaksResult = {
|
|
46
|
-
lines: LayoutLine[];
|
|
47
|
-
lineCount: number;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* A position within `PreparedSegment[]` — segment + grapheme offset.
|
|
51
|
-
* `graphemeIndex: 0` at segment boundaries.
|
|
52
|
-
*
|
|
53
|
-
* Used by {@link layoutNextLine} for cursor-based line walking; needed when
|
|
54
|
-
* lines have varying widths (multi-column flow, text wrapping around obstacles).
|
|
55
|
-
*/
|
|
56
|
-
type LayoutCursor = {
|
|
57
|
-
segmentIndex: number;
|
|
58
|
-
graphemeIndex: number;
|
|
59
|
-
};
|
|
60
|
-
/** A horizontal span `[left, right]` in pixels — used by flow-layout slot carving. */
|
|
61
|
-
type Interval = {
|
|
62
|
-
left: number;
|
|
63
|
-
right: number;
|
|
64
|
-
};
|
|
65
|
-
/** Result of a single `layoutNextLine` call. */
|
|
66
|
-
type LayoutNextLineResult = {
|
|
67
|
-
text: string;
|
|
68
|
-
width: number;
|
|
69
|
-
start: LayoutCursor;
|
|
70
|
-
end: LayoutCursor;
|
|
71
|
-
};
|
|
72
|
-
/** Optional context for `layoutNextLine` — enables soft-hyphen visible-hyphen rendering. */
|
|
73
|
-
type LayoutNextLineContext = {
|
|
74
|
-
adapter?: MeasurementAdapter;
|
|
75
|
-
font?: string;
|
|
76
|
-
cache?: Map<string, Map<string, number>>;
|
|
77
|
-
};
|
|
78
|
-
/** Result of the reactive layout graph's describe-accessible state. */
|
|
79
|
-
type ReactiveLayoutBundle = {
|
|
80
|
-
graph: Graph;
|
|
81
|
-
/** Set input text. */
|
|
82
|
-
setText: (text: string) => void;
|
|
83
|
-
/** Set CSS font string. */
|
|
84
|
-
setFont: (font: string) => void;
|
|
85
|
-
/** Set line height (px). */
|
|
86
|
-
setLineHeight: (lineHeight: number) => void;
|
|
87
|
-
/** Set max width constraint (px). */
|
|
88
|
-
setMaxWidth: (maxWidth: number) => void;
|
|
89
|
-
/** Segments node. */
|
|
90
|
-
segments: Node<PreparedSegment[]>;
|
|
91
|
-
/** Line breaks node. */
|
|
92
|
-
lineBreaks: Node<LineBreaksResult>;
|
|
93
|
-
/** Total height node. */
|
|
94
|
-
height: Node<number>;
|
|
95
|
-
/** Per-character positions node. */
|
|
96
|
-
charPositions: Node<CharPosition[]>;
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* Merge segmentation pieces: sticky punctuation, CJK per-grapheme splitting,
|
|
100
|
-
* and produce the final measured segment list.
|
|
101
|
-
*/
|
|
102
|
-
declare function analyzeAndMeasure(text: string, font: string, adapter: MeasurementAdapter, cache: Map<string, Map<string, number>>, stats?: SegmentMeasureStats): PreparedSegment[];
|
|
103
|
-
/**
|
|
104
|
-
* Greedy line-breaking algorithm.
|
|
105
|
-
*
|
|
106
|
-
* Walks segments left to right, accumulating width. Breaks when a segment would
|
|
107
|
-
* overflow maxWidth. Supports:
|
|
108
|
-
* - Trailing space hang (spaces don't trigger breaks)
|
|
109
|
-
* - overflow-wrap: break-word via grapheme widths
|
|
110
|
-
* - Soft hyphens (break opportunity, adds visible hyphen width)
|
|
111
|
-
* - Hard breaks (forced newline)
|
|
112
|
-
*/
|
|
113
|
-
declare function computeLineBreaks(segments: PreparedSegment[], maxWidth: number, adapter: MeasurementAdapter, font: string, cache: Map<string, Map<string, number>>): LineBreaksResult;
|
|
114
|
-
/**
|
|
115
|
-
* Lay out the next single line starting from `cursor`, fitting into `slotWidth`.
|
|
116
|
-
*
|
|
117
|
-
* Unlike `computeLineBreaks`, which consumes whole text with one `maxWidth`,
|
|
118
|
-
* this is the cursor-based primitive needed when successive lines have different
|
|
119
|
-
* widths (multi-column flow, text wrapping around shape obstacles, mixed
|
|
120
|
-
* column+pullquote layouts).
|
|
121
|
-
*
|
|
122
|
-
* Returns `null` when the cursor is past all segments (text exhausted).
|
|
123
|
-
* At a hard-break with no preceding content, returns an empty line and advances
|
|
124
|
-
* the cursor past the break so the caller can continue.
|
|
125
|
-
*
|
|
126
|
-
* ```ts
|
|
127
|
-
* let cursor: LayoutCursor = { segmentIndex: 0, graphemeIndex: 0 };
|
|
128
|
-
* while (true) {
|
|
129
|
-
* const line = layoutNextLine(segments, cursor, availableWidth);
|
|
130
|
-
* if (line === null) break;
|
|
131
|
-
* render(line);
|
|
132
|
-
* cursor = line.end;
|
|
133
|
-
* }
|
|
134
|
-
* ```
|
|
135
|
-
*/
|
|
136
|
-
declare function layoutNextLine(segments: PreparedSegment[], cursor: LayoutCursor, slotWidth: number, ctx?: LayoutNextLineContext): LayoutNextLineResult | null;
|
|
137
|
-
/**
|
|
138
|
-
* Subtract blocked horizontal intervals from a base interval, producing
|
|
139
|
-
* remaining ordered, non-overlapping slots wide enough to fit text.
|
|
140
|
-
*
|
|
141
|
-
* Pure geometry — no text dependency. Used by flow-layout to turn obstacle
|
|
142
|
-
* intersections into per-line layout slots.
|
|
143
|
-
*
|
|
144
|
-
* ```ts
|
|
145
|
-
* carveTextLineSlots({left: 0, right: 600}, [{left: 200, right: 280}])
|
|
146
|
-
* // → [{left: 0, right: 200}, {left: 280, right: 600}]
|
|
147
|
-
* ```
|
|
148
|
-
*/
|
|
149
|
-
declare function carveTextLineSlots(base: Interval, blocked: Interval[], minSlotWidth?: number): Interval[];
|
|
150
|
-
/** Compute per-character x,y positions from line breaks and segments. */
|
|
151
|
-
declare function computeCharPositions(lineBreaks: LineBreaksResult, segments: PreparedSegment[], lineHeight: number): CharPosition[];
|
|
152
|
-
type ReactiveLayoutOptions = {
|
|
153
|
-
/** Measurement backend (required). */
|
|
154
|
-
adapter: MeasurementAdapter;
|
|
155
|
-
/** Graph name (default: "reactive-layout"). */
|
|
156
|
-
name?: string;
|
|
157
|
-
/** Initial text. */
|
|
158
|
-
text?: string;
|
|
159
|
-
/** Initial CSS font string. */
|
|
160
|
-
font?: string;
|
|
161
|
-
/** Initial line height in px. */
|
|
162
|
-
lineHeight?: number;
|
|
163
|
-
/** Initial max width in px (clamped to ≥ 0). */
|
|
164
|
-
maxWidth?: number;
|
|
165
|
-
};
|
|
166
|
-
/**
|
|
167
|
-
* Create a reactive text layout graph.
|
|
168
|
-
*
|
|
169
|
-
* ```
|
|
170
|
-
* Graph("reactive-layout")
|
|
171
|
-
* ├── state("text")
|
|
172
|
-
* ├── state("font")
|
|
173
|
-
* ├── state("line-height")
|
|
174
|
-
* ├── state("max-width")
|
|
175
|
-
* ├── derived("segments") — text + font → PreparedSegment[]
|
|
176
|
-
* ├── derived("line-breaks") — segments + max-width → LineBreaksResult
|
|
177
|
-
* ├── derived("height") — line-breaks → number
|
|
178
|
-
* └── derived("char-positions") — line-breaks + segments → CharPosition[]
|
|
179
|
-
* ```
|
|
180
|
-
*/
|
|
181
|
-
declare function reactiveLayout(opts: ReactiveLayoutOptions): ReactiveLayoutBundle;
|
|
1
|
+
import { M as MeasurementAdapter, P as PreparedSegment, L as LineBreaksResult, C as CharPosition, a as LayoutCursor, I as Interval, b as LayoutLine, c as LayoutNextLineContext, d as LayoutNextLineResult, R as ReactiveLayoutBundle, e as ReactiveLayoutOptions, S as SegmentBreakKind, f as SegmentMeasureStats, g as analyzeAndMeasure, h as carveTextLineSlots, i as computeCharPositions, j as computeLineBreaks, l as layoutNextLine, r as reactiveLayout } from './reactive-layout-D9gejYXE.js';
|
|
2
|
+
import { N as Node } from './node-C_IBuvX2.js';
|
|
3
|
+
import { G as Graph } from './graph-DQ69XU0g.js';
|
|
182
4
|
|
|
183
5
|
/**
|
|
184
6
|
* MeasurementAdapter implementations (roadmap §7.1 — pluggable backends).
|
|
@@ -606,7 +428,7 @@ type index_CanvasMeasureAdapter = CanvasMeasureAdapter;
|
|
|
606
428
|
declare const index_CanvasMeasureAdapter: typeof CanvasMeasureAdapter;
|
|
607
429
|
type index_CanvasMeasureAdapterOptions = CanvasMeasureAdapterOptions;
|
|
608
430
|
type index_CanvasModule = CanvasModule;
|
|
609
|
-
|
|
431
|
+
declare const index_CharPosition: typeof CharPosition;
|
|
610
432
|
type index_CircleObstacle = CircleObstacle;
|
|
611
433
|
type index_CliMeasureAdapter = CliMeasureAdapter;
|
|
612
434
|
declare const index_CliMeasureAdapter: typeof CliMeasureAdapter;
|
|
@@ -618,14 +440,14 @@ type index_FlowLinesResult = FlowLinesResult;
|
|
|
618
440
|
type index_ImageMeasurer = ImageMeasurer;
|
|
619
441
|
type index_ImageSizeAdapter = ImageSizeAdapter;
|
|
620
442
|
declare const index_ImageSizeAdapter: typeof ImageSizeAdapter;
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
443
|
+
declare const index_Interval: typeof Interval;
|
|
444
|
+
declare const index_LayoutCursor: typeof LayoutCursor;
|
|
445
|
+
declare const index_LayoutLine: typeof LayoutLine;
|
|
446
|
+
declare const index_LayoutNextLineContext: typeof LayoutNextLineContext;
|
|
447
|
+
declare const index_LayoutNextLineResult: typeof LayoutNextLineResult;
|
|
448
|
+
declare const index_LineBreaksResult: typeof LineBreaksResult;
|
|
627
449
|
type index_MeasuredBlock = MeasuredBlock;
|
|
628
|
-
|
|
450
|
+
declare const index_MeasurementAdapter: typeof MeasurementAdapter;
|
|
629
451
|
type index_NodeCanvasMeasureAdapter = NodeCanvasMeasureAdapter;
|
|
630
452
|
declare const index_NodeCanvasMeasureAdapter: typeof NodeCanvasMeasureAdapter;
|
|
631
453
|
type index_Obstacle = Obstacle;
|
|
@@ -634,16 +456,16 @@ type index_PositionedLine = PositionedLine;
|
|
|
634
456
|
type index_PrecomputedAdapter = PrecomputedAdapter;
|
|
635
457
|
declare const index_PrecomputedAdapter: typeof PrecomputedAdapter;
|
|
636
458
|
type index_PrecomputedAdapterOptions = PrecomputedAdapterOptions;
|
|
637
|
-
|
|
459
|
+
declare const index_PreparedSegment: typeof PreparedSegment;
|
|
638
460
|
type index_ReactiveBlockLayoutBundle = ReactiveBlockLayoutBundle;
|
|
639
461
|
type index_ReactiveBlockLayoutOptions = ReactiveBlockLayoutOptions;
|
|
640
462
|
type index_ReactiveFlowLayoutBundle = ReactiveFlowLayoutBundle;
|
|
641
463
|
type index_ReactiveFlowLayoutOptions = ReactiveFlowLayoutOptions;
|
|
642
|
-
|
|
643
|
-
|
|
464
|
+
declare const index_ReactiveLayoutBundle: typeof ReactiveLayoutBundle;
|
|
465
|
+
declare const index_ReactiveLayoutOptions: typeof ReactiveLayoutOptions;
|
|
644
466
|
type index_RectObstacle = RectObstacle;
|
|
645
|
-
|
|
646
|
-
|
|
467
|
+
declare const index_SegmentBreakKind: typeof SegmentBreakKind;
|
|
468
|
+
declare const index_SegmentMeasureStats: typeof SegmentMeasureStats;
|
|
647
469
|
type index_SvgBoundsAdapter = SvgBoundsAdapter;
|
|
648
470
|
declare const index_SvgBoundsAdapter: typeof SvgBoundsAdapter;
|
|
649
471
|
type index_SvgMeasurer = SvgMeasurer;
|
|
@@ -663,7 +485,7 @@ declare const index_reactiveFlowLayout: typeof reactiveFlowLayout;
|
|
|
663
485
|
declare const index_reactiveLayout: typeof reactiveLayout;
|
|
664
486
|
declare const index_rectIntervalForBand: typeof rectIntervalForBand;
|
|
665
487
|
declare namespace index {
|
|
666
|
-
export { type index_BlockAdapters as BlockAdapters, index_CanvasMeasureAdapter as CanvasMeasureAdapter, type index_CanvasMeasureAdapterOptions as CanvasMeasureAdapterOptions, type index_CanvasModule as CanvasModule,
|
|
488
|
+
export { type index_BlockAdapters as BlockAdapters, index_CanvasMeasureAdapter as CanvasMeasureAdapter, type index_CanvasMeasureAdapterOptions as CanvasMeasureAdapterOptions, type index_CanvasModule as CanvasModule, index_CharPosition as CharPosition, type index_CircleObstacle as CircleObstacle, index_CliMeasureAdapter as CliMeasureAdapter, type index_CliMeasureAdapterOptions as CliMeasureAdapterOptions, type index_ContentBlock as ContentBlock, type index_FlowColumns as FlowColumns, type index_FlowContainer as FlowContainer, type index_FlowLinesResult as FlowLinesResult, type index_ImageMeasurer as ImageMeasurer, index_ImageSizeAdapter as ImageSizeAdapter, index_Interval as Interval, index_LayoutCursor as LayoutCursor, index_LayoutLine as LayoutLine, index_LayoutNextLineContext as LayoutNextLineContext, index_LayoutNextLineResult as LayoutNextLineResult, index_LineBreaksResult as LineBreaksResult, type index_MeasuredBlock as MeasuredBlock, index_MeasurementAdapter as MeasurementAdapter, index_NodeCanvasMeasureAdapter as NodeCanvasMeasureAdapter, type index_Obstacle as Obstacle, type index_PositionedBlock as PositionedBlock, type index_PositionedLine as PositionedLine, index_PrecomputedAdapter as PrecomputedAdapter, type index_PrecomputedAdapterOptions as PrecomputedAdapterOptions, index_PreparedSegment as PreparedSegment, type index_ReactiveBlockLayoutBundle as ReactiveBlockLayoutBundle, type index_ReactiveBlockLayoutOptions as ReactiveBlockLayoutOptions, type index_ReactiveFlowLayoutBundle as ReactiveFlowLayoutBundle, type index_ReactiveFlowLayoutOptions as ReactiveFlowLayoutOptions, index_ReactiveLayoutBundle as ReactiveLayoutBundle, index_ReactiveLayoutOptions as ReactiveLayoutOptions, type index_RectObstacle as RectObstacle, index_SegmentBreakKind as SegmentBreakKind, index_SegmentMeasureStats as SegmentMeasureStats, index_SvgBoundsAdapter as SvgBoundsAdapter, type index_SvgMeasurer as SvgMeasurer, index_analyzeAndMeasure as analyzeAndMeasure, index_carveTextLineSlots as carveTextLineSlots, index_circleIntervalForBand as circleIntervalForBand, index_computeBlockFlow as computeBlockFlow, index_computeCharPositions as computeCharPositions, index_computeFlowLines as computeFlowLines, index_computeLineBreaks as computeLineBreaks, index_computeTotalHeight as computeTotalHeight, index_layoutNextLine as layoutNextLine, index_measureBlock as measureBlock, index_measureBlocks as measureBlocks, index_reactiveBlockLayout as reactiveBlockLayout, index_reactiveFlowLayout as reactiveFlowLayout, index_reactiveLayout as reactiveLayout, index_rectIntervalForBand as rectIntervalForBand };
|
|
667
489
|
}
|
|
668
490
|
|
|
669
|
-
export {
|
|
491
|
+
export { rectIntervalForBand as A, type BlockAdapters as B, CanvasMeasureAdapter as C, type FlowColumns as F, type ImageMeasurer as I, type MeasuredBlock as M, NodeCanvasMeasureAdapter as N, type Obstacle as O, type PositionedBlock as P, type ReactiveBlockLayoutBundle as R, SvgBoundsAdapter as S, type CanvasMeasureAdapterOptions as a, type CanvasModule as b, type CircleObstacle as c, CliMeasureAdapter as d, type CliMeasureAdapterOptions as e, type ContentBlock as f, type FlowContainer as g, type FlowLinesResult as h, index as i, ImageSizeAdapter as j, type PositionedLine as k, PrecomputedAdapter as l, type PrecomputedAdapterOptions as m, type ReactiveBlockLayoutOptions as n, type ReactiveFlowLayoutBundle as o, type ReactiveFlowLayoutOptions as p, type RectObstacle as q, type SvgMeasurer as r, circleIntervalForBand as s, computeBlockFlow as t, computeFlowLines as u, computeTotalHeight as v, measureBlock as w, measureBlocks as x, reactiveBlockLayout as y, reactiveFlowLayout as z };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Ref, WatchSource } from 'vue';
|
|
2
|
+
import { N as Node } from './node-C_IBuvX2.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Subscribe to a read-only `Node<T>` as a Vue `Ref<T>`. Auto-unsubscribes on scope disposal.
|
|
6
|
+
* Subscription lifecycle is tied to Vue scope disposal (not node terminal messages).
|
|
7
|
+
*/
|
|
8
|
+
declare function useSubscribe<T>(node: Node<T>): Readonly<Ref<T | undefined | null>>;
|
|
9
|
+
/**
|
|
10
|
+
* Bind a writable `Node<T>` as a Vue `Ref<T>`. Reads and writes are bidirectional.
|
|
11
|
+
* Value sets always dispatch `[[DIRTY], [DATA, value]]`, including `value === undefined`.
|
|
12
|
+
* Subscription lifecycle is tied to Vue scope disposal (not node terminal messages).
|
|
13
|
+
*/
|
|
14
|
+
declare function useStore<T>(node: Node<T>): Ref<T | undefined | null>;
|
|
15
|
+
/** Maps a key to an object of nodes. Used by `useSubscribeRecord` factory. */
|
|
16
|
+
type NodeFactory<K, R extends Record<string, any>> = (key: K) => {
|
|
17
|
+
[P in keyof R]: Node<R[P]>;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Subscribe to a dynamic set of keyed node records. When keys change,
|
|
21
|
+
* old subscriptions are torn down and new ones created automatically.
|
|
22
|
+
* Must be called during Vue `setup()`.
|
|
23
|
+
*/
|
|
24
|
+
declare function useSubscribeRecord<K extends string, R extends Record<string, any>>(keys: WatchSource<K[] | undefined>, factory: NodeFactory<K, R>): Readonly<Ref<Record<K, R>>>;
|
|
25
|
+
|
|
26
|
+
type index_NodeFactory<K, R extends Record<string, any>> = NodeFactory<K, R>;
|
|
27
|
+
declare const index_useStore: typeof useStore;
|
|
28
|
+
declare const index_useSubscribe: typeof useSubscribe;
|
|
29
|
+
declare const index_useSubscribeRecord: typeof useSubscribeRecord;
|
|
30
|
+
declare namespace index {
|
|
31
|
+
export { type index_NodeFactory as NodeFactory, index_useStore as useStore, index_useSubscribe as useSubscribe, index_useSubscribeRecord as useSubscribeRecord };
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { type NodeFactory as N, useSubscribe as a, useSubscribeRecord as b, index as i, useStore as u };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { N as Node } from './node-C_IBuvX2.cjs';
|
|
2
|
+
|
|
3
|
+
/** Solid accessor function — returns current value when called. */
|
|
4
|
+
type Accessor<T> = () => T;
|
|
5
|
+
/**
|
|
6
|
+
* Subscribe to a `Node<T>` as a Solid signal. Auto-cleans up with the owning scope.
|
|
7
|
+
* Subscription lifecycle is tied to Solid scope cleanup (not node terminal messages).
|
|
8
|
+
*/
|
|
9
|
+
declare function useSubscribe<T>(node: Node<T>): Accessor<T | undefined | null>;
|
|
10
|
+
/**
|
|
11
|
+
* Bind a writable `Node<T>` as a Solid resource tuple `[accessor, setter]`.
|
|
12
|
+
* Setter always forwards `[[DIRTY], [DATA, value]]`, including `value === undefined`.
|
|
13
|
+
* Subscription lifecycle is tied to Solid scope cleanup (not node terminal messages).
|
|
14
|
+
*/
|
|
15
|
+
declare function useStore<T>(node: Node<T>): [Accessor<T | undefined | null>, (v: T) => void];
|
|
16
|
+
/** Maps a key to an object of nodes. Used by `useSubscribeRecord`. */
|
|
17
|
+
type NodeFactory<K, R extends Record<string, any>> = (key: K) => {
|
|
18
|
+
[P in keyof R]: Node<R[P]>;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Subscribe to a dynamic set of keyed node records as a Solid accessor.
|
|
22
|
+
* Re-subscribes all per-key fields whenever `keys` changes.
|
|
23
|
+
* Key re-sync is gated to settled batches (`messageTier >= 3`) to avoid DIRTY-phase churn.
|
|
24
|
+
*/
|
|
25
|
+
declare function useSubscribeRecord<K extends string, R extends Record<string, any>>(keysNode: Node<K[]>, factory: NodeFactory<K, R>): Accessor<Record<K, R>>;
|
|
26
|
+
|
|
27
|
+
type index_Accessor<T> = Accessor<T>;
|
|
28
|
+
type index_NodeFactory<K, R extends Record<string, any>> = NodeFactory<K, R>;
|
|
29
|
+
declare const index_useStore: typeof useStore;
|
|
30
|
+
declare const index_useSubscribe: typeof useSubscribe;
|
|
31
|
+
declare const index_useSubscribeRecord: typeof useSubscribeRecord;
|
|
32
|
+
declare namespace index {
|
|
33
|
+
export { type index_Accessor as Accessor, type index_NodeFactory as NodeFactory, index_useStore as useStore, index_useSubscribe as useSubscribe, index_useSubscribeRecord as useSubscribeRecord };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { type Accessor as A, type NodeFactory as N, useSubscribe as a, useSubscribeRecord as b, index as i, useStore as u };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { N as Node } from './node-C_IBuvX2.cjs';
|
|
2
|
+
|
|
3
|
+
/** Svelte store contract — implements the minimal `subscribe` method. */
|
|
4
|
+
interface SvelteReadable<T> {
|
|
5
|
+
subscribe(run: (value: T) => void): () => void;
|
|
6
|
+
}
|
|
7
|
+
/** Svelte writable store contract. */
|
|
8
|
+
interface SvelteWritable<T> extends SvelteReadable<T> {
|
|
9
|
+
set(value: T): void;
|
|
10
|
+
update(updater: (value: T) => T): void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Subscribe to a `Node<T>` as a Svelte readable store (implements Svelte store contract).
|
|
14
|
+
* Subscription lifecycle is tied to Svelte store unsubscription (not node terminal messages).
|
|
15
|
+
*/
|
|
16
|
+
declare function useSubscribe<T>(node: Node<T>): SvelteReadable<T | undefined | null>;
|
|
17
|
+
/**
|
|
18
|
+
* Bind a writable `Node<T>` as a Svelte writable store.
|
|
19
|
+
* Reads and writes adapt seamlessly.
|
|
20
|
+
* Setter/update always forward `[[DIRTY], [DATA, value]]`, including `value === undefined`.
|
|
21
|
+
* Subscription lifecycle is tied to Svelte store unsubscription (not node terminal messages).
|
|
22
|
+
*/
|
|
23
|
+
declare function useStore<T>(node: Node<T>): SvelteWritable<T | undefined | null>;
|
|
24
|
+
/** Maps a key to an object of nodes. Used by `useSubscribeRecord`. */
|
|
25
|
+
type NodeFactory<K, R extends Record<string, any>> = (key: K) => {
|
|
26
|
+
[P in keyof R]: Node<R[P]>;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Subscribe to a dynamic keyed record of nodes as a Svelte readable store.
|
|
30
|
+
* Re-subscribes all per-key fields whenever `keysNode` changes.
|
|
31
|
+
* Key re-sync is gated to settled batches (`messageTier >= 3`) to avoid DIRTY-phase churn.
|
|
32
|
+
*/
|
|
33
|
+
declare function useSubscribeRecord<K extends string, R extends Record<string, any>>(keysNode: Node<K[]>, factory: NodeFactory<K, R>): SvelteReadable<Record<K, R>>;
|
|
34
|
+
|
|
35
|
+
type index_NodeFactory<K, R extends Record<string, any>> = NodeFactory<K, R>;
|
|
36
|
+
type index_SvelteReadable<T> = SvelteReadable<T>;
|
|
37
|
+
type index_SvelteWritable<T> = SvelteWritable<T>;
|
|
38
|
+
declare const index_useStore: typeof useStore;
|
|
39
|
+
declare const index_useSubscribe: typeof useSubscribe;
|
|
40
|
+
declare const index_useSubscribeRecord: typeof useSubscribeRecord;
|
|
41
|
+
declare namespace index {
|
|
42
|
+
export { type index_NodeFactory as NodeFactory, type index_SvelteReadable as SvelteReadable, type index_SvelteWritable as SvelteWritable, index_useStore as useStore, index_useSubscribe as useSubscribe, index_useSubscribeRecord as useSubscribeRecord };
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { type NodeFactory as N, type SvelteReadable as S, type SvelteWritable as a, useSubscribe as b, useSubscribeRecord as c, index as i, useStore as u };
|