@coolon/angular-ui-powerups 16.1.0-alpha.267 → 16.1.0-alpha.268

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,63 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any -- the row type is the caller's ItemSubForm, which these directives cannot name */
2
+ import { Directive, TemplateRef } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Marks the template rendered as the body of each sub-form row.
6
+ *
7
+ * @example
8
+ * ```html
9
+ * <aup-sub-form-list [list]="levels">
10
+ * <ng-template aupSubFormRow let-row>
11
+ * <aup-string-input label="Name" [dense]="true" [value$]="row.name$"></aup-string-input>
12
+ * </ng-template>
13
+ * </aup-sub-form-list>
14
+ * ```
15
+ */
16
+ export class SubFormRowDirective {
17
+ templateRef;
18
+ constructor(templateRef) {
19
+ this.templateRef = templateRef;
20
+ }
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormRowDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
22
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: SubFormRowDirective, selector: "[aupSubFormRow]", ngImport: i0 });
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormRowDirective, decorators: [{
25
+ type: Directive,
26
+ args: [{ selector: '[aupSubFormRow]' }]
27
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
28
+ /**
29
+ * Replaces the whole per-row action cluster (move up / move down / remove).
30
+ *
31
+ * Reach for this only when the default cluster's *composition* is wrong — an extra per-row command,
32
+ * or a menu instead of buttons. To change how the standard three look, bind `removeFace`,
33
+ * `moveUpFace` and `moveDownFace` instead and keep the layout, gating and drag interop.
34
+ *
35
+ * The commands are on the row sub-form itself (`removeItemCommand`, `moveUpCommand`,
36
+ * `moveDownCommand`), so the context is the same one the row template gets.
37
+ */
38
+ export class SubFormRowActionsDirective {
39
+ templateRef;
40
+ constructor(templateRef) {
41
+ this.templateRef = templateRef;
42
+ }
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormRowActionsDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
44
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: SubFormRowActionsDirective, selector: "[aupSubFormRowActions]", ngImport: i0 });
45
+ }
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormRowActionsDirective, decorators: [{
47
+ type: Directive,
48
+ args: [{ selector: '[aupSubFormRowActions]' }]
49
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
50
+ /** Replaces the default empty state, shown while the list has no rows. */
51
+ export class SubFormListEmptyDirective {
52
+ templateRef;
53
+ constructor(templateRef) {
54
+ this.templateRef = templateRef;
55
+ }
56
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListEmptyDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
57
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: SubFormListEmptyDirective, selector: "[aupSubFormListEmpty]", ngImport: i0 });
58
+ }
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListEmptyDirective, decorators: [{
60
+ type: Directive,
61
+ args: [{ selector: '[aupSubFormListEmpty]' }]
62
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
63
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ViLWZvcm0tcm93LmRpcmVjdGl2ZS5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Uge1xuICBjb25zdHJ1Y3RvcihyZWFkb25seSB0ZW1wbGF0ZVJlZjogVGVtcGxhdGVSZWY8dm9pZD4pIHtcbiAgfVxufVxuIl19
@@ -14,6 +14,8 @@ import { MatSelectModule, MatSelect } from '@angular/material/select';
14
14
  import * as i3$2 from '@angular/material/tabs';
15
15
  import { MatTabsModule, MAT_TABS_CONFIG } from '@angular/material/tabs';
16
16
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
17
+ import * as i2$7 from '@angular/cdk/drag-drop';
18
+ import { DragDropModule } from '@angular/cdk/drag-drop';
17
19
  import * as i1$4 from '@angular/cdk/portal';
18
20
  import { ComponentPortal, TemplatePortal, PortalModule } from '@angular/cdk/portal';
19
21
  import * as i1$2 from '@angular/cdk/scrolling';
@@ -30,11 +32,11 @@ import * as i2$3 from '@angular/material/icon';
30
32
  import { MatIconModule } from '@angular/material/icon';
31
33
  import * as i2$1 from '@angular/material/menu';
32
34
  import { MatMenu, MatMenuTrigger, MatMenuModule } from '@angular/material/menu';
33
- import * as i2$7 from '@angular/material/progress-bar';
35
+ import * as i2$8 from '@angular/material/progress-bar';
34
36
  import { MatProgressBarModule } from '@angular/material/progress-bar';
35
37
  import * as i2$2 from '@angular/material/progress-spinner';
36
38
  import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
37
- import * as i2$8 from '@angular/material/table';
39
+ import * as i2$9 from '@angular/material/table';
38
40
  import { MatTableModule } from '@angular/material/table';
39
41
  import * as i3 from '@angular/material/tooltip';
40
42
  import { MatTooltip, MatTooltipModule } from '@angular/material/tooltip';
@@ -3349,6 +3351,315 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
3349
3351
  type: Input
3350
3352
  }] } });
3351
3353
 
3354
+ /* eslint-disable @typescript-eslint/no-explicit-any -- the row type is the caller's ItemSubForm, which these directives cannot name */
3355
+ /**
3356
+ * Marks the template rendered as the body of each sub-form row.
3357
+ *
3358
+ * @example
3359
+ * ```html
3360
+ * <aup-sub-form-list [list]="levels">
3361
+ * <ng-template aupSubFormRow let-row>
3362
+ * <aup-string-input label="Name" [dense]="true" [value$]="row.name$"></aup-string-input>
3363
+ * </ng-template>
3364
+ * </aup-sub-form-list>
3365
+ * ```
3366
+ */
3367
+ class SubFormRowDirective {
3368
+ templateRef;
3369
+ constructor(templateRef) {
3370
+ this.templateRef = templateRef;
3371
+ }
3372
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormRowDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3373
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: SubFormRowDirective, selector: "[aupSubFormRow]", ngImport: i0 });
3374
+ }
3375
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormRowDirective, decorators: [{
3376
+ type: Directive,
3377
+ args: [{ selector: '[aupSubFormRow]' }]
3378
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3379
+ /**
3380
+ * Replaces the whole per-row action cluster (move up / move down / remove).
3381
+ *
3382
+ * Reach for this only when the default cluster's *composition* is wrong — an extra per-row command,
3383
+ * or a menu instead of buttons. To change how the standard three look, bind `removeFace`,
3384
+ * `moveUpFace` and `moveDownFace` instead and keep the layout, gating and drag interop.
3385
+ *
3386
+ * The commands are on the row sub-form itself (`removeItemCommand`, `moveUpCommand`,
3387
+ * `moveDownCommand`), so the context is the same one the row template gets.
3388
+ */
3389
+ class SubFormRowActionsDirective {
3390
+ templateRef;
3391
+ constructor(templateRef) {
3392
+ this.templateRef = templateRef;
3393
+ }
3394
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormRowActionsDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3395
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: SubFormRowActionsDirective, selector: "[aupSubFormRowActions]", ngImport: i0 });
3396
+ }
3397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormRowActionsDirective, decorators: [{
3398
+ type: Directive,
3399
+ args: [{ selector: '[aupSubFormRowActions]' }]
3400
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3401
+ /** Replaces the default empty state, shown while the list has no rows. */
3402
+ class SubFormListEmptyDirective {
3403
+ templateRef;
3404
+ constructor(templateRef) {
3405
+ this.templateRef = templateRef;
3406
+ }
3407
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListEmptyDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3408
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: SubFormListEmptyDirective, selector: "[aupSubFormListEmpty]", ngImport: i0 });
3409
+ }
3410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListEmptyDirective, decorators: [{
3411
+ type: Directive,
3412
+ args: [{ selector: '[aupSubFormListEmpty]' }]
3413
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3414
+
3415
+ /**
3416
+ * Renders a pectin {@link SubFormList} as a stack of rows, each carrying its own remove and — when
3417
+ * the list is user-ordered — reordering affordances.
3418
+ *
3419
+ * The list already owns the behaviour: one sub-form per array element, per-row `removeItemCommand`
3420
+ * / `moveUpCommand` / `moveDownCommand` gated at the ends, and `move(subForm, toIndex)`. What this
3421
+ * component removes is the boilerplate that was otherwise copied into every consumer — the
3422
+ * `*ngFor` over `subForms$.value`, three hand-wired `aup-command`s per row with hand-held
3423
+ * {@link CommandFace} constants, and the empty state.
3424
+ *
3425
+ * @example
3426
+ * ```html
3427
+ * <aup-sub-form-list [list]="levels" [addCommand]="addLevelCommand" emptyText="No levels">
3428
+ * <ng-template aupSubFormRow let-row>
3429
+ * <aup-string-input label="Name" [dense]="true" [value$]="row.name$"></aup-string-input>
3430
+ * </ng-template>
3431
+ * </aup-sub-form-list>
3432
+ * ```
3433
+ *
3434
+ * Bind `list` once. Re-binding it after init leaves the change-detection wiring pointed at the
3435
+ * previous list, which is not a scenario a form has — the list is built in the component's
3436
+ * constructor and lives as long as the form does.
3437
+ */
3438
+ class SubFormListComponent extends DisposableComponent {
3439
+ list;
3440
+ /**
3441
+ * Which reordering affordances to offer. `AUTO` — the default — resolves to {@link Reorder.BOTH}
3442
+ * for a user-ordered list and {@link Reorder.NONE} otherwise.
3443
+ *
3444
+ * Every mode is additionally gated on `list.reorderable`: asking for drag or buttons on a list
3445
+ * whose order is *derived* (`orderBy`) is refused with a console warning, because the next load
3446
+ * would re-derive the order and silently undo the move.
3447
+ */
3448
+ reorder = SubFormListComponent.Reorder.AUTO;
3449
+ #removable$_accessor_storage = proxify((ValueModel));
3450
+ get removable$() { return this.#removable$_accessor_storage; }
3451
+ set removable$(value) { this.#removable$_accessor_storage = value; }
3452
+ #removable_accessor_storage = true;
3453
+ /** Whether rows can be removed — the seam for permission-gating removal via `removable$`. */
3454
+ get removable() { return this.#removable_accessor_storage; }
3455
+ set removable(value) { this.#removable_accessor_storage = value; }
3456
+ /**
3457
+ * Faces for the default action cluster. They ship icon-only with a tooltip, which is what makes
3458
+ * `aup-command` render them as `mat-icon-button`s; supply text as well to get labelled buttons.
3459
+ * The defaults are English — aup has no i18n, so a localised app overrides them here.
3460
+ */
3461
+ removeFace = SubFormListComponent.DEFAULT_REMOVE_FACE;
3462
+ moveUpFace = SubFormListComponent.DEFAULT_MOVE_UP_FACE;
3463
+ moveDownFace = SubFormListComponent.DEFAULT_MOVE_DOWN_FACE;
3464
+ dragHandleIcon = 'mat:drag_indicator';
3465
+ #addCommand_accessor_storage = proxify(Command);
3466
+ /** Rendered in the footer below the rows. Optional — callers who site their own add button omit it. */
3467
+ get addCommand() { return this.#addCommand_accessor_storage; }
3468
+ set addCommand(value) { this.#addCommand_accessor_storage = value; }
3469
+ /** Shown when the list is empty. Omit both this and an `aupSubFormListEmpty` template for no empty state. */
3470
+ emptyText;
3471
+ dense = false;
3472
+ /**
3473
+ * Gives the row's content the remaining width instead of sizing it to its fields. Off by
3474
+ * default, so a row of dense inputs hugs them rather than stranding the action cluster at the
3475
+ * far edge of the list; turn it on for a row whose single field should span the width.
3476
+ */
3477
+ fill = false;
3478
+ rowTemplate;
3479
+ actionsTemplate;
3480
+ emptyTemplate;
3481
+ /** The array `rows` was last built from — see the comment there. */
3482
+ renderedSource;
3483
+ renderedRows = [];
3484
+ constructor() {
3485
+ super();
3486
+ this.onInit(() => {
3487
+ assert.notNil(this.list, 'aup-sub-form-list [list]');
3488
+ // The list's own models are the only thing that moves the view, so this is what lets the
3489
+ // component work inside a detached/OnPush parent (aup-table and friends).
3490
+ this.viewStateDependsOn(this.list.subForms$, this.list.empty$, this.list.listErrors$);
3491
+ this.warnAboutUnsupportedReordering();
3492
+ });
3493
+ }
3494
+ /**
3495
+ * The row contexts, rebuilt only when the list's shape changes.
3496
+ *
3497
+ * `subForms$` publishes a fresh array on every membership/order change and never otherwise, so
3498
+ * array identity is an exact shape-change signal. Memoising on it keeps the context objects
3499
+ * stable across the change-detection passes a keystroke causes, which stops `ngTemplateOutlet`
3500
+ * from churning the row's bindings while the user is typing in it.
3501
+ */
3502
+ get rows() {
3503
+ const source = this.list?.subForms$.value ?? [];
3504
+ if (source !== this.renderedSource) {
3505
+ this.renderedSource = source;
3506
+ this.renderedRows = source.map((row, index) => ({
3507
+ $implicit: row,
3508
+ row,
3509
+ index,
3510
+ first: index === 0,
3511
+ last: index === source.length - 1,
3512
+ count: source.length,
3513
+ }));
3514
+ }
3515
+ return this.renderedRows;
3516
+ }
3517
+ get listErrors() {
3518
+ return this.list?.listErrors$.value ?? [];
3519
+ }
3520
+ get empty() {
3521
+ return this.list?.empty$.value ?? true;
3522
+ }
3523
+ get hasAddCommand() {
3524
+ return Proxify.hasTarget(this.addCommand);
3525
+ }
3526
+ /** `AUTO` resolved against the list; every other mode passes through for the gates below. */
3527
+ get resolvedReorder() {
3528
+ if (this.reorder !== SubFormListComponent.Reorder.AUTO) {
3529
+ return this.reorder;
3530
+ }
3531
+ return this.list?.reorderable ? SubFormListComponent.Reorder.BOTH : SubFormListComponent.Reorder.NONE;
3532
+ }
3533
+ /**
3534
+ * True for every mode that reorders at all, {@link Reorder.DRAG} included — see
3535
+ * {@link dragEnabled} for why drag never stands alone. `DRAG` only changes how prominent the
3536
+ * buttons are, via {@link buttonsOnDemand}.
3537
+ */
3538
+ get moveButtonsVisible() {
3539
+ const mode = this.resolvedReorder;
3540
+ return !!this.list?.reorderable && mode !== SubFormListComponent.Reorder.NONE;
3541
+ }
3542
+ /**
3543
+ * Drag stays off unless the order is the data. It is also *never* the only reordering affordance
3544
+ * offered by the default cluster: CDK drag is pointer-only, so removing the move buttons in
3545
+ * {@link Reorder.DRAG} mode would leave keyboard and screen-reader users unable to reorder at
3546
+ * all. `DRAG` hides the buttons until the row is hovered or holds focus; it does not delete them.
3547
+ */
3548
+ get dragEnabled() {
3549
+ const mode = this.resolvedReorder;
3550
+ return !!this.list?.reorderable
3551
+ && (mode === SubFormListComponent.Reorder.DRAG || mode === SubFormListComponent.Reorder.BOTH);
3552
+ }
3553
+ get buttonsOnDemand() {
3554
+ return this.resolvedReorder === SubFormListComponent.Reorder.DRAG;
3555
+ }
3556
+ get hasActions() {
3557
+ return !!this.actionsTemplate || this.moveButtonsVisible || this.removable;
3558
+ }
3559
+ trackByRow(index, context) {
3560
+ return context.row;
3561
+ }
3562
+ /**
3563
+ * CDK reports `currentIndex` after the dragged row has been taken out of the list, which is the
3564
+ * same convention {@link SubFormList#move} splices with — so the index passes straight through,
3565
+ * with no local array to keep in step. The list republishes `subForms$` itself; the explicit
3566
+ * `markForCheck` is what gets that repaint scheduled before CDK's drop animation settles, so the
3567
+ * row does not visibly snap back to where it started.
3568
+ */
3569
+ onDropped(event) {
3570
+ const moved = this.rows[event.previousIndex]?.row;
3571
+ if (!moved || event.currentIndex === event.previousIndex) {
3572
+ return;
3573
+ }
3574
+ this.list.move(moved, event.currentIndex);
3575
+ this.markForCheck();
3576
+ }
3577
+ warnAboutUnsupportedReordering() {
3578
+ const asked = this.reorder;
3579
+ if (asked !== SubFormListComponent.Reorder.AUTO
3580
+ && asked !== SubFormListComponent.Reorder.NONE
3581
+ && !this.list?.reorderable) {
3582
+ console.warn(`aup-sub-form-list: reorder="${asked}" was ignored — the list is not user-ordered, so a move would be undone by the next load. Pass the 'userOrdered' option to createSubForms to make the order part of the data.`);
3583
+ }
3584
+ }
3585
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3586
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: SubFormListComponent, selector: "aup-sub-form-list", inputs: { list: "list", reorder: "reorder", removable$: "removable$", removable: "removable", removeFace: "removeFace", moveUpFace: "moveUpFace", moveDownFace: "moveDownFace", dragHandleIcon: "dragHandleIcon", addCommand: "addCommand", emptyText: "emptyText", dense: "dense", fill: "fill" }, host: { properties: { "class.dense": "this.dense", "class.fill": "this.fill", "class.buttons-on-demand": "this.buttonsOnDemand" } }, queries: [{ propertyName: "rowTemplate", first: true, predicate: SubFormRowDirective, descendants: true }, { propertyName: "actionsTemplate", first: true, predicate: SubFormRowActionsDirective, descendants: true }, { propertyName: "emptyTemplate", first: true, predicate: SubFormListEmptyDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"rows\"\n role=\"list\"\n cdkDropList\n [cdkDropListDisabled]=\"!dragEnabled\"\n (cdkDropListDropped)=\"onDropped($event)\"\n data-cy=\"sub-form-rows\">\n\n <div class=\"row\"\n role=\"listitem\"\n *ngFor=\"let context of rows; trackBy: trackByRow\"\n cdkDrag\n [cdkDragDisabled]=\"!dragEnabled\"\n data-cy=\"sub-form-row\">\n\n <!-- Deliberately not focusable and hidden from assistive tech: CDK drag is pointer-only, so a\n focusable handle would take a tab stop and then do nothing. The move buttons are the\n keyboard path, which is why they survive even in reorder=\"drag\". -->\n <span class=\"drag-handle\" *ngIf=\"dragEnabled\" cdkDragHandle aria-hidden=\"true\"\n data-cy=\"sub-form-drag-handle\">\n <aup-icon [icon]=\"dragHandleIcon\"></aup-icon>\n </span>\n\n <div class=\"content\">\n <ng-container *ngIf=\"rowTemplate\"\n [ngTemplateOutlet]=\"rowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"context\"></ng-container>\n </div>\n\n <div class=\"actions\" *ngIf=\"hasActions\">\n <ng-container *ngIf=\"actionsTemplate; else defaultActions\"\n [ngTemplateOutlet]=\"actionsTemplate.templateRef\"\n [ngTemplateOutletContext]=\"context\"></ng-container>\n <ng-template #defaultActions>\n <aup-command *ngIf=\"moveButtonsVisible\" class=\"move-command\"\n [command]=\"context.row.moveUpCommand\"\n [face]=\"moveUpFace\" data-cy=\"sub-form-move-up\"></aup-command>\n <aup-command *ngIf=\"moveButtonsVisible\" class=\"move-command\"\n [command]=\"context.row.moveDownCommand\"\n [face]=\"moveDownFace\" data-cy=\"sub-form-move-down\"></aup-command>\n <aup-command *ngIf=\"removable\" [command]=\"context.row.removeItemCommand\"\n [face]=\"removeFace\" data-cy=\"sub-form-remove\"></aup-command>\n </ng-template>\n </div>\n </div>\n</div>\n\n<ng-container *ngIf=\"empty\">\n <ng-container *ngIf=\"emptyTemplate; else defaultEmpty\"\n [ngTemplateOutlet]=\"emptyTemplate.templateRef\"></ng-container>\n <ng-template #defaultEmpty>\n <aup-empty-state *ngIf=\"emptyText\" data-cy=\"sub-form-list-empty\">{{emptyText}}</aup-empty-state>\n </ng-template>\n</ng-container>\n\n<ul class=\"list-errors\" *ngIf=\"listErrors.length\" data-cy=\"sub-form-list-errors\">\n <li *ngFor=\"let error of listErrors\">{{error}}</li>\n</ul>\n\n<div class=\"footer\" *ngIf=\"hasAddCommand\">\n <aup-command [command]=\"addCommand\" data-cy=\"sub-form-list-add\"></aup-command>\n</div>\n", styles: [":host{display:block;--aup-sub-form-row-gap: 8px}.rows{display:flex;flex-direction:column;gap:var(--aup-sub-form-row-gap)}.row{display:grid;grid-template-columns:auto auto auto;justify-content:start;align-items:center;gap:var(--aup-sub-form-row-gap);background:var(--aup-sub-form-row-background, transparent)}.drag-handle{grid-column:1}.content{grid-column:2}.actions{grid-column:3}:host(.fill) .row{grid-template-columns:auto 1fr auto;justify-content:stretch}.drag-handle{display:flex;align-items:center;cursor:grab;color:#00000061}.drag-handle:active{cursor:grabbing}.content{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--aup-sub-form-row-gap);min-width:0}.actions{display:flex;align-items:center;gap:0;white-space:nowrap}:host(.buttons-on-demand) .row .move-command{opacity:0;transition:opacity .15s ease-in-out}:host(.buttons-on-demand) .row:hover .move-command,:host(.buttons-on-demand) .row:focus-within .move-command{opacity:1}.list-errors{margin:var(--aup-sub-form-row-gap) 0 0;padding-left:1.2em;color:var(--aup-error-color, #f44336);font-size:12px}.footer{display:flex;margin-top:var(--aup-sub-form-row-gap)}.row.cdk-drag-preview{box-sizing:border-box;border-radius:4px;background:var(--aup-sub-form-row-background, #fff);box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;padding:4px}.row.cdk-drag-placeholder{opacity:.4}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.rows.cdk-drop-list-dragging .row:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ 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: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2$7.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i2$7.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i2$7.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: IconComponent, selector: "aup-icon", inputs: ["icon"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace"] }, { kind: "component", type: EmptyStateComponent, selector: "aup-empty-state" }] });
3587
+ }
3588
+ __decorate([
3589
+ Proxify(),
3590
+ __metadata("design:type", Object)
3591
+ ], SubFormListComponent.prototype, "removable$", null);
3592
+ __decorate([
3593
+ StoreInValueModel(),
3594
+ __metadata("design:type", Object)
3595
+ ], SubFormListComponent.prototype, "removable", null);
3596
+ __decorate([
3597
+ Proxify(),
3598
+ __metadata("design:type", Command)
3599
+ ], SubFormListComponent.prototype, "addCommand", null);
3600
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListComponent, decorators: [{
3601
+ type: Component,
3602
+ args: [{ selector: 'aup-sub-form-list', template: "<div class=\"rows\"\n role=\"list\"\n cdkDropList\n [cdkDropListDisabled]=\"!dragEnabled\"\n (cdkDropListDropped)=\"onDropped($event)\"\n data-cy=\"sub-form-rows\">\n\n <div class=\"row\"\n role=\"listitem\"\n *ngFor=\"let context of rows; trackBy: trackByRow\"\n cdkDrag\n [cdkDragDisabled]=\"!dragEnabled\"\n data-cy=\"sub-form-row\">\n\n <!-- Deliberately not focusable and hidden from assistive tech: CDK drag is pointer-only, so a\n focusable handle would take a tab stop and then do nothing. The move buttons are the\n keyboard path, which is why they survive even in reorder=\"drag\". -->\n <span class=\"drag-handle\" *ngIf=\"dragEnabled\" cdkDragHandle aria-hidden=\"true\"\n data-cy=\"sub-form-drag-handle\">\n <aup-icon [icon]=\"dragHandleIcon\"></aup-icon>\n </span>\n\n <div class=\"content\">\n <ng-container *ngIf=\"rowTemplate\"\n [ngTemplateOutlet]=\"rowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"context\"></ng-container>\n </div>\n\n <div class=\"actions\" *ngIf=\"hasActions\">\n <ng-container *ngIf=\"actionsTemplate; else defaultActions\"\n [ngTemplateOutlet]=\"actionsTemplate.templateRef\"\n [ngTemplateOutletContext]=\"context\"></ng-container>\n <ng-template #defaultActions>\n <aup-command *ngIf=\"moveButtonsVisible\" class=\"move-command\"\n [command]=\"context.row.moveUpCommand\"\n [face]=\"moveUpFace\" data-cy=\"sub-form-move-up\"></aup-command>\n <aup-command *ngIf=\"moveButtonsVisible\" class=\"move-command\"\n [command]=\"context.row.moveDownCommand\"\n [face]=\"moveDownFace\" data-cy=\"sub-form-move-down\"></aup-command>\n <aup-command *ngIf=\"removable\" [command]=\"context.row.removeItemCommand\"\n [face]=\"removeFace\" data-cy=\"sub-form-remove\"></aup-command>\n </ng-template>\n </div>\n </div>\n</div>\n\n<ng-container *ngIf=\"empty\">\n <ng-container *ngIf=\"emptyTemplate; else defaultEmpty\"\n [ngTemplateOutlet]=\"emptyTemplate.templateRef\"></ng-container>\n <ng-template #defaultEmpty>\n <aup-empty-state *ngIf=\"emptyText\" data-cy=\"sub-form-list-empty\">{{emptyText}}</aup-empty-state>\n </ng-template>\n</ng-container>\n\n<ul class=\"list-errors\" *ngIf=\"listErrors.length\" data-cy=\"sub-form-list-errors\">\n <li *ngFor=\"let error of listErrors\">{{error}}</li>\n</ul>\n\n<div class=\"footer\" *ngIf=\"hasAddCommand\">\n <aup-command [command]=\"addCommand\" data-cy=\"sub-form-list-add\"></aup-command>\n</div>\n", styles: [":host{display:block;--aup-sub-form-row-gap: 8px}.rows{display:flex;flex-direction:column;gap:var(--aup-sub-form-row-gap)}.row{display:grid;grid-template-columns:auto auto auto;justify-content:start;align-items:center;gap:var(--aup-sub-form-row-gap);background:var(--aup-sub-form-row-background, transparent)}.drag-handle{grid-column:1}.content{grid-column:2}.actions{grid-column:3}:host(.fill) .row{grid-template-columns:auto 1fr auto;justify-content:stretch}.drag-handle{display:flex;align-items:center;cursor:grab;color:#00000061}.drag-handle:active{cursor:grabbing}.content{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--aup-sub-form-row-gap);min-width:0}.actions{display:flex;align-items:center;gap:0;white-space:nowrap}:host(.buttons-on-demand) .row .move-command{opacity:0;transition:opacity .15s ease-in-out}:host(.buttons-on-demand) .row:hover .move-command,:host(.buttons-on-demand) .row:focus-within .move-command{opacity:1}.list-errors{margin:var(--aup-sub-form-row-gap) 0 0;padding-left:1.2em;color:var(--aup-error-color, #f44336);font-size:12px}.footer{display:flex;margin-top:var(--aup-sub-form-row-gap)}.row.cdk-drag-preview{box-sizing:border-box;border-radius:4px;background:var(--aup-sub-form-row-background, #fff);box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;padding:4px}.row.cdk-drag-placeholder{opacity:.4}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.rows.cdk-drop-list-dragging .row:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
3603
+ }], ctorParameters: function () { return []; }, propDecorators: { list: [{
3604
+ type: Input
3605
+ }], reorder: [{
3606
+ type: Input
3607
+ }], removable$: [{
3608
+ type: Input
3609
+ }], removable: [{
3610
+ type: Input
3611
+ }], removeFace: [{
3612
+ type: Input
3613
+ }], moveUpFace: [{
3614
+ type: Input
3615
+ }], moveDownFace: [{
3616
+ type: Input
3617
+ }], dragHandleIcon: [{
3618
+ type: Input
3619
+ }], addCommand: [{
3620
+ type: Input
3621
+ }], emptyText: [{
3622
+ type: Input
3623
+ }], dense: [{
3624
+ type: HostBinding,
3625
+ args: ['class.dense']
3626
+ }, {
3627
+ type: Input
3628
+ }], fill: [{
3629
+ type: HostBinding,
3630
+ args: ['class.fill']
3631
+ }, {
3632
+ type: Input
3633
+ }], rowTemplate: [{
3634
+ type: ContentChild,
3635
+ args: [SubFormRowDirective]
3636
+ }], actionsTemplate: [{
3637
+ type: ContentChild,
3638
+ args: [SubFormRowActionsDirective]
3639
+ }], emptyTemplate: [{
3640
+ type: ContentChild,
3641
+ args: [SubFormListEmptyDirective]
3642
+ }], buttonsOnDemand: [{
3643
+ type: HostBinding,
3644
+ args: ['class.buttons-on-demand']
3645
+ }] } });
3646
+ (function (SubFormListComponent) {
3647
+ SubFormListComponent.Reorder = Enum({
3648
+ /** Buttons and drag when the list is user-ordered; nothing when it isn't. */
3649
+ AUTO: 'auto',
3650
+ NONE: 'none',
3651
+ BUTTONS: 'buttons',
3652
+ /** Drag handles, with the move buttons revealed on hover/focus as the keyboard path. */
3653
+ DRAG: 'drag',
3654
+ BOTH: 'both',
3655
+ });
3656
+ // Held as constants rather than object literals in the template: CommandFace members are
3657
+ // functions and these bind once per row, so a literal would allocate a new face on every pass.
3658
+ SubFormListComponent.DEFAULT_REMOVE_FACE = { icon: () => 'mat:delete', tooltip: () => 'Remove' };
3659
+ SubFormListComponent.DEFAULT_MOVE_UP_FACE = { icon: () => 'mat:arrow_upward', tooltip: () => 'Move up' };
3660
+ SubFormListComponent.DEFAULT_MOVE_DOWN_FACE = { icon: () => 'mat:arrow_downward', tooltip: () => 'Move down' };
3661
+ })(SubFormListComponent || (SubFormListComponent = {}));
3662
+
3352
3663
  class TextInputComponent extends AbstractValueInputComponent {
3353
3664
  // @Input() @Proxify({ delegateTo: 'inputModel' })
3354
3665
  // valueModel: Form.ValueModelBase<string> | MutableValueModel<string>;
@@ -3408,7 +3719,7 @@ class LoadingContainerComponent extends GarbageCollector {
3408
3719
  return this.loading$.value ? "loaded" : "loading";
3409
3720
  }
3410
3721
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: LoadingContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
3411
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: LoadingContainerComponent, selector: "aup-loading-container", inputs: { loading$: "loading$", loading: "loading", message$: "message$", message: "message" }, host: { properties: { "class": "this.state" } }, usesInheritance: true, ngImport: i0, template: "<ng-content *ngIf=\"!loading$.value\"></ng-content>\n<section *ngIf=\"loading$.value\" class=\"loading-indicator-overlay\">\n <div class=\"loading-message\">\n <p>{{message$.value}}</p>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n</section>\n", styles: [":host{display:block;position:relative}section.loading-indicator-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-message{display:inline-block;text-align:center;width:10em}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$7.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }] });
3722
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: LoadingContainerComponent, selector: "aup-loading-container", inputs: { loading$: "loading$", loading: "loading", message$: "message$", message: "message" }, host: { properties: { "class": "this.state" } }, usesInheritance: true, ngImport: i0, template: "<ng-content *ngIf=\"!loading$.value\"></ng-content>\n<section *ngIf=\"loading$.value\" class=\"loading-indicator-overlay\">\n <div class=\"loading-message\">\n <p>{{message$.value}}</p>\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n </div>\n</section>\n", styles: [":host{display:block;position:relative}section.loading-indicator-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-message{display:inline-block;text-align:center;width:10em}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$8.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }] });
3412
3723
  }
3413
3724
  __decorate([
3414
3725
  Proxify(),
@@ -5832,7 +6143,7 @@ class TableBodyComponent extends ResizeAwareComponent {
5832
6143
  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 });
5833
6144
  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: [
5834
6145
  { provide: AUP_DETACHED_PARENT_CDR, useFactory: () => inject(AUP_TABLE_OPTIMIZED_CHANGE_DETECTION, { optional: true }) ? inject(ChangeDetectorRef) : null }
5835
- ], 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.isCursorEnabledForRow(column, row)\"\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.isHoverEnabledForRow(row)\"\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\"\n [class.aup-footer-row-hidden]=\"footer.visible$ && !footer.visible$.value\"></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.isCursorEnabledForRow(column, row)\"\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.isHoverEnabledForRow(row)\"\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\"\n [class.aup-footer-row-hidden]=\"footer.visible$ && !footer.visible$.value\"></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 tr.aup-footer-row-hidden{display:none}:host td.footer-cell{border-top:0!important;box-shadow:0 -1px 0 0 var(--mat-table-row-item-outline-color, rgba(0, 0, 0, .12))}: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$8.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i2$8.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2$8.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i2$8.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i2$8.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2$8.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i2$8.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2$8.MatFooterRowDef, selector: "[matFooterRowDef]", inputs: ["matFooterRowDef", "matFooterRowDefSticky"] }, { kind: "directive", type: i2$8.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2$8.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: i2$8.MatFooterCell, selector: "mat-footer-cell, td[mat-footer-cell]" }, { kind: "component", type: i2$8.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i2$8.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i2$8.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"] }] });
6146
+ ], 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.isCursorEnabledForRow(column, row)\"\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.isHoverEnabledForRow(row)\"\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\"\n [class.aup-footer-row-hidden]=\"footer.visible$ && !footer.visible$.value\"></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.isCursorEnabledForRow(column, row)\"\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.isHoverEnabledForRow(row)\"\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\"\n [class.aup-footer-row-hidden]=\"footer.visible$ && !footer.visible$.value\"></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 tr.aup-footer-row-hidden{display:none}:host td.footer-cell{border-top:0!important;box-shadow:0 -1px 0 0 var(--mat-table-row-item-outline-color, rgba(0, 0, 0, .12))}: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$9.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i2$9.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2$9.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i2$9.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i2$9.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2$9.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i2$9.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i2$9.MatFooterRowDef, selector: "[matFooterRowDef]", inputs: ["matFooterRowDef", "matFooterRowDefSticky"] }, { kind: "directive", type: i2$9.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2$9.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: i2$9.MatFooterCell, selector: "mat-footer-cell, td[mat-footer-cell]" }, { kind: "component", type: i2$9.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i2$9.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i2$9.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"] }] });
5836
6147
  }
5837
6148
  __decorate([
5838
6149
  Proxify(),
@@ -7264,7 +7575,11 @@ class ComponentsModule {
7264
7575
  SearchInputComponent,
7265
7576
  TableFooterRow,
7266
7577
  FileDownloadComponent,
7267
- ButtonRendererComponent], imports: [CommonModule,
7578
+ ButtonRendererComponent,
7579
+ SubFormListComponent,
7580
+ SubFormRowDirective,
7581
+ SubFormRowActionsDirective,
7582
+ SubFormListEmptyDirective], imports: [CommonModule,
7268
7583
  BrowserAnimationsModule,
7269
7584
  FormsModule,
7270
7585
  MatInputModule,
@@ -7285,7 +7600,8 @@ class ComponentsModule {
7285
7600
  MatProgressSpinnerModule,
7286
7601
  MatProgressBarModule,
7287
7602
  ScrollingModule,
7288
- TableVirtualScrollModule], exports: [ButtonRendererComponent,
7603
+ TableVirtualScrollModule,
7604
+ DragDropModule], exports: [ButtonRendererComponent,
7289
7605
  FileDownloadComponent,
7290
7606
  TableFooterRow,
7291
7607
  NumberInputComponent,
@@ -7327,7 +7643,11 @@ class ComponentsModule {
7327
7643
  TableCustomMoreMenuComponent,
7328
7644
  TableCustomMoreMenuPopupComponent,
7329
7645
  SearchInputComponent,
7330
- ButtonRendererComponent] });
7646
+ ButtonRendererComponent,
7647
+ SubFormListComponent,
7648
+ SubFormRowDirective,
7649
+ SubFormRowActionsDirective,
7650
+ SubFormListEmptyDirective] });
7331
7651
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ComponentsModule, providers: [FocusBindingFactory, MarkdownService], imports: [CommonModule,
7332
7652
  BrowserAnimationsModule,
7333
7653
  FormsModule,
@@ -7349,7 +7669,8 @@ class ComponentsModule {
7349
7669
  MatProgressSpinnerModule,
7350
7670
  MatProgressBarModule,
7351
7671
  ScrollingModule,
7352
- TableVirtualScrollModule] });
7672
+ TableVirtualScrollModule,
7673
+ DragDropModule] });
7353
7674
  }
7354
7675
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ComponentsModule, decorators: [{
7355
7676
  type: NgModule,
@@ -7377,6 +7698,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
7377
7698
  MatProgressBarModule,
7378
7699
  ScrollingModule,
7379
7700
  TableVirtualScrollModule,
7701
+ DragDropModule,
7380
7702
  ],
7381
7703
  declarations: [
7382
7704
  AbstractInputComponent,
@@ -7438,6 +7760,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
7438
7760
  TableFooterRow,
7439
7761
  FileDownloadComponent,
7440
7762
  ButtonRendererComponent,
7763
+ SubFormListComponent,
7764
+ SubFormRowDirective,
7765
+ SubFormRowActionsDirective,
7766
+ SubFormListEmptyDirective,
7441
7767
  ],
7442
7768
  exports: [
7443
7769
  ButtonRendererComponent,
@@ -7483,6 +7809,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
7483
7809
  TableCustomMoreMenuPopupComponent,
7484
7810
  SearchInputComponent,
7485
7811
  ButtonRendererComponent,
7812
+ SubFormListComponent,
7813
+ SubFormRowDirective,
7814
+ SubFormRowActionsDirective,
7815
+ SubFormListEmptyDirective,
7486
7816
  ],
7487
7817
  providers: [FocusBindingFactory, MarkdownService],
7488
7818
  }]
@@ -14142,5 +14472,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
14142
14472
  * Generated bundle index. Do not edit.
14143
14473
  */
14144
14474
 
14145
- 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, AupTooltipDirective, 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, ToolBarComponent, Track, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSegment, VisitSegmentSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, collapseOrphanSeparators, getPlaceDefinition, leftRightPlaceAnimation, markdownPillExtension, setPlaceDefinition, slideDownAndRightOnEnterAnimation, slideDownOnEnterAnimation, slideDownWhenOpenAnimation, slideRightOnEnterAnimation, treeNodeDecorator };
14475
+ 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, AupTooltipDirective, 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, SubFormListComponent, SubFormListEmptyDirective, SubFormRowActionsDirective, SubFormRowDirective, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableActionColumnComponent, TableBodyComponent, TableCellComponent, TableComponent, TableCustomMoreMenuComponent, TableCustomMoreMenuPopupComponent, TableFilterModel, TableFooterRow, TableHeaderCellComponent, TableModel, TableRowAttributesDirective, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, Track, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSegment, VisitSegmentSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, collapseOrphanSeparators, getPlaceDefinition, leftRightPlaceAnimation, markdownPillExtension, setPlaceDefinition, slideDownAndRightOnEnterAnimation, slideDownOnEnterAnimation, slideDownWhenOpenAnimation, slideRightOnEnterAnimation, treeNodeDecorator };
14146
14476
  //# sourceMappingURL=coolon-angular-ui-powerups.mjs.map