@coolon/angular-ui-powerups 16.1.0-alpha.342 → 16.1.0-alpha.344
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/_icon-button.scss +16 -0
- package/assets/table.scss +25 -2
- package/esm2022/lib/components/alignment.mjs +6 -1
- package/esm2022/lib/components/commands/button-renderer/button-renderer.component.mjs +20 -4
- package/esm2022/lib/components/commands/command/command.component.mjs +12 -4
- package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +6 -2
- package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +3 -3
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +3 -3
- package/esm2022/lib/components/forms/password-input/password-input.component.mjs +1 -1
- package/esm2022/lib/components/forms/string-input/string-input.component.mjs +1 -1
- package/esm2022/lib/components/forms/sub-form-list/sub-form-list.component.mjs +1 -1
- package/esm2022/lib/components/tables/abstract-table-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/column-model.mjs +15 -1
- package/esm2022/lib/components/tables/renderer/table-action-column/table-action-column.component.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +6 -2
- package/esm2022/lib/components/tables/tree-table/tree-expansion-model.mjs +29 -4
- package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +1 -1
- package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +1 -1
- package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +1 -1
- package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +1 -1
- package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +1 -1
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +1 -1
- package/esm2022/lib/interaction/components/input-activities/option-list-activity/option-list-activity.mjs +1 -1
- package/fesm2022/coolon-angular-ui-powerups.mjs +102 -27
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/alignment.d.ts +6 -0
- package/lib/components/commands/button-renderer/button-renderer.component.d.ts +6 -2
- package/lib/components/commands/command/command.component.d.ts +8 -2
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +4 -1
- package/lib/components/tables/column/column-model.d.ts +9 -0
- package/lib/components/tables/tree-table/tree-expansion-model.d.ts +19 -3
- package/package.json +9 -3
|
@@ -43,7 +43,7 @@ import { MatTooltip, MatTooltipModule } from '@angular/material/tooltip';
|
|
|
43
43
|
import * as i6 from 'ng-table-virtual-scroll';
|
|
44
44
|
import { TableVirtualScrollDataSource, TableVirtualScrollModule } from 'ng-table-virtual-scroll';
|
|
45
45
|
import * as i1$2 from '@coolon/pectin';
|
|
46
|
-
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, proxify, ValueModel, Proxify, Logger, StoreInValueModel, Command, MutableListModel, StoreInListModel, ListModel, Disposable, Trace, DelegatingListModel, MutableValueModel, DelegateToValueModel, FocusManager, EventListenerList, Guard, DelegatingFormListModel, Binding, DebugContext, DelegateToListModel, DelegatingFormValueModel, Rejection, Functions, PageController, SelectionModel, CanProxy, MultipleSelectionModel, WatchList, ProxyRegistry, DependsOnOptions, LoadingStateTracker, Loadable, HasValue, DelegatingCommand, ComputedListModel, Deferred, ReducingValueModel, AndValueModel, SingleSelectionModel, DirtyTrackingForm } from '@coolon/pectin';
|
|
46
|
+
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, proxify, ValueModel, Proxify, Logger, StoreInValueModel, Command, MutableListModel, StoreInListModel, ListModel, Disposable, Trace, DelegatingListModel, MutableValueModel, DelegateToValueModel, FocusManager, EventListenerList, Guard, DelegatingFormListModel, Binding, DebugContext, DelegateToListModel, DelegatingFormValueModel, Rejection, Functions, PageController, SelectionModel, CanProxy, MultipleSelectionModel, WatchList, ProxyRegistry, DependsOnOptions, LoadingStateTracker, Loadable, HasValue, DelegatingCommand, ComputedListModel, CanIdentify, Deferred, ReducingValueModel, AndValueModel, SingleSelectionModel, DirtyTrackingForm } from '@coolon/pectin';
|
|
47
47
|
import { __decorate, __metadata, __param } from 'tslib';
|
|
48
48
|
import * as i1 from '@angular/platform-browser';
|
|
49
49
|
import escapeStringRegexp from 'escape-string-regexp';
|
|
@@ -1401,6 +1401,11 @@ const HorizontalAlignment = Enum({
|
|
|
1401
1401
|
CENTER: 'center',
|
|
1402
1402
|
END: 'end'
|
|
1403
1403
|
});
|
|
1404
|
+
/** An edge of a container, in the reading direction: where a command's button may sit (see `CommandComponent.edge`). */
|
|
1405
|
+
const Edge = Enum({
|
|
1406
|
+
START: 'start',
|
|
1407
|
+
END: 'end'
|
|
1408
|
+
});
|
|
1404
1409
|
|
|
1405
1410
|
const POPUP_CONTAINER = new InjectionToken('popup-component');
|
|
1406
1411
|
|
|
@@ -1483,6 +1488,14 @@ class ButtonRendererComponent extends PopupAwareComponent {
|
|
|
1483
1488
|
density;
|
|
1484
1489
|
/** Whether the button fills the renderer's box (see `CommandComponent.fill`). */
|
|
1485
1490
|
fill = false;
|
|
1491
|
+
/** The edge of its container the button sits at (see `CommandComponent.edge`). */
|
|
1492
|
+
edge;
|
|
1493
|
+
get atStartEdge() {
|
|
1494
|
+
return this.edge === Edge.START;
|
|
1495
|
+
}
|
|
1496
|
+
get atEndEdge() {
|
|
1497
|
+
return this.edge === Edge.END;
|
|
1498
|
+
}
|
|
1486
1499
|
/** What the label does in a box narrower than it (see `CommandComponent.labelOverflow`). */
|
|
1487
1500
|
labelOverflow = 'visible';
|
|
1488
1501
|
get ellipsis() {
|
|
@@ -1526,7 +1539,7 @@ class ButtonRendererComponent extends PopupAwareComponent {
|
|
|
1526
1539
|
this.matControl.focus();
|
|
1527
1540
|
}
|
|
1528
1541
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ButtonRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1529
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ButtonRendererComponent, selector: "aup-button-renderer", inputs: { faces$: "faces$", faces: "faces", enabled$: "enabled$", enabled: "enabled", busy$: "busy$", busy: "busy", alignFace: "alignFace", forceRenderAsButton: "forceRenderAsButton", density: "density", fill: "fill", labelOverflow: "labelOverflow" }, host: { properties: { "class": "this.alignFace", "class.fill": "this.fill", "class.ellipsis": "this.ellipsis", "class.dense": "this.dense", "class.compact": "this.compact", "class.in-popup": "this.renderAsMenuItem" } }, viewQueries: [{ propertyName: "matControl", first: true, predicate: ["button"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"!renderAsMenuItem\">\n <ng-container *ngIf=\"iconOnly$.value\">\n <!-- The tooltip is the only text an icon-only button has, so it is the button's name as well. -->\n <button #button mat-icon-button [color]=\"color$.value\" [disabled]=\"!enabled\" [matTooltip]=\"tooltip$.value\"\n [attr.aria-label]=\"tooltip$.value || null\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngIf=\"!iconOnly$.value\">\n <ng-container [ngSwitch]=\"buttonStyle$.value\">\n <ng-container *ngSwitchCase=\"CommandFaceUtils.Style.STROKED\">\n <button #button mat-stroked-button [color]=\"color$.value\" [disabled]=\"!enabled\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchCase=\"CommandFaceUtils.Style.RAISED\">\n <button #button mat-raised-button [color]=\"color$.value\" [disabled]=\"!enabled\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button #button mat-button [color]=\"color$.value\" [disabled]=\"!enabled\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<ng-container *ngIf=\"renderAsMenuItem\">\n <button #button mat-menu-item [disabled]=\"!enabled\" [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n</ng-container>\n", styles: [":host{display:inline-flex;flex-direction:row;justify-content:stretch}:host.in-popup{display:contents}:host button{flex:1}:host.centered button{text-align:center}:host.start button{text-align:start}:host.end button{text-align:end}:host.fill{align-self:stretch}:host.fill button{width:100%;min-width:0;border-radius:0}:host.fill button.mat-mdc-icon-button{height:100%;padding:0}:host.fill ::ng-deep .mat-mdc-button-persistent-ripple,:host.fill ::ng-deep .mat-mdc-button-ripple,:host.fill ::ng-deep .mat-mdc-focus-indicator{border-radius:0}:host.fill.start button{justify-content:flex-start}:host.fill.end button{justify-content:flex-end}:host.ellipsis{min-width:0;max-width:100%}:host.ellipsis button,:host.ellipsis ::ng-deep .mdc-button__label,:host.ellipsis ::ng-deep aup-command-face,:host.ellipsis ::ng-deep .face-container{min-width:0;max-width:100%}:host.ellipsis ::ng-deep .face-container>span{overflow:hidden;text-overflow:ellipsis}:host button.cdk-program-focused:not(:hover) ::ng-deep .mat-mdc-button-persistent-ripple:before{opacity:0}:host.dense button.mat-mdc-icon-button{--mdc-icon-button-state-layer-size: 32px;--aup-icon-size: 20px;width:32px;height:32px;padding:4px;line-height:0}:host.dense button:not(.mat-mdc-icon-button){height:32px}:host.compact button.mat-mdc-icon-button{--mdc-icon-button-state-layer-size: 28px;--aup-icon-size: 18px;width:28px;height:28px;padding:0;line-height:0}:host.compact button:not(.mat-mdc-icon-button){height:28px;padding:0 8px;min-width:0;font-size:min(1em,14px);letter-spacing:.0892857143em}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i4.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "component", type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }] });
|
|
1542
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ButtonRendererComponent, selector: "aup-button-renderer", inputs: { faces$: "faces$", faces: "faces", enabled$: "enabled$", enabled: "enabled", busy$: "busy$", busy: "busy", alignFace: "alignFace", forceRenderAsButton: "forceRenderAsButton", density: "density", fill: "fill", edge: "edge", labelOverflow: "labelOverflow" }, host: { properties: { "class": "this.alignFace", "class.fill": "this.fill", "class.edge-start": "this.atStartEdge", "class.edge-end": "this.atEndEdge", "class.ellipsis": "this.ellipsis", "class.dense": "this.dense", "class.compact": "this.compact", "class.in-popup": "this.renderAsMenuItem" } }, viewQueries: [{ propertyName: "matControl", first: true, predicate: ["button"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"!renderAsMenuItem\">\n <ng-container *ngIf=\"iconOnly$.value\">\n <!-- The tooltip is the only text an icon-only button has, so it is the button's name as well. -->\n <button #button mat-icon-button [color]=\"color$.value\" [disabled]=\"!enabled\" [matTooltip]=\"tooltip$.value\"\n [attr.aria-label]=\"tooltip$.value || null\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngIf=\"!iconOnly$.value\">\n <ng-container [ngSwitch]=\"buttonStyle$.value\">\n <ng-container *ngSwitchCase=\"CommandFaceUtils.Style.STROKED\">\n <button #button mat-stroked-button [color]=\"color$.value\" [disabled]=\"!enabled\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchCase=\"CommandFaceUtils.Style.RAISED\">\n <button #button mat-raised-button [color]=\"color$.value\" [disabled]=\"!enabled\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button #button mat-button [color]=\"color$.value\" [disabled]=\"!enabled\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<ng-container *ngIf=\"renderAsMenuItem\">\n <button #button mat-menu-item [disabled]=\"!enabled\" [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n</ng-container>\n", styles: [":host{display:inline-flex;flex-direction:row;justify-content:stretch}:host.in-popup{display:contents}:host button{flex:1}:host.centered button{text-align:center}:host.start button{text-align:start}:host.end button{text-align:end}:host.fill{align-self:stretch}:host.fill button{width:100%;min-width:0;border-radius:0}:host.fill button.mat-mdc-icon-button{height:100%;padding:0}:host.fill ::ng-deep .mat-mdc-button-persistent-ripple,:host.fill ::ng-deep .mat-mdc-button-ripple,:host.fill ::ng-deep .mat-mdc-focus-indicator{border-radius:0}:host.fill.start button{justify-content:flex-start}:host.fill.end button{justify-content:flex-end}:host.ellipsis{min-width:0;max-width:100%}:host.ellipsis button,:host.ellipsis ::ng-deep .mdc-button__label,:host.ellipsis ::ng-deep aup-command-face,:host.ellipsis ::ng-deep .face-container{min-width:0;max-width:100%}:host.ellipsis ::ng-deep .face-container>span{overflow:hidden;text-overflow:ellipsis}:host button.cdk-program-focused:not(:hover) ::ng-deep .mat-mdc-button-persistent-ripple:before{opacity:0}:host.edge-start:not(.fill) button.mat-mdc-icon-button{margin-inline-start:calc(-1 * calc((var(--mdc-icon-button-state-layer-size, 48px) - var(--aup-icon-size, 24px)) / 2))}:host.edge-end:not(.fill) button.mat-mdc-icon-button{margin-inline-end:calc(-1 * calc((var(--mdc-icon-button-state-layer-size, 48px) - var(--aup-icon-size, 24px)) / 2))}:host.dense button.mat-mdc-icon-button{--mdc-icon-button-state-layer-size: 32px;--aup-icon-size: 20px;width:32px;height:32px;padding:4px;line-height:0}:host.dense button:not(.mat-mdc-icon-button){height:32px}:host.compact button.mat-mdc-icon-button{--mdc-icon-button-state-layer-size: 28px;--aup-icon-size: 18px;width:28px;height:28px;padding:0;line-height:0}:host.compact button:not(.mat-mdc-icon-button){height:28px;padding:0 8px;min-width:0;font-size:min(1em,14px);letter-spacing:.0892857143em}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i4.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "component", type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }] });
|
|
1530
1543
|
}
|
|
1531
1544
|
__decorate([
|
|
1532
1545
|
Proxify(),
|
|
@@ -1554,7 +1567,7 @@ __decorate([
|
|
|
1554
1567
|
], ButtonRendererComponent.prototype, "busy", null);
|
|
1555
1568
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ButtonRendererComponent, decorators: [{
|
|
1556
1569
|
type: Component,
|
|
1557
|
-
args: [{ selector: 'aup-button-renderer', template: "<ng-container *ngIf=\"!renderAsMenuItem\">\n <ng-container *ngIf=\"iconOnly$.value\">\n <!-- The tooltip is the only text an icon-only button has, so it is the button's name as well. -->\n <button #button mat-icon-button [color]=\"color$.value\" [disabled]=\"!enabled\" [matTooltip]=\"tooltip$.value\"\n [attr.aria-label]=\"tooltip$.value || null\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngIf=\"!iconOnly$.value\">\n <ng-container [ngSwitch]=\"buttonStyle$.value\">\n <ng-container *ngSwitchCase=\"CommandFaceUtils.Style.STROKED\">\n <button #button mat-stroked-button [color]=\"color$.value\" [disabled]=\"!enabled\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchCase=\"CommandFaceUtils.Style.RAISED\">\n <button #button mat-raised-button [color]=\"color$.value\" [disabled]=\"!enabled\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button #button mat-button [color]=\"color$.value\" [disabled]=\"!enabled\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<ng-container *ngIf=\"renderAsMenuItem\">\n <button #button mat-menu-item [disabled]=\"!enabled\" [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n</ng-container>\n", styles: [":host{display:inline-flex;flex-direction:row;justify-content:stretch}:host.in-popup{display:contents}:host button{flex:1}:host.centered button{text-align:center}:host.start button{text-align:start}:host.end button{text-align:end}:host.fill{align-self:stretch}:host.fill button{width:100%;min-width:0;border-radius:0}:host.fill button.mat-mdc-icon-button{height:100%;padding:0}:host.fill ::ng-deep .mat-mdc-button-persistent-ripple,:host.fill ::ng-deep .mat-mdc-button-ripple,:host.fill ::ng-deep .mat-mdc-focus-indicator{border-radius:0}:host.fill.start button{justify-content:flex-start}:host.fill.end button{justify-content:flex-end}:host.ellipsis{min-width:0;max-width:100%}:host.ellipsis button,:host.ellipsis ::ng-deep .mdc-button__label,:host.ellipsis ::ng-deep aup-command-face,:host.ellipsis ::ng-deep .face-container{min-width:0;max-width:100%}:host.ellipsis ::ng-deep .face-container>span{overflow:hidden;text-overflow:ellipsis}:host button.cdk-program-focused:not(:hover) ::ng-deep .mat-mdc-button-persistent-ripple:before{opacity:0}:host.dense button.mat-mdc-icon-button{--mdc-icon-button-state-layer-size: 32px;--aup-icon-size: 20px;width:32px;height:32px;padding:4px;line-height:0}:host.dense button:not(.mat-mdc-icon-button){height:32px}:host.compact button.mat-mdc-icon-button{--mdc-icon-button-state-layer-size: 28px;--aup-icon-size: 18px;width:28px;height:28px;padding:0;line-height:0}:host.compact button:not(.mat-mdc-icon-button){height:28px;padding:0 8px;min-width:0;font-size:min(1em,14px);letter-spacing:.0892857143em}\n"] }]
|
|
1570
|
+
args: [{ selector: 'aup-button-renderer', template: "<ng-container *ngIf=\"!renderAsMenuItem\">\n <ng-container *ngIf=\"iconOnly$.value\">\n <!-- The tooltip is the only text an icon-only button has, so it is the button's name as well. -->\n <button #button mat-icon-button [color]=\"color$.value\" [disabled]=\"!enabled\" [matTooltip]=\"tooltip$.value\"\n [attr.aria-label]=\"tooltip$.value || null\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngIf=\"!iconOnly$.value\">\n <ng-container [ngSwitch]=\"buttonStyle$.value\">\n <ng-container *ngSwitchCase=\"CommandFaceUtils.Style.STROKED\">\n <button #button mat-stroked-button [color]=\"color$.value\" [disabled]=\"!enabled\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchCase=\"CommandFaceUtils.Style.RAISED\">\n <button #button mat-raised-button [color]=\"color$.value\" [disabled]=\"!enabled\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button #button mat-button [color]=\"color$.value\" [disabled]=\"!enabled\"\n [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n </ng-container>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<ng-container *ngIf=\"renderAsMenuItem\">\n <button #button mat-menu-item [disabled]=\"!enabled\" [matTooltip]=\"tooltip$.value\">\n <aup-command-face [class]=\"alignFace\" [faces]=\"faces$.value\"></aup-command-face>\n </button>\n</ng-container>\n", styles: [":host{display:inline-flex;flex-direction:row;justify-content:stretch}:host.in-popup{display:contents}:host button{flex:1}:host.centered button{text-align:center}:host.start button{text-align:start}:host.end button{text-align:end}:host.fill{align-self:stretch}:host.fill button{width:100%;min-width:0;border-radius:0}:host.fill button.mat-mdc-icon-button{height:100%;padding:0}:host.fill ::ng-deep .mat-mdc-button-persistent-ripple,:host.fill ::ng-deep .mat-mdc-button-ripple,:host.fill ::ng-deep .mat-mdc-focus-indicator{border-radius:0}:host.fill.start button{justify-content:flex-start}:host.fill.end button{justify-content:flex-end}:host.ellipsis{min-width:0;max-width:100%}:host.ellipsis button,:host.ellipsis ::ng-deep .mdc-button__label,:host.ellipsis ::ng-deep aup-command-face,:host.ellipsis ::ng-deep .face-container{min-width:0;max-width:100%}:host.ellipsis ::ng-deep .face-container>span{overflow:hidden;text-overflow:ellipsis}:host button.cdk-program-focused:not(:hover) ::ng-deep .mat-mdc-button-persistent-ripple:before{opacity:0}:host.edge-start:not(.fill) button.mat-mdc-icon-button{margin-inline-start:calc(-1 * calc((var(--mdc-icon-button-state-layer-size, 48px) - var(--aup-icon-size, 24px)) / 2))}:host.edge-end:not(.fill) button.mat-mdc-icon-button{margin-inline-end:calc(-1 * calc((var(--mdc-icon-button-state-layer-size, 48px) - var(--aup-icon-size, 24px)) / 2))}:host.dense button.mat-mdc-icon-button{--mdc-icon-button-state-layer-size: 32px;--aup-icon-size: 20px;width:32px;height:32px;padding:4px;line-height:0}:host.dense button:not(.mat-mdc-icon-button){height:32px}:host.compact button.mat-mdc-icon-button{--mdc-icon-button-state-layer-size: 28px;--aup-icon-size: 18px;width:28px;height:28px;padding:0;line-height:0}:host.compact button:not(.mat-mdc-icon-button){height:28px;padding:0 8px;min-width:0;font-size:min(1em,14px);letter-spacing:.0892857143em}\n"] }]
|
|
1558
1571
|
}], ctorParameters: function () { return []; }, propDecorators: { faces$: [{
|
|
1559
1572
|
type: Input
|
|
1560
1573
|
}], faces: [{
|
|
@@ -1581,6 +1594,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
1581
1594
|
}, {
|
|
1582
1595
|
type: HostBinding,
|
|
1583
1596
|
args: ['class.fill']
|
|
1597
|
+
}], edge: [{
|
|
1598
|
+
type: Input
|
|
1599
|
+
}], atStartEdge: [{
|
|
1600
|
+
type: HostBinding,
|
|
1601
|
+
args: ['class.edge-start']
|
|
1602
|
+
}], atEndEdge: [{
|
|
1603
|
+
type: HostBinding,
|
|
1604
|
+
args: ['class.edge-end']
|
|
1584
1605
|
}], labelOverflow: [{
|
|
1585
1606
|
type: Input
|
|
1586
1607
|
}], ellipsis: [{
|
|
@@ -1630,6 +1651,12 @@ class CommandComponent extends PopupAwareComponent {
|
|
|
1630
1651
|
* end of the box.
|
|
1631
1652
|
*/
|
|
1632
1653
|
fill = false;
|
|
1654
|
+
/**
|
|
1655
|
+
* The edge of its container this command's button sits at, if it ends a padded row such as a header or a toolbar.
|
|
1656
|
+
* An icon button there gives back the transparent inset round its icon, so its icon lines up with the content edge
|
|
1657
|
+
* as text there would. A text button is unaffected. Leave it unset for a button with something after it.
|
|
1658
|
+
*/
|
|
1659
|
+
edge;
|
|
1633
1660
|
/** What the label does in a box narrower than it: 'ellipsis' lets the button shrink and cuts the label short with "…". */
|
|
1634
1661
|
labelOverflow = 'visible';
|
|
1635
1662
|
get ellipsis() {
|
|
@@ -1685,7 +1712,7 @@ class CommandComponent extends PopupAwareComponent {
|
|
|
1685
1712
|
this.button.focus();
|
|
1686
1713
|
}
|
|
1687
1714
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: CommandComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1688
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: CommandComponent, selector: "aup-command", inputs: { command: "command", face$: "face$", face: "face", busyFace$: "busyFace$", busyFace: "busyFace", alignFace: "alignFace", density: "density", fill: "fill", labelOverflow: "labelOverflow" }, host: { properties: { "class": "this.alignFace", "class.fill": "this.fill", "class.ellipsis": "this.ellipsis", "style.display": "this.cssDisplayProperty" } }, viewQueries: [{ propertyName: "button", first: true, predicate: ButtonRendererComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<aup-button-renderer [density]=\"density\" [fill]=\"fill\" [labelOverflow]=\"labelOverflow\" [faces$]=\"faces$\" [enabled$]=\"command.enabled$\" [alignFace]=\"alignFace\" [pectinCommand]=\"command\"></aup-button-renderer>\n", styles: [":host{display:inline-flex;flex-direction:column;align-items:stretch}:host.in-popup{display:contents}:host.fill>aup-button-renderer{flex:1;min-height:0}:host.ellipsis{min-width:0;max-width:100%}\n"], dependencies: [{ kind: "directive", type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter", "preventDefault"] }, { kind: "component", type: ButtonRendererComponent, selector: "aup-button-renderer", inputs: ["faces$", "faces", "enabled$", "enabled", "busy$", "busy", "alignFace", "forceRenderAsButton", "density", "fill", "labelOverflow"] }] });
|
|
1715
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: CommandComponent, selector: "aup-command", inputs: { command: "command", face$: "face$", face: "face", busyFace$: "busyFace$", busyFace: "busyFace", alignFace: "alignFace", density: "density", fill: "fill", edge: "edge", labelOverflow: "labelOverflow" }, host: { properties: { "class": "this.alignFace", "class.fill": "this.fill", "class.ellipsis": "this.ellipsis", "style.display": "this.cssDisplayProperty" } }, viewQueries: [{ propertyName: "button", first: true, predicate: ButtonRendererComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<aup-button-renderer [density]=\"density\" [fill]=\"fill\" [edge]=\"edge\" [labelOverflow]=\"labelOverflow\" [faces$]=\"faces$\" [enabled$]=\"command.enabled$\" [alignFace]=\"alignFace\" [pectinCommand]=\"command\"></aup-button-renderer>\n", styles: [":host{display:inline-flex;flex-direction:column;align-items:stretch}:host.in-popup{display:contents}:host.fill>aup-button-renderer{flex:1;min-height:0}:host.ellipsis{min-width:0;max-width:100%}\n"], dependencies: [{ kind: "directive", type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter", "preventDefault"] }, { kind: "component", type: ButtonRendererComponent, selector: "aup-button-renderer", inputs: ["faces$", "faces", "enabled$", "enabled", "busy$", "busy", "alignFace", "forceRenderAsButton", "density", "fill", "edge", "labelOverflow"] }] });
|
|
1689
1716
|
}
|
|
1690
1717
|
__decorate([
|
|
1691
1718
|
Proxify(),
|
|
@@ -1709,7 +1736,7 @@ __decorate([
|
|
|
1709
1736
|
], CommandComponent.prototype, "busyFace", null);
|
|
1710
1737
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: CommandComponent, decorators: [{
|
|
1711
1738
|
type: Component,
|
|
1712
|
-
args: [{ selector: 'aup-command', template: "<aup-button-renderer [density]=\"density\" [fill]=\"fill\" [labelOverflow]=\"labelOverflow\" [faces$]=\"faces$\" [enabled$]=\"command.enabled$\" [alignFace]=\"alignFace\" [pectinCommand]=\"command\"></aup-button-renderer>\n", styles: [":host{display:inline-flex;flex-direction:column;align-items:stretch}:host.in-popup{display:contents}:host.fill>aup-button-renderer{flex:1;min-height:0}:host.ellipsis{min-width:0;max-width:100%}\n"] }]
|
|
1739
|
+
args: [{ selector: 'aup-command', template: "<aup-button-renderer [density]=\"density\" [fill]=\"fill\" [edge]=\"edge\" [labelOverflow]=\"labelOverflow\" [faces$]=\"faces$\" [enabled$]=\"command.enabled$\" [alignFace]=\"alignFace\" [pectinCommand]=\"command\"></aup-button-renderer>\n", styles: [":host{display:inline-flex;flex-direction:column;align-items:stretch}:host.in-popup{display:contents}:host.fill>aup-button-renderer{flex:1;min-height:0}:host.ellipsis{min-width:0;max-width:100%}\n"] }]
|
|
1713
1740
|
}], ctorParameters: function () { return []; }, propDecorators: { command: [{
|
|
1714
1741
|
type: Input
|
|
1715
1742
|
}], face$: [{
|
|
@@ -1732,6 +1759,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
1732
1759
|
}, {
|
|
1733
1760
|
type: HostBinding,
|
|
1734
1761
|
args: ['class.fill']
|
|
1762
|
+
}], edge: [{
|
|
1763
|
+
type: Input
|
|
1735
1764
|
}], labelOverflow: [{
|
|
1736
1765
|
type: Input
|
|
1737
1766
|
}], ellipsis: [{
|
|
@@ -1769,6 +1798,8 @@ class AbstractPopupMenuComponent extends PopupAwareComponent {
|
|
|
1769
1798
|
faceAdapter$;
|
|
1770
1799
|
xPosition = 'after';
|
|
1771
1800
|
yPosition = 'below';
|
|
1801
|
+
/** The edge of its container the menu's button sits at (see `CommandComponent.edge`). */
|
|
1802
|
+
edge;
|
|
1772
1803
|
triggers;
|
|
1773
1804
|
#enabled$_accessor_storage = proxify((ValueModel));
|
|
1774
1805
|
get enabled$() { return this.#enabled$_accessor_storage; }
|
|
@@ -1837,7 +1868,7 @@ class AbstractPopupMenuComponent extends PopupAwareComponent {
|
|
|
1837
1868
|
return this.faceAdapter.face;
|
|
1838
1869
|
}
|
|
1839
1870
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AbstractPopupMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1840
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: AbstractPopupMenuComponent, selector: "aup-abstract-popup-menu", inputs: { xPosition: "xPosition", yPosition: "yPosition", enabled$: "enabled$", enabled: "enabled" }, viewQueries: [{ propertyName: "triggers", predicate: MatMenuTrigger, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1871
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: AbstractPopupMenuComponent, selector: "aup-abstract-popup-menu", inputs: { xPosition: "xPosition", yPosition: "yPosition", edge: "edge", enabled$: "enabled$", enabled: "enabled" }, viewQueries: [{ propertyName: "triggers", predicate: MatMenuTrigger, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1841
1872
|
}
|
|
1842
1873
|
__decorate([
|
|
1843
1874
|
Proxify(),
|
|
@@ -1860,6 +1891,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
1860
1891
|
type: Input
|
|
1861
1892
|
}], yPosition: [{
|
|
1862
1893
|
type: Input
|
|
1894
|
+
}], edge: [{
|
|
1895
|
+
type: Input
|
|
1863
1896
|
}], triggers: [{
|
|
1864
1897
|
type: ViewChildren,
|
|
1865
1898
|
args: [MatMenuTrigger]
|
|
@@ -2197,7 +2230,7 @@ class MoreMenuComponent extends AbstractPopupMenuComponent {
|
|
|
2197
2230
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: MoreMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2198
2231
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: MoreMenuComponent, selector: "aup-more-menu", inputs: { tooltip: "tooltip" }, providers: [
|
|
2199
2232
|
{ provide: POPUP_CONTAINER, useExisting: MoreMenuComponent }
|
|
2200
|
-
], usesInheritance: true, ngImport: i0, template: "<!-- we hide our commands as they need to be rendered by the menu renderer so the menu -> submenu heirarch is maintained -->\n<!-- probably a better way to do this is with a aup-menu-item directive that makes a template and skips the rendering all together -->\n<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n\n<ng-container *ngIf=\"isRoot()\">\n <!-- Renderer first so `#subMenu` is bound before the trigger's *ngIf reads it. The renderer's\n host (aup-popup-menu-renderer) is a MatMenu template shell \u2014 invisible in flow \u2014 so order\n doesn't affect layout. -->\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n <!-- Hide the trigger entirely when every item would be filtered out (all commands visibleWhile-\n gated to false, or the menu is composed solely of separators). Otherwise clicking the 3-dot\n opens an empty popup card \u2014 worse UX than \"no trigger at all\". -->\n <aup-button-renderer *ngIf=\"subMenu.renderableChildren.length\"\n [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click)=\"$event.stopPropagation()\"\n [forceRenderAsButton]=\"true\"\n ></aup-button-renderer>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "component", type: PopupMenuRendererComponent, selector: "aup-popup-menu-renderer", inputs: ["parent"], outputs: ["commandFired"] }, { kind: "component", type: ButtonRendererComponent, selector: "aup-button-renderer", inputs: ["faces$", "faces", "enabled$", "enabled", "busy$", "busy", "alignFace", "forceRenderAsButton", "density", "fill", "labelOverflow"] }] });
|
|
2233
|
+
], usesInheritance: true, ngImport: i0, template: "<!-- we hide our commands as they need to be rendered by the menu renderer so the menu -> submenu heirarch is maintained -->\n<!-- probably a better way to do this is with a aup-menu-item directive that makes a template and skips the rendering all together -->\n<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n\n<ng-container *ngIf=\"isRoot()\">\n <!-- Renderer first so `#subMenu` is bound before the trigger's *ngIf reads it. The renderer's\n host (aup-popup-menu-renderer) is a MatMenu template shell \u2014 invisible in flow \u2014 so order\n doesn't affect layout. -->\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n <!-- Hide the trigger entirely when every item would be filtered out (all commands visibleWhile-\n gated to false, or the menu is composed solely of separators). Otherwise clicking the 3-dot\n opens an empty popup card \u2014 worse UX than \"no trigger at all\". -->\n <aup-button-renderer *ngIf=\"subMenu.renderableChildren.length\"\n [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click)=\"$event.stopPropagation()\"\n [forceRenderAsButton]=\"true\"\n [edge]=\"edge\"\n ></aup-button-renderer>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "component", type: PopupMenuRendererComponent, selector: "aup-popup-menu-renderer", inputs: ["parent"], outputs: ["commandFired"] }, { kind: "component", type: ButtonRendererComponent, selector: "aup-button-renderer", inputs: ["faces$", "faces", "enabled$", "enabled", "busy$", "busy", "alignFace", "forceRenderAsButton", "density", "fill", "edge", "labelOverflow"] }] });
|
|
2201
2234
|
}
|
|
2202
2235
|
__decorate([
|
|
2203
2236
|
StoreInValueModel(),
|
|
@@ -2207,7 +2240,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
2207
2240
|
type: Component,
|
|
2208
2241
|
args: [{ selector: 'aup-more-menu', providers: [
|
|
2209
2242
|
{ provide: POPUP_CONTAINER, useExisting: MoreMenuComponent }
|
|
2210
|
-
], template: "<!-- we hide our commands as they need to be rendered by the menu renderer so the menu -> submenu heirarch is maintained -->\n<!-- probably a better way to do this is with a aup-menu-item directive that makes a template and skips the rendering all together -->\n<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n\n<ng-container *ngIf=\"isRoot()\">\n <!-- Renderer first so `#subMenu` is bound before the trigger's *ngIf reads it. The renderer's\n host (aup-popup-menu-renderer) is a MatMenu template shell \u2014 invisible in flow \u2014 so order\n doesn't affect layout. -->\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n <!-- Hide the trigger entirely when every item would be filtered out (all commands visibleWhile-\n gated to false, or the menu is composed solely of separators). Otherwise clicking the 3-dot\n opens an empty popup card \u2014 worse UX than \"no trigger at all\". -->\n <aup-button-renderer *ngIf=\"subMenu.renderableChildren.length\"\n [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click)=\"$event.stopPropagation()\"\n [forceRenderAsButton]=\"true\"\n ></aup-button-renderer>\n</ng-container>\n" }]
|
|
2243
|
+
], template: "<!-- we hide our commands as they need to be rendered by the menu renderer so the menu -> submenu heirarch is maintained -->\n<!-- probably a better way to do this is with a aup-menu-item directive that makes a template and skips the rendering all together -->\n<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n\n<ng-container *ngIf=\"isRoot()\">\n <!-- Renderer first so `#subMenu` is bound before the trigger's *ngIf reads it. The renderer's\n host (aup-popup-menu-renderer) is a MatMenu template shell \u2014 invisible in flow \u2014 so order\n doesn't affect layout. -->\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n <!-- Hide the trigger entirely when every item would be filtered out (all commands visibleWhile-\n gated to false, or the menu is composed solely of separators). Otherwise clicking the 3-dot\n opens an empty popup card \u2014 worse UX than \"no trigger at all\". -->\n <aup-button-renderer *ngIf=\"subMenu.renderableChildren.length\"\n [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click)=\"$event.stopPropagation()\"\n [forceRenderAsButton]=\"true\"\n [edge]=\"edge\"\n ></aup-button-renderer>\n</ng-container>\n" }]
|
|
2211
2244
|
}], ctorParameters: function () { return []; }, propDecorators: { tooltip: [{
|
|
2212
2245
|
type: Input
|
|
2213
2246
|
}] } });
|
|
@@ -2230,7 +2263,7 @@ class PopupMenuComponent extends AbstractPopupMenuComponent {
|
|
|
2230
2263
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PopupMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2231
2264
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PopupMenuComponent, selector: "aup-popup-menu", inputs: { face$: "face$", face: "face" }, providers: [
|
|
2232
2265
|
{ provide: POPUP_CONTAINER, useExisting: PopupMenuComponent }
|
|
2233
|
-
], usesInheritance: true, ngImport: i0, template: "<!-- we hide our commands as they need to be rendered by the menu renderer so the menu -> submenu heirarch is maintained -->\n<!-- probably a better way to do this is with a aup-menu-item directive that makes a template and skips the rendering all together -->\n<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n\n<ng-container *ngIf=\"isRoot()\">\n <!-- Renderer first so `#subMenu` is bound before the trigger's *ngIf reads it. The renderer's\n host (aup-popup-menu-renderer) is a MatMenu template shell \u2014 invisible in flow \u2014 so order\n doesn't affect layout. -->\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n <!-- Hide the trigger entirely when every item would be filtered out (all commands visibleWhile-\n gated to false, or the menu is composed solely of separators). Otherwise clicking the 3-dot\n opens an empty popup card \u2014 worse UX than \"no trigger at all\". -->\n <aup-button-renderer *ngIf=\"subMenu.renderableChildren.length\"\n [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click)=\"$event.stopPropagation()\"\n [forceRenderAsButton]=\"true\"\n ></aup-button-renderer>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "component", type: PopupMenuRendererComponent, selector: "aup-popup-menu-renderer", inputs: ["parent"], outputs: ["commandFired"] }, { kind: "component", type: ButtonRendererComponent, selector: "aup-button-renderer", inputs: ["faces$", "faces", "enabled$", "enabled", "busy$", "busy", "alignFace", "forceRenderAsButton", "density", "fill", "labelOverflow"] }] });
|
|
2266
|
+
], usesInheritance: true, ngImport: i0, template: "<!-- we hide our commands as they need to be rendered by the menu renderer so the menu -> submenu heirarch is maintained -->\n<!-- probably a better way to do this is with a aup-menu-item directive that makes a template and skips the rendering all together -->\n<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n\n<ng-container *ngIf=\"isRoot()\">\n <!-- Renderer first so `#subMenu` is bound before the trigger's *ngIf reads it. The renderer's\n host (aup-popup-menu-renderer) is a MatMenu template shell \u2014 invisible in flow \u2014 so order\n doesn't affect layout. -->\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n <!-- Hide the trigger entirely when every item would be filtered out (all commands visibleWhile-\n gated to false, or the menu is composed solely of separators). Otherwise clicking the 3-dot\n opens an empty popup card \u2014 worse UX than \"no trigger at all\". -->\n <aup-button-renderer *ngIf=\"subMenu.renderableChildren.length\"\n [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click)=\"$event.stopPropagation()\"\n [forceRenderAsButton]=\"true\"\n [edge]=\"edge\"\n ></aup-button-renderer>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "component", type: PopupMenuRendererComponent, selector: "aup-popup-menu-renderer", inputs: ["parent"], outputs: ["commandFired"] }, { kind: "component", type: ButtonRendererComponent, selector: "aup-button-renderer", inputs: ["faces$", "faces", "enabled$", "enabled", "busy$", "busy", "alignFace", "forceRenderAsButton", "density", "fill", "edge", "labelOverflow"] }] });
|
|
2234
2267
|
}
|
|
2235
2268
|
__decorate([
|
|
2236
2269
|
DelegateToValueModel('faceModelDelegate'),
|
|
@@ -2244,7 +2277,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
2244
2277
|
type: Component,
|
|
2245
2278
|
args: [{ selector: 'aup-popup-menu', providers: [
|
|
2246
2279
|
{ provide: POPUP_CONTAINER, useExisting: PopupMenuComponent }
|
|
2247
|
-
], template: "<!-- we hide our commands as they need to be rendered by the menu renderer so the menu -> submenu heirarch is maintained -->\n<!-- probably a better way to do this is with a aup-menu-item directive that makes a template and skips the rendering all together -->\n<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n\n<ng-container *ngIf=\"isRoot()\">\n <!-- Renderer first so `#subMenu` is bound before the trigger's *ngIf reads it. The renderer's\n host (aup-popup-menu-renderer) is a MatMenu template shell \u2014 invisible in flow \u2014 so order\n doesn't affect layout. -->\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n <!-- Hide the trigger entirely when every item would be filtered out (all commands visibleWhile-\n gated to false, or the menu is composed solely of separators). Otherwise clicking the 3-dot\n opens an empty popup card \u2014 worse UX than \"no trigger at all\". -->\n <aup-button-renderer *ngIf=\"subMenu.renderableChildren.length\"\n [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click)=\"$event.stopPropagation()\"\n [forceRenderAsButton]=\"true\"\n ></aup-button-renderer>\n</ng-container>\n" }]
|
|
2280
|
+
], template: "<!-- we hide our commands as they need to be rendered by the menu renderer so the menu -> submenu heirarch is maintained -->\n<!-- probably a better way to do this is with a aup-menu-item directive that makes a template and skips the rendering all together -->\n<div class=\"content\" style=\"display: none\">\n <ng-content></ng-content>\n</div>\n\n<ng-container *ngIf=\"isRoot()\">\n <!-- Renderer first so `#subMenu` is bound before the trigger's *ngIf reads it. The renderer's\n host (aup-popup-menu-renderer) is a MatMenu template shell \u2014 invisible in flow \u2014 so order\n doesn't affect layout. -->\n <aup-popup-menu-renderer #subMenu [parent]=\"this\" (commandFired)=\"onCommandFired()\"></aup-popup-menu-renderer>\n <!-- Hide the trigger entirely when every item would be filtered out (all commands visibleWhile-\n gated to false, or the menu is composed solely of separators). Otherwise clicking the 3-dot\n opens an empty popup card \u2014 worse UX than \"no trigger at all\". -->\n <aup-button-renderer *ngIf=\"subMenu.renderableChildren.length\"\n [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent\"\n (click)=\"$event.stopPropagation()\"\n [forceRenderAsButton]=\"true\"\n [edge]=\"edge\"\n ></aup-button-renderer>\n</ng-container>\n" }]
|
|
2248
2281
|
}], ctorParameters: function () { return []; }, propDecorators: { face$: [{
|
|
2249
2282
|
type: Input
|
|
2250
2283
|
}], face: [{
|
|
@@ -3257,7 +3290,7 @@ class PasswordInputComponent extends AbstractValueInputComponent {
|
|
|
3257
3290
|
return this.showPassword$.value ? "text" : "password";
|
|
3258
3291
|
}
|
|
3259
3292
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PasswordInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3260
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PasswordInputComponent, selector: "aup-password-input", inputs: { autocomplete: "autocomplete", enableShowPassword$: "enableShowPassword$", enableShowPassword: "enableShowPassword" }, usesInheritance: true, ngImport: i0, template: "<mat-form-field [floatLabel]=\"floatLabel\" subscriptSizing=\"dynamic\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input [type]=\"fieldType\"\n matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValue$.value\"\n [disabled]=\"!enabled$.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"inlineHintText\" [ngClass]=\"inlineHintClass\">{{inlineHintText}}</mat-hint>\n <mat-error *ngIf=\"inlineError\">{{inlineError}}</mat-error>\n <span matSuffix class=\"aup-validation-icon\" *ngIf=\"popupMessage\">\n <aup-icon data-cy=\"validation-icon\"\n [icon]=\"popupIcon\" [ngClass]=\"popupSeverityClass\"\n [aupTooltip]=\"popupMessage\" aupTooltipPosition=\"above\"></aup-icon>\n </span>\n <span matSuffix *ngIf=\"enableShowPassword$.value\">\n <aup-command [command]=\"toggleShowPasswordCommand\" data-cy=\"showPassword\"></aup-command>\n </span>\n</mat-form-field>\n\n", styles: [""], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4$1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: AupTooltipDirective, selector: "[aupTooltip]", inputs: ["aupTooltip", "aupTooltipPosition", "aupTooltipPositionAtOrigin", "aupTooltipDisabled", "aupTooltipShowDelay", "aupTooltipHideDelay", "aupTooltipTouchGestures", "aupTooltipClass"], exportAs: ["aupTooltip"] }, { kind: "directive", type: FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }, { kind: "component", type: IconComponent, selector: "aup-icon", inputs: ["icon"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "labelOverflow"] }] });
|
|
3293
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PasswordInputComponent, selector: "aup-password-input", inputs: { autocomplete: "autocomplete", enableShowPassword$: "enableShowPassword$", enableShowPassword: "enableShowPassword" }, usesInheritance: true, ngImport: i0, template: "<mat-form-field [floatLabel]=\"floatLabel\" subscriptSizing=\"dynamic\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input [type]=\"fieldType\"\n matInput\n placeholder=\"{{placeholder}}\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValue$.value\"\n [disabled]=\"!enabled$.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"inlineHintText\" [ngClass]=\"inlineHintClass\">{{inlineHintText}}</mat-hint>\n <mat-error *ngIf=\"inlineError\">{{inlineError}}</mat-error>\n <span matSuffix class=\"aup-validation-icon\" *ngIf=\"popupMessage\">\n <aup-icon data-cy=\"validation-icon\"\n [icon]=\"popupIcon\" [ngClass]=\"popupSeverityClass\"\n [aupTooltip]=\"popupMessage\" aupTooltipPosition=\"above\"></aup-icon>\n </span>\n <span matSuffix *ngIf=\"enableShowPassword$.value\">\n <aup-command [command]=\"toggleShowPasswordCommand\" data-cy=\"showPassword\"></aup-command>\n </span>\n</mat-form-field>\n\n", styles: [""], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4$1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: AupTooltipDirective, selector: "[aupTooltip]", inputs: ["aupTooltip", "aupTooltipPosition", "aupTooltipPositionAtOrigin", "aupTooltipDisabled", "aupTooltipShowDelay", "aupTooltipHideDelay", "aupTooltipTouchGestures", "aupTooltipClass"], exportAs: ["aupTooltip"] }, { kind: "directive", type: FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }, { kind: "component", type: IconComponent, selector: "aup-icon", inputs: ["icon"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "edge", "labelOverflow"] }] });
|
|
3261
3294
|
}
|
|
3262
3295
|
__decorate([
|
|
3263
3296
|
Proxify(),
|
|
@@ -3891,7 +3924,7 @@ class StringInputComponent extends AbstractValueInputComponent {
|
|
|
3891
3924
|
this.elementRef.nativeElement.querySelector('input').select();
|
|
3892
3925
|
}
|
|
3893
3926
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: StringInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3894
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: StringInputComponent, selector: "aup-string-input", inputs: { autocomplete: "autocomplete", enableClear$: "enableClear$", enableClear: "enableClear", iconPrefix: "iconPrefix", suffixCommand: "suffixCommand", inputMode: "inputMode" }, usesInheritance: true, ngImport: i0, template: "<mat-form-field [floatLabel]=\"floatLabel\" subscriptSizing=\"dynamic\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [attr.inputmode]=\"inputMode\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValue$.value\"\n [disabled]=\"!enabled$.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"inlineHintText\" [ngClass]=\"inlineHintClass\">{{inlineHintText}}</mat-hint>\n <mat-error *ngIf=\"inlineError\">{{inlineError}}</mat-error>\n <span matSuffix class=\"aup-validation-icon\" *ngIf=\"popupMessage\">\n <aup-icon data-cy=\"validation-icon\"\n [icon]=\"popupIcon\" [ngClass]=\"popupSeverityClass\"\n [aupTooltip]=\"popupMessage\" aupTooltipPosition=\"above\"></aup-icon>\n </span>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n <span matSuffix>\n <aup-command *ngIf=\"enableClear\" [command]=\"clearCommand\" data-cy=\"clearCommand\"></aup-command>\n <aup-command *ngIf=\"hasSuffixCommand\" [command]=\"suffixCommand\" data-cy=\"suffixCommand\"></aup-command>\n </span>\n</mat-form-field>\n\n", styles: [""], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4$1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4$1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i4$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: AupTooltipDirective, selector: "[aupTooltip]", inputs: ["aupTooltip", "aupTooltipPosition", "aupTooltipPositionAtOrigin", "aupTooltipDisabled", "aupTooltipShowDelay", "aupTooltipHideDelay", "aupTooltipTouchGestures", "aupTooltipClass"], exportAs: ["aupTooltip"] }, { kind: "directive", type: FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }, { kind: "component", type: IconComponent, selector: "aup-icon", inputs: ["icon"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "labelOverflow"] }] });
|
|
3927
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: StringInputComponent, selector: "aup-string-input", inputs: { autocomplete: "autocomplete", enableClear$: "enableClear$", enableClear: "enableClear", iconPrefix: "iconPrefix", suffixCommand: "suffixCommand", inputMode: "inputMode" }, usesInheritance: true, ngImport: i0, template: "<mat-form-field [floatLabel]=\"floatLabel\" subscriptSizing=\"dynamic\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeholder}}\"\n [attr.inputmode]=\"inputMode\"\n [attr.autocomplete]=\"autocomplete\"\n [(ngModel)]=\"componentValue$.value\"\n [disabled]=\"!enabled$.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-hint *ngIf=\"inlineHintText\" [ngClass]=\"inlineHintClass\">{{inlineHintText}}</mat-hint>\n <mat-error *ngIf=\"inlineError\">{{inlineError}}</mat-error>\n <span matSuffix class=\"aup-validation-icon\" *ngIf=\"popupMessage\">\n <aup-icon data-cy=\"validation-icon\"\n [icon]=\"popupIcon\" [ngClass]=\"popupSeverityClass\"\n [aupTooltip]=\"popupMessage\" aupTooltipPosition=\"above\"></aup-icon>\n </span>\n <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>\n <span matSuffix>\n <aup-command *ngIf=\"enableClear\" [command]=\"clearCommand\" data-cy=\"clearCommand\"></aup-command>\n <aup-command *ngIf=\"hasSuffixCommand\" [command]=\"suffixCommand\" data-cy=\"suffixCommand\"></aup-command>\n </span>\n</mat-form-field>\n\n", styles: [""], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4$1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4$1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i4$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: AupTooltipDirective, selector: "[aupTooltip]", inputs: ["aupTooltip", "aupTooltipPosition", "aupTooltipPositionAtOrigin", "aupTooltipDisabled", "aupTooltipShowDelay", "aupTooltipHideDelay", "aupTooltipTouchGestures", "aupTooltipClass"], exportAs: ["aupTooltip"] }, { kind: "directive", type: FocusBindingDirective, selector: "[pectinFocusBinding]", inputs: ["pectinFocusBinding", "focusBindingTarget"] }, { kind: "component", type: IconComponent, selector: "aup-icon", inputs: ["icon"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "edge", "labelOverflow"] }] });
|
|
3895
3928
|
}
|
|
3896
3929
|
__decorate([
|
|
3897
3930
|
Proxify(),
|
|
@@ -4626,7 +4659,7 @@ class SubFormListComponent extends DisposableComponent {
|
|
|
4626
4659
|
}
|
|
4627
4660
|
}
|
|
4628
4661
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SubFormListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4629
|
-
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", columns: "columns", appearance: "appearance" }, host: { properties: { "class.dense": "this.dense", "class.fill": "this.fill", "attr.data-appearance": "this.appearance", "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 }], viewQueries: [{ propertyName: "rowContents", predicate: ["rowContent"], 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 <!-- 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 *ngIf=\"headerTemplate; else declaredHeader\"\n [ngTemplateOutlet]=\"headerTemplate.templateRef\"></ng-container>\n <!-- Plain spans carrying no library styling: a declared header has to render identically to a\n template one, or moving from one to the other silently restyles a consumer's band. The\n ngIf/ngFor anchors are comment nodes, so these stay the direct element children of\n .content and auto-place one per track exactly as a template's cells do.\n\n A column with no title still renders its cell \u2014 its track exists either way, and skipping\n it would shift every column after it one track left. -->\n <ng-template #declaredHeader>\n <span *ngFor=\"let column of headerColumns\"\n [attr.data-column-id]=\"column.columnId\"\n data-cy=\"sub-form-header-cell\">{{ column.getHeaderText() }}</span>\n </ng-template>\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\" #rowContent>\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, var(--resolved-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)}:host([data-appearance=table]) .rows{border:var(--aup-sub-form-list-border, 1px solid rgba(0, 0, 0, .12));border-radius:var(--aup-sub-form-list-radius, 6px);overflow:hidden}:host([data-appearance=table]) .rows,:host([data-appearance=table]) .rows.layout-subgrid{row-gap:0}:host([data-appearance=table]) .row{padding:var(--aup-sub-form-list-cell-padding, 8px)}:host([data-appearance=table]) .row+.row{border-block-start:var(--aup-sub-form-list-border, 1px solid rgba(0, 0, 0, .12))}:host([data-appearance=table]) .header-row{padding:var(--aup-sub-form-list-cell-padding, 8px);background:var(--aup-sub-form-list-header-background, rgba(0, 0, 0, .02));border-block-end:var(--aup-sub-form-list-border, 1px solid rgba(0, 0, 0, .12))}:host([data-appearance=table]) .header-row .content>*{font-size:var(--aup-sub-form-list-header-font-size, 11px);font-weight:var(--aup-sub-form-list-header-font-weight, 500);letter-spacing:var(--aup-sub-form-list-header-letter-spacing, .05em);text-transform:var(--aup-sub-form-list-header-text-transform, uppercase);color:var(--aup-sub-form-list-header-color, rgba(0, 0, 0, .6))}\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$6.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$6.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$6.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", "density", "fill", "labelOverflow"] }, { kind: "component", type: EmptyStateComponent, selector: "aup-empty-state" }] });
|
|
4662
|
+
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", columns: "columns", appearance: "appearance" }, host: { properties: { "class.dense": "this.dense", "class.fill": "this.fill", "attr.data-appearance": "this.appearance", "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 }], viewQueries: [{ propertyName: "rowContents", predicate: ["rowContent"], 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 <!-- 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 *ngIf=\"headerTemplate; else declaredHeader\"\n [ngTemplateOutlet]=\"headerTemplate.templateRef\"></ng-container>\n <!-- Plain spans carrying no library styling: a declared header has to render identically to a\n template one, or moving from one to the other silently restyles a consumer's band. The\n ngIf/ngFor anchors are comment nodes, so these stay the direct element children of\n .content and auto-place one per track exactly as a template's cells do.\n\n A column with no title still renders its cell \u2014 its track exists either way, and skipping\n it would shift every column after it one track left. -->\n <ng-template #declaredHeader>\n <span *ngFor=\"let column of headerColumns\"\n [attr.data-column-id]=\"column.columnId\"\n data-cy=\"sub-form-header-cell\">{{ column.getHeaderText() }}</span>\n </ng-template>\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\" #rowContent>\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, var(--resolved-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)}:host([data-appearance=table]) .rows{border:var(--aup-sub-form-list-border, 1px solid rgba(0, 0, 0, .12));border-radius:var(--aup-sub-form-list-radius, 6px);overflow:hidden}:host([data-appearance=table]) .rows,:host([data-appearance=table]) .rows.layout-subgrid{row-gap:0}:host([data-appearance=table]) .row{padding:var(--aup-sub-form-list-cell-padding, 8px)}:host([data-appearance=table]) .row+.row{border-block-start:var(--aup-sub-form-list-border, 1px solid rgba(0, 0, 0, .12))}:host([data-appearance=table]) .header-row{padding:var(--aup-sub-form-list-cell-padding, 8px);background:var(--aup-sub-form-list-header-background, rgba(0, 0, 0, .02));border-block-end:var(--aup-sub-form-list-border, 1px solid rgba(0, 0, 0, .12))}:host([data-appearance=table]) .header-row .content>*{font-size:var(--aup-sub-form-list-header-font-size, 11px);font-weight:var(--aup-sub-form-list-header-font-weight, 500);letter-spacing:var(--aup-sub-form-list-header-letter-spacing, .05em);text-transform:var(--aup-sub-form-list-header-text-transform, uppercase);color:var(--aup-sub-form-list-header-color, rgba(0, 0, 0, .6))}\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$6.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$6.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$6.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", "density", "fill", "edge", "labelOverflow"] }, { kind: "component", type: EmptyStateComponent, selector: "aup-empty-state" }] });
|
|
4630
4663
|
}
|
|
4631
4664
|
__decorate([
|
|
4632
4665
|
Proxify(),
|
|
@@ -5246,6 +5279,7 @@ class ColumnModel extends GarbageCollector {
|
|
|
5246
5279
|
_cellRendererPortalRef;
|
|
5247
5280
|
_enableRowSelection = true;
|
|
5248
5281
|
_flex$ = this.registerDisposable(new DelegatingValueModel().withDefault(false));
|
|
5282
|
+
_iconButtonColumn = false;
|
|
5249
5283
|
_keepInView$ = this.registerDisposable(new DelegatingValueModel().withDefault(false));
|
|
5250
5284
|
_displayScopes$ = new MutableValueModel(ColumnModel.DisplayScopes.DEFAULT_ONLY);
|
|
5251
5285
|
_defaultVisibility$ = this.registerDisposable(new DelegatingValueModel().withDefault(true));
|
|
@@ -5442,6 +5476,19 @@ class ColumnModel extends GarbageCollector {
|
|
|
5442
5476
|
isKeptInView() {
|
|
5443
5477
|
return this._keepInView$.value;
|
|
5444
5478
|
}
|
|
5479
|
+
/**
|
|
5480
|
+
* Marks a column whose cells end in an icon button, such as a more menu or a row's actions. At the table's edge, the
|
|
5481
|
+
* column's padding there gives back the transparent inset round the button's icon, so the icon lines up with the
|
|
5482
|
+
* content edge as the first column's text does. The cells' content is held against that edge, so a column wider
|
|
5483
|
+
* than its buttons, such as a flex one, still ends in them.
|
|
5484
|
+
*/
|
|
5485
|
+
iconButtonColumn(iconButton = true) {
|
|
5486
|
+
this._iconButtonColumn = iconButton;
|
|
5487
|
+
return this;
|
|
5488
|
+
}
|
|
5489
|
+
isIconButtonColumn() {
|
|
5490
|
+
return this._iconButtonColumn;
|
|
5491
|
+
}
|
|
5445
5492
|
attachHeaderCell(host) {
|
|
5446
5493
|
this._columnHeaderPortalRef.initialiseHost(host);
|
|
5447
5494
|
}
|
|
@@ -6789,7 +6836,7 @@ class TableActionColumnComponent extends DisposableComponent {
|
|
|
6789
6836
|
</ng-container>
|
|
6790
6837
|
</aup-more-menu>
|
|
6791
6838
|
</ng-container>
|
|
6792
|
-
`, isInline: true, styles: [":host{display:inline-flex;flex-direction:row;align-items:center}:host:last-child{padding-right:0}\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: "component", type: ToolBarComponent, selector: "aup-tool-bar" }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "labelOverflow"] }, { kind: "component", type: MoreMenuComponent, selector: "aup-more-menu", inputs: ["tooltip"] }, { kind: "component", type: SeparatorComponent, selector: "aup-separator" }, { kind: "component", type: FlexComponent, selector: "aup-flex" }, { kind: "component", type: FileDownloadComponent, selector: "aup-file-download", inputs: ["download$", "download", "alignFace"] }] });
|
|
6839
|
+
`, isInline: true, styles: [":host{display:inline-flex;flex-direction:row;align-items:center}:host:last-child{padding-right:0}\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: "component", type: ToolBarComponent, selector: "aup-tool-bar" }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "edge", "labelOverflow"] }, { kind: "component", type: MoreMenuComponent, selector: "aup-more-menu", inputs: ["tooltip"] }, { kind: "component", type: SeparatorComponent, selector: "aup-separator" }, { kind: "component", type: FlexComponent, selector: "aup-flex" }, { kind: "component", type: FileDownloadComponent, selector: "aup-file-download", inputs: ["download$", "download", "alignFace"] }] });
|
|
6793
6840
|
}
|
|
6794
6841
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TableActionColumnComponent, decorators: [{
|
|
6795
6842
|
type: Component,
|
|
@@ -7255,7 +7302,7 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
7255
7302
|
addCustomMoreMenu(componentClass, initialiseCallback) {
|
|
7256
7303
|
return this.addComponentColumn('custom-more-menu', TableCustomMoreMenuComponent, (component) => {
|
|
7257
7304
|
component.configurePopupComponentType(componentClass, initialiseCallback);
|
|
7258
|
-
}).columnTextProperties({
|
|
7305
|
+
}).iconButtonColumn().columnTextProperties({
|
|
7259
7306
|
headerText() {
|
|
7260
7307
|
return '';
|
|
7261
7308
|
}
|
|
@@ -7264,7 +7311,7 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
7264
7311
|
addActionColumn(builder) {
|
|
7265
7312
|
return this.addComponentColumn("actions", TableActionColumnComponent, (c) => {
|
|
7266
7313
|
builder(c);
|
|
7267
|
-
});
|
|
7314
|
+
}).iconButtonColumn();
|
|
7268
7315
|
}
|
|
7269
7316
|
addFooterRow(componentOrBuilder, initialiseCallback) {
|
|
7270
7317
|
// A component type is a class (has a prototype); a builder is an arrow function (prototype is undefined).
|
|
@@ -8063,7 +8110,11 @@ class TableBodyComponent extends ResizeAwareComponent {
|
|
|
8063
8110
|
return this.tableModel.lastVisibleColumn$.query().value?.columnId === columnId;
|
|
8064
8111
|
}
|
|
8065
8112
|
getColumnClasses(columnId) {
|
|
8066
|
-
const
|
|
8113
|
+
const column = this.columnsById$.get(columnId);
|
|
8114
|
+
const classes = [`aup-col-${column.dasherisedColumnId}`];
|
|
8115
|
+
if (column.isIconButtonColumn()) {
|
|
8116
|
+
classes.push("aup-icon-button-column");
|
|
8117
|
+
}
|
|
8067
8118
|
if (this.isFirstVisibleColumn(columnId)) {
|
|
8068
8119
|
classes.push("first-visible-column");
|
|
8069
8120
|
}
|
|
@@ -9300,15 +9351,25 @@ class TreeExpansionModel extends GarbageCollector {
|
|
|
9300
9351
|
collapsedIds = new Set();
|
|
9301
9352
|
_isExpandedPredicate$ = new MutableValueModel(() => true);
|
|
9302
9353
|
_visibleRows$ = this.registerDisposable(new DelegatingListModel());
|
|
9354
|
+
_identityOf;
|
|
9355
|
+
identifiesRowsItself;
|
|
9356
|
+
/**
|
|
9357
|
+
* A model that identifies its rows itself (`identifiedBy` or `identifiedWith`) knows a node from the start. One that
|
|
9358
|
+
* does not takes the table's identity once the table binds it, and moves any expansion set before then over to it.
|
|
9359
|
+
*/
|
|
9303
9360
|
constructor(options) {
|
|
9304
9361
|
super();
|
|
9305
9362
|
options.disposedWith.registerDisposable(this);
|
|
9306
|
-
|
|
9363
|
+
this.identifiesRowsItself = !!(options.identifiedBy || options.identifiedWith);
|
|
9364
|
+
this._identityOf = CanIdentify.createIdentityFunction(options, row => this._source$.identityOf(row));
|
|
9307
9365
|
this.updatePredicate();
|
|
9308
9366
|
}
|
|
9309
9367
|
bindToTable(source$, visibleRows$) {
|
|
9310
9368
|
this._source$.setDelegate(source$);
|
|
9311
9369
|
this._visibleRows$.setDelegate(visibleRows$);
|
|
9370
|
+
if (!this.identifiesRowsItself) {
|
|
9371
|
+
this.keyCollapsedNodesByTheTablesIdentity();
|
|
9372
|
+
}
|
|
9312
9373
|
return Disposable.disposableThatRuns(() => {
|
|
9313
9374
|
this._source$.setDelegate(undefined);
|
|
9314
9375
|
this._visibleRows$.setDelegate(undefined);
|
|
@@ -9318,7 +9379,21 @@ class TreeExpansionModel extends GarbageCollector {
|
|
|
9318
9379
|
return this._visibleRows$.readonly$;
|
|
9319
9380
|
}
|
|
9320
9381
|
identityOf(row) {
|
|
9321
|
-
return this.
|
|
9382
|
+
return this._identityOf(row);
|
|
9383
|
+
}
|
|
9384
|
+
/**
|
|
9385
|
+
* Before the table binds, a model that does not identify its rows itself knows a node only as the node, so a node
|
|
9386
|
+
* expanded or collapsed then is stored as the node. The table identifies its rows its own way (by id, say), and the
|
|
9387
|
+
* stored node would match no row. The choice used to be lost that way.
|
|
9388
|
+
*/
|
|
9389
|
+
keyCollapsedNodesByTheTablesIdentity() {
|
|
9390
|
+
const stored = [...this.collapsedIds];
|
|
9391
|
+
const rekeyed = stored.map(id => isObject(id) ? this._source$.identityOf(id) : id);
|
|
9392
|
+
if (rekeyed.some((id, index) => id !== stored[index])) {
|
|
9393
|
+
this.collapsedIds.clear();
|
|
9394
|
+
rekeyed.forEach(id => this.collapsedIds.add(id));
|
|
9395
|
+
this.updatePredicate();
|
|
9396
|
+
}
|
|
9322
9397
|
}
|
|
9323
9398
|
get isExpandedPredicate$() {
|
|
9324
9399
|
return this._isExpandedPredicate$.readonly$;
|
|
@@ -10473,7 +10548,7 @@ class ActivityActionsComponent extends DisposableComponent {
|
|
|
10473
10548
|
this.cancelCommandComponent.requestFocus();
|
|
10474
10549
|
}
|
|
10475
10550
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ActivityActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10476
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ActivityActionsComponent, selector: "aup-activity-actions", inputs: { confirmCommand: "confirmCommand", cancelCommand: "cancelCommand", faces: "faces", confirmFace: "confirmFace", cancelFace: "cancelFace", style: "style", layout: "layout", align: "align", alignContent: "alignContent" }, host: { properties: { "attr.layout": "this.layout", "attr.align": "this.align", "attr.align-content": "this.alignContent" } }, viewQueries: [{ propertyName: "confirmCommandComponent", first: true, predicate: ["confirmCommandComponent"], descendants: true }, { propertyName: "cancelCommandComponent", first: true, predicate: ["cancelCommandComponent"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command #cancelCommandComponent class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command #confirmCommandComponent class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n", styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end;--resolved-activity-actions-gap: var(--activity-actions-gap, 8px);grid-gap:var(--resolved-activity-actions-gap)}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=start] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=end] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=block][align=fill]{display:flex;flex-wrap:wrap}:host[layout=block][align=fill] .content{flex:1 0 100%}:host[layout=block][align=fill] .content:empty{display:none}:host[layout=block][align=fill] .cancel,:host[layout=block][align=fill] .confirm{flex:1 1 0}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr}:host[layout=inline] .cancel{margin-left:var(--resolved-activity-actions-gap)}:host .cancel{grid-area:cancel}:host .confirm{grid-area:confirm}:host .content{display:flex;flex-direction:row;align-items:center}:host[align-content=start] .content{justify-items:start}:host[align-content=end]{justify-items:end}:host[align-content=center]{justify-items:center}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "labelOverflow"] }] });
|
|
10551
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ActivityActionsComponent, selector: "aup-activity-actions", inputs: { confirmCommand: "confirmCommand", cancelCommand: "cancelCommand", faces: "faces", confirmFace: "confirmFace", cancelFace: "cancelFace", style: "style", layout: "layout", align: "align", alignContent: "alignContent" }, host: { properties: { "attr.layout": "this.layout", "attr.align": "this.align", "attr.align-content": "this.alignContent" } }, viewQueries: [{ propertyName: "confirmCommandComponent", first: true, predicate: ["confirmCommandComponent"], descendants: true }, { propertyName: "cancelCommandComponent", first: true, predicate: ["cancelCommandComponent"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command #cancelCommandComponent class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command #confirmCommandComponent class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n", styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end;--resolved-activity-actions-gap: var(--activity-actions-gap, 8px);grid-gap:var(--resolved-activity-actions-gap)}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=start] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=end] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=block][align=fill]{display:flex;flex-wrap:wrap}:host[layout=block][align=fill] .content{flex:1 0 100%}:host[layout=block][align=fill] .content:empty{display:none}:host[layout=block][align=fill] .cancel,:host[layout=block][align=fill] .confirm{flex:1 1 0}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr}:host[layout=inline] .cancel{margin-left:var(--resolved-activity-actions-gap)}:host .cancel{grid-area:cancel}:host .confirm{grid-area:confirm}:host .content{display:flex;flex-direction:row;align-items:center}:host[align-content=start] .content{justify-items:start}:host[align-content=end]{justify-items:end}:host[align-content=center]{justify-items:center}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "edge", "labelOverflow"] }] });
|
|
10477
10552
|
}
|
|
10478
10553
|
__decorate([
|
|
10479
10554
|
Proxify(),
|
|
@@ -14331,7 +14406,7 @@ class InlineActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
14331
14406
|
super();
|
|
14332
14407
|
}
|
|
14333
14408
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: InlineActivityTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14334
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: InlineActivityTriggerComponent, selector: "aup-inline-activity-trigger", viewQueries: [{ propertyName: "_interactionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\">\n <aup-command [command]=\"startActivityCommand\" [face$]=\"face$\" [alignFace]=\"alignFace\"></aup-command>\n</aup-in-place-interaction-context>\n", styles: [":host{display:inline-block}\n"], dependencies: [{ kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "labelOverflow"] }, { kind: "component", type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["opensChoicesAs", "animateFirstActivity", "syncWithRoutes"], outputs: ["started", "finished"] }] });
|
|
14409
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: InlineActivityTriggerComponent, selector: "aup-inline-activity-trigger", viewQueries: [{ propertyName: "_interactionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\">\n <aup-command [command]=\"startActivityCommand\" [face$]=\"face$\" [alignFace]=\"alignFace\"></aup-command>\n</aup-in-place-interaction-context>\n", styles: [":host{display:inline-block}\n"], dependencies: [{ kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "edge", "labelOverflow"] }, { kind: "component", type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["opensChoicesAs", "animateFirstActivity", "syncWithRoutes"], outputs: ["started", "finished"] }] });
|
|
14335
14410
|
}
|
|
14336
14411
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: InlineActivityTriggerComponent, decorators: [{
|
|
14337
14412
|
type: Component,
|
|
@@ -14352,7 +14427,7 @@ class ModalActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
14352
14427
|
this._interactionContext = interactionService.createModalInteractionContextDisposedWith(this);
|
|
14353
14428
|
}
|
|
14354
14429
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ModalActivityTriggerComponent, deps: [{ token: InteractionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14355
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ModalActivityTriggerComponent, selector: "aup-modal-activity-trigger", usesInheritance: true, ngImport: i0, template: "<aup-command [command]=\"startActivityCommand\" [face$]=\"face$\" [alignFace]=\"alignFace\"></aup-command>\n", styles: [":host{display:inline-block}\n"], dependencies: [{ kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "labelOverflow"] }] });
|
|
14430
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ModalActivityTriggerComponent, selector: "aup-modal-activity-trigger", usesInheritance: true, ngImport: i0, template: "<aup-command [command]=\"startActivityCommand\" [face$]=\"face$\" [alignFace]=\"alignFace\"></aup-command>\n", styles: [":host{display:inline-block}\n"], dependencies: [{ kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "edge", "labelOverflow"] }] });
|
|
14356
14431
|
}
|
|
14357
14432
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ModalActivityTriggerComponent, decorators: [{
|
|
14358
14433
|
type: Component,
|
|
@@ -14515,7 +14590,7 @@ class PopupActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
14515
14590
|
return this._interactionContext;
|
|
14516
14591
|
}
|
|
14517
14592
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PopupActivityTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14518
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PopupActivityTriggerComponent, selector: "aup-popup-activity-trigger", inputs: { anchorX: "anchorX", anchorY: "anchorY" }, viewQueries: [{ propertyName: "_interactionContext", first: true, predicate: PopupInteractionContextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<aup-popup-interaction-context [anchorX]=\"anchorX\" [anchorY]=\"anchorY\">\n <aup-command [command]=\"startActivityCommand\" [face$]=\"face$\" [alignFace]=\"alignFace\"></aup-command>\n</aup-popup-interaction-context>\n", styles: [":host{display:inline-block}\n"], dependencies: [{ kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "labelOverflow"] }, { kind: "component", type: PopupInteractionContextComponent, selector: "aup-popup-interaction-context", inputs: ["anchorX", "anchorY", "cancelOnEscape$", "cancelOnEscape"] }] });
|
|
14593
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PopupActivityTriggerComponent, selector: "aup-popup-activity-trigger", inputs: { anchorX: "anchorX", anchorY: "anchorY" }, viewQueries: [{ propertyName: "_interactionContext", first: true, predicate: PopupInteractionContextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<aup-popup-interaction-context [anchorX]=\"anchorX\" [anchorY]=\"anchorY\">\n <aup-command [command]=\"startActivityCommand\" [face$]=\"face$\" [alignFace]=\"alignFace\"></aup-command>\n</aup-popup-interaction-context>\n", styles: [":host{display:inline-block}\n"], dependencies: [{ kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "edge", "labelOverflow"] }, { kind: "component", type: PopupInteractionContextComponent, selector: "aup-popup-interaction-context", inputs: ["anchorX", "anchorY", "cancelOnEscape$", "cancelOnEscape"] }] });
|
|
14519
14594
|
}
|
|
14520
14595
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PopupActivityTriggerComponent, decorators: [{
|
|
14521
14596
|
type: Component,
|
|
@@ -14572,7 +14647,7 @@ class AddCardActivityComponent extends AbstractActivityTriggerComponent {
|
|
|
14572
14647
|
return this.interactionStyle === 'inline';
|
|
14573
14648
|
}
|
|
14574
14649
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AddCardActivityComponent, deps: [{ token: InteractionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14575
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: AddCardActivityComponent, selector: "aup-add-card-activity", inputs: { interactionStyle: "interactionStyle", renderAs: "renderAs" }, host: { properties: { "class": "this.activityTypeClass", "class.not-card": "this.notCard" } }, viewQueries: [{ propertyName: "inlineInteractionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\" [pectinCommand]=\"startActivityCommand\">\n <aup-command *ngIf=\"isRenderAsButton()\" [command]=\"startActivityCommand\" [face$]=\"face$\" [alignFace]=\"alignFace\"></aup-command>\n <section *ngIf=\"isRenderAsCard()\" class=\"face-wrapper\">\n <aup-command-face class=\"mat-button\" [faces]=\"faceList.value\"></aup-command-face>\n </section>\n</aup-in-place-interaction-context>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch;background-color:#fff}:host[interactionStyle=inline][renderas=card]:not(.active){transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=inline][renderas=card]:not(.active):hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=inline][renderas=card]:not(.active):hover{border-color:transparent;background-color:#fff;color:#0000008a}:host[interactionStyle=modal][renderas=card]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=modal][renderas=card]:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=modal][renderas=card]:hover{border-color:transparent;background-color:#fff;color:#0000008a}:host-context(aup-card-container)[renderas=button]{align-self:start}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter", "preventDefault"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "labelOverflow"] }, { kind: "component", type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }, { kind: "component", type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["opensChoicesAs", "animateFirstActivity", "syncWithRoutes"], outputs: ["started", "finished"] }] });
|
|
14650
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: AddCardActivityComponent, selector: "aup-add-card-activity", inputs: { interactionStyle: "interactionStyle", renderAs: "renderAs" }, host: { properties: { "class": "this.activityTypeClass", "class.not-card": "this.notCard" } }, viewQueries: [{ propertyName: "inlineInteractionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\" [pectinCommand]=\"startActivityCommand\">\n <aup-command *ngIf=\"isRenderAsButton()\" [command]=\"startActivityCommand\" [face$]=\"face$\" [alignFace]=\"alignFace\"></aup-command>\n <section *ngIf=\"isRenderAsCard()\" class=\"face-wrapper\">\n <aup-command-face class=\"mat-button\" [faces]=\"faceList.value\"></aup-command-face>\n </section>\n</aup-in-place-interaction-context>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch;background-color:#fff}:host[interactionStyle=inline][renderas=card]:not(.active){transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=inline][renderas=card]:not(.active):hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=inline][renderas=card]:not(.active):hover{border-color:transparent;background-color:#fff;color:#0000008a}:host[interactionStyle=modal][renderas=card]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=modal][renderas=card]:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=modal][renderas=card]:hover{border-color:transparent;background-color:#fff;color:#0000008a}:host-context(aup-card-container)[renderas=button]{align-self:start}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter", "preventDefault"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "edge", "labelOverflow"] }, { kind: "component", type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }, { kind: "component", type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["opensChoicesAs", "animateFirstActivity", "syncWithRoutes"], outputs: ["started", "finished"] }] });
|
|
14576
14651
|
}
|
|
14577
14652
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AddCardActivityComponent, decorators: [{
|
|
14578
14653
|
type: Component,
|
|
@@ -15018,7 +15093,7 @@ class InlineStringEditorComponent extends DisposableComponent {
|
|
|
15018
15093
|
return !this.editingEnabled$.value;
|
|
15019
15094
|
}
|
|
15020
15095
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: InlineStringEditorComponent, deps: [{ token: InteractionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15021
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: InlineStringEditorComponent, selector: "aup-inline-string-editor", inputs: { editorModel: "editorModel", facesModel: "facesModel", faces: "faces", label: "label", placeHolder: "placeHolder", placeHolder$: "placeHolder$" }, host: { properties: { "class.disabled": "this.isDisabled" } }, viewQueries: [{ propertyName: "interactionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"container\" *ngIf=\"!editorModel.isEditing()\">\n <mat-form-field floatLabel=\"always\" (click)=\"startEdit()\"\n [class.editable]=\"editingEnabled$.value\" [class.empty]=\"isEmpty()\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeHolder}}\"\n [ngModel]=\"editorModel.valueModel.value\"\n [disabled]=\"true\"\n >\n <!-- <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>-->\n <!-- <mat-error *ngIf=\"hasErrors()\">{{firstError}}</mat-error>-->\n <!-- <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>-->\n </mat-form-field>\n <aup-command *ngIf=\"editCommand.enabled$.value\" [command]=\"editCommand\" [face$]=\"editFaceModel\"></aup-command>\n</div>\n<aup-in-place-interaction-context [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "labelOverflow"] }, { kind: "directive", type: i2$4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4$1.MatLabel, selector: "mat-label" }, { kind: "component", type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["opensChoicesAs", "animateFirstActivity", "syncWithRoutes"], outputs: ["started", "finished"] }] });
|
|
15096
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: InlineStringEditorComponent, selector: "aup-inline-string-editor", inputs: { editorModel: "editorModel", facesModel: "facesModel", faces: "faces", label: "label", placeHolder: "placeHolder", placeHolder$: "placeHolder$" }, host: { properties: { "class.disabled": "this.isDisabled" } }, viewQueries: [{ propertyName: "interactionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"container\" *ngIf=\"!editorModel.isEditing()\">\n <mat-form-field floatLabel=\"always\" (click)=\"startEdit()\"\n [class.editable]=\"editingEnabled$.value\" [class.empty]=\"isEmpty()\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput\n placeholder=\"{{placeHolder}}\"\n [ngModel]=\"editorModel.valueModel.value\"\n [disabled]=\"true\"\n >\n <!-- <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>-->\n <!-- <mat-error *ngIf=\"hasErrors()\">{{firstError}}</mat-error>-->\n <!-- <aup-icon *ngIf=\"iconPrefix\" matPrefix [icon]=\"iconPrefix\"></aup-icon>-->\n </mat-form-field>\n <aup-command *ngIf=\"editCommand.enabled$.value\" [command]=\"editCommand\" [face$]=\"editFaceModel\"></aup-command>\n</div>\n<aup-in-place-interaction-context [animateFirstActivity]=\"false\"></aup-in-place-interaction-context>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "edge", "labelOverflow"] }, { kind: "directive", type: i2$4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4$1.MatLabel, selector: "mat-label" }, { kind: "component", type: InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["opensChoicesAs", "animateFirstActivity", "syncWithRoutes"], outputs: ["started", "finished"] }] });
|
|
15022
15097
|
}
|
|
15023
15098
|
__decorate([
|
|
15024
15099
|
Proxify(),
|
|
@@ -15216,7 +15291,7 @@ class OptionListActivity extends Activity {
|
|
|
15216
15291
|
return needle ? rows.filter(row => row.index === undefined || row.label.toLowerCase().includes(needle)) : rows;
|
|
15217
15292
|
}
|
|
15218
15293
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: OptionListActivity, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15219
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: OptionListActivity, selector: "aup-option-list-activity", host: { properties: { "class.aup-option-list--own-popup": "this.ownPopup" } }, viewQueries: [{ propertyName: "listbox", first: true, predicate: ["listbox"], descendants: true, static: true }, { propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }, { propertyName: "options", predicate: MatOption, descendants: true }, { propertyName: "optionElements", predicate: MatOption, descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<!-- A popup of its own reads as a select's panel, with no title: Esc or a click outside closes it. Over another\n activity its title holds the way back. -->\n<aup-activity-title *ngIf=\"activityData.nested\">\n <aup-command [command]=\"leaveCommand\" data-cy=\"back\"></aup-command>\n {{ activityData.title }}\n</aup-activity-title>\n<aup-activity-body [fullWidth]=\"true\">\n <div *ngIf=\"activityData.searchable\" class=\"search\">\n <aup-icon icon=\"mat:search\"></aup-icon>\n <input #searchInput type=\"text\" autocomplete=\"off\" data-cy=\"option-list-search\"\n [placeholder]=\"searchPlaceholder\"\n [attr.aria-label]=\"searchPlaceholder\"\n [value]=\"searchText$.value\"\n (input)=\"onSearchInput($event)\"\n (keydown)=\"onSearchKeydown($event)\">\n </div>\n <div #listbox class=\"options\" role=\"listbox\" tabindex=\"0\" data-cy=\"option-list\"\n [attr.aria-label]=\"activityData.title\"\n [attr.aria-activedescendant]=\"keyManager?.activeItem?.id\"\n (keydown)=\"onListKeydown($event)\">\n <mat-option *ngFor=\"let row of rows$.value; trackBy: trackRow\" [value]=\"row\" data-cy=\"option\"\n (onSelectionChange)=\"onSelectionChange($event)\">\n <span class=\"option\">\n <span *ngIf=\"withIcons\" class=\"icon\"><aup-icon *ngIf=\"row.icon\" [icon]=\"row.icon\"></aup-icon></span>\n <span class=\"label\" data-cy=\"label\">{{ row.label }}</span>\n <span *ngIf=\"count(row) !== undefined\" class=\"count\" [class.zero]=\"count(row) === 0\" data-cy=\"count\">{{ count(row) }}</span>\n </span>\n </mat-option>\n </div>\n <div *ngIf=\"!rows$.value.length\" class=\"no-results\" data-cy=\"option-list-no-results\">{{ noResultsText }}</div>\n</aup-activity-body>\n", styles: [":host{display:block;width:var(--aup-option-list-width, 22rem);max-width:calc(100vw - 32px);--aup-activity-padding-top: 0;--aup-activity-padding-bottom: 0}:host(.aup-option-list--own-popup){width:auto;min-width:12rem}:host-context(.bottom-sheet-interaction-context){width:auto;max-width:none}.search{display:flex;align-items:center;gap:8px;padding:8px 16px;border-bottom:1px solid rgba(0,0,0,.12)}.search input{flex:1;min-width:0;border:none;outline:none;background:transparent;font:inherit;color:inherit}.options{padding:8px 0;outline:none}.options{max-height:275px;overflow-y:auto}:host ::ng-deep .mat-mdc-option .mdc-list-item__primary-text{flex:1}.option{display:flex;align-items:center;gap:16px}.icon{flex:none;display:flex;width:24px;opacity:.7}.label{flex:1;min-width:0}.count{flex:none;font-size:.85em;opacity:.7}.count.zero{opacity:.4}.no-results{padding:8px 16px;opacity:.6;font-style:italic}\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: "component", type: IconComponent, selector: "aup-icon", inputs: ["icon"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "labelOverflow"] }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: ActivityTitleComponent, selector: "aup-activity-title", inputs: ["hasTransparentBackground", "color"] }, { kind: "component", type: ActivityBodyComponent, selector: "aup-activity-body", inputs: ["fullWidth", "fullHeight", "scroll"] }] });
|
|
15294
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: OptionListActivity, selector: "aup-option-list-activity", host: { properties: { "class.aup-option-list--own-popup": "this.ownPopup" } }, viewQueries: [{ propertyName: "listbox", first: true, predicate: ["listbox"], descendants: true, static: true }, { propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }, { propertyName: "options", predicate: MatOption, descendants: true }, { propertyName: "optionElements", predicate: MatOption, descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<!-- A popup of its own reads as a select's panel, with no title: Esc or a click outside closes it. Over another\n activity its title holds the way back. -->\n<aup-activity-title *ngIf=\"activityData.nested\">\n <aup-command [command]=\"leaveCommand\" data-cy=\"back\"></aup-command>\n {{ activityData.title }}\n</aup-activity-title>\n<aup-activity-body [fullWidth]=\"true\">\n <div *ngIf=\"activityData.searchable\" class=\"search\">\n <aup-icon icon=\"mat:search\"></aup-icon>\n <input #searchInput type=\"text\" autocomplete=\"off\" data-cy=\"option-list-search\"\n [placeholder]=\"searchPlaceholder\"\n [attr.aria-label]=\"searchPlaceholder\"\n [value]=\"searchText$.value\"\n (input)=\"onSearchInput($event)\"\n (keydown)=\"onSearchKeydown($event)\">\n </div>\n <div #listbox class=\"options\" role=\"listbox\" tabindex=\"0\" data-cy=\"option-list\"\n [attr.aria-label]=\"activityData.title\"\n [attr.aria-activedescendant]=\"keyManager?.activeItem?.id\"\n (keydown)=\"onListKeydown($event)\">\n <mat-option *ngFor=\"let row of rows$.value; trackBy: trackRow\" [value]=\"row\" data-cy=\"option\"\n (onSelectionChange)=\"onSelectionChange($event)\">\n <span class=\"option\">\n <span *ngIf=\"withIcons\" class=\"icon\"><aup-icon *ngIf=\"row.icon\" [icon]=\"row.icon\"></aup-icon></span>\n <span class=\"label\" data-cy=\"label\">{{ row.label }}</span>\n <span *ngIf=\"count(row) !== undefined\" class=\"count\" [class.zero]=\"count(row) === 0\" data-cy=\"count\">{{ count(row) }}</span>\n </span>\n </mat-option>\n </div>\n <div *ngIf=\"!rows$.value.length\" class=\"no-results\" data-cy=\"option-list-no-results\">{{ noResultsText }}</div>\n</aup-activity-body>\n", styles: [":host{display:block;width:var(--aup-option-list-width, 22rem);max-width:calc(100vw - 32px);--aup-activity-padding-top: 0;--aup-activity-padding-bottom: 0}:host(.aup-option-list--own-popup){width:auto;min-width:12rem}:host-context(.bottom-sheet-interaction-context){width:auto;max-width:none}.search{display:flex;align-items:center;gap:8px;padding:8px 16px;border-bottom:1px solid rgba(0,0,0,.12)}.search input{flex:1;min-width:0;border:none;outline:none;background:transparent;font:inherit;color:inherit}.options{padding:8px 0;outline:none}.options{max-height:275px;overflow-y:auto}:host ::ng-deep .mat-mdc-option .mdc-list-item__primary-text{flex:1}.option{display:flex;align-items:center;gap:16px}.icon{flex:none;display:flex;width:24px;opacity:.7}.label{flex:1;min-width:0}.count{flex:none;font-size:.85em;opacity:.7}.count.zero{opacity:.4}.no-results{padding:8px 16px;opacity:.6;font-style:italic}\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: "component", type: IconComponent, selector: "aup-icon", inputs: ["icon"] }, { kind: "component", type: CommandComponent, selector: "aup-command", inputs: ["command", "face$", "face", "busyFace$", "busyFace", "alignFace", "density", "fill", "edge", "labelOverflow"] }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: ActivityTitleComponent, selector: "aup-activity-title", inputs: ["hasTransparentBackground", "color"] }, { kind: "component", type: ActivityBodyComponent, selector: "aup-activity-body", inputs: ["fullWidth", "fullHeight", "scroll"] }] });
|
|
15220
15295
|
}
|
|
15221
15296
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: OptionListActivity, decorators: [{
|
|
15222
15297
|
type: Component,
|
|
@@ -18539,5 +18614,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
18539
18614
|
* Generated bundle index. Do not edit.
|
|
18540
18615
|
*/
|
|
18541
18616
|
|
|
18542
|
-
export { ACTIVITY_DATA, ALERT_CONFIG, AUP_DETACHED_PARENT_CDR, AUP_OUT_OF_SCOPE_PLACE_NOTICE_COMPONENT, 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, ActivityCancellation, ActivityContainerComponent, ActivityContext, ActivityOutletComponent, ActivityRef, ActivitySelectOptionList, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AlertRendererComponent, AngularUiPowerupsModule, AupTooltipDirective, AutocompleteInputComponent, BottomSheetInteractionContext, BottomSheetInteractionContextFactory, 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, DelegatingInteractionContext, DensityDirective, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EnableCellTextSearch, EndOfRows, EventCleanUpSession, FOOTER_CELL_RENDERER_PORTAL, FileDownloadComponent, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, FooterRowCellsBuilder, FooterRowModel, Formatter, GarbageCollectorDirective, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, HostedInteractionContext, 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, OPTION_LIST_DEFAULTS, OptionListActivity, OutOfScopeNoticeComponent, POPUP_CONTAINER, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, ParameterSanitiser, PasswordInputComponent, Place, PlaceAccessGuard, PlaceAuthService, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, PlaceScope, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, QuietRejections, QuietRejectionsErrorHandler, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, ResizeObserverDirective, RouteId, ScrollContainerComponent, SearchCriteria, SearchInputComponent, SectionHeaderComponent, SelectInputActivity, SelectInputComponent, SelectOptionList, SelectOverlayOriginDirective, SelectionCellComponent, SelectionColumnModel, SelectionHeaderCellComponent, SeparatorComponent, ServerSearchModel, SheetSwipe, SidePlaceNavigationComponent, SlideDownInteractionContextComponent, StringInputActivity, StringInputComponent, SubFormListColumn, SubFormListColumns, SubFormListComponent, SubFormListEmptyDirective, SubFormListFooterDirective, SubFormListHeaderDirective, SubFormRowActionsDirective, SubFormRowDirective, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableActionColumnComponent, TableBodyComponent, TableCellComponent, TableComponent, TableCustomMoreMenuComponent, TableCustomMoreMenuPopupComponent, TableFilterModel, TableFooterRow, TableHeaderCellComponent, TableModel, TableRowAttributesDirective, TableSearchModel, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TopOfRows, Track, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSegment, VisitSegmentSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, collapseOrphanSeparators, getPlaceDefinition, leftRightPlaceAnimation, markdownPillExtension, provideQuietRejections, registerValidators, setPlaceDefinition, slideDownAndRightOnEnterAnimation, slideDownOnEnterAnimation, slideDownWhenOpenAnimation, slideRightOnEnterAnimation, startActivityInPopup, treeNodeDecorator };
|
|
18617
|
+
export { ACTIVITY_DATA, ALERT_CONFIG, AUP_DETACHED_PARENT_CDR, AUP_OUT_OF_SCOPE_PLACE_NOTICE_COMPONENT, 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, ActivityCancellation, ActivityContainerComponent, ActivityContext, ActivityOutletComponent, ActivityRef, ActivitySelectOptionList, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AlertRendererComponent, AngularUiPowerupsModule, AupTooltipDirective, AutocompleteInputComponent, BottomSheetInteractionContext, BottomSheetInteractionContextFactory, 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, DelegatingInteractionContext, DensityDirective, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, Edge, EmptyStateComponent, EnableCellTextSearch, EndOfRows, EventCleanUpSession, FOOTER_CELL_RENDERER_PORTAL, FileDownloadComponent, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, FooterRowCellsBuilder, FooterRowModel, Formatter, GarbageCollectorDirective, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, HostedInteractionContext, 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, OPTION_LIST_DEFAULTS, OptionListActivity, OutOfScopeNoticeComponent, POPUP_CONTAINER, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, ParameterSanitiser, PasswordInputComponent, Place, PlaceAccessGuard, PlaceAuthService, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, PlaceScope, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, QuietRejections, QuietRejectionsErrorHandler, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, ResizeObserverDirective, RouteId, ScrollContainerComponent, SearchCriteria, SearchInputComponent, SectionHeaderComponent, SelectInputActivity, SelectInputComponent, SelectOptionList, SelectOverlayOriginDirective, SelectionCellComponent, SelectionColumnModel, SelectionHeaderCellComponent, SeparatorComponent, ServerSearchModel, SheetSwipe, SidePlaceNavigationComponent, SlideDownInteractionContextComponent, StringInputActivity, StringInputComponent, SubFormListColumn, SubFormListColumns, SubFormListComponent, SubFormListEmptyDirective, SubFormListFooterDirective, SubFormListHeaderDirective, SubFormRowActionsDirective, SubFormRowDirective, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableActionColumnComponent, TableBodyComponent, TableCellComponent, TableComponent, TableCustomMoreMenuComponent, TableCustomMoreMenuPopupComponent, TableFilterModel, TableFooterRow, TableHeaderCellComponent, TableModel, TableRowAttributesDirective, TableSearchModel, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TopOfRows, Track, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSegment, VisitSegmentSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, collapseOrphanSeparators, getPlaceDefinition, leftRightPlaceAnimation, markdownPillExtension, provideQuietRejections, registerValidators, setPlaceDefinition, slideDownAndRightOnEnterAnimation, slideDownOnEnterAnimation, slideDownWhenOpenAnimation, slideRightOnEnterAnimation, startActivityInPopup, treeNodeDecorator };
|
|
18543
18618
|
//# sourceMappingURL=coolon-angular-ui-powerups.mjs.map
|