@vizejs/composable 0.345.0 → 0.347.7
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/abort-signal.d.mts +96 -0
- package/dist/abort-signal.mjs +203 -0
- package/dist/async-resource.d.mts +97 -0
- package/dist/async-resource.mjs +99 -0
- package/dist/capability-BNpkvSy5.d.mts +93 -0
- package/dist/capability.d.mts +2 -0
- package/dist/capability.mjs +37 -0
- package/dist/catalog-CuWhR-0q.d.mts +506 -0
- package/dist/catalog-DOXTbk4r.mjs +529 -0
- package/dist/catalog.d.mts +2 -0
- package/dist/catalog.mjs +2 -0
- package/dist/disposal-scope.d.mts +93 -0
- package/dist/disposal-scope.mjs +119 -0
- package/dist/event-listener.d.mts +85 -0
- package/dist/event-listener.mjs +55 -0
- package/dist/index.d.mts +19 -786
- package/dist/index.mjs +19 -751
- package/dist/locale.d.mts +65 -0
- package/dist/locale.mjs +72 -0
- package/dist/media-query.d.mts +56 -0
- package/dist/media-query.mjs +56 -0
- package/dist/retry-async.d.mts +91 -0
- package/dist/retry-async.mjs +136 -0
- package/dist/retry-delay.d.mts +73 -0
- package/dist/retry-delay.mjs +50 -0
- package/dist/scope.d.mts +18 -0
- package/dist/scope.mjs +23 -0
- package/dist/timeout-scheduler.d.mts +18 -0
- package/dist/timeout-scheduler.mjs +1 -0
- package/dist/use-counter.d.mts +91 -0
- package/dist/use-counter.mjs +67 -0
- package/dist/use-debounced.d.mts +87 -0
- package/dist/use-debounced.mjs +98 -0
- package/dist/use-history.d.mts +105 -0
- package/dist/use-history.mjs +137 -0
- package/dist/use-previous.d.mts +43 -0
- package/dist/use-previous.mjs +11 -0
- package/dist/use-throttled.d.mts +107 -0
- package/dist/use-throttled.mjs +124 -0
- package/dist/use-toggle.d.mts +45 -0
- package/dist/use-toggle.mjs +34 -0
- package/package.json +91 -1
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
import { i as CapabilityTarget } from "./capability-BNpkvSy5.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/catalog-schema.d.ts
|
|
4
|
+
/** Release maturity attached to every catalogued composable. */
|
|
5
|
+
type ComposableStability = "experimental" | "stable" | "deprecated";
|
|
6
|
+
/** Functional area used to group composables in documentation and tooling. */
|
|
7
|
+
type ComposableCategory = "async" | "capability" | "events" | "i18n" | "lifecycle" | "media" | "networking" | "performance" | "state" | "storage" | "system" | "timing";
|
|
8
|
+
/** Server-rendering behavior of a composable when invoked without a browser. */
|
|
9
|
+
type ComposableSsrBehavior = "safe" | "deterministic-fallback" | "unsupported";
|
|
10
|
+
/** Hydration responsibility associated with a composable's initial value. */
|
|
11
|
+
type ComposableHydrationBehavior = "stable" | "caller-managed" | "not-applicable";
|
|
12
|
+
/** Party that can release resources retained by a composable. */
|
|
13
|
+
type ComposableCleanupOwner = "none" | "caller" | "reactive-scope" | "returned-value";
|
|
14
|
+
/** Availability of one supported installation route. */
|
|
15
|
+
type ComposableInstallationAvailability = {
|
|
16
|
+
/** The installation route can be used in the current release. */readonly status: "available"; /** User-facing package or command specifier for the route. */
|
|
17
|
+
readonly specifier: string;
|
|
18
|
+
} | {
|
|
19
|
+
/** The installation route has not been implemented yet. */readonly status: "unavailable"; /** Stable explanation suitable for generated documentation. */
|
|
20
|
+
readonly reason: string;
|
|
21
|
+
};
|
|
22
|
+
/** Metadata for the aggregate package entry. */
|
|
23
|
+
interface ComposableRootEntryMetadata {
|
|
24
|
+
/** Export-map key for the aggregate entry. */
|
|
25
|
+
readonly subpath: ".";
|
|
26
|
+
/** Repository-relative source module used to build the entry. */
|
|
27
|
+
readonly source: "src/index.ts";
|
|
28
|
+
/** How the aggregate compressed-size budget is calculated. */
|
|
29
|
+
readonly gzipBudget: "sum-of-reexported-entry-budgets";
|
|
30
|
+
/** Feature entries re-exported by the aggregate entry. */
|
|
31
|
+
readonly reexportedEntries: readonly `./${string}`[];
|
|
32
|
+
/** Entries kept subpath-only to isolate comparatively heavy dependencies. */
|
|
33
|
+
readonly isolatedEntries: readonly `./${string}`[];
|
|
34
|
+
}
|
|
35
|
+
/** Metadata for one independently importable package subpath. */
|
|
36
|
+
interface ComposableEntryMetadata {
|
|
37
|
+
/** Export-map key, including the leading `./`. */
|
|
38
|
+
readonly subpath: `./${string}`;
|
|
39
|
+
/** Repository-relative source module used to build the entry. */
|
|
40
|
+
readonly source: `src/${string}.ts`;
|
|
41
|
+
/** Maximum gzip bytes for the entry's complete emitted module closure. */
|
|
42
|
+
readonly gzipBudgetBytes: number;
|
|
43
|
+
/** Exact JavaScript exports emitted by this entry. */
|
|
44
|
+
readonly runtimeExports: readonly string[];
|
|
45
|
+
/** Runtime utility names implemented by this entry. */
|
|
46
|
+
readonly utilities: readonly string[];
|
|
47
|
+
}
|
|
48
|
+
/** Operational metadata for one public runtime utility. */
|
|
49
|
+
interface ComposableUtilityMetadata {
|
|
50
|
+
/** Exact public export name. */
|
|
51
|
+
readonly name: string;
|
|
52
|
+
/** Package subpath that owns the utility's implementation. */
|
|
53
|
+
readonly entry: `./${string}`;
|
|
54
|
+
/** Functional documentation group. */
|
|
55
|
+
readonly category: ComposableCategory;
|
|
56
|
+
/** Release maturity of the current contract. */
|
|
57
|
+
readonly stability: ComposableStability;
|
|
58
|
+
/** Runtime families in which the utility is designed to operate. */
|
|
59
|
+
readonly targets: readonly CapabilityTarget[];
|
|
60
|
+
/** Behavior when called during server rendering. */
|
|
61
|
+
readonly ssr: ComposableSsrBehavior;
|
|
62
|
+
/** Initial-value responsibility at the hydration boundary. */
|
|
63
|
+
readonly hydration: ComposableHydrationBehavior;
|
|
64
|
+
/** Parties capable of releasing resources created by the utility. */
|
|
65
|
+
readonly cleanupOwners: readonly ComposableCleanupOwner[];
|
|
66
|
+
/** Host capability globals read at call time, excluding language intrinsics. */
|
|
67
|
+
readonly runtimeGlobals: readonly string[];
|
|
68
|
+
/** Other catalogued utilities called by this implementation. */
|
|
69
|
+
readonly dependencies: readonly string[];
|
|
70
|
+
}
|
|
71
|
+
/** Machine-readable public contract for the composable package. */
|
|
72
|
+
interface ComposableCatalog {
|
|
73
|
+
/** Schema version for catalog consumers. */
|
|
74
|
+
readonly schemaVersion: 1;
|
|
75
|
+
/** Compatibility promise for the schema rather than individual utilities. */
|
|
76
|
+
readonly catalogStability: "stable";
|
|
77
|
+
/** Published package name. */
|
|
78
|
+
readonly packageName: "@vizejs/composable";
|
|
79
|
+
/** Canonical ordering of supported runtime families. */
|
|
80
|
+
readonly targets: readonly CapabilityTarget[];
|
|
81
|
+
/** Availability of package-manager installation. */
|
|
82
|
+
readonly packageInstallation: ComposableInstallationAvailability;
|
|
83
|
+
/** Availability of source-copy installation. */
|
|
84
|
+
readonly sourceInstallation: ComposableInstallationAvailability;
|
|
85
|
+
/** Aggregate package entry and its budget policy. */
|
|
86
|
+
readonly rootEntry: ComposableRootEntryMetadata;
|
|
87
|
+
/** Independently importable entries in export-map order. */
|
|
88
|
+
readonly entries: readonly ComposableEntryMetadata[];
|
|
89
|
+
/** Public runtime utilities in entry and source order. */
|
|
90
|
+
readonly utilities: readonly ComposableUtilityMetadata[];
|
|
91
|
+
}
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region src/catalog.d.ts
|
|
94
|
+
/**
|
|
95
|
+
* Complete, serializable catalog of the package's public runtime surface.
|
|
96
|
+
*
|
|
97
|
+
* This value is the source of truth for export-map conformance and compressed
|
|
98
|
+
* size gates. It intentionally contains data only: importing the module reads
|
|
99
|
+
* no host globals, creates no subscriptions, and starts no work. Utilities
|
|
100
|
+
* remain marked experimental while the package is pre-1.0. Source-copy
|
|
101
|
+
* installation is reported as unavailable until a deterministic installer
|
|
102
|
+
* with update provenance exists.
|
|
103
|
+
*/
|
|
104
|
+
declare const COMPOSABLE_CATALOG: {
|
|
105
|
+
readonly schemaVersion: 1;
|
|
106
|
+
readonly catalogStability: "stable";
|
|
107
|
+
readonly packageName: "@vizejs/composable";
|
|
108
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
109
|
+
readonly packageInstallation: {
|
|
110
|
+
readonly status: "available";
|
|
111
|
+
readonly specifier: "@vizejs/composable";
|
|
112
|
+
};
|
|
113
|
+
readonly sourceInstallation: {
|
|
114
|
+
readonly status: "unavailable";
|
|
115
|
+
readonly reason: "A provenance-preserving source-copy installer is not implemented.";
|
|
116
|
+
};
|
|
117
|
+
readonly rootEntry: {
|
|
118
|
+
readonly subpath: ".";
|
|
119
|
+
readonly source: "src/index.ts";
|
|
120
|
+
readonly gzipBudget: "sum-of-reexported-entry-budgets";
|
|
121
|
+
readonly reexportedEntries: readonly ["./abort-signal", "./async-resource", "./capability", "./catalog", "./disposal-scope", "./event-listener", "./locale", "./media-query", "./retry-async", "./retry-delay", "./scope", "./timeout-scheduler", "./use-counter", "./use-debounced", "./use-history", "./use-previous", "./use-throttled", "./use-toggle"];
|
|
122
|
+
readonly isolatedEntries: readonly ["./temporal"];
|
|
123
|
+
};
|
|
124
|
+
readonly entries: readonly [{
|
|
125
|
+
readonly subpath: "./abort-signal";
|
|
126
|
+
readonly source: "src/abort-signal.ts";
|
|
127
|
+
readonly gzipBudgetBytes: number;
|
|
128
|
+
readonly runtimeExports: readonly ["anyAbortSignal", "timeoutAbortSignal", "deadlineAbortSignal"];
|
|
129
|
+
readonly utilities: readonly ["anyAbortSignal", "timeoutAbortSignal", "deadlineAbortSignal"];
|
|
130
|
+
}, {
|
|
131
|
+
readonly subpath: "./async-resource";
|
|
132
|
+
readonly source: "src/async-resource.ts";
|
|
133
|
+
readonly gzipBudgetBytes: number;
|
|
134
|
+
readonly runtimeExports: readonly ["useAsyncResource"];
|
|
135
|
+
readonly utilities: readonly ["useAsyncResource"];
|
|
136
|
+
}, {
|
|
137
|
+
readonly subpath: "./capability";
|
|
138
|
+
readonly source: "src/capability.ts";
|
|
139
|
+
readonly gzipBudgetBytes: 1024;
|
|
140
|
+
readonly runtimeExports: readonly ["availableCapability", "unavailableCapability", "isCapabilityAvailable", "isCapabilityUnavailable"];
|
|
141
|
+
readonly utilities: readonly ["availableCapability", "unavailableCapability", "isCapabilityAvailable", "isCapabilityUnavailable"];
|
|
142
|
+
}, {
|
|
143
|
+
readonly subpath: "./catalog";
|
|
144
|
+
readonly source: "src/catalog.ts";
|
|
145
|
+
readonly gzipBudgetBytes: number;
|
|
146
|
+
readonly runtimeExports: readonly ["COMPOSABLE_CATALOG"];
|
|
147
|
+
readonly utilities: readonly [];
|
|
148
|
+
}, {
|
|
149
|
+
readonly subpath: "./disposal-scope";
|
|
150
|
+
readonly source: "src/disposal-scope.ts";
|
|
151
|
+
readonly gzipBudgetBytes: number;
|
|
152
|
+
readonly runtimeExports: readonly ["DISPOSAL_ERROR_CODE", "DisposalError", "createDisposalScope"];
|
|
153
|
+
readonly utilities: readonly ["createDisposalScope"];
|
|
154
|
+
}, {
|
|
155
|
+
readonly subpath: "./event-listener";
|
|
156
|
+
readonly source: "src/event-listener.ts";
|
|
157
|
+
readonly gzipBudgetBytes: number;
|
|
158
|
+
readonly runtimeExports: readonly ["useEventListener"];
|
|
159
|
+
readonly utilities: readonly ["useEventListener"];
|
|
160
|
+
}, {
|
|
161
|
+
readonly subpath: "./locale";
|
|
162
|
+
readonly source: "src/locale.ts";
|
|
163
|
+
readonly gzipBudgetBytes: number;
|
|
164
|
+
readonly runtimeExports: readonly ["useLocale"];
|
|
165
|
+
readonly utilities: readonly ["useLocale"];
|
|
166
|
+
}, {
|
|
167
|
+
readonly subpath: "./media-query";
|
|
168
|
+
readonly source: "src/media-query.ts";
|
|
169
|
+
readonly gzipBudgetBytes: 1024;
|
|
170
|
+
readonly runtimeExports: readonly ["useMediaQuery", "useReducedMotion"];
|
|
171
|
+
readonly utilities: readonly ["useMediaQuery", "useReducedMotion"];
|
|
172
|
+
}, {
|
|
173
|
+
readonly subpath: "./retry-async";
|
|
174
|
+
readonly source: "src/retry-async.ts";
|
|
175
|
+
readonly gzipBudgetBytes: number;
|
|
176
|
+
readonly runtimeExports: readonly ["retryAsync"];
|
|
177
|
+
readonly utilities: readonly ["retryAsync"];
|
|
178
|
+
}, {
|
|
179
|
+
readonly subpath: "./retry-delay";
|
|
180
|
+
readonly source: "src/retry-delay.ts";
|
|
181
|
+
readonly gzipBudgetBytes: number;
|
|
182
|
+
readonly runtimeExports: readonly ["calculateRetryDelay"];
|
|
183
|
+
readonly utilities: readonly ["calculateRetryDelay"];
|
|
184
|
+
}, {
|
|
185
|
+
readonly subpath: "./scope";
|
|
186
|
+
readonly source: "src/scope.ts";
|
|
187
|
+
readonly gzipBudgetBytes: number;
|
|
188
|
+
readonly runtimeExports: readonly ["tryOnScopeDispose"];
|
|
189
|
+
readonly utilities: readonly ["tryOnScopeDispose"];
|
|
190
|
+
}, {
|
|
191
|
+
readonly subpath: "./temporal";
|
|
192
|
+
readonly source: "src/temporal.ts";
|
|
193
|
+
readonly gzipBudgetBytes: number;
|
|
194
|
+
readonly runtimeExports: readonly ["Temporal", "TemporalIntl", "useTemporalNow", "useTemporalZonedDateTime"];
|
|
195
|
+
readonly utilities: readonly ["useTemporalNow", "useTemporalZonedDateTime"];
|
|
196
|
+
}, {
|
|
197
|
+
readonly subpath: "./timeout-scheduler";
|
|
198
|
+
readonly source: "src/timeout-scheduler.ts";
|
|
199
|
+
readonly gzipBudgetBytes: number;
|
|
200
|
+
readonly runtimeExports: readonly [];
|
|
201
|
+
readonly utilities: readonly [];
|
|
202
|
+
}, {
|
|
203
|
+
readonly subpath: "./use-counter";
|
|
204
|
+
readonly source: "src/use-counter.ts";
|
|
205
|
+
readonly gzipBudgetBytes: number;
|
|
206
|
+
readonly runtimeExports: readonly ["useCounter"];
|
|
207
|
+
readonly utilities: readonly ["useCounter"];
|
|
208
|
+
}, {
|
|
209
|
+
readonly subpath: "./use-debounced";
|
|
210
|
+
readonly source: "src/use-debounced.ts";
|
|
211
|
+
readonly gzipBudgetBytes: number;
|
|
212
|
+
readonly runtimeExports: readonly ["useDebounced"];
|
|
213
|
+
readonly utilities: readonly ["useDebounced"];
|
|
214
|
+
}, {
|
|
215
|
+
readonly subpath: "./use-history";
|
|
216
|
+
readonly source: "src/use-history.ts";
|
|
217
|
+
readonly gzipBudgetBytes: number;
|
|
218
|
+
readonly runtimeExports: readonly ["useHistory"];
|
|
219
|
+
readonly utilities: readonly ["useHistory"];
|
|
220
|
+
}, {
|
|
221
|
+
readonly subpath: "./use-previous";
|
|
222
|
+
readonly source: "src/use-previous.ts";
|
|
223
|
+
readonly gzipBudgetBytes: 1024;
|
|
224
|
+
readonly runtimeExports: readonly ["usePrevious"];
|
|
225
|
+
readonly utilities: readonly ["usePrevious"];
|
|
226
|
+
}, {
|
|
227
|
+
readonly subpath: "./use-throttled";
|
|
228
|
+
readonly source: "src/use-throttled.ts";
|
|
229
|
+
readonly gzipBudgetBytes: number;
|
|
230
|
+
readonly runtimeExports: readonly ["useThrottled"];
|
|
231
|
+
readonly utilities: readonly ["useThrottled"];
|
|
232
|
+
}, {
|
|
233
|
+
readonly subpath: "./use-toggle";
|
|
234
|
+
readonly source: "src/use-toggle.ts";
|
|
235
|
+
readonly gzipBudgetBytes: number;
|
|
236
|
+
readonly runtimeExports: readonly ["useToggle"];
|
|
237
|
+
readonly utilities: readonly ["useToggle"];
|
|
238
|
+
}];
|
|
239
|
+
readonly utilities: readonly [{
|
|
240
|
+
readonly name: "anyAbortSignal";
|
|
241
|
+
readonly entry: "./abort-signal";
|
|
242
|
+
readonly category: "async";
|
|
243
|
+
readonly stability: "experimental";
|
|
244
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
245
|
+
readonly ssr: "safe";
|
|
246
|
+
readonly hydration: "not-applicable";
|
|
247
|
+
readonly cleanupOwners: readonly ["returned-value"];
|
|
248
|
+
readonly runtimeGlobals: readonly ["AbortController", "AbortSignal"];
|
|
249
|
+
readonly dependencies: readonly [];
|
|
250
|
+
}, {
|
|
251
|
+
readonly name: "timeoutAbortSignal";
|
|
252
|
+
readonly entry: "./abort-signal";
|
|
253
|
+
readonly category: "timing";
|
|
254
|
+
readonly stability: "experimental";
|
|
255
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
256
|
+
readonly ssr: "safe";
|
|
257
|
+
readonly hydration: "not-applicable";
|
|
258
|
+
readonly cleanupOwners: readonly ["returned-value"];
|
|
259
|
+
readonly runtimeGlobals: readonly ["AbortController", "AbortSignal", "DOMException", "globalThis"];
|
|
260
|
+
readonly dependencies: readonly ["anyAbortSignal"];
|
|
261
|
+
}, {
|
|
262
|
+
readonly name: "deadlineAbortSignal";
|
|
263
|
+
readonly entry: "./abort-signal";
|
|
264
|
+
readonly category: "timing";
|
|
265
|
+
readonly stability: "experimental";
|
|
266
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
267
|
+
readonly ssr: "safe";
|
|
268
|
+
readonly hydration: "not-applicable";
|
|
269
|
+
readonly cleanupOwners: readonly ["returned-value"];
|
|
270
|
+
readonly runtimeGlobals: readonly [];
|
|
271
|
+
readonly dependencies: readonly ["timeoutAbortSignal"];
|
|
272
|
+
}, {
|
|
273
|
+
readonly name: "useAsyncResource";
|
|
274
|
+
readonly entry: "./async-resource";
|
|
275
|
+
readonly category: "async";
|
|
276
|
+
readonly stability: "experimental";
|
|
277
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
278
|
+
readonly ssr: "safe";
|
|
279
|
+
readonly hydration: "stable";
|
|
280
|
+
readonly cleanupOwners: readonly ["caller", "reactive-scope"];
|
|
281
|
+
readonly runtimeGlobals: readonly ["AbortController", "DOMException"];
|
|
282
|
+
readonly dependencies: readonly ["tryOnScopeDispose"];
|
|
283
|
+
}, {
|
|
284
|
+
readonly name: "availableCapability";
|
|
285
|
+
readonly entry: "./capability";
|
|
286
|
+
readonly category: "capability";
|
|
287
|
+
readonly stability: "experimental";
|
|
288
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
289
|
+
readonly ssr: "safe";
|
|
290
|
+
readonly hydration: "not-applicable";
|
|
291
|
+
readonly cleanupOwners: readonly ["none"];
|
|
292
|
+
readonly runtimeGlobals: readonly [];
|
|
293
|
+
readonly dependencies: readonly [];
|
|
294
|
+
}, {
|
|
295
|
+
readonly name: "unavailableCapability";
|
|
296
|
+
readonly entry: "./capability";
|
|
297
|
+
readonly category: "capability";
|
|
298
|
+
readonly stability: "experimental";
|
|
299
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
300
|
+
readonly ssr: "safe";
|
|
301
|
+
readonly hydration: "not-applicable";
|
|
302
|
+
readonly cleanupOwners: readonly ["none"];
|
|
303
|
+
readonly runtimeGlobals: readonly [];
|
|
304
|
+
readonly dependencies: readonly [];
|
|
305
|
+
}, {
|
|
306
|
+
readonly name: "isCapabilityAvailable";
|
|
307
|
+
readonly entry: "./capability";
|
|
308
|
+
readonly category: "capability";
|
|
309
|
+
readonly stability: "experimental";
|
|
310
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
311
|
+
readonly ssr: "safe";
|
|
312
|
+
readonly hydration: "not-applicable";
|
|
313
|
+
readonly cleanupOwners: readonly ["none"];
|
|
314
|
+
readonly runtimeGlobals: readonly [];
|
|
315
|
+
readonly dependencies: readonly [];
|
|
316
|
+
}, {
|
|
317
|
+
readonly name: "isCapabilityUnavailable";
|
|
318
|
+
readonly entry: "./capability";
|
|
319
|
+
readonly category: "capability";
|
|
320
|
+
readonly stability: "experimental";
|
|
321
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
322
|
+
readonly ssr: "safe";
|
|
323
|
+
readonly hydration: "not-applicable";
|
|
324
|
+
readonly cleanupOwners: readonly ["none"];
|
|
325
|
+
readonly runtimeGlobals: readonly [];
|
|
326
|
+
readonly dependencies: readonly [];
|
|
327
|
+
}, {
|
|
328
|
+
readonly name: "createDisposalScope";
|
|
329
|
+
readonly entry: "./disposal-scope";
|
|
330
|
+
readonly category: "lifecycle";
|
|
331
|
+
readonly stability: "experimental";
|
|
332
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
333
|
+
readonly ssr: "safe";
|
|
334
|
+
readonly hydration: "not-applicable";
|
|
335
|
+
readonly cleanupOwners: readonly ["caller", "reactive-scope"];
|
|
336
|
+
readonly runtimeGlobals: readonly [];
|
|
337
|
+
readonly dependencies: readonly ["tryOnScopeDispose"];
|
|
338
|
+
}, {
|
|
339
|
+
readonly name: "useEventListener";
|
|
340
|
+
readonly entry: "./event-listener";
|
|
341
|
+
readonly category: "events";
|
|
342
|
+
readonly stability: "experimental";
|
|
343
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
344
|
+
readonly ssr: "safe";
|
|
345
|
+
readonly hydration: "stable";
|
|
346
|
+
readonly cleanupOwners: readonly ["caller", "reactive-scope"];
|
|
347
|
+
readonly runtimeGlobals: readonly [];
|
|
348
|
+
readonly dependencies: readonly ["tryOnScopeDispose"];
|
|
349
|
+
}, {
|
|
350
|
+
readonly name: "useLocale";
|
|
351
|
+
readonly entry: "./locale";
|
|
352
|
+
readonly category: "i18n";
|
|
353
|
+
readonly stability: "experimental";
|
|
354
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
355
|
+
readonly ssr: "deterministic-fallback";
|
|
356
|
+
readonly hydration: "caller-managed";
|
|
357
|
+
readonly cleanupOwners: readonly ["none"];
|
|
358
|
+
readonly runtimeGlobals: readonly ["Intl", "navigator"];
|
|
359
|
+
readonly dependencies: readonly [];
|
|
360
|
+
}, {
|
|
361
|
+
readonly name: "useMediaQuery";
|
|
362
|
+
readonly entry: "./media-query";
|
|
363
|
+
readonly category: "media";
|
|
364
|
+
readonly stability: "experimental";
|
|
365
|
+
readonly targets: readonly ["web", "desktop"];
|
|
366
|
+
readonly ssr: "deterministic-fallback";
|
|
367
|
+
readonly hydration: "caller-managed";
|
|
368
|
+
readonly cleanupOwners: readonly ["reactive-scope"];
|
|
369
|
+
readonly runtimeGlobals: readonly ["window"];
|
|
370
|
+
readonly dependencies: readonly [];
|
|
371
|
+
}, {
|
|
372
|
+
readonly name: "useReducedMotion";
|
|
373
|
+
readonly entry: "./media-query";
|
|
374
|
+
readonly category: "media";
|
|
375
|
+
readonly stability: "experimental";
|
|
376
|
+
readonly targets: readonly ["web", "desktop"];
|
|
377
|
+
readonly ssr: "deterministic-fallback";
|
|
378
|
+
readonly hydration: "caller-managed";
|
|
379
|
+
readonly cleanupOwners: readonly ["reactive-scope"];
|
|
380
|
+
readonly runtimeGlobals: readonly ["window"];
|
|
381
|
+
readonly dependencies: readonly ["useMediaQuery"];
|
|
382
|
+
}, {
|
|
383
|
+
readonly name: "retryAsync";
|
|
384
|
+
readonly entry: "./retry-async";
|
|
385
|
+
readonly category: "async";
|
|
386
|
+
readonly stability: "experimental";
|
|
387
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
388
|
+
readonly ssr: "safe";
|
|
389
|
+
readonly hydration: "not-applicable";
|
|
390
|
+
readonly cleanupOwners: readonly ["returned-value"];
|
|
391
|
+
readonly runtimeGlobals: readonly ["AbortController"];
|
|
392
|
+
readonly dependencies: readonly ["timeoutAbortSignal", "calculateRetryDelay"];
|
|
393
|
+
}, {
|
|
394
|
+
readonly name: "calculateRetryDelay";
|
|
395
|
+
readonly entry: "./retry-delay";
|
|
396
|
+
readonly category: "timing";
|
|
397
|
+
readonly stability: "experimental";
|
|
398
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
399
|
+
readonly ssr: "safe";
|
|
400
|
+
readonly hydration: "not-applicable";
|
|
401
|
+
readonly cleanupOwners: readonly ["none"];
|
|
402
|
+
readonly runtimeGlobals: readonly [];
|
|
403
|
+
readonly dependencies: readonly [];
|
|
404
|
+
}, {
|
|
405
|
+
readonly name: "tryOnScopeDispose";
|
|
406
|
+
readonly entry: "./scope";
|
|
407
|
+
readonly category: "lifecycle";
|
|
408
|
+
readonly stability: "experimental";
|
|
409
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
410
|
+
readonly ssr: "safe";
|
|
411
|
+
readonly hydration: "not-applicable";
|
|
412
|
+
readonly cleanupOwners: readonly ["reactive-scope"];
|
|
413
|
+
readonly runtimeGlobals: readonly [];
|
|
414
|
+
readonly dependencies: readonly [];
|
|
415
|
+
}, {
|
|
416
|
+
readonly name: "useTemporalNow";
|
|
417
|
+
readonly entry: "./temporal";
|
|
418
|
+
readonly category: "timing";
|
|
419
|
+
readonly stability: "experimental";
|
|
420
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
421
|
+
readonly ssr: "deterministic-fallback";
|
|
422
|
+
readonly hydration: "caller-managed";
|
|
423
|
+
readonly cleanupOwners: readonly ["reactive-scope"];
|
|
424
|
+
readonly runtimeGlobals: readonly ["globalThis", "window"];
|
|
425
|
+
readonly dependencies: readonly [];
|
|
426
|
+
}, {
|
|
427
|
+
readonly name: "useTemporalZonedDateTime";
|
|
428
|
+
readonly entry: "./temporal";
|
|
429
|
+
readonly category: "timing";
|
|
430
|
+
readonly stability: "experimental";
|
|
431
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
432
|
+
readonly ssr: "deterministic-fallback";
|
|
433
|
+
readonly hydration: "caller-managed";
|
|
434
|
+
readonly cleanupOwners: readonly ["reactive-scope"];
|
|
435
|
+
readonly runtimeGlobals: readonly ["globalThis", "window"];
|
|
436
|
+
readonly dependencies: readonly ["useTemporalNow"];
|
|
437
|
+
}, {
|
|
438
|
+
readonly name: "useCounter";
|
|
439
|
+
readonly entry: "./use-counter";
|
|
440
|
+
readonly category: "state";
|
|
441
|
+
readonly stability: "experimental";
|
|
442
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
443
|
+
readonly ssr: "safe";
|
|
444
|
+
readonly hydration: "stable";
|
|
445
|
+
readonly cleanupOwners: readonly ["none"];
|
|
446
|
+
readonly runtimeGlobals: readonly [];
|
|
447
|
+
readonly dependencies: readonly [];
|
|
448
|
+
}, {
|
|
449
|
+
readonly name: "useDebounced";
|
|
450
|
+
readonly entry: "./use-debounced";
|
|
451
|
+
readonly category: "timing";
|
|
452
|
+
readonly stability: "experimental";
|
|
453
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
454
|
+
readonly ssr: "deterministic-fallback";
|
|
455
|
+
readonly hydration: "stable";
|
|
456
|
+
readonly cleanupOwners: readonly ["caller", "reactive-scope"];
|
|
457
|
+
readonly runtimeGlobals: readonly ["globalThis", "window"];
|
|
458
|
+
readonly dependencies: readonly ["tryOnScopeDispose"];
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: "useHistory";
|
|
461
|
+
readonly entry: "./use-history";
|
|
462
|
+
readonly category: "state";
|
|
463
|
+
readonly stability: "experimental";
|
|
464
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
465
|
+
readonly ssr: "safe";
|
|
466
|
+
readonly hydration: "stable";
|
|
467
|
+
readonly cleanupOwners: readonly ["reactive-scope"];
|
|
468
|
+
readonly runtimeGlobals: readonly [];
|
|
469
|
+
readonly dependencies: readonly ["tryOnScopeDispose"];
|
|
470
|
+
}, {
|
|
471
|
+
readonly name: "usePrevious";
|
|
472
|
+
readonly entry: "./use-previous";
|
|
473
|
+
readonly category: "state";
|
|
474
|
+
readonly stability: "experimental";
|
|
475
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
476
|
+
readonly ssr: "safe";
|
|
477
|
+
readonly hydration: "stable";
|
|
478
|
+
readonly cleanupOwners: readonly ["none"];
|
|
479
|
+
readonly runtimeGlobals: readonly [];
|
|
480
|
+
readonly dependencies: readonly [];
|
|
481
|
+
}, {
|
|
482
|
+
readonly name: "useThrottled";
|
|
483
|
+
readonly entry: "./use-throttled";
|
|
484
|
+
readonly category: "timing";
|
|
485
|
+
readonly stability: "experimental";
|
|
486
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
487
|
+
readonly ssr: "deterministic-fallback";
|
|
488
|
+
readonly hydration: "stable";
|
|
489
|
+
readonly cleanupOwners: readonly ["caller", "reactive-scope"];
|
|
490
|
+
readonly runtimeGlobals: readonly ["globalThis", "window"];
|
|
491
|
+
readonly dependencies: readonly ["tryOnScopeDispose"];
|
|
492
|
+
}, {
|
|
493
|
+
readonly name: "useToggle";
|
|
494
|
+
readonly entry: "./use-toggle";
|
|
495
|
+
readonly category: "state";
|
|
496
|
+
readonly stability: "experimental";
|
|
497
|
+
readonly targets: readonly ["web", "server", "worker", "native", "desktop", "terminal"];
|
|
498
|
+
readonly ssr: "safe";
|
|
499
|
+
readonly hydration: "stable";
|
|
500
|
+
readonly cleanupOwners: readonly ["none"];
|
|
501
|
+
readonly runtimeGlobals: readonly [];
|
|
502
|
+
readonly dependencies: readonly [];
|
|
503
|
+
}];
|
|
504
|
+
};
|
|
505
|
+
//#endregion
|
|
506
|
+
export { ComposableEntryMetadata as a, ComposableRootEntryMetadata as c, ComposableUtilityMetadata as d, ComposableCleanupOwner as i, ComposableSsrBehavior as l, ComposableCatalog as n, ComposableHydrationBehavior as o, ComposableCategory as r, ComposableInstallationAvailability as s, COMPOSABLE_CATALOG as t, ComposableStability as u };
|