@askrjs/askr 0.0.83 → 0.0.84

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 (58) hide show
  1. package/dist/actions/index.d.ts +1 -1
  2. package/dist/actions/index.js +1 -1
  3. package/dist/{activity-CnSRFO3d.js → activity-CZiPgZy0.js} +3 -3
  4. package/dist/{activity-CXEaU-Al.d.ts → activity-pySy9t7Y.d.ts} +1 -1
  5. package/dist/{authoring-DbGEgg40.js → authoring-DQPG0VAm.js} +2 -2
  6. package/dist/benchmark.js +7 -7
  7. package/dist/boot/index.d.ts +3 -3
  8. package/dist/boot/index.js +1 -1
  9. package/dist/{boot-uK1hzONI.js → boot-D28lesMw.js} +12 -12
  10. package/dist/{cleanup-CEF-cX49.js → cleanup-ARiXproi.js} +4 -4
  11. package/dist/{component-cleanup-oWN45rfa.js → component-cleanup-Bug5tSiG.js} +1 -1
  12. package/dist/{component-internal-DsM75Gl1.js → component-internal-Bw4Mf9fd.js} +7 -4
  13. package/dist/components/index.d.ts +1 -1
  14. package/dist/control/index.d.ts +1 -1
  15. package/dist/control/index.js +1 -1
  16. package/dist/{control-Cix3yjVf.d.ts → control-Y8F73Uln.d.ts} +1 -1
  17. package/dist/{control-C0X1zgrM.js → control-nrS65oG3.js} +3 -3
  18. package/dist/{csp-nonce-DDt0UNdt.js → csp-nonce-ZTlD_EnK.js} +1 -1
  19. package/dist/data/index.js +1 -1
  20. package/dist/{data-G0hURNm_.js → data-BRS5woEh.js} +2 -2
  21. package/dist/{deferred-rdHAgyKe.js → deferred-oqtAJ4iH.js} +4 -4
  22. package/dist/{effect-2IIWvUjG.js → effect-B487asyz.js} +1 -1
  23. package/dist/{fastlane-CkBXZ_3K.js → fastlane-BOr4lSLl.js} +1 -1
  24. package/dist/{for-internal-DRbV0h1d.js → for-internal-DjpV8ioj.js} +41 -20
  25. package/dist/foundations/index.d.ts +1 -1
  26. package/dist/foundations/index.js +1 -1
  27. package/dist/foundations/state/index.d.ts +1 -1
  28. package/dist/foundations/state/index.js +1 -1
  29. package/dist/foundations/structures/index.d.ts +1 -1
  30. package/dist/foundations/structures/index.js +1 -1
  31. package/dist/{index-Vs1EeWEr.d.ts → index-BApH3laU.d.ts} +1 -1
  32. package/dist/{index-ho0Htetw.d.ts → index-DUXXZ31H.d.ts} +1 -1
  33. package/dist/{index-TlEvex-C.d.ts → index-_UN08Pg1.d.ts} +3 -2
  34. package/dist/index.d.ts +3 -3
  35. package/dist/index.js +8 -8
  36. package/dist/{lifecycle-batch-CwHCDseR.js → lifecycle-batch-CFI4NKpJ.js} +7 -5
  37. package/dist/{lifecycle-operations-BJfxWUJr.js → lifecycle-operations-KYOIcM5R.js} +1 -1
  38. package/dist/{navigate-DfY1BUYc.d.ts → navigate-CgVIrrSs.d.ts} +1 -1
  39. package/dist/{navigate-Crvd5gUG.js → navigate-Dr3cjOSz.js} +10 -10
  40. package/dist/{portal-BZ_rN17v.js → portal-pHBoqwYd.js} +3 -3
  41. package/dist/{readable-B3VIOfd7.js → readable-_GQGe_St.js} +2 -2
  42. package/dist/{renderer-VSw0KKDG.js → renderer-B9j5IV1q.js} +3297 -2796
  43. package/dist/resources/index.d.ts +2 -2
  44. package/dist/resources/index.js +4 -4
  45. package/dist/{route-matching-BUwz4kfl.js → route-matching-IfQZmqkN.js} +3 -3
  46. package/dist/router/index.d.ts +4 -4
  47. package/dist/router/index.js +5 -5
  48. package/dist/{selector-DVwvof1M.js → selector-DJ1-N1K-.js} +1 -1
  49. package/dist/ssg/index.d.ts +3 -3
  50. package/dist/ssg/index.js +3 -3
  51. package/dist/ssr/index.d.ts +2 -2
  52. package/dist/ssr/index.js +1 -1
  53. package/dist/{ssr-C_Ql5_Kg.js → ssr-CtC4lChT.js} +20 -17
  54. package/dist/{state-BCl9DeiN.js → state-BzIMC6-i.js} +2 -2
  55. package/dist/testing/index.d.ts +2 -2
  56. package/dist/testing/index.js +2 -2
  57. package/dist/{verify-hydration-CNLXUcuR.js → verify-hydration-BguOSco9.js} +1 -1
  58. package/package.json +3 -3
@@ -1,2 +1,2 @@
1
- import { a as action, i as ActionValidationError, n as ActionForm, o as defineAction, r as ActionStatus, t as ActionDescriptor } from "../index-TlEvex-C.js";
1
+ import { a as action, i as ActionValidationError, n as ActionForm, o as defineAction, r as ActionStatus, t as ActionDescriptor } from "../index-_UN08Pg1.js";
2
2
  export { ActionDescriptor, ActionForm, ActionStatus, ActionValidationError, action, defineAction };
@@ -1,6 +1,6 @@
1
1
  import { d as getCurrentAppRenderRuntime } from "../component-scope-DzJEbYGE.js";
2
2
  import { r as getCurrentRenderData } from "../render-context-D-DFk2WN.js";
3
- import { t as state } from "../state-BCl9DeiN.js";
3
+ import { t as state } from "../state-BzIMC6-i.js";
4
4
  import { jsx, jsxs } from "../jsx-runtime.js";
5
5
  import { c as resolveDataRuntimeState, s as invalidateQueriesForRuntime } from "../data-runtime-D68YOo9L.js";
6
6
  //#region src/actions/runtime.ts
@@ -1,8 +1,8 @@
1
- import { a as registerCommitOperation } from "./component-internal-DsM75Gl1.js";
2
- import { l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
1
+ import { a as registerCommitOperation } from "./component-internal-Bw4Mf9fd.js";
2
+ import { l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-_GQGe_St.js";
3
3
  import { d as getCurrentAppRenderRuntime, f as getCurrentComponentInstance, i as claimHookIndex } from "./component-scope-DzJEbYGE.js";
4
4
  import { n as getActiveRenderContext } from "./render-context-D-DFk2WN.js";
5
- import { c as deepFreeze, g as getActiveRoutes, l as makeQuery, n as computeMatchesFromRoutes, u as parseLocation } from "./route-matching-BUwz4kfl.js";
5
+ import { c as deepFreeze, g as getActiveRoutes, l as makeQuery, n as computeMatchesFromRoutes, u as parseLocation } from "./route-matching-IfQZmqkN.js";
6
6
  import { n as syncRouteActivitySnapshot } from "./route-activity-CNJfpwx-.js";
7
7
  //#region src/common/app-render-runtime.ts
8
8
  const stagedRouteLocations = /* @__PURE__ */ new WeakMap();
@@ -1,4 +1,4 @@
1
- import { L as RouteParams, Z as RouteSnapshot } from "./index-TlEvex-C.js";
1
+ import { L as RouteParams, Z as RouteSnapshot } from "./index-_UN08Pg1.js";
2
2
  //#region src/router/activity.d.ts
3
3
  interface RouteChangeOptions {
4
4
  immediate?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { f as getCurrentComponentInstance } from "./component-scope-DzJEbYGE.js";
2
- import { E as getExecutionModel, x as createRouteHandler } from "./deferred-rdHAgyKe.js";
3
- import { A as insertRecordSorted, C as getCurrentPathPrefix, I as computeRank, L as normalizeRouteSegmentName, M as pushRegistrationScope, O as hasActivePageScope, R as parseSegments, S as getCurrentPageScope, _ as getCurrentInheritedAuthRequirements, b as getCurrentLayoutChain, f as addRouteToStores, p as assertRouteRegistrationUnlocked, v as getCurrentInheritedMeta, w as getCurrentScopeKind, x as getCurrentPageChain, y as getCurrentInheritedPolicies } from "./route-matching-BUwz4kfl.js";
2
+ import { E as getExecutionModel, x as createRouteHandler } from "./deferred-oqtAJ4iH.js";
3
+ import { A as insertRecordSorted, C as getCurrentPathPrefix, I as computeRank, L as normalizeRouteSegmentName, M as pushRegistrationScope, O as hasActivePageScope, R as parseSegments, S as getCurrentPageScope, _ as getCurrentInheritedAuthRequirements, b as getCurrentLayoutChain, f as addRouteToStores, p as assertRouteRegistrationUnlocked, v as getCurrentInheritedMeta, w as getCurrentScopeKind, x as getCurrentPageChain, y as getCurrentInheritedPolicies } from "./route-matching-IfQZmqkN.js";
4
4
  import { allOf } from "@askrjs/auth";
5
5
  //#region src/router/access.ts
6
6
  function compileNodePolicies(node) {
package/dist/benchmark.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { r as flushRuntimeScheduler } from "./access-ePqdQqkV.js";
2
- import { t as installRendererBridge } from "./renderer-VSw0KKDG.js";
3
- import { t as state } from "./state-BCl9DeiN.js";
4
- import { t as selector } from "./selector-DVwvof1M.js";
5
- import { i as For } from "./control-C0X1zgrM.js";
2
+ import { t as installRendererBridge } from "./renderer-B9j5IV1q.js";
3
+ import { t as state } from "./state-BzIMC6-i.js";
4
+ import { t as selector } from "./selector-DJ1-N1K-.js";
5
+ import { i as For } from "./control-nrS65oG3.js";
6
6
  import { jsx, jsxs } from "./jsx-runtime.js";
7
- import { t as createIsland } from "./boot-uK1hzONI.js";
7
+ import { t as createIsland } from "./boot-D28lesMw.js";
8
8
  //#region src/bench/components/benchmark-row.tsx
9
9
  function BenchmarkRow({ item, isSelected, onSelect, onRemove }) {
10
10
  return /* @__PURE__ */ jsxs("tr", {
@@ -63,8 +63,8 @@ function BenchmarkTable({ rows, isSelected, onSelect, onRemove }) {
63
63
  installRendererBridge();
64
64
  const benchmarkMetadata = {
65
65
  packageName: "@askrjs/askr",
66
- packageVersion: "0.0.83",
67
- buildLabel: "0.0.83-local"
66
+ packageVersion: "0.0.84",
67
+ buildLabel: "0.0.84-local"
68
68
  };
69
69
  function getBenchmarkMetadata() {
70
70
  return { ...benchmarkMetadata };
@@ -1,7 +1,7 @@
1
- import { s as ComponentFunction } from "../control-Cix3yjVf.js";
2
- import { W as RouteRegistry, w as RouteAuthOptions } from "../index-TlEvex-C.js";
1
+ import { l as ComponentFunction } from "../control-Y8F73Uln.js";
2
+ import { W as RouteRegistry, w as RouteAuthOptions } from "../index-_UN08Pg1.js";
3
3
  import { v as DataRuntime } from "../index-5S-fi2xy.js";
4
- import { a as ScrollRestorationOptions } from "../navigate-DfY1BUYc.js";
4
+ import { a as ScrollRestorationOptions } from "../navigate-CgVIrrSs.js";
5
5
  //#region src/boot/types.d.ts
6
6
  type IslandConfig = {
7
7
  root: Element | string;
@@ -1,2 +1,2 @@
1
- import { a as cleanupApp, i as hydrateSPA, n as createIslands, o as hasApp, r as createSPA, t as createIsland } from "../boot-uK1hzONI.js";
1
+ import { a as cleanupApp, i as hydrateSPA, n as createIslands, o as hasApp, r as createSPA, t as createIsland } from "../boot-D28lesMw.js";
2
2
  export { cleanupApp, createIsland, createIslands, createSPA, hasApp, hydrateSPA };
@@ -1,19 +1,19 @@
1
1
  import { b as isDevelopmentEnvironment, r as flushRuntimeScheduler, v as logger, x as isProductionEnvironment } from "./access-ePqdQqkV.js";
2
2
  import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
3
- import { n as createComponentInstance, r as executeComponent } from "./component-internal-DsM75Gl1.js";
4
- import { t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
5
- import { p as isPromiseLike } from "./lifecycle-batch-CwHCDseR.js";
6
- import { a as withIntrinsicHydrationAdoption, c as beginHydrationListenerTransaction, d as setStaticChildSlotsCacheEnabled, i as registerDeferredHydrationBoundary, l as commitHydrationListenerTransaction, n as activateHydrationBoundary$1, o as beginHydrationDirectListenerMode, r as clearDeferredHydrationBoundaries, s as endHydrationDirectListenerMode, t as installRendererBridge, u as discardHydrationListenerTransaction } from "./renderer-VSw0KKDG.js";
7
- import { _ as teardownNodeSubtree, d as removeAllListeners } from "./cleanup-CEF-cX49.js";
8
- import { T as assertExecutionModel, c as _applyManifest, d as getRouteRenderContext, f as getRouteRenderData, m as resolveRouteRequest, o as reviveDeferredValue, p as hasRouteRenderData, v as pageRenderEnvelope } from "./deferred-rdHAgyKe.js";
3
+ import { n as createComponentInstance, r as executeComponent } from "./component-internal-Bw4Mf9fd.js";
4
+ import { t as cleanupComponent } from "./component-cleanup-Bug5tSiG.js";
5
+ import { p as isPromiseLike } from "./lifecycle-batch-CFI4NKpJ.js";
6
+ import { a as setStaticChildSlotsCacheEnabled, c as endHydrationDirectListenerMode, d as discardHydrationListenerTransaction, i as registerDeferredHydrationBoundary, l as beginHydrationListenerTransaction, n as activateHydrationBoundary$1, o as withIntrinsicHydrationAdoption, r as clearDeferredHydrationBoundaries, s as beginHydrationDirectListenerMode, t as installRendererBridge, u as commitHydrationListenerTransaction } from "./renderer-B9j5IV1q.js";
7
+ import { _ as teardownNodeSubtree, d as removeAllListeners } from "./cleanup-ARiXproi.js";
8
+ import { T as assertExecutionModel, c as _applyManifest, d as getRouteRenderContext, f as getRouteRenderData, m as resolveRouteRequest, o as reviveDeferredValue, p as hasRouteRenderData, v as pageRenderEnvelope } from "./deferred-oqtAJ4iH.js";
9
9
  import { c as stopHydrationRenderPhase, o as startHydrationRenderPhase } from "./render-context-D-DFk2WN.js";
10
- import { d as _setActiveRouteAuthOptions, j as lockRouteRegistration, k as hasRegisteredRoutes, m as clearRouteState } from "./route-matching-BUwz4kfl.js";
11
- import { a as disposeDefaultPortalScope, t as DefaultPortal } from "./portal-BZ_rN17v.js";
12
- import { r as validateCspNonce, t as CspNonceScope } from "./csp-nonce-DDt0UNdt.js";
10
+ import { d as _setActiveRouteAuthOptions, j as lockRouteRegistration, k as hasRegisteredRoutes, m as clearRouteState } from "./route-matching-IfQZmqkN.js";
11
+ import { a as disposeDefaultPortalScope, t as DefaultPortal } from "./portal-pHBoqwYd.js";
12
+ import { r as validateCspNonce, t as CspNonceScope } from "./csp-nonce-ZTlD_EnK.js";
13
13
  import { i as getDefaultDataRuntime } from "./data-runtime-D68YOo9L.js";
14
14
  import { a as hydrateDataRuntime } from "./query-registry-BL6rjGsO.js";
15
- import { o as createAppRenderRuntime, r as setServerLocation } from "./activity-CnSRFO3d.js";
16
- import { f as registerAppInstance, g as unregisterAppInstance, i as resolveRouteMeta, o as configureScrollRestoration, r as reconcileRouteMeta, t as initializeNavigation } from "./navigate-Crvd5gUG.js";
15
+ import { o as createAppRenderRuntime, r as setServerLocation } from "./activity-CZiPgZy0.js";
16
+ import { f as registerAppInstance, g as unregisterAppInstance, i as resolveRouteMeta, o as configureScrollRestoration, r as reconcileRouteMeta, t as initializeNavigation } from "./navigate-Dr3cjOSz.js";
17
17
  import "./ssr-CbQO5xd3.js";
18
18
  //#region src/boot/hydration.ts
19
19
  const DEFERRED_PAYLOAD = "__askr_deferred__";
@@ -585,7 +585,7 @@ async function hydrateSPA(config) {
585
585
  cspNonce: config.cspNonce
586
586
  }));
587
587
  if (shouldVerifyHydrationMarkup(config)) {
588
- const { verifyHydrationSyncForUrl } = await import("./verify-hydration-CNLXUcuR.js");
588
+ const { verifyHydrationSyncForUrl } = await import("./verify-hydration-BguOSco9.js");
589
589
  if (!verifyHydrationSyncForUrl({
590
590
  root: rootElement,
591
591
  url: currentUrl,
@@ -1,7 +1,7 @@
1
1
  import { c as runRuntimeHandlerScope, v as logger } from "./access-ePqdQqkV.js";
2
- import "./fastlane-CkBXZ_3K.js";
3
- import { t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
4
- import { u as registerLifecycleTransaction } from "./lifecycle-batch-CwHCDseR.js";
2
+ import "./fastlane-BOr4lSLl.js";
3
+ import { t as cleanupComponent } from "./component-cleanup-Bug5tSiG.js";
4
+ import { u as registerLifecycleTransaction } from "./lifecycle-batch-CFI4NKpJ.js";
5
5
  //#region src/runtime/events.ts
6
6
  /**
7
7
  * Event delegation system for Askr
@@ -37,7 +37,7 @@ const DELEGATED_EVENTS = [
37
37
  "touchcancel"
38
38
  ];
39
39
  function createDelegatedEventFacade(event, currentTarget) {
40
- return new Proxy(event, { get(target, property, receiver) {
40
+ return new Proxy(event, { get(target, property, _receiver) {
41
41
  if (property === "currentTarget") return currentTarget;
42
42
  const value = Reflect.get(target, property, target);
43
43
  return typeof value === "function" ? value.bind(target) : value;
@@ -1,5 +1,5 @@
1
1
  import { b as isDevelopmentEnvironment, v as logger, x as isProductionEnvironment } from "./access-ePqdQqkV.js";
2
- import { n as cleanupReadableSubscriptions, t as cleanupReadableSubscriptionSources } from "./readable-B3VIOfd7.js";
2
+ import { n as cleanupReadableSubscriptions, t as cleanupReadableSubscriptionSources } from "./readable-_GQGe_St.js";
3
3
  import { a as clearCurrentComponentScope, y as restoreCurrentComponentScope } from "./component-scope-DzJEbYGE.js";
4
4
  //#region src/runtime/state-diagnostics.ts
5
5
  /**
@@ -1,10 +1,10 @@
1
1
  import { a as markTransparentComponentResult, i as markEagerControlPrimitive } from "./control-C-ApnFs1.js";
2
2
  import { b as isDevelopmentEnvironment, n as enqueueRuntimeTask, o as getRuntimeRenderer, v as logger, x as isProductionEnvironment } from "./access-ePqdQqkV.js";
3
- import { r as tryRuntimeFastLaneSync, t as isBulkCommitActive } from "./fastlane-CkBXZ_3K.js";
3
+ import { r as tryRuntimeFastLaneSync, t as isBulkCommitActive } from "./fastlane-BOr4lSLl.js";
4
4
  import { r as STATIC_CHILDREN, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
5
- import { i as finalizeReadableSubscriptions } from "./readable-B3VIOfd7.js";
5
+ import { i as finalizeReadableSubscriptions } from "./readable-_GQGe_St.js";
6
6
  import { C as restoreRenderScopedComponent, S as restoreInlineRenderTracking, _ as getSignalForInstance, b as restoreDomCommitScope, c as enterDomCommitScope, f as getCurrentComponentInstance, l as enterRenderScopedComponent, m as getCurrentPortalScope, n as captureInlineComponentScope, o as clearRenderTracking, p as getCurrentInstance, r as captureInlineRenderTracking, s as enterComponentExecutionScope, t as beginRenderTracking, u as exitComponentExecutionScope, v as resetRenderState, x as restoreInlineComponentScope } from "./component-scope-DzJEbYGE.js";
7
- import { a as enqueueLifecycleCommitForInstance, d as discardCommitOperations, f as executeCommittedLifecycleOperations, n as captureInlineRenderSnapshot$1, o as finalizeInlineReadSubscriptions, p as isPromiseLike, r as discardLifecycleCommitBatch, s as flushLifecycleCommitBatch, t as beginLifecycleCommitBatch } from "./lifecycle-batch-CwHCDseR.js";
7
+ import { a as enqueueLifecycleCommitForInstance, d as discardCommitOperations, f as executeCommittedLifecycleOperations, n as captureInlineRenderSnapshot$1, o as finalizeInlineReadSubscriptions, p as isPromiseLike, r as discardLifecycleCommitBatch, s as flushLifecycleCommitBatch, t as beginLifecycleCommitBatch } from "./lifecycle-batch-CFI4NKpJ.js";
8
8
  //#region src/runtime/context.ts
9
9
  const TransparentContextScopeComponent = markTransparentComponentResult(ContextScopeComponent);
10
10
  let nextScopeIdentityKey = 0;
@@ -442,7 +442,7 @@ function commitToTarget(instance, result, host) {
442
442
  try {
443
443
  try {
444
444
  withContext(executionFrame, () => {
445
- renderer.evaluate(result, target, void 0, instance);
445
+ if (!renderer.replaceComponentRange(instance, result, target)) renderer.evaluate(result, target, void 0, instance);
446
446
  });
447
447
  } catch (err) {
448
448
  discardLifecycleCommitBatch(lifecycleBatch);
@@ -512,6 +512,7 @@ function ensurePendingRunTask(instance) {
512
512
  const existing = instance._pendingRunTask;
513
513
  if (existing) return existing;
514
514
  const task = () => {
515
+ if (!instance.hasPendingUpdate) return;
515
516
  instance.hasPendingUpdate = false;
516
517
  if (instance.notifyUpdate === null) return;
517
518
  runScheduledComponent(instance, {
@@ -647,6 +648,7 @@ function renderComponentInline(instance) {
647
648
  if (!hadToken) beginRenderTracking(instance);
648
649
  try {
649
650
  const result = executeComponentSync(instance);
651
+ if (!hadToken) instance.hasPendingUpdate = false;
650
652
  if (!hadToken) finalizeInlineReadSubscriptions(instance, instance._currentRenderToken, instance._pendingReadSources, instance._pendingReadSourceVersions);
651
653
  commitRenderedComponent(instance);
652
654
  return result;
@@ -684,6 +686,7 @@ function executeComponentSync(instance) {
684
686
  function executeComponent(instance) {
685
687
  instance.abortController = null;
686
688
  instance.notifyUpdate = instance._enqueueRun;
689
+ instance.hasPendingUpdate = true;
687
690
  enqueueRuntimeTask(ensurePendingRunTask(instance));
688
691
  }
689
692
  /**
@@ -1,4 +1,4 @@
1
- import { l as VNode } from "../control-Cix3yjVf.js";
1
+ import { d as VNode } from "../control-Y8F73Uln.js";
2
2
  import { r as JSXElement, s as Props } from "../jsx-Dvr2SGRG.js";
3
3
  //#region src/common/error-boundary.d.ts
4
4
  type ErrorBoundaryContent = VNode | readonly VNode[];
@@ -1,2 +1,2 @@
1
- import { a as Show, c as ForProps, i as MatchProps, n as CaseProps, o as ShowProps, r as Match, s as For, t as Case } from "../index-ho0Htetw.js";
1
+ import { a as Show, c as ForProps, i as MatchProps, n as CaseProps, o as ShowProps, r as Match, s as For, t as Case } from "../index-DUXXZ31H.js";
2
2
  export { Case, type CaseProps, For, type ForProps, Match, type MatchProps, Show, type ShowProps };
@@ -1,2 +1,2 @@
1
- import { i as For, n as Match, r as Show, t as Case } from "../control-C0X1zgrM.js";
1
+ import { i as For, n as Match, r as Show, t as Case } from "../control-nrS65oG3.js";
2
2
  export { Case, For, Match, Show };
@@ -445,4 +445,4 @@ interface ControlTransaction {
445
445
  registered: boolean;
446
446
  }
447
447
  //#endregion
448
- export { StateTuple as _, defineScope as a, RenderableChild as c, DocumentRenderContext as d, DocumentRenderer as f, StateSetter as g, State as h, Scope as i, VNode as l, SSRStyleRegistration as m, ReadableSource as n, readScope as o, SSRData as p, ComponentInstance as r, ComponentFunction as s, ForEachSource as t, DocumentRenderArgs as u, state as v };
448
+ export { State as _, ComponentInstance as a, state as b, readScope as c, VNode as d, DocumentRenderArgs as f, SSRStyleRegistration as g, SSRData as h, ReadableSource as i, ComponentFunction as l, DocumentRenderer as m, ChildScope as n, Scope as o, DocumentRenderContext as p, DOMRange as r, defineScope as s, ForEachSource as t, RenderableChild as u, StateSetter as v, StateTuple as y };
@@ -1,9 +1,9 @@
1
1
  import { i as markEagerControlPrimitive, t as __CONTROL_BOUNDARY__ } from "./control-C-ApnFs1.js";
2
2
  import { b as isDevelopmentEnvironment } from "./access-ePqdQqkV.js";
3
3
  import { n as Fragment } from "./jsx-C3IECePB.js";
4
- import { m as createShowState, p as createCaseState, s as useForState } from "./for-internal-DRbV0h1d.js";
5
- import { t as createFineGrainedEffect } from "./effect-2IIWvUjG.js";
6
- import { t as state } from "./state-BCl9DeiN.js";
4
+ import { m as createShowState, p as createCaseState, s as useForState } from "./for-internal-DjpV8ioj.js";
5
+ import { t as createFineGrainedEffect } from "./effect-B487asyz.js";
6
+ import { t as state } from "./state-BzIMC6-i.js";
7
7
  //#region src/control/shared.ts
8
8
  function normalizeBoundaryChild(value) {
9
9
  if (Array.isArray(value)) {
@@ -1,4 +1,4 @@
1
- import { g as readScope, u as defineScope } from "./component-internal-DsM75Gl1.js";
1
+ import { g as readScope, u as defineScope } from "./component-internal-Bw4Mf9fd.js";
2
2
  //#region src/common/url.ts
3
3
  const SAFE_URL_SCHEMES = /* @__PURE__ */ new Set([
4
4
  "http",
@@ -1,4 +1,4 @@
1
1
  import { i as getDefaultDataRuntime, t as createDataRuntime } from "../data-runtime-D68YOo9L.js";
2
- import { a as queryScope, i as invalidateOnInterval, n as createMutation, r as invalidate, t as createQuery } from "../data-G0hURNm_.js";
2
+ import { a as queryScope, i as invalidateOnInterval, n as createMutation, r as invalidate, t as createQuery } from "../data-BRS5woEh.js";
3
3
  import { a as hydrateDataRuntime, i as dehydrateDataRuntime, n as defineQuery, o as prefetchQuery, r as defineServerQueries, s as serveQuery, t as createQueryPrefetchContext } from "../query-registry-BL6rjGsO.js";
4
4
  export { createDataRuntime, createMutation, createQuery, createQueryPrefetchContext, defineQuery, defineServerQueries, dehydrateDataRuntime, getDefaultDataRuntime, hydrateDataRuntime, invalidate, invalidateOnInterval, prefetchQuery, queryScope, serveQuery };
@@ -1,8 +1,8 @@
1
1
  import { n as enqueueRuntimeTask, v as logger } from "./access-ePqdQqkV.js";
2
- import { l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
2
+ import { l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-_GQGe_St.js";
3
3
  import { f as getCurrentComponentInstance, i as claimHookIndex } from "./component-scope-DzJEbYGE.js";
4
4
  import { n as getActiveRenderContext } from "./render-context-D-DFk2WN.js";
5
- import { i as routeActive, n as documentVisible, o as timer, s as windowFocused } from "./lifecycle-operations-BJfxWUJr.js";
5
+ import { i as routeActive, n as documentVisible, o as timer, s as windowFocused } from "./lifecycle-operations-KYOIcM5R.js";
6
6
  import { a as getMutationSlotStore, c as resolveDataRuntimeState, i as getDefaultDataRuntime, n as ensureMutationCleanup, o as getQuerySlotStore, r as ensureQueryCleanup, s as invalidateQueriesForRuntime } from "./data-runtime-D68YOo9L.js";
7
7
  //#region src/data/query-key.ts
8
8
  function serializeQueryKeyNumber(part) {
@@ -1,10 +1,10 @@
1
1
  import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
2
- import { g as readScope, u as defineScope } from "./component-internal-DsM75Gl1.js";
2
+ import { g as readScope, u as defineScope } from "./component-internal-Bw4Mf9fd.js";
3
3
  import { d as getCurrentAppRenderRuntime } from "./component-scope-DzJEbYGE.js";
4
- import { p as isPromiseLike } from "./lifecycle-batch-CwHCDseR.js";
4
+ import { p as isPromiseLike } from "./lifecycle-batch-CFI4NKpJ.js";
5
5
  import { n as getActiveRenderContext, r as getCurrentRenderData } from "./render-context-D-DFk2WN.js";
6
- import { A as insertRecordSorted, D as getRouteRecords, E as getRouteList, F as snapshotRouteState, N as restoreRouteState, P as setDefaultRouteAuthOptions, T as getDefaultRouteAuthOptions, f as addRouteToStores, h as getActiveRouteAuthOptions, i as getMatchingRouteRecord, m as clearRouteState, o as buildRouteContext, s as buildRouteContextBase, z as resource } from "./route-matching-BUwz4kfl.js";
7
- import { i as ROUTE_ROOT_COMPONENT } from "./csp-nonce-DDt0UNdt.js";
6
+ import { A as insertRecordSorted, D as getRouteRecords, E as getRouteList, F as snapshotRouteState, N as restoreRouteState, P as setDefaultRouteAuthOptions, T as getDefaultRouteAuthOptions, f as addRouteToStores, h as getActiveRouteAuthOptions, i as getMatchingRouteRecord, m as clearRouteState, o as buildRouteContext, s as buildRouteContextBase, z as resource } from "./route-matching-IfQZmqkN.js";
7
+ import { i as ROUTE_ROOT_COMPONENT } from "./csp-nonce-ZTlD_EnK.js";
8
8
  import { c as withTelemetry, t as createQueryPrefetchContext } from "./query-registry-BL6rjGsO.js";
9
9
  //#region src/runtime/execution-model.ts
10
10
  const EXECUTION_MODEL_KEY = Symbol.for("__ASKR_EXECUTION_MODEL__");
@@ -1,5 +1,5 @@
1
1
  import { t as enqueueRuntimeLane } from "./access-ePqdQqkV.js";
2
- import { m as withFineGrainedReadTracking } from "./readable-B3VIOfd7.js";
2
+ import { m as withFineGrainedReadTracking } from "./readable-_GQGe_St.js";
3
3
  //#region src/runtime/effect.ts
4
4
  const SOURCE_EFFECTS = Symbol("askr.source-effects");
5
5
  const effectSources = /* @__PURE__ */ new WeakMap();
@@ -1,6 +1,6 @@
1
1
  import { b as isDevelopmentEnvironment, l as runRuntimeWithSyncProgress, o as getRuntimeRenderer, u as setRuntimeBulkCommitProbe } from "./access-ePqdQqkV.js";
2
2
  import { i as isFragmentType } from "./jsx-C3IECePB.js";
3
- import { i as finalizeReadableSubscriptions } from "./readable-B3VIOfd7.js";
3
+ import { i as finalizeReadableSubscriptions } from "./readable-_GQGe_St.js";
4
4
  //#region src/runtime/dev-namespace.ts
5
5
  /**
6
6
  * Set a value in the dev namespace (no-op in production).
@@ -1,10 +1,10 @@
1
1
  import { n as _isDOMElement } from "./vnode-D24p6IW2.js";
2
2
  import { b as isDevelopmentEnvironment, o as getRuntimeRenderer, v as logger } from "./access-ePqdQqkV.js";
3
- import { _ as rebaseVNodeTreeWithContextFrame, m as haveEquivalentContextFrames, n as createComponentInstance, s as renderScopedComponent } from "./component-internal-DsM75Gl1.js";
4
- import { d as shouldCoalesceFineGrainedItemReads, l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
3
+ import { _ as rebaseVNodeTreeWithContextFrame, m as haveEquivalentContextFrames, n as createComponentInstance, s as renderScopedComponent } from "./component-internal-Bw4Mf9fd.js";
4
+ import { d as shouldCoalesceFineGrainedItemReads, l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-_GQGe_St.js";
5
5
  import { h as getCurrentStateIndex, i as claimHookIndex, o as clearRenderTracking, p as getCurrentInstance } from "./component-scope-DzJEbYGE.js";
6
- import { i as unregisterOwnedChildScope, r as registerOwnedChildScope, t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
7
- import { o as finalizeInlineReadSubscriptions, u as registerLifecycleTransaction } from "./lifecycle-batch-CwHCDseR.js";
6
+ import { i as unregisterOwnedChildScope, r as registerOwnedChildScope, t as cleanupComponent } from "./component-cleanup-Bug5tSiG.js";
7
+ import { o as finalizeInlineReadSubscriptions, u as registerLifecycleTransaction } from "./lifecycle-batch-CFI4NKpJ.js";
8
8
  //#region src/runtime/child-scope.ts
9
9
  const EMPTY_CHILD_SCOPE_PROPS = {};
10
10
  const childScopesByInstance = /* @__PURE__ */ new WeakMap();
@@ -200,9 +200,10 @@ function stageBranchRemoval(state, scope) {
200
200
  const transaction = state._transaction;
201
201
  if (transaction && !transaction.removedScopes.includes(scope)) transaction.removedScopes.push(scope);
202
202
  else if (!transaction) disposeChildScope(scope);
203
- const removedDom = scope.dom;
203
+ const removedRange = getRuntimeRenderer().resolveChildScopeRange?.(scope) ?? scope.range;
204
+ const removedDom = removedRange?.single ? removedRange.start : scope.dom;
204
205
  if (removedDom) state.lastRemovedNodes.push(removedDom);
205
- if (scope.range) state.lastRemovedRanges.push(scope.range);
206
+ if (removedRange) state.lastRemovedRanges.push(removedRange);
206
207
  }
207
208
  function commitControlTransaction(state, transaction) {
208
209
  if (state._transaction !== transaction) return;
@@ -608,6 +609,13 @@ const REACTIVE_FOR_ITEM_PROXY_HANDLER = {
608
609
  const recordBenchEvent = (_event) => {};
609
610
  //#endregion
610
611
  //#region src/runtime/for-scopes.ts
612
+ function resolveScopeBoundary(scope) {
613
+ const range = getRuntimeRenderer().resolveChildScopeRange?.(scope) ?? scope.range;
614
+ return {
615
+ dom: range?.single ? range.start : scope.dom,
616
+ range
617
+ };
618
+ }
611
619
  function recordRemovedBoundary(forState, dom, range) {
612
620
  if (range && !range.single) forState.lastRemovedRanges.push(range);
613
621
  else if (dom) forState.lastRemovedNodes.push(dom);
@@ -616,8 +624,11 @@ function captureRemovedScopeNodes(forState, dom, range) {
616
624
  const transaction = forState._transaction;
617
625
  if (!transaction) return;
618
626
  const nodes = transaction.removedScopeNodes ??= [];
619
- if (range && !range.single) for (let node = range.start.nextSibling; node && node !== range.end; node = node.nextSibling) nodes.push(node);
620
- else if (dom) nodes.push(dom);
627
+ if (range && !range.single) {
628
+ nodes.push(range.start);
629
+ for (let node = range.start.nextSibling; node && node !== range.end; node = node.nextSibling) nodes.push(node);
630
+ nodes.push(range.end);
631
+ } else if (dom) nodes.push(dom);
621
632
  }
622
633
  function enqueueForScopeUpdate(parent) {
623
634
  parent?._enqueueRun?.();
@@ -734,8 +745,7 @@ function renderItemScope(forState, scope, item, indexSignal, key) {
734
745
  return vnode;
735
746
  }
736
747
  function disposeItemInstance(forState, itemInstance, domCleanup) {
737
- const removedDom = itemInstance.scope.dom;
738
- const removedRange = itemInstance.scope.range;
748
+ const { dom: removedDom, range: removedRange } = resolveScopeBoundary(itemInstance.scope);
739
749
  const transaction = forState._transaction;
740
750
  if (transaction) {
741
751
  (transaction.removedScopes ??= []).push(itemInstance.scope);
@@ -748,7 +758,7 @@ function disposeItemInstance(forState, itemInstance, domCleanup) {
748
758
  } catch (err) {
749
759
  if (isDevelopmentEnvironment()) console.error("[For] Cleanup error:", err);
750
760
  }
751
- if (!removedDom) return;
761
+ if (!removedDom && !removedRange) return;
752
762
  if (removedDom instanceof Element) {
753
763
  if (domCleanup === "teardown") getRuntimeRenderer().teardownNodeSubtree(removedDom);
754
764
  }
@@ -842,15 +852,14 @@ const FOR_FALLBACK_SCOPE_KEY = "__for-fallback__";
842
852
  function disposeFallbackScope(forState, domCleanup) {
843
853
  const fallbackScope = forState.fallbackScope;
844
854
  if (!fallbackScope) return;
845
- const removedDom = fallbackScope.dom;
846
- const removedRange = fallbackScope.range;
855
+ const { dom: removedDom, range: removedRange } = resolveScopeBoundary(fallbackScope);
847
856
  const transaction = forState._transaction;
848
857
  if (transaction) {
849
858
  (transaction.removedScopes ??= []).push(fallbackScope);
850
859
  captureRemovedScopeNodes(forState, removedDom, removedRange);
851
860
  } else disposeChildScope(fallbackScope);
852
861
  forState.fallbackScope = null;
853
- if (!removedDom) return;
862
+ if (!removedDom && !removedRange) return;
854
863
  if (removedDom instanceof Element) {
855
864
  if (domCleanup === "teardown") getRuntimeRenderer().teardownNodeSubtree(removedDom);
856
865
  }
@@ -880,8 +889,10 @@ function disposeAllItems(forState, domCleanup) {
880
889
  transaction.removeAllItems = true;
881
890
  for (let index = 0; index < forState.orderedItems.length; index++) {
882
891
  const scope = forState.orderedItems[index]?.scope;
883
- const removedDom = scope?.dom;
884
- const range = scope?.range;
892
+ const { dom: removedDom, range } = scope ? resolveScopeBoundary(scope) : {
893
+ dom: void 0,
894
+ range: void 0
895
+ };
885
896
  if (scope) captureRemovedScopeNodes(forState, removedDom, range);
886
897
  recordRemovedBoundary(forState, removedDom, range);
887
898
  }
@@ -901,6 +912,12 @@ function disposeAllItems(forState, domCleanup) {
901
912
  }
902
913
  //#endregion
903
914
  //#region src/runtime/for-reconcile.ts
915
+ function hasUnmountedComponentHost(node) {
916
+ if (!node) return false;
917
+ const host = node;
918
+ if (host.__ASKR_INSTANCE?.mounted === false) return true;
919
+ return host.__ASKR_INSTANCES?.some((instance) => !instance.mounted) ?? false;
920
+ }
904
921
  function failForValidation(message) {
905
922
  throw new Error(message);
906
923
  }
@@ -1087,11 +1104,15 @@ function reconcileForItems(forState, newArray) {
1087
1104
  resultVNodes.length = newLen;
1088
1105
  resultItems.length = newLen;
1089
1106
  const isFullClear = newLen === 0;
1107
+ const dirtyIndices = [];
1090
1108
  for (let i = 0; i < newLen; i++) {
1091
1109
  const item = newArray[i];
1092
1110
  const key = orderedKeys[i];
1093
1111
  const existing = items.get(key);
1094
- updateItemInstance(forState, existing, item);
1112
+ const itemChanged = existing.item !== item;
1113
+ const scopeNeedsDomUpdate = existing.scope.needsDomUpdate || hasUnmountedComponentHost(existing.scope.dom);
1114
+ if (itemChanged) updateItemInstance(forState, existing, item);
1115
+ if (itemChanged || scopeNeedsDomUpdate) dirtyIndices.push(i);
1095
1116
  resultItems[i] = existing;
1096
1117
  resultVNodes[i] = existing.scope.vnode;
1097
1118
  }
@@ -1107,7 +1128,7 @@ function reconcileForItems(forState, newArray) {
1107
1128
  forState.orderedKeys = orderedKeys;
1108
1129
  forState.orderedItems.length = newLen;
1109
1130
  forState.orderedVNodes = resultVNodes;
1110
- forState.pendingDirtyIndices = null;
1131
+ forState.pendingDirtyIndices = dirtyIndices;
1111
1132
  forState.pendingSwapIndices = null;
1112
1133
  forState.pendingMoveOnly = false;
1113
1134
  return resultVNodes;
@@ -1182,8 +1203,8 @@ function reconcileForItems(forState, newArray) {
1182
1203
  const firstItem = newArray[firstMismatch];
1183
1204
  const secondItem = newArray[secondMismatch];
1184
1205
  const nextOrderedItems = forState.orderedItems.slice();
1185
- nextOrderedItems[firstMismatch] = secondExisting;
1186
- nextOrderedItems[secondMismatch] = firstExisting;
1206
+ nextOrderedItems[firstMismatch] = firstExisting;
1207
+ nextOrderedItems[secondMismatch] = secondExisting;
1187
1208
  if (firstExisting.item !== firstItem) updateItemInstance(forState, firstExisting, firstItem);
1188
1209
  if (secondExisting.item !== secondItem) updateItemInstance(forState, secondExisting, secondItem);
1189
1210
  syncForItemIndex(forState, firstExisting, firstMismatch);
@@ -1,3 +1,3 @@
1
1
  import { r as JSXElement } from "../jsx-Dvr2SGRG.js";
2
- import { _ as definePortal, c as Presence, d as SlotProps, f as LayoutComponent, g as PortalProps, h as Portal, l as PresenceProps, m as DefaultPortal, p as layout, u as Slot } from "../index-Vs1EeWEr.js";
2
+ import { _ as definePortal, c as Presence, d as SlotProps, f as LayoutComponent, g as PortalProps, h as Portal, l as PresenceProps, m as DefaultPortal, p as layout, u as Slot } from "../index-BApH3laU.js";
3
3
  export { DefaultPortal, type JSXElement, type LayoutComponent, Portal, type PortalProps, Presence, type PresenceProps, Slot, type SlotProps, definePortal, layout };
@@ -1,3 +1,3 @@
1
1
  import { a as layout, i as Slot, r as Presence } from "../structures-D3vO-WMN.js";
2
- import { i as definePortal, n as Portal, t as DefaultPortal } from "../portal-BZ_rN17v.js";
2
+ import { i as definePortal, n as Portal, t as DefaultPortal } from "../portal-pHBoqwYd.js";
3
3
  export { DefaultPortal, Portal, Presence, Slot, definePortal, layout };
@@ -1,4 +1,4 @@
1
- import { h as State } from "../../control-Cix3yjVf.js";
1
+ import { _ as State } from "../../control-Y8F73Uln.js";
2
2
  //#region src/foundations/state/controllable.d.ts
3
3
  declare function isControlled<T>(value: T | undefined): value is T;
4
4
  declare function resolveControllable<T>(value: T | undefined, defaultValue: T): {
@@ -1,4 +1,4 @@
1
- import { t as state } from "../../state-BCl9DeiN.js";
1
+ import { t as state } from "../../state-BzIMC6-i.js";
2
2
  //#region src/foundations/state/controllable.ts
3
3
  /**
4
4
  * controllable
@@ -1,3 +1,3 @@
1
1
  import { r as JSXElement } from "../../jsx-Dvr2SGRG.js";
2
- import { _ as definePortal, a as Collection, c as Presence, d as SlotProps, f as LayoutComponent, g as PortalProps, h as Portal, i as createLayer, l as PresenceProps, m as DefaultPortal, n as LayerManager, o as CollectionItem, p as layout, r as LayerOptions, s as createCollection, t as Layer, u as Slot } from "../../index-Vs1EeWEr.js";
2
+ import { _ as definePortal, a as Collection, c as Presence, d as SlotProps, f as LayoutComponent, g as PortalProps, h as Portal, i as createLayer, l as PresenceProps, m as DefaultPortal, n as LayerManager, o as CollectionItem, p as layout, r as LayerOptions, s as createCollection, t as Layer, u as Slot } from "../../index-BApH3laU.js";
3
3
  export { type Collection, type CollectionItem, DefaultPortal, type JSXElement, type Layer, type LayerManager, type LayerOptions, type LayoutComponent, Portal, type PortalProps, Presence, type PresenceProps, Slot, type SlotProps, createCollection, createLayer, definePortal, layout };
@@ -1,3 +1,3 @@
1
1
  import { a as layout, i as Slot, n as createCollection, r as Presence, t as createLayer } from "../../structures-D3vO-WMN.js";
2
- import { i as definePortal, n as Portal, t as DefaultPortal } from "../../portal-BZ_rN17v.js";
2
+ import { i as definePortal, n as Portal, t as DefaultPortal } from "../../portal-pHBoqwYd.js";
3
3
  export { DefaultPortal, Portal, Presence, Slot, createCollection, createLayer, definePortal, layout };
@@ -1,4 +1,4 @@
1
- import { c as RenderableChild } from "./control-Cix3yjVf.js";
1
+ import { u as RenderableChild } from "./control-Y8F73Uln.js";
2
2
  import { r as JSXElement } from "./jsx-Dvr2SGRG.js";
3
3
  import "./types-C9YcqVpk.js";
4
4
  //#region src/runtime/portal.d.ts
@@ -1,4 +1,4 @@
1
- import { c as RenderableChild, l as VNode, t as ForEachSource } from "./control-Cix3yjVf.js";
1
+ import { d as VNode, t as ForEachSource, u as RenderableChild } from "./control-Y8F73Uln.js";
2
2
  import { r as JSXElement } from "./jsx-Dvr2SGRG.js";
3
3
  //#region src/control/shared.d.ts
4
4
  type BoundaryChild = RenderableChild;
@@ -1,4 +1,4 @@
1
- import { _ as StateTuple, c as RenderableChild, i as Scope, n as ReadableSource, r as ComponentInstance } from "./control-Cix3yjVf.js";
1
+ import { a as ComponentInstance, i as ReadableSource, n as ChildScope, o as Scope, r as DOMRange, u as RenderableChild, y as StateTuple } from "./control-Y8F73Uln.js";
2
2
  import { r as JSXElement } from "./jsx-Dvr2SGRG.js";
3
3
  import { t as Scheduler } from "./scheduler-CmLO4Dfm.js";
4
4
  import { D as QueryPrefetchContext, _ as CoreTelemetry } from "./index-5S-fi2xy.js";
@@ -30,7 +30,8 @@ interface RuntimeKeyedReorderDecision {
30
30
  interface RuntimeRendererHost {
31
31
  evaluate(node: unknown, target: Element | null, context?: object, retainedOwner?: ComponentInstance): void;
32
32
  cleanupInstancesUnder(node: Node): void;
33
- replaceComponentRange(instance: ComponentInstance, result: unknown, placeholder: Comment): Node | null;
33
+ replaceComponentRange(instance: ComponentInstance, result: unknown, host: Element | Comment): Node | null;
34
+ resolveChildScopeRange?(scope: ChildScope): DOMRange | null;
34
35
  teardownNodeSubtree(root: Node): void;
35
36
  populateKeyMapForElement(parent: Element): void;
36
37
  getKeyMapForElement(parent: Element): Map<string | number, Element> | undefined;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { _ as StateTuple, a as defineScope, g as StateSetter, h as State, i as Scope, o as readScope, v as state } from "./control-Cix3yjVf.js";
1
+ import { _ as State, b as state, c as readScope, o as Scope, s as defineScope, v as StateSetter, y as StateTuple } from "./control-Y8F73Uln.js";
2
2
  import { s as Props, t as Fragment } from "./jsx-Dvr2SGRG.js";
3
- import { $ as cspNonce, Q as CspNonceScope, at as AskrRuntimeOptions, c as createRef, ct as createRuntime, d as registerSSRStyle, et as Selector, it as AskrRuntime, lt as getDefaultRuntime, nt as Derived, ot as RuntimeKeyedReorderDecision, rt as derive, s as Ref, st as RuntimeRendererHost, tt as selector, ut as getSignal } from "./index-TlEvex-C.js";
4
- import { a as Show, c as ForProps, i as MatchProps, n as CaseProps, o as ShowProps, r as Match, s as For, t as Case } from "./index-ho0Htetw.js";
3
+ import { $ as cspNonce, Q as CspNonceScope, at as AskrRuntimeOptions, c as createRef, ct as createRuntime, d as registerSSRStyle, et as Selector, it as AskrRuntime, lt as getDefaultRuntime, nt as Derived, ot as RuntimeKeyedReorderDecision, rt as derive, s as Ref, st as RuntimeRendererHost, tt as selector, ut as getSignal } from "./index-_UN08Pg1.js";
4
+ import { a as Show, c as ForProps, i as MatchProps, n as CaseProps, o as ShowProps, r as Match, s as For, t as Case } from "./index-DUXXZ31H.js";
5
5
  import { A as ServerQueryHandler, D as QueryPrefetchContext, T as QueryDefinition, a as defineServerQueries, c as prefetchQuery, h as createQuery, i as defineQuery, l as serveQuery, o as dehydrateDataRuntime, s as hydrateDataRuntime, v as DataRuntime } from "./index-5S-fi2xy.js";
6
6
  import { i as jsxs, n as jsx } from "./jsx-runtime-Cr1jspx9.js";
7
7
  export { AskrRuntime, type AskrRuntimeOptions, Case, type CaseProps, CspNonceScope, type DataRuntime, type Derived, For, type ForProps, Fragment, Match, type MatchProps, type Props, type QueryDefinition, type QueryPrefetchContext, type Ref, type RuntimeKeyedReorderDecision, type RuntimeRendererHost, type Scope, type Selector, type ServerQueryHandler, Show, type ShowProps, type State, type StateSetter, type StateTuple, createQuery, createRef, createRuntime, cspNonce, defineQuery, defineScope, defineServerQueries, dehydrateDataRuntime, derive, getDefaultRuntime, getSignal, hydrateDataRuntime, jsx, jsxs, prefetchQuery, readScope, registerSSRStyle, selector, serveQuery, state };
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { a as getRuntimeFlushVersion, d as AskrRuntime, m as getDefaultRuntime, p as createRuntime, t as enqueueRuntimeLane } from "./access-ePqdQqkV.js";
2
2
  import { n as Fragment } from "./jsx-C3IECePB.js";
3
- import { g as readScope, u as defineScope } from "./component-internal-DsM75Gl1.js";
4
- import { f as syncDerivedDependencySubscriptions, l as notifyReadableReaders, o as markReactivePropsDirtySource, p as withDerivedReadTracking, r as clearDerivedDependencySubscriptions, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
3
+ import { g as readScope, u as defineScope } from "./component-internal-Bw4Mf9fd.js";
4
+ import { f as syncDerivedDependencySubscriptions, l as notifyReadableReaders, o as markReactivePropsDirtySource, p as withDerivedReadTracking, r as clearDerivedDependencySubscriptions, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-_GQGe_St.js";
5
5
  import { g as getSignal, i as claimHookIndex, p as getCurrentInstance } from "./component-scope-DzJEbYGE.js";
6
6
  import { n as isSnapshotSource } from "./snapshot-source-BB42xgwb.js";
7
- import { t as installRendererBridge } from "./renderer-VSw0KKDG.js";
7
+ import { t as installRendererBridge } from "./renderer-B9j5IV1q.js";
8
8
  import { a as registerSSRStyle } from "./render-context-D-DFk2WN.js";
9
- import { t as state } from "./state-BCl9DeiN.js";
10
- import { t as selector } from "./selector-DVwvof1M.js";
11
- import { n as cspNonce, t as CspNonceScope } from "./csp-nonce-DDt0UNdt.js";
12
- import { i as For, n as Match, r as Show, t as Case } from "./control-C0X1zgrM.js";
9
+ import { t as state } from "./state-BzIMC6-i.js";
10
+ import { t as selector } from "./selector-DJ1-N1K-.js";
11
+ import { n as cspNonce, t as CspNonceScope } from "./csp-nonce-ZTlD_EnK.js";
12
+ import { i as For, n as Match, r as Show, t as Case } from "./control-nrS65oG3.js";
13
13
  import { jsx, jsxs } from "./jsx-runtime.js";
14
- import { t as createQuery } from "./data-G0hURNm_.js";
14
+ import { t as createQuery } from "./data-BRS5woEh.js";
15
15
  import { a as hydrateDataRuntime, i as dehydrateDataRuntime, n as defineQuery, o as prefetchQuery, r as defineServerQueries, s as serveQuery } from "./query-registry-BL6rjGsO.js";
16
16
  //#region src/runtime/derive.ts
17
17
  const deriveCells = /* @__PURE__ */ new WeakMap();