@getflip/swirl-components-angular 0.533.0 → 0.534.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,7 @@ import type { SwirlFileViewerVideoPlaybackRateChangeDetail as ISwirlFileViewerVi
9
9
  import type { SwirlDialogToggleEvent as ISwirlModalSwirlDialogToggleEvent } from '@getflip/swirl-components';
10
10
  import type { ComputePositionReturn as ISwirlPopoverComputePositionReturn } from '@getflip/swirl-components';
11
11
  import type { SwirlTableDropRowEvent as ISwirlTableSwirlTableDropRowEvent } from '@getflip/swirl-components';
12
+ import type { SwirlTableVirtualizationRows as ISwirlTableSwirlTableVirtualizationRows } from '@getflip/swirl-components';
12
13
  import type { SwirlOSThemeChangeEventData as ISwirlThemeProviderSwirlOSThemeChangeEventData } from '@getflip/swirl-components';
13
14
  import type { SwirlTreeViewDropItemEvent as ISwirlTreeViewSwirlTreeViewDropItemEvent } from '@getflip/swirl-components';
14
15
  import type { SwirlTreeViewDropItemEvent as ISwirlTreeViewItemSwirlTreeViewDropItemEvent } from '@getflip/swirl-components';
@@ -4869,10 +4870,14 @@ export declare class SwirlTable {
4869
4870
  protected el: HTMLSwirlTableElement;
4870
4871
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
4871
4872
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlTable, never>;
4872
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlTable, "swirl-table", never, { "caption": { "alias": "caption"; "required": false; }; "dragDropHandle": { "alias": "dragDropHandle"; "required": false; }; "dragDropInstructions": { "alias": "dragDropInstructions"; "required": false; }; "emptyStateLabel": { "alias": "emptyStateLabel"; "required": false; }; "enableDragDrop": { "alias": "enableDragDrop"; "required": false; }; "label": { "alias": "label"; "required": true; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], false, never>;
4873
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlTable, "swirl-table", never, { "caption": { "alias": "caption"; "required": false; }; "dragDropHandle": { "alias": "dragDropHandle"; "required": false; }; "dragDropInstructions": { "alias": "dragDropInstructions"; "required": false; }; "emptyStateLabel": { "alias": "emptyStateLabel"; "required": false; }; "enableDragDrop": { "alias": "enableDragDrop"; "required": false; }; "enableVirtualization": { "alias": "enableVirtualization"; "required": false; }; "label": { "alias": "label"; "required": true; }; "loading": { "alias": "loading"; "required": false; }; "virtualizationEstimatedRowHeight": { "alias": "virtualizationEstimatedRowHeight"; "required": false; }; "virtualizationKeepRowsRendered": { "alias": "virtualizationKeepRowsRendered"; "required": false; }; "virtualizationOverscan": { "alias": "virtualizationOverscan"; "required": false; }; "virtualizationRowCount": { "alias": "virtualizationRowCount"; "required": false; }; }, {}, never, ["*"], false, never>;
4873
4874
  }
4874
4875
  export declare interface SwirlTable extends Components.SwirlTable {
4875
4876
  dropRow: EventEmitter<CustomEvent<ISwirlTableSwirlTableDropRowEvent>>;
4877
+ /**
4878
+ * Emits the indexes of the rows to render.
4879
+ */
4880
+ virtualizationRowsChange: EventEmitter<CustomEvent<ISwirlTableSwirlTableVirtualizationRows>>;
4876
4881
  }
4877
4882
  export declare class SwirlTableCell {
4878
4883
  protected z: NgZone;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-angular",
3
- "version": "0.533.0",
3
+ "version": "0.534.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/getflip/swirl"
@@ -26,7 +26,7 @@
26
26
  "@angular/platform-browser": "19.2.23",
27
27
  "@angular/platform-browser-dynamic": "19.2.23",
28
28
  "@angular/router": "19.2.23",
29
- "@getflip/swirl-components": "0.533.0",
29
+ "@getflip/swirl-components": "0.534.1",
30
30
  "rxjs": "7.8.2",
31
31
  "tslib": "2.4.0",
32
32
  "zone.js": "0.15.0"
@@ -12415,7 +12415,7 @@ export declare interface SwirlTabBar extends Components.SwirlTabBar {
12415
12415
 
12416
12416
 
12417
12417
  @ProxyCmp({
12418
- inputs: ['caption', 'dragDropHandle', 'dragDropInstructions', 'emptyStateLabel', 'enableDragDrop', 'label', 'loading'],
12418
+ inputs: ['caption', 'dragDropHandle', 'dragDropInstructions', 'emptyStateLabel', 'enableDragDrop', 'enableVirtualization', 'label', 'loading', 'virtualizationEstimatedRowHeight', 'virtualizationKeepRowsRendered', 'virtualizationOverscan', 'virtualizationRowCount'],
12419
12419
  methods: ['rerender']
12420
12420
  })
12421
12421
  @Component({
@@ -12423,7 +12423,7 @@ export declare interface SwirlTabBar extends Components.SwirlTabBar {
12423
12423
  changeDetection: ChangeDetectionStrategy.OnPush,
12424
12424
  template: '<ng-content></ng-content>',
12425
12425
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
12426
- inputs: ['caption', 'dragDropHandle', 'dragDropInstructions', 'emptyStateLabel', 'enableDragDrop', { name: 'label', required: true }, 'loading'],
12426
+ inputs: ['caption', 'dragDropHandle', 'dragDropInstructions', 'emptyStateLabel', 'enableDragDrop', 'enableVirtualization', { name: 'label', required: true }, 'loading', 'virtualizationEstimatedRowHeight', 'virtualizationKeepRowsRendered', 'virtualizationOverscan', 'virtualizationRowCount'],
12427
12427
  standalone: false
12428
12428
  })
12429
12429
  export class SwirlTable {
@@ -12431,16 +12431,21 @@ export class SwirlTable {
12431
12431
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
12432
12432
  c.detach();
12433
12433
  this.el = r.nativeElement;
12434
- proxyOutputs(this, this.el, ['dropRow']);
12434
+ proxyOutputs(this, this.el, ['dropRow', 'virtualizationRowsChange']);
12435
12435
  }
12436
12436
  }
12437
12437
 
12438
12438
 
12439
12439
  import type { SwirlTableDropRowEvent as ISwirlTableSwirlTableDropRowEvent } from '@getflip/swirl-components';
12440
+ import type { SwirlTableVirtualizationRows as ISwirlTableSwirlTableVirtualizationRows } from '@getflip/swirl-components';
12440
12441
 
12441
12442
  export declare interface SwirlTable extends Components.SwirlTable {
12442
12443
 
12443
12444
  dropRow: EventEmitter<CustomEvent<ISwirlTableSwirlTableDropRowEvent>>;
12445
+ /**
12446
+ * Emits the indexes of the rows to render.
12447
+ */
12448
+ virtualizationRowsChange: EventEmitter<CustomEvent<ISwirlTableSwirlTableVirtualizationRows>>;
12444
12449
  }
12445
12450
 
12446
12451