@barefootjs/jsx 0.34.0 → 0.35.1

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 (148) hide show
  1. package/dist/analyzer-context.d.ts.map +1 -1
  2. package/dist/analyzer.d.ts.map +1 -1
  3. package/dist/index.d.ts +2 -1
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +1072 -903
  6. package/dist/ir-to-client-js/collect-elements.d.ts +22 -2
  7. package/dist/ir-to-client-js/collect-elements.d.ts.map +1 -1
  8. package/dist/ir-to-client-js/control-flow/plan/build-branch-loop.d.ts.map +1 -1
  9. package/dist/ir-to-client-js/control-flow/plan/build-component-loop.d.ts.map +1 -1
  10. package/dist/ir-to-client-js/control-flow/plan/build-composite-loop.d.ts.map +1 -1
  11. package/dist/ir-to-client-js/control-flow/plan/build-inner-loop.d.ts +14 -2
  12. package/dist/ir-to-client-js/control-flow/plan/build-inner-loop.d.ts.map +1 -1
  13. package/dist/ir-to-client-js/control-flow/plan/build-lazy-row.d.ts +11 -0
  14. package/dist/ir-to-client-js/control-flow/plan/build-lazy-row.d.ts.map +1 -1
  15. package/dist/ir-to-client-js/control-flow/plan/build-loop-child-arm.d.ts +6 -1
  16. package/dist/ir-to-client-js/control-flow/plan/build-loop-child-arm.d.ts.map +1 -1
  17. package/dist/ir-to-client-js/control-flow/plan/build-loop.d.ts.map +1 -1
  18. package/dist/ir-to-client-js/control-flow/plan/build-plain-row.d.ts +52 -0
  19. package/dist/ir-to-client-js/control-flow/plan/build-plain-row.d.ts.map +1 -0
  20. package/dist/ir-to-client-js/control-flow/plan/build-reactive-effects.d.ts +5 -2
  21. package/dist/ir-to-client-js/control-flow/plan/build-reactive-effects.d.ts.map +1 -1
  22. package/dist/ir-to-client-js/control-flow/plan/inner-loop.d.ts +24 -44
  23. package/dist/ir-to-client-js/control-flow/plan/inner-loop.d.ts.map +1 -1
  24. package/dist/ir-to-client-js/control-flow/plan/lazy-conditional.d.ts +6 -7
  25. package/dist/ir-to-client-js/control-flow/plan/lazy-conditional.d.ts.map +1 -1
  26. package/dist/ir-to-client-js/control-flow/plan/lazy-preamble.d.ts +5 -7
  27. package/dist/ir-to-client-js/control-flow/plan/lazy-preamble.d.ts.map +1 -1
  28. package/dist/ir-to-client-js/control-flow/plan/lazy-row-eligibility.d.ts.map +1 -1
  29. package/dist/ir-to-client-js/control-flow/plan/loop-child-arm.d.ts +14 -0
  30. package/dist/ir-to-client-js/control-flow/plan/loop-child-arm.d.ts.map +1 -1
  31. package/dist/ir-to-client-js/control-flow/plan/loop.d.ts +10 -6
  32. package/dist/ir-to-client-js/control-flow/plan/loop.d.ts.map +1 -1
  33. package/dist/ir-to-client-js/control-flow/shared.d.ts +11 -9
  34. package/dist/ir-to-client-js/control-flow/shared.d.ts.map +1 -1
  35. package/dist/ir-to-client-js/control-flow/stringify/composite-loop.d.ts.map +1 -1
  36. package/dist/ir-to-client-js/control-flow/stringify/inner-loop.d.ts +6 -14
  37. package/dist/ir-to-client-js/control-flow/stringify/inner-loop.d.ts.map +1 -1
  38. package/dist/ir-to-client-js/control-flow/stringify/lazy-row.d.ts +1 -3
  39. package/dist/ir-to-client-js/control-flow/stringify/lazy-row.d.ts.map +1 -1
  40. package/dist/ir-to-client-js/control-flow/stringify/loop-child-arm.d.ts +19 -3
  41. package/dist/ir-to-client-js/control-flow/stringify/loop-child-arm.d.ts.map +1 -1
  42. package/dist/ir-to-client-js/control-flow/stringify/loop.d.ts.map +1 -1
  43. package/dist/ir-to-client-js/control-flow/stringify/reactive-effects.d.ts +5 -1
  44. package/dist/ir-to-client-js/control-flow/stringify/reactive-effects.d.ts.map +1 -1
  45. package/dist/ir-to-client-js/csr-substitute.d.ts +16 -0
  46. package/dist/ir-to-client-js/csr-substitute.d.ts.map +1 -1
  47. package/dist/ir-to-client-js/emit-reactive.d.ts +54 -0
  48. package/dist/ir-to-client-js/emit-reactive.d.ts.map +1 -1
  49. package/dist/ir-to-client-js/emit-registration.d.ts.map +1 -1
  50. package/dist/ir-to-client-js/html-template.d.ts +2 -2
  51. package/dist/ir-to-client-js/html-template.d.ts.map +1 -1
  52. package/dist/ir-to-client-js/imports.d.ts +2 -2
  53. package/dist/ir-to-client-js/imports.d.ts.map +1 -1
  54. package/dist/ir-to-client-js/index.d.ts.map +1 -1
  55. package/dist/ir-to-client-js/markup-slots.d.ts +21 -0
  56. package/dist/ir-to-client-js/markup-slots.d.ts.map +1 -0
  57. package/dist/ir-to-client-js/reactivity.d.ts +62 -18
  58. package/dist/ir-to-client-js/reactivity.d.ts.map +1 -1
  59. package/dist/ir-to-client-js/safe-html.d.ts +158 -0
  60. package/dist/ir-to-client-js/safe-html.d.ts.map +1 -0
  61. package/dist/ir-to-client-js/types.d.ts +18 -2
  62. package/dist/ir-to-client-js/types.d.ts.map +1 -1
  63. package/dist/ir-to-client-js/utils.d.ts +34 -1
  64. package/dist/ir-to-client-js/utils.d.ts.map +1 -1
  65. package/dist/jsx-to-ir.d.ts.map +1 -1
  66. package/dist/prop-rewrite.d.ts +8 -3
  67. package/dist/prop-rewrite.d.ts.map +1 -1
  68. package/dist/props-binding.d.ts +22 -1
  69. package/dist/props-binding.d.ts.map +1 -1
  70. package/dist/reactivity-checker.d.ts +18 -0
  71. package/dist/reactivity-checker.d.ts.map +1 -1
  72. package/dist/ssr-defaults.d.ts.map +1 -1
  73. package/dist/types.d.ts +5 -10
  74. package/dist/types.d.ts.map +1 -1
  75. package/package.json +2 -2
  76. package/src/__tests__/__snapshots__/doc-examples.test.ts.snap +138 -22
  77. package/src/__tests__/binding-scope-ratchet.test.ts +25 -2
  78. package/src/__tests__/build-plain-row-consolidation.test.ts +120 -0
  79. package/src/__tests__/child-prop-fallback-wrap.test.ts +4 -2
  80. package/src/__tests__/client-template-escape-soundness.test.ts +538 -0
  81. package/src/__tests__/compiler-stress-1244.test.ts +8 -8
  82. package/src/__tests__/csr-template-loop-shadowing.test.ts +4 -2
  83. package/src/__tests__/flatmap-segments.test.ts +1 -1
  84. package/src/__tests__/issue-2868-cond-arm-tag-collision.test.ts +185 -0
  85. package/src/__tests__/issue-2869-attr-dedup-guard.test.ts +141 -0
  86. package/src/__tests__/lazy-conditional.test.ts +52 -12
  87. package/src/__tests__/lazy-preamble.test.ts +11 -11
  88. package/src/__tests__/lazy-row-eligibility.test.ts +8 -3
  89. package/src/__tests__/loop-child-reactive-attr-const-shadow.test.ts +25 -3
  90. package/src/__tests__/loop-index-reactivity.test.ts +208 -0
  91. package/src/__tests__/loop-item-conditional-codegen.test.ts +4 -2
  92. package/src/__tests__/map-arbitrary-body.test.ts +1 -1
  93. package/src/__tests__/map-body-brand-checker.test.ts +176 -0
  94. package/src/__tests__/nested-loop-index-param.test.ts +41 -8
  95. package/src/__tests__/nested-loop-non-outer-reactivity.test.ts +177 -0
  96. package/src/__tests__/nested-loop-plain.test.ts +39 -25
  97. package/src/__tests__/nested-loop-reactive-attrs.test.ts +16 -6
  98. package/src/__tests__/preamble-branch-arm-rerun.test.ts +135 -0
  99. package/src/__tests__/reactive-attrs-in-map.test.ts +13 -10
  100. package/src/__tests__/rewrite-destructured-props.test.ts +37 -0
  101. package/src/__tests__/safe-html-splice-door.test.ts +61 -0
  102. package/src/__tests__/ssr-defaults.test.ts +59 -0
  103. package/src/__tests__/style-css-var-reactive.test.ts +4 -1
  104. package/src/analyzer-context.ts +12 -10
  105. package/src/analyzer.ts +4 -0
  106. package/src/index.ts +8 -2
  107. package/src/ir-to-client-js/collect-elements.ts +126 -32
  108. package/src/ir-to-client-js/control-flow/plan/build-branch-loop.ts +20 -28
  109. package/src/ir-to-client-js/control-flow/plan/build-component-loop.ts +9 -7
  110. package/src/ir-to-client-js/control-flow/plan/build-composite-loop.ts +12 -6
  111. package/src/ir-to-client-js/control-flow/plan/build-inner-loop.ts +36 -59
  112. package/src/ir-to-client-js/control-flow/plan/build-lazy-row.ts +25 -4
  113. package/src/ir-to-client-js/control-flow/plan/build-loop-child-arm.ts +36 -9
  114. package/src/ir-to-client-js/control-flow/plan/build-loop.ts +35 -35
  115. package/src/ir-to-client-js/control-flow/plan/build-plain-row.ts +116 -0
  116. package/src/ir-to-client-js/control-flow/plan/build-reactive-effects.ts +23 -8
  117. package/src/ir-to-client-js/control-flow/plan/inner-loop.ts +24 -45
  118. package/src/ir-to-client-js/control-flow/plan/lazy-conditional.ts +11 -10
  119. package/src/ir-to-client-js/control-flow/plan/lazy-preamble.ts +11 -13
  120. package/src/ir-to-client-js/control-flow/plan/lazy-row-eligibility.ts +13 -3
  121. package/src/ir-to-client-js/control-flow/plan/loop-child-arm.ts +14 -0
  122. package/src/ir-to-client-js/control-flow/plan/loop.ts +10 -6
  123. package/src/ir-to-client-js/control-flow/shared.ts +40 -17
  124. package/src/ir-to-client-js/control-flow/stringify/composite-loop.ts +2 -1
  125. package/src/ir-to-client-js/control-flow/stringify/inner-loop.ts +20 -66
  126. package/src/ir-to-client-js/control-flow/stringify/insert.ts +4 -2
  127. package/src/ir-to-client-js/control-flow/stringify/lazy-row.ts +22 -15
  128. package/src/ir-to-client-js/control-flow/stringify/loop-child-arm.ts +53 -11
  129. package/src/ir-to-client-js/control-flow/stringify/loop.ts +4 -2
  130. package/src/ir-to-client-js/control-flow/stringify/reactive-effects.ts +29 -18
  131. package/src/ir-to-client-js/csr-substitute.ts +29 -0
  132. package/src/ir-to-client-js/emit-reactive.ts +92 -6
  133. package/src/ir-to-client-js/emit-registration.ts +2 -4
  134. package/src/ir-to-client-js/html-template.ts +67 -245
  135. package/src/ir-to-client-js/imports.ts +3 -0
  136. package/src/ir-to-client-js/index.ts +4 -4
  137. package/src/ir-to-client-js/markup-slots.ts +25 -0
  138. package/src/ir-to-client-js/reactivity.ts +73 -27
  139. package/src/ir-to-client-js/safe-html.ts +243 -0
  140. package/src/ir-to-client-js/types.ts +19 -3
  141. package/src/ir-to-client-js/utils.ts +58 -10
  142. package/src/jsx-to-ir.ts +136 -24
  143. package/src/prop-rewrite.ts +8 -4
  144. package/src/props-binding.ts +37 -1
  145. package/src/reactivity-checker.ts +60 -0
  146. package/src/ssr-defaults.ts +45 -0
  147. package/src/types.ts +5 -10
  148. package/src/__tests__/text-slot-escaping.test.ts +0 -65
@@ -73,7 +73,7 @@ export declare function nestedLoopIndexAlias(inner: NestedLoop, syntheticIndexVa
73
73
  * receives the raw item value, so wrapping would rewrite `item.x` to
74
74
  * `item().x` and throw at runtime (#1244).
75
75
  */
76
- export declare function buildChildRefBindings(refs: readonly LoopChildRef[], loopParam: string, loopParamBindings: readonly LoopParamBinding[] | undefined): readonly LoopChildRefBinding[];
76
+ export declare function buildChildRefBindings(refs: readonly LoopChildRef[], loopParam: string, loopParamBindings: readonly LoopParamBinding[] | undefined, loopIndex?: string | null): readonly LoopChildRefBinding[];
77
77
  /**
78
78
  * Pass-through `LoopChildRefBinding[]` builder for static-loop emit paths
79
79
  * where the param is bound as the raw item value (`forEach((param, idx) =>
@@ -119,13 +119,15 @@ export declare function destructureLoopParam(param: string, paramBindings?: read
119
119
  /**
120
120
  * Resolve `IRLoop.preambleRegions` (#2389) into ready-to-emit
121
121
  * `PreambleRegionPlan`s: wrap each source expression with the loop-param
122
- * accessor and, for a `joinArrayChild` source, apply the same array-join
123
- * ternary `irToHtmlTemplate` uses for the identical node in the row
124
- * template — so the region-patch effect's re-render matches what a fresh
125
- * mount would have produced. Shared by the top-level (`build-loop.ts`) and
126
- * branch (`build-branch-loop.ts`) plain-loop-plan builders.
122
+ * accessor and hand it to the same door (`spliceChildValue`) the row
123
+ * template's `irToHtmlTemplate` uses for the identical node so the
124
+ * region-patch effect's re-render (a `'markup'` claim writer, i.e. an
125
+ * `innerHTML` write) matches what a fresh mount would have produced, and
126
+ * the escape decision is made in exactly one place. Shared by the
127
+ * top-level (`build-loop.ts`) and branch (`build-branch-loop.ts`)
128
+ * plain-loop-plan builders.
127
129
  */
128
- export declare function buildPreambleRegionPlans(regions: readonly PreambleRegionSource[] | undefined, loopParam: string, loopParamBindings: readonly LoopParamBinding[] | undefined): readonly PreambleRegionPlan[];
130
+ export declare function buildPreambleRegionPlans(regions: readonly PreambleRegionSource[] | undefined, loopParam: string, loopParamBindings: readonly LoopParamBinding[] | undefined, loopIndex?: string | null): readonly PreambleRegionPlan[];
129
131
  /**
130
132
  * Build a props object expression string from component prop definitions.
131
133
  * Shared by emitComponentLoopReconciliation and emitCompositeElementReconciliation.
@@ -137,7 +139,7 @@ export declare function buildComponentPropsExpr(comp: {
137
139
  isEventHandler: boolean;
138
140
  }>;
139
141
  children?: import('../../types.ts').IRNode[];
140
- }, loopParam?: string, loopParamBindings?: readonly LoopParamBinding[]): string;
142
+ }, loopParam?: string, loopParamBindings?: readonly LoopParamBinding[], loopIndex?: string | null): string;
141
143
  /** Per-inner-loop data for composite loop emission. */
142
144
  export interface DepthLevel {
143
145
  comps: (TopLevelLoop['nestedComponents'] & {})[number][];
@@ -187,7 +189,7 @@ export declare function isTextOnlyConditional(node: {
187
189
  * and the caller emitted both branches inside an `if (!__existing) ... else
188
190
  * ...` block. The branches are now collapsed into one call site.
189
191
  */
190
- export declare function emitComponentAndEventSetup(ls: string[], indent: string, elVar: string, comps: TopLevelLoop['nestedComponents'] & {}, events: LoopChildEvent[], loopParam?: string, loopParamBindings?: readonly LoopParamBinding[], bodyIsMultiRoot?: boolean): void;
192
+ export declare function emitComponentAndEventSetup(ls: string[], indent: string, elVar: string, comps: TopLevelLoop['nestedComponents'] & {}, events: LoopChildEvent[], loopParam?: string, loopParamBindings?: readonly LoopParamBinding[], bodyIsMultiRoot?: boolean, loopIndex?: string | null): void;
191
193
  /**
192
194
  * Emit the unified renderItem function body for composite loops.
193
195
  * Handles both CSR (create from template) and SSR (initialize existing element).
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/ir-to-client-js/control-flow/shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,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loop.d.ts","sourceRoot":"","sources":["../../../../src/ir-to-client-js/control-flow/stringify/composite-loop.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAOH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEzD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,iBAAiB,GAAG,IAAI,CA2GrF"}
1
+ {"version":3,"file":"composite-loop.d.ts","sourceRoot":"","sources":["../../../../src/ir-to-client-js/control-flow/stringify/composite-loop.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAOH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEzD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,iBAAiB,GAAG,IAAI,CA4GrF"}
@@ -1,8 +1,12 @@
1
1
  /**
2
2
  * Stringify `InnerLoopsPlan` into source lines.
3
3
  *
4
- * Two emission shapes (mode-discriminated, byte-identical to the legacy
5
- * `emitInnerLoopSetup`):
4
+ * One emission shape (#2865 the former second "static forEach,
5
+ * setup-only" shape for a nested loop whose array didn't reference the
6
+ * outer item was removed: it answered "does the array mention the outer
7
+ * item" instead of "is this reactive at all", so it silently froze any
8
+ * other reactivity — a signal, a memo, a prop, a preamble local — the
9
+ * inner array or its rows depended on):
6
10
  *
7
11
  * reactive — full mapArray:
8
12
  * <indent>// Reactive inner loop: <arraySrc>
@@ -17,18 +21,6 @@
17
21
  * <indent> per-item conditionals: insert() over __innerEl<uid> (#2706)
18
22
  * <indent> return __innerEl<uid>
19
23
  * <indent>}) }
20
- *
21
- * static — forEach setup-only:
22
- * <indent>// Initialize <arraySrc> loop components and events
23
- * <indent>{ const __ic<uid> = <containerExpr>
24
- * <indent>if (__ic<uid> && <arrayExpr>) <arrayExpr>.forEach((<param>, __innerIdx<uid>) => {
25
- * <indent> const __innerEl<uid> = __ic<uid>.children[__innerIdx<uid>]
26
- * <indent> if (!__innerEl<uid>) return
27
- * <indent> <preludeStatements*> // raw preamble (#1064)
28
- * <indent> __innerEl<uid>.setAttribute('<keyAttr>', String(<rawKey>))?
29
- * <indent> emitComponentAndEventSetup(...)
30
- * <indent> recurse on childLevels
31
- * <indent>}) }
32
24
  */
33
25
  import type { InnerLoopsPlan } from '../plan/inner-loop.ts';
34
26
  export declare function stringifyInnerLoops(lines: string[], plan: InnerLoopsPlan, indent: string, pc?: string): void;
@@ -1 +1 @@
1
- {"version":3,"file":"inner-loop.d.ts","sourceRoot":"","sources":["../../../../src/ir-to-client-js/control-flow/stringify/inner-loop.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AASH,OAAO,KAAK,EAEV,cAAc,EACf,MAAM,uBAAuB,CAAA;AAE9B,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,cAAc,EACpB,MAAM,EAAE,MAAM,EACd,EAAE,CAAC,EAAE,MAAM,GACV,IAAI,CAQN"}
1
+ {"version":3,"file":"inner-loop.d.ts","sourceRoot":"","sources":["../../../../src/ir-to-client-js/control-flow/stringify/inner-loop.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AASH,OAAO,KAAK,EAEV,cAAc,EACf,MAAM,uBAAuB,CAAA;AAE9B,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,cAAc,EACpB,MAAM,EAAE,MAAM,EACd,EAAE,CAAC,EAAE,MAAM,GACV,IAAI,CAIN"}
@@ -58,6 +58,7 @@
58
58
  * A loop with NO outer binding emits no `applyOuter` at all — its rows do
59
59
  * literally nothing at hydration.
60
60
  */
61
+ import { dedupGuard } from '../../emit-reactive.ts';
61
62
  import type { SkeletonSlotPaths } from '../../html-template.ts';
62
63
  import type { LazyRowAttrBinding, LazyRowPlanData } from '../plan/build-lazy-row.ts';
63
64
  export interface StringifyLazyRowOptions {
@@ -78,9 +79,6 @@ export interface StringifyLazyRowOptions {
78
79
  lazyRow: LazyRowPlanData;
79
80
  }
80
81
  export declare function stringifyLazyRowLoop(lines: string[], o: StringifyLazyRowOptions): void;
81
- /** `entry.last`-backed dedup test. `in` (not a truthiness check) so a
82
- * legitimately `undefined` value still records and still writes once. */
83
- declare function dedupGuard(ordinal: number): string;
84
82
  /**
85
83
  * Read-compare-write seeding predicate (§9.3(1)): does the CURRENT DOM
86
84
  * differ from the value `__x` this binding would write? Mirrors
@@ -1 +1 @@
1
- {"version":3,"file":"lazy-row.d.ts","sourceRoot":"","sources":["../../../../src/ir-to-client-js/control-flow/stringify/lazy-row.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAQ/D,OAAO,KAAK,EACV,kBAAkB,EAElB,eAAe,EAEhB,MAAM,2BAA2B,CAAA;AAElC,MAAM,WAAW,uBAAuB;IACtC,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,yEAAyE;IACzE,cAAc,EAAE,OAAO,CAAA;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,oEAAoE;IACpE,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,aAAa,CAAC,EAAE,iBAAiB,CAAA;IACjC,OAAO,EAAE,eAAe,CAAA;CACzB;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,C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AAS,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,kBAAkB,GAAG,MAAM,CA4BtE;AAED,kDAAkD;AAClD,eAAO,MAAM,kBAAkB;;;CAAkC,CAAA"}
@@ -27,7 +27,9 @@ import type { ReactiveAttrSlot } from '../plan/reactive-effects.ts';
27
27
  * Callers must declare `const __disposers = []` before emitting this and
28
28
  * return `() => __disposers.forEach(d => d())` from `bindEvents`.
29
29
  */
30
- export declare function stringifyBranchReactiveAttrs(lines: string[], plan: readonly ReactiveAttrSlot[], indent: string, pc?: string): void;
30
+ export declare function stringifyBranchReactiveAttrs(lines: string[], plan: readonly ReactiveAttrSlot[], indent: string, pc: string | undefined,
31
+ /** The row's preamble re-run statement, when this scope has one (#2596/#2447) — see `conditionGetterExpr`'s docstring for the shared contract. */
32
+ mapPreambleWrapped: string | undefined): void;
31
33
  /**
32
34
  * Emit `addEventListener` setup for a loop-cond branch arm. One qsa() per
33
35
  * slot, then one listener line per (slotId, eventName) pair. The closing
@@ -67,7 +69,19 @@ export declare function stringifyBranchInnerLoops(lines: string[], plan: BranchI
67
69
  * (only present at the outer-conditional level) are emitted via
68
70
  * `LoopChildArmPlan.texts`.
69
71
  */
70
- export declare function stringifyLoopChildConditionals(lines: string[], conditionals: readonly LoopChildConditionalPlan[], indent: string, pc?: string): void;
72
+ export declare function stringifyLoopChildConditionals(lines: string[], conditionals: readonly LoopChildConditionalPlan[], indent: string, pc: string | undefined,
73
+ /** The row's preamble re-run statement, when this scope has one (#2596/#2447). */
74
+ mapPreambleWrapped: string | undefined): void;
75
+ /**
76
+ * The `() => cond` getter handed to `insert()`. A condition flagged
77
+ * `readsPreamble` (#2596) re-runs the row preamble INSIDE the getter —
78
+ * `insert()` re-invokes this closure on every dependency change to decide
79
+ * the branch, and a preamble local is a plain per-row `const`, not a signal
80
+ * `insert()` can see through on its own. ONE implementation for both the
81
+ * outer (`emitOuterConditional`, reactive-effects.ts) and nested
82
+ * (`stringifyLoopChildConditional`, here) levels so the two can't drift.
83
+ */
84
+ export declare function conditionGetterExpr(wrappedCondition: string, readsPreamble: boolean | undefined, mapPreambleWrapped: string | undefined): string;
71
85
  /**
72
86
  * Emit one arm's full body: events, child component inits, inner loops,
73
87
  * then a disposable section (reactive attrs, nested conditionals, texts)
@@ -76,5 +90,7 @@ export declare function stringifyLoopChildConditionals(lines: string[], conditio
76
90
  * the outer (top-of-loop-item) conditional stringifier in
77
91
  * `reactive-effects.ts` — the two arm shapes are identical.
78
92
  */
79
- export declare function stringifyLoopChildArm(lines: string[], arm: LoopChildArmPlan, armIndent: string, pc: string | undefined): void;
93
+ export declare function stringifyLoopChildArm(lines: string[], arm: LoopChildArmPlan, armIndent: string, pc: string | undefined,
94
+ /** The row's preamble re-run statement, when this scope has one (#2596/#2447) — forwarded to this arm's own reactive attrs and nested conditionals. */
95
+ mapPreambleWrapped: string | undefined): void;
80
96
  //# sourceMappingURL=loop-child-arm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loop-child-arm.d.ts","sourceRoot":"","sources":["../../../../src/ir-to-client-js/control-flow/stringify/loop-child-arm.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AASH,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACzB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAEnE;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,SAAS,gBAAgB,EAAE,EACjC,MAAM,EAAE,MAAM,EACd,EAAE,CAAC,EAAE,MAAM,GACV,IAAI,CAcN;AAED;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,uBAAuB,EAC7B,MAAM,EAAE,MAAM,GACb,IAAI,CAYN;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,6BAA6B,EACnC,MAAM,EAAE,MAAM,GACb,IAAI,CAIN;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,oBAAoB,EAC1B,MAAM,EAAE,MAAM,EACd,EAAE,CAAC,EAAE,MAAM,GACV,IAAI,CA4DN;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,MAAM,EAAE,EACf,YAAY,EAAE,SAAS,wBAAwB,EAAE,EACjD,MAAM,EAAE,MAAM,EACd,EAAE,CAAC,EAAE,MAAM,GACV,IAAI,CAIN;AA0BD;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,MAAM,EAAE,EACf,GAAG,EAAE,gBAAgB,EACrB,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,MAAM,GAAG,SAAS,GACrB,IAAI,CAiDN"}
1
+ {"version":3,"file":"loop-child-arm.d.ts","sourceRoot":"","sources":["../../../../src/ir-to-client-js/control-flow/stringify/loop-child-arm.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AASH,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACzB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAEnE;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,SAAS,gBAAgB,EAAE,EACjC,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,MAAM,GAAG,SAAS;AACtB,kJAAkJ;AAClJ,kBAAkB,EAAE,MAAM,GAAG,SAAS,GACrC,IAAI,CAsBN;AAED;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,uBAAuB,EAC7B,MAAM,EAAE,MAAM,GACb,IAAI,CAYN;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,6BAA6B,EACnC,MAAM,EAAE,MAAM,GACb,IAAI,CAIN;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,oBAAoB,EAC1B,MAAM,EAAE,MAAM,EACd,EAAE,CAAC,EAAE,MAAM,GACV,IAAI,CAoEN;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,MAAM,EAAE,EACf,YAAY,EAAE,SAAS,wBAAwB,EAAE,EACjD,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,MAAM,GAAG,SAAS;AACtB,kFAAkF;AAClF,kBAAkB,EAAE,MAAM,GAAG,SAAS,GACrC,IAAI,CAIN;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,gBAAgB,EAAE,MAAM,EACxB,aAAa,EAAE,OAAO,GAAG,SAAS,EAClC,kBAAkB,EAAE,MAAM,GAAG,SAAS,GACrC,MAAM,CAIR;AA2BD;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,MAAM,EAAE,EACf,GAAG,EAAE,gBAAgB,EACrB,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,MAAM,GAAG,SAAS;AACtB,uJAAuJ;AACvJ,kBAAkB,EAAE,MAAM,GAAG,SAAS,GACrC,IAAI,CAiDN"}
@@ -1 +1 @@
1
- {"version":3,"file":"loop.d.ts","sourceRoot":"","sources":["../../../../src/ir-to-client-js/control-flow/stringify/loop.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAWH,OAAO,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B,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAClH,IAAI,CAaN;AAED;;;;;;;;;;GAUG;AAEH;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,GAAG,IAAI,CAoBnE;AAYD,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,aAAa,EACnB,SAAS,GAAE,MAAa,GACvB,IAAI,CA+KN;AAoDD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,cAAc,GAAG,IAAI,CA8H/E"}
@@ -91,7 +91,11 @@ export interface StringifyReactiveEffectsOptions {
91
91
  * The loop callback's pre-return preamble (already wrapped with the loop
92
92
  * param accessor), re-run once per row-effect tick — BEFORE any preamble
93
93
  * region read — so `preambleRegions`' `valueExpr`s see freshly recomputed
94
- * locals. Only meaningful alongside `preambleRegions`.
94
+ * locals. Also consumed by every OTHER `readsPreamble` site in this row's
95
+ * scope: row-level attrs (`emitAttrSlotsGranular`/`emitConsolidatedRowEffect`),
96
+ * outer condition getters (`emitOuterConditional`), and — forwarded
97
+ * through `stringifyLoopChildArm` (#2596 follow-up) — that row's branch
98
+ * arms' own reactive attrs and nested condition getters.
95
99
  */
96
100
  mapPreambleWrapped?: string;
97
101
  }
@@ -1 +1 @@
1
- {"version":3,"file":"reactive-effects.d.ts","sourceRoot":"","sources":["../../../../src/ir-to-client-js/control-flow/stringify/reactive-effects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAMH,OAAO,KAAK,EAGV,mBAAmB,EAEpB,MAAM,6BAA6B,CAAA;AAEpC;;;+BAG+B;AAC/B,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,+BAA+B;IAC9C,4CAA4C;IAC5C,MAAM,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChD;;;;;;;;;;;;OAYG;IACH,kBAAkB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChD;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,SAAS,iBAAiB,EAAE,CAAA;IAC9C;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,mBAAmB,GAAG,IAAI,EAChC,IAAI,EAAE,+BAA+B,GACpC,IAAI,CA8BN"}
1
+ {"version":3,"file":"reactive-effects.d.ts","sourceRoot":"","sources":["../../../../src/ir-to-client-js/control-flow/stringify/reactive-effects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAMH,OAAO,KAAK,EAGV,mBAAmB,EAEpB,MAAM,6BAA6B,CAAA;AAEpC;;;+BAG+B;AAC/B,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,+BAA+B;IAC9C,4CAA4C;IAC5C,MAAM,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChD;;;;;;;;;;;;OAYG;IACH,kBAAkB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChD;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,SAAS,iBAAiB,EAAE,CAAA;IAC9C;;;;;;;;;OASG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,MAAM,EAAE,EACf,IAAI,EAAE,mBAAmB,GAAG,IAAI,EAChC,IAAI,EAAE,+BAA+B,GACpC,IAAI,CA8BN"}
@@ -165,6 +165,22 @@ export declare function extractMemoBodyExpr(computation: string): string;
165
165
  * set (a signal/memo NAME here, `restPropsName`/`propsObjectName` there).
166
166
  */
167
167
  export declare function resolveGetterAliases(localConstants: readonly ConstantInfo[], isGetter: (name: string) => boolean): Map<string, string>;
168
+ /**
169
+ * Which names in `signals`/`memos` are eligible ALIAS-HOP TARGETS for
170
+ * `resolveGetterAliases`'s `isGetter` predicate — a non-module,
171
+ * non-env-reader signal getter, or a non-module memo name. Env-signal
172
+ * getters are excluded because they resolve through their own
173
+ * request-scoped binding (an adapter's `searchParamsFieldRef`-style
174
+ * lookup or equivalent), never a seeded/`out`-keyed value an alias could
175
+ * usefully point at.
176
+ *
177
+ * Shared by every `resolveGetterAliases` call site (#2813's `ssr-defaults.ts`
178
+ * seeding and the Go adapter's `rootFieldRef` field-routing) so the
179
+ * eligibility rule can't silently drift between them — the "one decision,
180
+ * two implementations" defect class CLAUDE.md calls out (pullfrog review
181
+ * on #2854).
182
+ */
183
+ export declare function collectAliasableGetterNames(signals: readonly SignalInfo[], memos: readonly MemoInfo[]): Set<string>;
168
184
  /**
169
185
  * Build the CSR substitution env from the live `ClientJsContext`.
170
186
  *
@@ -1 +1 @@
1
- {"version":3,"file":"csr-substitute.d.ts","sourceRoot":"","sources":["../../src/ir-to-client-js/csr-substitute.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,U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AS,QAAQ,EAAE,EAC1B,eAAe,EAAE,MAAM,GAAG,IAAI,EAC9B,cAAc,GAAE,SAAS,YAAY,EAAO,GAC3C,MAAM,CA+BR"}
@@ -9,8 +9,62 @@ import type { ClientJsContext } from './types.ts';
9
9
  * Generate JS statements to update a DOM attribute reactively.
10
10
  * Centralizes the attribute-type dispatch (value, class, boolean, presence, generic)
11
11
  * so that new AttrMeta flags are handled in one place.
12
+ *
13
+ * Per-kind WRITE dispatch only — an effect body must never call this
14
+ * directly, only through `emitDedupedAttrUpdate` below (#2869).
12
15
  */
13
16
  export declare function emitAttrUpdate(target: string, attrName: string, expression: string, meta: AttrMeta): string[];
17
+ /**
18
+ * Last-value store every deduped attribute write in one emitting block
19
+ * shares — `const __l = []`, declared ONCE in the block that creates the
20
+ * effect(s), so the effect closure (a stable object across its own reruns)
21
+ * captures it and no other effect can see it. Each binding owns a fixed
22
+ * numeric ordinal into it. The lazy row graph (`control-flow/stringify/
23
+ * lazy-row.ts`) declares the same `__l` from the reconciler's `entry.last`
24
+ * instead — `applyItem` / `applyOuter` are separate invocations with no
25
+ * closure of their own to own the array — but the guard, the temp name,
26
+ * the ordinal scheme and the record-after-write rule below are shared with
27
+ * it (#2869).
28
+ */
29
+ export declare const DEDUP_STORE_DECL = "const __l = []";
30
+ /**
31
+ * `__l`-backed dedup test. `in` (not a truthiness check) so a legitimately
32
+ * `undefined` value still records and still writes once; `!(N in __l)` on
33
+ * the first run is what makes the first write unconditional — the same
34
+ * "dedup, no trust-first-run" contract `claim-slots.ts` documents for
35
+ * 'markup' slots. Moved here from `control-flow/stringify/lazy-row.ts`
36
+ * so the eager paths below and the lazy row graph share one guard (#2869).
37
+ */
38
+ export declare function dedupGuard(ordinal: number): string;
39
+ /**
40
+ * The ONLY way an effect body should write a reactive attribute (#2869).
41
+ * Wraps `emitAttrUpdate`'s per-kind write in a previous-value guard:
42
+ * compute once into `__x`, write only when `guard` holds, then record
43
+ * `__x` into `__l[ordinal]` whether or not the write happened, so the
44
+ * stored value always tracks the latest computation. Without this, every
45
+ * rerun of a shared effect — a keyed row's fused effect (#2869's report),
46
+ * or even a plain per-slot effect covering two attrs on one element — rewrote
47
+ * every attribute in it on every rerun, no matter which binding actually
48
+ * changed. `untrack()` cannot fix this on its own: it only suppresses
49
+ * dependency REGISTRATION for the read inside it, not re-execution of the
50
+ * surrounding effect when an unrelated sibling binding legitimately changes
51
+ * — so an `<iframe srcdoc={untrack(...)}>` kept reloading every time a
52
+ * sibling attribute in the same row effect changed.
53
+ *
54
+ * Self-contained block: `__x` (and `emitAttrUpdate`'s own `__v` / bare
55
+ * `const __val`) never leak into the caller's scope, so several bindings
56
+ * can sit in one effect body without a wrapper block of their own.
57
+ *
58
+ * Compares the RAW value, exactly like the lazy-row path always has: an
59
+ * object-valued `style` / `dangerouslySetInnerHTML` is a fresh object per
60
+ * run and simply keeps writing as before (no regression, no gain — a
61
+ * follow-up could compare the coerced value instead).
62
+ *
63
+ * `guard` is overridable for the lazy row graph's `__seed`-run DOM
64
+ * read-compare (`__seed ? <DOM read-compare> : <dedupGuard>`) and `null`
65
+ * for its `createRow` (fresh clone: write unconditionally, still record).
66
+ */
67
+ export declare function emitDedupedAttrUpdate(target: string, attrName: string, expression: string, meta: AttrMeta, ordinal: number, guard?: string | null): string[];
14
68
  /**
15
69
  * Rewrite destructured prop names in an expression to `(props.xxx ?? default)`.
16
70
  * Only applies when the component uses destructured props (not props.xxx style).
@@ -1 +1 @@
1
- {"version":3,"file":"emit-reactive.d.ts","sourceRoot":"","sources":["../../src/ir-to-client-js/emit-reactive.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAc,MAAM,aAAa,CAAA;AAEvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAyEjD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAA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,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,IAAI,CAmD9G;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,eAAe,EACpB,KAAK,EAAE,eAAe,EACtB,MAAM,EAAE,MAAM,GACb;IACD,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACvC,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAC9B,CAGA;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,eAAe,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAMtF;AAkDD,4EAA4E;AAC5E;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,MAAM,EAAE,EACf,GAAG,EAAE,eAAe,EACpB,GAAG,EAAE,WAAW,EAChB,KAAK,EAAE,eAAe;AACtB;;;;;;GAMG;AACH,YAAY,CAAC,EAAE;IAAE,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAAC,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAAE,GACxF,MAAM,CAwGR"}
@@ -375,8 +375,8 @@ export interface TemplateOptions {
375
375
  * (`ctx.dynamicElements`, populated by `collectElements` — the exact set
376
376
  * `emit-reactive.ts`'s `emitDynamicTextUpdates` claims `kind: 'markup'`
377
377
  * for on the REACTIVE side, #2651). When a text-marker expression's
378
- * `slotId` is a member, `escapeTextSlotExpr` emits `escapeTextOrMarkup`
379
- * instead of `escapeText` so a `bfMarkup()`-branded prop value (a JSX
378
+ * `slotId` is a member, `spliceChildValue`'s door (`safe-html.ts`) emits
379
+ * `escapeTextOrMarkup` instead of `escapeText` so a `bfMarkup()`-branded prop value (a JSX
380
380
  * element passed at a non-`children` component prop position) reaches
381
381
  * the initial-render template raw, matching what the reactive writer
382
382
  * already does via `escapeTextOrNode`. Computed once per component from
@@ -1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G,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,EACnD,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,EACjD,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,GAC9B,GAAG,CAAC,MAAM,CAAC,CAoDb;AAyYD;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,OAAO,CAiBpF"}
@@ -2,9 +2,9 @@
2
2
  * Import detection and DOM import management.
3
3
  */
4
4
  import type { ComponentIR } from '../types.ts';
5
- export declare const RUNTIME_IMPORT_CANDIDATES: readonly ['createSignal', 'createMemo', 'createEffect', 'onCleanup', 'onMount', 'hydrate', 'insert', 'getLoopChildren', 'getLoopNodes', 'mapArray', 'mapArrayAnchored', 'mapArrayLazy', 'patchLeaf', 'createDisposableEffect', 'findCondContainer', 'createComponent', 'renderChild', 'registerComponent', 'registerTemplate', 'initChild', 'upsertChild', 'mountRowRoot', 'withParentScope', 'createPortal', 'provideContext', 'createContext', 'useContext', 'forwardProps', 'applyRestAttrs', 'splitProps', 'spreadAttrs', 'styleToCss', 'escapeAttr', 'escapeText', 'escapeTextOrNode', 'bfMarkup', 'escapeTextOrMarkup', 'markupOrEmpty', 'qsa', 'qsaItem', 'qsaChildScope', 'qsaChildScopes', 'upsertChildItem', '__slot', '__bfSlot', '__bfText', 'claimSlots', 'lazySlots', 'lazyClaimSlots', 'textOrNode', 'beginTurn', 'endTurn', 'date', 'formatDate'];
5
+ export declare const RUNTIME_IMPORT_CANDIDATES: readonly ['createSignal', 'createMemo', 'createEffect', 'onCleanup', 'onMount', 'hydrate', 'insert', 'getLoopChildren', 'getLoopNodes', 'mapArray', 'mapArrayAnchored', 'mapArrayLazy', 'patchLeaf', 'createDisposableEffect', 'findCondContainer', 'createComponent', 'renderChild', 'registerComponent', 'registerTemplate', 'initChild', 'upsertChild', 'mountRowRoot', 'withParentScope', 'createPortal', 'provideContext', 'createContext', 'useContext', 'forwardProps', 'applyRestAttrs', 'splitProps', 'spreadAttrs', 'styleToCss', 'escapeAttr', 'escapeText', 'escapeTextOrNode', 'escapeCommentText', 'bfMarkup', 'escapeTextOrMarkup', 'markupOrEmpty', 'qsa', 'qsaItem', 'qsaChildScope', 'qsaChildScopes', 'upsertChildItem', '__slot', '__bfSlot', '__bfText', 'claimSlots', 'lazySlots', 'lazyClaimSlots', 'textOrNode', 'beginTurn', 'endTurn', 'date', 'formatDate'];
6
6
  /** @deprecated Use RUNTIME_IMPORT_CANDIDATES */
7
- export declare const DOM_IMPORT_CANDIDATES: readonly ["createSignal", "createMemo", "createEffect", "onCleanup", "onMount", "hydrate", "insert", "getLoopChildren", "getLoopNodes", "mapArray", "mapArrayAnchored", "mapArrayLazy", "patchLeaf", "createDisposableEffect", "findCondContainer", "createComponent", "renderChild", "registerComponent", "registerTemplate", "initChild", "upsertChild", "mountRowRoot", "withParentScope", "createPortal", "provideContext", "createContext", "useContext", "forwardProps", "applyRestAttrs", "splitProps", "spreadAttrs", "styleToCss", "escapeAttr", "escapeText", "escapeTextOrNode", "bfMarkup", "escapeTextOrMarkup", "markupOrEmpty", "qsa", "qsaItem", "qsaChildScope", "qsaChildScopes", "upsertChildItem", "__slot", "__bfSlot", "__bfText", "claimSlots", "lazySlots", "lazyClaimSlots", "textOrNode", "beginTurn", "endTurn", "date", "formatDate"];
7
+ export declare const DOM_IMPORT_CANDIDATES: readonly ["createSignal", "createMemo", "createEffect", "onCleanup", "onMount", "hydrate", "insert", "getLoopChildren", "getLoopNodes", "mapArray", "mapArrayAnchored", "mapArrayLazy", "patchLeaf", "createDisposableEffect", "findCondContainer", "createComponent", "renderChild", "registerComponent", "registerTemplate", "initChild", "upsertChild", "mountRowRoot", "withParentScope", "createPortal", "provideContext", "createContext", "useContext", "forwardProps", "applyRestAttrs", "splitProps", "spreadAttrs", "styleToCss", "escapeAttr", "escapeText", "escapeTextOrNode", "escapeCommentText", "bfMarkup", "escapeTextOrMarkup", "markupOrEmpty", "qsa", "qsaItem", "qsaChildScope", "qsaChildScopes", "upsertChildItem", "__slot", "__bfSlot", "__bfText", "claimSlots", "lazySlots", "lazyClaimSlots", "textOrNode", "beginTurn", "endTurn", "date", "formatDate"];
8
8
  export declare const RUNTIME_MODULE = "@barefootjs/client/runtime";
9
9
  export declare const IMPORT_PLACEHOLDER = "/* __BAREFOOTJS_DOM_IMPORTS__ */";
10
10
  export declare const MODULE_CONSTANTS_PLACEHOLDER = "/* __MODULE_LEVEL_CONSTANTS__ */";
@@ -1 +1 @@
1
- {"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../../src/ir-to-client-js/imports.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAU,MAAM,aAAa,CAAA;AAMtD,eAAO,MAAM,yBAAyB,YACpC,cAAc,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EACpE,SAAS,EAAE,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,WAAW,EAAE,wBAAwB,EAK7I,mBAAmB,EACnB,iBAAiB,EAAE,aAAa,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,WAAW,EAAE,aAAa,EAKrG,cAAc,EAId,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAAE,eAAe,EAAE,YAAY,EAC/C,cAAc,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAI3H,UAAU,EAAE,oBAAoB,EAGhC,eAAe,EACf,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAUxG,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,YAAY,EAEzD,WAAW,EAAE,SAAS,EAItB,MAAM,EAIN,YAA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AgB,gBAAgB,CAC9B,EAAE,EAAE,WAAW,EACf,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAC5B,mBAAmB,CAAC,EAAE,MAAM,EAAE,EAC9B,KAAK,CAAC,EAAE,SAAS,EACjB,mBAAmB,CAAC,EAAE,mBAAmB,EACzC,OAAO,CAAC,EAAE,OAAO,GAChB,MAAM,CAUR;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CAC3C,EAAE,EAAE,WAAW,EACf,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAC5B,mBAAmB,CAAC,EAAE,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAAE,EAC9D,KAAK,CAAC,EAAE,SAAS,EACjB,mBAAmB,CAAC,EAAE,mBAAmB,EACzC,OAAO,CAAC,EAAE,OAAO,GAChB,cAAc,CAsChB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,WAAW,GAAG;IAAE,SAAS,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,MAAM,EAAE,CAAA;CAAE,CAiC/F"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Which content slots may carry raw markup at INITIAL render — decided once
3
+ * (#2795, consolidating three copies of the same one-liner that were
4
+ * "trusted by comment" to agree with `emit-reactive.ts`'s writer kind).
5
+ *
6
+ * Every non-conditional `ctx.dynamicElements` entry gets a claim-plan
7
+ * writer of `kind: 'markup'` on the REACTIVE side (`emit-reactive.ts`),
8
+ * because its expression may resolve to a live Node or to a `bfMarkup()`-
9
+ * branded JSX-prop value (#1663, #2651). The initial-render template must
10
+ * make the same call for the same slots — `escapeTextOrMarkup` instead of
11
+ * `escapeText` (`safe-html.ts`'s `spliceChildValue`, arm 3) — so first paint
12
+ * and first update agree on whether the slot unwraps a branded value.
13
+ * `client-template-escape-soundness.test.ts` pins that the two sets are
14
+ * equal on emitted output.
15
+ */
16
+ import type { ClientJsContext } from './types.ts';
17
+ /** The claim-writer kind every `ctx.dynamicElements` slot is emitted with. */
18
+ export declare const DYNAMIC_ELEMENT_WRITER_KIND: 'markup';
19
+ /** Slot ids whose initial-render splice must be `escapeTextOrMarkup`. */
20
+ export declare function markupSlotIdsOf(ctx: Pick<ClientJsContext, 'dynamicElements'>): ReadonlySet<string>;
21
+ //# sourceMappingURL=markup-slots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markup-slots.d.ts","sourceRoot":"","sources":["../../src/ir-to-client-js/markup-slots.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD,8EAA8E;AAC9E,eAAO,MAAM,2BAA2B,EAAG,QAAiB,CAAA;AAE5D,yEAAyE;AACzE,wBAAgB,eAAe,CAAC,GAAG,EAAE,IAAI,CAAC,eAAe,EAAE,iBAAiB,CAAC,GAAG,WAAW,CAAC,MAAM,CAAC,CAElG"}
@@ -21,8 +21,19 @@ import { BindingScope } from '../scope/binding-scope.ts';
21
21
  * `index` field through before this fix (see each call site's own
22
22
  * `undefined`/omitted-arg default), so `undefined` here still means "not
23
23
  * guarded," not "no index param."
24
+ *
25
+ * `parentScope` (#2861): stacks this loop-row frame on top of an
26
+ * ENCLOSING loop's own scope, rather than always starting from
27
+ * `BindingScope.EMPTY` — for a nested `.map()` inside another `.map()`'s
28
+ * JSX body. `BindingScope.lookup`/`valueBoundNames` search innermost-first
29
+ * across every frame, so a row expression referencing the OUTER loop's
30
+ * item/index (with no dependency on the INNER loop's own item/index or any
31
+ * signal) is still granted a slot and classified reactive, instead of
32
+ * silently returning `'none'` because only the inner-most frame was ever
33
+ * visible. Omitted (or `undefined`) for a loop with no enclosing loop —
34
+ * identical to the pre-#2861 shape.
24
35
  */
25
- export declare function buildLoopRowScope(loopParam?: string, loopParamBindings?: readonly LoopParamBinding[], preambleNames?: ReadonlySet<string>, loopIndex?: string | null): BindingScope | undefined;
36
+ export declare function buildLoopRowScope(loopParam?: string, loopParamBindings?: readonly LoopParamBinding[], preambleNames?: ReadonlySet<string>, loopIndex?: string | null, parentScope?: BindingScope): BindingScope | undefined;
26
37
  /**
27
38
  * Phase 2 reactivity detection: determines if a code expression needs `createEffect`
28
39
  * wrapping during IR → Client JS generation.
@@ -133,14 +144,28 @@ export declare function needsEffectWrapper(expr: string, ctx: ClientJsContext, f
133
144
  /**
134
145
  * Why a given expression should be treated as reactive inside a loop item.
135
146
  *
136
- * Surfaces the two distinct reasons loop-child collectors care about:
147
+ * Surfaces the three distinct reasons loop-child collectors care about:
137
148
  * - `signal-or-memo-or-prop` — the expression reads a signal getter, a memo,
138
149
  * or a prop name (what `needsEffectWrapper` already classifies).
139
- * - `loop-param` — the expression reads the loop parameter, which becomes a
140
- * per-item signal accessor at runtime; the string-level `needsEffectWrapper`
141
- * does not know about loop params.
150
+ * - `loop-param` — the expression reads the loop's item (or a destructured
151
+ * binding of it), which becomes a per-item signal accessor at runtime;
152
+ * the string-level `needsEffectWrapper` does not know about loop params.
153
+ * - `loop-index` (#2861) — the expression reads ONLY the loop's index
154
+ * parameter (`.map((item, i) => ...)`'s `i`), with no item/signal/memo/prop
155
+ * read anywhere else in it (e.g. bare `{i}`, `class={i % 2 === 0 ? …}`).
156
+ * `mapArray`/`mapArrayAnchored` hand `renderItem` an index ACCESSOR
157
+ * exactly like the item accessor (#2859/#2860), and `mapArrayLazy` tracks
158
+ * a row's position on `entry.index` exactly like `entry.item` — but
159
+ * before this classification existed, nothing ever put such an
160
+ * expression in front of that machinery in the first place: Phase 1
161
+ * (`jsx-to-ir.ts`'s `referencesLoopParam`) already grants it a patchable
162
+ * slot via `BindingScope.valueBoundNames()` (item/index/destructure
163
+ * together), while this function — Phase 2 — had no equivalent case for
164
+ * the index alone, so the slot was written once at row-creation time and
165
+ * never revisited.
142
166
  *
143
- * `none` means neither applies and the collector can skip the expression.
167
+ * `none` means none of the three applies and the collector can skip the
168
+ * expression.
144
169
  *
145
170
  * Consolidates the duplicated reactive-classification check shared by
146
171
  * `collectLoopChildReactiveTexts`, `collectLoopChildReactiveAttrs`, and
@@ -153,21 +178,36 @@ export type ReactivitySource = {
153
178
  } | {
154
179
  kind: 'loop-param';
155
180
  param: string;
181
+ } | {
182
+ kind: 'loop-index';
183
+ param: string;
156
184
  };
157
185
  /**
158
186
  * Classify a (constant-expanded) expression as reactive inside a loop item.
159
- * See `ReactivitySource` for the two reasons we care about. Loop-param
160
- * matching takes precedence so `loop-param` is reported even when the
161
- * expression also reads a signal — the `kind` is purely informational and
162
- * collectors only care about `kind !== 'none'`.
187
+ * See `ReactivitySource` for the three reasons we care about. Loop-param
188
+ * and loop-index matching take precedence so one of them is reported even
189
+ * when the expression also reads a signal — the `kind` is purely
190
+ * informational and collectors only care about `kind !== 'none'`.
191
+ *
192
+ * Takes the row's `BindingScope` (#2482) rather than a raw `(loopParam,
193
+ * loopParamBindings)` pair so this reads the EXACT SAME query Phase 1's
194
+ * `referencesLoopParam` reads (`scope.valueBoundNames()` — item/index/
195
+ * destructure together) to decide whether an expression gets a patchable
196
+ * slot at all. `undefined` means no enclosing loop.
197
+ *
198
+ * For destructured `.map()` callbacks (#951), a `'destructure'`-sourced
199
+ * binding is reported as `loop-param` — the pattern text itself (e.g.
200
+ * `{ id, label }`) never word-matches on a bare binding like `id`, so
201
+ * iterating `valueBoundNames()` (rather than testing the raw param text)
202
+ * is what catches a destructured reference at all.
163
203
  *
164
- * For destructured `.map()` callbacks (#951), `loopParamBindings` lists each
165
- * destructured binding name; any reference to one of those names is treated
166
- * as a `loop-param` hit. The pattern text itself (e.g. `{ id, label }`)
167
- * never word-matches on a bare binding like `id`, so the straight
168
- * `loopParam` check misses destructured references without this widening.
204
+ * Item/destructure bindings are checked before the index so `loop-param`
205
+ * wins when an expression reads both (e.g. `` `${item.id}-${i}` ``) this
206
+ * only affects which `kind` is reported, since every caller of this
207
+ * function besides the two `ReactivitySource`-typed union members simply
208
+ * tests `.kind !== 'none'`.
169
209
  */
170
- export declare function classifyReactivity(expr: string, ctx: ClientJsContext, loopParam?: string, loopParamBindings?: readonly LoopParamBinding[], freeIdentifiers?: ReadonlySet<string>): ReactivitySource;
210
+ export declare function classifyReactivity(expr: string, ctx: ClientJsContext, scope: BindingScope | undefined, freeIdentifiers?: ReadonlySet<string>): ReactivitySource;
171
211
  /**
172
212
  * Recursively collect all event handler expressions from an IR node tree.
173
213
  * Used to extract function identifiers from loop children.
@@ -260,7 +300,9 @@ export declare function collectConditionalBranchChildComponents(node: IRNode, sk
260
300
  * `loopIndex` (Copilot review on #2595): the loop's index param name
261
301
  * (`.map((item, i) => ...)`'s `i`), when known — see `buildLoopRowScope`.
262
302
  */
263
- export declare function collectLoopChildReactiveTexts(node: IRNode, ctx: ClientJsContext, loopParam?: string, loopParamBindings?: readonly LoopParamBinding[], stopAtReactiveConditionals?: boolean, preambleNames?: ReadonlySet<string>, loopIndex?: string | null): LoopChildReactiveText[];
303
+ export declare function collectLoopChildReactiveTexts(node: IRNode, ctx: ClientJsContext, loopParam?: string, loopParamBindings?: readonly LoopParamBinding[], stopAtReactiveConditionals?: boolean, preambleNames?: ReadonlySet<string>, loopIndex?: string | null,
304
+ /** Enclosing loop's own scope, for a NESTED loop (#2861) — see `buildLoopRowScope`. */
305
+ parentScope?: BindingScope): LoopChildReactiveText[];
264
306
  /**
265
307
  * Collect reactive attributes from loop children.
266
308
  * These are dynamic attributes that read signals and need createEffect
@@ -277,5 +319,7 @@ export declare function collectLoopChildReactiveTexts(node: IRNode, ctx: ClientJ
277
319
  * `collectLoopChildConditionals`'s `readsPreamble` check (#2596), the
278
320
  * condition-position twin of the attr check just below this uses it for. */
279
321
  export declare function anyNameIn(names: Iterable<string>, set: ReadonlySet<string>): boolean;
280
- export declare function collectLoopChildReactiveAttrs(node: IRNode, ctx: ClientJsContext, loopParam?: string, loopParamBindings?: readonly LoopParamBinding[], stopAtReactiveConditionals?: boolean, preambleNames?: ReadonlySet<string>, loopIndex?: string | null): LoopChildReactiveAttr[];
322
+ export declare function collectLoopChildReactiveAttrs(node: IRNode, ctx: ClientJsContext, loopParam?: string, loopParamBindings?: readonly LoopParamBinding[], stopAtReactiveConditionals?: boolean, preambleNames?: ReadonlySet<string>, loopIndex?: string | null,
323
+ /** Enclosing loop's own scope, for a NESTED loop (#2861) — see `buildLoopRowScope`. */
324
+ parentScope?: BindingScope): LoopChildReactiveAttr[];
281
325
  //# sourceMappingURL=reactivity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reactivity.d.ts","sourceRoot":"","sources":["../../src/ir-to-client-js/reactivity.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,KAAK,MAAM,EAAkB,KAAK,MAAM,EAAE,KAAK,gBAAgB,EAAE,KAAK,UAAU,EAAwC,MAAM,aAAa,CAAA;AACpJ,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,YAAY,EACZ,qBAAqB,EACrB,UAAU,EACX,MAAM,YAAY,CAAA;AAKnB,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAGxD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,CAAC,EAAE,MAAM,EAClB,iBAAiB,CAAC,EAAE,SAAS,gBAAgB,EAAE,EAC/C,aAAa,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,EACnC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GACxB,YAAY,GAAG,SAAS,CAQ1B;AAED;;;;;;;;;;;;GAYG;AACH;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GACpB;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,GACf;IAAE,IAAI,EAAE,IAAI,CAAC;IAAC,MAAM,EAAE,UAAU,CAAA;CAAE,CAAA;AAEtC,MAAM,MAAM,UAAU;AACpB,uEA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