@alfresco/aca-content 8.0.0-16785129299 → 8.0.0-16803524360

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.
@@ -1,7 +1,30 @@
1
- import { ExtensionService } from '@alfresco/adf-extensions';
1
+ /*!
2
+ * Copyright © 2005-2025 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 { Provider } from '@angular/core';
2
25
  import * as i0 from "@angular/core";
26
+ export declare function provideAboutExtension(): Provider[];
3
27
  export declare class AcaAboutModule {
4
- constructor(extensions: ExtensionService);
5
28
  static ɵfac: i0.ɵɵFactoryDeclaration<AcaAboutModule, never>;
6
29
  static ɵmod: i0.ɵɵNgModuleDeclaration<AcaAboutModule, never, never, never>;
7
30
  static ɵinj: i0.ɵɵInjectorDeclaration<AcaAboutModule>;
@@ -13,8 +13,7 @@ import * as i1 from '@angular/common';
13
13
  import { CommonModule } from '@angular/common';
14
14
  import * as i5 from '@angular/material/button';
15
15
  import { MatButtonModule } from '@angular/material/button';
16
- import * as i1$1 from '@alfresco/adf-extensions';
17
- import { provideExtensionConfig } from '@alfresco/adf-extensions';
16
+ import { provideExtensionConfig, provideExtensions } from '@alfresco/adf-extensions';
18
17
 
19
18
  /*!
20
19
  * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
@@ -140,22 +139,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
140
139
  * You should have received a copy of the GNU Lesser General Public License
141
140
  * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
142
141
  */
142
+ function provideAboutExtension() {
143
+ return [
144
+ provideExtensionConfig(['about.plugin.json']),
145
+ provideExtensions({
146
+ components: {
147
+ 'app.about.component': AboutComponent
148
+ }
149
+ })
150
+ ];
151
+ }
152
+ /* @deprecated use `provideAboutExtension()` provider api instead */
143
153
  class AcaAboutModule {
144
- constructor(extensions) {
145
- extensions.setComponents({
146
- 'app.about.component': AboutComponent
147
- });
148
- }
149
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaAboutModule, deps: [{ token: i1$1.ExtensionService }], target: i0.ɵɵFactoryTarget.NgModule });
154
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaAboutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
150
155
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: AcaAboutModule });
151
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaAboutModule, providers: [provideExtensionConfig(['about.plugin.json'])] });
156
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaAboutModule, providers: [...provideAboutExtension()] });
152
157
  }
153
158
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaAboutModule, decorators: [{
154
159
  type: NgModule,
155
160
  args: [{
156
- providers: [provideExtensionConfig(['about.plugin.json'])]
161
+ providers: [...provideAboutExtension()]
157
162
  }]
158
- }], ctorParameters: () => [{ type: i1$1.ExtensionService }] });
163
+ }] });
159
164
 
160
165
  /*!
161
166
  * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
@@ -185,5 +190,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
185
190
  * Generated bundle index. Do not edit.
186
191
  */
187
192
 
188
- export { AboutComponent, AcaAboutModule, DEV_MODE_TOKEN, PACKAGE_JSON };
193
+ export { AboutComponent, AcaAboutModule, DEV_MODE_TOKEN, PACKAGE_JSON, provideAboutExtension };
189
194
  //# sourceMappingURL=alfresco-aca-content-about.mjs.map
@@ -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-2025 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-2025 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-2025 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, ViewEncapsulation } from '@angular/core';\nimport { DEV_MODE_TOKEN } from './dev-mode.tokens';\nimport { AboutModule, AuthenticationService, RepositoryInfo } from '@alfresco/adf-core';\nimport { DiscoveryApiService } from '@alfresco/adf-content-services';\nimport { PACKAGE_JSON } from './package-json.token';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { AppExtensionService, AppSettingsService, PageLayoutComponent } 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 imports: [CommonModule, TranslatePipe, AboutModule, RouterModule, MatIconModule, MatButtonModule, PageLayoutComponent],\n selector: 'app-about-page',\n templateUrl: './about.component.html',\n styleUrls: ['./about.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class AboutComponent implements OnInit {\n private authService = inject(AuthenticationService);\n private appExtensions = inject(AppExtensionService);\n private appSettings = inject(AppSettingsService);\n private discovery = inject(DiscoveryApiService);\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.appSettings.landingPage;\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 <div class=\"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 </div>\n\n <div class=\"aca-page-layout-content aca-scrollable\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <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\" />\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\" />\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\" />\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </div>\n</aca-page-layout>\n","/*!\n * Copyright © 2005-2025 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 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-2025 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;MAqBU,cAAc,CAAA;AACjB,IAAA,WAAW,GAAG,MAAM,CAAC,qBAAqB,CAAC;AAC3C,IAAA,aAAa,GAAG,MAAM,CAAC,mBAAmB,CAAC;AAC3C,IAAA,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC;AACxC,IAAA,SAAS,GAAG,MAAM,CAAC,mBAAmB,CAAC;IACxC,WAAW,GAAI,MAAM,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACvD,IAAA,GAAG,GAAG,MAAM,CAAC,cAAc,CAAC;AAEnC,IAAA,WAAW,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW;IAC5C,UAAU,GAAmB,IAAI;AACjC,IAAA,WAAW,GAAG,I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,IAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAC,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,mBAAmB,CAAC,EAAA,QAAA,EAC5G,gBAAgB,EAAA,aAAA,EAGX,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,qzCAAA,EAAA,MAAA,EAAA,CAAA,qDAAA,CAAA,EAAA;;;AEzCvC;;;;;;;;;;;;;;;;;;;;;;AAsBG;MASU,cAAc,CAAA;AACzB,IAAA,WAAA,CAAY,UAA4B,EAAA;QACtC,UAAU,CAAC,aAAa,CAAC;AACvB,YAAA,qBAAqB,EAAE;AACxB,SAAA,CAAC;;uGAJO,cAAc,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,IAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAd,cAAc,EAAA,CAAA;wGAAd,cAAc,EAAA,SAAA,EAFd,CAAC,sBAAsB,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAA,CAAA;;2FAE/C,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,SAAS,EAAE,CAAC,sBAAsB,CAAC,CAAC,mBAAmB,CAAC,CAAC;AAC1D,iBAAA;;;AC9BD;;;;;;;;;;;;;;;;;;;;;;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-2025 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-2025 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-2025 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, ViewEncapsulation } from '@angular/core';\nimport { DEV_MODE_TOKEN } from './dev-mode.tokens';\nimport { AboutModule, AuthenticationService, RepositoryInfo } from '@alfresco/adf-core';\nimport { DiscoveryApiService } from '@alfresco/adf-content-services';\nimport { PACKAGE_JSON } from './package-json.token';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { AppExtensionService, AppSettingsService, PageLayoutComponent } 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 imports: [CommonModule, TranslatePipe, AboutModule, RouterModule, MatIconModule, MatButtonModule, PageLayoutComponent],\n selector: 'app-about-page',\n templateUrl: './about.component.html',\n styleUrls: ['./about.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class AboutComponent implements OnInit {\n private authService = inject(AuthenticationService);\n private appExtensions = inject(AppExtensionService);\n private appSettings = inject(AppSettingsService);\n private discovery = inject(DiscoveryApiService);\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.appSettings.landingPage;\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 <div class=\"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 </div>\n\n <div class=\"aca-page-layout-content aca-scrollable\">\n <adf-about>\n <adf-about-panel *ngIf=\"dev\" [label]=\"'ABOUT.SERVER_SETTINGS.TITLE' | translate\">\n <ng-template>\n <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\" />\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\" />\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\" />\n </ng-template>\n </adf-about-panel>\n </adf-about>\n </div>\n</aca-page-layout>\n","/*!\n * Copyright © 2005-2025 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, Provider } from '@angular/core';\nimport { AboutComponent } from './about.component';\nimport { provideExtensionConfig, provideExtensions } from '@alfresco/adf-extensions';\n\nexport function provideAboutExtension(): Provider[] {\n return [\n provideExtensionConfig(['about.plugin.json']),\n provideExtensions({\n components: {\n 'app.about.component': AboutComponent\n }\n })\n ];\n}\n\n/* @deprecated use `provideAboutExtension()` provider api instead */\n@NgModule({\n providers: [...provideAboutExtension()]\n})\nexport class AcaAboutModule {}\n","/*!\n * Copyright © 2005-2025 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":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,cAAc,GAAG,IAAI,cAAc,CAAU,SAAS;;AC1BnE;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAIU,YAAY,GAAG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EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EAAA,SAAA,EAFd,CAAC,GAAG,qBAAqB,EAAE,CAAC,EAAA,CAAA;;2FAE5B,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,SAAS,EAAE,CAAC,GAAG,qBAAqB,EAAE;AACvC,iBAAA;;;AC1CD;;;;;;;;;;;;;;;;;;;;;;AAsBG;;ACtBH;;AAEG;;;;"}
@@ -1,7 +1,6 @@
1
1
  import * as i2 from '@alfresco/adf-core';
2
2
  import { CardViewSelectItemModel, CardViewTextItemModel, CardViewBoolItemModel, CardViewComponent, CardViewUpdateService, NotificationService, EmptyContentComponent, ConfirmDialogComponent, ToolbarTitleComponent, ToolbarComponent, provideTranslations } from '@alfresco/adf-core';
3
- import * as i1$2 from '@alfresco/adf-extensions';
4
- import { provideExtensionConfig } from '@alfresco/adf-extensions';
3
+ import { provideExtensionConfig, provideExtensions } from '@alfresco/adf-extensions';
5
4
  import * as i0 from '@angular/core';
6
5
  import { Injectable, forwardRef, ViewEncapsulation, Component, inject, DestroyRef, Input, HostBinding, EventEmitter, Output, Inject, ChangeDetectionStrategy, NgModule } from '@angular/core';
7
6
  import * as i3$2 from '@angular/router';
@@ -2663,7 +2662,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
2663
2662
  * You should have received a copy of the GNU Lesser General Public License
2664
2663
  * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
2665
2664
  */
2666
- const routes = [
2665
+ const FOLDER_RULES_ROUTES = [
2667
2666
  {
2668
2667
  path: 'rules',
2669
2668
  component: ManageRulesSmartComponent,
@@ -2673,22 +2672,30 @@ const routes = [
2673
2672
  }
2674
2673
  }
2675
2674
  ];
2675
+ function provideFolderRulesExtension() {
2676
+ return [
2677
+ provideTranslations('folder-rules', 'assets/folder-rules'),
2678
+ provideExtensionConfig(['folder-rules.plugin.json']),
2679
+ provideRouter(FOLDER_RULES_ROUTES),
2680
+ provideExtensions({
2681
+ evaluators: {
2682
+ 'rules.isFolderRulesEnabled': isFolderRulesEnabled
2683
+ }
2684
+ })
2685
+ ];
2686
+ }
2687
+ /** @deprecated use `provideFolderRulesExtension()` instead **/
2676
2688
  class AcaFolderRulesModule {
2677
- constructor(extensions) {
2678
- extensions.setEvaluators({
2679
- 'rules.isFolderRulesEnabled': isFolderRulesEnabled
2680
- });
2681
- }
2682
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaFolderRulesModule, deps: [{ token: i1$2.ExtensionService }], target: i0.ɵɵFactoryTarget.NgModule });
2689
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaFolderRulesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2683
2690
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: AcaFolderRulesModule });
2684
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaFolderRulesModule, providers: [provideTranslations('folder-rules', 'assets/folder-rules'), provideExtensionConfig(['folder-rules.plugin.json']), provideRouter(routes)] });
2691
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaFolderRulesModule, providers: [...provideFolderRulesExtension()] });
2685
2692
  }
2686
2693
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AcaFolderRulesModule, decorators: [{
2687
2694
  type: NgModule,
2688
2695
  args: [{
2689
- providers: [provideTranslations('folder-rules', 'assets/folder-rules'), provideExtensionConfig(['folder-rules.plugin.json']), provideRouter(routes)]
2696
+ providers: [...provideFolderRulesExtension()]
2690
2697
  }]
2691
- }], ctorParameters: () => [{ type: i1$2.ExtensionService }] });
2698
+ }] });
2692
2699
 
2693
2700
  /*!
2694
2701
  * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
@@ -2718,5 +2725,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
2718
2725
  * Generated bundle index. Do not edit.
2719
2726
  */
2720
2727
 
2721
- export { AcaFolderRulesModule, ManageRulesSmartComponent };
2728
+ export { AcaFolderRulesModule, FOLDER_RULES_ROUTES, ManageRulesSmartComponent, provideFolderRulesExtension };
2722
2729
  //# sourceMappingURL=alfresco-aca-content-folder-rules.mjs.map