@coolon/angular-ui-powerups 16.1.0-alpha.223 → 16.1.0-alpha.225

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.
@@ -4308,29 +4308,126 @@ let RowClass$1 = class RowClass {
4308
4308
  this.matches = matches;
4309
4309
  }
4310
4310
  };
4311
+ /** Builds the cells of a column-aligned footer row. */
4312
+ class FooterRowCellsBuilder {
4313
+ cells = [];
4314
+ /** A cell occupying the single column `columnId`. */
4315
+ cell(columnId, component, onInit) {
4316
+ return this.add(component, onInit, columnId, 1);
4317
+ }
4318
+ /** A cell anchored at `columnId`, spanning `span` columns. */
4319
+ cellSpanning(columnId, span, component, onInit) {
4320
+ return this.add(component, onInit, columnId, span);
4321
+ }
4322
+ /** A cell anchored immediately after the previous cell, spanning every remaining column. */
4323
+ cellSpanningRest(component, onInit) {
4324
+ return this.add(component, onInit, undefined, 'rest');
4325
+ }
4326
+ add(component, onInit, columnId, span) {
4327
+ this.cells.push({ portal: new ComponentPortal(component), onInit, columnId, span });
4328
+ return this;
4329
+ }
4330
+ }
4311
4331
  class FooterRowModel {
4312
4332
  _rowClasses = [];
4313
4333
  noPadding() {
4314
- this.addClass("no-padding");
4334
+ return this.addClass("no-padding");
4315
4335
  }
4316
4336
  addClass(className, condition) {
4317
4337
  this._rowClasses.push(new RowClass$1(className, condition ?? (() => true)));
4338
+ return this;
4318
4339
  }
4319
4340
  }
4320
4341
  (function (FooterRowModel) {
4321
4342
  class Impl extends FooterRowModel {
4322
- component;
4323
- onInit;
4324
- portal;
4325
- constructor(component, onInit) {
4343
+ cells;
4344
+ constructor(cells) {
4326
4345
  super();
4327
- this.component = component;
4328
- this.onInit = onInit;
4329
- this.portal = new ComponentPortal(component);
4346
+ this.cells = cells;
4347
+ }
4348
+ /** Legacy footer: one component spanning the full table width. */
4349
+ static fullWidth(component, onInit) {
4350
+ return new Impl([{ portal: new ComponentPortal(component), onInit, span: 'all' }]);
4351
+ }
4352
+ static fromBuilder(build) {
4353
+ const builder = new FooterRowCellsBuilder();
4354
+ build(builder);
4355
+ return new Impl(builder.cells);
4330
4356
  }
4331
4357
  getActiveRowClasses() {
4332
4358
  return this._rowClasses.filter(c => c.matches()).map(c => c.className).join(" ");
4333
4359
  }
4360
+ /**
4361
+ * Resolve this row's cells against the current visible column ids: anchor each cell,
4362
+ * fill unanchored gaps with empty cells, and drop cells whose anchor column is hidden
4363
+ * (their space folds into the surrounding fillers). The colspans always sum to the
4364
+ * column count so the footer aligns with the body columns.
4365
+ */
4366
+ resolve(rowIndex, visibleColumnIds) {
4367
+ const n = visibleColumnIds.length;
4368
+ const cells = [];
4369
+ let pointer = 0;
4370
+ let seq = 0;
4371
+ const pushFiller = (span) => {
4372
+ if (span <= 0)
4373
+ return;
4374
+ cells.push({
4375
+ defId: `aup-footer-${rowIndex}-${seq++}`,
4376
+ colspan: span,
4377
+ filler: true,
4378
+ fullWidth: false,
4379
+ firstColumn: pointer === 0,
4380
+ lastColumn: pointer + span >= n
4381
+ });
4382
+ pointer += span;
4383
+ };
4384
+ for (const cell of this.cells) {
4385
+ if (cell.span === 'all') {
4386
+ cells.push({
4387
+ defId: `aup-footer-${rowIndex}-${seq++}`,
4388
+ portal: cell.portal,
4389
+ onInit: cell.onInit,
4390
+ colspan: Math.max(n, 1),
4391
+ filler: false,
4392
+ fullWidth: true,
4393
+ firstColumn: true,
4394
+ lastColumn: true
4395
+ });
4396
+ pointer = n;
4397
+ continue;
4398
+ }
4399
+ let target;
4400
+ if (cell.columnId != null) {
4401
+ target = visibleColumnIds.indexOf(cell.columnId);
4402
+ if (target < 0 || target < pointer)
4403
+ continue; // hidden, or overlaps an earlier cell
4404
+ if (target > pointer)
4405
+ pushFiller(target - pointer);
4406
+ }
4407
+ else {
4408
+ target = pointer;
4409
+ }
4410
+ const remaining = n - target;
4411
+ const span = cell.span === 'rest' ? remaining : Math.min(cell.span, remaining);
4412
+ if (span <= 0)
4413
+ continue;
4414
+ cells.push({
4415
+ defId: `aup-footer-${rowIndex}-${seq++}`,
4416
+ portal: cell.portal,
4417
+ onInit: cell.onInit,
4418
+ colspan: span,
4419
+ columnId: cell.columnId,
4420
+ filler: false,
4421
+ fullWidth: false,
4422
+ firstColumn: target === 0,
4423
+ lastColumn: target + span >= n
4424
+ });
4425
+ pointer = target + span;
4426
+ }
4427
+ if (pointer < n)
4428
+ pushFiller(n - pointer);
4429
+ return { rowIndex, defIds: cells.map(c => c.defId), cells, rowClasses: this.getActiveRowClasses() };
4430
+ }
4334
4431
  }
4335
4432
  FooterRowModel.Impl = Impl;
4336
4433
  })(FooterRowModel || (FooterRowModel = {}));
@@ -4575,7 +4672,7 @@ class AbstractTableModel extends GarbageCollector {
4575
4672
  selectedItems$;
4576
4673
  leadSelection$;
4577
4674
  hasSelection$;
4578
- footerRowModel;
4675
+ footerRowModels = [];
4579
4676
  _viewDependencies = new Set();
4580
4677
  constructor() {
4581
4678
  super();
@@ -4706,10 +4803,14 @@ class AbstractTableModel extends GarbageCollector {
4706
4803
  builder(c);
4707
4804
  });
4708
4805
  }
4709
- addFooterRow(component, initialiseCallback) {
4710
- assert.isNil(this.footerRowModel);
4711
- this.footerRowModel = new FooterRowModel.Impl(component, initialiseCallback);
4712
- return this.footerRowModel;
4806
+ addFooterRow(componentOrBuilder, initialiseCallback) {
4807
+ // A component type is a class (has a prototype); a builder is an arrow function (prototype is undefined).
4808
+ const isBuilder = !componentOrBuilder.prototype;
4809
+ const row = isBuilder
4810
+ ? FooterRowModel.Impl.fromBuilder(componentOrBuilder)
4811
+ : FooterRowModel.Impl.fullWidth(componentOrBuilder, initialiseCallback);
4812
+ this.footerRowModels.push(row);
4813
+ return row;
4713
4814
  }
4714
4815
  addTemplateColumn(columnId) {
4715
4816
  return this.addColumn(new CustomTemplateColumnModel(columnId, this.columnManager, () => this.getColumnTextProperties(columnId)));
@@ -4869,26 +4970,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
4869
4970
 
4870
4971
  // eslint-disable-next-line @angular-eslint/component-class-suffix
4871
4972
  class TableFooterRow {
4872
- row;
4873
- defaultClassNames = 'aup-footer-row-renderer';
4874
- get rowClasses() {
4875
- return this.row.getActiveRowClasses();
4973
+ cell;
4974
+ get cssClasses() {
4975
+ const classes = ['aup-footer-row-renderer'];
4976
+ classes.push(this.cell?.fullWidth ? 'full-width' : 'footer-column-cell');
4977
+ if (this.cell?.firstColumn)
4978
+ classes.push('first-visible-column');
4979
+ if (this.cell?.lastColumn)
4980
+ classes.push('last-visible-column');
4981
+ return classes.join(' ');
4876
4982
  }
4877
4983
  initialise($event) {
4878
- this.row.onInit && this.row.onInit($event.instance);
4984
+ this.cell?.onInit?.($event.instance);
4879
4985
  }
4880
4986
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TableFooterRow, deps: [], target: i0.ɵɵFactoryTarget.Component });
4881
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TableFooterRow, selector: "aup-table-footer-row", inputs: { row: "row" }, host: { properties: { "class": "this.rowClasses" } }, ngImport: i0, template: "<ng-container [cdkPortalOutlet]=\"row.portal\" (attached)=\"initialise($event)\"></ng-container>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%}\n"], dependencies: [{ kind: "directive", type: i1$4.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
4987
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TableFooterRow, selector: "aup-table-footer-row", inputs: { cell: "cell" }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i0, template: "<ng-container *ngIf=\"cell?.portal\" [cdkPortalOutlet]=\"cell.portal\" (attached)=\"initialise($event)\"></ng-container>\n", styles: [":host{display:flex;height:100%}:host.full-width{flex-direction:column;align-items:stretch;justify-content:center}:host.footer-column-cell{flex-direction:row;align-items:center}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
4882
4988
  }
4883
4989
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TableFooterRow, decorators: [{
4884
4990
  type: Component,
4885
- args: [{ selector: 'aup-table-footer-row', template: "<ng-container [cdkPortalOutlet]=\"row.portal\" (attached)=\"initialise($event)\"></ng-container>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch;justify-content:center;height:100%}\n"] }]
4886
- }], propDecorators: { row: [{
4991
+ args: [{ selector: 'aup-table-footer-row', template: "<ng-container *ngIf=\"cell?.portal\" [cdkPortalOutlet]=\"cell.portal\" (attached)=\"initialise($event)\"></ng-container>\n", styles: [":host{display:flex;height:100%}:host.full-width{flex-direction:column;align-items:stretch;justify-content:center}:host.footer-column-cell{flex-direction:row;align-items:center}\n"] }]
4992
+ }], propDecorators: { cell: [{
4887
4993
  type: Input
4888
- }], defaultClassNames: [{
4889
- type: HostBinding,
4890
- args: ['class']
4891
- }], rowClasses: [{
4994
+ }], cssClasses: [{
4892
4995
  type: HostBinding,
4893
4996
  args: ['class']
4894
4997
  }] } });
@@ -4925,9 +5028,9 @@ class TableBodyComponent extends ResizeAwareComponent {
4925
5028
  #tableModel_accessor_storage = proxify((AbstractTableModel));
4926
5029
  get tableModel() { return this.#tableModel_accessor_storage; }
4927
5030
  set tableModel(value) { this.#tableModel_accessor_storage = value; }
4928
- #footerRow_accessor_storage = proxify((FooterRowModel.Impl));
4929
- get footerRow() { return this.#footerRow_accessor_storage; }
4930
- set footerRow(value) { this.#footerRow_accessor_storage = value; }
5031
+ // Footer rows are built once in the TableModel builder callback, so a plain input is enough;
5032
+ // the per-row cell layout (footerRowDefs$) is derived reactively from the visible columns.
5033
+ footerRows = [];
4931
5034
  #showHeader$_accessor_storage = proxify((ValueModel));
4932
5035
  get showHeader$() { return this.#showHeader$_accessor_storage; }
4933
5036
  set showHeader$(value) { this.#showHeader$_accessor_storage = value; }
@@ -4944,6 +5047,7 @@ class TableBodyComponent extends ResizeAwareComponent {
4944
5047
  scrollViewport;
4945
5048
  columns$;
4946
5049
  columnIds$;
5050
+ footerRowDefs$;
4947
5051
  columnsById$;
4948
5052
  // TODO: support user defined header and row heights via css vars.
4949
5053
  headerHeight$ = new MutableValueModel(48);
@@ -5002,7 +5106,8 @@ class TableBodyComponent extends ResizeAwareComponent {
5002
5106
  this.columns$ = chain(this.tableModel.visibleColumns$);
5003
5107
  this.columnIds$ = chain(this.columns$).pluck("columnId");
5004
5108
  this.columnsById$ = chain(this.columns$).indexBy('columnId');
5005
- this.viewStateDependsOn(this.tableModel.filteredRows$, this.tableModel.visibleColumns$, this.virtualScrollActive$, this.animationsDisabled$, this.tableModel.selectedItems$);
5109
+ this.footerRowDefs$ = chain(this.columnIds$).reduceAll(ids => (this.footerRows ?? []).map((row, i) => row.resolve(i, [...ids])));
5110
+ this.viewStateDependsOn(this.tableModel.filteredRows$, this.tableModel.visibleColumns$, this.virtualScrollActive$, this.animationsDisabled$, this.tableModel.selectedItems$, this.footerRowDefs$);
5006
5111
  });
5007
5112
  }
5008
5113
  ngAfterViewInit() {
@@ -5122,15 +5227,10 @@ class TableBodyComponent extends ResizeAwareComponent {
5122
5227
  clearTimeout(this.scrollTimeout);
5123
5228
  }
5124
5229
  }
5125
- initialiseFooter($event) {
5126
- const portalRef = $event;
5127
- this.footerRow.onInit(portalRef.instance);
5128
- }
5129
- Proxify = Proxify;
5130
5230
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TableBodyComponent, deps: [{ token: AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER, optional: true }], target: i0.ɵɵFactoryTarget.Component });
5131
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TableBodyComponent, selector: "aup-table-body", inputs: { data$: "data$", tableModel: "tableModel", footerRow: "footerRow", showHeader$: "showHeader$", showHeader: "showHeader", trackBy: "trackBy", scrollMode$: "scrollMode$", scrollMode: "scrollMode" }, host: { properties: { "attr.scrollMode": "this.scrollMode", "class": "this.baseCssClass", "class.aup-animations-disabled": "this.animationsDisabledClass", "class.hide-header": "this.hideHeader", "style.--aup-table-header-height": "this.headerHeightCssVar", "style.--aup-table-row-height": "this.rowHeightCssVar" } }, providers: [
5231
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TableBodyComponent, selector: "aup-table-body", inputs: { data$: "data$", tableModel: "tableModel", footerRows: "footerRows", showHeader$: "showHeader$", showHeader: "showHeader", trackBy: "trackBy", scrollMode$: "scrollMode$", scrollMode: "scrollMode" }, host: { properties: { "attr.scrollMode": "this.scrollMode", "class": "this.baseCssClass", "class.aup-animations-disabled": "this.animationsDisabledClass", "class.hide-header": "this.hideHeader", "style.--aup-table-header-height": "this.headerHeightCssVar", "style.--aup-table-row-height": "this.rowHeightCssVar" } }, providers: [
5132
5232
  { provide: AUP_DETACHED_PARENT_CDR, useFactory: () => inject(AUP_TABLE_OPTIMIZED_CHANGE_DETECTION, { optional: true }) ? inject(ChangeDetectorRef) : null }
5133
- ], viewQueries: [{ propertyName: "scrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }], usesInheritance: true, ngImport: i0, template: "\n<div class=\"classic-scroll-container\" *ngIf=\"scrollMode$.value !== 'virtual'\">\n <table mat-table [dataSource]=\"data$.value\" [trackBy]=\"trackBy\" [multiTemplateDataRows]>\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"$any(column)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabled(column)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabled()\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container matColumnDef=\"sticky-footer\" *ngIf=\"Proxify.hasTarget(footerRow)\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"columns$.length\" [ngClass]=\"'footer-cell'\">\n <aup-table-footer-row [row]=\"$any(footerRow)\"></aup-table-footer-row>\n </td>\n <tr mat-footer-row *matFooterRowDef=\"['sticky-footer']; sticky: true\"></tr>\n </ng-container>\n\n </table>\n</div>\n\n<cdk-virtual-scroll-viewport *ngIf=\"scrollMode$.value === 'virtual'\"\n [@.disabled]=\"animationsDisabled$.value\"\n [tvsItemSize]=\"rowHeight$.value\"\n [headerHeight]=\"headerHeight$.value\"\n [footerEnabled]=\"Proxify.hasTarget(footerRow)\"\n [footerHeight]=\"48\"\n [bufferMultiplier]=\"bufferMultiplier\"\n>\n <table mat-table [dataSource]=\"virtualScrollDataSource\" [trackBy]=\"trackBy\">\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabled(column)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabled()\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container matColumnDef=\"sticky-footer\" *ngIf=\"Proxify.hasTarget(footerRow)\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"columns$.length\" [ngClass]=\"'footer-cell'\">\n <aup-table-footer-row [row]=\"$any(footerRow)\"></aup-table-footer-row>\n </td>\n <tr mat-footer-row *matFooterRowDef=\"['sticky-footer']; sticky: true\"></tr>\n </ng-container>\n\n\n </table>\n</cdk-virtual-scroll-viewport>\n\n", styles: [":host{--enter-animation-duration: .1s;display:flex;flex-direction:column;align-items:stretch}:host.aup-animations-disabled{--enter-animation-duration: 0ms}:host table{width:100%}:host[scrollMode=virtual] cdk-virtual-scroll-viewport{flex:1}:host[scrollMode=virtual] table th{height:var(--aup-table-header-height);max-height:var(--aup-table-header-height);min-height:var(--aup-table-header-height)}:host[scrollMode=virtual] table td{height:var(--aup-table-row-height);max-height:var(--aup-table-row-height);min-height:var(--aup-table-row-height)}:host[scrollMode=classic]{min-height:0}:host[scrollMode=classic] .classic-scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$7.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i2$7.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2$7.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i2$7.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i2$7.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2$7.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i2$7.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2$7.MatFooterRowDef, selector: "[matFooterRowDef]", inputs: ["matFooterRowDef", "matFooterRowDefSticky"] }, { kind: "directive", type: i2$7.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2$7.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: i2$7.MatFooterCell, selector: "mat-footer-cell, td[mat-footer-cell]" }, { kind: "component", type: i2$7.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i2$7.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i2$7.MatFooterRow, selector: "mat-footer-row, tr[mat-footer-row]", exportAs: ["matFooterRow"] }, { kind: "component", type: i1$2.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "directive", type: i4$2.TableItemSizeDirective, selector: "cdk-virtual-scroll-viewport[tvsItemSize]", inputs: ["tvsItemSize", "headerEnabled", "headerHeight", "footerEnabled", "footerHeight", "bufferMultiplier"] }, { kind: "directive", type: TableRowAttributesDirective, selector: "[aupTableRowAttributes]", inputs: ["aupTableRowAttributes"] }, { kind: "component", type: TableCellComponent, selector: "aup-table-cell", inputs: ["row", "column", "tableModel"] }, { kind: "component", type: TableHeaderCellComponent, selector: "aup-table-header-cell", inputs: ["column"] }, { kind: "component", type: TableFooterRow, selector: "aup-table-footer-row", inputs: ["row"] }] });
5233
+ ], viewQueries: [{ propertyName: "scrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }], usesInheritance: true, ngImport: i0, template: "\n<div class=\"classic-scroll-container\" *ngIf=\"scrollMode$.value !== 'virtual'\">\n <table mat-table [dataSource]=\"data$.value\" [trackBy]=\"trackBy\" [multiTemplateDataRows]>\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"$any(column)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabled(column)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabled()\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container *ngFor=\"let footer of footerRowDefs$.value\">\n <ng-container *ngFor=\"let cell of footer.cells\" [matColumnDef]=\"cell.defId\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"cell.colspan\"\n [attr.column-id]=\"cell.columnId\" class=\"footer-cell\">\n <aup-table-footer-row *ngIf=\"!cell.filler\" [cell]=\"cell\"></aup-table-footer-row>\n </td>\n </ng-container>\n <tr mat-footer-row *matFooterRowDef=\"footer.defIds; sticky: true\" [ngClass]=\"footer.rowClasses\"></tr>\n </ng-container>\n\n </table>\n</div>\n\n<cdk-virtual-scroll-viewport *ngIf=\"scrollMode$.value === 'virtual'\"\n [@.disabled]=\"animationsDisabled$.value\"\n [tvsItemSize]=\"rowHeight$.value\"\n [headerHeight]=\"headerHeight$.value\"\n [footerEnabled]=\"(footerRowDefs$?.value?.length ?? 0) > 0\"\n [footerHeight]=\"48 * (footerRowDefs$?.value?.length ?? 0)\"\n [bufferMultiplier]=\"bufferMultiplier\"\n>\n <table mat-table [dataSource]=\"virtualScrollDataSource\" [trackBy]=\"trackBy\">\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabled(column)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabled()\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container *ngFor=\"let footer of footerRowDefs$.value\">\n <ng-container *ngFor=\"let cell of footer.cells\" [matColumnDef]=\"cell.defId\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"cell.colspan\"\n [attr.column-id]=\"cell.columnId\" class=\"footer-cell\">\n <aup-table-footer-row *ngIf=\"!cell.filler\" [cell]=\"cell\"></aup-table-footer-row>\n </td>\n </ng-container>\n <tr mat-footer-row *matFooterRowDef=\"footer.defIds; sticky: true\" [ngClass]=\"footer.rowClasses\"></tr>\n </ng-container>\n\n\n </table>\n</cdk-virtual-scroll-viewport>\n\n", styles: [":host{--enter-animation-duration: .1s;display:flex;flex-direction:column;align-items:stretch}:host.aup-animations-disabled{--enter-animation-duration: 0ms}:host table{width:100%}:host[scrollMode=virtual] cdk-virtual-scroll-viewport{flex:1}:host[scrollMode=virtual] table th{height:var(--aup-table-header-height);max-height:var(--aup-table-header-height);min-height:var(--aup-table-header-height)}:host[scrollMode=virtual] table td{height:var(--aup-table-row-height);max-height:var(--aup-table-row-height);min-height:var(--aup-table-row-height)}:host[scrollMode=classic]{min-height:0}:host[scrollMode=classic] .classic-scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$7.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i2$7.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2$7.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i2$7.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i2$7.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2$7.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i2$7.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2$7.MatFooterRowDef, selector: "[matFooterRowDef]", inputs: ["matFooterRowDef", "matFooterRowDefSticky"] }, { kind: "directive", type: i2$7.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2$7.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: i2$7.MatFooterCell, selector: "mat-footer-cell, td[mat-footer-cell]" }, { kind: "component", type: i2$7.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i2$7.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i2$7.MatFooterRow, selector: "mat-footer-row, tr[mat-footer-row]", exportAs: ["matFooterRow"] }, { kind: "component", type: i1$2.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "directive", type: i4$2.TableItemSizeDirective, selector: "cdk-virtual-scroll-viewport[tvsItemSize]", inputs: ["tvsItemSize", "headerEnabled", "headerHeight", "footerEnabled", "footerHeight", "bufferMultiplier"] }, { kind: "directive", type: TableRowAttributesDirective, selector: "[aupTableRowAttributes]", inputs: ["aupTableRowAttributes"] }, { kind: "component", type: TableCellComponent, selector: "aup-table-cell", inputs: ["row", "column", "tableModel"] }, { kind: "component", type: TableHeaderCellComponent, selector: "aup-table-header-cell", inputs: ["column"] }, { kind: "component", type: TableFooterRow, selector: "aup-table-footer-row", inputs: ["cell"] }] });
5134
5234
  }
5135
5235
  __decorate([
5136
5236
  Proxify(),
@@ -5140,10 +5240,6 @@ __decorate([
5140
5240
  Proxify(),
5141
5241
  __metadata("design:type", AbstractTableModel)
5142
5242
  ], TableBodyComponent.prototype, "tableModel", null);
5143
- __decorate([
5144
- Proxify(),
5145
- __metadata("design:type", FooterRowModel.Impl)
5146
- ], TableBodyComponent.prototype, "footerRow", null);
5147
5243
  __decorate([
5148
5244
  Proxify(),
5149
5245
  __metadata("design:type", ValueModel)
@@ -5164,7 +5260,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
5164
5260
  type: Component,
5165
5261
  args: [{ selector: "aup-table-body", providers: [
5166
5262
  { provide: AUP_DETACHED_PARENT_CDR, useFactory: () => inject(AUP_TABLE_OPTIMIZED_CHANGE_DETECTION, { optional: true }) ? inject(ChangeDetectorRef) : null }
5167
- ], template: "\n<div class=\"classic-scroll-container\" *ngIf=\"scrollMode$.value !== 'virtual'\">\n <table mat-table [dataSource]=\"data$.value\" [trackBy]=\"trackBy\" [multiTemplateDataRows]>\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"$any(column)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabled(column)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabled()\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container matColumnDef=\"sticky-footer\" *ngIf=\"Proxify.hasTarget(footerRow)\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"columns$.length\" [ngClass]=\"'footer-cell'\">\n <aup-table-footer-row [row]=\"$any(footerRow)\"></aup-table-footer-row>\n </td>\n <tr mat-footer-row *matFooterRowDef=\"['sticky-footer']; sticky: true\"></tr>\n </ng-container>\n\n </table>\n</div>\n\n<cdk-virtual-scroll-viewport *ngIf=\"scrollMode$.value === 'virtual'\"\n [@.disabled]=\"animationsDisabled$.value\"\n [tvsItemSize]=\"rowHeight$.value\"\n [headerHeight]=\"headerHeight$.value\"\n [footerEnabled]=\"Proxify.hasTarget(footerRow)\"\n [footerHeight]=\"48\"\n [bufferMultiplier]=\"bufferMultiplier\"\n>\n <table mat-table [dataSource]=\"virtualScrollDataSource\" [trackBy]=\"trackBy\">\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabled(column)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabled()\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container matColumnDef=\"sticky-footer\" *ngIf=\"Proxify.hasTarget(footerRow)\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"columns$.length\" [ngClass]=\"'footer-cell'\">\n <aup-table-footer-row [row]=\"$any(footerRow)\"></aup-table-footer-row>\n </td>\n <tr mat-footer-row *matFooterRowDef=\"['sticky-footer']; sticky: true\"></tr>\n </ng-container>\n\n\n </table>\n</cdk-virtual-scroll-viewport>\n\n", styles: [":host{--enter-animation-duration: .1s;display:flex;flex-direction:column;align-items:stretch}:host.aup-animations-disabled{--enter-animation-duration: 0ms}:host table{width:100%}:host[scrollMode=virtual] cdk-virtual-scroll-viewport{flex:1}:host[scrollMode=virtual] table th{height:var(--aup-table-header-height);max-height:var(--aup-table-header-height);min-height:var(--aup-table-header-height)}:host[scrollMode=virtual] table td{height:var(--aup-table-row-height);max-height:var(--aup-table-row-height);min-height:var(--aup-table-row-height)}:host[scrollMode=classic]{min-height:0}:host[scrollMode=classic] .classic-scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n"] }]
5263
+ ], template: "\n<div class=\"classic-scroll-container\" *ngIf=\"scrollMode$.value !== 'virtual'\">\n <table mat-table [dataSource]=\"data$.value\" [trackBy]=\"trackBy\" [multiTemplateDataRows]>\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"$any(column)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabled(column)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabled()\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container *ngFor=\"let footer of footerRowDefs$.value\">\n <ng-container *ngFor=\"let cell of footer.cells\" [matColumnDef]=\"cell.defId\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"cell.colspan\"\n [attr.column-id]=\"cell.columnId\" class=\"footer-cell\">\n <aup-table-footer-row *ngIf=\"!cell.filler\" [cell]=\"cell\"></aup-table-footer-row>\n </td>\n </ng-container>\n <tr mat-footer-row *matFooterRowDef=\"footer.defIds; sticky: true\" [ngClass]=\"footer.rowClasses\"></tr>\n </ng-container>\n\n </table>\n</div>\n\n<cdk-virtual-scroll-viewport *ngIf=\"scrollMode$.value === 'virtual'\"\n [@.disabled]=\"animationsDisabled$.value\"\n [tvsItemSize]=\"rowHeight$.value\"\n [headerHeight]=\"headerHeight$.value\"\n [footerEnabled]=\"(footerRowDefs$?.value?.length ?? 0) > 0\"\n [footerHeight]=\"48 * (footerRowDefs$?.value?.length ?? 0)\"\n [bufferMultiplier]=\"bufferMultiplier\"\n>\n <table mat-table [dataSource]=\"virtualScrollDataSource\" [trackBy]=\"trackBy\">\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabled(column)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabled()\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container *ngFor=\"let footer of footerRowDefs$.value\">\n <ng-container *ngFor=\"let cell of footer.cells\" [matColumnDef]=\"cell.defId\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"cell.colspan\"\n [attr.column-id]=\"cell.columnId\" class=\"footer-cell\">\n <aup-table-footer-row *ngIf=\"!cell.filler\" [cell]=\"cell\"></aup-table-footer-row>\n </td>\n </ng-container>\n <tr mat-footer-row *matFooterRowDef=\"footer.defIds; sticky: true\" [ngClass]=\"footer.rowClasses\"></tr>\n </ng-container>\n\n\n </table>\n</cdk-virtual-scroll-viewport>\n\n", styles: [":host{--enter-animation-duration: .1s;display:flex;flex-direction:column;align-items:stretch}:host.aup-animations-disabled{--enter-animation-duration: 0ms}:host table{width:100%}:host[scrollMode=virtual] cdk-virtual-scroll-viewport{flex:1}:host[scrollMode=virtual] table th{height:var(--aup-table-header-height);max-height:var(--aup-table-header-height);min-height:var(--aup-table-header-height)}:host[scrollMode=virtual] table td{height:var(--aup-table-row-height);max-height:var(--aup-table-row-height);min-height:var(--aup-table-row-height)}:host[scrollMode=classic]{min-height:0}:host[scrollMode=classic] .classic-scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n"] }]
5168
5264
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
5169
5265
  type: Inject,
5170
5266
  args: [AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER]
@@ -5174,7 +5270,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
5174
5270
  type: Input
5175
5271
  }], tableModel: [{
5176
5272
  type: Input
5177
- }], footerRow: [{
5273
+ }], footerRows: [{
5178
5274
  type: Input
5179
5275
  }], showHeader$: [{
5180
5276
  type: Input
@@ -5569,7 +5665,7 @@ class TableComponent extends AbstractTableComponent {
5569
5665
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TableComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
5570
5666
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TableComponent, selector: "aup-table", inputs: { tableModel: "tableModel", filterModel: "filterModel", scrollMode$: "scrollMode$", scrollMode: "scrollMode" }, providers: [
5571
5667
  { provide: AbstractTableComponent, useExisting: TableComponent }
5572
- ], viewQueries: [{ propertyName: "tableBody", first: true, predicate: TableBodyComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<aup-table-body [data$]=\"visibleRows$\"\n [tableModel]=\"$any(tableModel)\"\n [footerRow]=\"tableModel.footerRowModel\"\n [showHeader$]=\"$any(showHeader$)\"\n [scrollMode$]=\"tableBodyScrollMode$\"\n [trackBy]=\"trackBy\"\n [aupHighlightTextModel]=\"highlightText$\"\n></aup-table-body>\n<section class=\"table-footer\">\n <div class=\"footer-content\"><ng-content select=\"[footer], [slot=footer]\"></ng-content></div>\n</section>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}aup-table-body{flex:1}.table-footer{display:flex;flex-direction:row;align-items:center}.table-footer .footer-content{flex:1}\n"], dependencies: [{ kind: "directive", type: HighlightTextModelDirective, selector: "[aupHighlightTextModel]", inputs: ["aupHighlightTextModel"] }, { kind: "component", type: TableBodyComponent, selector: "aup-table-body", inputs: ["data$", "tableModel", "footerRow", "showHeader$", "showHeader", "trackBy", "scrollMode$", "scrollMode"] }] });
5668
+ ], viewQueries: [{ propertyName: "tableBody", first: true, predicate: TableBodyComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<aup-table-body [data$]=\"visibleRows$\"\n [tableModel]=\"$any(tableModel)\"\n [footerRows]=\"tableModel.footerRowModels\"\n [showHeader$]=\"$any(showHeader$)\"\n [scrollMode$]=\"tableBodyScrollMode$\"\n [trackBy]=\"trackBy\"\n [aupHighlightTextModel]=\"highlightText$\"\n></aup-table-body>\n<section class=\"table-footer\">\n <div class=\"footer-content\"><ng-content select=\"[footer], [slot=footer]\"></ng-content></div>\n</section>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}aup-table-body{flex:1}.table-footer{display:flex;flex-direction:row;align-items:center}.table-footer .footer-content{flex:1}\n"], dependencies: [{ kind: "directive", type: HighlightTextModelDirective, selector: "[aupHighlightTextModel]", inputs: ["aupHighlightTextModel"] }, { kind: "component", type: TableBodyComponent, selector: "aup-table-body", inputs: ["data$", "tableModel", "footerRows", "showHeader$", "showHeader", "trackBy", "scrollMode$", "scrollMode"] }] });
5573
5669
  }
5574
5670
  __decorate([
5575
5671
  Proxify(),
@@ -5591,7 +5687,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
5591
5687
  type: Component,
5592
5688
  args: [{ selector: 'aup-table', providers: [
5593
5689
  { provide: AbstractTableComponent, useExisting: TableComponent }
5594
- ], template: "<aup-table-body [data$]=\"visibleRows$\"\n [tableModel]=\"$any(tableModel)\"\n [footerRow]=\"tableModel.footerRowModel\"\n [showHeader$]=\"$any(showHeader$)\"\n [scrollMode$]=\"tableBodyScrollMode$\"\n [trackBy]=\"trackBy\"\n [aupHighlightTextModel]=\"highlightText$\"\n></aup-table-body>\n<section class=\"table-footer\">\n <div class=\"footer-content\"><ng-content select=\"[footer], [slot=footer]\"></ng-content></div>\n</section>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}aup-table-body{flex:1}.table-footer{display:flex;flex-direction:row;align-items:center}.table-footer .footer-content{flex:1}\n"] }]
5690
+ ], template: "<aup-table-body [data$]=\"visibleRows$\"\n [tableModel]=\"$any(tableModel)\"\n [footerRows]=\"tableModel.footerRowModels\"\n [showHeader$]=\"$any(showHeader$)\"\n [scrollMode$]=\"tableBodyScrollMode$\"\n [trackBy]=\"trackBy\"\n [aupHighlightTextModel]=\"highlightText$\"\n></aup-table-body>\n<section class=\"table-footer\">\n <div class=\"footer-content\"><ng-content select=\"[footer], [slot=footer]\"></ng-content></div>\n</section>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}aup-table-body{flex:1}.table-footer{display:flex;flex-direction:row;align-items:center}.table-footer .footer-content{flex:1}\n"] }]
5595
5691
  }], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { tableModel: [{
5596
5692
  type: Input
5597
5693
  }], filterModel: [{
@@ -6267,7 +6363,7 @@ class TreeTableComponent extends AbstractTableComponent {
6267
6363
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TreeTableComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
6268
6364
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TreeTableComponent, selector: "aup-tree-table", inputs: { treeTableModel: "treeTableModel", expansionModel: "expansionModel" }, providers: [
6269
6365
  { provide: AbstractTableComponent, useExisting: TreeTableComponent }
6270
- ], usesInheritance: true, ngImport: i0, template: "<aup-table-body [data$]=\"visibleRows$\"\n [tableModel]=\"treeTableModel\"\n [showHeader$]=\"showHeader$\"\n [scrollMode$]=\"scrollMode$\"\n [aupHighlightTextModel]=\"highlightText$\"\n [trackBy]=\"trackBy\"\n></aup-table-body>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host::ng-deep td.mat-mdc-cell{border-top-width:0!important;border-bottom-width:0!important}:host::ng-deep td.mat-column-tree-label{width:1px}:host::ng-deep aup-table-cell-renderer[column-id=tree-label]{padding-left:8px!important}:host::ng-deep aup-tree-label-cell-renderer{flex:1}aup-table-body{flex:1}\n"], dependencies: [{ kind: "directive", type: HighlightTextModelDirective, selector: "[aupHighlightTextModel]", inputs: ["aupHighlightTextModel"] }, { kind: "component", type: TableBodyComponent, selector: "aup-table-body", inputs: ["data$", "tableModel", "footerRow", "showHeader$", "showHeader", "trackBy", "scrollMode$", "scrollMode"] }] });
6366
+ ], usesInheritance: true, ngImport: i0, template: "<aup-table-body [data$]=\"visibleRows$\"\n [tableModel]=\"treeTableModel\"\n [showHeader$]=\"showHeader$\"\n [scrollMode$]=\"scrollMode$\"\n [aupHighlightTextModel]=\"highlightText$\"\n [trackBy]=\"trackBy\"\n></aup-table-body>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host::ng-deep td.mat-mdc-cell{border-top-width:0!important;border-bottom-width:0!important}:host::ng-deep td.mat-column-tree-label{width:1px}:host::ng-deep aup-table-cell-renderer[column-id=tree-label]{padding-left:8px!important}:host::ng-deep aup-tree-label-cell-renderer{flex:1}aup-table-body{flex:1}\n"], dependencies: [{ kind: "directive", type: HighlightTextModelDirective, selector: "[aupHighlightTextModel]", inputs: ["aupHighlightTextModel"] }, { kind: "component", type: TableBodyComponent, selector: "aup-table-body", inputs: ["data$", "tableModel", "footerRows", "showHeader$", "showHeader", "trackBy", "scrollMode$", "scrollMode"] }] });
6271
6367
  }
6272
6368
  __decorate([
6273
6369
  Proxify(),
@@ -7961,6 +8057,15 @@ class NavigationSession extends GarbageCollector {
7961
8057
  get isInteractionSync() {
7962
8058
  return false;
7963
8059
  }
8060
+ /**
8061
+ * Interruptible sessions are internal housekeeping navigations (e.g. interaction-id
8062
+ * synchronisation) that a real user- or model-driven navigation is allowed to queue behind
8063
+ * and supersede, rather than being rejected. Real navigations (Navigating, PopState) are not
8064
+ * interruptible.
8065
+ */
8066
+ get isInterruptible() {
8067
+ return this.isInteractionSync;
8068
+ }
7964
8069
  get name() {
7965
8070
  return this.constructor.name;
7966
8071
  }
@@ -9182,6 +9287,11 @@ class PlaceRouter extends GarbageCollector {
9182
9287
  _activeVisit$ = new MutableValueModel();
9183
9288
  routerInteractionAdapter;
9184
9289
  sessionFinishedJobs = [];
9290
+ // A navigation triggered while an interruptible session is in flight is parked here and run when
9291
+ // that session finishes. Only the most recent pending navigation is retained (coalescing).
9292
+ pendingNavigation;
9293
+ queuedNavigationDepth = 0;
9294
+ static MAX_QUEUED_NAVIGATION_DEPTH = 5;
9185
9295
  authService = new PlaceAuthService();
9186
9296
  _ready$ = this.registerDisposable(new DelegatingValueModel().withDefault(true));
9187
9297
  ready$ = this._ready$.readonly$;
@@ -9345,17 +9455,11 @@ class PlaceRouter extends GarbageCollector {
9345
9455
  // @Trace()
9346
9456
  async doNavigation(visit, runNavigationCommands) {
9347
9457
  if (this.navigationInProgress$.value) {
9348
- Logger.get().error('Navigation already in progress', {
9349
- visit: visit,
9350
- session: this.navigationSession,
9351
- });
9352
- lang.illegalState('Navigation already in progress');
9353
- }
9354
- else {
9355
- const navigation = this.createNavigationSession(this.urlService.getCurrentRouterUrl());
9356
- navigation.initialiseVisitSegments(visit);
9357
- this.transitionTo(navigation);
9458
+ return this.handleOverlappingNavigation(visit, runNavigationCommands);
9358
9459
  }
9460
+ const navigation = this.createNavigationSession(this.urlService.getCurrentRouterUrl());
9461
+ navigation.initialiseVisitSegments(visit);
9462
+ this.transitionTo(navigation);
9359
9463
  try {
9360
9464
  await runNavigationCommands(this.angularRouter);
9361
9465
  }
@@ -9367,6 +9471,80 @@ class PlaceRouter extends GarbageCollector {
9367
9471
  }
9368
9472
  }
9369
9473
  }
9474
+ /**
9475
+ * Handles a navigation triggered while another is already in flight.
9476
+ *
9477
+ * This used to throw `illegalState('Navigation already in progress')`, which killed the
9478
+ * triggering action - occasionally seen in production when a user click collided with an
9479
+ * in-flight interaction-id sync. Instead we warn with diagnostic context and decide based on the
9480
+ * in-progress session:
9481
+ * - interruptible session in progress (internal housekeeping, e.g. interaction-id sync) -> queue
9482
+ * the incoming navigation and run it once the current session finishes (coalescing to latest).
9483
+ * - real navigation in progress -> keep it and drop the incoming one (logging full context).
9484
+ */
9485
+ handleOverlappingNavigation(visit, runNavigationCommands) {
9486
+ const current = this.navigationSession;
9487
+ const debug = {
9488
+ inProgress: {
9489
+ session: current?.name,
9490
+ state: current?.toString(),
9491
+ isInteractionSync: current?.isInteractionSync,
9492
+ isInterruptible: current?.isInterruptible,
9493
+ isPopState: current?.isPopState,
9494
+ segments: current?.getVisitSegments().map(s => s.toDebugString()),
9495
+ },
9496
+ incoming: visit?.toDebugString(),
9497
+ currentUrl: this.urlService.getCurrentRouterUrl(),
9498
+ };
9499
+ if (current?.isInterruptible) {
9500
+ Logger.get(this).warn(`Navigation triggered while interruptible session '${current.name}' is in progress; ` +
9501
+ `queueing the incoming navigation to run once it finishes.`, debug);
9502
+ return this.queueNavigation(visit, runNavigationCommands);
9503
+ }
9504
+ // NOTE (interim policy): when a *real* navigation is already in progress we keep the first and
9505
+ // drop the incoming one, logging full context so we can see what actually collides in
9506
+ // production. We deliberately do NOT queue+coalesce here yet - once production logs show which
9507
+ // real-vs-real collisions occur we can decide whether "latest wins (queued)" is the better
9508
+ // behaviour. See the implementation plan for the queue+coalesce alternative.
9509
+ Logger.get(this).warn(`Navigation already in progress ('${current?.name}'); ignoring the incoming navigation. ` +
9510
+ `Review this if it occurs in production - it may need to be queued instead.`, debug);
9511
+ return Promise.resolve();
9512
+ }
9513
+ queueNavigation(visit, runNavigationCommands) {
9514
+ const flushAlreadyScheduled = !!this.pendingNavigation;
9515
+ if (this.pendingNavigation) {
9516
+ // Coalesce: supersede the previously queued navigation so only the most recent target runs.
9517
+ this.pendingNavigation.resolve();
9518
+ }
9519
+ return new Promise((resolve, reject) => {
9520
+ this.pendingNavigation = { visit, runNavigationCommands, resolve, reject };
9521
+ if (!flushAlreadyScheduled) {
9522
+ this.runAfterRoutingSessionFinishes(() => this.flushPendingNavigation());
9523
+ }
9524
+ });
9525
+ }
9526
+ flushPendingNavigation() {
9527
+ const pending = this.pendingNavigation;
9528
+ if (!pending) {
9529
+ return;
9530
+ }
9531
+ this.pendingNavigation = undefined;
9532
+ if (this.queuedNavigationDepth >= PlaceRouter.MAX_QUEUED_NAVIGATION_DEPTH) {
9533
+ Logger.get(this).warn(`Dropping queued navigation after ${this.queuedNavigationDepth} consecutive deferrals to ` +
9534
+ `avoid a navigation loop.`, { visit: pending.visit?.toDebugString() });
9535
+ this.queuedNavigationDepth = 0;
9536
+ pending.resolve();
9537
+ return;
9538
+ }
9539
+ this.queuedNavigationDepth++;
9540
+ this.doNavigation(pending.visit, pending.runNavigationCommands).then(() => {
9541
+ this.queuedNavigationDepth = 0;
9542
+ pending.resolve();
9543
+ }, (error) => {
9544
+ this.queuedNavigationDepth = 0;
9545
+ pending.reject(error);
9546
+ });
9547
+ }
9370
9548
  navigateByUrl(urlSnapshot, navigationExtras) {
9371
9549
  // console.log(`### navigationByUrl -> ${urlSnapshot.urlTree.toString()}`);
9372
9550
  return this.angularRouter.navigateByUrl(urlSnapshot.urlTree, navigationExtras);
@@ -9384,13 +9562,15 @@ class PlaceRouter extends GarbageCollector {
9384
9562
  // FIXME: no route id -> route id duplicates route parameters
9385
9563
  const visit = this.activeVisit$.value.copyAndReplaceSegment(is);
9386
9564
  if (is.hasRoutingChangedFrom(was)) {
9387
- // TODO: can I just do a regular navigate using an updated visit?
9388
- // const {when} = Dsl.disposeWith(this);
9565
+ // An in-place parameter change (model -> route) is a refinement of the current view rather
9566
+ // than a new destination - e.g. a selection model writing its selected id, including the
9567
+ // auto-select-first / select-nearest corrections. We update the URL with replaceUrl so the
9568
+ // selection never accrues spurious back-stack entries.
9389
9569
  await this.doNavigation(visit, () => {
9390
9570
  const urlSnapshot = this.urlService
9391
9571
  .parseUrl(this.angularRouter.routerState.snapshot.url)
9392
9572
  .updateVisitSegment(is);
9393
- return this.navigateByUrl(urlSnapshot);
9573
+ return this.navigateByUrl(urlSnapshot, { replaceUrl: true });
9394
9574
  });
9395
9575
  }
9396
9576
  }
@@ -11611,22 +11791,24 @@ class PlaceComponent extends LoadableComponent {
11611
11791
  const { when } = Dsl.disposeWith(this);
11612
11792
  this.visit$.value = visit;
11613
11793
  DebugContext.getOrCreate(this.visit$).tag(`${this.placeDefinition.component.name}.visit$`);
11614
- // we track if the any of the bindings updated the route. If so we remember it and update the
11615
- // route in one go at the end.
11616
- this.placeDefinition
11794
+ // we track if any of the bindings updated the route (e.g. a selection model that auto-selected
11795
+ // the first item during construction while the route had no value). If so we update the route
11796
+ // once, after wiring up the change listener below.
11797
+ const routeUpdatedByBinding = this.placeDefinition
11617
11798
  .getVisitParameterDefs()
11618
- .forEach(parameterDef => this.installAndInitialiseBinding(visit, parameterDef));
11799
+ .map(parameterDef => this.installAndInitialiseBinding(visit, parameterDef))
11800
+ .some(Boolean);
11619
11801
  when(this.visit$).changes((current, previous) => {
11620
11802
  notifyVisitChanged(current, previous);
11621
11803
  }, { unless: this._inVisitUpdate });
11622
- // TODO: this needs to do a replace url option so that the new url isn't put in the history.... for
11623
- // now we're not doing it as it's a fair bit of effort and will only affect people if they're
11624
- // cutting and pasting urls to each other.
11625
- // // the binding process can update the visit (e.g. if a selection model has already selected during
11626
- // // component construction) and there was no value specified in the route
11627
- // if (visit.hasRoutingChangedFrom(this.visitModel.value)) {
11628
- // notifyVisitChanged(this.visitModel.value, visit)
11629
- // }
11804
+ // The binding process can update the visit when the route had no value (e.g. a selection model
11805
+ // with autoSelectFirstItemOnLoad that already selected during component construction). Propagate
11806
+ // that to the router now so the URL reflects the selection. PlaceRouter applies in-place
11807
+ // parameter updates with replaceUrl (see PlaceRouter.notifyVisitSegmentChanged), so the
11808
+ // auto-selected value doesn't create a spurious history entry.
11809
+ if (routeUpdatedByBinding && this.visit$.value.hasRoutingChangedFrom(visit)) {
11810
+ notifyVisitChanged(this.visit$.value, visit);
11811
+ }
11630
11812
  }
11631
11813
  get childPlaces() {
11632
11814
  return this.childPlaces$.value;
@@ -11669,9 +11851,11 @@ class PlaceComponent extends LoadableComponent {
11669
11851
  const isInModel = !isNil(model.value);
11670
11852
  if (!isInVisit && isInModel) {
11671
11853
  binding.writeLeft(); // push it to the route
11854
+ return true; // the model (e.g. an auto-selected selection) updated the route
11672
11855
  }
11673
11856
  else {
11674
11857
  binding.writeRight(); // push it to the model
11858
+ return false;
11675
11859
  }
11676
11860
  }
11677
11861
  get placeDefinition() {
@@ -13087,5 +13271,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
13087
13271
  * Generated bundle index. Do not edit.
13088
13272
  */
13089
13273
 
13090
- export { ACTIVITY_DATA, ALERT_CONFIG, AUP_DETACHED_PARENT_CDR, AUP_PLACE_CONFIG, AUP_TABLE_OPTIMIZED_CHANGE_DETECTION, AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractCellRenderer, AbstractConfirmDialogComponent, AbstractDialogComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityContext, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AlertRendererComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, ButtonRendererComponent, CELL_RENDERER_PORTAL, CardContainerComponent, CellFooterPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnManager, ColumnModel, ColumnOrderManager, ColumnTemplateDirective, ColumnTextSearchFormatter, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, Confirm, ConfirmRendererComponent, ConfirmThenDialogComponent, ConfirmThenExecuteDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EnableCellTextSearch, EventCleanUpSession, FOOTER_CELL_RENDERER_PORTAL, FileDownloadComponent, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, FooterRowModel, Formatter, GarbageCollectorDirective, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, INTERACTION_CONTEXT, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InlineEditorModel, InlineStringEditorComponent, InputActivity, InteractionContextProvider, InteractionContextTriggerForDirective, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, Keys, LEFT_RIGHT_PLACE_ANIMATION, LabelledValueComponent, ListPlaceNavComponent, ListPropertyColumnModel, LoadableComponent, LoadingContainerComponent, MarkdownComponent, MarkdownService, ModalActivityTriggerComponent, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NotAuthorisedNoticeComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, ParameterSanitiser, PasswordInputComponent, Place, PlaceAccessGuard, PlaceAuthService, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, ResizeObserverDirective, RouteId, ScrollContainerComponent, SearchInputComponent, SectionHeaderComponent, SelectInputActivity, SelectInputComponent, SelectionCellComponent, SelectionColumnModel, SelectionHeaderCellComponent, SeparatorComponent, SidePlaceNavigationComponent, SlideDownInteractionContextComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableActionColumnComponent, TableBodyComponent, TableCellComponent, TableComponent, TableCustomMoreMenuComponent, TableCustomMoreMenuPopupComponent, TableFilterModel, TableFooterRow, TableHeaderCellComponent, TableModel, TableRowAttributesDirective, TemplateCellRendererPortalRef, TextInputComponent, TextSearchContext, ToolBarComponent, Track, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSegment, VisitSegmentSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, markdownPillExtension, slideDownAndRightOnEnterAnimation, slideDownOnEnterAnimation, slideDownWhenOpenAnimation, slideRightOnEnterAnimation, treeNodeDecorator };
13274
+ export { ACTIVITY_DATA, ALERT_CONFIG, AUP_DETACHED_PARENT_CDR, AUP_PLACE_CONFIG, AUP_TABLE_OPTIMIZED_CHANGE_DETECTION, AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractCellRenderer, AbstractConfirmDialogComponent, AbstractDialogComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityContext, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AlertRendererComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, ButtonRendererComponent, CELL_RENDERER_PORTAL, CardContainerComponent, CellFooterPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnManager, ColumnModel, ColumnOrderManager, ColumnTemplateDirective, ColumnTextSearchFormatter, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, Confirm, ConfirmRendererComponent, ConfirmThenDialogComponent, ConfirmThenExecuteDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EnableCellTextSearch, EventCleanUpSession, FOOTER_CELL_RENDERER_PORTAL, FileDownloadComponent, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, FooterRowCellsBuilder, FooterRowModel, Formatter, GarbageCollectorDirective, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, INTERACTION_CONTEXT, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InlineEditorModel, InlineStringEditorComponent, InputActivity, InteractionContextProvider, InteractionContextTriggerForDirective, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, Keys, LEFT_RIGHT_PLACE_ANIMATION, LabelledValueComponent, ListPlaceNavComponent, ListPropertyColumnModel, LoadableComponent, LoadingContainerComponent, MarkdownComponent, MarkdownService, ModalActivityTriggerComponent, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NotAuthorisedNoticeComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, ParameterSanitiser, PasswordInputComponent, Place, PlaceAccessGuard, PlaceAuthService, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, ResizeObserverDirective, RouteId, ScrollContainerComponent, SearchInputComponent, SectionHeaderComponent, SelectInputActivity, SelectInputComponent, SelectionCellComponent, SelectionColumnModel, SelectionHeaderCellComponent, SeparatorComponent, SidePlaceNavigationComponent, SlideDownInteractionContextComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableActionColumnComponent, TableBodyComponent, TableCellComponent, TableComponent, TableCustomMoreMenuComponent, TableCustomMoreMenuPopupComponent, TableFilterModel, TableFooterRow, TableHeaderCellComponent, TableModel, TableRowAttributesDirective, TemplateCellRendererPortalRef, TextInputComponent, TextSearchContext, ToolBarComponent, Track, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSegment, VisitSegmentSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, markdownPillExtension, slideDownAndRightOnEnterAnimation, slideDownOnEnterAnimation, slideDownWhenOpenAnimation, slideRightOnEnterAnimation, treeNodeDecorator };
13091
13275
  //# sourceMappingURL=coolon-angular-ui-powerups.mjs.map