@ng-native/components 0.24.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtual-list-num-columns.js","sourceRoot":"","sources":["../src/virtual-list-num-columns.ts"],"names":[],"mappings":"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","sourcesContent":["import { Directive, Injector, computed, effect, forwardRef, inject, input } from '@angular/core';\nimport { numberOr } from './transforms.ts';\nimport { VirtualList } from './virtual-list.ts';\nimport { VIRTUAL_LIST_LAYOUT, type VirtualListLayout } from './virtual-list-layout.ts';\n\n/**\n * FlatList's `numColumns`, on `<virtual-list>` itself: a photo grid or a shop's products, windowed\n * a line at a time.\n *\n * ```html\n * <virtual-list #list [items]=\"photos\" [itemHeight]=\"120\" [rowGap]=\"2\"\n * [virtualListNumColumns]=\"3\" [virtualListColumnGap]=\"2\">\n * @for (row of list.window(); track row.slot) {\n * <image [virtualListRow]=\"row\" [source]=\"row.item.uri\" />\n * }\n * </virtual-list>\n * ```\n *\n * Each item is still one row of the window, with its own slot, key and recycling, so the `@for`\n * is the same as a plain list's. Items fill a line left to right, right to left in a\n * right-to-left layout, and every column is the same width. A line is as tall as its tallest item,\n * and its items stretch to it, as they do in FlatList's row. A sticky row takes a line to itself,\n * so a month's header pins across the whole grid.\n *\n * Columns are for vertical lists with `itemHeight`, as FlatList's `numColumns` is vertical only.\n *\n * ponytail: rows that size themselves stay one to a line, with a warning in development, since a\n * line's height would wait on every item in it measuring. FlatList's `columnWrapperStyle` has no\n * equivalent: there is no view per line to style. A separator is drawn under each item but the\n * last line's, with the next line's first item as its `trailingItem`, where FlatList draws one a\n * line.\n */\n@Directive({\n selector: 'virtual-list[virtualListNumColumns]',\n providers: [\n { provide: VIRTUAL_LIST_LAYOUT, useExisting: forwardRef(() => VirtualListNumColumns) },\n ],\n})\nexport class VirtualListNumColumns implements VirtualListLayout {\n /** Items to a line, as FlatList's `numColumns`. */\n readonly numColumns = input(1, { alias: 'virtualListNumColumns', transform: numberOr(1) });\n /** Space between one column and the next. `rowGap` on the list spaces the lines. */\n readonly columnGap = input(0, { alias: 'virtualListColumnGap', transform: numberOr(0) });\n\n // Looked up once the list exists: the list injects this directive while it is being made.\n private readonly injector = inject(Injector);\n\n readonly columns = computed(() => {\n const columns = this.numColumns();\n return Number.isFinite(columns) ? Math.max(1, Math.floor(columns)) : 1;\n });\n\n constructor() {\n if (typeof ngDevMode === 'undefined' || !ngDevMode) return;\n const unsupported = effect(() => {\n if (this.columns() === 1) return;\n const list = this.injector.get(VirtualList, null, { self: true });\n const why = list?.horizontal()\n ? 'a horizontal list'\n : list?.measuring()\n ? 'rows without itemHeight'\n : null;\n if (!why) return;\n unsupported.destroy();\n console.warn(\n `[angular-native] virtualListNumColumns lays out one item a line on ${why}: columns ` +\n `are for a vertical list with itemHeight, as FlatList's numColumns is vertical only.`,\n );\n });\n }\n\n /**\n * Each column is an equal share of the width, as a percentage, so the line needs no width to\n * be laid out and follows a rotation without one. The padding and gaps are then taken out by\n * margins: every column gives up the same amount, and how much of it is on which side is what\n * puts the gaps between the columns rather than inside them.\n */\n across(column: number, left: number, right: number): Record<string, unknown> {\n const columns = this.columns();\n const gap = this.columnGap();\n const spare = (left + right + (columns - 1) * gap) / columns;\n const marginStart = left - (column * (left + right - gap)) / columns;\n return {\n start: `${(column * 100) / columns}%`,\n end: `${((columns - 1 - column) * 100) / columns}%`,\n marginStart,\n marginEnd: spare - marginStart,\n };\n }\n}\n\ndeclare const ngDevMode: unknown;\n"]}
@@ -179,6 +179,22 @@ export declare class VirtualList<T> extends ScrollViewProps {
179
179
  readonly maintainVisibleContentPosition: import("@angular/core").InputSignal<VirtualListVisiblePosition | undefined>;
180
180
  /** Rows rendered beyond each edge of the viewport, to cover fling gaps. */
181
181
  readonly overscan: import("@angular/core").InputSignalWithTransform<number, unknown>;
182
+ /**
183
+ * How many viewports of rows the list fills, as FlatList's `windowSize`: the one on screen and
184
+ * up to `windowSize - 1` more around it. While the JS thread is
185
+ * idle the window grows a viewport at a time, ahead of the scroll direction first, so a fling
186
+ * lands on rows already drawn. About two-thirds of the extra viewports go ahead of the scroll and
187
+ * the rest behind. `1` fills no extra viewports, though a fast scroll still renders ahead of
188
+ * itself unless `velocityLead` is `0`.
189
+ */
190
+ readonly windowSize: import("@angular/core").InputSignalWithTransform<number, unknown>;
191
+ /**
192
+ * How far past the viewport a scroll renders in the direction it is going, in milliseconds of
193
+ * its speed, up to three viewports: the rows the list will reach by the time a window change has
194
+ * been through JavaScript and back to native. `0` renders only the visible rows, the overscan
195
+ * and the fill.
196
+ */
197
+ readonly velocityLead: import("@angular/core").InputSignalWithTransform<number, unknown>;
182
198
  /** How close to the end, in viewport heights, `(endReached)` fires. RN's default is 2. */
183
199
  readonly endReachedThreshold: import("@angular/core").InputSignalWithTransform<number, unknown>;
184
200
  /** Lay the rows out along x instead of y, and scroll that way. */
@@ -210,8 +226,6 @@ export declare class VirtualList<T> extends ScrollViewProps {
210
226
  left: readonly number[];
211
227
  }>;
212
228
  private readonly viewport;
213
- /** The leading edge of the viewport in content space, which sticky rows and viewability need. */
214
- private readonly offset;
215
229
  private readonly headerHeight;
216
230
  /** What native reported the content measures along the axis, once it has. */
217
231
  private contentSize;
@@ -229,21 +243,16 @@ export declare class VirtualList<T> extends ScrollViewProps {
229
243
  private readonly refreshControl;
230
244
  /** See ScrollView: inside Android's swipe layout the list must see a drag first. */
231
245
  protected readonly nestedScroll: import("@angular/core").Signal<true | undefined>;
232
- /**
233
- * Whether native moves sticky rows. Each then stays at its own place in the list and native
234
- * translates it on every frame the list scrolls, as RN's `ScrollViewStickyHeader` does; a
235
- * translate committed from each scroll event lands a frame or more late, and on a fast fling
236
- * the row shudders and comes away from the edge.
237
- */
238
- private readonly nativeSticky;
239
- /** The offset once scrolling pauses, which the settled translate of a native-moved row is from. */
240
- private readonly settled;
241
- private settleTimer;
242
- /** What native is moving, by row view, with the transform kept beside the translate. */
243
- private readonly drives;
246
+ /** Viewports filled past the overscan, before and after the visible rows in index order. */
247
+ private readonly fill;
248
+ /** The way the visible row last moved: 1 toward the end of the list, -1 toward the start. */
249
+ private readonly direction;
250
+ /** The fill, cut to what `windowSize` allows ahead of the scroll and behind it. */
251
+ private readonly reach;
252
+ private fillTimer;
244
253
  private readonly canvasView;
245
- /** Whether the scroll offset is needed as a signal, which only pinning needs. */
246
- private readonly pinning;
254
+ /** The sticky rows and header: see `StickyRows`. */
255
+ private readonly sticky;
247
256
  /** Rows size themselves and are laid out in flow, rather than placed at a known offset. */
248
257
  readonly measuring: import("@angular/core").Signal<boolean>;
249
258
  /** The padding on each side. */
@@ -252,6 +261,26 @@ export declare class VirtualList<T> extends ScrollViewProps {
252
261
  private readonly lead;
253
262
  /** The rows' insets across the axis, as the props that place an absolutely positioned row. */
254
263
  private readonly across;
264
+ /** How items are laid out across the width, when a directive on the list says: see the token. */
265
+ private readonly columnLayout;
266
+ /**
267
+ * Items to a line. Only for a vertical list whose rows have known heights: a line's height
268
+ * would otherwise wait on every item in it measuring, and FlatList's `numColumns` is vertical
269
+ * only too. The directive says so in development.
270
+ */
271
+ private readonly columns;
272
+ /** Which line each item is on, when there is more than one to a line. */
273
+ private readonly lines;
274
+ /** The props across each column, built once per change of columns, gap or padding. */
275
+ private readonly columnAcross;
276
+ /** An item's insets across the axis: its column's, or the whole width's. */
277
+ private acrossOf;
278
+ /** The line an item is on: the item itself, when each has a line to itself. */
279
+ private lineOf;
280
+ /** Whether a row is on the list's last line, which no separator comes after. */
281
+ private onLastLine;
282
+ /** The first item on a line, or the item count for a line past the last. */
283
+ private lineStart;
255
284
  /** Heights native has reported, by key. */
256
285
  private readonly measured;
257
286
  /** Bumped when a measurement changes, which is what re-sizes the list. */
@@ -310,11 +339,11 @@ export declare class VirtualList<T> extends ScrollViewProps {
310
339
  private readonly flowSpacing;
311
340
  /** A row in flow, flipped back when the list is inverted. One object, so rows never re-clone. */
312
341
  private readonly flowStyle;
313
- /** Top of a row: the leading padding, and every row and gap before it. */
342
+ /** Top of a row: the leading padding, and every row and gap before it. In columns, its line's. */
314
343
  private topOf;
315
- /** A row's own size, without the gap after it. */
344
+ /** A row's own size, without the gap after it. In columns, its line's. */
316
345
  private heightOf;
317
- /** First row whose bottom, or the gap after it, is past `y`. */
346
+ /** First row whose bottom, or the gap after it, is past `y`. In columns, the first on its line. */
318
347
  private indexAt;
319
348
  /** The row the viewport's leading edge is in, taken at each scroll. */
320
349
  private anchor;
@@ -374,6 +403,8 @@ export declare class VirtualList<T> extends ScrollViewProps {
374
403
  constructor();
375
404
  /** The items the end and viewability were last checked against after a render. */
376
405
  private checkedItems;
406
+ /** And the table placing them, which a new column count makes again for the same items. */
407
+ private checkedTable;
377
408
  /**
378
409
  * New items can bring the end within reach or change what is on screen with no scroll: a list
379
410
  * shorter than its viewport, a page appended while at the end, a filter. Checked once the rows
@@ -410,26 +441,10 @@ export declare class VirtualList<T> extends ScrollViewProps {
410
441
  */
411
442
  private leadWindow;
412
443
  private styleFor;
413
- /** A pinned row in flow, moved from where flow put it to the leading edge by a transform. */
414
- private pinnedFlowStyle;
415
- /**
416
- * A sticky row native moves: at its own place, with the translate native had reached when
417
- * scrolling paused, so the props agree with what is on screen.
418
- */
419
- private stickyStyle;
420
- /** Each sticky row, and the one after it, which pushes it off. */
421
- private readonly nextSticky;
422
- /** Where a sticky row stops, pushed off by the next: that row's top, less this row's size. */
423
- private stopOf;
424
- /**
425
- * How native moves a rendered row, or null when it does not: along the scroll view's own
426
- * offset, which counts the header, from the row's top until the next sticky row pushes it off.
427
- */
428
- private stickyDrive;
429
444
  /**
430
- * Hand each rendered sticky row's view to native to move, and let go of the rest. The rows'
431
- * views are the canvas's element children in window order, after the spacer, which is how
432
- * `@for` over `window()` leaves them.
445
+ * Hand each rendered sticky row's view to native to move. The rows' views are the canvas's
446
+ * element children in window order, after the spacer, which is how `@for` over `window()`
447
+ * leaves them.
433
448
  */
434
449
  private driveStickyRows;
435
450
  /** Which recycling slot each rendered item holds, by key: its type, and the row it last drew. */
@@ -490,10 +505,7 @@ export declare class VirtualList<T> extends ScrollViewProps {
490
505
  * it at the estimate would put a line through the middle of a row that turns out taller.
491
506
  */
492
507
  private measuredGapStyle;
493
- /**
494
- * The header's translation while it is pinned: the scroll position, held back at zero by an
495
- * overscroll and at the first sticky row, which pushes it off.
496
- */
508
+ /** The header, pinned with the rows when `stickyHeader` says so: see `StickyRows`. */
497
509
  protected readonly headerStyle: import("@angular/core").Signal<{
498
510
  transform: string;
499
511
  zIndex?: undefined;
@@ -511,11 +523,6 @@ export declare class VirtualList<T> extends ScrollViewProps {
511
523
  protected readonly footerStyle: import("@angular/core").Signal<{
512
524
  transform: string;
513
525
  } | undefined>;
514
- /**
515
- * The sticky row currently holding the leading edge: the last one at or before the offset.
516
- * Null when the list has scrolled back above the first of them.
517
- */
518
- private readonly pinnedIndex;
519
526
  /** Which rows are on screen far enough to count, by the caller's threshold. */
520
527
  private viewableAt;
521
528
  /** The last set announced, so the output fires on a change rather than on every frame. */
@@ -554,9 +561,52 @@ export declare class VirtualList<T> extends ScrollViewProps {
554
561
  x?: number;
555
562
  y?: number;
556
563
  };
564
+ timestamp?: number;
557
565
  }>): void;
558
- /** A pinned row's translate, settled once scrolling pauses: see `STICKY_SETTLE_MS`. */
559
- private settleAfterPause;
566
+ /**
567
+ * Points the window reaches past the viewport for the scroll's speed, positive toward the end,
568
+ * in steps of a quarter viewport: written only when it moves a step, so a fling costs a pass
569
+ * for it every few frames rather than on every scroll event.
570
+ */
571
+ private readonly ahead;
572
+ /** The speed's lead before rounding to a step, eased from one event to the next. */
573
+ private eased;
574
+ /** The offset of the last scroll event, and when it arrived. */
575
+ private lastScroll;
576
+ /** Lets go of the reach once scroll events stop, which is all a scroll that stops sends. */
577
+ private speedTimer;
578
+ /**
579
+ * Follow the scroll's speed, from each scroll event's offset and the time native sent it, in
580
+ * milliseconds, which iOS and Android both give. Not the time it reached JavaScript: a thread
581
+ * that fell behind gets a fling's events in a burst, which would read as no time at all between
582
+ * them. Where native gives no time, as on the web, the time it arrived.
583
+ */
584
+ private trackSpeed;
585
+ /** Start the speed over: a pause, or a jump, which is no fling. */
586
+ private stopSpeed;
587
+ /** The most viewports rendered ahead of the scroll direction and behind it. */
588
+ private fillCaps;
589
+ /** Move the window to a new visible row. */
590
+ private moveTo;
591
+ /**
592
+ * Start the fill over before a scroll the list is told to make lands past the rendered rows, so
593
+ * it renders one viewport there, not the whole filled window, in a single pass. A scroll the
594
+ * user makes keeps it: one past the rendered rows is a fling outrunning them, which is what the
595
+ * fill is for.
596
+ */
597
+ private jumpTo;
598
+ /**
599
+ * Follow a change of scroll direction: the rows filled behind are now ahead, and those ahead are
600
+ * kept only up to what is kept behind.
601
+ */
602
+ private turn;
603
+ /** The side the window grows on next, ahead of the scroll first, or null once both are full. */
604
+ private nextFill;
605
+ /**
606
+ * Grow the window by a viewport once the JS thread has been free for a batch period, ahead of
607
+ * the scroll first. Every window change restarts the wait, so a fling is never slowed by it.
608
+ */
609
+ private scheduleFill;
560
610
  protected onLayout(event: NativeSyntheticEvent<{
561
611
  layout?: {
562
612
  width?: number;
@@ -582,9 +632,20 @@ export declare class VirtualList<T> extends ScrollViewProps {
582
632
  width?: number;
583
633
  height?: number;
584
634
  }>): void;
635
+ /** The scroll view's content along the axis, header and all. */
636
+ private contentExtent;
637
+ /** The user took the scroll over: native's own events move the rows from here. */
638
+ protected onDragBegin(): void;
639
+ /** A scroll came to rest: see `StickyRows.rested`. */
640
+ protected onScrollEnd(): void;
641
+ /**
642
+ * How far toward `offset` the content lets native scroll. Android stops a scroll at its end and
643
+ * says nothing of it; iOS goes past, and its scroll end event says where it came to rest.
644
+ */
645
+ private reachable;
585
646
  private checkEnd;
586
647
  static ɵfac: i0.ɵɵFactoryDeclaration<VirtualList<any>, never>;
587
- static ɵcmp: i0.ɵɵComponentDeclaration<VirtualList<any>, "virtual-list", ["virtualList"], { "items": { "alias": "items"; "required": true; "isSignal": true; }; "itemHeight": { "alias": "itemHeight"; "required": false; "isSignal": true; }; "estimatedItemHeight": { "alias": "estimatedItemHeight"; "required": false; "isSignal": true; }; "contentPadding": { "alias": "contentPadding"; "required": false; "isSignal": true; }; "rowGap": { "alias": "rowGap"; "required": false; "isSignal": true; }; "keyExtractor": { "alias": "keyExtractor"; "required": false; "isSignal": true; }; "itemType": { "alias": "itemType"; "required": false; "isSignal": true; }; "maintainVisibleContentPosition": { "alias": "maintainVisibleContentPosition"; "required": false; "isSignal": true; }; "overscan": { "alias": "overscan"; "required": false; "isSignal": true; }; "endReachedThreshold": { "alias": "endReachedThreshold"; "required": false; "isSignal": true; }; "horizontal": { "alias": "horizontal"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; "stickyIndices": { "alias": "stickyIndices"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "keyboardShouldPersistTaps": { "alias": "keyboardShouldPersistTaps"; "required": false; "isSignal": true; }; "itemVisiblePercentThreshold": { "alias": "itemVisiblePercentThreshold"; "required": false; "isSignal": true; }; }, { "endReached": "endReached"; "viewableItemsChanged": "viewableItemsChanged"; }, ["separator", "refreshControl"], ["refresh-control", "[listHeader]", "*", "[listFooter]"], true, never>;
648
+ static ɵcmp: i0.ɵɵComponentDeclaration<VirtualList<any>, "virtual-list", ["virtualList"], { "items": { "alias": "items"; "required": true; "isSignal": true; }; "itemHeight": { "alias": "itemHeight"; "required": false; "isSignal": true; }; "estimatedItemHeight": { "alias": "estimatedItemHeight"; "required": false; "isSignal": true; }; "contentPadding": { "alias": "contentPadding"; "required": false; "isSignal": true; }; "rowGap": { "alias": "rowGap"; "required": false; "isSignal": true; }; "keyExtractor": { "alias": "keyExtractor"; "required": false; "isSignal": true; }; "itemType": { "alias": "itemType"; "required": false; "isSignal": true; }; "maintainVisibleContentPosition": { "alias": "maintainVisibleContentPosition"; "required": false; "isSignal": true; }; "overscan": { "alias": "overscan"; "required": false; "isSignal": true; }; "windowSize": { "alias": "windowSize"; "required": false; "isSignal": true; }; "velocityLead": { "alias": "velocityLead"; "required": false; "isSignal": true; }; "endReachedThreshold": { "alias": "endReachedThreshold"; "required": false; "isSignal": true; }; "horizontal": { "alias": "horizontal"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; "stickyIndices": { "alias": "stickyIndices"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "keyboardShouldPersistTaps": { "alias": "keyboardShouldPersistTaps"; "required": false; "isSignal": true; }; "itemVisiblePercentThreshold": { "alias": "itemVisiblePercentThreshold"; "required": false; "isSignal": true; }; }, { "endReached": "endReached"; "viewableItemsChanged": "viewableItemsChanged"; }, ["separator", "refreshControl"], ["refresh-control", "[listHeader]", "*", "[listFooter]"], true, never>;
588
649
  }
589
650
  /**
590
651
  * Put on each row's view: `<view [virtualListRow]="row">`. Applies the row's style, and reports