@alfresco/aca-content 4.3.0-6558412286 → 4.3.0-6571272221

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.
@@ -8008,6 +8008,9 @@ class DetailsComponent extends PageComponent {
8008
8008
  goBack() {
8009
8009
  this.store.dispatch(new NavigateToPreviousPage());
8010
8010
  }
8011
+ onBreadcrumbNavigate(path) {
8012
+ this.store.dispatch(new NavigateToFolder({ entry: path }));
8013
+ }
8011
8014
  ngOnDestroy() {
8012
8015
  this.store.dispatch(new SetSelectedNodesAction([]));
8013
8016
  this.onDestroy$.next();
@@ -8015,7 +8018,7 @@ class DetailsComponent extends PageComponent {
8015
8018
  }
8016
8019
  }
8017
8020
  DetailsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DetailsComponent, deps: [{ token: i2$1.ActivatedRoute }, { token: i2.ContentApiService }], target: i0.ɵɵFactoryTarget.Component });
8018
- DetailsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: DetailsComponent, isStandalone: true, selector: "app-details-manager", usesInheritance: true, ngImport: i0, template: "<aca-page-layout>\n <div class=\"aca-page-layout-header\">\n <adf-breadcrumb [root]=\"title\" [folderNode]=\"node\" (navigate)=\"goBack()\"> </adf-breadcrumb>\n <aca-toolbar [items]=\"actions\"></aca-toolbar>\n </div>\n\n <div class=\"aca-page-layout-content\">\n <div class=\"acs-details-container\">\n <div class=\"acs-details-title\">\n <div class=\"acs-details-breadcrumb\" role=\"heading\" aria-level=\"2\" *ngIf=\"node\">\n <span class=\"acs-details-breadcrumb-library\"> {{ node.name }} </span>\n -\n <span class=\"acs-details-breadcrumb-item\">{{ 'APP.INFO_DRAWER.TITLE' | translate }}</span>\n </div>\n <button\n class=\"aca-close-details-button\"\n mat-icon-button\n data-automation-id=\"close-library\"\n title=\"{{ 'APP.INFO_DRAWER.CLOSE' | translate }}\"\n (click)=\"goBack()\">\n <mat-icon>fullscreen_exit</mat-icon>\n </button>\n </div>\n\n <mat-tab-group [selectedIndex]=\"activeTab\" class=\"aca-details-tabs\" animationDuration=\"0\">\n <mat-tab label=\"{{ 'APP.INFO_DRAWER.TABS.PROPERTIES' | translate }}\">\n <ng-template matTabContent>\n <app-metadata-tab *ngIf=\"node && !isLoading; else loading\" [node]=\"node\"></app-metadata-tab>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"{{ 'APP.INFO_DRAWER.TABS.COMMENTS' | translate }}\">\n <ng-template matTabContent>\n <app-comments-tab *ngIf=\"node && !isLoading; else loading\" [node]=\"node\"></app-comments-tab>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"{{ 'APP.INFO_DRAWER.TABS.PERMISSIONS' | translate }}\">\n <ng-template matTabContent>\n <adf-permission-list *ngIf=\"node && !isLoading; else loading\" [nodeId]=\"node.id\"></adf-permission-list>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </div>\n </div>\n</aca-page-layout>\n\n<ng-template #loading>\n <mat-progress-bar color=\"primary\" mode=\"indeterminate\"></mat-progress-bar>\n</ng-template>\n", styles: ["app-details-manager .aca-close-details-button{margin-right:15px;margin-top:2px;outline:none;border-radius:4px}app-details-manager .aca-close-details-button:focus{background-color:var(--theme-selected-background-color);outline:2px solid var(--theme-blue-button-color);border-radius:4px}app-details-manager .aca-close-details-button:focus-visible{outline:2px solid var(--theme-blue-button-color);border-radius:4px}.acs-details-container{background-color:var(--theme-card-background-color);width:100%}.aca-details-tabs{margin-top:40px;height:calc(100% - 80px)}.aca-details-tabs .mat-tab-body-wrapper{height:100%}.aca-details-tabs .mat-tab-labels{text-transform:uppercase}.acs-details-title{width:100%;display:flex;align-items:center;justify-content:space-between}.acs-details-breadcrumb{font-size:18px;margin-left:20px}.acs-details-breadcrumb .acs-details-breadcrumb-library{font-weight:900}.acs-details-breadcrumb .acs-details-breadcrumb-item{font-weight:100}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: PermissionManagerModule }, { kind: "component", type: i1.PermissionListComponent, selector: "adf-permission-list", inputs: ["nodeId"], outputs: ["update", "error"] }, { kind: "ngmodule", type: BreadcrumbModule }, { kind: "component", type: i1.BreadcrumbComponent, selector: "adf-breadcrumb", inputs: ["folderNode", "root", "rootId", "target", "transform", "maxItems", "readOnly"], outputs: ["navigate"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i7$3.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { kind: "component", type: i7$3.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "directive", type: i7$3.MatTabContent, selector: "[matTabContent]" }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i6$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: MetadataTabComponent, selector: "app-metadata-tab", inputs: ["node"] }, { kind: "component", type: CommentsTabComponent, selector: "app-comments-tab", inputs: ["node"] }, { kind: "component", type: PageLayoutComponent, selector: "aca-page-layout", inputs: ["hasError"] }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }], encapsulation: i0.ViewEncapsulation.None });
8021
+ DetailsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: DetailsComponent, isStandalone: true, selector: "app-details-manager", usesInheritance: true, ngImport: i0, template: "<aca-page-layout>\n <div class=\"aca-page-layout-header\">\n <adf-breadcrumb [root]=\"title\" [folderNode]=\"node\" (navigate)=\"onBreadcrumbNavigate($event)\"> </adf-breadcrumb>\n <aca-toolbar [items]=\"actions\"></aca-toolbar>\n </div>\n\n <div class=\"aca-page-layout-content\">\n <div class=\"acs-details-container\">\n <div class=\"acs-details-title\">\n <div class=\"acs-details-breadcrumb\" role=\"heading\" aria-level=\"2\" *ngIf=\"node\">\n <span class=\"acs-details-breadcrumb-library\"> {{ node.name }} </span>\n -\n <span class=\"acs-details-breadcrumb-item\">{{ 'APP.INFO_DRAWER.TITLE' | translate }}</span>\n </div>\n <button\n class=\"aca-close-details-button\"\n mat-icon-button\n data-automation-id=\"close-library\"\n title=\"{{ 'APP.INFO_DRAWER.CLOSE' | translate }}\"\n (click)=\"goBack()\">\n <mat-icon>fullscreen_exit</mat-icon>\n </button>\n </div>\n\n <mat-tab-group [selectedIndex]=\"activeTab\" class=\"aca-details-tabs\" animationDuration=\"0\">\n <mat-tab label=\"{{ 'APP.INFO_DRAWER.TABS.PROPERTIES' | translate }}\">\n <ng-template matTabContent>\n <app-metadata-tab *ngIf=\"node && !isLoading; else loading\" [node]=\"node\"></app-metadata-tab>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"{{ 'APP.INFO_DRAWER.TABS.COMMENTS' | translate }}\">\n <ng-template matTabContent>\n <app-comments-tab *ngIf=\"node && !isLoading; else loading\" [node]=\"node\"></app-comments-tab>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"{{ 'APP.INFO_DRAWER.TABS.PERMISSIONS' | translate }}\">\n <ng-template matTabContent>\n <adf-permission-list *ngIf=\"node && !isLoading; else loading\" [nodeId]=\"node.id\"></adf-permission-list>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </div>\n </div>\n</aca-page-layout>\n\n<ng-template #loading>\n <mat-progress-bar color=\"primary\" mode=\"indeterminate\"></mat-progress-bar>\n</ng-template>\n", styles: ["app-details-manager .aca-close-details-button{margin-right:15px;margin-top:2px;outline:none;border-radius:4px}app-details-manager .aca-close-details-button:focus{background-color:var(--theme-selected-background-color);outline:2px solid var(--theme-blue-button-color);border-radius:4px}app-details-manager .aca-close-details-button:focus-visible{outline:2px solid var(--theme-blue-button-color);border-radius:4px}.acs-details-container{background-color:var(--theme-card-background-color);width:100%}.aca-details-tabs{margin-top:40px;height:calc(100% - 80px)}.aca-details-tabs .mat-tab-body-wrapper{height:100%}.aca-details-tabs .mat-tab-labels{text-transform:uppercase}.acs-details-title{width:100%;display:flex;align-items:center;justify-content:space-between}.acs-details-breadcrumb{font-size:18px;margin-left:20px}.acs-details-breadcrumb .acs-details-breadcrumb-library{font-weight:900}.acs-details-breadcrumb .acs-details-breadcrumb-item{font-weight:100}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: PermissionManagerModule }, { kind: "component", type: i1.PermissionListComponent, selector: "adf-permission-list", inputs: ["nodeId"], outputs: ["update", "error"] }, { kind: "ngmodule", type: BreadcrumbModule }, { kind: "component", type: i1.BreadcrumbComponent, selector: "adf-breadcrumb", inputs: ["folderNode", "root", "rootId", "target", "transform", "maxItems", "readOnly"], outputs: ["navigate"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i7$3.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { kind: "component", type: i7$3.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "directive", type: i7$3.MatTabContent, selector: "[matTabContent]" }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i6$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: MetadataTabComponent, selector: "app-metadata-tab", inputs: ["node"] }, { kind: "component", type: CommentsTabComponent, selector: "app-comments-tab", inputs: ["node"] }, { kind: "component", type: PageLayoutComponent, selector: "aca-page-layout", inputs: ["hasError"] }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }], encapsulation: i0.ViewEncapsulation.None });
8019
8022
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DetailsComponent, decorators: [{
8020
8023
  type: Component,
8021
8024
  args: [{ standalone: true, imports: [
@@ -8031,7 +8034,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
8031
8034
  CommentsTabComponent,
8032
8035
  PageLayoutComponent,
8033
8036
  ToolbarComponent
8034
- ], selector: 'app-details-manager', encapsulation: ViewEncapsulation.None, template: "<aca-page-layout>\n <div class=\"aca-page-layout-header\">\n <adf-breadcrumb [root]=\"title\" [folderNode]=\"node\" (navigate)=\"goBack()\"> </adf-breadcrumb>\n <aca-toolbar [items]=\"actions\"></aca-toolbar>\n </div>\n\n <div class=\"aca-page-layout-content\">\n <div class=\"acs-details-container\">\n <div class=\"acs-details-title\">\n <div class=\"acs-details-breadcrumb\" role=\"heading\" aria-level=\"2\" *ngIf=\"node\">\n <span class=\"acs-details-breadcrumb-library\"> {{ node.name }} </span>\n -\n <span class=\"acs-details-breadcrumb-item\">{{ 'APP.INFO_DRAWER.TITLE' | translate }}</span>\n </div>\n <button\n class=\"aca-close-details-button\"\n mat-icon-button\n data-automation-id=\"close-library\"\n title=\"{{ 'APP.INFO_DRAWER.CLOSE' | translate }}\"\n (click)=\"goBack()\">\n <mat-icon>fullscreen_exit</mat-icon>\n </button>\n </div>\n\n <mat-tab-group [selectedIndex]=\"activeTab\" class=\"aca-details-tabs\" animationDuration=\"0\">\n <mat-tab label=\"{{ 'APP.INFO_DRAWER.TABS.PROPERTIES' | translate }}\">\n <ng-template matTabContent>\n <app-metadata-tab *ngIf=\"node && !isLoading; else loading\" [node]=\"node\"></app-metadata-tab>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"{{ 'APP.INFO_DRAWER.TABS.COMMENTS' | translate }}\">\n <ng-template matTabContent>\n <app-comments-tab *ngIf=\"node && !isLoading; else loading\" [node]=\"node\"></app-comments-tab>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"{{ 'APP.INFO_DRAWER.TABS.PERMISSIONS' | translate }}\">\n <ng-template matTabContent>\n <adf-permission-list *ngIf=\"node && !isLoading; else loading\" [nodeId]=\"node.id\"></adf-permission-list>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </div>\n </div>\n</aca-page-layout>\n\n<ng-template #loading>\n <mat-progress-bar color=\"primary\" mode=\"indeterminate\"></mat-progress-bar>\n</ng-template>\n", styles: ["app-details-manager .aca-close-details-button{margin-right:15px;margin-top:2px;outline:none;border-radius:4px}app-details-manager .aca-close-details-button:focus{background-color:var(--theme-selected-background-color);outline:2px solid var(--theme-blue-button-color);border-radius:4px}app-details-manager .aca-close-details-button:focus-visible{outline:2px solid var(--theme-blue-button-color);border-radius:4px}.acs-details-container{background-color:var(--theme-card-background-color);width:100%}.aca-details-tabs{margin-top:40px;height:calc(100% - 80px)}.aca-details-tabs .mat-tab-body-wrapper{height:100%}.aca-details-tabs .mat-tab-labels{text-transform:uppercase}.acs-details-title{width:100%;display:flex;align-items:center;justify-content:space-between}.acs-details-breadcrumb{font-size:18px;margin-left:20px}.acs-details-breadcrumb .acs-details-breadcrumb-library{font-weight:900}.acs-details-breadcrumb .acs-details-breadcrumb-item{font-weight:100}\n"] }]
8037
+ ], selector: 'app-details-manager', encapsulation: ViewEncapsulation.None, template: "<aca-page-layout>\n <div class=\"aca-page-layout-header\">\n <adf-breadcrumb [root]=\"title\" [folderNode]=\"node\" (navigate)=\"onBreadcrumbNavigate($event)\"> </adf-breadcrumb>\n <aca-toolbar [items]=\"actions\"></aca-toolbar>\n </div>\n\n <div class=\"aca-page-layout-content\">\n <div class=\"acs-details-container\">\n <div class=\"acs-details-title\">\n <div class=\"acs-details-breadcrumb\" role=\"heading\" aria-level=\"2\" *ngIf=\"node\">\n <span class=\"acs-details-breadcrumb-library\"> {{ node.name }} </span>\n -\n <span class=\"acs-details-breadcrumb-item\">{{ 'APP.INFO_DRAWER.TITLE' | translate }}</span>\n </div>\n <button\n class=\"aca-close-details-button\"\n mat-icon-button\n data-automation-id=\"close-library\"\n title=\"{{ 'APP.INFO_DRAWER.CLOSE' | translate }}\"\n (click)=\"goBack()\">\n <mat-icon>fullscreen_exit</mat-icon>\n </button>\n </div>\n\n <mat-tab-group [selectedIndex]=\"activeTab\" class=\"aca-details-tabs\" animationDuration=\"0\">\n <mat-tab label=\"{{ 'APP.INFO_DRAWER.TABS.PROPERTIES' | translate }}\">\n <ng-template matTabContent>\n <app-metadata-tab *ngIf=\"node && !isLoading; else loading\" [node]=\"node\"></app-metadata-tab>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"{{ 'APP.INFO_DRAWER.TABS.COMMENTS' | translate }}\">\n <ng-template matTabContent>\n <app-comments-tab *ngIf=\"node && !isLoading; else loading\" [node]=\"node\"></app-comments-tab>\n </ng-template>\n </mat-tab>\n <mat-tab label=\"{{ 'APP.INFO_DRAWER.TABS.PERMISSIONS' | translate }}\">\n <ng-template matTabContent>\n <adf-permission-list *ngIf=\"node && !isLoading; else loading\" [nodeId]=\"node.id\"></adf-permission-list>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </div>\n </div>\n</aca-page-layout>\n\n<ng-template #loading>\n <mat-progress-bar color=\"primary\" mode=\"indeterminate\"></mat-progress-bar>\n</ng-template>\n", styles: ["app-details-manager .aca-close-details-button{margin-right:15px;margin-top:2px;outline:none;border-radius:4px}app-details-manager .aca-close-details-button:focus{background-color:var(--theme-selected-background-color);outline:2px solid var(--theme-blue-button-color);border-radius:4px}app-details-manager .aca-close-details-button:focus-visible{outline:2px solid var(--theme-blue-button-color);border-radius:4px}.acs-details-container{background-color:var(--theme-card-background-color);width:100%}.aca-details-tabs{margin-top:40px;height:calc(100% - 80px)}.aca-details-tabs .mat-tab-body-wrapper{height:100%}.aca-details-tabs .mat-tab-labels{text-transform:uppercase}.acs-details-title{width:100%;display:flex;align-items:center;justify-content:space-between}.acs-details-breadcrumb{font-size:18px;margin-left:20px}.acs-details-breadcrumb .acs-details-breadcrumb-library{font-weight:900}.acs-details-breadcrumb .acs-details-breadcrumb-item{font-weight:100}\n"] }]
8035
8038
  }], ctorParameters: function () { return [{ type: i2$1.ActivatedRoute }, { type: i2.ContentApiService }]; } });
8036
8039
 
8037
8040
  /*!