@farm.js/react 0.1.0-beta.23 → 0.1.0-beta.25

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.
@@ -360,6 +360,7 @@ declare const keyedRowsIdentityRuntimeFeature: CompilerRuntimeFeature;
360
360
  declare const keyedRowsMembershipRuntimeFeature: CompilerRuntimeFeature;
361
361
  declare const keyedRowsMapLookupRuntimeFeature: CompilerRuntimeFeature;
362
362
  declare const keyedRowsHintedRuntimeFeature: CompilerRuntimeFeature;
363
+ declare const keyedRowsAppendOnlyRuntimeFeature: CompilerRuntimeFeature;
363
364
  declare const keyedRowsPositionHintedRuntimeFeature: CompilerRuntimeFeature;
364
365
  declare const keyedRowsBatchPositionHintedRuntimeFeature: CompilerRuntimeFeature;
365
366
  declare const keyedRowsWindowPositionHintedRuntimeFeature: CompilerRuntimeFeature;
@@ -371,6 +372,7 @@ declare const keyedRowsEveryHintedRuntimeFeature: CompilerRuntimeFeature;
371
372
  declare const keyedRowsBatchEveryHintedRuntimeFeature: CompilerRuntimeFeature;
372
373
  declare const keyedRowsWindowEveryHintedRuntimeFeature: CompilerRuntimeFeature;
373
374
  declare const keyedRowsFilterHintedRuntimeFeature: CompilerRuntimeFeature;
375
+ declare const keyedRowsFilterOnlyRuntimeFeature: CompilerRuntimeFeature;
374
376
  declare const keyedRowsIdentityFilterHintedRuntimeFeature: CompilerRuntimeFeature;
375
377
  declare const keyedRowsIdentityFilterOnlyRuntimeFeature: CompilerRuntimeFeature;
376
378
  declare const keyedRowsStructuralAppendHintedRuntimeFeature: CompilerRuntimeFeature;
@@ -378,6 +380,7 @@ declare const keyedRowsStructuralAppendMapHintedRuntimeFeature: CompilerRuntimeF
378
380
  declare const keyedRowsStructuralPrependHintedRuntimeFeature: CompilerRuntimeFeature;
379
381
  declare const keyedRowsStructuralPrependMapHintedRuntimeFeature: CompilerRuntimeFeature;
380
382
  declare const keyedRowsPrependHintedRuntimeFeature: CompilerRuntimeFeature;
383
+ declare const keyedRowsPrependOnlyRuntimeFeature: CompilerRuntimeFeature;
381
384
  declare const keyedRowsFilterPrependHintedRuntimeFeature: CompilerRuntimeFeature;
382
385
  declare const keyedRowsConditionalRuntimeFeature: CompilerRuntimeFeature;
383
386
  declare const keyedRowsConditionalHintedRuntimeFeature: CompilerRuntimeFeature;
@@ -451,4 +454,4 @@ declare function createCompiledComponentWithFeatures<Props>(definition: Compiled
451
454
  */
452
455
  declare function createCompiledComponent<Props>(definition: CompiledComponentDefinition<Props>): React.ComponentType<Props>;
453
456
 
454
- export { type CompiledComponentDefinition, 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 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, 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, 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, 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, keyedRowsPlainRuntimeFeature, keyedRowsPositionHintedRuntimeFeature, keyedRowsPrependHintedRuntimeFeature, keyedRowsReorderHintedRuntimeFeature, keyedRowsRuntimeFeature, keyedRowsStructuralAppendHintedRuntimeFeature, keyedRowsStructuralAppendMapHintedRuntimeFeature, keyedRowsStructuralPrependHintedRuntimeFeature, keyedRowsStructuralPrependMapHintedRuntimeFeature, keyedRowsWindowEveryHintedRuntimeFeature, keyedRowsWindowPositionHintedRuntimeFeature, mixedRangesRuntimeFeature };
457
+ export { type CompiledComponentDefinition, 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 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, 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, keyedRowsPlainRuntimeFeature, keyedRowsPositionHintedRuntimeFeature, keyedRowsPrependHintedRuntimeFeature, keyedRowsPrependOnlyRuntimeFeature, keyedRowsReorderHintedRuntimeFeature, keyedRowsRuntimeFeature, keyedRowsStructuralAppendHintedRuntimeFeature, keyedRowsStructuralAppendMapHintedRuntimeFeature, keyedRowsStructuralPrependHintedRuntimeFeature, keyedRowsStructuralPrependMapHintedRuntimeFeature, keyedRowsWindowEveryHintedRuntimeFeature, keyedRowsWindowPositionHintedRuntimeFeature, mixedRangesRuntimeFeature };
@@ -360,6 +360,7 @@ declare const keyedRowsIdentityRuntimeFeature: CompilerRuntimeFeature;
360
360
  declare const keyedRowsMembershipRuntimeFeature: CompilerRuntimeFeature;
361
361
  declare const keyedRowsMapLookupRuntimeFeature: CompilerRuntimeFeature;
362
362
  declare const keyedRowsHintedRuntimeFeature: CompilerRuntimeFeature;
363
+ declare const keyedRowsAppendOnlyRuntimeFeature: CompilerRuntimeFeature;
363
364
  declare const keyedRowsPositionHintedRuntimeFeature: CompilerRuntimeFeature;
364
365
  declare const keyedRowsBatchPositionHintedRuntimeFeature: CompilerRuntimeFeature;
365
366
  declare const keyedRowsWindowPositionHintedRuntimeFeature: CompilerRuntimeFeature;
@@ -371,6 +372,7 @@ declare const keyedRowsEveryHintedRuntimeFeature: CompilerRuntimeFeature;
371
372
  declare const keyedRowsBatchEveryHintedRuntimeFeature: CompilerRuntimeFeature;
372
373
  declare const keyedRowsWindowEveryHintedRuntimeFeature: CompilerRuntimeFeature;
373
374
  declare const keyedRowsFilterHintedRuntimeFeature: CompilerRuntimeFeature;
375
+ declare const keyedRowsFilterOnlyRuntimeFeature: CompilerRuntimeFeature;
374
376
  declare const keyedRowsIdentityFilterHintedRuntimeFeature: CompilerRuntimeFeature;
375
377
  declare const keyedRowsIdentityFilterOnlyRuntimeFeature: CompilerRuntimeFeature;
376
378
  declare const keyedRowsStructuralAppendHintedRuntimeFeature: CompilerRuntimeFeature;
@@ -378,6 +380,7 @@ declare const keyedRowsStructuralAppendMapHintedRuntimeFeature: CompilerRuntimeF
378
380
  declare const keyedRowsStructuralPrependHintedRuntimeFeature: CompilerRuntimeFeature;
379
381
  declare const keyedRowsStructuralPrependMapHintedRuntimeFeature: CompilerRuntimeFeature;
380
382
  declare const keyedRowsPrependHintedRuntimeFeature: CompilerRuntimeFeature;
383
+ declare const keyedRowsPrependOnlyRuntimeFeature: CompilerRuntimeFeature;
381
384
  declare const keyedRowsFilterPrependHintedRuntimeFeature: CompilerRuntimeFeature;
382
385
  declare const keyedRowsConditionalRuntimeFeature: CompilerRuntimeFeature;
383
386
  declare const keyedRowsConditionalHintedRuntimeFeature: CompilerRuntimeFeature;
@@ -451,4 +454,4 @@ declare function createCompiledComponentWithFeatures<Props>(definition: Compiled
451
454
  */
452
455
  declare function createCompiledComponent<Props>(definition: CompiledComponentDefinition<Props>): React.ComponentType<Props>;
453
456
 
454
- export { type CompiledComponentDefinition, 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 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, 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, 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, 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, keyedRowsPlainRuntimeFeature, keyedRowsPositionHintedRuntimeFeature, keyedRowsPrependHintedRuntimeFeature, keyedRowsReorderHintedRuntimeFeature, keyedRowsRuntimeFeature, keyedRowsStructuralAppendHintedRuntimeFeature, keyedRowsStructuralAppendMapHintedRuntimeFeature, keyedRowsStructuralPrependHintedRuntimeFeature, keyedRowsStructuralPrependMapHintedRuntimeFeature, keyedRowsWindowEveryHintedRuntimeFeature, keyedRowsWindowPositionHintedRuntimeFeature, mixedRangesRuntimeFeature };
457
+ export { type CompiledComponentDefinition, 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 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, 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, keyedRowsPlainRuntimeFeature, keyedRowsPositionHintedRuntimeFeature, keyedRowsPrependHintedRuntimeFeature, keyedRowsPrependOnlyRuntimeFeature, keyedRowsReorderHintedRuntimeFeature, keyedRowsRuntimeFeature, keyedRowsStructuralAppendHintedRuntimeFeature, keyedRowsStructuralAppendMapHintedRuntimeFeature, keyedRowsStructuralPrependHintedRuntimeFeature, keyedRowsStructuralPrependMapHintedRuntimeFeature, keyedRowsWindowEveryHintedRuntimeFeature, keyedRowsWindowPositionHintedRuntimeFeature, mixedRangesRuntimeFeature };
@@ -171,7 +171,8 @@ function compilerKeyedArrayFilterSurvivorsFromUpdate(update, sourceToken, expect
171
171
  if (current.sourceToken !== sourceToken) return void 0;
172
172
  updates.push(current);
173
173
  }
174
- let survivors = Array.from({ length: expectedLength }, (_, index) => index);
174
+ let survivors = new Array(expectedLength);
175
+ for (let index = 0; index < expectedLength; index += 1) survivors[index] = index;
175
176
  let keysStable = true;
176
177
  for (let updateIndex = updates.length - 1; updateIndex >= 0; updateIndex -= 1) {
177
178
  const current = updates[updateIndex];
@@ -2022,16 +2023,25 @@ function applyStaticRangeBindings(bindings, segments, values) {
2022
2023
  return true;
2023
2024
  }
2024
2025
  var COMPILER_KEYED_ROLLING_WINDOW_DELTAS = /* @__PURE__ */ new WeakMap();
2026
+ var COMPILER_KEYED_APPEND_DELTAS = /* @__PURE__ */ new WeakMap();
2025
2027
  function keyedRowInstancesByKey(instances) {
2026
2028
  return new Map(instances.map((instance) => [instance.key, instance]));
2027
2029
  }
2028
2030
  var UNSET_KEYED_ROW_BINDING = /* @__PURE__ */ Symbol("unset interactive keyed-row binding");
2031
+ var KEYED_ROWS_MAX_MOVED = 64;
2029
2032
  function keyedRowIdentity(key) {
2030
- return String(key);
2033
+ if (typeof key === "number") return key;
2034
+ const text = String(key);
2035
+ const first = text.charCodeAt(0);
2036
+ if (first >= 48 && first <= 57 || first === 45 || first === 73 || first === 78) {
2037
+ const number = Number(text);
2038
+ if (String(number) === text) return number;
2039
+ }
2040
+ return text;
2031
2041
  }
2032
2042
  function keyedIdentityTargetSnapshot(value) {
2033
2043
  const kind = typeof value;
2034
- return value === null || value === void 0 || kind === "string" || kind === "number" || kind === "bigint" ? { eligible: true, key: String(value) } : { eligible: false };
2044
+ return value === null || value === void 0 || kind === "string" || kind === "number" || kind === "bigint" ? { eligible: true, key: keyedRowIdentity(value) } : { eligible: false };
2035
2045
  }
2036
2046
  var NATIVE_SET_PROTOTYPE = Set.prototype;
2037
2047
  var NATIVE_SET_ADD = Set.prototype.add;
@@ -2077,7 +2087,7 @@ function keyedMembershipDeltaSnapshot(value, previous) {
2077
2087
  const before = keyedMembershipSnapshotHas(previous, key);
2078
2088
  if (before === void 0) return void 0;
2079
2089
  changes.set(key, present);
2080
- if (before !== present) NATIVE_SET_ADD.call(targetedKeys, String(key));
2090
+ if (before !== present) NATIVE_SET_ADD.call(targetedKeys, keyedRowIdentity(key));
2081
2091
  }
2082
2092
  } catch {
2083
2093
  return void 0;
@@ -2131,10 +2141,10 @@ function keyedMembershipChangedKeys(previousSnapshot, nextSnapshot) {
2131
2141
  const keys = /* @__PURE__ */ new Set();
2132
2142
  if (!previous || !next) return keys;
2133
2143
  for (const value of previous) {
2134
- if (!NATIVE_SET_HAS.call(next, value)) NATIVE_SET_ADD.call(keys, String(value));
2144
+ if (!NATIVE_SET_HAS.call(next, value)) NATIVE_SET_ADD.call(keys, keyedRowIdentity(value));
2135
2145
  }
2136
2146
  for (const value of next) {
2137
- if (!NATIVE_SET_HAS.call(previous, value)) NATIVE_SET_ADD.call(keys, String(value));
2147
+ if (!NATIVE_SET_HAS.call(previous, value)) NATIVE_SET_ADD.call(keys, keyedRowIdentity(value));
2138
2148
  }
2139
2149
  return keys;
2140
2150
  }
@@ -2195,7 +2205,7 @@ function keyedMapLookupDeltaSnapshot(value, previous) {
2195
2205
  if (!before) return void 0;
2196
2206
  changes.set(key, { present, ...present ? { value: entry } : {} });
2197
2207
  if (before.present !== present || !Object.is(before.value, entry)) {
2198
- NATIVE_SET_ADD.call(targetedKeys, String(key));
2208
+ NATIVE_SET_ADD.call(targetedKeys, keyedRowIdentity(key));
2199
2209
  }
2200
2210
  }
2201
2211
  } catch {
@@ -2253,12 +2263,12 @@ function keyedMapLookupChangedKeys(previousSnapshot, nextSnapshot) {
2253
2263
  if (!previous || !next) return keys;
2254
2264
  for (const [key, value] of previous) {
2255
2265
  if (!Object.is(value, NATIVE_MAP_GET.call(next, key))) {
2256
- NATIVE_SET_ADD.call(keys, String(key));
2266
+ NATIVE_SET_ADD.call(keys, keyedRowIdentity(key));
2257
2267
  }
2258
2268
  }
2259
2269
  for (const [key, value] of next) {
2260
2270
  if (!Object.is(value, NATIVE_MAP_GET.call(previous, key))) {
2261
- NATIVE_SET_ADD.call(keys, String(key));
2271
+ NATIVE_SET_ADD.call(keys, keyedRowIdentity(key));
2262
2272
  }
2263
2273
  }
2264
2274
  return keys;
@@ -2630,17 +2640,34 @@ function prepareKeyedRowBindingUpdate(props, instance, item, index, bindingIndex
2630
2640
  return [bindingIndex, target, value];
2631
2641
  }
2632
2642
  function prepareKeyedRowBindingUpdates(props, instance, item, index) {
2643
+ let first;
2633
2644
  let updates;
2634
2645
  for (let bindingIndex = 0; bindingIndex < props.bindings.length; bindingIndex += 1) {
2635
2646
  const update = prepareKeyedRowBindingUpdate(props, instance, item, index, bindingIndex);
2636
2647
  if (update === void 0) return void 0;
2637
- if (update) (updates || (updates = [])).push(update);
2648
+ if (update) {
2649
+ if (updates) updates.push(update);
2650
+ else if (first) {
2651
+ updates = [];
2652
+ updates.push(first);
2653
+ updates.push(update);
2654
+ } else first = update;
2655
+ }
2638
2656
  }
2639
- return updates || NO_KEYED_ROW_BINDING_UPDATES;
2657
+ return updates || first || NO_KEYED_ROW_BINDING_UPDATES;
2640
2658
  }
2641
2659
  var NO_KEYED_ROW_BINDING_UPDATES = [];
2642
2660
  function applyPreparedKeyedRowBindingUpdates(props, instance, updates) {
2643
- for (const [bindingIndex, target, value] of updates) {
2661
+ if (typeof updates[0] === "number") {
2662
+ const [bindingIndex, target, value] = updates;
2663
+ commitKeyedRowBinding(props.bindings[bindingIndex], instance, bindingIndex, value, target);
2664
+ return;
2665
+ }
2666
+ for (const [
2667
+ bindingIndex,
2668
+ target,
2669
+ value
2670
+ ] of updates) {
2644
2671
  commitKeyedRowBinding(props.bindings[bindingIndex], instance, bindingIndex, value, target);
2645
2672
  }
2646
2673
  }
@@ -3914,7 +3941,7 @@ function createHostConditionalBlockComponent(owner) {
3914
3941
  schedulePropSync() {
3915
3942
  if (this.propSyncQueued) return;
3916
3943
  this.propSyncQueued = true;
3917
- queueMicrotask(() => {
3944
+ scheduleCompilerMicrotask(() => {
3918
3945
  this.propSyncQueued = false;
3919
3946
  if (this.mounted && !this.state.fallback) {
3920
3947
  this.listen();
@@ -4372,6 +4399,18 @@ function reorderCompilerKeyedRows(root, instances, sequence, anchor) {
4372
4399
  }
4373
4400
  restoreCompilerFocus(activeElement);
4374
4401
  }
4402
+ var RESOLVED_COMPILER_MICROTASK = Promise.resolve();
4403
+ function scheduleCompilerMicrotask(callback) {
4404
+ void RESOLVED_COMPILER_MICROTASK.then(() => {
4405
+ try {
4406
+ callback();
4407
+ } catch (error) {
4408
+ queueMicrotask(() => {
4409
+ throw error;
4410
+ });
4411
+ }
4412
+ });
4413
+ }
4375
4414
  function compilerFocusedElement(root) {
4376
4415
  const activeElement = root.ownerDocument.activeElement;
4377
4416
  return activeElement && root.contains(activeElement) ? activeElement : null;
@@ -4400,6 +4439,11 @@ var keyedUpdateRuntime = {
4400
4439
  commit: commitCompilerKeyedCollection,
4401
4440
  reconcile: reconcileCompilerKeyedMapUpdate
4402
4441
  };
4442
+ var keyedAppendOnlyUpdateRuntime = {
4443
+ append: reconcileCompilerKeyedArrayAppend,
4444
+ commit: commitCompilerKeyedCollection,
4445
+ reconcile: () => void 0
4446
+ };
4403
4447
  var keyedFilterUpdateRuntime = {
4404
4448
  ...keyedUpdateRuntime,
4405
4449
  filter: reconcileCompilerKeyedArrayFilter
@@ -4414,6 +4458,12 @@ var keyedPrependUpdateRuntime = {
4414
4458
  ...keyedUpdateRuntime,
4415
4459
  prepend: reconcileCompilerKeyedArrayPrepend
4416
4460
  };
4461
+ var keyedPrependOnlyUpdateRuntime = {
4462
+ append: () => void 0,
4463
+ commit: commitCompilerKeyedCollection,
4464
+ reconcile: () => void 0,
4465
+ prepend: reconcileCompilerKeyedArrayPrepend
4466
+ };
4417
4467
  var keyedFilterPrependUpdateRuntime = {
4418
4468
  ...keyedFilterUpdateRuntime,
4419
4469
  prepend: reconcileCompilerKeyedArrayPrepend
@@ -4625,13 +4675,14 @@ function reconcileCompilerKeyedArrayAppend(props, dirtyState, collectionToken, i
4625
4675
  const finalValue = props.items();
4626
4676
  const startIndex = compilerKeyedArrayAppendStart(finalValue, collectionToken, instances.size);
4627
4677
  if (startIndex === void 0 || !Array.isArray(finalValue)) return void 0;
4628
- const nextInstances = new Map(instances);
4678
+ const appendedKeys = /* @__PURE__ */ new Set();
4629
4679
  const appended = [];
4630
4680
  try {
4631
4681
  for (let index = startIndex; index < finalValue.length; index += 1) {
4632
4682
  const item = finalValue[index];
4633
4683
  const key = keyedRowIdentity(props.rowKey(item, index));
4634
- if (nextInstances.has(key)) return void 0;
4684
+ if (instances.has(key) || appendedKeys.has(key)) return void 0;
4685
+ appendedKeys.add(key);
4635
4686
  const instance = createKeyedRowInstance(
4636
4687
  props,
4637
4688
  root.ownerDocument,
@@ -4640,7 +4691,6 @@ function reconcileCompilerKeyedArrayAppend(props, dirtyState, collectionToken, i
4640
4691
  index
4641
4692
  );
4642
4693
  appended.push(instance);
4643
- nextInstances.set(key, instance);
4644
4694
  }
4645
4695
  } catch {
4646
4696
  return void 0;
@@ -4650,7 +4700,10 @@ function reconcileCompilerKeyedArrayAppend(props, dirtyState, collectionToken, i
4650
4700
  for (const instance of appended) fragment.append(instance.element);
4651
4701
  root.append(fragment);
4652
4702
  }
4653
- return nextInstances;
4703
+ const mutableInstances = instances;
4704
+ for (const instance of appended) mutableInstances.set(instance.key, instance);
4705
+ COMPILER_KEYED_APPEND_DELTAS.set(mutableInstances, appended);
4706
+ return mutableInstances;
4654
4707
  }
4655
4708
  function reconcileCompilerKeyedArrayStructuralAppend(props, dirtyState, collectionToken, instances, root, reactOwnedRows) {
4656
4709
  if (reactOwnedRows || props.hostBlocks || (props.conditionals?.length || 0) > 0 || !props.filterIndexIndependent || props.collectionDependency === void 0) {
@@ -6133,8 +6186,16 @@ function createKeyedRowsBlockComponentCore(owner, options = {}) {
6133
6186
  this.hasReactOwnedRows()
6134
6187
  );
6135
6188
  if (appendedInstances) {
6189
+ const appended = COMPILER_KEYED_APPEND_DELTAS.get(appendedInstances);
6190
+ COMPILER_KEYED_APPEND_DELTAS.delete(appendedInstances);
6136
6191
  this.instances = appendedInstances instanceof Map ? appendedInstances : new Map(appendedInstances);
6137
- this.rebuildElementIndex(this.instances);
6192
+ if (appended && this.elementIndexComplete) {
6193
+ for (const instance of appended) {
6194
+ this.instancesByElement.set(instance.element, instance);
6195
+ }
6196
+ } else {
6197
+ this.rebuildElementIndex(this.instances);
6198
+ }
6138
6199
  this.commitCurrentCollection(dirtyState);
6139
6200
  afterCommit?.();
6140
6201
  return;
@@ -6250,15 +6311,41 @@ function createKeyedRowsBlockComponentCore(owner, options = {}) {
6250
6311
  const keys = [];
6251
6312
  const committedSize = this.instances.size;
6252
6313
  let prefix = 0;
6314
+ let tracking = true;
6315
+ let moved;
6316
+ let displaced;
6253
6317
  const committed = this.instances.keys();
6254
6318
  for (let index = 0; index < items.length; index += 1) {
6255
6319
  const key = keyedRowIdentity(props.rowKey(items[index], index));
6256
6320
  keys.push(key);
6257
- if (prefix === index && index < committedSize && committed.next().value === key) {
6258
- prefix += 1;
6321
+ if (!tracking || index >= committedSize) continue;
6322
+ const committedKey = committed.next().value;
6323
+ if (committedKey === key) {
6324
+ if (prefix === index) prefix += 1;
6325
+ continue;
6259
6326
  }
6327
+ if (items.length !== committedSize || moved && moved.length === KEYED_ROWS_MAX_MOVED) {
6328
+ tracking = false;
6329
+ moved = displaced = void 0;
6330
+ continue;
6331
+ }
6332
+ (moved ?? (moved = [])).push(index);
6333
+ (displaced ?? (displaced = [])).push(committedKey);
6260
6334
  }
6261
6335
  if (prefix === committedSize && keys.length === committedSize) return { items, keys };
6336
+ if (moved && displaced) {
6337
+ const pending = /* @__PURE__ */ new Map();
6338
+ for (let index = 0; index < moved.length; index += 1) pending.set(displaced[index], index);
6339
+ const sources = [];
6340
+ for (const position of moved) {
6341
+ const source = pending.get(keys[position]);
6342
+ if (source === void 0) break;
6343
+ pending.delete(keys[position]);
6344
+ sources.push(source);
6345
+ }
6346
+ if (sources.length === moved.length)
6347
+ return { items, keys, moved: { positions: moved, sources } };
6348
+ }
6262
6349
  if (prefix === committedSize && committedSize > 0) {
6263
6350
  const tail = /* @__PURE__ */ new Set();
6264
6351
  for (let index = committedSize; index < keys.length; index += 1) {
@@ -6520,22 +6607,35 @@ function createKeyedRowsBlockComponentCore(owner, options = {}) {
6520
6607
  if (rows.keys[index] !== key) return false;
6521
6608
  index += 1;
6522
6609
  }
6610
+ const conditionalChanges = this.patchOrderedRows(
6611
+ rows,
6612
+ [...this.instances.values()],
6613
+ afterCommit
6614
+ );
6615
+ if (!conditionalChanges) return true;
6616
+ this.commitCurrentCollection(dirtyState);
6617
+ this.notifyConditionalChanges(conditionalChanges, afterCommit);
6618
+ return true;
6619
+ }
6620
+ // Rereads and patches every row as React would rerender it. `ordered` holds
6621
+ // the existing instance for each row. Returns undefined after activating
6622
+ // the fallback.
6623
+ patchOrderedRows(rows, ordered, afterCommit) {
6523
6624
  const shouldPrepareBindings = rows.items.length > 1 && this.currentProps.bindings.length > 0 && !this.currentProps.hostBlocks;
6524
- const ordered = [...this.instances.values()];
6525
6625
  const preparedBindings = shouldPrepareBindings ? prepareKeyedRowBindingSetUpdates(this.currentProps, this.instances, rows, ordered) : void 0;
6526
6626
  if (shouldPrepareBindings && !preparedBindings) {
6527
6627
  this.activateFallback(afterCommit);
6528
- return true;
6628
+ return void 0;
6529
6629
  }
6530
6630
  const conditionalChanges = [];
6531
- for (index = 0; index < rows.items.length; index += 1) {
6631
+ for (let index = 0; index < rows.items.length; index += 1) {
6532
6632
  const key = rows.keys[index];
6533
6633
  const existing = ordered[index];
6534
6634
  if (this.currentProps.hostBlocks) {
6535
6635
  const descriptor = this.currentProps.create(rows.items[index], index);
6536
6636
  if (!existing.scope?.update(descriptor)) {
6537
6637
  this.activateFallback(afterCommit);
6538
- return true;
6638
+ return void 0;
6539
6639
  }
6540
6640
  }
6541
6641
  const bindingUpdates = preparedBindings?.[index];
@@ -6563,9 +6663,36 @@ function createKeyedRowsBlockComponentCore(owner, options = {}) {
6563
6663
  existing.item = rows.items[index];
6564
6664
  existing.index = index;
6565
6665
  }
6666
+ return conditionalChanges;
6667
+ }
6668
+ // The same rows in a new order that differs only at the ascending `moved`
6669
+ // positions: patch every row, then move only moved rows outside a stable
6670
+ // subsequence. A moved row may stay put only when every position between
6671
+ // its committed and final place also moved; otherwise an unmoved row lies
6672
+ // between them and the order would be wrong. Inserting the rest from the
6673
+ // last position down puts each before its final next sibling.
6674
+ reconcileMovedRows(rows, moved, sources, afterCommit, dirtyState) {
6675
+ const ordered = [...this.instances.values()];
6676
+ for (const position of moved) ordered[position] = this.instances.get(rows.keys[position]);
6677
+ const conditionalChanges = this.patchOrderedRows(rows, ordered, afterCommit);
6678
+ if (!conditionalChanges) return;
6679
+ const sequence = sources.map(
6680
+ (source, index) => Math.abs(moved[source] - moved[index]) === Math.abs(source - index) ? source : -1
6681
+ );
6682
+ const stays = longestIncreasingSubsequencePositions(sequence);
6683
+ const root = this.root;
6684
+ const activeElement = compilerFocusedElement(root);
6685
+ for (let index = moved.length - 1; index >= 0; index -= 1) {
6686
+ if (stays[index]) continue;
6687
+ const position = moved[index];
6688
+ const element = ordered[position].element;
6689
+ const anchor = position + 1 < ordered.length ? ordered[position + 1].element : null;
6690
+ if (element.nextSibling !== anchor) root.insertBefore(element, anchor);
6691
+ }
6692
+ restoreCompilerFocus(activeElement);
6693
+ this.instances = keyedRowInstancesByKey(ordered);
6566
6694
  this.commitCurrentCollection(dirtyState);
6567
6695
  this.notifyConditionalChanges(conditionalChanges, afterCommit);
6568
- return true;
6569
6696
  }
6570
6697
  // Keys are the committed keys plus new ones: patch every existing row like
6571
6698
  // the complete path does, then create and append only the new rows.
@@ -6710,6 +6837,16 @@ function createKeyedRowsBlockComponentCore(owner, options = {}) {
6710
6837
  return;
6711
6838
  }
6712
6839
  if (this.reconcileStableRows(rows, afterCommit, dirtyState)) return;
6840
+ if (rows.moved && !this.currentProps.hostBlocks) {
6841
+ this.reconcileMovedRows(
6842
+ rows,
6843
+ rows.moved.positions,
6844
+ rows.moved.sources,
6845
+ afterCommit,
6846
+ dirtyState
6847
+ );
6848
+ return;
6849
+ }
6713
6850
  if (this.reconcileRemovals(rows, afterCommit, dirtyState)) return;
6714
6851
  if (rows.appended && !this.currentProps.hostBlocks) {
6715
6852
  this.reconcileAppendedRows(rows, afterCommit, dirtyState);
@@ -6849,7 +6986,7 @@ function createKeyedRowsBlockComponentCore(owner, options = {}) {
6849
6986
  schedulePropSync() {
6850
6987
  if (this.propSyncQueued) return;
6851
6988
  this.propSyncQueued = true;
6852
- queueMicrotask(() => {
6989
+ scheduleCompilerMicrotask(() => {
6853
6990
  this.propSyncQueued = false;
6854
6991
  if (this.mounted && !this.state.fallback) {
6855
6992
  this.listen();
@@ -7437,6 +7574,14 @@ var keyedRowsHintedRuntimeFeature = {
7437
7574
  })
7438
7575
  })
7439
7576
  };
7577
+ var keyedRowsAppendOnlyRuntimeFeature = {
7578
+ name: "keyed-rows:append-only",
7579
+ create: (owner) => ({
7580
+ KeyedRows: createKeyedRowsBlockComponentCore(owner, {
7581
+ keyedUpdates: keyedAppendOnlyUpdateRuntime
7582
+ })
7583
+ })
7584
+ };
7440
7585
  var keyedRowsPositionHintedRuntimeFeature = {
7441
7586
  name: "keyed-rows:position-hinted",
7442
7587
  create: (owner) => ({
@@ -7525,6 +7670,14 @@ var keyedRowsFilterHintedRuntimeFeature = {
7525
7670
  })
7526
7671
  })
7527
7672
  };
7673
+ var keyedRowsFilterOnlyRuntimeFeature = {
7674
+ name: "keyed-rows:filter-only",
7675
+ create: (owner) => ({
7676
+ KeyedRows: createKeyedRowsBlockComponentCore(owner, {
7677
+ keyedUpdates: keyedFilterOnlyUpdateRuntime
7678
+ })
7679
+ })
7680
+ };
7528
7681
  var keyedRowsIdentityFilterHintedRuntimeFeature = {
7529
7682
  name: "keyed-rows:identity-filter-hinted",
7530
7683
  create: (owner) => ({
@@ -7583,6 +7736,14 @@ var keyedRowsPrependHintedRuntimeFeature = {
7583
7736
  })
7584
7737
  })
7585
7738
  };
7739
+ var keyedRowsPrependOnlyRuntimeFeature = {
7740
+ name: "keyed-rows:prepend-only",
7741
+ create: (owner) => ({
7742
+ KeyedRows: createKeyedRowsBlockComponentCore(owner, {
7743
+ keyedUpdates: keyedPrependOnlyUpdateRuntime
7744
+ })
7745
+ })
7746
+ };
7586
7747
  var keyedRowsFilterPrependHintedRuntimeFeature = {
7587
7748
  name: "keyed-rows:filter-prepend-hinted",
7588
7749
  create: (owner) => ({
@@ -8368,7 +8529,7 @@ function createCompiledComponentWithFeatures(definition, runtimeFeatures) {
8368
8529
  this.captureInputSelection();
8369
8530
  if (!this.mounted || this.flushQueued) return;
8370
8531
  this.flushQueued = true;
8371
- queueMicrotask(() => {
8532
+ scheduleCompilerMicrotask(() => {
8372
8533
  this.flushQueued = false;
8373
8534
  this.flushBindingUpdates();
8374
8535
  });
@@ -8581,6 +8742,6 @@ function createCompiledComponent(definition) {
8581
8742
  return createCompiledComponentWithFeatures(definition, COMPLETE_RUNTIME_FEATURES);
8582
8743
  }
8583
8744
 
8584
- export { applyCompilerKeyedCollectionMutation, componentRuntimeFeature, conditionalRangesRuntimeFeature, conditionalRuntimeFeature, createCompiledComponent, createCompiledComponentWithFeatures, 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, 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, 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, keyedRowsPlainRuntimeFeature, keyedRowsPositionHintedRuntimeFeature, keyedRowsPrependHintedRuntimeFeature, keyedRowsReorderHintedRuntimeFeature, keyedRowsRuntimeFeature, keyedRowsStructuralAppendHintedRuntimeFeature, keyedRowsStructuralAppendMapHintedRuntimeFeature, keyedRowsStructuralPrependHintedRuntimeFeature, keyedRowsStructuralPrependMapHintedRuntimeFeature, keyedRowsWindowEveryHintedRuntimeFeature, keyedRowsWindowPositionHintedRuntimeFeature, mixedRangesRuntimeFeature };
8745
+ export { applyCompilerKeyedCollectionMutation, componentRuntimeFeature, conditionalRangesRuntimeFeature, conditionalRuntimeFeature, createCompiledComponent, createCompiledComponentWithFeatures, 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, keyedRowsPlainRuntimeFeature, keyedRowsPositionHintedRuntimeFeature, keyedRowsPrependHintedRuntimeFeature, keyedRowsPrependOnlyRuntimeFeature, keyedRowsReorderHintedRuntimeFeature, keyedRowsRuntimeFeature, keyedRowsStructuralAppendHintedRuntimeFeature, keyedRowsStructuralAppendMapHintedRuntimeFeature, keyedRowsStructuralPrependHintedRuntimeFeature, keyedRowsStructuralPrependMapHintedRuntimeFeature, keyedRowsWindowEveryHintedRuntimeFeature, keyedRowsWindowPositionHintedRuntimeFeature, mixedRangesRuntimeFeature };
8585
8746
  //# sourceMappingURL=compiler-runtime.mjs.map
8586
8747
  //# sourceMappingURL=compiler-runtime.mjs.map