@farm.js/react 0.1.0-beta.40 → 0.1.0-beta.42

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.
@@ -127,13 +127,18 @@ interface CompilerHostElement {
127
127
  value: unknown;
128
128
  }[];
129
129
  children: readonly (CompilerHostElement | unknown)[];
130
+ /** Ids of the keyed row events this element of a host-block row handles. */
131
+ events?: readonly number[];
130
132
  /** Direct-child structure owned without creating another React fiber. */
131
133
  block?: CompilerHostBlock;
132
134
  }
133
135
  type CompilerKeyedRowElement = CompilerHostElement;
134
136
  interface CompilerKeyedRowEvent {
135
137
  name: string;
136
- /** Host-element path relative to the keyed row root. */
138
+ /**
139
+ * Host-element path relative to the keyed row root. Host-block rows omit it: mounting the row
140
+ * records each element's events from its descriptor.
141
+ */
137
142
  path?: readonly number[];
138
143
  invoke(item: unknown, index: number, event: React.SyntheticEvent): unknown;
139
144
  }
@@ -245,6 +250,8 @@ interface CompilerKeyedRowBinding {
245
250
  read(item: unknown, index: number): unknown;
246
251
  }
247
252
  interface CompilerKeyedRowsBlockProps {
253
+ /** Receives the container when the rows block is the component's root element. */
254
+ rootRef?: React.RefCallback<Element>;
248
255
  id: number;
249
256
  render(event: (item: unknown, index: number, eventId: number) => React.EventHandler<React.SyntheticEvent>, conditional: (item: unknown, index: number, conditionalId: number, render: (item: unknown, index: number) => React.ReactNode) => React.ReactNode): React.ReactElement;
250
257
  items(): Iterable<unknown> | null | undefined;
@@ -337,7 +344,15 @@ interface CompilerBlockRuntime {
337
344
  KeyedRanges: React.ComponentType<CompilerKeyedRangesBlockProps>;
338
345
  MixedRanges: React.ComponentType<CompilerMixedRangesBlockProps>;
339
346
  Component: React.ComponentType<CompilerComponentBlockProps>;
340
- target(id: number): React.RefCallback<Element>;
347
+ /** A binding target's ref, which also sets the element's useRef object when it has one. */
348
+ target(id: number, ref?: {
349
+ current: unknown;
350
+ }): React.RefCallback<Element>;
351
+ /**
352
+ * Runs a component's changed effects after a commit (given its effect list), or cleans them all
353
+ * up (without one). Only components with effects carry this runtime.
354
+ */
355
+ effects?(component: object, effects?: CompilerEffectList): void;
341
356
  }
342
357
  type CompilerBinding<Props> = CompilerTextBinding<Props> | CompilerAttributeBinding<Props> | CompilerStyleBinding<Props> | CompilerConditionalBlockBinding;
343
358
  interface CompiledComponentDefinition<Props> {
@@ -356,7 +371,14 @@ interface CompiledComponentDefinition<Props> {
356
371
  readProps?(props: Props): readonly unknown[];
357
372
  render(props: Props, state: readonly CompilerCell[], blocks: CompilerBlockRuntime): React.ReactElement;
358
373
  bindings: readonly CompilerBinding<Props>[];
374
+ /**
375
+ * The component's useEffect and useLayoutEffect calls, evaluated in its render scope after each
376
+ * committed update: each callback with its dependency values (undefined runs it every time) and
377
+ * whether it is a layout effect.
378
+ */
379
+ effects?(props: Props, state: readonly CompilerCell[]): CompilerEffectList;
359
380
  }
381
+ type CompilerEffectList = ReadonlyArray<readonly [() => unknown, readonly unknown[] | undefined, boolean?]>;
360
382
  type CompilerBlockRefresh = (afterCommit?: () => void, dirtyState?: ReadonlySet<number>) => void;
361
383
  interface CompilerRuntimeFeatureOwner {
362
384
  setRoot(id: number, root: Element | null, expectedRoot?: Element | null): void;
@@ -460,6 +482,7 @@ declare const keyedRowsCompletePrependHintedRuntimeFeature: CompilerRuntimeFeatu
460
482
  declare const keyedRowsCompleteFilterPrependHintedRuntimeFeature: CompilerRuntimeFeature;
461
483
  declare const keyedRangesRuntimeFeature: CompilerRuntimeFeature;
462
484
  declare const mixedRangesRuntimeFeature: CompilerRuntimeFeature;
485
+ declare const effectsRuntimeFeature: CompilerRuntimeFeature;
463
486
  declare const componentRuntimeFeature: CompilerRuntimeFeature;
464
487
  /**
465
488
  * Tree-shakable runtime target emitted by the AOT transform.
@@ -515,4 +538,4 @@ interface CompiledRootReactDOM {
515
538
  */
516
539
  declare function createCompiledRoot(container: Element, options: CompiledRootOptions, loadReactDOM: () => Promise<CompiledRootReactDOM>): CompiledRoot;
517
540
 
518
- export { type CompiledComponentDefinition, type CompiledRoot, type CompiledRootOptions, type CompilerAttributeBinding, type CompilerBinding, type CompilerBlockRuntime, type CompilerCell, type CompilerComponentBlockProps, type CompilerConditionalBlockBinding, type CompilerConditionalBlockProps, type CompilerConditionalRange, type CompilerConditionalRangesBlockProps, type CompilerHostBlock, type CompilerHostConditionalBinding, type CompilerHostConditionalBlockProps, type CompilerHostConditionalBranch, type CompilerHostConditionalRanges, type CompilerHostElement, type CompilerHostKeyedRanges, type CompilerHostMixedRanges, type CompilerKeyedListBlockProps, type CompilerKeyedRange, type CompilerKeyedRangeRowEvent, type CompilerKeyedRangesBlockProps, type CompilerKeyedRowBinding, type CompilerKeyedRowConditional, type CompilerKeyedRowConditionalBranch, type CompilerKeyedRowElement, type CompilerKeyedRowEvent, type CompilerKeyedRowsBlockProps, type CompilerMixedRange, type CompilerMixedRangesBlockProps, type CompilerRuntimeFeature, type CompilerRuntimeFeatureOwner, type CompilerRuntimeReactivity, type CompilerStateUpdater, type CompilerStaticRangeBinding, type CompilerStyleBinding, type CompilerTextBinding, applyCompilerKeyedCollectionMutation, componentRuntimeFeature, conditionalRangesRuntimeFeature, conditionalRuntimeFeature, createCompiledComponent, createCompiledComponentWithFeatures, createCompiledComponentWithoutRefresh, createCompiledRoot, createCompilerKeyedArrayAppend, createCompilerKeyedArrayBatchInsert, createCompilerKeyedArrayFilter, createCompilerKeyedArrayMapPipeline, createCompilerKeyedArrayMapReorder, createCompilerKeyedArrayMappedRollingWindow, createCompilerKeyedArrayMappedStructuralAppend, createCompilerKeyedArrayMappedStructuralPrepend, createCompilerKeyedArrayPositionUpdate, createCompilerKeyedArrayPrepend, createCompilerKeyedArrayQueuedMapPipeline, createCompilerKeyedArrayReorder, createCompilerKeyedArrayRollingWindow, createCompilerKeyedArrayRollingWindowMapPipeline, createCompilerKeyedArraySlice, createCompilerKeyedArraySort, createCompilerKeyedArrayStructuralAppend, createCompilerKeyedArrayStructuralAppendMapPipeline, createCompilerKeyedArrayStructuralPrepend, createCompilerKeyedArrayStructuralPrependMapPipeline, createCompilerKeyedArrayStructuralReorder, createCompilerKeyedArrayStructuralSort, createCompilerKeyedArrayWindowReplace, createCompilerKeyedCollectionUpdate, createCompilerKeyedMapUpdate, finalizeCompilerKeyedArrayMappedStructuralUpdate, hostConditionalRuntimeFeature, keyedListRuntimeFeature, keyedRangesRuntimeFeature, keyedRowsAllHintedRuntimeFeature, keyedRowsAppendOnlyRuntimeFeature, keyedRowsBatchEveryHintedRuntimeFeature, keyedRowsBatchPositionHintedRuntimeFeature, keyedRowsCompleteAllHintedRuntimeFeature, keyedRowsCompleteBatchEveryHintedRuntimeFeature, keyedRowsCompleteBatchPositionHintedRuntimeFeature, keyedRowsCompleteEveryHintedRuntimeFeature, keyedRowsCompleteFilterHintedRuntimeFeature, keyedRowsCompleteFilterPrependHintedRuntimeFeature, keyedRowsCompleteHintedRuntimeFeature, keyedRowsCompleteMappedRollingWindowHintedRuntimeFeature, keyedRowsCompletePositionHintedRuntimeFeature, keyedRowsCompletePrependHintedRuntimeFeature, keyedRowsCompleteReorderHintedRuntimeFeature, keyedRowsCompleteRuntimeFeature, keyedRowsCompleteStructuralAppendHintedRuntimeFeature, keyedRowsCompleteStructuralAppendMapHintedRuntimeFeature, keyedRowsCompleteStructuralPrependHintedRuntimeFeature, keyedRowsCompleteStructuralPrependMapHintedRuntimeFeature, keyedRowsCompleteWindowEveryHintedRuntimeFeature, keyedRowsCompleteWindowPositionHintedRuntimeFeature, keyedRowsConditionalAllHintedRuntimeFeature, keyedRowsConditionalBatchEveryHintedRuntimeFeature, keyedRowsConditionalBatchPositionHintedRuntimeFeature, keyedRowsConditionalEveryHintedRuntimeFeature, keyedRowsConditionalFilterHintedRuntimeFeature, keyedRowsConditionalFilterPrependHintedRuntimeFeature, keyedRowsConditionalHintedRuntimeFeature, keyedRowsConditionalMappedRollingWindowHintedRuntimeFeature, keyedRowsConditionalPositionHintedRuntimeFeature, keyedRowsConditionalPrependHintedRuntimeFeature, keyedRowsConditionalReorderHintedRuntimeFeature, keyedRowsConditionalRuntimeFeature, keyedRowsConditionalStructuralAppendHintedRuntimeFeature, keyedRowsConditionalStructuralAppendMapHintedRuntimeFeature, keyedRowsConditionalStructuralPrependHintedRuntimeFeature, keyedRowsConditionalStructuralPrependMapHintedRuntimeFeature, keyedRowsConditionalWindowEveryHintedRuntimeFeature, keyedRowsConditionalWindowPositionHintedRuntimeFeature, keyedRowsEveryHintedRuntimeFeature, keyedRowsFilterHintedRuntimeFeature, keyedRowsFilterOnlyRuntimeFeature, keyedRowsFilterPrependHintedRuntimeFeature, keyedRowsHintedRuntimeFeature, keyedRowsHostAllHintedRuntimeFeature, keyedRowsHostBatchEveryHintedRuntimeFeature, keyedRowsHostBatchPositionHintedRuntimeFeature, keyedRowsHostEveryHintedRuntimeFeature, keyedRowsHostFilterHintedRuntimeFeature, keyedRowsHostFilterPrependHintedRuntimeFeature, keyedRowsHostHintedRuntimeFeature, keyedRowsHostMappedRollingWindowHintedRuntimeFeature, keyedRowsHostPositionHintedRuntimeFeature, keyedRowsHostPrependHintedRuntimeFeature, keyedRowsHostReorderHintedRuntimeFeature, keyedRowsHostRuntimeFeature, keyedRowsHostStructuralAppendHintedRuntimeFeature, keyedRowsHostStructuralAppendMapHintedRuntimeFeature, keyedRowsHostStructuralPrependHintedRuntimeFeature, keyedRowsHostStructuralPrependMapHintedRuntimeFeature, keyedRowsHostWindowEveryHintedRuntimeFeature, keyedRowsHostWindowPositionHintedRuntimeFeature, keyedRowsIdentityFilterHintedRuntimeFeature, keyedRowsIdentityFilterOnlyRuntimeFeature, keyedRowsIdentityRuntimeFeature, keyedRowsMapLookupRuntimeFeature, keyedRowsMapReorderHintedRuntimeFeature, keyedRowsMappedRollingWindowHintedRuntimeFeature, keyedRowsMembershipRuntimeFeature, keyedRowsPlainMapReorderHintedRuntimeFeature, keyedRowsPlainPositionHintedRuntimeFeature, keyedRowsPlainReorderHintedRuntimeFeature, keyedRowsPlainRuntimeFeature, keyedRowsPositionHintedRuntimeFeature, keyedRowsPrependHintedRuntimeFeature, keyedRowsPrependOnlyRuntimeFeature, keyedRowsReorderHintedRuntimeFeature, keyedRowsRuntimeFeature, keyedRowsStructuralAppendHintedRuntimeFeature, keyedRowsStructuralAppendMapHintedRuntimeFeature, keyedRowsStructuralPrependHintedRuntimeFeature, keyedRowsStructuralPrependMapHintedRuntimeFeature, keyedRowsWindowEveryHintedRuntimeFeature, keyedRowsWindowPositionHintedRuntimeFeature, mixedRangesRuntimeFeature };
541
+ export { type CompiledComponentDefinition, type CompiledRoot, type CompiledRootOptions, type CompilerAttributeBinding, type CompilerBinding, type CompilerBlockRuntime, type CompilerCell, type CompilerComponentBlockProps, type CompilerConditionalBlockBinding, type CompilerConditionalBlockProps, type CompilerConditionalRange, type CompilerConditionalRangesBlockProps, type CompilerHostBlock, type CompilerHostConditionalBinding, type CompilerHostConditionalBlockProps, type CompilerHostConditionalBranch, type CompilerHostConditionalRanges, type CompilerHostElement, type CompilerHostKeyedRanges, type CompilerHostMixedRanges, type CompilerKeyedListBlockProps, type CompilerKeyedRange, type CompilerKeyedRangeRowEvent, type CompilerKeyedRangesBlockProps, type CompilerKeyedRowBinding, type CompilerKeyedRowConditional, type CompilerKeyedRowConditionalBranch, type CompilerKeyedRowElement, type CompilerKeyedRowEvent, type CompilerKeyedRowsBlockProps, type CompilerMixedRange, type CompilerMixedRangesBlockProps, type CompilerRuntimeFeature, type CompilerRuntimeFeatureOwner, type CompilerRuntimeReactivity, type CompilerStateUpdater, type CompilerStaticRangeBinding, type CompilerStyleBinding, type CompilerTextBinding, applyCompilerKeyedCollectionMutation, componentRuntimeFeature, conditionalRangesRuntimeFeature, conditionalRuntimeFeature, createCompiledComponent, createCompiledComponentWithFeatures, createCompiledComponentWithoutRefresh, createCompiledRoot, createCompilerKeyedArrayAppend, createCompilerKeyedArrayBatchInsert, createCompilerKeyedArrayFilter, createCompilerKeyedArrayMapPipeline, createCompilerKeyedArrayMapReorder, createCompilerKeyedArrayMappedRollingWindow, createCompilerKeyedArrayMappedStructuralAppend, createCompilerKeyedArrayMappedStructuralPrepend, createCompilerKeyedArrayPositionUpdate, createCompilerKeyedArrayPrepend, createCompilerKeyedArrayQueuedMapPipeline, createCompilerKeyedArrayReorder, createCompilerKeyedArrayRollingWindow, createCompilerKeyedArrayRollingWindowMapPipeline, createCompilerKeyedArraySlice, createCompilerKeyedArraySort, createCompilerKeyedArrayStructuralAppend, createCompilerKeyedArrayStructuralAppendMapPipeline, createCompilerKeyedArrayStructuralPrepend, createCompilerKeyedArrayStructuralPrependMapPipeline, createCompilerKeyedArrayStructuralReorder, createCompilerKeyedArrayStructuralSort, createCompilerKeyedArrayWindowReplace, createCompilerKeyedCollectionUpdate, createCompilerKeyedMapUpdate, effectsRuntimeFeature, finalizeCompilerKeyedArrayMappedStructuralUpdate, hostConditionalRuntimeFeature, keyedListRuntimeFeature, keyedRangesRuntimeFeature, keyedRowsAllHintedRuntimeFeature, keyedRowsAppendOnlyRuntimeFeature, keyedRowsBatchEveryHintedRuntimeFeature, keyedRowsBatchPositionHintedRuntimeFeature, keyedRowsCompleteAllHintedRuntimeFeature, keyedRowsCompleteBatchEveryHintedRuntimeFeature, keyedRowsCompleteBatchPositionHintedRuntimeFeature, keyedRowsCompleteEveryHintedRuntimeFeature, keyedRowsCompleteFilterHintedRuntimeFeature, keyedRowsCompleteFilterPrependHintedRuntimeFeature, keyedRowsCompleteHintedRuntimeFeature, keyedRowsCompleteMappedRollingWindowHintedRuntimeFeature, keyedRowsCompletePositionHintedRuntimeFeature, keyedRowsCompletePrependHintedRuntimeFeature, keyedRowsCompleteReorderHintedRuntimeFeature, keyedRowsCompleteRuntimeFeature, keyedRowsCompleteStructuralAppendHintedRuntimeFeature, keyedRowsCompleteStructuralAppendMapHintedRuntimeFeature, keyedRowsCompleteStructuralPrependHintedRuntimeFeature, keyedRowsCompleteStructuralPrependMapHintedRuntimeFeature, keyedRowsCompleteWindowEveryHintedRuntimeFeature, keyedRowsCompleteWindowPositionHintedRuntimeFeature, keyedRowsConditionalAllHintedRuntimeFeature, keyedRowsConditionalBatchEveryHintedRuntimeFeature, keyedRowsConditionalBatchPositionHintedRuntimeFeature, keyedRowsConditionalEveryHintedRuntimeFeature, keyedRowsConditionalFilterHintedRuntimeFeature, keyedRowsConditionalFilterPrependHintedRuntimeFeature, keyedRowsConditionalHintedRuntimeFeature, keyedRowsConditionalMappedRollingWindowHintedRuntimeFeature, keyedRowsConditionalPositionHintedRuntimeFeature, keyedRowsConditionalPrependHintedRuntimeFeature, keyedRowsConditionalReorderHintedRuntimeFeature, keyedRowsConditionalRuntimeFeature, keyedRowsConditionalStructuralAppendHintedRuntimeFeature, keyedRowsConditionalStructuralAppendMapHintedRuntimeFeature, keyedRowsConditionalStructuralPrependHintedRuntimeFeature, keyedRowsConditionalStructuralPrependMapHintedRuntimeFeature, keyedRowsConditionalWindowEveryHintedRuntimeFeature, keyedRowsConditionalWindowPositionHintedRuntimeFeature, keyedRowsEveryHintedRuntimeFeature, keyedRowsFilterHintedRuntimeFeature, keyedRowsFilterOnlyRuntimeFeature, keyedRowsFilterPrependHintedRuntimeFeature, keyedRowsHintedRuntimeFeature, keyedRowsHostAllHintedRuntimeFeature, keyedRowsHostBatchEveryHintedRuntimeFeature, keyedRowsHostBatchPositionHintedRuntimeFeature, keyedRowsHostEveryHintedRuntimeFeature, keyedRowsHostFilterHintedRuntimeFeature, keyedRowsHostFilterPrependHintedRuntimeFeature, keyedRowsHostHintedRuntimeFeature, keyedRowsHostMappedRollingWindowHintedRuntimeFeature, keyedRowsHostPositionHintedRuntimeFeature, keyedRowsHostPrependHintedRuntimeFeature, keyedRowsHostReorderHintedRuntimeFeature, keyedRowsHostRuntimeFeature, keyedRowsHostStructuralAppendHintedRuntimeFeature, keyedRowsHostStructuralAppendMapHintedRuntimeFeature, keyedRowsHostStructuralPrependHintedRuntimeFeature, keyedRowsHostStructuralPrependMapHintedRuntimeFeature, keyedRowsHostWindowEveryHintedRuntimeFeature, keyedRowsHostWindowPositionHintedRuntimeFeature, keyedRowsIdentityFilterHintedRuntimeFeature, keyedRowsIdentityFilterOnlyRuntimeFeature, keyedRowsIdentityRuntimeFeature, keyedRowsMapLookupRuntimeFeature, keyedRowsMapReorderHintedRuntimeFeature, keyedRowsMappedRollingWindowHintedRuntimeFeature, keyedRowsMembershipRuntimeFeature, keyedRowsPlainMapReorderHintedRuntimeFeature, keyedRowsPlainPositionHintedRuntimeFeature, keyedRowsPlainReorderHintedRuntimeFeature, keyedRowsPlainRuntimeFeature, keyedRowsPositionHintedRuntimeFeature, keyedRowsPrependHintedRuntimeFeature, keyedRowsPrependOnlyRuntimeFeature, keyedRowsReorderHintedRuntimeFeature, keyedRowsRuntimeFeature, keyedRowsStructuralAppendHintedRuntimeFeature, keyedRowsStructuralAppendMapHintedRuntimeFeature, keyedRowsStructuralPrependHintedRuntimeFeature, keyedRowsStructuralPrependMapHintedRuntimeFeature, keyedRowsWindowEveryHintedRuntimeFeature, keyedRowsWindowPositionHintedRuntimeFeature, mixedRangesRuntimeFeature };
@@ -127,13 +127,18 @@ interface CompilerHostElement {
127
127
  value: unknown;
128
128
  }[];
129
129
  children: readonly (CompilerHostElement | unknown)[];
130
+ /** Ids of the keyed row events this element of a host-block row handles. */
131
+ events?: readonly number[];
130
132
  /** Direct-child structure owned without creating another React fiber. */
131
133
  block?: CompilerHostBlock;
132
134
  }
133
135
  type CompilerKeyedRowElement = CompilerHostElement;
134
136
  interface CompilerKeyedRowEvent {
135
137
  name: string;
136
- /** Host-element path relative to the keyed row root. */
138
+ /**
139
+ * Host-element path relative to the keyed row root. Host-block rows omit it: mounting the row
140
+ * records each element's events from its descriptor.
141
+ */
137
142
  path?: readonly number[];
138
143
  invoke(item: unknown, index: number, event: React.SyntheticEvent): unknown;
139
144
  }
@@ -245,6 +250,8 @@ interface CompilerKeyedRowBinding {
245
250
  read(item: unknown, index: number): unknown;
246
251
  }
247
252
  interface CompilerKeyedRowsBlockProps {
253
+ /** Receives the container when the rows block is the component's root element. */
254
+ rootRef?: React.RefCallback<Element>;
248
255
  id: number;
249
256
  render(event: (item: unknown, index: number, eventId: number) => React.EventHandler<React.SyntheticEvent>, conditional: (item: unknown, index: number, conditionalId: number, render: (item: unknown, index: number) => React.ReactNode) => React.ReactNode): React.ReactElement;
250
257
  items(): Iterable<unknown> | null | undefined;
@@ -337,7 +344,15 @@ interface CompilerBlockRuntime {
337
344
  KeyedRanges: React.ComponentType<CompilerKeyedRangesBlockProps>;
338
345
  MixedRanges: React.ComponentType<CompilerMixedRangesBlockProps>;
339
346
  Component: React.ComponentType<CompilerComponentBlockProps>;
340
- target(id: number): React.RefCallback<Element>;
347
+ /** A binding target's ref, which also sets the element's useRef object when it has one. */
348
+ target(id: number, ref?: {
349
+ current: unknown;
350
+ }): React.RefCallback<Element>;
351
+ /**
352
+ * Runs a component's changed effects after a commit (given its effect list), or cleans them all
353
+ * up (without one). Only components with effects carry this runtime.
354
+ */
355
+ effects?(component: object, effects?: CompilerEffectList): void;
341
356
  }
342
357
  type CompilerBinding<Props> = CompilerTextBinding<Props> | CompilerAttributeBinding<Props> | CompilerStyleBinding<Props> | CompilerConditionalBlockBinding;
343
358
  interface CompiledComponentDefinition<Props> {
@@ -356,7 +371,14 @@ interface CompiledComponentDefinition<Props> {
356
371
  readProps?(props: Props): readonly unknown[];
357
372
  render(props: Props, state: readonly CompilerCell[], blocks: CompilerBlockRuntime): React.ReactElement;
358
373
  bindings: readonly CompilerBinding<Props>[];
374
+ /**
375
+ * The component's useEffect and useLayoutEffect calls, evaluated in its render scope after each
376
+ * committed update: each callback with its dependency values (undefined runs it every time) and
377
+ * whether it is a layout effect.
378
+ */
379
+ effects?(props: Props, state: readonly CompilerCell[]): CompilerEffectList;
359
380
  }
381
+ type CompilerEffectList = ReadonlyArray<readonly [() => unknown, readonly unknown[] | undefined, boolean?]>;
360
382
  type CompilerBlockRefresh = (afterCommit?: () => void, dirtyState?: ReadonlySet<number>) => void;
361
383
  interface CompilerRuntimeFeatureOwner {
362
384
  setRoot(id: number, root: Element | null, expectedRoot?: Element | null): void;
@@ -460,6 +482,7 @@ declare const keyedRowsCompletePrependHintedRuntimeFeature: CompilerRuntimeFeatu
460
482
  declare const keyedRowsCompleteFilterPrependHintedRuntimeFeature: CompilerRuntimeFeature;
461
483
  declare const keyedRangesRuntimeFeature: CompilerRuntimeFeature;
462
484
  declare const mixedRangesRuntimeFeature: CompilerRuntimeFeature;
485
+ declare const effectsRuntimeFeature: CompilerRuntimeFeature;
463
486
  declare const componentRuntimeFeature: CompilerRuntimeFeature;
464
487
  /**
465
488
  * Tree-shakable runtime target emitted by the AOT transform.
@@ -515,4 +538,4 @@ interface CompiledRootReactDOM {
515
538
  */
516
539
  declare function createCompiledRoot(container: Element, options: CompiledRootOptions, loadReactDOM: () => Promise<CompiledRootReactDOM>): CompiledRoot;
517
540
 
518
- export { type CompiledComponentDefinition, type CompiledRoot, type CompiledRootOptions, type CompilerAttributeBinding, type CompilerBinding, type CompilerBlockRuntime, type CompilerCell, type CompilerComponentBlockProps, type CompilerConditionalBlockBinding, type CompilerConditionalBlockProps, type CompilerConditionalRange, type CompilerConditionalRangesBlockProps, type CompilerHostBlock, type CompilerHostConditionalBinding, type CompilerHostConditionalBlockProps, type CompilerHostConditionalBranch, type CompilerHostConditionalRanges, type CompilerHostElement, type CompilerHostKeyedRanges, type CompilerHostMixedRanges, type CompilerKeyedListBlockProps, type CompilerKeyedRange, type CompilerKeyedRangeRowEvent, type CompilerKeyedRangesBlockProps, type CompilerKeyedRowBinding, type CompilerKeyedRowConditional, type CompilerKeyedRowConditionalBranch, type CompilerKeyedRowElement, type CompilerKeyedRowEvent, type CompilerKeyedRowsBlockProps, type CompilerMixedRange, type CompilerMixedRangesBlockProps, type CompilerRuntimeFeature, type CompilerRuntimeFeatureOwner, type CompilerRuntimeReactivity, type CompilerStateUpdater, type CompilerStaticRangeBinding, type CompilerStyleBinding, type CompilerTextBinding, applyCompilerKeyedCollectionMutation, componentRuntimeFeature, conditionalRangesRuntimeFeature, conditionalRuntimeFeature, createCompiledComponent, createCompiledComponentWithFeatures, createCompiledComponentWithoutRefresh, createCompiledRoot, createCompilerKeyedArrayAppend, createCompilerKeyedArrayBatchInsert, createCompilerKeyedArrayFilter, createCompilerKeyedArrayMapPipeline, createCompilerKeyedArrayMapReorder, createCompilerKeyedArrayMappedRollingWindow, createCompilerKeyedArrayMappedStructuralAppend, createCompilerKeyedArrayMappedStructuralPrepend, createCompilerKeyedArrayPositionUpdate, createCompilerKeyedArrayPrepend, createCompilerKeyedArrayQueuedMapPipeline, createCompilerKeyedArrayReorder, createCompilerKeyedArrayRollingWindow, createCompilerKeyedArrayRollingWindowMapPipeline, createCompilerKeyedArraySlice, createCompilerKeyedArraySort, createCompilerKeyedArrayStructuralAppend, createCompilerKeyedArrayStructuralAppendMapPipeline, createCompilerKeyedArrayStructuralPrepend, createCompilerKeyedArrayStructuralPrependMapPipeline, createCompilerKeyedArrayStructuralReorder, createCompilerKeyedArrayStructuralSort, createCompilerKeyedArrayWindowReplace, createCompilerKeyedCollectionUpdate, createCompilerKeyedMapUpdate, finalizeCompilerKeyedArrayMappedStructuralUpdate, hostConditionalRuntimeFeature, keyedListRuntimeFeature, keyedRangesRuntimeFeature, keyedRowsAllHintedRuntimeFeature, keyedRowsAppendOnlyRuntimeFeature, keyedRowsBatchEveryHintedRuntimeFeature, keyedRowsBatchPositionHintedRuntimeFeature, keyedRowsCompleteAllHintedRuntimeFeature, keyedRowsCompleteBatchEveryHintedRuntimeFeature, keyedRowsCompleteBatchPositionHintedRuntimeFeature, keyedRowsCompleteEveryHintedRuntimeFeature, keyedRowsCompleteFilterHintedRuntimeFeature, keyedRowsCompleteFilterPrependHintedRuntimeFeature, keyedRowsCompleteHintedRuntimeFeature, keyedRowsCompleteMappedRollingWindowHintedRuntimeFeature, keyedRowsCompletePositionHintedRuntimeFeature, keyedRowsCompletePrependHintedRuntimeFeature, keyedRowsCompleteReorderHintedRuntimeFeature, keyedRowsCompleteRuntimeFeature, keyedRowsCompleteStructuralAppendHintedRuntimeFeature, keyedRowsCompleteStructuralAppendMapHintedRuntimeFeature, keyedRowsCompleteStructuralPrependHintedRuntimeFeature, keyedRowsCompleteStructuralPrependMapHintedRuntimeFeature, keyedRowsCompleteWindowEveryHintedRuntimeFeature, keyedRowsCompleteWindowPositionHintedRuntimeFeature, keyedRowsConditionalAllHintedRuntimeFeature, keyedRowsConditionalBatchEveryHintedRuntimeFeature, keyedRowsConditionalBatchPositionHintedRuntimeFeature, keyedRowsConditionalEveryHintedRuntimeFeature, keyedRowsConditionalFilterHintedRuntimeFeature, keyedRowsConditionalFilterPrependHintedRuntimeFeature, keyedRowsConditionalHintedRuntimeFeature, keyedRowsConditionalMappedRollingWindowHintedRuntimeFeature, keyedRowsConditionalPositionHintedRuntimeFeature, keyedRowsConditionalPrependHintedRuntimeFeature, keyedRowsConditionalReorderHintedRuntimeFeature, keyedRowsConditionalRuntimeFeature, keyedRowsConditionalStructuralAppendHintedRuntimeFeature, keyedRowsConditionalStructuralAppendMapHintedRuntimeFeature, keyedRowsConditionalStructuralPrependHintedRuntimeFeature, keyedRowsConditionalStructuralPrependMapHintedRuntimeFeature, keyedRowsConditionalWindowEveryHintedRuntimeFeature, keyedRowsConditionalWindowPositionHintedRuntimeFeature, keyedRowsEveryHintedRuntimeFeature, keyedRowsFilterHintedRuntimeFeature, keyedRowsFilterOnlyRuntimeFeature, keyedRowsFilterPrependHintedRuntimeFeature, keyedRowsHintedRuntimeFeature, keyedRowsHostAllHintedRuntimeFeature, keyedRowsHostBatchEveryHintedRuntimeFeature, keyedRowsHostBatchPositionHintedRuntimeFeature, keyedRowsHostEveryHintedRuntimeFeature, keyedRowsHostFilterHintedRuntimeFeature, keyedRowsHostFilterPrependHintedRuntimeFeature, keyedRowsHostHintedRuntimeFeature, keyedRowsHostMappedRollingWindowHintedRuntimeFeature, keyedRowsHostPositionHintedRuntimeFeature, keyedRowsHostPrependHintedRuntimeFeature, keyedRowsHostReorderHintedRuntimeFeature, keyedRowsHostRuntimeFeature, keyedRowsHostStructuralAppendHintedRuntimeFeature, keyedRowsHostStructuralAppendMapHintedRuntimeFeature, keyedRowsHostStructuralPrependHintedRuntimeFeature, keyedRowsHostStructuralPrependMapHintedRuntimeFeature, keyedRowsHostWindowEveryHintedRuntimeFeature, keyedRowsHostWindowPositionHintedRuntimeFeature, keyedRowsIdentityFilterHintedRuntimeFeature, keyedRowsIdentityFilterOnlyRuntimeFeature, keyedRowsIdentityRuntimeFeature, keyedRowsMapLookupRuntimeFeature, keyedRowsMapReorderHintedRuntimeFeature, keyedRowsMappedRollingWindowHintedRuntimeFeature, keyedRowsMembershipRuntimeFeature, keyedRowsPlainMapReorderHintedRuntimeFeature, keyedRowsPlainPositionHintedRuntimeFeature, keyedRowsPlainReorderHintedRuntimeFeature, keyedRowsPlainRuntimeFeature, keyedRowsPositionHintedRuntimeFeature, keyedRowsPrependHintedRuntimeFeature, keyedRowsPrependOnlyRuntimeFeature, keyedRowsReorderHintedRuntimeFeature, keyedRowsRuntimeFeature, keyedRowsStructuralAppendHintedRuntimeFeature, keyedRowsStructuralAppendMapHintedRuntimeFeature, keyedRowsStructuralPrependHintedRuntimeFeature, keyedRowsStructuralPrependMapHintedRuntimeFeature, keyedRowsWindowEveryHintedRuntimeFeature, keyedRowsWindowPositionHintedRuntimeFeature, mixedRangesRuntimeFeature };
541
+ export { type CompiledComponentDefinition, type CompiledRoot, type CompiledRootOptions, type CompilerAttributeBinding, type CompilerBinding, type CompilerBlockRuntime, type CompilerCell, type CompilerComponentBlockProps, type CompilerConditionalBlockBinding, type CompilerConditionalBlockProps, type CompilerConditionalRange, type CompilerConditionalRangesBlockProps, type CompilerHostBlock, type CompilerHostConditionalBinding, type CompilerHostConditionalBlockProps, type CompilerHostConditionalBranch, type CompilerHostConditionalRanges, type CompilerHostElement, type CompilerHostKeyedRanges, type CompilerHostMixedRanges, type CompilerKeyedListBlockProps, type CompilerKeyedRange, type CompilerKeyedRangeRowEvent, type CompilerKeyedRangesBlockProps, type CompilerKeyedRowBinding, type CompilerKeyedRowConditional, type CompilerKeyedRowConditionalBranch, type CompilerKeyedRowElement, type CompilerKeyedRowEvent, type CompilerKeyedRowsBlockProps, type CompilerMixedRange, type CompilerMixedRangesBlockProps, type CompilerRuntimeFeature, type CompilerRuntimeFeatureOwner, type CompilerRuntimeReactivity, type CompilerStateUpdater, type CompilerStaticRangeBinding, type CompilerStyleBinding, type CompilerTextBinding, applyCompilerKeyedCollectionMutation, componentRuntimeFeature, conditionalRangesRuntimeFeature, conditionalRuntimeFeature, createCompiledComponent, createCompiledComponentWithFeatures, createCompiledComponentWithoutRefresh, createCompiledRoot, createCompilerKeyedArrayAppend, createCompilerKeyedArrayBatchInsert, createCompilerKeyedArrayFilter, createCompilerKeyedArrayMapPipeline, createCompilerKeyedArrayMapReorder, createCompilerKeyedArrayMappedRollingWindow, createCompilerKeyedArrayMappedStructuralAppend, createCompilerKeyedArrayMappedStructuralPrepend, createCompilerKeyedArrayPositionUpdate, createCompilerKeyedArrayPrepend, createCompilerKeyedArrayQueuedMapPipeline, createCompilerKeyedArrayReorder, createCompilerKeyedArrayRollingWindow, createCompilerKeyedArrayRollingWindowMapPipeline, createCompilerKeyedArraySlice, createCompilerKeyedArraySort, createCompilerKeyedArrayStructuralAppend, createCompilerKeyedArrayStructuralAppendMapPipeline, createCompilerKeyedArrayStructuralPrepend, createCompilerKeyedArrayStructuralPrependMapPipeline, createCompilerKeyedArrayStructuralReorder, createCompilerKeyedArrayStructuralSort, createCompilerKeyedArrayWindowReplace, createCompilerKeyedCollectionUpdate, createCompilerKeyedMapUpdate, effectsRuntimeFeature, finalizeCompilerKeyedArrayMappedStructuralUpdate, hostConditionalRuntimeFeature, keyedListRuntimeFeature, keyedRangesRuntimeFeature, keyedRowsAllHintedRuntimeFeature, keyedRowsAppendOnlyRuntimeFeature, keyedRowsBatchEveryHintedRuntimeFeature, keyedRowsBatchPositionHintedRuntimeFeature, keyedRowsCompleteAllHintedRuntimeFeature, keyedRowsCompleteBatchEveryHintedRuntimeFeature, keyedRowsCompleteBatchPositionHintedRuntimeFeature, keyedRowsCompleteEveryHintedRuntimeFeature, keyedRowsCompleteFilterHintedRuntimeFeature, keyedRowsCompleteFilterPrependHintedRuntimeFeature, keyedRowsCompleteHintedRuntimeFeature, keyedRowsCompleteMappedRollingWindowHintedRuntimeFeature, keyedRowsCompletePositionHintedRuntimeFeature, keyedRowsCompletePrependHintedRuntimeFeature, keyedRowsCompleteReorderHintedRuntimeFeature, keyedRowsCompleteRuntimeFeature, keyedRowsCompleteStructuralAppendHintedRuntimeFeature, keyedRowsCompleteStructuralAppendMapHintedRuntimeFeature, keyedRowsCompleteStructuralPrependHintedRuntimeFeature, keyedRowsCompleteStructuralPrependMapHintedRuntimeFeature, keyedRowsCompleteWindowEveryHintedRuntimeFeature, keyedRowsCompleteWindowPositionHintedRuntimeFeature, keyedRowsConditionalAllHintedRuntimeFeature, keyedRowsConditionalBatchEveryHintedRuntimeFeature, keyedRowsConditionalBatchPositionHintedRuntimeFeature, keyedRowsConditionalEveryHintedRuntimeFeature, keyedRowsConditionalFilterHintedRuntimeFeature, keyedRowsConditionalFilterPrependHintedRuntimeFeature, keyedRowsConditionalHintedRuntimeFeature, keyedRowsConditionalMappedRollingWindowHintedRuntimeFeature, keyedRowsConditionalPositionHintedRuntimeFeature, keyedRowsConditionalPrependHintedRuntimeFeature, keyedRowsConditionalReorderHintedRuntimeFeature, keyedRowsConditionalRuntimeFeature, keyedRowsConditionalStructuralAppendHintedRuntimeFeature, keyedRowsConditionalStructuralAppendMapHintedRuntimeFeature, keyedRowsConditionalStructuralPrependHintedRuntimeFeature, keyedRowsConditionalStructuralPrependMapHintedRuntimeFeature, keyedRowsConditionalWindowEveryHintedRuntimeFeature, keyedRowsConditionalWindowPositionHintedRuntimeFeature, keyedRowsEveryHintedRuntimeFeature, keyedRowsFilterHintedRuntimeFeature, keyedRowsFilterOnlyRuntimeFeature, keyedRowsFilterPrependHintedRuntimeFeature, keyedRowsHintedRuntimeFeature, keyedRowsHostAllHintedRuntimeFeature, keyedRowsHostBatchEveryHintedRuntimeFeature, keyedRowsHostBatchPositionHintedRuntimeFeature, keyedRowsHostEveryHintedRuntimeFeature, keyedRowsHostFilterHintedRuntimeFeature, keyedRowsHostFilterPrependHintedRuntimeFeature, keyedRowsHostHintedRuntimeFeature, keyedRowsHostMappedRollingWindowHintedRuntimeFeature, keyedRowsHostPositionHintedRuntimeFeature, keyedRowsHostPrependHintedRuntimeFeature, keyedRowsHostReorderHintedRuntimeFeature, keyedRowsHostRuntimeFeature, keyedRowsHostStructuralAppendHintedRuntimeFeature, keyedRowsHostStructuralAppendMapHintedRuntimeFeature, keyedRowsHostStructuralPrependHintedRuntimeFeature, keyedRowsHostStructuralPrependMapHintedRuntimeFeature, keyedRowsHostWindowEveryHintedRuntimeFeature, keyedRowsHostWindowPositionHintedRuntimeFeature, keyedRowsIdentityFilterHintedRuntimeFeature, keyedRowsIdentityFilterOnlyRuntimeFeature, keyedRowsIdentityRuntimeFeature, keyedRowsMapLookupRuntimeFeature, keyedRowsMapReorderHintedRuntimeFeature, keyedRowsMappedRollingWindowHintedRuntimeFeature, keyedRowsMembershipRuntimeFeature, keyedRowsPlainMapReorderHintedRuntimeFeature, keyedRowsPlainPositionHintedRuntimeFeature, keyedRowsPlainReorderHintedRuntimeFeature, keyedRowsPlainRuntimeFeature, keyedRowsPositionHintedRuntimeFeature, keyedRowsPrependHintedRuntimeFeature, keyedRowsPrependOnlyRuntimeFeature, keyedRowsReorderHintedRuntimeFeature, keyedRowsRuntimeFeature, keyedRowsStructuralAppendHintedRuntimeFeature, keyedRowsStructuralAppendMapHintedRuntimeFeature, keyedRowsStructuralPrependHintedRuntimeFeature, keyedRowsStructuralPrependMapHintedRuntimeFeature, keyedRowsWindowEveryHintedRuntimeFeature, keyedRowsWindowPositionHintedRuntimeFeature, mixedRangesRuntimeFeature };
@@ -1719,10 +1719,17 @@ function updateSelectValue(element, value) {
1719
1719
  function compilerAttributeName(name) {
1720
1720
  return name === "className" ? "class" : name === "htmlFor" ? "for" : name;
1721
1721
  }
1722
+ var compilerControlledValues = /* @__PURE__ */ new WeakMap();
1723
+ var compilerControlledChecked = /* @__PURE__ */ new WeakMap();
1724
+ function recordControlledField(fields, element, value) {
1725
+ if (value == null) fields.delete(element);
1726
+ else fields.set(element, value);
1727
+ }
1722
1728
  function updateAttribute(element, name, value) {
1723
1729
  const attributeName = compilerAttributeName(name);
1724
1730
  const stringifiesBoolean = attributeName.startsWith("data-") || attributeName.startsWith("aria-");
1725
1731
  if (name === "value" && (isInputElement(element) || isTextAreaElement(element))) {
1732
+ recordControlledField(compilerControlledValues, element, value);
1726
1733
  const nextValue = value === null || value === void 0 ? "" : String(value);
1727
1734
  if (element.value !== nextValue) element.value = nextValue;
1728
1735
  if (value != null && (isTextAreaElement(element) || isInputElement(element) && (element.type !== "number" || element.ownerDocument.activeElement !== element)) && element.defaultValue !== nextValue) {
@@ -1731,10 +1738,12 @@ function updateAttribute(element, name, value) {
1731
1738
  return;
1732
1739
  }
1733
1740
  if (name === "value" && isSelectElement(element)) {
1741
+ recordControlledField(compilerControlledValues, element, value);
1734
1742
  updateSelectValue(element, value);
1735
1743
  return;
1736
1744
  }
1737
1745
  if (name === "checked" && isInputElement(element)) {
1746
+ recordControlledField(compilerControlledChecked, element, value);
1738
1747
  element.checked = Boolean(value);
1739
1748
  return;
1740
1749
  }
@@ -2812,8 +2821,10 @@ function applyPreparedHostConditionalBindings(branch, instance) {
2812
2821
  }
2813
2822
  }
2814
2823
  var UNSET_HOST_CONDITIONAL_BINDING = /* @__PURE__ */ Symbol("unset host conditional binding");
2824
+ var compilerHostElementEvents = /* @__PURE__ */ new WeakMap();
2815
2825
  function mountCompilerHostTree(owner, element, descriptor, onFallback) {
2816
2826
  if (!matchesCompilerHostElement(element, descriptor)) return null;
2827
+ if (descriptor.events) compilerHostElementEvents.set(element, descriptor.events);
2817
2828
  if (descriptor.block?.kind === "conditional-ranges") {
2818
2829
  const controller = new CompilerNestedConditionalRanges(
2819
2830
  owner,
@@ -4441,8 +4452,11 @@ function reorderCompilerKeyedRows(root, instances, sequence, anchor) {
4441
4452
  restoreCompilerFocus(activeElement);
4442
4453
  }
4443
4454
  var RESOLVED_COMPILER_MICROTASK = Promise.resolve();
4455
+ var pendingCompilerMicrotasks = 0;
4444
4456
  function scheduleCompilerMicrotask(callback) {
4457
+ pendingCompilerMicrotasks += 1;
4445
4458
  void RESOLVED_COMPILER_MICROTASK.then(() => {
4459
+ pendingCompilerMicrotasks -= 1;
4446
4460
  try {
4447
4461
  callback();
4448
4462
  } catch (error) {
@@ -6139,7 +6153,23 @@ function createKeyedRowHostRuntime() {
6139
6153
  }
6140
6154
  };
6141
6155
  return {
6142
- mount: (element, descriptor, requestFallback) => mountCompilerHostTree(owner, element, descriptor, requestFallback)
6156
+ mount: (element, descriptor, requestFallback) => mountCompilerHostTree(owner, element, descriptor, requestFallback),
6157
+ matchEvents(row, target, name, events, matches) {
6158
+ const elements = [];
6159
+ let element = target.nodeType === 1 ? target : target.parentElement;
6160
+ while (element) {
6161
+ elements.push(element);
6162
+ element = element === row ? null : element.parentElement;
6163
+ }
6164
+ elements.forEach((element2, index) => {
6165
+ for (const id of compilerHostElementEvents.get(element2) || []) {
6166
+ const descriptor = events[id];
6167
+ if (descriptor?.name === name && descriptor.path === void 0) {
6168
+ matches.push({ descriptor, target: element2, depth: elements.length - 1 - index });
6169
+ }
6170
+ }
6171
+ });
6172
+ }
6143
6173
  };
6144
6174
  }
6145
6175
  function createKeyedRowsBlockComponentCore(owner, options = {}) {
@@ -6150,7 +6180,7 @@ function createKeyedRowsBlockComponentCore(owner, options = {}) {
6150
6180
  // here (onChange under React DOM) are rendered by React from the start.
6151
6181
  this.state = {
6152
6182
  fallback: Boolean(
6153
- this.props.hostBlocks && this.props.events?.length && !(this.props.delegateEvents && this.props.events.every((event) => event.path !== void 0))
6183
+ this.props.hostBlocks && this.props.events?.length && !this.props.delegateEvents
6154
6184
  )
6155
6185
  };
6156
6186
  this.root = null;
@@ -6172,6 +6202,7 @@ function createKeyedRowsBlockComponentCore(owner, options = {}) {
6172
6202
  this.elementIndexComplete = true;
6173
6203
  this.captureRoot = (root) => {
6174
6204
  this.root = root;
6205
+ this.currentProps.rootRef?.(root);
6175
6206
  };
6176
6207
  this.requestHostScopeFallback = () => {
6177
6208
  this.activateFallback();
@@ -6211,13 +6242,16 @@ function createKeyedRowsBlockComponentCore(owner, options = {}) {
6211
6242
  if (!(index in descriptors)) continue;
6212
6243
  const descriptor = descriptors[index];
6213
6244
  if (descriptor.name !== name || descriptor.path === void 0) continue;
6214
- const target = findCompilerHostTarget(instance.element, descriptor.path || []);
6245
+ const target = findCompilerHostTarget(instance.element, descriptor.path);
6215
6246
  if (target && (target === eventTarget || target.contains(eventTarget))) {
6216
- matches.push({ descriptor, target });
6247
+ matches.push({ descriptor, target, depth: descriptor.path.length });
6217
6248
  }
6218
6249
  }
6250
+ if (this.currentProps.hostBlocks) {
6251
+ options.hostBlocks?.matchEvents(instance.element, eventTarget, name, descriptors, matches);
6252
+ }
6219
6253
  matches.sort(
6220
- (left, right) => capture ? (left.descriptor.path?.length || 0) - (right.descriptor.path?.length || 0) : (right.descriptor.path?.length || 0) - (left.descriptor.path?.length || 0)
6254
+ (left, right) => capture ? left.depth - right.depth : right.depth - left.depth
6221
6255
  );
6222
6256
  for (const match of matches) {
6223
6257
  this.invokeDelegatedEvent(match.descriptor, instance, event, match.target);
@@ -6424,7 +6458,8 @@ function createKeyedRowsBlockComponentCore(owner, options = {}) {
6424
6458
  }
6425
6459
  usesDelegatedEvents(props = this.currentProps) {
6426
6460
  return Boolean(
6427
- props.delegateEvents && props.events?.length && props.events.every((event) => event.path !== void 0)
6461
+ props.delegateEvents && props.events?.length && // Host-block rows find an event without a path through the element that mounted it.
6462
+ (props.hostBlocks || props.events.every((event) => event.path !== void 0))
6428
6463
  );
6429
6464
  }
6430
6465
  rebuildElementIndex(instances) {
@@ -8399,6 +8434,42 @@ var mixedRangesRuntimeFeature = {
8399
8434
  MixedRanges: createMixedRangesBlockComponent(owner)
8400
8435
  })
8401
8436
  };
8437
+ var compilerEffectStates = /* @__PURE__ */ new WeakMap();
8438
+ function runCompilerEffects(component, effects) {
8439
+ let states = compilerEffectStates.get(component);
8440
+ if (!effects) {
8441
+ const mounted = states?.splice(0) ?? [];
8442
+ for (const layout of [true, false]) {
8443
+ for (const state of mounted) if (state?.layout === layout) state.cleanup?.();
8444
+ }
8445
+ return;
8446
+ }
8447
+ if (!states) compilerEffectStates.set(component, states = []);
8448
+ const changed = [];
8449
+ for (let index = 0; index < effects.length; index += 1) {
8450
+ const dependencies = effects[index][1];
8451
+ const previous = states[index];
8452
+ if (!previous || !dependencies || !previous.dependencies || dependencies.length !== previous.dependencies.length || dependencies.some((value, position) => !Object.is(value, previous.dependencies[position]))) {
8453
+ changed.push(index);
8454
+ }
8455
+ }
8456
+ for (const layout of [true, false]) {
8457
+ const phase = changed.filter((index) => Boolean(effects[index][2]) === layout);
8458
+ for (const index of phase) states[index]?.cleanup?.();
8459
+ for (const index of phase) {
8460
+ const cleanup = effects[index][0]();
8461
+ states[index] = {
8462
+ dependencies: effects[index][1],
8463
+ cleanup: typeof cleanup === "function" ? cleanup : void 0,
8464
+ layout
8465
+ };
8466
+ }
8467
+ }
8468
+ }
8469
+ var effectsRuntimeFeature = {
8470
+ name: "effects",
8471
+ create: () => ({ effects: runCompilerEffects })
8472
+ };
8402
8473
  var componentRuntimeFeature = {
8403
8474
  name: "component",
8404
8475
  create: (owner) => ({
@@ -8476,7 +8547,9 @@ function createCompiledComponentRuntime(definitionReference, runtimeFeatures, re
8476
8547
  this.propCellOffset = initialState.length;
8477
8548
  this.cells = [...initialState, ...initialProps].map((initialValue, index) => {
8478
8549
  let value = initialValue;
8479
- const pending = [];
8550
+ let pending = false;
8551
+ let pendingValue;
8552
+ let pendingError;
8480
8553
  return {
8481
8554
  get: () => {
8482
8555
  if (this.activeBinding && this.activeDependencies) {
@@ -8485,21 +8558,32 @@ function createCompiledComponentRuntime(definitionReference, runtimeFeatures, re
8485
8558
  return value;
8486
8559
  },
8487
8560
  set: (next) => {
8488
- pending.push({ kind: "state", update: next });
8561
+ if (!pendingError) {
8562
+ const base = pending ? pendingValue : value;
8563
+ try {
8564
+ pendingValue = typeof next === "function" ? next(base) : next;
8565
+ } catch (error) {
8566
+ pendingValue = base;
8567
+ pendingError = { error };
8568
+ }
8569
+ pending = true;
8570
+ }
8489
8571
  this.scheduleBindingFlush(index);
8490
8572
  },
8491
8573
  replace: (next) => {
8492
- pending.push({ kind: "value", value: next });
8574
+ pendingValue = next;
8575
+ pending = true;
8493
8576
  },
8494
8577
  flush: () => {
8495
- if (pending.length === 0) return false;
8578
+ if (!pending) return false;
8496
8579
  const previous = value;
8497
- for (const next of pending.splice(0)) {
8498
- if (next.kind === "value") {
8499
- value = next.value;
8500
- } else {
8501
- value = typeof next.update === "function" ? next.update(value) : next.update;
8502
- }
8580
+ value = pendingValue;
8581
+ pending = false;
8582
+ pendingValue = void 0;
8583
+ if (pendingError) {
8584
+ const { error } = pendingError;
8585
+ pendingError = void 0;
8586
+ throw error;
8503
8587
  }
8504
8588
  return !Object.is(previous, value);
8505
8589
  }
@@ -8511,7 +8595,7 @@ function createCompiledComponentRuntime(definitionReference, runtimeFeatures, re
8511
8595
  getDefinitionVersion: () => definitionReference.current
8512
8596
  };
8513
8597
  const blockRuntime = {
8514
- target: (id) => this.bindingTarget(id)
8598
+ target: (id, ref) => this.bindingTarget(id, ref)
8515
8599
  };
8516
8600
  for (const feature of runtimeFeatures) {
8517
8601
  Object.assign(blockRuntime, feature.create(featureOwner));
@@ -8611,7 +8695,7 @@ function createCompiledComponentRuntime(definitionReference, runtimeFeatures, re
8611
8695
  this.bindingValues.set(binding, this.bindingValue(binding, value));
8612
8696
  }
8613
8697
  }
8614
- bindingTarget(id) {
8698
+ bindingTarget(id, ref) {
8615
8699
  const existing = this.bindingTargetRefs.get(id);
8616
8700
  if (existing) return existing;
8617
8701
  const capture = (element) => {
@@ -8620,6 +8704,7 @@ function createCompiledComponentRuntime(definitionReference, runtimeFeatures, re
8620
8704
  } else {
8621
8705
  this.bindingTargets.delete(id);
8622
8706
  }
8707
+ if (ref) ref.current = element;
8623
8708
  };
8624
8709
  this.bindingTargetRefs.set(id, capture);
8625
8710
  return capture;
@@ -8636,11 +8721,20 @@ function createCompiledComponentRuntime(definitionReference, runtimeFeatures, re
8636
8721
  direction: active.selectionDirection || "none"
8637
8722
  };
8638
8723
  }
8639
- restoreInputSelection(snapshot) {
8640
- if (!snapshot || !snapshot.element.isConnected || snapshot.element.ownerDocument.activeElement !== snapshot.element) {
8641
- return;
8724
+ /**
8725
+ * Runs once compiled DOM updates have committed: restores the focused field's selection, then
8726
+ * runs the effects.
8727
+ */
8728
+ afterCommit(snapshot) {
8729
+ if (snapshot && snapshot.element.isConnected && snapshot.element.ownerDocument.activeElement === snapshot.element) {
8730
+ snapshot.element.setSelectionRange(snapshot.start, snapshot.end, snapshot.direction);
8731
+ }
8732
+ if (this.mounted) {
8733
+ this.blockRuntime.effects?.(
8734
+ this,
8735
+ definitionReference.current.effects?.(this.props, this.cells)
8736
+ );
8642
8737
  }
8643
- snapshot.element.setSelectionRange(snapshot.start, snapshot.end, snapshot.direction);
8644
8738
  }
8645
8739
  setBlockRoot(id, root, expectedRoot) {
8646
8740
  const previous = this.blockRoots.get(id);
@@ -8671,6 +8765,7 @@ function createCompiledComponentRuntime(definitionReference, runtimeFeatures, re
8671
8765
  this.flushBindingUpdates();
8672
8766
  });
8673
8767
  }
8768
+ /** Returns true when it committed an update, after which it has run the effects. */
8674
8769
  flushBindingUpdates() {
8675
8770
  const inputSelection = this.inputSelection;
8676
8771
  this.inputSelection = null;
@@ -8717,15 +8812,16 @@ function createCompiledComponentRuntime(definitionReference, runtimeFeatures, re
8717
8812
  for (const refresh of blockRefreshes) {
8718
8813
  refresh(() => {
8719
8814
  pendingBlockCommits -= 1;
8720
- if (pendingBlockCommits === 0) this.restoreInputSelection(inputSelection);
8815
+ if (pendingBlockCommits === 0) this.afterCommit(inputSelection);
8721
8816
  }, dirty);
8722
8817
  }
8723
- if (blockRefreshes.length === 0) this.restoreInputSelection(inputSelection);
8818
+ if (blockRefreshes.length === 0) this.afterCommit(inputSelection);
8724
8819
  } catch (error) {
8725
8820
  this.bindingError = error;
8726
8821
  this.hasBindingError = true;
8727
8822
  this.forceUpdate();
8728
8823
  }
8824
+ return true;
8729
8825
  }
8730
8826
  applyBinding(binding, force = false) {
8731
8827
  if (!this.root || binding.kind === "block") return;
@@ -8792,9 +8888,10 @@ function createCompiledComponentRuntime(definitionReference, runtimeFeatures, re
8792
8888
  this.applyBinding(binding, true);
8793
8889
  }
8794
8890
  }
8795
- if (this.dirtyState.size) this.flushBindingUpdates();
8891
+ if (!(this.dirtyState.size && this.flushBindingUpdates())) this.afterCommit(null);
8796
8892
  }
8797
8893
  componentWillUnmount() {
8894
+ this.blockRuntime.effects?.(this);
8798
8895
  this.mounted = false;
8799
8896
  this.inputSelection = null;
8800
8897
  this.blockRefreshListeners.clear();
@@ -8833,7 +8930,7 @@ function createCompiledComponentRuntime(definitionReference, runtimeFeatures, re
8833
8930
  this.renderedElement = renderedElement;
8834
8931
  }
8835
8932
  };
8836
- if (element.type === this.blockRuntime.KeyedRanges || element.type === this.blockRuntime.ConditionalRanges || element.type === this.blockRuntime.MixedRanges) {
8933
+ if (element.type === this.blockRuntime.KeyedRanges || element.type === this.blockRuntime.ConditionalRanges || element.type === this.blockRuntime.MixedRanges || element.type === this.blockRuntime.KeyedRows) {
8837
8934
  renderedElement = React.cloneElement(
8838
8935
  element,
8839
8936
  { rootRef: captureCommittedRoot }
@@ -8861,7 +8958,8 @@ var COMPLETE_RUNTIME_FEATURES = [
8861
8958
  keyedRowsCompleteCompatibilityRuntimeFeature,
8862
8959
  keyedRangesRuntimeFeature,
8863
8960
  mixedRangesRuntimeFeature,
8864
- componentRuntimeFeature
8961
+ componentRuntimeFeature,
8962
+ effectsRuntimeFeature
8865
8963
  ];
8866
8964
  function createCompiledComponent(definition) {
8867
8965
  return createCompiledComponentWithFeatures(definition, COMPLETE_RUNTIME_FEATURES);
@@ -8949,10 +9047,46 @@ function compiledRootUpdatesWithoutReact(displayName, props) {
8949
9047
  if (displayName !== "FarmCompiledKeyedRows") return false;
8950
9048
  const rows = props;
8951
9049
  const delegated = Boolean(
8952
- (rows.delegateEvents || rows.delegateEventsWithoutReact) && rows.events?.length && rows.events.every((event) => event.path !== void 0)
9050
+ (rows.delegateEvents || rows.delegateEventsWithoutReact) && rows.events?.length && (rows.hostBlocks || rows.events.every((event) => event.path !== void 0))
8953
9051
  );
8954
9052
  return !rows.conditionals?.length && (!rows.events?.length || delegated);
8955
9053
  }
9054
+ function restoreCompilerControlledField(element) {
9055
+ if (compilerControlledValues.has(element)) {
9056
+ const value = compilerControlledValues.get(element);
9057
+ if (isSelectElement(element)) {
9058
+ updateSelectValue(element, value);
9059
+ } else if (isInputElement(element) || isTextAreaElement(element)) {
9060
+ const changed = element.type === "number" && typeof value === "number" ? value === 0 && element.value === "" || Number(element.value) !== value : element.value !== String(value);
9061
+ if (changed) element.value = String(value);
9062
+ }
9063
+ }
9064
+ if (isInputElement(element) && compilerControlledChecked.has(element)) {
9065
+ element.checked = Boolean(compilerControlledChecked.get(element));
9066
+ if (element.type === "radio" && element.name) {
9067
+ for (const radio of element.getRootNode().querySelectorAll(
9068
+ 'input[type="radio"]'
9069
+ )) {
9070
+ const other = radio;
9071
+ if (other !== element && other.name === element.name && other.form === element.form && compilerControlledChecked.has(other)) {
9072
+ other.checked = Boolean(compilerControlledChecked.get(other));
9073
+ }
9074
+ }
9075
+ }
9076
+ }
9077
+ }
9078
+ function restoreControlledFieldOnceSettled(element) {
9079
+ queueMicrotask(
9080
+ () => pendingCompilerMicrotasks > 0 ? restoreControlledFieldOnceSettled(element) : restoreCompilerControlledField(element)
9081
+ );
9082
+ }
9083
+ function scheduleControlledFieldRestore(event) {
9084
+ const target = event.target;
9085
+ if (target instanceof Element && event.type === compiledRootChangeEvent(target) && (compilerControlledValues.has(target) || compilerControlledChecked.has(target))) {
9086
+ restoreControlledFieldOnceSettled(target);
9087
+ }
9088
+ }
9089
+ var COMPILED_ROOT_CONTROLLED_FIELD_EVENTS = ["input", "change"];
8956
9090
  function toCompiledRootEvent(nativeEvent, currentTarget, type) {
8957
9091
  let propagationStopped = false;
8958
9092
  const own = {
@@ -8962,6 +9096,7 @@ function toCompiledRootEvent(nativeEvent, currentTarget, type) {
8962
9096
  stopPropagation() {
8963
9097
  propagationStopped = true;
8964
9098
  nativeEvent.stopPropagation();
9099
+ scheduleControlledFieldRestore(nativeEvent);
8965
9100
  },
8966
9101
  isPropagationStopped: () => propagationStopped,
8967
9102
  isDefaultPrevented: () => nativeEvent.defaultPrevented,
@@ -9153,6 +9288,9 @@ function createCompiledRoot(container, options, loadReactDOM) {
9153
9288
  let reactRoot;
9154
9289
  let unmounted = false;
9155
9290
  const stopCompiled = () => {
9291
+ for (const type of COMPILED_ROOT_CONTROLLED_FIELD_EVENTS) {
9292
+ container.removeEventListener(type, scheduleControlledFieldRestore);
9293
+ }
9156
9294
  for (const instance of instances.slice().reverse()) {
9157
9295
  instance.componentWillUnmount?.();
9158
9296
  }
@@ -9200,6 +9338,9 @@ function createCompiledRoot(container, options, loadReactDOM) {
9200
9338
  container.replaceChildren(mount.fragment);
9201
9339
  instances = mount.instances;
9202
9340
  mode = "compiled";
9341
+ for (const type of COMPILED_ROOT_CONTROLLED_FIELD_EVENTS) {
9342
+ container.addEventListener(type, scheduleControlledFieldRestore);
9343
+ }
9203
9344
  for (const effect of mount.effects) effect();
9204
9345
  },
9205
9346
  unmount() {
@@ -9213,6 +9354,6 @@ function createCompiledRoot(container, options, loadReactDOM) {
9213
9354
  };
9214
9355
  }
9215
9356
 
9216
- export { applyCompilerKeyedCollectionMutation, componentRuntimeFeature, conditionalRangesRuntimeFeature, conditionalRuntimeFeature, createCompiledComponent, createCompiledComponentWithFeatures, createCompiledComponentWithoutRefresh, createCompiledRoot, createCompilerKeyedArrayAppend, createCompilerKeyedArrayBatchInsert, createCompilerKeyedArrayFilter, createCompilerKeyedArrayMapPipeline, createCompilerKeyedArrayMapReorder, createCompilerKeyedArrayMappedRollingWindow, createCompilerKeyedArrayMappedStructuralAppend, createCompilerKeyedArrayMappedStructuralPrepend, createCompilerKeyedArrayPositionUpdate, createCompilerKeyedArrayPrepend, createCompilerKeyedArrayQueuedMapPipeline, createCompilerKeyedArrayReorder, createCompilerKeyedArrayRollingWindow, createCompilerKeyedArrayRollingWindowMapPipeline, createCompilerKeyedArraySlice, createCompilerKeyedArraySort, createCompilerKeyedArrayStructuralAppend, createCompilerKeyedArrayStructuralAppendMapPipeline, createCompilerKeyedArrayStructuralPrepend, createCompilerKeyedArrayStructuralPrependMapPipeline, createCompilerKeyedArrayStructuralReorder, createCompilerKeyedArrayStructuralSort, createCompilerKeyedArrayWindowReplace, createCompilerKeyedCollectionUpdate, createCompilerKeyedMapUpdate, finalizeCompilerKeyedArrayMappedStructuralUpdate, hostConditionalRuntimeFeature, keyedListRuntimeFeature, keyedRangesRuntimeFeature, keyedRowsAllHintedRuntimeFeature, keyedRowsAppendOnlyRuntimeFeature, keyedRowsBatchEveryHintedRuntimeFeature, keyedRowsBatchPositionHintedRuntimeFeature, keyedRowsCompleteAllHintedRuntimeFeature, keyedRowsCompleteBatchEveryHintedRuntimeFeature, keyedRowsCompleteBatchPositionHintedRuntimeFeature, keyedRowsCompleteEveryHintedRuntimeFeature, keyedRowsCompleteFilterHintedRuntimeFeature, keyedRowsCompleteFilterPrependHintedRuntimeFeature, keyedRowsCompleteHintedRuntimeFeature, keyedRowsCompleteMappedRollingWindowHintedRuntimeFeature, keyedRowsCompletePositionHintedRuntimeFeature, keyedRowsCompletePrependHintedRuntimeFeature, keyedRowsCompleteReorderHintedRuntimeFeature, keyedRowsCompleteRuntimeFeature, keyedRowsCompleteStructuralAppendHintedRuntimeFeature, keyedRowsCompleteStructuralAppendMapHintedRuntimeFeature, keyedRowsCompleteStructuralPrependHintedRuntimeFeature, keyedRowsCompleteStructuralPrependMapHintedRuntimeFeature, keyedRowsCompleteWindowEveryHintedRuntimeFeature, keyedRowsCompleteWindowPositionHintedRuntimeFeature, keyedRowsConditionalAllHintedRuntimeFeature, keyedRowsConditionalBatchEveryHintedRuntimeFeature, keyedRowsConditionalBatchPositionHintedRuntimeFeature, keyedRowsConditionalEveryHintedRuntimeFeature, keyedRowsConditionalFilterHintedRuntimeFeature, keyedRowsConditionalFilterPrependHintedRuntimeFeature, keyedRowsConditionalHintedRuntimeFeature, keyedRowsConditionalMappedRollingWindowHintedRuntimeFeature, keyedRowsConditionalPositionHintedRuntimeFeature, keyedRowsConditionalPrependHintedRuntimeFeature, keyedRowsConditionalReorderHintedRuntimeFeature, keyedRowsConditionalRuntimeFeature, keyedRowsConditionalStructuralAppendHintedRuntimeFeature, keyedRowsConditionalStructuralAppendMapHintedRuntimeFeature, keyedRowsConditionalStructuralPrependHintedRuntimeFeature, keyedRowsConditionalStructuralPrependMapHintedRuntimeFeature, keyedRowsConditionalWindowEveryHintedRuntimeFeature, keyedRowsConditionalWindowPositionHintedRuntimeFeature, keyedRowsEveryHintedRuntimeFeature, keyedRowsFilterHintedRuntimeFeature, keyedRowsFilterOnlyRuntimeFeature, keyedRowsFilterPrependHintedRuntimeFeature, keyedRowsHintedRuntimeFeature, keyedRowsHostAllHintedRuntimeFeature, keyedRowsHostBatchEveryHintedRuntimeFeature, keyedRowsHostBatchPositionHintedRuntimeFeature, keyedRowsHostEveryHintedRuntimeFeature, keyedRowsHostFilterHintedRuntimeFeature, keyedRowsHostFilterPrependHintedRuntimeFeature, keyedRowsHostHintedRuntimeFeature, keyedRowsHostMappedRollingWindowHintedRuntimeFeature, keyedRowsHostPositionHintedRuntimeFeature, keyedRowsHostPrependHintedRuntimeFeature, keyedRowsHostReorderHintedRuntimeFeature, keyedRowsHostRuntimeFeature, keyedRowsHostStructuralAppendHintedRuntimeFeature, keyedRowsHostStructuralAppendMapHintedRuntimeFeature, keyedRowsHostStructuralPrependHintedRuntimeFeature, keyedRowsHostStructuralPrependMapHintedRuntimeFeature, keyedRowsHostWindowEveryHintedRuntimeFeature, keyedRowsHostWindowPositionHintedRuntimeFeature, keyedRowsIdentityFilterHintedRuntimeFeature, keyedRowsIdentityFilterOnlyRuntimeFeature, keyedRowsIdentityRuntimeFeature, keyedRowsMapLookupRuntimeFeature, keyedRowsMapReorderHintedRuntimeFeature, keyedRowsMappedRollingWindowHintedRuntimeFeature, keyedRowsMembershipRuntimeFeature, keyedRowsPlainMapReorderHintedRuntimeFeature, keyedRowsPlainPositionHintedRuntimeFeature, keyedRowsPlainReorderHintedRuntimeFeature, keyedRowsPlainRuntimeFeature, keyedRowsPositionHintedRuntimeFeature, keyedRowsPrependHintedRuntimeFeature, keyedRowsPrependOnlyRuntimeFeature, keyedRowsReorderHintedRuntimeFeature, keyedRowsRuntimeFeature, keyedRowsStructuralAppendHintedRuntimeFeature, keyedRowsStructuralAppendMapHintedRuntimeFeature, keyedRowsStructuralPrependHintedRuntimeFeature, keyedRowsStructuralPrependMapHintedRuntimeFeature, keyedRowsWindowEveryHintedRuntimeFeature, keyedRowsWindowPositionHintedRuntimeFeature, mixedRangesRuntimeFeature };
9357
+ export { applyCompilerKeyedCollectionMutation, componentRuntimeFeature, conditionalRangesRuntimeFeature, conditionalRuntimeFeature, createCompiledComponent, createCompiledComponentWithFeatures, createCompiledComponentWithoutRefresh, createCompiledRoot, createCompilerKeyedArrayAppend, createCompilerKeyedArrayBatchInsert, createCompilerKeyedArrayFilter, createCompilerKeyedArrayMapPipeline, createCompilerKeyedArrayMapReorder, createCompilerKeyedArrayMappedRollingWindow, createCompilerKeyedArrayMappedStructuralAppend, createCompilerKeyedArrayMappedStructuralPrepend, createCompilerKeyedArrayPositionUpdate, createCompilerKeyedArrayPrepend, createCompilerKeyedArrayQueuedMapPipeline, createCompilerKeyedArrayReorder, createCompilerKeyedArrayRollingWindow, createCompilerKeyedArrayRollingWindowMapPipeline, createCompilerKeyedArraySlice, createCompilerKeyedArraySort, createCompilerKeyedArrayStructuralAppend, createCompilerKeyedArrayStructuralAppendMapPipeline, createCompilerKeyedArrayStructuralPrepend, createCompilerKeyedArrayStructuralPrependMapPipeline, createCompilerKeyedArrayStructuralReorder, createCompilerKeyedArrayStructuralSort, createCompilerKeyedArrayWindowReplace, createCompilerKeyedCollectionUpdate, createCompilerKeyedMapUpdate, effectsRuntimeFeature, finalizeCompilerKeyedArrayMappedStructuralUpdate, hostConditionalRuntimeFeature, keyedListRuntimeFeature, keyedRangesRuntimeFeature, keyedRowsAllHintedRuntimeFeature, keyedRowsAppendOnlyRuntimeFeature, keyedRowsBatchEveryHintedRuntimeFeature, keyedRowsBatchPositionHintedRuntimeFeature, keyedRowsCompleteAllHintedRuntimeFeature, keyedRowsCompleteBatchEveryHintedRuntimeFeature, keyedRowsCompleteBatchPositionHintedRuntimeFeature, keyedRowsCompleteEveryHintedRuntimeFeature, keyedRowsCompleteFilterHintedRuntimeFeature, keyedRowsCompleteFilterPrependHintedRuntimeFeature, keyedRowsCompleteHintedRuntimeFeature, keyedRowsCompleteMappedRollingWindowHintedRuntimeFeature, keyedRowsCompletePositionHintedRuntimeFeature, keyedRowsCompletePrependHintedRuntimeFeature, keyedRowsCompleteReorderHintedRuntimeFeature, keyedRowsCompleteRuntimeFeature, keyedRowsCompleteStructuralAppendHintedRuntimeFeature, keyedRowsCompleteStructuralAppendMapHintedRuntimeFeature, keyedRowsCompleteStructuralPrependHintedRuntimeFeature, keyedRowsCompleteStructuralPrependMapHintedRuntimeFeature, keyedRowsCompleteWindowEveryHintedRuntimeFeature, keyedRowsCompleteWindowPositionHintedRuntimeFeature, keyedRowsConditionalAllHintedRuntimeFeature, keyedRowsConditionalBatchEveryHintedRuntimeFeature, keyedRowsConditionalBatchPositionHintedRuntimeFeature, keyedRowsConditionalEveryHintedRuntimeFeature, keyedRowsConditionalFilterHintedRuntimeFeature, keyedRowsConditionalFilterPrependHintedRuntimeFeature, keyedRowsConditionalHintedRuntimeFeature, keyedRowsConditionalMappedRollingWindowHintedRuntimeFeature, keyedRowsConditionalPositionHintedRuntimeFeature, keyedRowsConditionalPrependHintedRuntimeFeature, keyedRowsConditionalReorderHintedRuntimeFeature, keyedRowsConditionalRuntimeFeature, keyedRowsConditionalStructuralAppendHintedRuntimeFeature, keyedRowsConditionalStructuralAppendMapHintedRuntimeFeature, keyedRowsConditionalStructuralPrependHintedRuntimeFeature, keyedRowsConditionalStructuralPrependMapHintedRuntimeFeature, keyedRowsConditionalWindowEveryHintedRuntimeFeature, keyedRowsConditionalWindowPositionHintedRuntimeFeature, keyedRowsEveryHintedRuntimeFeature, keyedRowsFilterHintedRuntimeFeature, keyedRowsFilterOnlyRuntimeFeature, keyedRowsFilterPrependHintedRuntimeFeature, keyedRowsHintedRuntimeFeature, keyedRowsHostAllHintedRuntimeFeature, keyedRowsHostBatchEveryHintedRuntimeFeature, keyedRowsHostBatchPositionHintedRuntimeFeature, keyedRowsHostEveryHintedRuntimeFeature, keyedRowsHostFilterHintedRuntimeFeature, keyedRowsHostFilterPrependHintedRuntimeFeature, keyedRowsHostHintedRuntimeFeature, keyedRowsHostMappedRollingWindowHintedRuntimeFeature, keyedRowsHostPositionHintedRuntimeFeature, keyedRowsHostPrependHintedRuntimeFeature, keyedRowsHostReorderHintedRuntimeFeature, keyedRowsHostRuntimeFeature, keyedRowsHostStructuralAppendHintedRuntimeFeature, keyedRowsHostStructuralAppendMapHintedRuntimeFeature, keyedRowsHostStructuralPrependHintedRuntimeFeature, keyedRowsHostStructuralPrependMapHintedRuntimeFeature, keyedRowsHostWindowEveryHintedRuntimeFeature, keyedRowsHostWindowPositionHintedRuntimeFeature, keyedRowsIdentityFilterHintedRuntimeFeature, keyedRowsIdentityFilterOnlyRuntimeFeature, keyedRowsIdentityRuntimeFeature, keyedRowsMapLookupRuntimeFeature, keyedRowsMapReorderHintedRuntimeFeature, keyedRowsMappedRollingWindowHintedRuntimeFeature, keyedRowsMembershipRuntimeFeature, keyedRowsPlainMapReorderHintedRuntimeFeature, keyedRowsPlainPositionHintedRuntimeFeature, keyedRowsPlainReorderHintedRuntimeFeature, keyedRowsPlainRuntimeFeature, keyedRowsPositionHintedRuntimeFeature, keyedRowsPrependHintedRuntimeFeature, keyedRowsPrependOnlyRuntimeFeature, keyedRowsReorderHintedRuntimeFeature, keyedRowsRuntimeFeature, keyedRowsStructuralAppendHintedRuntimeFeature, keyedRowsStructuralAppendMapHintedRuntimeFeature, keyedRowsStructuralPrependHintedRuntimeFeature, keyedRowsStructuralPrependMapHintedRuntimeFeature, keyedRowsWindowEveryHintedRuntimeFeature, keyedRowsWindowPositionHintedRuntimeFeature, mixedRangesRuntimeFeature };
9217
9358
  //# sourceMappingURL=compiler-runtime.mjs.map
9218
9359
  //# sourceMappingURL=compiler-runtime.mjs.map