@coolon/angular-ui-powerups 16.1.0-aplpha.77 → 16.1.0-aplpha.79
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.
- package/esm2022/lib/animations/slide-animations.mjs +6 -1
- package/esm2022/lib/components/components.module.mjs +4 -2
- package/esm2022/lib/components/tables/abstract-table-model.mjs +18 -1
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +26 -4
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +28 -11
- package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +3 -3
- package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +129 -0
- package/esm2022/lib/interaction/exports.mjs +2 -1
- package/esm2022/lib/interaction/interaction.module.mjs +7 -2
- package/fesm2022/coolon-angular-ui-powerups.mjs +257 -69
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/animations/slide-animations.d.ts +1 -0
- package/lib/components/components.module.d.ts +33 -33
- package/lib/components/tables/abstract-table-model.d.ts +3 -0
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +9 -1
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +7 -3
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +1 -1
- package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +53 -0
- package/lib/interaction/exports.d.ts +1 -0
- package/lib/interaction/interaction.module.d.ts +33 -32
- package/package.json +2 -2
|
@@ -62,10 +62,10 @@ import * as i1$4 from '@angular/router';
|
|
|
62
62
|
import { ActivatedRouteSnapshot, UrlSegment, NavigationStart, NavigationEnd, NavigationError, NavigationCancel, RouterModule } from '@angular/router';
|
|
63
63
|
import 'reflect-metadata';
|
|
64
64
|
import * as i1$5 from '@angular/cdk/overlay';
|
|
65
|
+
import { style, trigger, transition, animate, group, query } from '@angular/animations';
|
|
65
66
|
import { MatCardModule } from '@angular/material/card';
|
|
66
67
|
import * as i3$3 from '@angular/material/list';
|
|
67
68
|
import { MatListModule } from '@angular/material/list';
|
|
68
|
-
import { style, query, group, animate, trigger, transition } from '@angular/animations';
|
|
69
69
|
|
|
70
70
|
class CommandDirective extends GarbageCollector {
|
|
71
71
|
elementRef;
|
|
@@ -4102,6 +4102,14 @@ class RowClass {
|
|
|
4102
4102
|
this.matches = matches;
|
|
4103
4103
|
}
|
|
4104
4104
|
}
|
|
4105
|
+
class RowAttribute {
|
|
4106
|
+
attributeName;
|
|
4107
|
+
getValue;
|
|
4108
|
+
constructor(attributeName, getValue) {
|
|
4109
|
+
this.attributeName = attributeName;
|
|
4110
|
+
this.getValue = getValue;
|
|
4111
|
+
}
|
|
4112
|
+
}
|
|
4105
4113
|
class AbstractTableModel extends GarbageCollector {
|
|
4106
4114
|
_dataSource$ = this.registerDisposable(new DelegatingListModel());
|
|
4107
4115
|
_filteredRows$ = this.registerDisposable(new DelegatingListModel());
|
|
@@ -4112,6 +4120,7 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
4112
4120
|
saveCommandFactory;
|
|
4113
4121
|
_editorSessionByRowId;
|
|
4114
4122
|
rowClassNamePredicates = [];
|
|
4123
|
+
rowAttributeGenerators = [];
|
|
4115
4124
|
_columnTextPropertiesLookup;
|
|
4116
4125
|
editing$;
|
|
4117
4126
|
firstEditableColumn$;
|
|
@@ -4280,6 +4289,9 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
4280
4289
|
addRowClass(className, predicate) {
|
|
4281
4290
|
this.rowClassNamePredicates.push(new RowClass(className, predicate));
|
|
4282
4291
|
}
|
|
4292
|
+
addRowAttribute(attributeName, getValue) {
|
|
4293
|
+
this.rowAttributeGenerators.push(new RowAttribute(attributeName, getValue));
|
|
4294
|
+
}
|
|
4283
4295
|
getRowClasses(row) {
|
|
4284
4296
|
const classNames = [];
|
|
4285
4297
|
this.rowClassNamePredicates.forEach(i => {
|
|
@@ -4289,6 +4301,11 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
4289
4301
|
});
|
|
4290
4302
|
return classNames;
|
|
4291
4303
|
}
|
|
4304
|
+
getRowAttributes(row) {
|
|
4305
|
+
return this.rowAttributeGenerators.reduce((result, generator) => {
|
|
4306
|
+
return { ...result, [generator.attributeName]: generator.getValue(row) };
|
|
4307
|
+
}, {});
|
|
4308
|
+
}
|
|
4292
4309
|
addColumn(column, position) {
|
|
4293
4310
|
return this.columnManager.addColumn(column, position);
|
|
4294
4311
|
}
|
|
@@ -4570,6 +4587,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
4570
4587
|
//
|
|
4571
4588
|
// }
|
|
4572
4589
|
const AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER = new InjectionToken("AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER");
|
|
4590
|
+
class TableRowAttributesDirective {
|
|
4591
|
+
elementRef;
|
|
4592
|
+
aupTableRowAttributes;
|
|
4593
|
+
constructor(elementRef) {
|
|
4594
|
+
this.elementRef = elementRef;
|
|
4595
|
+
}
|
|
4596
|
+
ngOnInit() {
|
|
4597
|
+
for (const attr in this.aupTableRowAttributes) {
|
|
4598
|
+
this.elementRef.nativeElement.setAttribute(attr, this.aupTableRowAttributes[attr]);
|
|
4599
|
+
}
|
|
4600
|
+
}
|
|
4601
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TableRowAttributesDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4602
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: TableRowAttributesDirective, selector: "[aupTableRowAttributes]", inputs: { aupTableRowAttributes: "aupTableRowAttributes" }, ngImport: i0 });
|
|
4603
|
+
}
|
|
4604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TableRowAttributesDirective, decorators: [{
|
|
4605
|
+
type: Directive,
|
|
4606
|
+
args: [{
|
|
4607
|
+
selector: "[aupTableRowAttributes]",
|
|
4608
|
+
}]
|
|
4609
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { aupTableRowAttributes: [{
|
|
4610
|
+
type: Input
|
|
4611
|
+
}] } });
|
|
4573
4612
|
class TableBodyComponent extends ResizeAwareComponent {
|
|
4574
4613
|
bufferMultiplier;
|
|
4575
4614
|
#data$_accessor_storage = proxify((ListModel));
|
|
@@ -4678,7 +4717,7 @@ class TableBodyComponent extends ResizeAwareComponent {
|
|
|
4678
4717
|
}, waitMillis);
|
|
4679
4718
|
}
|
|
4680
4719
|
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 });
|
|
4681
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TableBodyComponent, selector: "aup-table-body", inputs: { data$: "data$", tableModel: "tableModel", showHeader$: "showHeader$", showHeader: "showHeader", trackBy: "trackBy", scrollMode$: "scrollMode$", scrollMode: "scrollMode" }, host: { properties: { "attr.scrollMode": "this.scrollMode", "class": "this.baseCssClass", "class.hide-header": "this.hideHeader" } }, 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]=\"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 [editSession]=\"$any(tableModel.getEditSessionFor(row))\"\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 [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n </table>\n</div>\n\n<cdk-virtual-scroll-viewport *ngIf=\"scrollMode$.value === 'virtual'\"\n [tvsItemSize]=\"rowHeight$.value\" [headerHeight]=\"headerHeight$.value\" [bufferMultiplier]=\"bufferMultiplier\">\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 [editSession]=\"$any(tableModel.getEditSessionFor(row))\"\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 [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n </table>\n</cdk-virtual-scroll-viewport>\n\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host[scrollMode=virtual] cdk-virtual-scroll-viewport{flex:1}: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$6.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i2$6.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2$6.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i2$6.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i2$6.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2$6.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i2$6.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2$6.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i2$6.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i2$6.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i1$2.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "directive", type: i4$5.TableItemSizeDirective, selector: "cdk-virtual-scroll-viewport[tvsItemSize]", inputs: ["tvsItemSize", "headerEnabled", "headerHeight", "footerEnabled", "footerHeight", "bufferMultiplier"] }, { kind: "component", type: TableCellComponent, selector: "aup-table-cell", inputs: ["row", "column", "editSession", "tableModel"] }, { kind: "component", type: TableHeaderCellComponent, selector: "aup-table-header-cell", inputs: ["column"] }] });
|
|
4720
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TableBodyComponent, selector: "aup-table-body", inputs: { data$: "data$", tableModel: "tableModel", showHeader$: "showHeader$", showHeader: "showHeader", trackBy: "trackBy", scrollMode$: "scrollMode$", scrollMode: "scrollMode" }, host: { properties: { "attr.scrollMode": "this.scrollMode", "class": "this.baseCssClass", "class.hide-header": "this.hideHeader" } }, 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]=\"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 [editSession]=\"$any(tableModel.getEditSessionFor(row))\"\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 </table>\n</div>\n\n<cdk-virtual-scroll-viewport *ngIf=\"scrollMode$.value === 'virtual'\"\n [tvsItemSize]=\"rowHeight$.value\" [headerHeight]=\"headerHeight$.value\" [bufferMultiplier]=\"bufferMultiplier\">\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 [editSession]=\"$any(tableModel.getEditSessionFor(row))\"\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 </table>\n</cdk-virtual-scroll-viewport>\n\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host[scrollMode=virtual] cdk-virtual-scroll-viewport{flex:1}: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$6.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i2$6.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2$6.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i2$6.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i2$6.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2$6.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i2$6.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2$6.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i2$6.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i2$6.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i1$2.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "directive", type: i4$5.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", "editSession", "tableModel"] }, { kind: "component", type: TableHeaderCellComponent, selector: "aup-table-header-cell", inputs: ["column"] }] });
|
|
4682
4721
|
}
|
|
4683
4722
|
__decorate([
|
|
4684
4723
|
Proxify(),
|
|
@@ -4706,7 +4745,7 @@ __decorate([
|
|
|
4706
4745
|
], TableBodyComponent.prototype, "scrollMode", null);
|
|
4707
4746
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TableBodyComponent, decorators: [{
|
|
4708
4747
|
type: Component,
|
|
4709
|
-
args: [{ selector: "aup-table-body", 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]=\"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 [editSession]=\"$any(tableModel.getEditSessionFor(row))\"\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 [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n </table>\n</div>\n\n<cdk-virtual-scroll-viewport *ngIf=\"scrollMode$.value === 'virtual'\"\n [tvsItemSize]=\"rowHeight$.value\" [headerHeight]=\"headerHeight$.value\" [bufferMultiplier]=\"bufferMultiplier\">\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 [editSession]=\"$any(tableModel.getEditSessionFor(row))\"\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 [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n </table>\n</cdk-virtual-scroll-viewport>\n\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host[scrollMode=virtual] cdk-virtual-scroll-viewport{flex:1}: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"] }]
|
|
4748
|
+
args: [{ selector: "aup-table-body", 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]=\"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 [editSession]=\"$any(tableModel.getEditSessionFor(row))\"\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 </table>\n</div>\n\n<cdk-virtual-scroll-viewport *ngIf=\"scrollMode$.value === 'virtual'\"\n [tvsItemSize]=\"rowHeight$.value\" [headerHeight]=\"headerHeight$.value\" [bufferMultiplier]=\"bufferMultiplier\">\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 [editSession]=\"$any(tableModel.getEditSessionFor(row))\"\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 </table>\n</cdk-virtual-scroll-viewport>\n\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host table{width:100%}:host[scrollMode=virtual] cdk-virtual-scroll-viewport{flex:1}: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"] }]
|
|
4710
4749
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4711
4750
|
type: Inject,
|
|
4712
4751
|
args: [AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER]
|
|
@@ -5975,6 +6014,7 @@ class ComponentsModule {
|
|
|
5975
6014
|
FocusableComponent,
|
|
5976
6015
|
CardContainerComponent,
|
|
5977
6016
|
TableComponent,
|
|
6017
|
+
TableRowAttributesDirective,
|
|
5978
6018
|
EditRowControlsComponent,
|
|
5979
6019
|
ColumnTemplateDirective,
|
|
5980
6020
|
DefaultCellRendererComponent,
|
|
@@ -6145,6 +6185,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
6145
6185
|
FocusableComponent,
|
|
6146
6186
|
CardContainerComponent,
|
|
6147
6187
|
TableComponent,
|
|
6188
|
+
TableRowAttributesDirective,
|
|
6148
6189
|
EditRowControlsComponent,
|
|
6149
6190
|
ColumnTemplateDirective,
|
|
6150
6191
|
DefaultCellRendererComponent,
|
|
@@ -9453,6 +9494,7 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
9453
9494
|
tabs;
|
|
9454
9495
|
activityOutlets;
|
|
9455
9496
|
activityRefs = [];
|
|
9497
|
+
animationDuration = "500ms";
|
|
9456
9498
|
_identifier;
|
|
9457
9499
|
_deferredCleanUp;
|
|
9458
9500
|
interactionServiceApi;
|
|
@@ -9465,6 +9507,7 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
9465
9507
|
busy = this.registerDisposable(new DelegatingValueModel().withDefault(false));
|
|
9466
9508
|
syncTabsJob = undefined;
|
|
9467
9509
|
stable$;
|
|
9510
|
+
wasActive = false;
|
|
9468
9511
|
constructor(placeRouter) {
|
|
9469
9512
|
super();
|
|
9470
9513
|
this.placeRouter = placeRouter;
|
|
@@ -9501,7 +9544,12 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
9501
9544
|
* Returns true if an activity is currently running.
|
|
9502
9545
|
*/
|
|
9503
9546
|
isActive() {
|
|
9504
|
-
|
|
9547
|
+
const isActive = this.getActiveActivityCount() > 0;
|
|
9548
|
+
// if (this.wasActive !== isActive) {
|
|
9549
|
+
// console.log({was: this.wasActive, is: isActive});
|
|
9550
|
+
// }
|
|
9551
|
+
// this.wasActive = isActive
|
|
9552
|
+
return isActive;
|
|
9505
9553
|
}
|
|
9506
9554
|
registerDisposable(disposable) {
|
|
9507
9555
|
return this.garbage.registerDisposable(disposable);
|
|
@@ -9584,7 +9632,7 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
9584
9632
|
// by activity index)
|
|
9585
9633
|
setTimeout(() => {
|
|
9586
9634
|
this.activityRefs = []; // we have to do it after the animation timeout or the activity disappears before the animatin finsihes
|
|
9587
|
-
}, this.
|
|
9635
|
+
}, this.getTabAnimationDurationInMillis());
|
|
9588
9636
|
const promise = this.interactionServiceApi.notifyFinished(this);
|
|
9589
9637
|
this._deferredCleanUp = promise
|
|
9590
9638
|
.finally(() => {
|
|
@@ -9610,7 +9658,6 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
9610
9658
|
/**
|
|
9611
9659
|
* Synchronises the selected tab index.
|
|
9612
9660
|
*/
|
|
9613
|
-
// @Trace()
|
|
9614
9661
|
synchroniseSelectedTabIndex() {
|
|
9615
9662
|
assert.isTruthy(this.isActive());
|
|
9616
9663
|
const previousIndex = this.tabs.selectedIndex;
|
|
@@ -9622,10 +9669,10 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
9622
9669
|
activityRef.setFocused(false);
|
|
9623
9670
|
this.busy.setDelegate(activityRef.activityBusy);
|
|
9624
9671
|
this.tabs.selectedIndex = newIndex;
|
|
9625
|
-
if (this.ready$.value) {
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
}
|
|
9672
|
+
// if (this.ready$.value) {
|
|
9673
|
+
// // Note: We're not using the animation done event as it's firing almost immeadiately.
|
|
9674
|
+
// setTimeout(() => this.finaliseActivityStates(), animate ? this.getTabAnimationDurationInMillis() : 0);
|
|
9675
|
+
// }
|
|
9629
9676
|
}
|
|
9630
9677
|
}
|
|
9631
9678
|
finaliseActivityStates() {
|
|
@@ -9639,7 +9686,12 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
9639
9686
|
return this.activityOutlets.toArray()[this.tabs.selectedIndex];
|
|
9640
9687
|
}
|
|
9641
9688
|
getTabAnimationDuration() {
|
|
9642
|
-
const
|
|
9689
|
+
// const s = this._started$.value ? this.animationDuration : "0";
|
|
9690
|
+
// return s
|
|
9691
|
+
return this.animationDuration;
|
|
9692
|
+
}
|
|
9693
|
+
getTabAnimationDurationInMillis() {
|
|
9694
|
+
const match = this.animationDuration.match(/(\d+)(.*)/);
|
|
9643
9695
|
const numericValue = parseFloat(match[1]);
|
|
9644
9696
|
switch (match[2].trim()) {
|
|
9645
9697
|
case "ms":
|
|
@@ -9665,12 +9717,16 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
9665
9717
|
}
|
|
9666
9718
|
}, 75);
|
|
9667
9719
|
}
|
|
9720
|
+
onAnimationDone() {
|
|
9721
|
+
this._started$.value = true;
|
|
9722
|
+
this.finaliseActivityStates();
|
|
9723
|
+
}
|
|
9668
9724
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ActivityContainerComponent, deps: [{ token: PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
|
|
9669
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ActivityContainerComponent, selector: "aup-activity-container", inputs: { dynamicHeight: "dynamicHeight" }, viewQueries: [{ propertyName: "tabs", first: true, predicate: ["tabs"], descendants: true, static: true }, { propertyName: "activityOutlets", predicate: ActivityOutletComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busy$]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}.activity-outlet-wrapper{flex:1}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3$1.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i3$1.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: BusyOverlayComponent, selector: "aup-busy-overlay", inputs: ["busy$", "busy"] }, { kind: "directive", type: i5$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: ActivityOutletComponent, selector: "aup-activity-outlet", inputs: ["nestedInteractionContext", "activityRef"] }] });
|
|
9725
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ActivityContainerComponent, selector: "aup-activity-container", inputs: { dynamicHeight: "dynamicHeight", animationDuration: "animationDuration" }, viewQueries: [{ propertyName: "tabs", first: true, predicate: ["tabs"], descendants: true, static: true }, { propertyName: "activityOutlets", predicate: ActivityOutletComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\"\n [animationDuration]=\"getTabAnimationDuration()\"\n (animationDone)=\"onAnimationDone()\"\n>\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busy$]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}.activity-outlet-wrapper{flex:1}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3$1.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i3$1.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: BusyOverlayComponent, selector: "aup-busy-overlay", inputs: ["busy$", "busy"] }, { kind: "directive", type: i5$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: ActivityOutletComponent, selector: "aup-activity-outlet", inputs: ["nestedInteractionContext", "activityRef"] }] });
|
|
9670
9726
|
}
|
|
9671
9727
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ActivityContainerComponent, decorators: [{
|
|
9672
9728
|
type: Component,
|
|
9673
|
-
args: [{ selector: "aup-activity-container", template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busy$]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}.activity-outlet-wrapper{flex:1}\n"] }]
|
|
9729
|
+
args: [{ selector: "aup-activity-container", template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\"\n [animationDuration]=\"getTabAnimationDuration()\"\n (animationDone)=\"onAnimationDone()\"\n>\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busy$]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}.activity-outlet-wrapper{flex:1}\n"] }]
|
|
9674
9730
|
}], ctorParameters: function () { return [{ type: PlaceRouter }]; }, propDecorators: { dynamicHeight: [{
|
|
9675
9731
|
type: Input
|
|
9676
9732
|
}], tabs: [{
|
|
@@ -9679,6 +9735,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
9679
9735
|
}], activityOutlets: [{
|
|
9680
9736
|
type: ViewChildren,
|
|
9681
9737
|
args: [ActivityOutletComponent]
|
|
9738
|
+
}], animationDuration: [{
|
|
9739
|
+
type: Input
|
|
9682
9740
|
}] } });
|
|
9683
9741
|
|
|
9684
9742
|
class AbstractActivityTriggerComponent extends DisposableComponent {
|
|
@@ -9779,14 +9837,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
9779
9837
|
args: ['class.active']
|
|
9780
9838
|
}] } });
|
|
9781
9839
|
|
|
9782
|
-
const cssDurationRegex = /(\d+)(m?s)/;
|
|
9840
|
+
const cssDurationRegex$1 = /(\d+)(m?s)/;
|
|
9783
9841
|
/**
|
|
9784
9842
|
* @example
|
|
9785
9843
|
* <aup-in-place-interaction-context #inPlaceInteractionContext>
|
|
9786
9844
|
* </aup-in-place-interaction-context>
|
|
9787
9845
|
*
|
|
9788
9846
|
* in your component
|
|
9789
|
-
* @ViewChild(
|
|
9847
|
+
* @ViewChild(InPlaceInteractionContextComponent)
|
|
9790
9848
|
* interactionContext: InteractionContext;
|
|
9791
9849
|
*
|
|
9792
9850
|
*
|
|
@@ -9809,7 +9867,7 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
9809
9867
|
return this.animateFirstActivity ? (this.tabConfig?.animationDuration || "500ms") : "0ms";
|
|
9810
9868
|
}
|
|
9811
9869
|
get animationDurationMillis() {
|
|
9812
|
-
const result = cssDurationRegex.exec(this.animationDuration);
|
|
9870
|
+
const result = cssDurationRegex$1.exec(this.animationDuration);
|
|
9813
9871
|
if (!result) {
|
|
9814
9872
|
lang.illegalState(`unsupported css duration: ${this.animationDuration}`);
|
|
9815
9873
|
}
|
|
@@ -9882,7 +9940,7 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
9882
9940
|
}
|
|
9883
9941
|
}
|
|
9884
9942
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: InPlaceInteractionContextComponent, deps: [{ token: MAT_TABS_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
9885
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: { animateFirstActivity: "animateFirstActivity", syncWithRoutes: "syncWithRoutes" }, host: { properties: { "class.active": "this.active" } }, viewQueries: [{ propertyName: "activityContainerComponent", first: true, predicate: ["activityContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs\n (selectedTabChange)=\"onTabChanged($event)\"\n [dynamicHeight]=\"false\"\n [animationDuration]=\"animationDuration\">\n <mat-tab>\n <ng-content></ng-content>\n </mat-tab>\n <mat-tab>\n <aup-activity-container #activityContainer [dynamicHeight]=\"false\"></aup-activity-container>\n </mat-tab>\n</mat-tab-group>\n\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-activity-container{flex:1}\n"], dependencies: [{ kind: "component", type: i3$1.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i3$1.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: ActivityContainerComponent, selector: "aup-activity-container", inputs: ["dynamicHeight"] }] });
|
|
9943
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: { animateFirstActivity: "animateFirstActivity", syncWithRoutes: "syncWithRoutes" }, host: { properties: { "class.active": "this.active" } }, viewQueries: [{ propertyName: "activityContainerComponent", first: true, predicate: ["activityContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs\n (selectedTabChange)=\"onTabChanged($event)\"\n [dynamicHeight]=\"false\"\n [animationDuration]=\"animationDuration\">\n <mat-tab>\n <ng-content></ng-content>\n </mat-tab>\n <mat-tab>\n <aup-activity-container #activityContainer [dynamicHeight]=\"false\"></aup-activity-container>\n </mat-tab>\n</mat-tab-group>\n\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-activity-container{flex:1}\n"], dependencies: [{ kind: "component", type: i3$1.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i3$1.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: ActivityContainerComponent, selector: "aup-activity-container", inputs: ["dynamicHeight", "animationDuration"] }] });
|
|
9886
9944
|
}
|
|
9887
9945
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: InPlaceInteractionContextComponent, decorators: [{
|
|
9888
9946
|
type: Component,
|
|
@@ -10672,6 +10730,182 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
10672
10730
|
}]
|
|
10673
10731
|
}] });
|
|
10674
10732
|
|
|
10733
|
+
const slideDownOnEnterDef = style({
|
|
10734
|
+
opacity: 0,
|
|
10735
|
+
'height': '0',
|
|
10736
|
+
'max-height': '0',
|
|
10737
|
+
paddingTop: '0',
|
|
10738
|
+
paddingBottom: '0'
|
|
10739
|
+
});
|
|
10740
|
+
// TODO: params aren't getting customised in the view. Need to figure out the correct approach.
|
|
10741
|
+
const slideDownOnEnterAnimation = trigger('slideDownOnEnter', [
|
|
10742
|
+
transition(':enter', [slideDownOnEnterDef, animate('{{duration}}')], { params: { duration: '100ms' } }),
|
|
10743
|
+
transition(':leave', [animate('{{duration}}', slideDownOnEnterDef)], { params: { duration: '100ms' } })
|
|
10744
|
+
]);
|
|
10745
|
+
const slideDownWhenOpenAnimation = trigger('slideDownWhenOpen', [
|
|
10746
|
+
transition('closed => open', [slideDownOnEnterDef, animate('{{duration}}')], { params: { duration: '100ms' } }),
|
|
10747
|
+
transition('open => closed', [animate('{{duration}}', slideDownOnEnterDef)], { params: { duration: '100ms' } })
|
|
10748
|
+
]);
|
|
10749
|
+
const slideLeftOnEnterDef = style({
|
|
10750
|
+
opacity: 0,
|
|
10751
|
+
'width': '0',
|
|
10752
|
+
paddingLeft: '0',
|
|
10753
|
+
paddingRight: '0'
|
|
10754
|
+
});
|
|
10755
|
+
const slideRightOnEnterAnimation = trigger('slideRightOnEnter', [
|
|
10756
|
+
transition(':enter', [slideLeftOnEnterDef, animate('{{duration}}')], { params: { duration: '100ms' } }),
|
|
10757
|
+
transition(':leave', [animate('{{duration}}', slideLeftOnEnterDef)], { params: { duration: '100ms' } })
|
|
10758
|
+
]);
|
|
10759
|
+
const ZERO_WIDTH = {
|
|
10760
|
+
opacity: 0,
|
|
10761
|
+
width: '0',
|
|
10762
|
+
paddingLeft: '0',
|
|
10763
|
+
paddingRight: '0',
|
|
10764
|
+
};
|
|
10765
|
+
const ZERO_HEIGHT = {
|
|
10766
|
+
opacity: 0,
|
|
10767
|
+
height: '0',
|
|
10768
|
+
paddingTop: '0',
|
|
10769
|
+
paddingBottom: '0',
|
|
10770
|
+
};
|
|
10771
|
+
const slideDownAndRightOnEnterAnimation = trigger('slideDownAndRightOnEnter', [
|
|
10772
|
+
transition(':enter', [
|
|
10773
|
+
style({ overflow: "hidden", whiteSpace: "nowrap", ...ZERO_WIDTH, ...ZERO_HEIGHT }),
|
|
10774
|
+
animate('{{duration}}')
|
|
10775
|
+
], { params: { duration: '100ms' } }),
|
|
10776
|
+
transition(':leave', [
|
|
10777
|
+
style({ overflow: "hidden", whiteSpace: "nowrap" }),
|
|
10778
|
+
group([
|
|
10779
|
+
animate('{{duration}}', style(ZERO_HEIGHT)),
|
|
10780
|
+
// Hack: 100ms is too quick as it animates from * - 0 as we only see it animate the width is greater than the parent.
|
|
10781
|
+
// Not sure how to animate from * to natural new width of parent. This hack won't work for text that's just a little
|
|
10782
|
+
// bit wider than the parent as it'll fall within the parent bounds very early in the animation cycle.
|
|
10783
|
+
animate('300ms', style(ZERO_WIDTH)),
|
|
10784
|
+
])
|
|
10785
|
+
], { params: { duration: '100ms' } })
|
|
10786
|
+
]);
|
|
10787
|
+
|
|
10788
|
+
const cssDurationRegex = /(\d+)(m?s)/;
|
|
10789
|
+
/**
|
|
10790
|
+
* This interaction context remains hidden (height: 0) until it is active.
|
|
10791
|
+
* @example
|
|
10792
|
+
* <aup-slide-down-interaction-context #inPlaceInteractionContext>
|
|
10793
|
+
* </aup-slide-down-interaction-context>
|
|
10794
|
+
*
|
|
10795
|
+
* in your component
|
|
10796
|
+
* @ViewChild(SlideDownInteractionContextComponent)
|
|
10797
|
+
* interactionContext: InteractionContext;
|
|
10798
|
+
*
|
|
10799
|
+
*
|
|
10800
|
+
*/
|
|
10801
|
+
class SlideDownInteractionContextComponent extends DisposableComponent {
|
|
10802
|
+
tabConfig;
|
|
10803
|
+
activityContainerComponent;
|
|
10804
|
+
// NOTE: disabling this as I'm using the initialise callback to release the hacky height clamp.
|
|
10805
|
+
// The whole registration thing is a bit naf so I should really clean that up at some point.
|
|
10806
|
+
// /**
|
|
10807
|
+
// * If true the activity will sync with the router to enable back button support. This is a work around for
|
|
10808
|
+
// * deeply nested activities that can't be linked with the root place interactionContext hook for cancelling
|
|
10809
|
+
// * active interactions.
|
|
10810
|
+
// */
|
|
10811
|
+
// @Input()
|
|
10812
|
+
// syncWithRoutes = true;
|
|
10813
|
+
dynamicHeight = true;
|
|
10814
|
+
get active() {
|
|
10815
|
+
return this.isActive();
|
|
10816
|
+
}
|
|
10817
|
+
// Horrible hack to stop the div and activity container bouncing back for a bit in after closing. No idea why it's doing that.
|
|
10818
|
+
clampShut = true;
|
|
10819
|
+
interactionService = this.inject(InteractionService);
|
|
10820
|
+
constructor(tabConfig) {
|
|
10821
|
+
super();
|
|
10822
|
+
this.tabConfig = tabConfig;
|
|
10823
|
+
}
|
|
10824
|
+
ngAfterViewInit() {
|
|
10825
|
+
// NOTE: this is a temp work around to detach inplace contexts from the router until AUP-88 is implemented.
|
|
10826
|
+
// https://coolon.atlassian.net/browse/AUP-88?atlOrigin=eyJpIjoiOTg5YjEzZGUzZjRmNDg0NmExOWU3ZGJmMzJiNTRmNGYiLCJwIjoiaiJ9
|
|
10827
|
+
const self = this;
|
|
10828
|
+
this.activityContainerComponent.initialise("dont-care", {
|
|
10829
|
+
async notifyActive(interactionContext) {
|
|
10830
|
+
self.clampShut = false;
|
|
10831
|
+
return undefined;
|
|
10832
|
+
},
|
|
10833
|
+
async notifyFinished(interactionContext) {
|
|
10834
|
+
return undefined;
|
|
10835
|
+
}
|
|
10836
|
+
});
|
|
10837
|
+
// if (this.syncWithRoutes) {
|
|
10838
|
+
// this.interactionService.registerInplaceInteractionContext(this);
|
|
10839
|
+
// }
|
|
10840
|
+
}
|
|
10841
|
+
getAnimationState() {
|
|
10842
|
+
return {
|
|
10843
|
+
value: this.isActive() ? "open" : "closed",
|
|
10844
|
+
params: { duration: "200ms" }
|
|
10845
|
+
};
|
|
10846
|
+
}
|
|
10847
|
+
// this is a regsitration callback from the interaction service
|
|
10848
|
+
// @Trace() // webstorm says no usages... but I'm not sure.
|
|
10849
|
+
onInplaceInteractionContextRegistered(id, api) {
|
|
10850
|
+
this.activityContainerComponent.initialise(id, api);
|
|
10851
|
+
}
|
|
10852
|
+
get identifier() {
|
|
10853
|
+
return this.activityContainerComponent.identifier;
|
|
10854
|
+
}
|
|
10855
|
+
alert(alert) {
|
|
10856
|
+
return this.activityContainerComponent.alert(alert);
|
|
10857
|
+
}
|
|
10858
|
+
cancelActiveActivity() {
|
|
10859
|
+
return this.activityContainerComponent.cancelActiveActivity();
|
|
10860
|
+
}
|
|
10861
|
+
confirm(confirm) {
|
|
10862
|
+
return this.activityContainerComponent.confirm(confirm);
|
|
10863
|
+
}
|
|
10864
|
+
confirmOrReject(confirm) {
|
|
10865
|
+
return this.activityContainerComponent.confirmOrReject(confirm);
|
|
10866
|
+
}
|
|
10867
|
+
confirmThen(confirm, activityType, data) {
|
|
10868
|
+
return this.activityContainerComponent.confirmThen(confirm, activityType);
|
|
10869
|
+
}
|
|
10870
|
+
confirmThenExecute(confirm, operation) {
|
|
10871
|
+
return this.activityContainerComponent.confirmThenExecute(confirm, operation);
|
|
10872
|
+
}
|
|
10873
|
+
isActive() {
|
|
10874
|
+
return this.activityContainerComponent.isActive();
|
|
10875
|
+
}
|
|
10876
|
+
startActivity(activityType, data, options) {
|
|
10877
|
+
return this.activityContainerComponent.startActivity(activityType, data, options);
|
|
10878
|
+
}
|
|
10879
|
+
onAnimationDone() {
|
|
10880
|
+
if (!this.isActive()) {
|
|
10881
|
+
this.clampShut = true;
|
|
10882
|
+
}
|
|
10883
|
+
}
|
|
10884
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SlideDownInteractionContextComponent, deps: [{ token: MAT_TABS_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
10885
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: SlideDownInteractionContextComponent, selector: "aup-slide-down-interaction-context", inputs: { dynamicHeight: "dynamicHeight" }, host: { properties: { "class.active": "this.active" } }, viewQueries: [{ propertyName: "activityContainerComponent", first: true, predicate: ["activityContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div [@slideDownWhenOpen]=\"getAnimationState()\" (@slideDownWhenOpen.done)=\"onAnimationDone()\" [style.max-height.px]=\"clampShut ? 0 : undefined\">\n <aup-activity-container #activityContainer [dynamicHeight]=\"dynamicHeight\"></aup-activity-container>\n</div>\n\n", styles: [":host{display:flex;flex-direction:column}:host>div{overflow:hidden}\n"], dependencies: [{ kind: "component", type: ActivityContainerComponent, selector: "aup-activity-container", inputs: ["dynamicHeight", "animationDuration"] }], animations: [
|
|
10886
|
+
slideDownWhenOpenAnimation
|
|
10887
|
+
] });
|
|
10888
|
+
}
|
|
10889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SlideDownInteractionContextComponent, decorators: [{
|
|
10890
|
+
type: Component,
|
|
10891
|
+
args: [{ selector: "aup-slide-down-interaction-context", animations: [
|
|
10892
|
+
slideDownWhenOpenAnimation
|
|
10893
|
+
], template: "<div [@slideDownWhenOpen]=\"getAnimationState()\" (@slideDownWhenOpen.done)=\"onAnimationDone()\" [style.max-height.px]=\"clampShut ? 0 : undefined\">\n <aup-activity-container #activityContainer [dynamicHeight]=\"dynamicHeight\"></aup-activity-container>\n</div>\n\n", styles: [":host{display:flex;flex-direction:column}:host>div{overflow:hidden}\n"] }]
|
|
10894
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
10895
|
+
type: Inject,
|
|
10896
|
+
args: [MAT_TABS_CONFIG]
|
|
10897
|
+
}, {
|
|
10898
|
+
type: Optional
|
|
10899
|
+
}] }]; }, propDecorators: { activityContainerComponent: [{
|
|
10900
|
+
type: ViewChild,
|
|
10901
|
+
args: ["activityContainer", { static: true }]
|
|
10902
|
+
}], dynamicHeight: [{
|
|
10903
|
+
type: Input
|
|
10904
|
+
}], active: [{
|
|
10905
|
+
type: HostBinding,
|
|
10906
|
+
args: ["class.active"]
|
|
10907
|
+
}] } });
|
|
10908
|
+
|
|
10675
10909
|
class InteractionContextTriggerForDirective extends GarbageCollector {
|
|
10676
10910
|
aupInteractionContextTriggerFor;
|
|
10677
10911
|
activityClass;
|
|
@@ -10754,6 +10988,7 @@ class InteractionModule {
|
|
|
10754
10988
|
AlertDialogComponent,
|
|
10755
10989
|
ActivityOutletComponent,
|
|
10756
10990
|
InPlaceInteractionContextComponent,
|
|
10991
|
+
SlideDownInteractionContextComponent,
|
|
10757
10992
|
AddItemInteractionContextComponent,
|
|
10758
10993
|
ActivityActionsComponent,
|
|
10759
10994
|
PopupInteractionContextComponent,
|
|
@@ -10799,7 +11034,8 @@ class InteractionModule {
|
|
|
10799
11034
|
InlineActivityTriggerComponent,
|
|
10800
11035
|
ModalActivityTriggerComponent,
|
|
10801
11036
|
AddCardActivityComponent,
|
|
10802
|
-
InlineStringEditorComponent
|
|
11037
|
+
InlineStringEditorComponent,
|
|
11038
|
+
SlideDownInteractionContextComponent] });
|
|
10803
11039
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: InteractionModule, providers: [
|
|
10804
11040
|
InteractionService
|
|
10805
11041
|
// {
|
|
@@ -10845,6 +11081,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
10845
11081
|
AlertDialogComponent,
|
|
10846
11082
|
ActivityOutletComponent,
|
|
10847
11083
|
InPlaceInteractionContextComponent,
|
|
11084
|
+
SlideDownInteractionContextComponent,
|
|
10848
11085
|
AddItemInteractionContextComponent,
|
|
10849
11086
|
ActivityActionsComponent,
|
|
10850
11087
|
PopupInteractionContextComponent,
|
|
@@ -10882,6 +11119,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
10882
11119
|
ModalActivityTriggerComponent,
|
|
10883
11120
|
AddCardActivityComponent,
|
|
10884
11121
|
InlineStringEditorComponent,
|
|
11122
|
+
SlideDownInteractionContextComponent,
|
|
10885
11123
|
],
|
|
10886
11124
|
providers: [
|
|
10887
11125
|
InteractionService
|
|
@@ -11576,56 +11814,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
11576
11814
|
}]
|
|
11577
11815
|
}] });
|
|
11578
11816
|
|
|
11579
|
-
const slideDownOnEnterDef = style({
|
|
11580
|
-
opacity: 0,
|
|
11581
|
-
'height': '0',
|
|
11582
|
-
paddingTop: '0',
|
|
11583
|
-
paddingBottom: '0'
|
|
11584
|
-
});
|
|
11585
|
-
// TODO: params aren't getting customised in the view. Need to figure out the correct approach.
|
|
11586
|
-
const slideDownOnEnterAnimation = trigger('slideDownOnEnter', [
|
|
11587
|
-
transition(':enter', [slideDownOnEnterDef, animate('{{duration}}')], { params: { duration: '100ms' } }),
|
|
11588
|
-
transition(':leave', [animate('{{duration}}', slideDownOnEnterDef)], { params: { duration: '100ms' } })
|
|
11589
|
-
]);
|
|
11590
|
-
const slideLeftOnEnterDef = style({
|
|
11591
|
-
opacity: 0,
|
|
11592
|
-
'width': '0',
|
|
11593
|
-
paddingLeft: '0',
|
|
11594
|
-
paddingRight: '0'
|
|
11595
|
-
});
|
|
11596
|
-
const slideRightOnEnterAnimation = trigger('slideRightOnEnter', [
|
|
11597
|
-
transition(':enter', [slideLeftOnEnterDef, animate('{{duration}}')], { params: { duration: '100ms' } }),
|
|
11598
|
-
transition(':leave', [animate('{{duration}}', slideLeftOnEnterDef)], { params: { duration: '100ms' } })
|
|
11599
|
-
]);
|
|
11600
|
-
const ZERO_WIDTH = {
|
|
11601
|
-
opacity: 0,
|
|
11602
|
-
width: '0',
|
|
11603
|
-
paddingLeft: '0',
|
|
11604
|
-
paddingRight: '0',
|
|
11605
|
-
};
|
|
11606
|
-
const ZERO_HEIGHT = {
|
|
11607
|
-
opacity: 0,
|
|
11608
|
-
height: '0',
|
|
11609
|
-
paddingTop: '0',
|
|
11610
|
-
paddingBottom: '0',
|
|
11611
|
-
};
|
|
11612
|
-
const slideDownAndRightOnEnterAnimation = trigger('slideDownAndRightOnEnter', [
|
|
11613
|
-
transition(':enter', [
|
|
11614
|
-
style({ overflow: "hidden", whiteSpace: "nowrap", ...ZERO_WIDTH, ...ZERO_HEIGHT }),
|
|
11615
|
-
animate('{{duration}}')
|
|
11616
|
-
], { params: { duration: '100ms' } }),
|
|
11617
|
-
transition(':leave', [
|
|
11618
|
-
style({ overflow: "hidden", whiteSpace: "nowrap" }),
|
|
11619
|
-
group([
|
|
11620
|
-
animate('{{duration}}', style(ZERO_HEIGHT)),
|
|
11621
|
-
// Hack: 100ms is too quick as it animates from * - 0 as we only see it animate the width is greater than the parent.
|
|
11622
|
-
// Not sure how to animate from * to natural new width of parent. This hack won't work for text that's just a little
|
|
11623
|
-
// bit wider than the parent as it'll fall within the parent bounds very early in the animation cycle.
|
|
11624
|
-
animate('300ms', style(ZERO_WIDTH)),
|
|
11625
|
-
])
|
|
11626
|
-
], { params: { duration: '100ms' } })
|
|
11627
|
-
]);
|
|
11628
|
-
|
|
11629
11817
|
/**
|
|
11630
11818
|
* @file Automatically generated by barrelsby.
|
|
11631
11819
|
*/
|
|
@@ -12200,5 +12388,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
12200
12388
|
* Generated bundle index. Do not edit.
|
|
12201
12389
|
*/
|
|
12202
12390
|
|
|
12203
|
-
export { ACTIVITY_DATA, ALERT_CONFIG, AUP_PLACE_CONFIG, AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractConfirmDialogComponent, AbstractDialogComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnManager, ColumnModel, ColumnOrderManager, ColumnTemplateDirective, ColumnTextSearchFormatter, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmThenExecuteDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControlsComponent, EditSession, EditorControlColumnModel, EmptyStateComponent, EnableCellTextSearch, EventCleanUpSession, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, GarbageCollectorDirective, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InlineEditorModel, InlineStringEditorComponent, InputActivity, 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_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, 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, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableBodyComponent, TableCellComponent, TableComponent, TableFilterModel, TableHeaderCellComponent, TableModel, TableMoreMenuComponent, TableMoreMenuPopupComponent, TableRowMenuComponent, 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, slideRightOnEnterAnimation, treeNodeDecorator };
|
|
12391
|
+
export { ACTIVITY_DATA, ALERT_CONFIG, AUP_PLACE_CONFIG, AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractConfirmDialogComponent, AbstractDialogComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnManager, ColumnModel, ColumnOrderManager, ColumnTemplateDirective, ColumnTextSearchFormatter, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmThenExecuteDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControlsComponent, EditSession, EditorControlColumnModel, EmptyStateComponent, EnableCellTextSearch, EventCleanUpSession, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, GarbageCollectorDirective, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InlineEditorModel, InlineStringEditorComponent, InputActivity, 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_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, 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, TableBodyComponent, TableCellComponent, TableComponent, TableFilterModel, TableHeaderCellComponent, TableModel, TableMoreMenuComponent, TableMoreMenuPopupComponent, TableRowAttributesDirective, TableRowMenuComponent, 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 };
|
|
12204
12392
|
//# sourceMappingURL=coolon-angular-ui-powerups.mjs.map
|