@coolon/angular-ui-powerups 16.1.0-alpha.242 → 16.1.0-alpha.244
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/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/empty-state/empty-state.component.mjs +2 -2
- package/fesm2022/coolon-angular-ui-powerups.mjs +6 -6
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -34,7 +34,7 @@ export class MoreMenuComponent extends AbstractPopupMenuComponent {
|
|
|
34
34
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: MoreMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35
35
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: MoreMenuComponent, selector: "aup-more-menu", inputs: { tooltip: "tooltip" }, providers: [
|
|
36
36
|
{ provide: POPUP_CONTAINER, useExisting: MoreMenuComponent }
|
|
37
|
-
], 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 <aup-button-renderer [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent
|
|
37
|
+
], 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "component", type: i3.PopupMenuRendererComponent, selector: "aup-popup-menu-renderer", inputs: ["parent"], outputs: ["commandFired"] }, { kind: "component", type: i4.ButtonRendererComponent, selector: "aup-button-renderer", inputs: ["faces$", "faces", "enabled$", "enabled", "busy$", "busy", "alignFace", "forceRenderAsButton"] }] });
|
|
38
38
|
}
|
|
39
39
|
__decorate([
|
|
40
40
|
StoreInValueModel(),
|
|
@@ -44,8 +44,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
44
44
|
type: Component,
|
|
45
45
|
args: [{ selector: 'aup-more-menu', providers: [
|
|
46
46
|
{ provide: POPUP_CONTAINER, useExisting: MoreMenuComponent }
|
|
47
|
-
], 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 <aup-button-renderer [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent
|
|
47
|
+
], 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" }]
|
|
48
48
|
}], ctorParameters: function () { return []; }, propDecorators: { tooltip: [{
|
|
49
49
|
type: Input
|
|
50
50
|
}] } });
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9yZS1tZW51LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYW5ndWxhci11aS1wb3dlcnVwcy9zcmMvbGliL2NvbXBvbmVudHMvY29tbWFuZHMvZ3JvdXAvcG9wdXAtbWVudS9tb3JlLW1lbnUuY29tcG9uZ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zLWRvdFxuICAgICAgIG9wZW5zIGFuIGVtcHR5IHBvcHVwIGNhcmQg4oCUIHdvcnNlIFVYIHRoYW4gXCJubyB0cmlnZ2VyIGF0IGFsbFwiLiAtLT5cbiAgPGF1cC1idXR0b24tcmVuZGVyZXIgKm5nSWY9XCJzdWJNZW51LnJlbmRlcmFibGVDaGlsZHJlbi5sZW5ndGhcIlxuICAgICAgICAgICAgICAgICAgICAgICBbZmFjZXMkXT1cImZhY2VzJFwiIFttYXRNZW51VHJpZ2dlckZvcl09XCJzdWJNZW51Lm1lbnVDb21wb25lbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiJGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgW2ZvcmNlUmVuZGVyQXNCdXR0b25dPVwidHJ1ZVwiXG4gID48L2F1cC1idXR0b24tcmVuZGVyZXI+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -27,7 +27,7 @@ export class PopupMenuComponent extends AbstractPopupMenuComponent {
|
|
|
27
27
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PopupMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
28
28
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PopupMenuComponent, selector: "aup-popup-menu", inputs: { face$: "face$", face: "face" }, providers: [
|
|
29
29
|
{ provide: POPUP_CONTAINER, useExisting: PopupMenuComponent }
|
|
30
|
-
], 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 <aup-button-renderer [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent
|
|
30
|
+
], 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "component", type: i3.PopupMenuRendererComponent, selector: "aup-popup-menu-renderer", inputs: ["parent"], outputs: ["commandFired"] }, { kind: "component", type: i4.ButtonRendererComponent, selector: "aup-button-renderer", inputs: ["faces$", "faces", "enabled$", "enabled", "busy$", "busy", "alignFace", "forceRenderAsButton"] }] });
|
|
31
31
|
}
|
|
32
32
|
__decorate([
|
|
33
33
|
DelegateToValueModel('faceModelDelegate'),
|
|
@@ -41,10 +41,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
41
41
|
type: Component,
|
|
42
42
|
args: [{ selector: 'aup-popup-menu', providers: [
|
|
43
43
|
{ provide: POPUP_CONTAINER, useExisting: PopupMenuComponent }
|
|
44
|
-
], 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 <aup-button-renderer [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent
|
|
44
|
+
], 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" }]
|
|
45
45
|
}], ctorParameters: function () { return []; }, propDecorators: { face$: [{
|
|
46
46
|
type: Input
|
|
47
47
|
}], face: [{
|
|
48
48
|
type: Input
|
|
49
49
|
}] } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
50
|
+
//# sourceMappingURL=data:application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ZS1cbiAgICAgICBnYXRlZCB0byBmYWxzZSwgb3IgdGhlIG1lbnUgaXMgY29tcG9zZWQgc29sZWx5IG9mIHNlcGFyYXRvcnMpLiBPdGhlcndpc2UgY2xpY2tpbmcgdGhlIDMtZG90XG4gICAgICAgb3BlbnMgYW4gZW1wdHkgcG9wdXAgY2FyZCDigJQgd29yc2UgVVggdGhhbiBcIm5vIHRyaWdnZXIgYXQgYWxsXCIuIC0tPlxuICA8YXVwLWJ1dHRvbi1yZW5kZXJlciAqbmdJZj1cInN1Yk1lbnUucmVuZGVyYWJsZUNoaWxkcmVuLmxlbmd0aFwiXG4gICAgICAgICAgICAgICAgICAgICAgIFtmYWNlcyRdPVwiZmFjZXMkXCIgW21hdE1lbnVUcmlnZ2VyRm9yXT1cInN1Yk1lbnUubWVudUNvbXBvbmVudFwiXG4gICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCIkZXZlbnQuc3RvcFByb3BhZ2F0aW9uKClcIlxuICAgICAgICAgICAgICAgICAgICAgICBbZm9yY2VSZW5kZXJBc0J1dHRvbl09XCJ0cnVlXCJcbiAgPjwvYXVwLWJ1dHRvbi1yZW5kZXJlcj5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -6,7 +6,7 @@ export class EmptyStateComponent {
|
|
|
6
6
|
<div class="container">
|
|
7
7
|
<ng-content></ng-content>
|
|
8
8
|
</div>
|
|
9
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}\n"] });
|
|
9
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}:host .container>*:last-child{margin-bottom:0}\n"] });
|
|
10
10
|
}
|
|
11
11
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: EmptyStateComponent, decorators: [{
|
|
12
12
|
type: Component,
|
|
@@ -14,6 +14,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
14
14
|
<div class="container">
|
|
15
15
|
<ng-content></ng-content>
|
|
16
16
|
</div>
|
|
17
|
-
`, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}\n"] }]
|
|
17
|
+
`, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}:host .container>*:last-child{margin-bottom:0}\n"] }]
|
|
18
18
|
}] });
|
|
19
19
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wdHktc3RhdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyLXVpLXBvd2VydXBzL3NyYy9saWIvY29tcG9uZW50cy9lbXB0eS1zdGF0ZS9lbXB0eS1zdGF0ZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFXeEMsTUFBTSxPQUFPLG1CQUFtQjt1R0FBbkIsbUJBQW1COzJGQUFuQixtQkFBbUIsdURBUHBCOzs7O0dBSVQ7OzJGQUdVLG1CQUFtQjtrQkFUL0IsU0FBUzsrQkFDRSxpQkFBaUIsWUFDakI7Ozs7R0FJVCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q29tcG9uZW50fSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYXVwLWVtcHR5LXN0YXRlJyxcbiAgdGVtcGxhdGU6IGBcbiAgICAgIDxkaXYgY2xhc3M9XCJjb250YWluZXJcIj5cbiAgICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgICA8L2Rpdj5cbiAgYCxcbiAgc3R5bGVVcmxzOiBbJy4vZW1wdHktc3RhdGUuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBFbXB0eVN0YXRlQ29tcG9uZW50ICB7XG5cbn1cbiJdfQ==
|
|
@@ -1894,7 +1894,7 @@ class MoreMenuComponent extends AbstractPopupMenuComponent {
|
|
|
1894
1894
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: MoreMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1895
1895
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: MoreMenuComponent, selector: "aup-more-menu", inputs: { tooltip: "tooltip" }, providers: [
|
|
1896
1896
|
{ provide: POPUP_CONTAINER, useExisting: MoreMenuComponent }
|
|
1897
|
-
], 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 <aup-button-renderer [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent
|
|
1897
|
+
], 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: i2$1.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"] }] });
|
|
1898
1898
|
}
|
|
1899
1899
|
__decorate([
|
|
1900
1900
|
StoreInValueModel(),
|
|
@@ -1904,7 +1904,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
1904
1904
|
type: Component,
|
|
1905
1905
|
args: [{ selector: 'aup-more-menu', providers: [
|
|
1906
1906
|
{ provide: POPUP_CONTAINER, useExisting: MoreMenuComponent }
|
|
1907
|
-
], 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 <aup-button-renderer [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent
|
|
1907
|
+
], 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" }]
|
|
1908
1908
|
}], ctorParameters: function () { return []; }, propDecorators: { tooltip: [{
|
|
1909
1909
|
type: Input
|
|
1910
1910
|
}] } });
|
|
@@ -1927,7 +1927,7 @@ class PopupMenuComponent extends AbstractPopupMenuComponent {
|
|
|
1927
1927
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: PopupMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1928
1928
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: PopupMenuComponent, selector: "aup-popup-menu", inputs: { face$: "face$", face: "face" }, providers: [
|
|
1929
1929
|
{ provide: POPUP_CONTAINER, useExisting: PopupMenuComponent }
|
|
1930
|
-
], 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 <aup-button-renderer [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent
|
|
1930
|
+
], 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: i2$1.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"] }] });
|
|
1931
1931
|
}
|
|
1932
1932
|
__decorate([
|
|
1933
1933
|
DelegateToValueModel('faceModelDelegate'),
|
|
@@ -1941,7 +1941,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
1941
1941
|
type: Component,
|
|
1942
1942
|
args: [{ selector: 'aup-popup-menu', providers: [
|
|
1943
1943
|
{ provide: POPUP_CONTAINER, useExisting: PopupMenuComponent }
|
|
1944
|
-
], 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 <aup-button-renderer [faces$]=\"faces$\" [matMenuTriggerFor]=\"subMenu.menuComponent
|
|
1944
|
+
], 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" }]
|
|
1945
1945
|
}], ctorParameters: function () { return []; }, propDecorators: { face$: [{
|
|
1946
1946
|
type: Input
|
|
1947
1947
|
}], face: [{
|
|
@@ -1954,7 +1954,7 @@ class EmptyStateComponent {
|
|
|
1954
1954
|
<div class="container">
|
|
1955
1955
|
<ng-content></ng-content>
|
|
1956
1956
|
</div>
|
|
1957
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}\n"] });
|
|
1957
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}:host .container>*:last-child{margin-bottom:0}\n"] });
|
|
1958
1958
|
}
|
|
1959
1959
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: EmptyStateComponent, decorators: [{
|
|
1960
1960
|
type: Component,
|
|
@@ -1962,7 +1962,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
1962
1962
|
<div class="container">
|
|
1963
1963
|
<ng-content></ng-content>
|
|
1964
1964
|
</div>
|
|
1965
|
-
`, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}\n"] }]
|
|
1965
|
+
`, styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:14px;font-weight:300}:host .container{display:flex;flex-direction:column;align-items:stretch;padding:var(--padding, var(--aup-default-padding));border:var(--border, 2px dashed rgba(0, 0, 0, .2));border-radius:5px;font-size:inherit;font-weight:inherit}:host .container>*:last-child{margin-bottom:0}\n"] }]
|
|
1966
1966
|
}] });
|
|
1967
1967
|
|
|
1968
1968
|
class FocusContainerComponent extends DisposableComponent {
|