@alfresco/aca-content 4.0.0-5083172838 → 4.0.0-5088829584
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/about/about.component.d.ts +6 -10
- package/about/aca-about.module.d.ts +1 -31
- package/about/dev-mode.tokens.d.ts +1 -1
- package/esm2020/about/about.component.mjs +28 -32
- package/esm2020/about/aca-about.module.mjs +4 -25
- package/esm2020/about/dev-mode.tokens.mjs +1 -1
- package/fesm2015/alfresco-aca-content-about.mjs +34 -56
- package/fesm2015/alfresco-aca-content-about.mjs.map +1 -1
- package/fesm2020/alfresco-aca-content-about.mjs +34 -54
- package/fesm2020/alfresco-aca-content-about.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -22,24 +22,20 @@
|
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
24
|
import { OnInit } from '@angular/core';
|
|
25
|
-
import {
|
|
26
|
-
import { AppExtensionService, ExtensionRef } from '@alfresco/adf-extensions';
|
|
27
|
-
import { AppConfigService, AuthenticationService, RepositoryInfo } from '@alfresco/adf-core';
|
|
28
|
-
import { DiscoveryApiService } from '@alfresco/adf-content-services';
|
|
25
|
+
import { RepositoryInfo } from '@alfresco/adf-core';
|
|
29
26
|
import * as i0 from "@angular/core";
|
|
30
27
|
export declare class AboutComponent implements OnInit {
|
|
31
|
-
packageJson: any;
|
|
32
28
|
private authService;
|
|
33
29
|
private appExtensions;
|
|
34
30
|
private discovery;
|
|
35
|
-
|
|
31
|
+
private appConfigService;
|
|
32
|
+
packageJson?: any;
|
|
36
33
|
dev: boolean;
|
|
37
|
-
extensions$: Observable<ExtensionRef[]>;
|
|
34
|
+
extensions$: import("rxjs").Observable<import("@alfresco/adf-extensions").ExtensionRef[]>;
|
|
38
35
|
repository: RepositoryInfo;
|
|
39
36
|
landingPage: string;
|
|
40
|
-
constructor(devMode: any, packageJson: any, authService: AuthenticationService, appExtensions: AppExtensionService, discovery: DiscoveryApiService, appConfigService: AppConfigService);
|
|
41
37
|
ngOnInit(): void;
|
|
42
38
|
setECMInfo(): void;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AboutComponent,
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AboutComponent, "app-about-page", never, {}, {}, never, never,
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AboutComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AboutComponent, "app-about-page", never, {}, {}, never, never, true>;
|
|
45
41
|
}
|
|
@@ -1,39 +1,9 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
* Alfresco Example Content Application
|
|
5
|
-
*
|
|
6
|
-
* This file is part of the Alfresco Example Content Application.
|
|
7
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
-
* provided under the following open source license terms:
|
|
10
|
-
*
|
|
11
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
-
* (at your option) any later version.
|
|
15
|
-
*
|
|
16
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
-
* GNU Lesser General Public License for more details.
|
|
20
|
-
*
|
|
21
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
-
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
-
*/
|
|
24
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
25
1
|
import { ExtensionService } from '@alfresco/adf-extensions';
|
|
26
2
|
import * as i0 from "@angular/core";
|
|
27
3
|
import * as i1 from "./about.component";
|
|
28
|
-
import * as i2 from "@angular/common";
|
|
29
|
-
import * as i3 from "@angular/router";
|
|
30
|
-
import * as i4 from "@ngx-translate/core";
|
|
31
|
-
import * as i5 from "@alfresco/aca-shared";
|
|
32
|
-
import * as i6 from "@alfresco/adf-core";
|
|
33
4
|
export declare class AcaAboutModule {
|
|
34
5
|
constructor(extensions: ExtensionService);
|
|
35
|
-
static forRoot(devMode: any, packageJson?: any): ModuleWithProviders<AcaAboutModule>;
|
|
36
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AcaAboutModule, never>;
|
|
37
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AcaAboutModule, [typeof i1.AboutComponent],
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AcaAboutModule, never, [typeof i1.AboutComponent], never>;
|
|
38
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<AcaAboutModule>;
|
|
39
9
|
}
|
|
@@ -21,33 +21,37 @@
|
|
|
21
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
|
-
import { Component,
|
|
24
|
+
import { Component, inject } from '@angular/core';
|
|
25
25
|
import { DEV_MODE_TOKEN } from './dev-mode.tokens';
|
|
26
26
|
import { AppExtensionService } from '@alfresco/adf-extensions';
|
|
27
|
-
import { AppConfigService, AuthenticationService } from '@alfresco/adf-core';
|
|
27
|
+
import { AboutModule, AppConfigService, AuthenticationService } from '@alfresco/adf-core';
|
|
28
28
|
import { DiscoveryApiService } from '@alfresco/adf-content-services';
|
|
29
29
|
import { PACKAGE_JSON } from './package-json.token';
|
|
30
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
31
|
+
import { PageLayoutModule } from '@alfresco/aca-shared';
|
|
32
|
+
import { RouterModule } from '@angular/router';
|
|
33
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
34
|
+
import { CommonModule } from '@angular/common';
|
|
35
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
30
36
|
import * as i0 from "@angular/core";
|
|
31
|
-
import * as i1 from "@
|
|
32
|
-
import * as i2 from "@
|
|
33
|
-
import * as i3 from "@alfresco/adf-
|
|
34
|
-
import * as i4 from "@
|
|
37
|
+
import * as i1 from "@angular/common";
|
|
38
|
+
import * as i2 from "@ngx-translate/core";
|
|
39
|
+
import * as i3 from "@alfresco/adf-core";
|
|
40
|
+
import * as i4 from "@alfresco/aca-shared";
|
|
35
41
|
import * as i5 from "@angular/router";
|
|
36
|
-
import * as i6 from "@angular/material/
|
|
37
|
-
import * as i7 from "@angular/material/
|
|
38
|
-
import * as i8 from "@alfresco/aca-shared";
|
|
39
|
-
import * as i9 from "@ngx-translate/core";
|
|
42
|
+
import * as i6 from "@angular/material/icon";
|
|
43
|
+
import * as i7 from "@angular/material/button";
|
|
40
44
|
export class AboutComponent {
|
|
41
|
-
constructor(
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.dev = !devMode;
|
|
45
|
+
constructor() {
|
|
46
|
+
this.authService = inject(AuthenticationService);
|
|
47
|
+
this.appExtensions = inject(AppExtensionService);
|
|
48
|
+
this.discovery = inject(DiscoveryApiService);
|
|
49
|
+
this.appConfigService = inject(AppConfigService);
|
|
50
|
+
this.packageJson = inject(PACKAGE_JSON, { optional: true });
|
|
51
|
+
this.dev = inject(DEV_MODE_TOKEN);
|
|
49
52
|
this.extensions$ = this.appExtensions.references$;
|
|
50
|
-
this.
|
|
53
|
+
this.repository = null;
|
|
54
|
+
this.landingPage = this.appConfigService.get('landingPage', '/personal-files');
|
|
51
55
|
}
|
|
52
56
|
ngOnInit() {
|
|
53
57
|
if (this.authService.isEcmLoggedIn()) {
|
|
@@ -60,18 +64,10 @@ export class AboutComponent {
|
|
|
60
64
|
});
|
|
61
65
|
}
|
|
62
66
|
}
|
|
63
|
-
AboutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AboutComponent, deps: [
|
|
64
|
-
AboutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: AboutComponent, selector: "app-about-page", ngImport: i0, template: "<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n", styles: ["adf-about{width:100%}\n"], dependencies: [{ kind: "directive", type:
|
|
67
|
+
AboutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AboutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
68
|
+
AboutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: AboutComponent, isStandalone: true, selector: "app-about-page", ngImport: i0, template: "<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n", styles: ["adf-about{padding:10px;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: AboutModule }, { kind: "component", type: i3.AboutComponent, selector: "adf-about" }, { kind: "directive", type: i3.AboutPanelDirective, selector: "adf-about-panel", inputs: ["label"] }, { kind: "component", type: i3.AboutRepositoryInfoComponent, selector: "adf-about-repository-info", inputs: ["data"] }, { kind: "component", type: i3.AboutServerSettingsComponent, selector: "adf-about-server-settings" }, { kind: "component", type: i3.AboutExtensionListComponent, selector: "adf-about-extension-list", inputs: ["data"] }, { kind: "component", type: i3.PackageListComponent, selector: "adf-about-package-list", inputs: ["dependencies", "data"] }, { kind: "ngmodule", type: PageLayoutModule }, { kind: "component", type: i4.PageLayoutContentComponent, selector: "aca-page-layout-content", inputs: ["scrollable"] }, { kind: "component", type: i4.PageLayoutHeaderComponent, selector: "aca-page-layout-header" }, { kind: "component", type: i4.PageLayoutComponent, selector: "aca-page-layout", inputs: ["hasError"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i5.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i7.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"] }] });
|
|
65
69
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AboutComponent, decorators: [{
|
|
66
70
|
type: Component,
|
|
67
|
-
args: [{ selector: 'app-about-page', template: "<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n", styles: ["adf-about{width:100%}\n"] }]
|
|
68
|
-
}]
|
|
69
|
-
|
|
70
|
-
args: [DEV_MODE_TOKEN]
|
|
71
|
-
}] }, { type: undefined, decorators: [{
|
|
72
|
-
type: Optional
|
|
73
|
-
}, {
|
|
74
|
-
type: Inject,
|
|
75
|
-
args: [PACKAGE_JSON]
|
|
76
|
-
}] }, { type: i1.AuthenticationService }, { type: i2.AppExtensionService }, { type: i3.DiscoveryApiService }, { type: i1.AppConfigService }]; } });
|
|
77
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJvdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNhLWNvbnRlbnQvYWJvdXQvc3JjL2Fib3V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FjYS1jb250ZW50L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lxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgPC9hZGYtYWJvdXQtcGFuZWw+XG5cbiAgICAgIDxhZGYtYWJvdXQtcGFuZWwgKm5nSWY9XCJkZXZcIiBbbGFiZWxdPVwiJ0FCT1VULlBBQ0tBR0VTLlRJVExFJyB8IHRyYW5zbGF0ZVwiPlxuICAgICAgICA8bmctdGVtcGxhdGU+XG4gICAgICAgICAgICA8YWRmLWFib3V0LXBhY2thZ2UtbGlzdCBbZGVwZW5kZW5jaWVzXT1cInBhY2thZ2VKc29uPy5kZXBlbmRlbmNpZXNcIj48L2FkZi1hYm91dC1wYWNrYWdlLWxpc3Q+XG4gICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICA8L2FkZi1hYm91dC1wYW5lbD5cblxuICAgICAgPGFkZi1hYm91dC1wYW5lbCAqbmdJZj1cImV4dGVuc2lvbnMkIHwgYXN5bmMgYXMgZXh0ZW5zaW9uc1wiIFtsYWJlbF09XCInQUJPVVQuUExVR0lOUy5USVRMRScgfCB0cmFuc2xhdGVcIj5cbiAgICAgICAgPG5nLXRlbXBsYXRlPlxuICAgICAgICAgICAgPGFkZi1hYm91dC1leHRlbnNpb24tbGlzdCBbZGF0YV09XCJleHRlbnNpb25zXCI+PC9hZGYtYWJvdXQtZXh0ZW5zaW9uLWxpc3Q+XG4gICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICA8L2FkZi1hYm91dC1wYW5lbD5cbiAgICA8L2FkZi1hYm91dD5cbiAgPC9hY2EtcGFnZS1sYXlvdXQtY29udGVudD5cbjwvYWNhLXBhZ2UtbGF5b3V0PlxuIl19
|
|
71
|
+
args: [{ standalone: true, imports: [CommonModule, TranslateModule, AboutModule, PageLayoutModule, RouterModule, MatIconModule, MatButtonModule], selector: 'app-about-page', template: "<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n", styles: ["adf-about{padding:10px;width:100%}\n"] }]
|
|
72
|
+
}] });
|
|
73
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJvdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNhLWNvbnRlbnQvYWJvdXQvc3JjL2Fib3V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FjYS1jb250ZW50L2Fib3V0L3NyYy9hYm91dC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXNCRztBQUVILE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTS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bGF0ZT5cbiAgICAgIDwvYWRmLWFib3V0LXBhbmVsPlxuXG4gICAgICA8YWRmLWFib3V0LXBhbmVsICpuZ0lmPVwiZXh0ZW5zaW9ucyQgfCBhc3luYyBhcyBleHRlbnNpb25zXCIgW2xhYmVsXT1cIidBQk9VVC5QTFVHSU5TLlRJVExFJyB8IHRyYW5zbGF0ZVwiPlxuICAgICAgICA8bmctdGVtcGxhdGU+XG4gICAgICAgICAgICA8YWRmLWFib3V0LWV4dGVuc2lvbi1saXN0IFtkYXRhXT1cImV4dGVuc2lvbnNcIj48L2FkZi1hYm91dC1leHRlbnNpb24tbGlzdD5cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgIDwvYWRmLWFib3V0LXBhbmVsPlxuICAgIDwvYWRmLWFib3V0PlxuICA8L2FjYS1wYWdlLWxheW91dC1jb250ZW50PlxuPC9hY2EtcGFnZS1sYXlvdXQ+XG4iXX0=
|
|
@@ -23,14 +23,7 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import { NgModule } from '@angular/core';
|
|
25
25
|
import { AboutComponent } from './about.component';
|
|
26
|
-
import { CommonModule } from '@angular/common';
|
|
27
|
-
import { SharedModule, PageLayoutModule } from '@alfresco/aca-shared';
|
|
28
26
|
import { ExtensionService, provideExtensionConfig } from '@alfresco/adf-extensions';
|
|
29
|
-
import { DEV_MODE_TOKEN } from './dev-mode.tokens';
|
|
30
|
-
import { PACKAGE_JSON } from './package-json.token';
|
|
31
|
-
import { AboutModule } from '@alfresco/adf-core';
|
|
32
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
33
|
-
import { RouterModule } from '@angular/router';
|
|
34
27
|
import * as i0 from "@angular/core";
|
|
35
28
|
import * as i1 from "@alfresco/adf-extensions";
|
|
36
29
|
export class AcaAboutModule {
|
|
@@ -39,29 +32,15 @@ export class AcaAboutModule {
|
|
|
39
32
|
'app.about.component': AboutComponent
|
|
40
33
|
});
|
|
41
34
|
}
|
|
42
|
-
static forRoot(devMode, packageJson) {
|
|
43
|
-
const providers = [{ provide: DEV_MODE_TOKEN, useValue: devMode }];
|
|
44
|
-
if (packageJson) {
|
|
45
|
-
providers.push({
|
|
46
|
-
provide: PACKAGE_JSON,
|
|
47
|
-
useValue: packageJson
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
ngModule: AcaAboutModule,
|
|
52
|
-
providers
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
35
|
}
|
|
56
36
|
AcaAboutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, deps: [{ token: i1.ExtensionService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
57
|
-
AcaAboutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule,
|
|
58
|
-
AcaAboutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, providers: [provideExtensionConfig(['about.plugin.json'])], imports: [
|
|
37
|
+
AcaAboutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, imports: [AboutComponent] });
|
|
38
|
+
AcaAboutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, providers: [provideExtensionConfig(['about.plugin.json'])], imports: [AboutComponent] });
|
|
59
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, decorators: [{
|
|
60
40
|
type: NgModule,
|
|
61
41
|
args: [{
|
|
62
|
-
imports: [
|
|
63
|
-
declarations: [AboutComponent],
|
|
42
|
+
imports: [AboutComponent],
|
|
64
43
|
providers: [provideExtensionConfig(['about.plugin.json'])]
|
|
65
44
|
}]
|
|
66
45
|
}], ctorParameters: function () { return [{ type: i1.ExtensionService }]; } });
|
|
67
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNhLWFib3V0Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FjYS1jb250ZW50L2Fib3V0L3NyYy9hY2EtYWJvdXQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBc0JHO0FBRUgsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDbkQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLHNCQUFzQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7OztBQU1wRixNQUFNLE9BQU8sY0FBYztJQUN6QixZQUFZLFVBQTRCO1FBQ3RDLFVBQVUsQ0FBQyxhQUFhLENBQUM7WUFDdkIscUJBQXFCLEVBQUUsY0FBYztTQUN0QyxDQUFDLENBQUM7SUFDTCxDQUFDOzsyR0FMVSxjQUFjOzRHQUFkLGNBQWMsWUFIZixjQUFjOzRHQUdiLGNBQWMsYUFGZCxDQUFDLHNCQUFzQixDQUFDLENBQUMsbUJBQW1CLENBQUMsQ0FBQyxDQUFDLFlBRGhELGNBQWM7MkZBR2IsY0FBYztrQkFKMUIsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUUsQ0FBQyxjQUFjLENBQUM7b0JBQ3pCLFNBQVMsRUFBRSxDQUFDLHNCQUFzQixDQUFDLENBQUMsbUJBQW1CLENBQUMsQ0FBQyxDQUFDO2lCQUMzRCIsInNvdXJjZXNDb250ZW50IjpbIi8qIVxuICogQ29weXJpZ2h0IMKpID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IH0pO1xuICB9XG59XG4iXX0=
|
|
@@ -23,4 +23,4 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import { InjectionToken } from '@angular/core';
|
|
25
25
|
export const DEV_MODE_TOKEN = new InjectionToken('devMode');
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV2LW1vZGUudG9rZW5zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNhLWNvbnRlbnQvYWJvdXQvc3JjL2Rldi1tb2RlLnRva2Vucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXNCRztBQUVILE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0MsTUFBTSxDQUFDLE1BQU0sY0FBYyxHQUFHLElBQUksY0FBYyxDQUFVLFNBQVMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyohXG4gKiBDb3B5cmlnaHQgwqkgMjAwNS0yMDIzIEh5bGFuZCBTb2Z0d2FyZSwgSW5jLiBhbmQgaXRzIGFmZmlsaWF0ZXMuIEFsbCByaWdodHMgcmVzZXJ2ZWQuXG4gKlxuICogQWxmcmVzY28gRXhhbXBsZSBDb250ZW50IEFwcGxpY2F0aW9uXG4gKlxuICogVGhpcyBmaWxlIGlzIHBhcnQgb2YgdGhlIEFsZnJlc2NvIEV4YW1wbGUgQ29udGVudCBBcHBsaWNhdGlvbi5cbiAqIElmIHRoZSBzb2Z0d2FyZSB3YXMgcHVyY2hhc2VkIHVuZGVyIGEgcGFpZCBBbGZyZXNjbyBsaWNlbnNlLCB0aGUgdGVybXMgb2ZcbiAqIHRoZSBwYWlkIGxpY2Vuc2UgYWdyZWVtZW50IHdpbGwgcHJldmFpb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cuZ251Lm9yZy9saWNlbnNlcy8+LlxuICovXG5cbmltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmV4cG9ydCBjb25zdCBERVZfTU9ERV9UT0tFTiA9IG5ldyBJbmplY3Rpb25Ub2tlbjxib29sZWFuPignZGV2TW9kZScpO1xuIl19
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken,
|
|
3
|
-
import * as i1 from '@alfresco/adf-
|
|
4
|
-
import {
|
|
5
|
-
import * as
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import * as
|
|
9
|
-
import {
|
|
2
|
+
import { InjectionToken, inject, Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1$1 from '@alfresco/adf-extensions';
|
|
4
|
+
import { AppExtensionService, provideExtensionConfig } from '@alfresco/adf-extensions';
|
|
5
|
+
import * as i3 from '@alfresco/adf-core';
|
|
6
|
+
import { AuthenticationService, AppConfigService, AboutModule } from '@alfresco/adf-core';
|
|
7
|
+
import { DiscoveryApiService } from '@alfresco/adf-content-services';
|
|
8
|
+
import * as i2 from '@ngx-translate/core';
|
|
9
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
10
|
+
import * as i4 from '@alfresco/aca-shared';
|
|
11
|
+
import { PageLayoutModule } from '@alfresco/aca-shared';
|
|
10
12
|
import * as i5 from '@angular/router';
|
|
11
13
|
import { RouterModule } from '@angular/router';
|
|
12
|
-
import * as i6 from '@angular/material/
|
|
13
|
-
import
|
|
14
|
-
import * as
|
|
15
|
-
import {
|
|
16
|
-
import * as
|
|
17
|
-
import {
|
|
14
|
+
import * as i6 from '@angular/material/icon';
|
|
15
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
16
|
+
import * as i1 from '@angular/common';
|
|
17
|
+
import { CommonModule } from '@angular/common';
|
|
18
|
+
import * as i7 from '@angular/material/button';
|
|
19
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
18
20
|
|
|
19
21
|
/*!
|
|
20
22
|
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
@@ -90,16 +92,16 @@ const PACKAGE_JSON = new InjectionToken('PACKAGE_JSON');
|
|
|
90
92
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
91
93
|
*/
|
|
92
94
|
class AboutComponent {
|
|
93
|
-
constructor(
|
|
94
|
-
this.
|
|
95
|
-
this.
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
100
|
-
this.dev = !devMode;
|
|
95
|
+
constructor() {
|
|
96
|
+
this.authService = inject(AuthenticationService);
|
|
97
|
+
this.appExtensions = inject(AppExtensionService);
|
|
98
|
+
this.discovery = inject(DiscoveryApiService);
|
|
99
|
+
this.appConfigService = inject(AppConfigService);
|
|
100
|
+
this.packageJson = inject(PACKAGE_JSON, { optional: true });
|
|
101
|
+
this.dev = inject(DEV_MODE_TOKEN);
|
|
101
102
|
this.extensions$ = this.appExtensions.references$;
|
|
102
|
-
this.
|
|
103
|
+
this.repository = null;
|
|
104
|
+
this.landingPage = this.appConfigService.get('landingPage', '/personal-files');
|
|
103
105
|
}
|
|
104
106
|
ngOnInit() {
|
|
105
107
|
if (this.authService.isEcmLoggedIn()) {
|
|
@@ -112,22 +114,12 @@ class AboutComponent {
|
|
|
112
114
|
});
|
|
113
115
|
}
|
|
114
116
|
}
|
|
115
|
-
AboutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AboutComponent, deps: [
|
|
116
|
-
AboutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: AboutComponent, selector: "app-about-page", ngImport: i0, template: "<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n", styles: ["adf-about{width:100%}\n"], dependencies: [{ kind: "directive", type:
|
|
117
|
+
AboutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AboutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
118
|
+
AboutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: AboutComponent, isStandalone: true, selector: "app-about-page", ngImport: i0, template: "<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n", styles: ["adf-about{padding:10px;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: AboutModule }, { kind: "component", type: i3.AboutComponent, selector: "adf-about" }, { kind: "directive", type: i3.AboutPanelDirective, selector: "adf-about-panel", inputs: ["label"] }, { kind: "component", type: i3.AboutRepositoryInfoComponent, selector: "adf-about-repository-info", inputs: ["data"] }, { kind: "component", type: i3.AboutServerSettingsComponent, selector: "adf-about-server-settings" }, { kind: "component", type: i3.AboutExtensionListComponent, selector: "adf-about-extension-list", inputs: ["data"] }, { kind: "component", type: i3.PackageListComponent, selector: "adf-about-package-list", inputs: ["dependencies", "data"] }, { kind: "ngmodule", type: PageLayoutModule }, { kind: "component", type: i4.PageLayoutContentComponent, selector: "aca-page-layout-content", inputs: ["scrollable"] }, { kind: "component", type: i4.PageLayoutHeaderComponent, selector: "aca-page-layout-header" }, { kind: "component", type: i4.PageLayoutComponent, selector: "aca-page-layout", inputs: ["hasError"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i5.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i7.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"] }] });
|
|
117
119
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AboutComponent, decorators: [{
|
|
118
120
|
type: Component,
|
|
119
|
-
args: [{ selector: 'app-about-page', template: "<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n", styles: ["adf-about{width:100%}\n"] }]
|
|
120
|
-
}]
|
|
121
|
-
return [{ type: undefined, decorators: [{
|
|
122
|
-
type: Inject,
|
|
123
|
-
args: [DEV_MODE_TOKEN]
|
|
124
|
-
}] }, { type: undefined, decorators: [{
|
|
125
|
-
type: Optional
|
|
126
|
-
}, {
|
|
127
|
-
type: Inject,
|
|
128
|
-
args: [PACKAGE_JSON]
|
|
129
|
-
}] }, { type: i1.AuthenticationService }, { type: i2.AppExtensionService }, { type: i3.DiscoveryApiService }, { type: i1.AppConfigService }];
|
|
130
|
-
} });
|
|
121
|
+
args: [{ standalone: true, imports: [CommonModule, TranslateModule, AboutModule, PageLayoutModule, RouterModule, MatIconModule, MatButtonModule], selector: 'app-about-page', template: "<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n", styles: ["adf-about{padding:10px;width:100%}\n"] }]
|
|
122
|
+
}] });
|
|
131
123
|
|
|
132
124
|
/*!
|
|
133
125
|
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
@@ -158,31 +150,17 @@ class AcaAboutModule {
|
|
|
158
150
|
'app.about.component': AboutComponent
|
|
159
151
|
});
|
|
160
152
|
}
|
|
161
|
-
static forRoot(devMode, packageJson) {
|
|
162
|
-
const providers = [{ provide: DEV_MODE_TOKEN, useValue: devMode }];
|
|
163
|
-
if (packageJson) {
|
|
164
|
-
providers.push({
|
|
165
|
-
provide: PACKAGE_JSON,
|
|
166
|
-
useValue: packageJson
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
return {
|
|
170
|
-
ngModule: AcaAboutModule,
|
|
171
|
-
providers
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
153
|
}
|
|
175
|
-
AcaAboutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, deps: [{ token:
|
|
176
|
-
AcaAboutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule,
|
|
177
|
-
AcaAboutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, providers: [provideExtensionConfig(['about.plugin.json'])], imports: [
|
|
154
|
+
AcaAboutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, deps: [{ token: i1$1.ExtensionService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
155
|
+
AcaAboutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, imports: [AboutComponent] });
|
|
156
|
+
AcaAboutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, providers: [provideExtensionConfig(['about.plugin.json'])], imports: [AboutComponent] });
|
|
178
157
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, decorators: [{
|
|
179
158
|
type: NgModule,
|
|
180
159
|
args: [{
|
|
181
|
-
imports: [
|
|
182
|
-
declarations: [AboutComponent],
|
|
160
|
+
imports: [AboutComponent],
|
|
183
161
|
providers: [provideExtensionConfig(['about.plugin.json'])]
|
|
184
162
|
}]
|
|
185
|
-
}], ctorParameters: function () { return [{ type:
|
|
163
|
+
}], ctorParameters: function () { return [{ type: i1$1.ExtensionService }]; } });
|
|
186
164
|
|
|
187
165
|
/*!
|
|
188
166
|
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alfresco-aca-content-about.mjs","sources":["../../../../projects/aca-content/about/src/dev-mode.tokens.ts","../../../../projects/aca-content/about/src/package-json.token.ts","../../../../projects/aca-content/about/src/about.component.ts","../../../../projects/aca-content/about/src/about.component.html","../../../../projects/aca-content/about/src/aca-about.module.ts","../../../../projects/aca-content/about/src/public-api.ts","../../../../projects/aca-content/about/src/alfresco-aca-content-about.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const DEV_MODE_TOKEN = new InjectionToken<any>('devMode');\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const PACKAGE_JSON = new InjectionToken<any>('PACKAGE_JSON');\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Component, Inject, OnInit, Optional } from '@angular/core';\nimport { DEV_MODE_TOKEN } from './dev-mode.tokens';\nimport { Observable } from 'rxjs';\nimport { AppExtensionService, ExtensionRef } from '@alfresco/adf-extensions';\nimport { AppConfigService, AuthenticationService, RepositoryInfo } from '@alfresco/adf-core';\nimport { DiscoveryApiService } from '@alfresco/adf-content-services';\nimport { PACKAGE_JSON } from './package-json.token';\n\n@Component({\n selector: 'app-about-page',\n templateUrl: './about.component.html',\n styles: [\n `\n adf-about {\n width: 100%;\n }\n `\n ]\n})\nexport class AboutComponent implements OnInit {\n pkg: any;\n dev = false;\n extensions$: Observable<ExtensionRef[]>;\n repository: RepositoryInfo = null;\n landingPage: string;\n\n constructor(\n @Inject(DEV_MODE_TOKEN) devMode,\n @Optional()\n @Inject(PACKAGE_JSON)\n public packageJson,\n private authService: AuthenticationService,\n private appExtensions: AppExtensionService,\n private discovery: DiscoveryApiService,\n appConfigService: AppConfigService\n ) {\n this.dev = !devMode;\n this.extensions$ = this.appExtensions.references$;\n this.landingPage = appConfigService.get('landingPage', '/personal-files');\n }\n\n ngOnInit(): void {\n if (this.authService.isEcmLoggedIn()) {\n this.setECMInfo();\n }\n }\n\n setECMInfo() {\n this.discovery.getEcmProductInfo().subscribe((repository) => {\n this.repository = repository as RepositoryInfo;\n });\n }\n}\n","<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { ModuleWithProviders, NgModule, Provider } from '@angular/core';\nimport { AboutComponent } from './about.component';\nimport { CommonModule } from '@angular/common';\nimport { SharedModule, PageLayoutModule } from '@alfresco/aca-shared';\n\nimport { ExtensionService, provideExtensionConfig } from '@alfresco/adf-extensions';\nimport { DEV_MODE_TOKEN } from './dev-mode.tokens';\nimport { PACKAGE_JSON } from './package-json.token';\nimport { AboutModule } from '@alfresco/adf-core';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { RouterModule } from '@angular/router';\n\n@NgModule({\n imports: [CommonModule, RouterModule, TranslateModule, SharedModule, PageLayoutModule, AboutModule],\n declarations: [AboutComponent],\n providers: [provideExtensionConfig(['about.plugin.json'])]\n})\nexport class AcaAboutModule {\n constructor(extensions: ExtensionService) {\n extensions.setComponents({\n 'app.about.component': AboutComponent\n });\n }\n\n public static forRoot(devMode: any, packageJson?: any): ModuleWithProviders<AcaAboutModule> {\n const providers: Provider[] = [{ provide: DEV_MODE_TOKEN, useValue: devMode }];\n\n if (packageJson) {\n providers.push({\n provide: PACKAGE_JSON,\n useValue: packageJson\n });\n }\n\n return {\n ngModule: AcaAboutModule,\n providers\n };\n }\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport * from './about.component';\nexport * from './aca-about.module';\nexport * from './dev-mode.tokens';\nexport * from './package-json.token';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,cAAc,GAAG,IAAI,cAAc,CAAM,SAAS;;AC1B/D;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,YAAY,GAAG,IAAI,cAAc,CAAM,cAAc;;AC1BlE;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAqBU,cAAc,CAAA;IAOzB,WAC0B,CAAA,OAAO,EAGxB,WAAW,EACV,WAAkC,EAClC,aAAkC,EAClC,SAA8B,EACtC,gBAAkC,EAAA;AAJ3B,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAA;AACV,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAuB;AAClC,QAAA,IAAa,CAAA,aAAA,GAAb,aAAa,CAAqB;AAClC,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;AAZxC,QAAA,IAAG,CAAA,GAAA,GAAG,KAAK,CAAC;AAEZ,QAAA,IAAU,CAAA,UAAA,GAAmB,IAAI,CAAC;AAahC,QAAA,IAAI,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC;QACpB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC;QAClD,IAAI,CAAC,WAAW,GAAG,gBAAgB,CAAC,GAAG,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAC;KAC3E;IAED,QAAQ,GAAA;AACN,QAAA,IAAI,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,EAAE;YACpC,IAAI,CAAC,UAAU,EAAE,CAAC;AACnB,SAAA;KACF;IAED,UAAU,GAAA;QACR,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,CAAC,SAAS,CAA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AAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EAHV,YAAA,EAAA,CAAA,cAAc,CADnB,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;4GAIvF,cAAc,EAAA,SAAA,EAFd,CAAC,sBAAsB,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAA,OAAA,EAAA,CAFhD,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;2FAIvF,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,CAAC;oBACnG,YAAY,EAAE,CAAC,cAAc,CAAC;oBAC9B,SAAS,EAAE,CAAC,sBAAsB,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC;iBAC3D,CAAA;;;ACxCD;;;;;;;;;;;;;;;;;;;;;;AAsBG;;ACtBH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"alfresco-aca-content-about.mjs","sources":["../../../../projects/aca-content/about/src/dev-mode.tokens.ts","../../../../projects/aca-content/about/src/package-json.token.ts","../../../../projects/aca-content/about/src/about.component.ts","../../../../projects/aca-content/about/src/about.component.html","../../../../projects/aca-content/about/src/aca-about.module.ts","../../../../projects/aca-content/about/src/public-api.ts","../../../../projects/aca-content/about/src/alfresco-aca-content-about.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const DEV_MODE_TOKEN = new InjectionToken<boolean>('devMode');\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const PACKAGE_JSON = new InjectionToken<any>('PACKAGE_JSON');\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Component, OnInit, inject } from '@angular/core';\nimport { DEV_MODE_TOKEN } from './dev-mode.tokens';\nimport { AppExtensionService } from '@alfresco/adf-extensions';\nimport { AboutModule, AppConfigService, AuthenticationService, RepositoryInfo } from '@alfresco/adf-core';\nimport { DiscoveryApiService } from '@alfresco/adf-content-services';\nimport { PACKAGE_JSON } from './package-json.token';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { PageLayoutModule } from '@alfresco/aca-shared';\nimport { RouterModule } from '@angular/router';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n standalone: true,\n imports: [CommonModule, TranslateModule, AboutModule, PageLayoutModule, RouterModule, MatIconModule, MatButtonModule],\n selector: 'app-about-page',\n templateUrl: './about.component.html',\n styleUrls: ['./about.component.scss']\n})\nexport class AboutComponent implements OnInit {\n private authService = inject(AuthenticationService);\n private appExtensions = inject(AppExtensionService);\n private discovery = inject(DiscoveryApiService);\n private appConfigService = inject(AppConfigService);\n public packageJson? = inject(PACKAGE_JSON, { optional: true });\n public dev = inject(DEV_MODE_TOKEN);\n\n extensions$ = this.appExtensions.references$;\n repository: RepositoryInfo = null;\n landingPage = this.appConfigService.get('landingPage', '/personal-files');\n\n ngOnInit(): void {\n if (this.authService.isEcmLoggedIn()) {\n this.setECMInfo();\n }\n }\n\n setECMInfo() {\n this.discovery.getEcmProductInfo().subscribe((repository) => {\n this.repository = repository as RepositoryInfo;\n });\n }\n}\n","<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { AboutComponent } from './about.component';\nimport { ExtensionService, provideExtensionConfig } from '@alfresco/adf-extensions';\n\n@NgModule({\n imports: [AboutComponent],\n providers: [provideExtensionConfig(['about.plugin.json'])]\n})\nexport class AcaAboutModule {\n constructor(extensions: ExtensionService) {\n extensions.setComponents({\n 'app.about.component': AboutComponent\n });\n }\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport * from './about.component';\nexport * from './aca-about.module';\nexport * from './dev-mode.tokens';\nexport * from './package-json.token';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,cAAc,GAAG,IAAI,cAAc,CAAU,SA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|
5
|
-
import * as
|
|
6
|
-
import { AboutModule } from '@alfresco/adf-core';
|
|
7
|
-
import
|
|
8
|
-
import * as
|
|
9
|
-
import {
|
|
2
|
+
import { InjectionToken, inject, Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1$1 from '@alfresco/adf-extensions';
|
|
4
|
+
import { AppExtensionService, provideExtensionConfig } from '@alfresco/adf-extensions';
|
|
5
|
+
import * as i3 from '@alfresco/adf-core';
|
|
6
|
+
import { AuthenticationService, AppConfigService, AboutModule } from '@alfresco/adf-core';
|
|
7
|
+
import { DiscoveryApiService } from '@alfresco/adf-content-services';
|
|
8
|
+
import * as i2 from '@ngx-translate/core';
|
|
9
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
10
|
+
import * as i4 from '@alfresco/aca-shared';
|
|
11
|
+
import { PageLayoutModule } from '@alfresco/aca-shared';
|
|
10
12
|
import * as i5 from '@angular/router';
|
|
11
13
|
import { RouterModule } from '@angular/router';
|
|
12
|
-
import * as i6 from '@angular/material/
|
|
13
|
-
import
|
|
14
|
-
import * as
|
|
15
|
-
import {
|
|
16
|
-
import * as
|
|
17
|
-
import {
|
|
14
|
+
import * as i6 from '@angular/material/icon';
|
|
15
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
16
|
+
import * as i1 from '@angular/common';
|
|
17
|
+
import { CommonModule } from '@angular/common';
|
|
18
|
+
import * as i7 from '@angular/material/button';
|
|
19
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
18
20
|
|
|
19
21
|
/*!
|
|
20
22
|
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
@@ -90,16 +92,16 @@ const PACKAGE_JSON = new InjectionToken('PACKAGE_JSON');
|
|
|
90
92
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
91
93
|
*/
|
|
92
94
|
class AboutComponent {
|
|
93
|
-
constructor(
|
|
94
|
-
this.
|
|
95
|
-
this.
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
100
|
-
this.dev = !devMode;
|
|
95
|
+
constructor() {
|
|
96
|
+
this.authService = inject(AuthenticationService);
|
|
97
|
+
this.appExtensions = inject(AppExtensionService);
|
|
98
|
+
this.discovery = inject(DiscoveryApiService);
|
|
99
|
+
this.appConfigService = inject(AppConfigService);
|
|
100
|
+
this.packageJson = inject(PACKAGE_JSON, { optional: true });
|
|
101
|
+
this.dev = inject(DEV_MODE_TOKEN);
|
|
101
102
|
this.extensions$ = this.appExtensions.references$;
|
|
102
|
-
this.
|
|
103
|
+
this.repository = null;
|
|
104
|
+
this.landingPage = this.appConfigService.get('landingPage', '/personal-files');
|
|
103
105
|
}
|
|
104
106
|
ngOnInit() {
|
|
105
107
|
if (this.authService.isEcmLoggedIn()) {
|
|
@@ -112,20 +114,12 @@ class AboutComponent {
|
|
|
112
114
|
});
|
|
113
115
|
}
|
|
114
116
|
}
|
|
115
|
-
AboutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AboutComponent, deps: [
|
|
116
|
-
AboutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: AboutComponent, selector: "app-about-page", ngImport: i0, template: "<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n", styles: ["adf-about{width:100%}\n"], dependencies: [{ kind: "directive", type:
|
|
117
|
+
AboutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AboutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
118
|
+
AboutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: AboutComponent, isStandalone: true, selector: "app-about-page", ngImport: i0, template: "<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n", styles: ["adf-about{padding:10px;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: AboutModule }, { kind: "component", type: i3.AboutComponent, selector: "adf-about" }, { kind: "directive", type: i3.AboutPanelDirective, selector: "adf-about-panel", inputs: ["label"] }, { kind: "component", type: i3.AboutRepositoryInfoComponent, selector: "adf-about-repository-info", inputs: ["data"] }, { kind: "component", type: i3.AboutServerSettingsComponent, selector: "adf-about-server-settings" }, { kind: "component", type: i3.AboutExtensionListComponent, selector: "adf-about-extension-list", inputs: ["data"] }, { kind: "component", type: i3.PackageListComponent, selector: "adf-about-package-list", inputs: ["dependencies", "data"] }, { kind: "ngmodule", type: PageLayoutModule }, { kind: "component", type: i4.PageLayoutContentComponent, selector: "aca-page-layout-content", inputs: ["scrollable"] }, { kind: "component", type: i4.PageLayoutHeaderComponent, selector: "aca-page-layout-header" }, { kind: "component", type: i4.PageLayoutComponent, selector: "aca-page-layout", inputs: ["hasError"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i5.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i7.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"] }] });
|
|
117
119
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AboutComponent, decorators: [{
|
|
118
120
|
type: Component,
|
|
119
|
-
args: [{ selector: 'app-about-page', template: "<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n", styles: ["adf-about{width:100%}\n"] }]
|
|
120
|
-
}]
|
|
121
|
-
type: Inject,
|
|
122
|
-
args: [DEV_MODE_TOKEN]
|
|
123
|
-
}] }, { type: undefined, decorators: [{
|
|
124
|
-
type: Optional
|
|
125
|
-
}, {
|
|
126
|
-
type: Inject,
|
|
127
|
-
args: [PACKAGE_JSON]
|
|
128
|
-
}] }, { type: i1.AuthenticationService }, { type: i2.AppExtensionService }, { type: i3.DiscoveryApiService }, { type: i1.AppConfigService }]; } });
|
|
121
|
+
args: [{ standalone: true, imports: [CommonModule, TranslateModule, AboutModule, PageLayoutModule, RouterModule, MatIconModule, MatButtonModule], selector: 'app-about-page', template: "<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n", styles: ["adf-about{padding:10px;width:100%}\n"] }]
|
|
122
|
+
}] });
|
|
129
123
|
|
|
130
124
|
/*!
|
|
131
125
|
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
@@ -156,31 +150,17 @@ class AcaAboutModule {
|
|
|
156
150
|
'app.about.component': AboutComponent
|
|
157
151
|
});
|
|
158
152
|
}
|
|
159
|
-
static forRoot(devMode, packageJson) {
|
|
160
|
-
const providers = [{ provide: DEV_MODE_TOKEN, useValue: devMode }];
|
|
161
|
-
if (packageJson) {
|
|
162
|
-
providers.push({
|
|
163
|
-
provide: PACKAGE_JSON,
|
|
164
|
-
useValue: packageJson
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
return {
|
|
168
|
-
ngModule: AcaAboutModule,
|
|
169
|
-
providers
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
153
|
}
|
|
173
|
-
AcaAboutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, deps: [{ token:
|
|
174
|
-
AcaAboutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule,
|
|
175
|
-
AcaAboutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, providers: [provideExtensionConfig(['about.plugin.json'])], imports: [
|
|
154
|
+
AcaAboutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, deps: [{ token: i1$1.ExtensionService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
155
|
+
AcaAboutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, imports: [AboutComponent] });
|
|
156
|
+
AcaAboutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, providers: [provideExtensionConfig(['about.plugin.json'])], imports: [AboutComponent] });
|
|
176
157
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AcaAboutModule, decorators: [{
|
|
177
158
|
type: NgModule,
|
|
178
159
|
args: [{
|
|
179
|
-
imports: [
|
|
180
|
-
declarations: [AboutComponent],
|
|
160
|
+
imports: [AboutComponent],
|
|
181
161
|
providers: [provideExtensionConfig(['about.plugin.json'])]
|
|
182
162
|
}]
|
|
183
|
-
}], ctorParameters: function () { return [{ type:
|
|
163
|
+
}], ctorParameters: function () { return [{ type: i1$1.ExtensionService }]; } });
|
|
184
164
|
|
|
185
165
|
/*!
|
|
186
166
|
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alfresco-aca-content-about.mjs","sources":["../../../../projects/aca-content/about/src/dev-mode.tokens.ts","../../../../projects/aca-content/about/src/package-json.token.ts","../../../../projects/aca-content/about/src/about.component.ts","../../../../projects/aca-content/about/src/about.component.html","../../../../projects/aca-content/about/src/aca-about.module.ts","../../../../projects/aca-content/about/src/public-api.ts","../../../../projects/aca-content/about/src/alfresco-aca-content-about.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const DEV_MODE_TOKEN = new InjectionToken<any>('devMode');\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const PACKAGE_JSON = new InjectionToken<any>('PACKAGE_JSON');\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Component, Inject, OnInit, Optional } from '@angular/core';\nimport { DEV_MODE_TOKEN } from './dev-mode.tokens';\nimport { Observable } from 'rxjs';\nimport { AppExtensionService, ExtensionRef } from '@alfresco/adf-extensions';\nimport { AppConfigService, AuthenticationService, RepositoryInfo } from '@alfresco/adf-core';\nimport { DiscoveryApiService } from '@alfresco/adf-content-services';\nimport { PACKAGE_JSON } from './package-json.token';\n\n@Component({\n selector: 'app-about-page',\n templateUrl: './about.component.html',\n styles: [\n `\n adf-about {\n width: 100%;\n }\n `\n ]\n})\nexport class AboutComponent implements OnInit {\n pkg: any;\n dev = false;\n extensions$: Observable<ExtensionRef[]>;\n repository: RepositoryInfo = null;\n landingPage: string;\n\n constructor(\n @Inject(DEV_MODE_TOKEN) devMode,\n @Optional()\n @Inject(PACKAGE_JSON)\n public packageJson,\n private authService: AuthenticationService,\n private appExtensions: AppExtensionService,\n private discovery: DiscoveryApiService,\n appConfigService: AppConfigService\n ) {\n this.dev = !devMode;\n this.extensions$ = this.appExtensions.references$;\n this.landingPage = appConfigService.get('landingPage', '/personal-files');\n }\n\n ngOnInit(): void {\n if (this.authService.isEcmLoggedIn()) {\n this.setECMInfo();\n }\n }\n\n setECMInfo() {\n this.discovery.getEcmProductInfo().subscribe((repository) => {\n this.repository = repository as RepositoryInfo;\n });\n }\n}\n","<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { ModuleWithProviders, NgModule, Provider } from '@angular/core';\nimport { AboutComponent } from './about.component';\nimport { CommonModule } from '@angular/common';\nimport { SharedModule, PageLayoutModule } from '@alfresco/aca-shared';\n\nimport { ExtensionService, provideExtensionConfig } from '@alfresco/adf-extensions';\nimport { DEV_MODE_TOKEN } from './dev-mode.tokens';\nimport { PACKAGE_JSON } from './package-json.token';\nimport { AboutModule } from '@alfresco/adf-core';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { RouterModule } from '@angular/router';\n\n@NgModule({\n imports: [CommonModule, RouterModule, TranslateModule, SharedModule, PageLayoutModule, AboutModule],\n declarations: [AboutComponent],\n providers: [provideExtensionConfig(['about.plugin.json'])]\n})\nexport class AcaAboutModule {\n constructor(extensions: ExtensionService) {\n extensions.setComponents({\n 'app.about.component': AboutComponent\n });\n }\n\n public static forRoot(devMode: any, packageJson?: any): ModuleWithProviders<AcaAboutModule> {\n const providers: Provider[] = [{ provide: DEV_MODE_TOKEN, useValue: devMode }];\n\n if (packageJson) {\n providers.push({\n provide: PACKAGE_JSON,\n useValue: packageJson\n });\n }\n\n return {\n ngModule: AcaAboutModule,\n providers\n };\n }\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport * from './about.component';\nexport * from './aca-about.module';\nexport * from './dev-mode.tokens';\nexport * from './package-json.token';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,cAAc,GAAG,IAAI,cAAc,CAAM,SAAS;;AC1B/D;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,YAAY,GAAG,IAAI,cAAc,CAAM,cAAc;;AC1BlE;;;;;;;;;;;;;;;;;;;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AAA,EAFd,CAAC,sBAAsB,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAA,OAAA,EAAA,CAFhD,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;2FAIvF,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,CAAC;oBACnG,YAAY,EAAE,CAAC,cAAc,CAAC;oBAC9B,SAAS,EAAE,CAAC,sBAAsB,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAC3D,iBAAA,CAAA;;;ACxCD;;;;;;;;;;;;;;;;;;;;;;AAsBG;;ACtBH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"alfresco-aca-content-about.mjs","sources":["../../../../projects/aca-content/about/src/dev-mode.tokens.ts","../../../../projects/aca-content/about/src/package-json.token.ts","../../../../projects/aca-content/about/src/about.component.ts","../../../../projects/aca-content/about/src/about.component.html","../../../../projects/aca-content/about/src/aca-about.module.ts","../../../../projects/aca-content/about/src/public-api.ts","../../../../projects/aca-content/about/src/alfresco-aca-content-about.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const DEV_MODE_TOKEN = new InjectionToken<boolean>('devMode');\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { InjectionToken } from '@angular/core';\n\nexport const PACKAGE_JSON = new InjectionToken<any>('PACKAGE_JSON');\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Component, OnInit, inject } from '@angular/core';\nimport { DEV_MODE_TOKEN } from './dev-mode.tokens';\nimport { AppExtensionService } from '@alfresco/adf-extensions';\nimport { AboutModule, AppConfigService, AuthenticationService, RepositoryInfo } from '@alfresco/adf-core';\nimport { DiscoveryApiService } from '@alfresco/adf-content-services';\nimport { PACKAGE_JSON } from './package-json.token';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { PageLayoutModule } from '@alfresco/aca-shared';\nimport { RouterModule } from '@angular/router';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n standalone: true,\n imports: [CommonModule, TranslateModule, AboutModule, PageLayoutModule, RouterModule, MatIconModule, MatButtonModule],\n selector: 'app-about-page',\n templateUrl: './about.component.html',\n styleUrls: ['./about.component.scss']\n})\nexport class AboutComponent implements OnInit {\n private authService = inject(AuthenticationService);\n private appExtensions = inject(AppExtensionService);\n private discovery = inject(DiscoveryApiService);\n private appConfigService = inject(AppConfigService);\n public packageJson? = inject(PACKAGE_JSON, { optional: true });\n public dev = inject(DEV_MODE_TOKEN);\n\n extensions$ = this.appExtensions.references$;\n repository: RepositoryInfo = null;\n landingPage = this.appConfigService.get('landingPage', '/personal-files');\n\n ngOnInit(): void {\n if (this.authService.isEcmLoggedIn()) {\n this.setECMInfo();\n }\n }\n\n setECMInfo() {\n this.discovery.getEcmProductInfo().subscribe((repository) => {\n this.repository = repository as RepositoryInfo;\n });\n }\n}\n","<aca-page-layout>\n <aca-page-layout-header>\n <button mat-icon-button [routerLink]=\"landingPage\">\n <mat-icon class=\"app-profile-icon\">arrow_back</mat-icon>\n </button>\n <h1>{{ 'APP.BROWSE.ABOUT.TITLE' | translate }}</h1>\n </aca-page-layout-header>\n\n <aca-page-layout-content [scrollable]=\"true\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <adf-about-server-settings></adf-about-server-settings>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel [label]=\"'ABOUT.REPOSITORY' | translate\" *ngIf=\"repository\">\n <ng-template>\n <adf-about-repository-info [data]=\"repository\"></adf-about-repository-info>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.PACKAGES.TITLE' | translate\">\n <ng-template>\n <adf-about-package-list [dependencies]=\"packageJson?.dependencies\"></adf-about-package-list>\n </ng-template>\n </adf-about-panel>\n\n <adf-about-panel *ngIf=\"extensions$ | async as extensions\" [label]=\"'ABOUT.PLUGINS.TITLE' | translate\">\n <ng-template>\n <adf-about-extension-list [data]=\"extensions\"></adf-about-extension-list>\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </aca-page-layout-content>\n</aca-page-layout>\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { AboutComponent } from './about.component';\nimport { ExtensionService, provideExtensionConfig } from '@alfresco/adf-extensions';\n\n@NgModule({\n imports: [AboutComponent],\n providers: [provideExtensionConfig(['about.plugin.json'])]\n})\nexport class AcaAboutModule {\n constructor(extensions: ExtensionService) {\n extensions.setComponents({\n 'app.about.component': AboutComponent\n });\n }\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport * from './about.component';\nexport * from './aca-about.module';\nexport * from './dev-mode.tokens';\nexport * from './package-json.token';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,cAAc,GAAG,IAAI,cAAc,CAAU,SAAS;;AC1BnE;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,YAAY,GAAG,IAAI,cAAc,CAAM,cAAc;;AC1BlE;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAsBU,cAAc,CAAA;AAP3B,IAAA,WAAA,GAAA;AAQU,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAC5C,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAC5C,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;AACxC,QAAA,IAAA,CAAA,gBAAgB,G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