@alfresco/aca-content 7.3.0-20129420316 → 7.3.0-20129513315
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.
|
@@ -10547,11 +10547,11 @@ class ExpandMenuComponent {
|
|
|
10547
10547
|
return obj.id;
|
|
10548
10548
|
}
|
|
10549
10549
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ExpandMenuComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10550
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: ExpandMenuComponent, isStandalone: true, selector: "app-expand-menu", inputs: { item: "item" }, outputs: { actionClicked: "actionClicked" }, host: { classAttribute: "app-expand-menu" }, ngImport: i0, template: "<ng-container *ngIf=\"!item.children\">\n <div class=\"aca-expansion-panel-item\">\n <button\n acaActiveLink=\"aca-action-button--active\"\n [action]=\"item\"\n [attr.aria-label]=\"item.title | translate\"\n [id]=\"item.id\"\n [attr.data-automation-id]=\"item.id\"\n [attr.title]=\"item.description | translate\"\n mat-button\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"item.icon\" [value]=\"item.icon\" />\n <span class=\"action-button__label\">{{ item.title | translate }}</span>\n </button>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"item.children && item.children.length\">\n <mat-expansion-panel\n class=\"aca-expansion-panel\"\n [expanded]=\"true\"\n [@.disabled]=\"true\"\n >\n <mat-expansion-panel-header expandedHeight=\"32px\" collapsedHeight=\"32px\"
|
|
10550
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: ExpandMenuComponent, isStandalone: true, selector: "app-expand-menu", inputs: { item: "item" }, outputs: { actionClicked: "actionClicked" }, host: { classAttribute: "app-expand-menu" }, ngImport: i0, template: "<ng-container *ngIf=\"!item.children\">\n <div class=\"aca-expansion-panel-item\">\n <button\n acaActiveLink=\"aca-action-button--active\"\n [action]=\"item\"\n [attr.aria-label]=\"item.title | translate\"\n [id]=\"item.id\"\n [attr.data-automation-id]=\"item.id\"\n [attr.title]=\"item.description | translate\"\n mat-button\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"item.icon\" [value]=\"item.icon\" />\n <span class=\"action-button__label\">{{ item.title | translate }}</span>\n </button>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"item.children && item.children.length\">\n <mat-expansion-panel\n class=\"aca-expansion-panel\"\n [expanded]=\"true\"\n [@.disabled]=\"true\"\n >\n <mat-expansion-panel-header expandedHeight=\"32px\" collapsedHeight=\"32px\" class=\"aca-expansion-panel-header\">\n <mat-panel-title class=\"aca-expansion-panel-header-title\">\n <div class=\"aca-expansion-panel-item\">\n <span\n [attr.aria-label]=\"item.title | translate\"\n [id]=\"item.id\"\n [attr.title]=\"item.description | translate\"\n [attr.data-automation-id]=\"item.id\"\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"item.icon\" [value]=\"item.icon\" />\n <span class=\"aca-action-button__label\">{{ item.title | translate }}</span>\n </span>\n </div>\n </mat-panel-title>\n </mat-expansion-panel-header>\n <div class=\"aca-expansion-panel-body\">\n <div *ngFor=\"let child of item.children; trackBy: trackById\" class=\"aca-expansion-panel-item\">\n <button\n acaActiveLink=\"aca-action-button--active\"\n [action]=\"child\"\n (actionClicked)=\"actionClicked.emit($event)\"\n [attr.aria-label]=\"child.title | translate\"\n [id]=\"child.id\"\n [attr.data-automation-id]=\"child.id\"\n [attr.title]=\"child.description | translate\"\n mat-button\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"child.icon\" [value]=\"child.icon\" />\n <span class=\"aca-action-button__label\">{{ child.title | translate }}</span>\n </button>\n </div>\n </div>\n </mat-expansion-panel>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: ActiveLinkDirective, selector: "[acaActiveLink]", inputs: ["acaActiveLink"], exportAs: ["acaActiveLink"] }, { kind: "directive", type: ActionDirective, selector: "[action]", inputs: ["action"], outputs: ["actionClicked"], exportAs: ["action"] }, { kind: "ngmodule", type: MatExpansionModule }, { kind: "component", type: i3$1.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i3$1.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: i3$1.MatExpansionPanelTitle, selector: "mat-panel-title" }], encapsulation: i0.ViewEncapsulation.None });
|
|
10551
10551
|
}
|
|
10552
10552
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ExpandMenuComponent, decorators: [{
|
|
10553
10553
|
type: Component,
|
|
10554
|
-
args: [{ imports: [CommonModule, TranslatePipe, IconComponent, MatButtonModule, ActiveLinkDirective, ActionDirective, MatExpansionModule], selector: 'app-expand-menu', encapsulation: ViewEncapsulation.None, host: { class: 'app-expand-menu' }, template: "<ng-container *ngIf=\"!item.children\">\n <div class=\"aca-expansion-panel-item\">\n <button\n acaActiveLink=\"aca-action-button--active\"\n [action]=\"item\"\n [attr.aria-label]=\"item.title | translate\"\n [id]=\"item.id\"\n [attr.data-automation-id]=\"item.id\"\n [attr.title]=\"item.description | translate\"\n mat-button\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"item.icon\" [value]=\"item.icon\" />\n <span class=\"action-button__label\">{{ item.title | translate }}</span>\n </button>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"item.children && item.children.length\">\n <mat-expansion-panel\n class=\"aca-expansion-panel\"\n [expanded]=\"true\"\n [@.disabled]=\"true\"\n >\n <mat-expansion-panel-header expandedHeight=\"32px\" collapsedHeight=\"32px\"
|
|
10554
|
+
args: [{ imports: [CommonModule, TranslatePipe, IconComponent, MatButtonModule, ActiveLinkDirective, ActionDirective, MatExpansionModule], selector: 'app-expand-menu', encapsulation: ViewEncapsulation.None, host: { class: 'app-expand-menu' }, template: "<ng-container *ngIf=\"!item.children\">\n <div class=\"aca-expansion-panel-item\">\n <button\n acaActiveLink=\"aca-action-button--active\"\n [action]=\"item\"\n [attr.aria-label]=\"item.title | translate\"\n [id]=\"item.id\"\n [attr.data-automation-id]=\"item.id\"\n [attr.title]=\"item.description | translate\"\n mat-button\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"item.icon\" [value]=\"item.icon\" />\n <span class=\"action-button__label\">{{ item.title | translate }}</span>\n </button>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"item.children && item.children.length\">\n <mat-expansion-panel\n class=\"aca-expansion-panel\"\n [expanded]=\"true\"\n [@.disabled]=\"true\"\n >\n <mat-expansion-panel-header expandedHeight=\"32px\" collapsedHeight=\"32px\" class=\"aca-expansion-panel-header\">\n <mat-panel-title class=\"aca-expansion-panel-header-title\">\n <div class=\"aca-expansion-panel-item\">\n <span\n [attr.aria-label]=\"item.title | translate\"\n [id]=\"item.id\"\n [attr.title]=\"item.description | translate\"\n [attr.data-automation-id]=\"item.id\"\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"item.icon\" [value]=\"item.icon\" />\n <span class=\"aca-action-button__label\">{{ item.title | translate }}</span>\n </span>\n </div>\n </mat-panel-title>\n </mat-expansion-panel-header>\n <div class=\"aca-expansion-panel-body\">\n <div *ngFor=\"let child of item.children; trackBy: trackById\" class=\"aca-expansion-panel-item\">\n <button\n acaActiveLink=\"aca-action-button--active\"\n [action]=\"child\"\n (actionClicked)=\"actionClicked.emit($event)\"\n [attr.aria-label]=\"child.title | translate\"\n [id]=\"child.id\"\n [attr.data-automation-id]=\"child.id\"\n [attr.title]=\"child.description | translate\"\n mat-button\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"child.icon\" [value]=\"child.icon\" />\n <span class=\"aca-action-button__label\">{{ child.title | translate }}</span>\n </button>\n </div>\n </div>\n </mat-expansion-panel>\n</ng-container>\n" }]
|
|
10555
10555
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { item: [{
|
|
10556
10556
|
type: Input,
|
|
10557
10557
|
args: [{ required: true }]
|