@coolon/angular-ui-powerups 16.1.0-alpha.276 → 16.1.0-alpha.277

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.
@@ -65,4 +65,86 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
65
65
  type: Directive,
66
66
  args: [{ selector: '[aupSubFormListEmpty]' }]
67
67
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
68
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ViLWZvcm0tcm93LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci11aS1wb3dlcnVwcy9zcmMvbGliL2NvbXBvbmVudHMvZm9ybXMvc3ViLWZvcm0tbGlzdC9zdWItZm9ybS1yb3cuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHVJQUF1STtBQUN2SSxPQUFPLEVBQUMsU0FBUyxFQUFFLFdBQVcsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFxQnJEOzs7Ozs7Ozs7OztHQVdHO0FBRUgsTUFBTSxPQUFPLG1CQUFtQjtJQUNUO0lBQXJCLFlBQXFCLFdBQTJDO1FBQTNDLGdCQUFXLEdBQVgsV0FBVyxDQUFnQztJQUNoRSxDQUFDO3VHQUZVLG1CQUFtQjsyRkFBbkIsbUJBQW1COzsyRkFBbkIsbUJBQW1CO2tCQUQvQixTQUFTO21CQUFDLEVBQUMsUUFBUSxFQUFFLGlCQUFpQixFQUFDOztBQU14Qzs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUVILE1BQU0sT0FBTywwQkFBMEI7SUFDaEI7SUFBckIsWUFBcUIsV0FBMkM7UUFBM0MsZ0JBQVcsR0FBWCxXQUFXLENBQW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GNlbGwg4oCUIHVubGlrZSB0aGUgZGVmYXVsdCBjbHVzdGVyLCB3aG9zZVxuICogdGhyZWUgYnV0dG9ucyBhcmUgcGxhY2VkIHNlcGFyYXRlbHkgc28gYSBsYXlvdXQgY2FuIHNwbGl0IHRoZW0uIElnbm9yZWQsIHdpdGggYSB3YXJuaW5nLCB1bmRlclxuICogYHJvd0xheW91dD1cImN1c3RvbVwiYDogdGhhdCBsYXlvdXQgaGFuZHMgdGhlIHdob2xlIHJvdyB0byB0aGUgYGF1cFN1YkZvcm1Sb3dgIHRlbXBsYXRlLCB3aGljaFxuICogcmVhY2hlcyB0aGUgdmVyeSBzYW1lIGNvbW1hbmRzLlxuICovXG5ARGlyZWN0aXZlKHtzZWxlY3RvcjogJ1thdXBTdWJGb3JtUm93QWN0aW9uc10nfSlcbmV4cG9ydCBjbGFzcyBTdWJGb3JtUm93QWN0aW9uc0RpcmVjdGl2ZSB7XG4gIGNvbnN0cnVjdG9yKHJlYWRvbmx5IHRlbXBsYXRlUmVmOiBUZW1wbGF0ZVJlZjxTdWJGb3JtUm93Q29udGV4dD4pIHtcbiAgfVxufVxuXG4vKiogUmVwbGFjZXMgdGhlIGRlZmF1bHQgZW1wdHkgc3RhdGUsIHNob3duIHdoaWxlIHRoZSBsaXN0IGhhcyBubyByb3dzLiAqL1xuQERpcmVjdGl2ZSh7c2VsZWN0b3I6ICdbYXVwU3ViRm9ybUxpc3RFbXB0eV0nfSlcbmV4cG9ydCBjbGFzcyBTdWJGb3JtTGlzdEVtcHR5RGlyZWN0aXZlIHtcbiAgY29uc3RydWN0b3IocmVhZG9ubHkgdGVtcGxhdGVSZWY6IFRlbXBsYXRlUmVmPHZvaWQ+KSB7XG4gIH1cbn1cbiJdfQ==
68
+ /**
69
+ * The row that names the list's columns, drawn above the items.
70
+ *
71
+ * Rendered inside the rows container for the same reason the footer is: only a child of the grid
72
+ * can adopt its tracks, so the titles size against — and line up with — the very cells they name.
73
+ * A caller drawing this above the list instead would have to restate
74
+ * `--aup-sub-form-list-columns`, and would still miss the handle and action tracks the list sizes
75
+ * from its own content.
76
+ *
77
+ * Single, unlike the footer: a list has one set of columns, so it has one row that names them.
78
+ *
79
+ * `rowLayout="subgrid"` only — every other layout lays each row out within itself, so there are no
80
+ * shared columns for a header to title and its cells would align with nothing. Supplying one under
81
+ * another layout is ignored, with a warning.
82
+ *
83
+ * Hidden from assistive tech, and not a listitem: it labels the columns rather than standing for an
84
+ * item, and a screen reader walking the list should not have to step over it. Give the cells inside
85
+ * it the same order the row template gives its own.
86
+ *
87
+ * @example
88
+ * ```html
89
+ * <aup-sub-form-list [list]="levels" rowLayout="subgrid">
90
+ * <ng-template aupSubFormListHeader>
91
+ * <span>Priority</span>
92
+ * <span>Colour</span>
93
+ * <span>Description</span>
94
+ * </ng-template>
95
+ * <ng-template aupSubFormRow let-row>…</ng-template>
96
+ * </aup-sub-form-list>
97
+ * ```
98
+ */
99
+ export class SubFormListHeaderDirective {
100
+ templateRef;
101
+ constructor(templateRef) {
102
+ this.templateRef = templateRef;
103
+ }
104
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListHeaderDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
105
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: SubFormListHeaderDirective, selector: "[aupSubFormListHeader]", ngImport: i0 });
106
+ }
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListHeaderDirective, decorators: [{
108
+ type: Directive,
109
+ args: [{ selector: '[aupSubFormListHeader]' }]
110
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
111
+ /**
112
+ * A trailing row that belongs to the list rather than to the data — the states a list of items
113
+ * cannot express, read in the same columns as the items above them.
114
+ *
115
+ * Rendered inside the rows container, so under `rowLayout="subgrid"` its top-level elements land in
116
+ * the very tracks the row cells do. That is the whole point of it: aligning such a thing from
117
+ * *outside* the list means restating `--aup-sub-form-list-columns` in the caller's stylesheet, which
118
+ * then drifts the moment the list's columns change.
119
+ *
120
+ * Not a row of the list: it carries no sub-form, no reordering and no remove, and the list's own
121
+ * `addCommand` footer still sits below it.
122
+ *
123
+ * Repeatable — supply one per trailing state, and each renders as its own row, in template order.
124
+ * That is what lets several of them line up with each other as well as with the rows: two states
125
+ * crammed side by side into one footer row could not both sit under the same column.
126
+ *
127
+ * @example
128
+ * ```html
129
+ * <aup-sub-form-list [list]="levels" rowLayout="subgrid">
130
+ * <ng-template aupSubFormRow let-row>…</ng-template>
131
+ * <ng-template aupSubFormListFooter>
132
+ * <span>When nothing matches</span>
133
+ * <aup-command [command]="editFallbackCommand"></aup-command>
134
+ * </ng-template>
135
+ * </aup-sub-form-list>
136
+ * ```
137
+ */
138
+ export class SubFormListFooterDirective {
139
+ templateRef;
140
+ constructor(templateRef) {
141
+ this.templateRef = templateRef;
142
+ }
143
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListFooterDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
144
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: SubFormListFooterDirective, selector: "[aupSubFormListFooter]", ngImport: i0 });
145
+ }
146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListFooterDirective, decorators: [{
147
+ type: Directive,
148
+ args: [{ selector: '[aupSubFormListFooter]' }]
149
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
150
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ViLWZvcm0tcm93LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4u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d24gcm93LCBpbiB0ZW1wbGF0ZSBvcmRlci5cbiAqIFRoYXQgaXMgd2hhdCBsZXRzIHNldmVyYWwgb2YgdGhlbSBsaW5lIHVwIHdpdGggZWFjaCBvdGhlciBhcyB3ZWxsIGFzIHdpdGggdGhlIHJvd3M6IHR3byBzdGF0ZXNcbiAqIGNyYW1tZWQgc2lkZSBieSBzaWRlIGludG8gb25lIGZvb3RlciByb3cgY291bGQgbm90IGJvdGggc2l0IHVuZGVyIHRoZSBzYW1lIGNvbHVtbi5cbiAqXG4gKiBAZXhhbXBsZVxuICogYGBgaHRtbFxuICogPGF1cC1zdWItZm9ybS1saXN0IFtsaXN0XT1cImxldmVsc1wiIHJvd0xheW91dD1cInN1YmdyaWRcIj5cbiAqICAgPG5nLXRlbXBsYXRlIGF1cFN1YkZvcm1Sb3cgbGV0LXJvdz7igKY8L25nLXRlbXBsYXRlPlxuICogICA8bmctdGVtcGxhdGUgYXVwU3ViRm9ybUxpc3RGb290ZXI+XG4gKiAgICAgPHNwYW4+V2hlbiBub3RoaW5nIG1hdGNoZXM8L3NwYW4+XG4gKiAgICAgPGF1cC1jb21tYW5kIFtjb21tYW5kXT1cImVkaXRGYWxsYmFja0NvbW1hbmRcIj48L2F1cC1jb21tYW5kPlxuICogICA8L25nLXRlbXBsYXRlPlxuICogPC9hdXAtc3ViLWZvcm0tbGlzdD5cbiAqIGBgYFxuICovXG5ARGlyZWN0aXZlKHtzZWxlY3RvcjogJ1thdXBTdWJGb3JtTGlzdEZvb3Rlcl0nfSlcbmV4cG9ydCBjbGFzcyBTdWJGb3JtTGlzdEZvb3RlckRpcmVjdGl2ZSB7XG4gIGNvbnN0cnVjdG9yKHJlYWRvbmx5IHRlbXBsYXRlUmVmOiBUZW1wbGF0ZVJlZjx2b2lkPikge1xuICB9XG59XG4iXX0=
@@ -3416,6 +3416,88 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
3416
3416
  type: Directive,
3417
3417
  args: [{ selector: '[aupSubFormListEmpty]' }]
3418
3418
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3419
+ /**
3420
+ * The row that names the list's columns, drawn above the items.
3421
+ *
3422
+ * Rendered inside the rows container for the same reason the footer is: only a child of the grid
3423
+ * can adopt its tracks, so the titles size against — and line up with — the very cells they name.
3424
+ * A caller drawing this above the list instead would have to restate
3425
+ * `--aup-sub-form-list-columns`, and would still miss the handle and action tracks the list sizes
3426
+ * from its own content.
3427
+ *
3428
+ * Single, unlike the footer: a list has one set of columns, so it has one row that names them.
3429
+ *
3430
+ * `rowLayout="subgrid"` only — every other layout lays each row out within itself, so there are no
3431
+ * shared columns for a header to title and its cells would align with nothing. Supplying one under
3432
+ * another layout is ignored, with a warning.
3433
+ *
3434
+ * Hidden from assistive tech, and not a listitem: it labels the columns rather than standing for an
3435
+ * item, and a screen reader walking the list should not have to step over it. Give the cells inside
3436
+ * it the same order the row template gives its own.
3437
+ *
3438
+ * @example
3439
+ * ```html
3440
+ * <aup-sub-form-list [list]="levels" rowLayout="subgrid">
3441
+ * <ng-template aupSubFormListHeader>
3442
+ * <span>Priority</span>
3443
+ * <span>Colour</span>
3444
+ * <span>Description</span>
3445
+ * </ng-template>
3446
+ * <ng-template aupSubFormRow let-row>…</ng-template>
3447
+ * </aup-sub-form-list>
3448
+ * ```
3449
+ */
3450
+ class SubFormListHeaderDirective {
3451
+ templateRef;
3452
+ constructor(templateRef) {
3453
+ this.templateRef = templateRef;
3454
+ }
3455
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListHeaderDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3456
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: SubFormListHeaderDirective, selector: "[aupSubFormListHeader]", ngImport: i0 });
3457
+ }
3458
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListHeaderDirective, decorators: [{
3459
+ type: Directive,
3460
+ args: [{ selector: '[aupSubFormListHeader]' }]
3461
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3462
+ /**
3463
+ * A trailing row that belongs to the list rather than to the data — the states a list of items
3464
+ * cannot express, read in the same columns as the items above them.
3465
+ *
3466
+ * Rendered inside the rows container, so under `rowLayout="subgrid"` its top-level elements land in
3467
+ * the very tracks the row cells do. That is the whole point of it: aligning such a thing from
3468
+ * *outside* the list means restating `--aup-sub-form-list-columns` in the caller's stylesheet, which
3469
+ * then drifts the moment the list's columns change.
3470
+ *
3471
+ * Not a row of the list: it carries no sub-form, no reordering and no remove, and the list's own
3472
+ * `addCommand` footer still sits below it.
3473
+ *
3474
+ * Repeatable — supply one per trailing state, and each renders as its own row, in template order.
3475
+ * That is what lets several of them line up with each other as well as with the rows: two states
3476
+ * crammed side by side into one footer row could not both sit under the same column.
3477
+ *
3478
+ * @example
3479
+ * ```html
3480
+ * <aup-sub-form-list [list]="levels" rowLayout="subgrid">
3481
+ * <ng-template aupSubFormRow let-row>…</ng-template>
3482
+ * <ng-template aupSubFormListFooter>
3483
+ * <span>When nothing matches</span>
3484
+ * <aup-command [command]="editFallbackCommand"></aup-command>
3485
+ * </ng-template>
3486
+ * </aup-sub-form-list>
3487
+ * ```
3488
+ */
3489
+ class SubFormListFooterDirective {
3490
+ templateRef;
3491
+ constructor(templateRef) {
3492
+ this.templateRef = templateRef;
3493
+ }
3494
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListFooterDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3495
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: SubFormListFooterDirective, selector: "[aupSubFormListFooter]", ngImport: i0 });
3496
+ }
3497
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListFooterDirective, decorators: [{
3498
+ type: Directive,
3499
+ args: [{ selector: '[aupSubFormListFooter]' }]
3500
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3419
3501
 
3420
3502
  /**
3421
3503
  * Renders a pectin {@link SubFormList} as a stack of rows, each carrying its own remove and — when
@@ -3498,6 +3580,10 @@ class SubFormListComponent extends DisposableComponent {
3498
3580
  rowTemplate;
3499
3581
  actionsTemplate;
3500
3582
  emptyTemplate;
3583
+ /** Single, unlike the footer: a list has one set of columns, so it has one row that names them. */
3584
+ headerTemplate;
3585
+ /** One row per template, in template order — see the directive for why it repeats. */
3586
+ footerTemplates;
3501
3587
  /** The array `rows` was last built from — see the comment there. */
3502
3588
  renderedSource;
3503
3589
  renderedRows = [];
@@ -3604,6 +3690,13 @@ class SubFormListComponent extends DisposableComponent {
3604
3690
  get customActionsVisible() {
3605
3691
  return !this.customLayout && !!this.actionsTemplate;
3606
3692
  }
3693
+ /**
3694
+ * Only under `subgrid`. Every other layout lays a row out within itself, so there are no shared
3695
+ * tracks for a header to sit above and its cells would line up with nothing.
3696
+ */
3697
+ get headerVisible() {
3698
+ return this.subgridLayout && !!this.headerTemplate;
3699
+ }
3607
3700
  /** Whether anything trails the content — drives the content cell's trailing spacing. */
3608
3701
  get hasActions() {
3609
3702
  return this.customActionsVisible || this.defaultActionsVisible;
@@ -3615,6 +3708,7 @@ class SubFormListComponent extends DisposableComponent {
3615
3708
  ngAfterContentInit() {
3616
3709
  this.warnAboutIgnoredCustomLayoutInputs();
3617
3710
  this.warnAboutIgnoredSubgridInputs();
3711
+ this.warnAboutIgnoredHeader();
3618
3712
  }
3619
3713
  trackByRow(index, context) {
3620
3714
  return context.row;
@@ -3663,6 +3757,11 @@ class SubFormListComponent extends DisposableComponent {
3663
3757
  console.warn(`aup-sub-form-list: [fill] does nothing under rowLayout="subgrid" — the row's width is the track list in --aup-sub-form-list-columns. End that list with a 1fr track to push the action cluster to the far edge.`);
3664
3758
  }
3665
3759
  }
3760
+ warnAboutIgnoredHeader() {
3761
+ if (this.headerTemplate && !this.subgridLayout) {
3762
+ console.warn(`aup-sub-form-list: the aupSubFormListHeader template was ignored — a header names the list's columns, and only rowLayout="subgrid" gives the rows shared columns to name.`);
3763
+ }
3764
+ }
3666
3765
  warnAboutUnsupportedReordering() {
3667
3766
  const asked = this.reorder;
3668
3767
  if (asked !== SubFormListComponent.Reorder.AUTO
@@ -3672,7 +3771,7 @@ class SubFormListComponent extends DisposableComponent {
3672
3771
  }
3673
3772
  }
3674
3773
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3675
- 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", rowLayout: "rowLayout" }, host: { properties: { "class.dense": "this.dense", "class.fill": "this.fill", "class.buttons-on-demand": "this.buttonsOnDemand", "attr.data-row-layout": "this.rowLayoutAttribute" } }, 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: "<!-- The rows container carries a layout class only for `subgrid`, the one layout that is not laid\n out entirely within a row: this element is the grid whose tracks the rows subgrid. It is safe\n to anchor rules here \u2014 unlike .row, this element is never cloned. -->\n<div class=\"rows\"\n role=\"list\"\n [class.layout-subgrid]=\"subgridLayout\"\n cdkDropList\n [cdkDropListDisabled]=\"!dragEnabled\"\n (cdkDropListDropped)=\"onDropped($event)\"\n data-cy=\"sub-form-rows\">\n\n <!-- The layout classes go on .row, not the host: CDK's drag preview is a deep clone of .row\n appended to <body>, and a rule anchored on the host cannot reach it. Written as discrete\n [class.x] bindings rather than one [ngClass] object literal, which would allocate a fresh\n object on every change-detection pass. -->\n <div class=\"row\"\n role=\"listitem\"\n *ngFor=\"let context of rows; trackBy: trackByRow\"\n [class.layout-inline]=\"inlineLayout\"\n [class.layout-rail]=\"railLayout\"\n [class.layout-custom]=\"customLayout\"\n [class.layout-subgrid]=\"subgridLayout\"\n [class.fill]=\"fill\"\n [class.buttons-on-demand]=\"buttonsOnDemand\"\n [class.has-actions]=\"hasActions\"\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\" \u2014 and why rowLayout=\"custom\",\n which renders none of them, makes that path the caller's to provide.\n\n It stays library-rendered in every layout because it has to: CdkDragHandle finds its drag\n through the node injector and CdkDrag collects handles with a content query, both scoped to\n the template cdkDrag is written in. A cdkDragHandle in a caller's row template resolves no\n parent and, because that injection is optional, silently does nothing. -->\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 <!-- Given `display: contents` under rowLayout=\"custom\", so the projected template's own\n top-level elements become the row's grid items. Never *ngIf'd away for that: recreating it\n would tear down and rebuild the caller's row bindings, which is exactly what the row\n context memoisation exists to prevent. -->\n <div class=\"content\">\n <ng-container *ngIf=\"rowTemplate\"\n [ngTemplateOutlet]=\"rowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"context\"></ng-container>\n </div>\n\n <!-- The default cluster is three flat grid items, one per named cell, so a layout can place\n them independently \u2014 the rail stacks the moves away from remove. -->\n <ng-container *ngIf=\"defaultActionsVisible\">\n <aup-command *ngIf=\"moveButtonsVisible\" class=\"move-command move-up\"\n [command]=\"context.row.moveUpCommand\"\n [face]=\"moveUpFace\" data-cy=\"sub-form-move-up\"></aup-command>\n <aup-command *ngIf=\"moveButtonsVisible\" class=\"move-command move-down\"\n [command]=\"context.row.moveDownCommand\"\n [face]=\"moveDownFace\" data-cy=\"sub-form-move-down\"></aup-command>\n <aup-command *ngIf=\"removable\" class=\"remove\" [command]=\"context.row.removeItemCommand\"\n [face]=\"removeFace\" data-cy=\"sub-form-remove\"></aup-command>\n </ng-container>\n\n <!-- The replacing cluster keeps its wrapper: it is one grid item in the `actions` cell, and an\n ng-container outlet generates no element to place. -->\n <div class=\"actions\" *ngIf=\"customActionsVisible\">\n <ng-container [ngTemplateOutlet]=\"actionsTemplate.templateRef\"\n [ngTemplateOutletContext]=\"context\"></ng-container>\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}.rows{display:flex;flex-direction:column;gap:var(--aup-sub-form-row-gap, 8px)}.row{display:grid;grid-template-areas:var(--aup-sub-form-row-areas, var(--resolved-sub-form-row-areas, \"handle content up down actions\"));grid-template-columns:var(--aup-sub-form-row-columns, var(--resolved-sub-form-row-columns, auto auto auto auto auto));grid-template-rows:var(--aup-sub-form-row-rows, var(--resolved-sub-form-row-rows, auto));justify-content:start;align-items:center;gap:0;background:var(--aup-sub-form-row-background, transparent)}.drag-handle{grid-area:handle}.content{grid-area:content}.move-up{grid-area:up}.move-down{grid-area:down}.remove,.actions{grid-area:actions}.drag-handle,.row.has-actions .content{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.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, 8px);min-width:0}.move-up,.move-down,.remove{white-space:nowrap}.actions{display:flex;align-items:center;gap:0;white-space:nowrap}.row.layout-rail{--resolved-sub-form-row-areas: \"up content actions\" \"handle content actions\" \"down content actions\";--resolved-sub-form-row-columns: auto auto auto;--resolved-sub-form-row-rows: auto auto auto}.row.layout-rail .move-up{align-self:start}.row.layout-rail .move-down{align-self:end}.row.layout-rail .drag-handle,.row.layout-rail .move-up,.row.layout-rail .move-down{justify-self:center}.row.layout-rail .move-up,.row.layout-rail .move-down{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.row.layout-custom{--resolved-sub-form-row-areas: none;--resolved-sub-form-row-columns: none;--resolved-sub-form-row-rows: none}.row.layout-custom .content{display:contents}.rows.layout-subgrid{display:grid;grid-template-columns:[handle-start] auto [handle-end content-start] var(--aup-sub-form-list-columns, 1fr) [content-end up-start] auto [up-end down-start] auto [down-end actions-start] auto [actions-end];row-gap:var(--aup-sub-form-row-gap, 8px);column-gap:var(--aup-sub-form-list-column-gap, var(--aup-sub-form-row-gap, 8px));justify-content:start}.row.layout-subgrid{--resolved-sub-form-row-areas: none;--resolved-sub-form-row-columns: subgrid;--resolved-sub-form-row-rows: none;grid-column:1/-1}.row.layout-subgrid .drag-handle{grid-column:handle-start/handle-end;margin-inline-end:0}.row.layout-subgrid .content{grid-column:content-start/content-end;display:grid;grid-template-columns:subgrid;align-items:center;column-gap:var(--aup-sub-form-list-column-gap, var(--aup-sub-form-row-gap, 8px))}.row.layout-subgrid.has-actions .content{margin-inline-end:0}.row.layout-subgrid .move-up{grid-column:up-start/up-end}.row.layout-subgrid .move-down{grid-column:down-start/down-end}.row.layout-subgrid .remove,.row.layout-subgrid .actions{grid-column:actions-start/actions-end}@supports not (grid-template-columns: subgrid){.rows.layout-subgrid{display:flex;flex-direction:column;gap:var(--aup-sub-form-row-gap, 8px)}.row.layout-subgrid{--resolved-sub-form-row-areas: \"handle content up down actions\";--resolved-sub-form-row-columns: auto auto auto auto auto}.row.layout-subgrid .drag-handle{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.row.layout-subgrid .content{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--aup-sub-form-row-gap, 8px)}.row.layout-subgrid.has-actions .content{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}}.row.layout-inline.fill{--resolved-sub-form-row-columns: auto 1fr auto auto auto}.row.layout-rail.fill{--resolved-sub-form-row-columns: auto 1fr auto}.row.buttons-on-demand .move-command{opacity:0;transition:opacity .15s ease-in-out}.row.buttons-on-demand:hover .move-command,.row.buttons-on-demand:focus-within .move-command{opacity:1}.list-errors{margin:var(--aup-sub-form-row-gap, 8px) 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, 8px)}.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}.row.cdk-drag-preview.layout-subgrid{grid-template-columns:none;grid-auto-flow:column;justify-content:start;column-gap:var(--aup-sub-form-row-gap, 8px)}.row.cdk-drag-preview.layout-subgrid .drag-handle,.row.cdk-drag-preview.layout-subgrid .content,.row.cdk-drag-preview.layout-subgrid .move-up,.row.cdk-drag-preview.layout-subgrid .move-down,.row.cdk-drag-preview.layout-subgrid .remove,.row.cdk-drag-preview.layout-subgrid .actions{grid-area:auto}.row.cdk-drag-preview.layout-subgrid .content{grid-template-columns:none;grid-auto-flow:column;column-gap:var(--aup-sub-form-row-gap, 8px)}.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" }] });
3774
+ 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", rowLayout: "rowLayout" }, host: { properties: { "class.dense": "this.dense", "class.fill": "this.fill", "class.buttons-on-demand": "this.buttonsOnDemand", "attr.data-row-layout": "this.rowLayoutAttribute" } }, 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 }, { propertyName: "headerTemplate", first: true, predicate: SubFormListHeaderDirective, descendants: true }, { propertyName: "footerTemplates", predicate: SubFormListFooterDirective }], usesInheritance: true, ngImport: i0, template: "<!-- The rows container carries a layout class only for `subgrid`, the one layout that is not laid\n out entirely within a row: this element is the grid whose tracks the rows subgrid. It is safe\n to anchor rules here \u2014 unlike .row, this element is never cloned. -->\n<div class=\"rows\"\n role=\"list\"\n [class.layout-subgrid]=\"subgridLayout\"\n cdkDropList\n [cdkDropListDisabled]=\"!dragEnabled\"\n (cdkDropListDropped)=\"onDropped($event)\"\n data-cy=\"sub-form-rows\">\n\n <!-- Inside .rows and ahead of them, because only a child of the grid can adopt its tracks \u2014 the\n same reason the footer rows sit inside it. A caller aligning column titles from outside would\n have to restate `--aup-sub-form-list-columns`, which drifts the moment a row's cells change.\n\n Hidden from assistive tech and given no listitem role: it names the columns rather than\n standing for an item, and a screen reader reaching the rows through the list should not have\n to step over it. Offered under `subgrid` alone \u2014 it is the only layout with columns to name. -->\n <div class=\"header-row layout-subgrid\"\n *ngIf=\"headerVisible\"\n aria-hidden=\"true\"\n data-cy=\"sub-form-header-row\">\n <!-- Mirrors .content so the caller's top-level elements get the same tracks a row's cells do. -->\n <div class=\"content\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate.templateRef\"></ng-container>\n </div>\n </div>\n\n <!-- The layout classes go on .row, not the host: CDK's drag preview is a deep clone of .row\n appended to <body>, and a rule anchored on the host cannot reach it. Written as discrete\n [class.x] bindings rather than one [ngClass] object literal, which would allocate a fresh\n object on every change-detection pass. -->\n <div class=\"row\"\n role=\"listitem\"\n *ngFor=\"let context of rows; trackBy: trackByRow\"\n [class.layout-inline]=\"inlineLayout\"\n [class.layout-rail]=\"railLayout\"\n [class.layout-custom]=\"customLayout\"\n [class.layout-subgrid]=\"subgridLayout\"\n [class.fill]=\"fill\"\n [class.buttons-on-demand]=\"buttonsOnDemand\"\n [class.has-actions]=\"hasActions\"\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\" \u2014 and why rowLayout=\"custom\",\n which renders none of them, makes that path the caller's to provide.\n\n It stays library-rendered in every layout because it has to: CdkDragHandle finds its drag\n through the node injector and CdkDrag collects handles with a content query, both scoped to\n the template cdkDrag is written in. A cdkDragHandle in a caller's row template resolves no\n parent and, because that injection is optional, silently does nothing. -->\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 <!-- Given `display: contents` under rowLayout=\"custom\", so the projected template's own\n top-level elements become the row's grid items. Never *ngIf'd away for that: recreating it\n would tear down and rebuild the caller's row bindings, which is exactly what the row\n context memoisation exists to prevent. -->\n <div class=\"content\">\n <ng-container *ngIf=\"rowTemplate\"\n [ngTemplateOutlet]=\"rowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"context\"></ng-container>\n </div>\n\n <!-- The default cluster is three flat grid items, one per named cell, so a layout can place\n them independently \u2014 the rail stacks the moves away from remove. -->\n <ng-container *ngIf=\"defaultActionsVisible\">\n <aup-command *ngIf=\"moveButtonsVisible\" class=\"move-command move-up\"\n [command]=\"context.row.moveUpCommand\"\n [face]=\"moveUpFace\" data-cy=\"sub-form-move-up\"></aup-command>\n <aup-command *ngIf=\"moveButtonsVisible\" class=\"move-command move-down\"\n [command]=\"context.row.moveDownCommand\"\n [face]=\"moveDownFace\" data-cy=\"sub-form-move-down\"></aup-command>\n <aup-command *ngIf=\"removable\" class=\"remove\" [command]=\"context.row.removeItemCommand\"\n [face]=\"removeFace\" data-cy=\"sub-form-remove\"></aup-command>\n </ng-container>\n\n <!-- The replacing cluster keeps its wrapper: it is one grid item in the `actions` cell, and an\n ng-container outlet generates no element to place. -->\n <div class=\"actions\" *ngIf=\"customActionsVisible\">\n <ng-container [ngTemplateOutlet]=\"actionsTemplate.templateRef\"\n [ngTemplateOutletContext]=\"context\"></ng-container>\n </div>\n </div>\n\n <!-- Inside .rows deliberately: that element is the grid under `subgrid`, so only a child of it can\n adopt the tracks and line the footer's cells up with the rows'. Placed after the rows and given\n no listitem role \u2014 it is a trailing statement about the list, not another item in it. -->\n <div class=\"footer-row\"\n *ngFor=\"let footer of footerTemplates\"\n [class.layout-subgrid]=\"subgridLayout\"\n data-cy=\"sub-form-footer-row\">\n <!-- Mirrors .content so the caller's top-level elements get the same tracks a row's cells do. -->\n <div class=\"content\">\n <ng-container [ngTemplateOutlet]=\"footer.templateRef\"></ng-container>\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}.rows{display:flex;flex-direction:column;gap:var(--aup-sub-form-row-gap, 8px)}.row{display:grid;grid-template-areas:var(--aup-sub-form-row-areas, var(--resolved-sub-form-row-areas, \"handle content up down actions\"));grid-template-columns:var(--aup-sub-form-row-columns, var(--resolved-sub-form-row-columns, auto auto auto auto auto));grid-template-rows:var(--aup-sub-form-row-rows, var(--resolved-sub-form-row-rows, auto));justify-content:start;align-items:center;gap:0;background:var(--aup-sub-form-row-background, transparent)}.drag-handle{grid-area:handle}.content{grid-area:content}.move-up{grid-area:up}.move-down{grid-area:down}.remove,.actions{grid-area:actions}.drag-handle,.row.has-actions .content{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.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, 8px);min-width:0}.move-up,.move-down,.remove{white-space:nowrap}.actions{display:flex;align-items:center;gap:0;white-space:nowrap}.row.layout-rail{--resolved-sub-form-row-areas: \"up content actions\" \"handle content actions\" \"down content actions\";--resolved-sub-form-row-columns: auto auto auto;--resolved-sub-form-row-rows: auto auto auto}.row.layout-rail .move-up{align-self:start}.row.layout-rail .move-down{align-self:end}.row.layout-rail .drag-handle,.row.layout-rail .move-up,.row.layout-rail .move-down{justify-self:center}.row.layout-rail .move-up,.row.layout-rail .move-down{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.row.layout-custom{--resolved-sub-form-row-areas: none;--resolved-sub-form-row-columns: none;--resolved-sub-form-row-rows: none}.row.layout-custom .content{display:contents}.rows.layout-subgrid{display:grid;grid-template-columns:[handle-start] auto [handle-end content-start] var(--aup-sub-form-list-columns, 1fr) [content-end up-start] auto [up-end down-start] auto [down-end actions-start] auto [actions-end];row-gap:var(--aup-sub-form-row-gap, 8px);column-gap:var(--aup-sub-form-list-column-gap, var(--aup-sub-form-row-gap, 8px));justify-content:start}.row.layout-subgrid{--resolved-sub-form-row-areas: none;--resolved-sub-form-row-columns: subgrid;--resolved-sub-form-row-rows: none;grid-column:1/-1}.row.layout-subgrid .drag-handle{grid-column:handle-start/handle-end;margin-inline-end:0}.row.layout-subgrid .content{grid-column:content-start/content-end;display:grid;grid-template-columns:subgrid;align-items:center;column-gap:var(--aup-sub-form-list-column-gap, var(--aup-sub-form-row-gap, 8px))}.row.layout-subgrid.has-actions .content{margin-inline-end:0}.row.layout-subgrid .move-up{grid-column:up-start/up-end}.row.layout-subgrid .move-down{grid-column:down-start/down-end}.row.layout-subgrid .remove,.row.layout-subgrid .actions{grid-column:actions-start/actions-end}.header-row.layout-subgrid,.footer-row.layout-subgrid{display:grid;grid-template-columns:subgrid;grid-column:1/-1;gap:0}.header-row.layout-subgrid .content,.footer-row.layout-subgrid .content{grid-column:content-start/content-end;display:grid;grid-template-columns:subgrid;align-items:center;column-gap:var(--aup-sub-form-list-column-gap, var(--aup-sub-form-row-gap, 8px))}@supports not (grid-template-columns: subgrid){.rows.layout-subgrid{display:flex;flex-direction:column;gap:var(--aup-sub-form-row-gap, 8px)}.row.layout-subgrid{--resolved-sub-form-row-areas: \"handle content up down actions\";--resolved-sub-form-row-columns: auto auto auto auto auto}.row.layout-subgrid .drag-handle{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.row.layout-subgrid .content{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--aup-sub-form-row-gap, 8px)}.row.layout-subgrid.has-actions .content{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.header-row.layout-subgrid .content,.footer-row.layout-subgrid .content{display:flex;flex-wrap:wrap;align-items:center;gap:var(--aup-sub-form-row-gap, 8px)}}.row.layout-inline.fill{--resolved-sub-form-row-columns: auto 1fr auto auto auto}.row.layout-rail.fill{--resolved-sub-form-row-columns: auto 1fr auto}.row.buttons-on-demand .move-command{opacity:0;transition:opacity .15s ease-in-out}.row.buttons-on-demand:hover .move-command,.row.buttons-on-demand:focus-within .move-command{opacity:1}.list-errors{margin:var(--aup-sub-form-row-gap, 8px) 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, 8px)}.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}.row.cdk-drag-preview.layout-subgrid{grid-template-columns:none;grid-auto-flow:column;justify-content:start;column-gap:var(--aup-sub-form-row-gap, 8px)}.row.cdk-drag-preview.layout-subgrid .drag-handle,.row.cdk-drag-preview.layout-subgrid .content,.row.cdk-drag-preview.layout-subgrid .move-up,.row.cdk-drag-preview.layout-subgrid .move-down,.row.cdk-drag-preview.layout-subgrid .remove,.row.cdk-drag-preview.layout-subgrid .actions{grid-area:auto}.row.cdk-drag-preview.layout-subgrid .content{grid-template-columns:none;grid-auto-flow:column;column-gap:var(--aup-sub-form-row-gap, 8px)}.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" }] });
3676
3775
  }
3677
3776
  __decorate([
3678
3777
  Proxify(),
@@ -3688,7 +3787,7 @@ __decorate([
3688
3787
  ], SubFormListComponent.prototype, "addCommand", null);
3689
3788
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListComponent, decorators: [{
3690
3789
  type: Component,
3691
- args: [{ selector: 'aup-sub-form-list', template: "<!-- The rows container carries a layout class only for `subgrid`, the one layout that is not laid\n out entirely within a row: this element is the grid whose tracks the rows subgrid. It is safe\n to anchor rules here \u2014 unlike .row, this element is never cloned. -->\n<div class=\"rows\"\n role=\"list\"\n [class.layout-subgrid]=\"subgridLayout\"\n cdkDropList\n [cdkDropListDisabled]=\"!dragEnabled\"\n (cdkDropListDropped)=\"onDropped($event)\"\n data-cy=\"sub-form-rows\">\n\n <!-- The layout classes go on .row, not the host: CDK's drag preview is a deep clone of .row\n appended to <body>, and a rule anchored on the host cannot reach it. Written as discrete\n [class.x] bindings rather than one [ngClass] object literal, which would allocate a fresh\n object on every change-detection pass. -->\n <div class=\"row\"\n role=\"listitem\"\n *ngFor=\"let context of rows; trackBy: trackByRow\"\n [class.layout-inline]=\"inlineLayout\"\n [class.layout-rail]=\"railLayout\"\n [class.layout-custom]=\"customLayout\"\n [class.layout-subgrid]=\"subgridLayout\"\n [class.fill]=\"fill\"\n [class.buttons-on-demand]=\"buttonsOnDemand\"\n [class.has-actions]=\"hasActions\"\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\" \u2014 and why rowLayout=\"custom\",\n which renders none of them, makes that path the caller's to provide.\n\n It stays library-rendered in every layout because it has to: CdkDragHandle finds its drag\n through the node injector and CdkDrag collects handles with a content query, both scoped to\n the template cdkDrag is written in. A cdkDragHandle in a caller's row template resolves no\n parent and, because that injection is optional, silently does nothing. -->\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 <!-- Given `display: contents` under rowLayout=\"custom\", so the projected template's own\n top-level elements become the row's grid items. Never *ngIf'd away for that: recreating it\n would tear down and rebuild the caller's row bindings, which is exactly what the row\n context memoisation exists to prevent. -->\n <div class=\"content\">\n <ng-container *ngIf=\"rowTemplate\"\n [ngTemplateOutlet]=\"rowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"context\"></ng-container>\n </div>\n\n <!-- The default cluster is three flat grid items, one per named cell, so a layout can place\n them independently \u2014 the rail stacks the moves away from remove. -->\n <ng-container *ngIf=\"defaultActionsVisible\">\n <aup-command *ngIf=\"moveButtonsVisible\" class=\"move-command move-up\"\n [command]=\"context.row.moveUpCommand\"\n [face]=\"moveUpFace\" data-cy=\"sub-form-move-up\"></aup-command>\n <aup-command *ngIf=\"moveButtonsVisible\" class=\"move-command move-down\"\n [command]=\"context.row.moveDownCommand\"\n [face]=\"moveDownFace\" data-cy=\"sub-form-move-down\"></aup-command>\n <aup-command *ngIf=\"removable\" class=\"remove\" [command]=\"context.row.removeItemCommand\"\n [face]=\"removeFace\" data-cy=\"sub-form-remove\"></aup-command>\n </ng-container>\n\n <!-- The replacing cluster keeps its wrapper: it is one grid item in the `actions` cell, and an\n ng-container outlet generates no element to place. -->\n <div class=\"actions\" *ngIf=\"customActionsVisible\">\n <ng-container [ngTemplateOutlet]=\"actionsTemplate.templateRef\"\n [ngTemplateOutletContext]=\"context\"></ng-container>\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}.rows{display:flex;flex-direction:column;gap:var(--aup-sub-form-row-gap, 8px)}.row{display:grid;grid-template-areas:var(--aup-sub-form-row-areas, var(--resolved-sub-form-row-areas, \"handle content up down actions\"));grid-template-columns:var(--aup-sub-form-row-columns, var(--resolved-sub-form-row-columns, auto auto auto auto auto));grid-template-rows:var(--aup-sub-form-row-rows, var(--resolved-sub-form-row-rows, auto));justify-content:start;align-items:center;gap:0;background:var(--aup-sub-form-row-background, transparent)}.drag-handle{grid-area:handle}.content{grid-area:content}.move-up{grid-area:up}.move-down{grid-area:down}.remove,.actions{grid-area:actions}.drag-handle,.row.has-actions .content{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.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, 8px);min-width:0}.move-up,.move-down,.remove{white-space:nowrap}.actions{display:flex;align-items:center;gap:0;white-space:nowrap}.row.layout-rail{--resolved-sub-form-row-areas: \"up content actions\" \"handle content actions\" \"down content actions\";--resolved-sub-form-row-columns: auto auto auto;--resolved-sub-form-row-rows: auto auto auto}.row.layout-rail .move-up{align-self:start}.row.layout-rail .move-down{align-self:end}.row.layout-rail .drag-handle,.row.layout-rail .move-up,.row.layout-rail .move-down{justify-self:center}.row.layout-rail .move-up,.row.layout-rail .move-down{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.row.layout-custom{--resolved-sub-form-row-areas: none;--resolved-sub-form-row-columns: none;--resolved-sub-form-row-rows: none}.row.layout-custom .content{display:contents}.rows.layout-subgrid{display:grid;grid-template-columns:[handle-start] auto [handle-end content-start] var(--aup-sub-form-list-columns, 1fr) [content-end up-start] auto [up-end down-start] auto [down-end actions-start] auto [actions-end];row-gap:var(--aup-sub-form-row-gap, 8px);column-gap:var(--aup-sub-form-list-column-gap, var(--aup-sub-form-row-gap, 8px));justify-content:start}.row.layout-subgrid{--resolved-sub-form-row-areas: none;--resolved-sub-form-row-columns: subgrid;--resolved-sub-form-row-rows: none;grid-column:1/-1}.row.layout-subgrid .drag-handle{grid-column:handle-start/handle-end;margin-inline-end:0}.row.layout-subgrid .content{grid-column:content-start/content-end;display:grid;grid-template-columns:subgrid;align-items:center;column-gap:var(--aup-sub-form-list-column-gap, var(--aup-sub-form-row-gap, 8px))}.row.layout-subgrid.has-actions .content{margin-inline-end:0}.row.layout-subgrid .move-up{grid-column:up-start/up-end}.row.layout-subgrid .move-down{grid-column:down-start/down-end}.row.layout-subgrid .remove,.row.layout-subgrid .actions{grid-column:actions-start/actions-end}@supports not (grid-template-columns: subgrid){.rows.layout-subgrid{display:flex;flex-direction:column;gap:var(--aup-sub-form-row-gap, 8px)}.row.layout-subgrid{--resolved-sub-form-row-areas: \"handle content up down actions\";--resolved-sub-form-row-columns: auto auto auto auto auto}.row.layout-subgrid .drag-handle{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.row.layout-subgrid .content{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--aup-sub-form-row-gap, 8px)}.row.layout-subgrid.has-actions .content{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}}.row.layout-inline.fill{--resolved-sub-form-row-columns: auto 1fr auto auto auto}.row.layout-rail.fill{--resolved-sub-form-row-columns: auto 1fr auto}.row.buttons-on-demand .move-command{opacity:0;transition:opacity .15s ease-in-out}.row.buttons-on-demand:hover .move-command,.row.buttons-on-demand:focus-within .move-command{opacity:1}.list-errors{margin:var(--aup-sub-form-row-gap, 8px) 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, 8px)}.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}.row.cdk-drag-preview.layout-subgrid{grid-template-columns:none;grid-auto-flow:column;justify-content:start;column-gap:var(--aup-sub-form-row-gap, 8px)}.row.cdk-drag-preview.layout-subgrid .drag-handle,.row.cdk-drag-preview.layout-subgrid .content,.row.cdk-drag-preview.layout-subgrid .move-up,.row.cdk-drag-preview.layout-subgrid .move-down,.row.cdk-drag-preview.layout-subgrid .remove,.row.cdk-drag-preview.layout-subgrid .actions{grid-area:auto}.row.cdk-drag-preview.layout-subgrid .content{grid-template-columns:none;grid-auto-flow:column;column-gap:var(--aup-sub-form-row-gap, 8px)}.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"] }]
3790
+ args: [{ selector: 'aup-sub-form-list', template: "<!-- The rows container carries a layout class only for `subgrid`, the one layout that is not laid\n out entirely within a row: this element is the grid whose tracks the rows subgrid. It is safe\n to anchor rules here \u2014 unlike .row, this element is never cloned. -->\n<div class=\"rows\"\n role=\"list\"\n [class.layout-subgrid]=\"subgridLayout\"\n cdkDropList\n [cdkDropListDisabled]=\"!dragEnabled\"\n (cdkDropListDropped)=\"onDropped($event)\"\n data-cy=\"sub-form-rows\">\n\n <!-- Inside .rows and ahead of them, because only a child of the grid can adopt its tracks \u2014 the\n same reason the footer rows sit inside it. A caller aligning column titles from outside would\n have to restate `--aup-sub-form-list-columns`, which drifts the moment a row's cells change.\n\n Hidden from assistive tech and given no listitem role: it names the columns rather than\n standing for an item, and a screen reader reaching the rows through the list should not have\n to step over it. Offered under `subgrid` alone \u2014 it is the only layout with columns to name. -->\n <div class=\"header-row layout-subgrid\"\n *ngIf=\"headerVisible\"\n aria-hidden=\"true\"\n data-cy=\"sub-form-header-row\">\n <!-- Mirrors .content so the caller's top-level elements get the same tracks a row's cells do. -->\n <div class=\"content\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate.templateRef\"></ng-container>\n </div>\n </div>\n\n <!-- The layout classes go on .row, not the host: CDK's drag preview is a deep clone of .row\n appended to <body>, and a rule anchored on the host cannot reach it. Written as discrete\n [class.x] bindings rather than one [ngClass] object literal, which would allocate a fresh\n object on every change-detection pass. -->\n <div class=\"row\"\n role=\"listitem\"\n *ngFor=\"let context of rows; trackBy: trackByRow\"\n [class.layout-inline]=\"inlineLayout\"\n [class.layout-rail]=\"railLayout\"\n [class.layout-custom]=\"customLayout\"\n [class.layout-subgrid]=\"subgridLayout\"\n [class.fill]=\"fill\"\n [class.buttons-on-demand]=\"buttonsOnDemand\"\n [class.has-actions]=\"hasActions\"\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\" \u2014 and why rowLayout=\"custom\",\n which renders none of them, makes that path the caller's to provide.\n\n It stays library-rendered in every layout because it has to: CdkDragHandle finds its drag\n through the node injector and CdkDrag collects handles with a content query, both scoped to\n the template cdkDrag is written in. A cdkDragHandle in a caller's row template resolves no\n parent and, because that injection is optional, silently does nothing. -->\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 <!-- Given `display: contents` under rowLayout=\"custom\", so the projected template's own\n top-level elements become the row's grid items. Never *ngIf'd away for that: recreating it\n would tear down and rebuild the caller's row bindings, which is exactly what the row\n context memoisation exists to prevent. -->\n <div class=\"content\">\n <ng-container *ngIf=\"rowTemplate\"\n [ngTemplateOutlet]=\"rowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"context\"></ng-container>\n </div>\n\n <!-- The default cluster is three flat grid items, one per named cell, so a layout can place\n them independently \u2014 the rail stacks the moves away from remove. -->\n <ng-container *ngIf=\"defaultActionsVisible\">\n <aup-command *ngIf=\"moveButtonsVisible\" class=\"move-command move-up\"\n [command]=\"context.row.moveUpCommand\"\n [face]=\"moveUpFace\" data-cy=\"sub-form-move-up\"></aup-command>\n <aup-command *ngIf=\"moveButtonsVisible\" class=\"move-command move-down\"\n [command]=\"context.row.moveDownCommand\"\n [face]=\"moveDownFace\" data-cy=\"sub-form-move-down\"></aup-command>\n <aup-command *ngIf=\"removable\" class=\"remove\" [command]=\"context.row.removeItemCommand\"\n [face]=\"removeFace\" data-cy=\"sub-form-remove\"></aup-command>\n </ng-container>\n\n <!-- The replacing cluster keeps its wrapper: it is one grid item in the `actions` cell, and an\n ng-container outlet generates no element to place. -->\n <div class=\"actions\" *ngIf=\"customActionsVisible\">\n <ng-container [ngTemplateOutlet]=\"actionsTemplate.templateRef\"\n [ngTemplateOutletContext]=\"context\"></ng-container>\n </div>\n </div>\n\n <!-- Inside .rows deliberately: that element is the grid under `subgrid`, so only a child of it can\n adopt the tracks and line the footer's cells up with the rows'. Placed after the rows and given\n no listitem role \u2014 it is a trailing statement about the list, not another item in it. -->\n <div class=\"footer-row\"\n *ngFor=\"let footer of footerTemplates\"\n [class.layout-subgrid]=\"subgridLayout\"\n data-cy=\"sub-form-footer-row\">\n <!-- Mirrors .content so the caller's top-level elements get the same tracks a row's cells do. -->\n <div class=\"content\">\n <ng-container [ngTemplateOutlet]=\"footer.templateRef\"></ng-container>\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}.rows{display:flex;flex-direction:column;gap:var(--aup-sub-form-row-gap, 8px)}.row{display:grid;grid-template-areas:var(--aup-sub-form-row-areas, var(--resolved-sub-form-row-areas, \"handle content up down actions\"));grid-template-columns:var(--aup-sub-form-row-columns, var(--resolved-sub-form-row-columns, auto auto auto auto auto));grid-template-rows:var(--aup-sub-form-row-rows, var(--resolved-sub-form-row-rows, auto));justify-content:start;align-items:center;gap:0;background:var(--aup-sub-form-row-background, transparent)}.drag-handle{grid-area:handle}.content{grid-area:content}.move-up{grid-area:up}.move-down{grid-area:down}.remove,.actions{grid-area:actions}.drag-handle,.row.has-actions .content{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.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, 8px);min-width:0}.move-up,.move-down,.remove{white-space:nowrap}.actions{display:flex;align-items:center;gap:0;white-space:nowrap}.row.layout-rail{--resolved-sub-form-row-areas: \"up content actions\" \"handle content actions\" \"down content actions\";--resolved-sub-form-row-columns: auto auto auto;--resolved-sub-form-row-rows: auto auto auto}.row.layout-rail .move-up{align-self:start}.row.layout-rail .move-down{align-self:end}.row.layout-rail .drag-handle,.row.layout-rail .move-up,.row.layout-rail .move-down{justify-self:center}.row.layout-rail .move-up,.row.layout-rail .move-down{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.row.layout-custom{--resolved-sub-form-row-areas: none;--resolved-sub-form-row-columns: none;--resolved-sub-form-row-rows: none}.row.layout-custom .content{display:contents}.rows.layout-subgrid{display:grid;grid-template-columns:[handle-start] auto [handle-end content-start] var(--aup-sub-form-list-columns, 1fr) [content-end up-start] auto [up-end down-start] auto [down-end actions-start] auto [actions-end];row-gap:var(--aup-sub-form-row-gap, 8px);column-gap:var(--aup-sub-form-list-column-gap, var(--aup-sub-form-row-gap, 8px));justify-content:start}.row.layout-subgrid{--resolved-sub-form-row-areas: none;--resolved-sub-form-row-columns: subgrid;--resolved-sub-form-row-rows: none;grid-column:1/-1}.row.layout-subgrid .drag-handle{grid-column:handle-start/handle-end;margin-inline-end:0}.row.layout-subgrid .content{grid-column:content-start/content-end;display:grid;grid-template-columns:subgrid;align-items:center;column-gap:var(--aup-sub-form-list-column-gap, var(--aup-sub-form-row-gap, 8px))}.row.layout-subgrid.has-actions .content{margin-inline-end:0}.row.layout-subgrid .move-up{grid-column:up-start/up-end}.row.layout-subgrid .move-down{grid-column:down-start/down-end}.row.layout-subgrid .remove,.row.layout-subgrid .actions{grid-column:actions-start/actions-end}.header-row.layout-subgrid,.footer-row.layout-subgrid{display:grid;grid-template-columns:subgrid;grid-column:1/-1;gap:0}.header-row.layout-subgrid .content,.footer-row.layout-subgrid .content{grid-column:content-start/content-end;display:grid;grid-template-columns:subgrid;align-items:center;column-gap:var(--aup-sub-form-list-column-gap, var(--aup-sub-form-row-gap, 8px))}@supports not (grid-template-columns: subgrid){.rows.layout-subgrid{display:flex;flex-direction:column;gap:var(--aup-sub-form-row-gap, 8px)}.row.layout-subgrid{--resolved-sub-form-row-areas: \"handle content up down actions\";--resolved-sub-form-row-columns: auto auto auto auto auto}.row.layout-subgrid .drag-handle{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.row.layout-subgrid .content{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--aup-sub-form-row-gap, 8px)}.row.layout-subgrid.has-actions .content{margin-inline-end:var(--aup-sub-form-row-gap, 8px)}.header-row.layout-subgrid .content,.footer-row.layout-subgrid .content{display:flex;flex-wrap:wrap;align-items:center;gap:var(--aup-sub-form-row-gap, 8px)}}.row.layout-inline.fill{--resolved-sub-form-row-columns: auto 1fr auto auto auto}.row.layout-rail.fill{--resolved-sub-form-row-columns: auto 1fr auto}.row.buttons-on-demand .move-command{opacity:0;transition:opacity .15s ease-in-out}.row.buttons-on-demand:hover .move-command,.row.buttons-on-demand:focus-within .move-command{opacity:1}.list-errors{margin:var(--aup-sub-form-row-gap, 8px) 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, 8px)}.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}.row.cdk-drag-preview.layout-subgrid{grid-template-columns:none;grid-auto-flow:column;justify-content:start;column-gap:var(--aup-sub-form-row-gap, 8px)}.row.cdk-drag-preview.layout-subgrid .drag-handle,.row.cdk-drag-preview.layout-subgrid .content,.row.cdk-drag-preview.layout-subgrid .move-up,.row.cdk-drag-preview.layout-subgrid .move-down,.row.cdk-drag-preview.layout-subgrid .remove,.row.cdk-drag-preview.layout-subgrid .actions{grid-area:auto}.row.cdk-drag-preview.layout-subgrid .content{grid-template-columns:none;grid-auto-flow:column;column-gap:var(--aup-sub-form-row-gap, 8px)}.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"] }]
3692
3791
  }], ctorParameters: function () { return []; }, propDecorators: { list: [{
3693
3792
  type: Input
3694
3793
  }], reorder: [{
@@ -3730,6 +3829,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
3730
3829
  }], emptyTemplate: [{
3731
3830
  type: ContentChild,
3732
3831
  args: [SubFormListEmptyDirective]
3832
+ }], headerTemplate: [{
3833
+ type: ContentChild,
3834
+ args: [SubFormListHeaderDirective]
3835
+ }], footerTemplates: [{
3836
+ type: ContentChildren,
3837
+ args: [SubFormListFooterDirective]
3733
3838
  }], buttonsOnDemand: [{
3734
3839
  type: HostBinding,
3735
3840
  args: ['class.buttons-on-demand']
@@ -7727,7 +7832,9 @@ class ComponentsModule {
7727
7832
  SubFormListComponent,
7728
7833
  SubFormRowDirective,
7729
7834
  SubFormRowActionsDirective,
7730
- SubFormListEmptyDirective], imports: [CommonModule,
7835
+ SubFormListEmptyDirective,
7836
+ SubFormListFooterDirective,
7837
+ SubFormListHeaderDirective], imports: [CommonModule,
7731
7838
  BrowserAnimationsModule,
7732
7839
  FormsModule,
7733
7840
  MatInputModule,
@@ -7795,7 +7902,9 @@ class ComponentsModule {
7795
7902
  SubFormListComponent,
7796
7903
  SubFormRowDirective,
7797
7904
  SubFormRowActionsDirective,
7798
- SubFormListEmptyDirective] });
7905
+ SubFormListEmptyDirective,
7906
+ SubFormListFooterDirective,
7907
+ SubFormListHeaderDirective] });
7799
7908
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ComponentsModule, providers: [FocusBindingFactory, MarkdownService], imports: [CommonModule,
7800
7909
  BrowserAnimationsModule,
7801
7910
  FormsModule,
@@ -7912,6 +8021,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
7912
8021
  SubFormRowDirective,
7913
8022
  SubFormRowActionsDirective,
7914
8023
  SubFormListEmptyDirective,
8024
+ SubFormListFooterDirective,
8025
+ SubFormListHeaderDirective,
7915
8026
  ],
7916
8027
  exports: [
7917
8028
  ButtonRendererComponent,
@@ -7961,6 +8072,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
7961
8072
  SubFormRowDirective,
7962
8073
  SubFormRowActionsDirective,
7963
8074
  SubFormListEmptyDirective,
8075
+ SubFormListFooterDirective,
8076
+ SubFormListHeaderDirective,
7964
8077
  ],
7965
8078
  providers: [FocusBindingFactory, MarkdownService],
7966
8079
  }]
@@ -14800,5 +14913,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
14800
14913
  * Generated bundle index. Do not edit.
14801
14914
  */
14802
14915
 
14803
- 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 };
14916
+ 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, SubFormListFooterDirective, SubFormListHeaderDirective, 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 };
14804
14917
  //# sourceMappingURL=coolon-angular-ui-powerups.mjs.map