@bquery/bquery 1.4.0 → 1.6.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.
Files changed (164) hide show
  1. package/README.md +586 -527
  2. package/dist/component/component.d.ts +13 -5
  3. package/dist/component/component.d.ts.map +1 -1
  4. package/dist/component/html.d.ts +40 -3
  5. package/dist/component/html.d.ts.map +1 -1
  6. package/dist/component/index.d.ts +4 -2
  7. package/dist/component/index.d.ts.map +1 -1
  8. package/dist/component/library.d.ts +34 -0
  9. package/dist/component/library.d.ts.map +1 -0
  10. package/dist/component/types.d.ts +132 -13
  11. package/dist/component/types.d.ts.map +1 -1
  12. package/dist/component-BEQgt5hl.js +600 -0
  13. package/dist/component-BEQgt5hl.js.map +1 -0
  14. package/dist/component.es.mjs +7 -184
  15. package/dist/config-DRmZZno3.js +40 -0
  16. package/dist/config-DRmZZno3.js.map +1 -0
  17. package/dist/core-BGQJVw0-.js +35 -0
  18. package/dist/core-BGQJVw0-.js.map +1 -0
  19. package/dist/core-CCEabVHl.js +648 -0
  20. package/dist/core-CCEabVHl.js.map +1 -0
  21. package/dist/core.es.mjs +45 -1261
  22. package/dist/effect-AFRW_Plg.js +84 -0
  23. package/dist/effect-AFRW_Plg.js.map +1 -0
  24. package/dist/full.d.ts +8 -8
  25. package/dist/full.d.ts.map +1 -1
  26. package/dist/full.es.mjs +101 -91
  27. package/dist/full.iife.js +173 -3
  28. package/dist/full.iife.js.map +1 -1
  29. package/dist/full.umd.js +173 -3
  30. package/dist/full.umd.js.map +1 -1
  31. package/dist/index.es.mjs +147 -139
  32. package/dist/motion/transition.d.ts +1 -1
  33. package/dist/motion/transition.d.ts.map +1 -1
  34. package/dist/motion/types.d.ts +11 -1
  35. package/dist/motion/types.d.ts.map +1 -1
  36. package/dist/motion-D9TcHxOF.js +415 -0
  37. package/dist/motion-D9TcHxOF.js.map +1 -0
  38. package/dist/motion.es.mjs +25 -361
  39. package/dist/object-qGpWr6-J.js +38 -0
  40. package/dist/object-qGpWr6-J.js.map +1 -0
  41. package/dist/platform/announcer.d.ts +59 -0
  42. package/dist/platform/announcer.d.ts.map +1 -0
  43. package/dist/platform/config.d.ts +92 -0
  44. package/dist/platform/config.d.ts.map +1 -0
  45. package/dist/platform/cookies.d.ts +45 -0
  46. package/dist/platform/cookies.d.ts.map +1 -0
  47. package/dist/platform/index.d.ts +8 -0
  48. package/dist/platform/index.d.ts.map +1 -1
  49. package/dist/platform/meta.d.ts +62 -0
  50. package/dist/platform/meta.d.ts.map +1 -0
  51. package/dist/platform-Dr9b6fsq.js +362 -0
  52. package/dist/platform-Dr9b6fsq.js.map +1 -0
  53. package/dist/platform.es.mjs +11 -248
  54. package/dist/reactive/async-data.d.ts +114 -0
  55. package/dist/reactive/async-data.d.ts.map +1 -0
  56. package/dist/reactive/index.d.ts +2 -2
  57. package/dist/reactive/index.d.ts.map +1 -1
  58. package/dist/reactive/signal.d.ts +2 -0
  59. package/dist/reactive/signal.d.ts.map +1 -1
  60. package/dist/reactive-DSkct0dO.js +254 -0
  61. package/dist/reactive-DSkct0dO.js.map +1 -0
  62. package/dist/reactive.es.mjs +18 -32
  63. package/dist/router-CbDhl8rS.js +188 -0
  64. package/dist/router-CbDhl8rS.js.map +1 -0
  65. package/dist/router.es.mjs +11 -200
  66. package/dist/sanitize-Bs2dkMby.js +313 -0
  67. package/dist/sanitize-Bs2dkMby.js.map +1 -0
  68. package/dist/security/constants.d.ts.map +1 -1
  69. package/dist/security/index.d.ts +4 -2
  70. package/dist/security/index.d.ts.map +1 -1
  71. package/dist/security/sanitize.d.ts +4 -1
  72. package/dist/security/sanitize.d.ts.map +1 -1
  73. package/dist/security/trusted-html.d.ts +53 -0
  74. package/dist/security/trusted-html.d.ts.map +1 -0
  75. package/dist/security.es.mjs +11 -56
  76. package/dist/store/define-store.d.ts +1 -1
  77. package/dist/store/define-store.d.ts.map +1 -1
  78. package/dist/store/mapping.d.ts +1 -1
  79. package/dist/store/mapping.d.ts.map +1 -1
  80. package/dist/store/persisted.d.ts +1 -1
  81. package/dist/store/persisted.d.ts.map +1 -1
  82. package/dist/store/types.d.ts +2 -2
  83. package/dist/store/types.d.ts.map +1 -1
  84. package/dist/store/watch.d.ts +1 -1
  85. package/dist/store/watch.d.ts.map +1 -1
  86. package/dist/store-BwDvI45q.js +263 -0
  87. package/dist/store-BwDvI45q.js.map +1 -0
  88. package/dist/store.es.mjs +12 -25
  89. package/dist/storybook/index.d.ts +37 -0
  90. package/dist/storybook/index.d.ts.map +1 -0
  91. package/dist/storybook.es.mjs +151 -0
  92. package/dist/storybook.es.mjs.map +1 -0
  93. package/dist/untrack-B0rVscTc.js +7 -0
  94. package/dist/untrack-B0rVscTc.js.map +1 -0
  95. package/dist/view-C70lA3vf.js +397 -0
  96. package/dist/view-C70lA3vf.js.map +1 -0
  97. package/dist/view.es.mjs +11 -430
  98. package/package.json +141 -132
  99. package/src/component/component.ts +524 -289
  100. package/src/component/html.ts +153 -53
  101. package/src/component/index.ts +50 -40
  102. package/src/component/library.ts +518 -0
  103. package/src/component/types.ts +256 -85
  104. package/src/core/collection.ts +628 -628
  105. package/src/core/element.ts +774 -774
  106. package/src/core/index.ts +48 -48
  107. package/src/core/utils/function.ts +151 -151
  108. package/src/full.ts +229 -187
  109. package/src/motion/animate.ts +113 -113
  110. package/src/motion/flip.ts +176 -176
  111. package/src/motion/scroll.ts +57 -57
  112. package/src/motion/spring.ts +150 -150
  113. package/src/motion/timeline.ts +246 -246
  114. package/src/motion/transition.ts +97 -51
  115. package/src/motion/types.ts +11 -1
  116. package/src/platform/announcer.ts +208 -0
  117. package/src/platform/config.ts +163 -0
  118. package/src/platform/cookies.ts +165 -0
  119. package/src/platform/index.ts +21 -0
  120. package/src/platform/meta.ts +168 -0
  121. package/src/platform/storage.ts +215 -215
  122. package/src/reactive/async-data.ts +486 -0
  123. package/src/reactive/core.ts +114 -114
  124. package/src/reactive/effect.ts +54 -54
  125. package/src/reactive/index.ts +15 -1
  126. package/src/reactive/internals.ts +122 -122
  127. package/src/reactive/signal.ts +9 -0
  128. package/src/security/constants.ts +3 -1
  129. package/src/security/index.ts +17 -10
  130. package/src/security/sanitize-core.ts +364 -364
  131. package/src/security/sanitize.ts +70 -66
  132. package/src/security/trusted-html.ts +71 -0
  133. package/src/store/define-store.ts +49 -48
  134. package/src/store/mapping.ts +74 -73
  135. package/src/store/persisted.ts +62 -61
  136. package/src/store/types.ts +92 -94
  137. package/src/store/watch.ts +53 -52
  138. package/src/storybook/index.ts +479 -0
  139. package/src/view/evaluate.ts +290 -290
  140. package/dist/batch-x7b2eZST.js +0 -13
  141. package/dist/batch-x7b2eZST.js.map +0 -1
  142. package/dist/component.es.mjs.map +0 -1
  143. package/dist/core-BhpuvPhy.js +0 -170
  144. package/dist/core-BhpuvPhy.js.map +0 -1
  145. package/dist/core.es.mjs.map +0 -1
  146. package/dist/full.es.mjs.map +0 -1
  147. package/dist/index.es.mjs.map +0 -1
  148. package/dist/motion.es.mjs.map +0 -1
  149. package/dist/persisted-DHoi3uEs.js +0 -278
  150. package/dist/persisted-DHoi3uEs.js.map +0 -1
  151. package/dist/platform.es.mjs.map +0 -1
  152. package/dist/reactive.es.mjs.map +0 -1
  153. package/dist/router.es.mjs.map +0 -1
  154. package/dist/sanitize-Cxvxa-DX.js +0 -283
  155. package/dist/sanitize-Cxvxa-DX.js.map +0 -1
  156. package/dist/security.es.mjs.map +0 -1
  157. package/dist/store.es.mjs.map +0 -1
  158. package/dist/type-guards-BdKlYYlS.js +0 -32
  159. package/dist/type-guards-BdKlYYlS.js.map +0 -1
  160. package/dist/untrack-DNnnqdlR.js +0 -6
  161. package/dist/untrack-DNnnqdlR.js.map +0 -1
  162. package/dist/view.es.mjs.map +0 -1
  163. package/dist/watch-DXXv3iAI.js +0 -58
  164. package/dist/watch-DXXv3iAI.js.map +0 -1
@@ -0,0 +1,84 @@
1
+ var a = [], s = 0, i = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new WeakMap(), f = (e, r) => {
2
+ a.push(e);
3
+ try {
4
+ return r();
5
+ } finally {
6
+ a.pop();
7
+ }
8
+ }, p = () => a[a.length - 1], d = (e) => {
9
+ a.push(void 0);
10
+ try {
11
+ return e();
12
+ } finally {
13
+ a.pop();
14
+ }
15
+ }, b = (e) => {
16
+ if (s > 0) {
17
+ i.add(e);
18
+ return;
19
+ }
20
+ e();
21
+ }, l = () => {
22
+ for (const e of Array.from(i)) {
23
+ i.delete(e);
24
+ try {
25
+ e();
26
+ } catch (r) {
27
+ console.error("bQuery reactive: Error in observer during batch flush", r);
28
+ }
29
+ }
30
+ }, h = () => {
31
+ s += 1;
32
+ }, y = () => {
33
+ s <= 0 || (s -= 1, s === 0 && l());
34
+ }, g = (e, r) => {
35
+ let t = c.get(e);
36
+ t || (t = /* @__PURE__ */ new Set(), c.set(e, t)), t.add(r);
37
+ }, D = (e, r) => {
38
+ const t = c.get(e);
39
+ t && t.delete(r);
40
+ }, u = (e) => {
41
+ const r = c.get(e);
42
+ if (r) {
43
+ for (const t of r) t.unsubscribe(e);
44
+ r.clear();
45
+ }
46
+ }, O = (e) => {
47
+ let r, t = !1;
48
+ const v = () => {
49
+ if (r) {
50
+ try {
51
+ r();
52
+ } catch (o) {
53
+ console.error("bQuery reactive: Error in effect cleanup", o);
54
+ }
55
+ r = void 0;
56
+ }
57
+ }, n = () => {
58
+ if (!t) {
59
+ v(), u(n);
60
+ try {
61
+ r = f(n, e);
62
+ } catch (o) {
63
+ console.error("bQuery reactive: Error in effect", o);
64
+ }
65
+ }
66
+ };
67
+ return n(), () => {
68
+ t = !0, v(), u(n);
69
+ };
70
+ };
71
+ export {
72
+ p as a,
73
+ b as c,
74
+ y as i,
75
+ f as l,
76
+ h as n,
77
+ g as o,
78
+ u as r,
79
+ D as s,
80
+ O as t,
81
+ d as u
82
+ };
83
+
84
+ //# sourceMappingURL=effect-AFRW_Plg.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"effect-AFRW_Plg.js","names":[],"sources":["../src/reactive/internals.ts","../src/reactive/effect.ts"],"sourcesContent":["/**\n * Internal reactive plumbing shared across primitives.\n * @internal\n */\n\nexport type Observer = () => void;\nexport type CleanupFn = () => void;\n\n/**\n * Interface for reactive sources (Signals, Computed) that can unsubscribe observers.\n * @internal\n */\nexport interface ReactiveSource {\n unsubscribe(observer: Observer): void;\n}\n\nconst observerStack: Observer[] = [];\nlet batchDepth = 0;\nconst pendingObservers = new Set<Observer>();\n\n// Track dependencies for each observer to enable cleanup\nconst observerDependencies = new WeakMap<Observer, Set<ReactiveSource>>();\n\nexport const track = <T>(observer: Observer, fn: () => T): T => {\n observerStack.push(observer);\n try {\n return fn();\n } finally {\n observerStack.pop();\n }\n};\n\nexport const getCurrentObserver = (): Observer | undefined =>\n observerStack[observerStack.length - 1];\n\n/**\n * Executes a function without exposing the current observer to dependencies.\n * Unlike disabling tracking globally, this still allows nested reactive internals\n * (e.g., computed recomputation) to track their own dependencies.\n * @internal\n */\nexport const withoutCurrentObserver = <T>(fn: () => T): T => {\n // Push undefined to temporarily \"hide\" the current observer\n // This way, Signal.value reads won't link to the previous observer,\n // but nested track() calls (e.g., computed recompute) still work normally.\n observerStack.push(undefined as unknown as Observer);\n try {\n return fn();\n } finally {\n observerStack.pop();\n }\n};\n\nexport const scheduleObserver = (observer: Observer): void => {\n if (batchDepth > 0) {\n pendingObservers.add(observer);\n return;\n }\n observer();\n};\n\nconst flushObservers = (): void => {\n for (const observer of Array.from(pendingObservers)) {\n pendingObservers.delete(observer);\n try {\n observer();\n } catch (error) {\n console.error('bQuery reactive: Error in observer during batch flush', error);\n }\n }\n};\n\nexport const beginBatch = (): void => {\n batchDepth += 1;\n};\n\nexport const endBatch = (): void => {\n if (batchDepth <= 0) return;\n batchDepth -= 1;\n if (batchDepth === 0) {\n flushObservers();\n }\n};\n\n/**\n * Registers a dependency between an observer and a reactive source.\n * @internal\n */\nexport const registerDependency = (observer: Observer, source: ReactiveSource): void => {\n let deps = observerDependencies.get(observer);\n if (!deps) {\n deps = new Set();\n observerDependencies.set(observer, deps);\n }\n deps.add(source);\n};\n\n/**\n * Removes a specific source from an observer's dependency set.\n * Used when a source (e.g. Signal) is disposed to prevent stale references.\n * @internal\n */\nexport const removeDependency = (observer: Observer, source: ReactiveSource): void => {\n const deps = observerDependencies.get(observer);\n if (deps) {\n deps.delete(source);\n }\n};\n\n/**\n * Clears all dependencies for an observer, unsubscribing from all sources.\n * @internal\n */\nexport const clearDependencies = (observer: Observer): void => {\n const deps = observerDependencies.get(observer);\n if (deps) {\n for (const source of deps) {\n source.unsubscribe(observer);\n }\n deps.clear();\n }\n};\n","/**\n * Reactive effects.\n */\n\nimport { CleanupFn, Observer, track, clearDependencies } from './internals';\n\n/**\n * Creates a side effect that automatically re-runs when dependencies change.\n *\n * The effect runs immediately upon creation and then re-runs whenever\n * any signal or computed value read inside it changes.\n *\n * @param fn - The effect function to run\n * @returns A cleanup function to stop the effect\n */\nexport const effect = (fn: () => void | CleanupFn): CleanupFn => {\n let cleanupFn: CleanupFn | void;\n let isDisposed = false;\n\n const runCleanup = (): void => {\n if (cleanupFn) {\n try {\n cleanupFn();\n } catch (error) {\n console.error('bQuery reactive: Error in effect cleanup', error);\n }\n cleanupFn = undefined;\n }\n };\n\n const observer: Observer = () => {\n if (isDisposed) return;\n\n runCleanup();\n\n // Clear old dependencies before running to avoid stale subscriptions\n clearDependencies(observer);\n\n try {\n cleanupFn = track(observer, fn);\n } catch (error) {\n console.error('bQuery reactive: Error in effect', error);\n }\n };\n\n observer();\n\n return () => {\n isDisposed = true;\n runCleanup();\n // Clean up all dependencies when effect is disposed\n clearDependencies(observer);\n };\n};\n"],"mappings":"AAgBA,IAAM,IAA4B,CAAA,GAC9B,IAAa,GACX,IAAmB,oBAAI,IAAA,GAGvB,IAAuB,oBAAI,QAAA,GAEpB,IAAA,CAAY,GAAoB,MAAmB;AAC9D,EAAA,EAAc,KAAK,CAAA;AACnB,MAAI;AACF,WAAO,EAAA;AAAA;AAEP,IAAA,EAAc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B;AAC/B,QAAI,CAAA,GAEJ;AAAA,MAAA,EAAA,GAGA,EAAkB,CAAA;AAElB,UAAI;AACF,QAAA,IAAY,EAAM,GAAU,CAAA;AAAA,eACrB,GAAO;AACd,gBAAQ,MAAM,oCAAoC,CAAA;AAAA;;;AAItD,SAAA,EAAA,GAEA,MAAa;AACX,IAAA,IAAa,IACb,EAAA,GAEA,EAAkB,CAAA;AAAA"}
package/dist/full.d.ts CHANGED
@@ -35,16 +35,16 @@
35
35
  * ```
36
36
  */
37
37
  export { $, $$, BQueryCollection, BQueryElement, utils } from './core/index';
38
- export { Computed, Signal, batch, computed, effect, isComputed, isSignal, persistedSignal, readonly, signal, untrack, watch, } from './reactive/index';
39
- export type { CleanupFn, Observer, ReadonlySignal } from './reactive/index';
40
- export { component, html, safeHtml } from './component/index';
41
- export type { ComponentDefinition, PropDefinition } from './component/index';
38
+ export { Computed, Signal, batch, computed, createUseFetch, effect, isComputed, isSignal, linkedSignal, persistedSignal, readonly, signal, useAsyncData, useFetch, untrack, watch, } from './reactive/index';
39
+ export type { AsyncDataState, AsyncDataStatus, AsyncWatchSource, CleanupFn, FetchInput, LinkedSignal, Observer, ReadonlySignal, UseAsyncDataOptions, UseFetchOptions, } from './reactive/index';
40
+ export { bool, component, html, registerDefaultComponents, safeHtml } from './component/index';
41
+ export type { AttributeChange, ComponentDefinition, ComponentRenderContext, ComponentStateKey, ComponentSignalLike, ComponentSignals, DefaultComponentLibraryOptions, PropDefinition, RegisteredDefaultComponents, } from './component/index';
42
42
  export { animate, capturePosition, easeInCubic, easeInOutCubic, easeInOutQuad, easeInQuad, easeOutBack, easeOutCubic, easeOutExpo, easeOutQuad, easingPresets, flip, flipElements, flipList, keyframePresets, linear, prefersReducedMotion, scrollAnimate, sequence, spring, springPresets, stagger, timeline, transition, } from './motion/index';
43
43
  export type { AnimateOptions, EasingFunction, ElementBounds, FlipGroupOptions, FlipOptions, ScrollAnimateCleanup, ScrollAnimateOptions, SequenceOptions, SequenceStep, Spring, SpringConfig, StaggerFunction, StaggerOptions, TimelineConfig, TimelineControls, TimelineStep, TransitionOptions, } from './motion/index';
44
- export { createTrustedHtml, escapeHtml, generateNonce, getTrustedTypesPolicy, hasCSPDirective, isTrustedTypesSupported, sanitize, sanitizeHtml, stripTags, } from './security/index';
45
- export type { SanitizeOptions } from './security/index';
46
- export { buckets, cache, notifications, storage } from './platform/index';
47
- export type { Bucket, CacheHandle, IndexedDBOptions, NotificationOptions, StorageAdapter, } from './platform/index';
44
+ export { createTrustedHtml, escapeHtml, generateNonce, getTrustedTypesPolicy, hasCSPDirective, isTrustedTypesSupported, sanitize, sanitizeHtml, stripTags, trusted, } from './security/index';
45
+ export type { SanitizedHtml, SanitizeOptions, TrustedHtml } from './security/index';
46
+ export { buckets, cache, defineBqueryConfig, definePageMeta, getBqueryConfig, notifications, storage, useAnnouncer, useCookie, } from './platform/index';
47
+ export type { AnnounceOptions, AnnouncerHandle, Bucket, BqueryConfig, CacheHandle, IndexedDBOptions, NotificationOptions, PageMetaDefinition, StorageAdapter, UseAnnouncerOptions, UseCookieOptions, } from './platform/index';
48
48
  export { back, createRouter, currentRoute, forward, interceptLinks, isActive, isActiveSignal, link, navigate, resolve, } from './router/index';
49
49
  export type { NavigationGuard, Route, RouteDefinition, Router, RouterOptions, } from './router/index';
50
50
  export { createPersistedStore, createStore, destroyStore, getStore, listStores, mapActions, mapState, registerPlugin, } from './store/index';
@@ -1 +1 @@
1
- {"version":3,"file":"full.d.ts","sourceRoot":"","sources":["../src/full.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAKH,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,gBAAgB,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAK7E,OAAO,EACL,QAAQ,EACR,MAAM,EACN,KAAK,EACL,QAAQ,EACR,MAAM,EACN,UAAU,EACV,QAAQ,EACR,eAAe,EACf,QAAQ,EACR,MA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ACnB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAK1B,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,cAAc,EACd,QAAQ,EACR,cAAc,EACd,IAAI,EACJ,QAAQ,EACR,OAAO,GACR,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,eAAe,EACf,KAAK,EACL,eAAe,EACf,MAAM,EACN,aAAa,GACd,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,UAAU,EACV,QAAQ,EACR,cAAc,GACf,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,YAAY,EAAE,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAKvF,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrD,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC"}
package/dist/full.es.mjs CHANGED
@@ -1,94 +1,104 @@
1
- import { $ as s, $$ as a, BQueryCollection as r, BQueryElement as o, utils as i } from "./core.es.mjs";
2
- import { C as p, S as c, c as m, s as u } from "./core-BhpuvPhy.js";
3
- import { b as f } from "./batch-x7b2eZST.js";
4
- import { e as d, i as x, a as S } from "./type-guards-BdKlYYlS.js";
5
- import { p as y, r as C, w as P } from "./watch-DXXv3iAI.js";
6
- import { u as T } from "./untrack-DNnnqdlR.js";
7
- import { component as h, html as v, safeHtml as Q } from "./component.es.mjs";
8
- import { animate as H, capturePosition as I, easeInCubic as w, easeInOutCubic as B, easeInOutQuad as E, easeInQuad as R, easeOutBack as $, easeOutCubic as z, easeOutExpo as L, easeOutQuad as q, easingPresets as D, flip as M, flipElements as N, flipList as j, keyframePresets as F, linear as G, prefersReducedMotion as J, scrollAnimate as K, sequence as U, spring as V, springPresets as W, stagger as X, timeline as Y, transition as Z } from "./motion.es.mjs";
9
- import { createTrustedHtml as ee, generateNonce as te, getTrustedTypesPolicy as se, hasCSPDirective as ae, isTrustedTypesSupported as re } from "./security.es.mjs";
10
- import { e as ie, s as ne, s as pe, a as ce } from "./sanitize-Cxvxa-DX.js";
11
- import { buckets as ue, cache as le, notifications as fe, storage as ge } from "./platform.es.mjs";
12
- import { back as xe, createRouter as Se, currentRoute as be, forward as ye, interceptLinks as Ce, isActive as Pe, isActiveSignal as ke, link as Te, navigate as Oe, resolve as he } from "./router.es.mjs";
13
- import { c as Qe, a as Ae, d as He, g as Ie, l as we, m as Be, b as Ee, r as Re } from "./persisted-DHoi3uEs.js";
14
- import { createTemplate as ze, mount as Le } from "./view.es.mjs";
1
+ import { a, c as e, d as t, i as r, n as i, o, r as n, s as m, t as u } from "./sanitize-Bs2dkMby.js";
2
+ import { F as p, I as l, L as f, R as d, t as g } from "./core-CCEabVHl.js";
3
+ import { t as y } from "./effect-AFRW_Plg.js";
4
+ import { a as k, c as P, d as b, f as h, i as T, l as v, n as A, o as O, r as B, s as I, t as Q, u as H } from "./reactive-DSkct0dO.js";
5
+ import { n as q, t as w } from "./config-DRmZZno3.js";
6
+ import { n as D, t as E } from "./core-BGQJVw0-.js";
7
+ import { t as L } from "./untrack-B0rVscTc.js";
8
+ import { a as z, i as M, n as N, r as U, t as _ } from "./component-BEQgt5hl.js";
9
+ import { C as G, S as J, _ as K, a as V, b as W, c as X, d as Y, f as Z, g as ss, h as as, i as es, l as ts, m as rs, n as is, o as os, p as ns, r as ms, s as us, t as cs, u as ps, v as ls, w as fs, x as ds, y as gs } from "./motion-D9TcHxOF.js";
10
+ import { a as ys, i as Cs, n as ks, o as Ps, r as bs, s as hs, t as Ts } from "./platform-Dr9b6fsq.js";
11
+ import { a as As, c as Os, i as Bs, l as Is, n as Qs, o as Hs, r as Rs, s as qs, t as ws, u as xs } from "./router-CbDhl8rS.js";
12
+ import { a as Es, c as Fs, d as Ls, l as $s, n as zs, r as Ms, s as Ns, u as Us } from "./store-BwDvI45q.js";
13
+ import { n as js, t as Gs } from "./view-C70lA3vf.js";
15
14
  export {
16
- s as $,
17
- a as $$,
18
- r as BQueryCollection,
19
- o as BQueryElement,
20
- p as Computed,
21
- c as Signal,
22
- H as animate,
23
- xe as back,
24
- f as batch,
25
- ue as buckets,
26
- le as cache,
27
- I as capturePosition,
28
- h as component,
29
- m as computed,
30
- Qe as createPersistedStore,
31
- Se as createRouter,
32
- Ae as createStore,
33
- ze as createTemplate,
34
- ee as createTrustedHtml,
35
- be as currentRoute,
36
- He as destroyStore,
37
- w as easeInCubic,
38
- B as easeInOutCubic,
39
- E as easeInOutQuad,
40
- R as easeInQuad,
41
- $ as easeOutBack,
42
- z as easeOutCubic,
43
- L as easeOutExpo,
44
- q as easeOutQuad,
45
- D as easingPresets,
46
- d as effect,
47
- ie as escapeHtml,
48
- M as flip,
49
- N as flipElements,
50
- j as flipList,
51
- ye as forward,
52
- te as generateNonce,
53
- Ie as getStore,
54
- se as getTrustedTypesPolicy,
55
- ae as hasCSPDirective,
56
- v as html,
57
- Ce as interceptLinks,
58
- Pe as isActive,
59
- ke as isActiveSignal,
60
- x as isComputed,
61
- S as isSignal,
62
- re as isTrustedTypesSupported,
63
- F as keyframePresets,
64
- G as linear,
65
- Te as link,
66
- we as listStores,
67
- Be as mapActions,
68
- Ee as mapState,
69
- Le as mount,
70
- Oe as navigate,
71
- fe as notifications,
72
- y as persistedSignal,
73
- J as prefersReducedMotion,
74
- C as readonly,
75
- Re as registerPlugin,
76
- he as resolve,
77
- Q as safeHtml,
78
- ne as sanitize,
79
- pe as sanitizeHtml,
80
- K as scrollAnimate,
81
- U as sequence,
82
- u as signal,
15
+ p as $,
16
+ l as $$,
17
+ f as BQueryCollection,
18
+ d as BQueryElement,
19
+ H as Computed,
20
+ E as Signal,
21
+ G as animate,
22
+ qs as back,
23
+ h as batch,
24
+ N as bool,
25
+ hs as buckets,
26
+ Ps as cache,
27
+ ts as capturePosition,
28
+ z as component,
29
+ b as computed,
30
+ zs as createPersistedStore,
31
+ ws as createRouter,
32
+ Ns as createStore,
33
+ Gs as createTemplate,
34
+ r as createTrustedHtml,
35
+ I as createUseFetch,
36
+ xs as currentRoute,
37
+ w as defineBqueryConfig,
38
+ ks as definePageMeta,
39
+ Fs as destroyStore,
40
+ ns as easeInCubic,
41
+ rs as easeInOutCubic,
42
+ as as easeInOutQuad,
43
+ ss as easeInQuad,
44
+ K as easeOutBack,
45
+ ls as easeOutCubic,
46
+ gs as easeOutExpo,
47
+ W as easeOutQuad,
48
+ ds as easingPresets,
49
+ y as effect,
50
+ u as escapeHtml,
51
+ ps as flip,
52
+ Y as flipElements,
53
+ Z as flipList,
54
+ Os as forward,
55
+ m as generateNonce,
56
+ q as getBqueryConfig,
57
+ $s as getStore,
58
+ a as getTrustedTypesPolicy,
59
+ e as hasCSPDirective,
60
+ U as html,
61
+ As as interceptLinks,
62
+ Qs as isActive,
63
+ Rs as isActiveSignal,
64
+ A as isComputed,
65
+ B as isSignal,
66
+ o as isTrustedTypesSupported,
67
+ X as keyframePresets,
68
+ J as linear,
69
+ Hs as link,
70
+ O as linkedSignal,
71
+ Us as listStores,
72
+ Ms as mapActions,
73
+ Es as mapState,
74
+ js as mount,
75
+ Is as navigate,
76
+ Cs as notifications,
77
+ k as persistedSignal,
78
+ fs as prefersReducedMotion,
79
+ T as readonly,
80
+ _ as registerDefaultComponents,
81
+ Ls as registerPlugin,
82
+ Bs as resolve,
83
+ M as safeHtml,
84
+ i as sanitize,
85
+ i as sanitizeHtml,
86
+ us as scrollAnimate,
87
+ is as sequence,
88
+ D as signal,
83
89
  V as spring,
84
- W as springPresets,
85
- X as stagger,
86
- ge as storage,
87
- ce as stripTags,
88
- Y as timeline,
89
- Z as transition,
90
- T as untrack,
91
- i as utils,
92
- P as watch
90
+ os as springPresets,
91
+ es as stagger,
92
+ Ts as storage,
93
+ n as stripTags,
94
+ ms as timeline,
95
+ cs as transition,
96
+ t as trusted,
97
+ L as untrack,
98
+ bs as useAnnouncer,
99
+ P as useAsyncData,
100
+ ys as useCookie,
101
+ v as useFetch,
102
+ g as utils,
103
+ Q as watch
93
104
  };
94
- //# sourceMappingURL=full.es.mjs.map