@alfresco/aca-shared 7.0.1 → 7.1.0-17236965490

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,9 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, Input, HostBinding, ChangeDetectionStrategy, ViewEncapsulation, Component, Injectable, Inject, NgModule, ViewChild, QueryList, HostListener, ViewChildren, DestroyRef, Directive } from '@angular/core';
2
+ import { InjectionToken, inject, Input, HostBinding, ChangeDetectionStrategy, ViewEncapsulation, Component, Injectable, Inject, NgModule, provideAppInitializer, ViewChild, QueryList, HostListener, ViewChildren, DestroyRef, Directive } from '@angular/core';
3
3
  import { of, forkJoin, from, BehaviorSubject, Subject } from 'rxjs';
4
4
  import { map, tap, catchError, filter, startWith, debounceTime } from 'rxjs/operators';
5
5
  import * as i1 from '@alfresco/adf-core';
6
- import { AppConfigService, CloseButtonPosition, NotificationService, IconComponent, InfoDrawerComponent as InfoDrawerComponent$1, InfoDrawerTabComponent, ShowHeaderMode, UserPreferencesService, TranslateLoaderService, TranslationMock, TranslationService } from '@alfresco/adf-core';
6
+ import { AppConfigService, CloseButtonPosition, NotificationService, IconComponent, InfoDrawerComponent as InfoDrawerComponent$1, InfoDrawerTabComponent, ShowHeaderMode, UserPreferencesService, NoopTranslateModule } from '@alfresco/adf-core';
7
7
  import * as i4 from '@alfresco/adf-content-services';
8
8
  import { AlfrescoApiService, GroupService, FileAutoDownloadComponent, DocumentListService, UploadService, SearchAiService, DocumentListComponent, AlfrescoApiServiceMock } from '@alfresco/adf-content-services';
9
9
  import * as i7 from '@angular/cdk/overlay';
@@ -14,14 +14,13 @@ import { SetCurrentUrlAction, ResetSelectionAction, SetRepositoryInfoAction, Set
14
14
  import { NodesApi, TrashcanApi, SharedlinksApi, DiscoveryApi, FavoritesApi, ContentApi, SitesApi, SearchApi, PeopleApi, VersionsApi, RepositoryInfo } from '@alfresco/js-api';
15
15
  import * as i3$1 from '@alfresco/adf-extensions';
16
16
  import { sortByOrder, reduceEmptyMenus, mergeObjects, mergeArrays, ContentActionType, reduceSeparators, DynamicExtensionComponent, DynamicTabComponent } from '@alfresco/adf-extensions';
17
- import * as i1$2 from '@ngrx/store';
18
- import { Store, StoreModule } from '@ngrx/store';
17
+ import * as i2$1 from '@ngrx/store';
18
+ import { Store, provideStore } from '@ngrx/store';
19
19
  import * as i1$1 from '@angular/material/dialog';
20
20
  import { MAT_DIALOG_DATA, MatDialogModule, MatDialog } from '@angular/material/dialog';
21
21
  import * as i2 from '@angular/common';
22
22
  import { CommonModule } from '@angular/common';
23
- import * as i3$4 from '@ngx-translate/core';
24
- import { TranslatePipe, TranslateModule, TranslateLoader } from '@ngx-translate/core';
23
+ import { TranslatePipe } from '@ngx-translate/core';
25
24
  import * as i3$2 from '@angular/material/button';
26
25
  import { MatButtonModule } from '@angular/material/button';
27
26
  import * as i4$1 from '@angular/material/icon';
@@ -33,7 +32,7 @@ import * as i3$3 from '@angular/material/menu';
33
32
  import { MatMenuModule, MatMenuItem, MatMenu } from '@angular/material/menu';
34
33
  import * as i4$2 from '@angular/material/divider';
35
34
  import { MatDividerModule } from '@angular/material/divider';
36
- import * as i2$1 from '@angular/material/toolbar';
35
+ import * as i2$2 from '@angular/material/toolbar';
37
36
  import { MatToolbarModule } from '@angular/material/toolbar';
38
37
  import * as i6$1 from '@angular/material/progress-bar';
39
38
  import { MatProgressBarModule } from '@angular/material/progress-bar';
@@ -42,8 +41,7 @@ import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
42
41
  import { NoopAnimationsModule } from '@angular/platform-browser/animations';
43
42
  import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
44
43
  import { RouterTestingModule } from '@angular/router/testing';
45
- import * as i2$2 from '@ngrx/effects';
46
- import { EffectsModule } from '@ngrx/effects';
44
+ import { provideEffects } from '@ngrx/effects';
47
45
  import { MatIconTestingModule } from '@angular/material/icon/testing';
48
46
 
49
47
  /*!
@@ -1419,7 +1417,7 @@ class AppService {
1419
1417
  this.acaMobileAppSwitcherService.clearSessionExpireTime();
1420
1418
  }
1421
1419
  }
1422
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AppService, deps: [{ token: i1.UserPreferencesService }, { token: i1.AuthenticationService }, { token: i1$2.Store }, { token: i3.Router }, { token: i3.ActivatedRoute }, { token: i1.AppConfigService }, { token: i1.PageTitleService }, { token: i4.AlfrescoApiService }, { token: i4.UploadService }, { token: RouterExtensionService }, { token: ContentApiService }, { token: i4.SharedLinksApiService }, { token: i7.OverlayContainer }, { token: i4.SearchQueryBuilderService }, { token: AcaMobileAppSwitcherService }, { token: AppSettingsService }, { token: UserProfileService }, { token: i1.StorageService }], target: i0.ɵɵFactoryTarget.Injectable });
1420
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AppService, deps: [{ token: i1.UserPreferencesService }, { token: i1.AuthenticationService }, { token: i2$1.Store }, { token: i3.Router }, { token: i3.ActivatedRoute }, { token: i1.AppConfigService }, { token: i1.PageTitleService }, { token: i4.AlfrescoApiService }, { token: i4.UploadService }, { token: RouterExtensionService }, { token: ContentApiService }, { token: i4.SharedLinksApiService }, { token: i7.OverlayContainer }, { token: i4.SearchQueryBuilderService }, { token: AcaMobileAppSwitcherService }, { token: AppSettingsService }, { token: UserProfileService }, { token: i1.StorageService }], target: i0.ɵɵFactoryTarget.Injectable });
1423
1421
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AppService, providedIn: 'root' });
1424
1422
  }
1425
1423
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AppService, decorators: [{
@@ -1427,7 +1425,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
1427
1425
  args: [{
1428
1426
  providedIn: 'root'
1429
1427
  }]
1430
- }], ctorParameters: () => [{ type: i1.UserPreferencesService }, { type: i1.AuthenticationService }, { type: i1$2.Store }, { type: i3.Router }, { type: i3.ActivatedRoute }, { type: i1.AppConfigService }, { type: i1.PageTitleService }, { type: i4.AlfrescoApiService }, { type: i4.UploadService }, { type: RouterExtensionService }, { type: ContentApiService }, { type: i4.SharedLinksApiService }, { type: i7.OverlayContainer }, { type: i4.SearchQueryBuilderService }, { type: AcaMobileAppSwitcherService }, { type: AppSettingsService }, { type: UserProfileService }, { type: i1.StorageService }] });
1428
+ }], ctorParameters: () => [{ type: i1.UserPreferencesService }, { type: i1.AuthenticationService }, { type: i2$1.Store }, { type: i3.Router }, { type: i3.ActivatedRoute }, { type: i1.AppConfigService }, { type: i1.PageTitleService }, { type: i4.AlfrescoApiService }, { type: i4.UploadService }, { type: RouterExtensionService }, { type: ContentApiService }, { type: i4.SharedLinksApiService }, { type: i7.OverlayContainer }, { type: i4.SearchQueryBuilderService }, { type: AcaMobileAppSwitcherService }, { type: AppSettingsService }, { type: UserProfileService }, { type: i1.StorageService }] });
1431
1429
 
1432
1430
  /*!
1433
1431
  * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
@@ -1701,6 +1699,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
1701
1699
  * You should have received a copy of the GNU Lesser General Public License
1702
1700
  * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
1703
1701
  */
1702
+ function provideContentAppExtensions() {
1703
+ return [
1704
+ provideAppInitializer(() => {
1705
+ const service = inject(AppExtensionService);
1706
+ return service.load();
1707
+ })
1708
+ ];
1709
+ }
1704
1710
  class AppExtensionService {
1705
1711
  auth;
1706
1712
  store;
@@ -2140,7 +2146,7 @@ class AppExtensionService {
2140
2146
  bulkActionExecuted() {
2141
2147
  this.bulkActionExecuted$.next();
2142
2148
  }
2143
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AppExtensionService, deps: [{ token: i1.AuthenticationService }, { token: i1$2.Store }, { token: i3$1.ExtensionLoaderService }, { token: i3$1.ExtensionService }, { token: NodePermissionService }, { token: i1.AppConfigService }, { token: i4$1.MatIconRegistry }, { token: i6.DomSanitizer }, { token: i1.LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2149
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AppExtensionService, deps: [{ token: i1.AuthenticationService }, { token: i2$1.Store }, { token: i3$1.ExtensionLoaderService }, { token: i3$1.ExtensionService }, { token: NodePermissionService }, { token: i1.AppConfigService }, { token: i4$1.MatIconRegistry }, { token: i6.DomSanitizer }, { token: i1.LogService }], target: i0.ɵɵFactoryTarget.Injectable });
2144
2150
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AppExtensionService, providedIn: 'root' });
2145
2151
  }
2146
2152
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AppExtensionService, decorators: [{
@@ -2148,7 +2154,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
2148
2154
  args: [{
2149
2155
  providedIn: 'root'
2150
2156
  }]
2151
- }], ctorParameters: () => [{ type: i1.AuthenticationService }, { type: i1$2.Store }, { type: i3$1.ExtensionLoaderService }, { type: i3$1.ExtensionService }, { type: NodePermissionService }, { type: i1.AppConfigService }, { type: i4$1.MatIconRegistry }, { type: i6.DomSanitizer }, { type: i1.LogService }] });
2157
+ }], ctorParameters: () => [{ type: i1.AuthenticationService }, { type: i2$1.Store }, { type: i3$1.ExtensionLoaderService }, { type: i3$1.ExtensionService }, { type: NodePermissionService }, { type: i1.AppConfigService }, { type: i4$1.MatIconRegistry }, { type: i6.DomSanitizer }, { type: i1.LogService }] });
2152
2158
 
2153
2159
  /*!
2154
2160
  * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
@@ -2447,7 +2453,7 @@ class ToolbarComponent {
2447
2453
  return action.id;
2448
2454
  }
2449
2455
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2450
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: ToolbarComponent, isStandalone: true, selector: "aca-toolbar", inputs: { items: "items" }, ngImport: i0, template: "<mat-toolbar class=\"aca-toolbar\">\n <ng-container *ngFor=\"let item of items; trackBy: trackByActionId\">\n <aca-toolbar-action [actionRef]=\"item\" />\n </ng-container>\n</mat-toolbar>\n", styles: ["aca-toolbar .aca-toolbar{min-height:48px;color:var(--adf-theme-foreground-text-color-054);background-color:inherit;border:none;padding:0;column-gap:5px}aca-toolbar .aca-toolbar-divider{height:24px;width:1px;background:var(--adf-theme-foreground-text-color-025);margin-left:5px;margin-right:5px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ToolbarActionComponent, selector: "aca-toolbar-action", inputs: ["data", "type", "color", "actionRef"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i2$1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }], encapsulation: i0.ViewEncapsulation.None });
2456
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: ToolbarComponent, isStandalone: true, selector: "aca-toolbar", inputs: { items: "items" }, ngImport: i0, template: "<mat-toolbar class=\"aca-toolbar\">\n <ng-container *ngFor=\"let item of items; trackBy: trackByActionId\">\n <aca-toolbar-action [actionRef]=\"item\" />\n </ng-container>\n</mat-toolbar>\n", styles: ["aca-toolbar .aca-toolbar{min-height:48px;color:var(--adf-theme-foreground-text-color-054);background-color:inherit;border:none;padding:0;column-gap:5px}aca-toolbar .aca-toolbar-divider{height:24px;width:1px;background:var(--adf-theme-foreground-text-color-025);margin-left:5px;margin-right:5px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ToolbarActionComponent, selector: "aca-toolbar-action", inputs: ["data", "type", "color", "actionRef"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i2$2.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }], encapsulation: i0.ViewEncapsulation.None });
2451
2457
  }
2452
2458
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ToolbarComponent, decorators: [{
2453
2459
  type: Component,
@@ -2555,7 +2561,7 @@ class InfoDrawerComponent {
2555
2561
  this.displayNode = node;
2556
2562
  this.icon = this.contentService.getNodeIcon(node);
2557
2563
  }
2558
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: InfoDrawerComponent, deps: [{ token: i1$2.Store }, { token: ContentApiService }, { token: AppExtensionService }, { token: i4.NodesApiService }, { token: i4.ContentService }], target: i0.ɵɵFactoryTarget.Component });
2564
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: InfoDrawerComponent, deps: [{ token: i2$1.Store }, { token: ContentApiService }, { token: AppExtensionService }, { token: i4.NodesApiService }, { token: i4.ContentService }], target: i0.ɵɵFactoryTarget.Component });
2559
2565
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: InfoDrawerComponent, isStandalone: true, selector: "aca-info-drawer", inputs: { nodeId: "nodeId", node: "node" }, host: { listeners: { "keydown.escape": "onEscapeKeyboardEvent()" } }, providers: [
2560
2566
  {
2561
2567
  provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
@@ -2580,7 +2586,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
2580
2586
  useValue: { appearance: 'fill', floatLabel: 'always' }
2581
2587
  }
2582
2588
  ], template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\" />\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer class=\"aca-info-drawer\" [icon]=\"icon\" [title]=\"node?.entry?.name || 'APP.INFO_DRAWER.TITLE'\" cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons />\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\" />\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n", styles: ["aca-info-drawer .aca-info-drawer .adf-card-view-textitem .adf-property-value-not-editable{color:var(--adf-metadata-property-panel-title-color)}aca-info-drawer .aca-info-drawer .adf-card-view-selectitem .mat-mdc-form-field-infix{padding-left:0;padding-right:0}aca-info-drawer .aca-info-drawer .adf-property-list .adf-property-value .mat-mdc-select-trigger{background-color:var(--adf-metadata-buttons-background-color);border-radius:3px;padding:2%}aca-info-drawer .aca-info-drawer .adf-property-list .adf-property-value .mat-mdc-select-trigger .mat-mdc-select-arrow-wrapper{margin-top:16px}\n"] }]
2583
- }], ctorParameters: () => [{ type: i1$2.Store }, { type: ContentApiService }, { type: AppExtensionService }, { type: i4.NodesApiService }, { type: i4.ContentService }], propDecorators: { nodeId: [{
2589
+ }], ctorParameters: () => [{ type: i2$1.Store }, { type: ContentApiService }, { type: AppExtensionService }, { type: i4.NodesApiService }, { type: i4.ContentService }], propDecorators: { nodeId: [{
2584
2590
  type: Input
2585
2591
  }], node: [{
2586
2592
  type: Input,
@@ -3076,7 +3082,7 @@ class ContextActionsDirective {
3076
3082
  }
3077
3083
  return el;
3078
3084
  }
3079
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ContextActionsDirective, deps: [{ token: i1$2.Store }], target: i0.ɵɵFactoryTarget.Directive });
3085
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ContextActionsDirective, deps: [{ token: i2$1.Store }], target: i0.ɵɵFactoryTarget.Directive });
3080
3086
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.6", type: ContextActionsDirective, isStandalone: true, selector: "[acaContextActions]", inputs: { enabled: ["acaContextEnable", "enabled"], customActions: "customActions" }, host: { listeners: { "contextmenu": "onContextMenuEvent($event)" } }, exportAs: ["acaContextActions"], ngImport: i0 });
3081
3087
  }
3082
3088
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ContextActionsDirective, decorators: [{
@@ -3086,7 +3092,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
3086
3092
  selector: '[acaContextActions]',
3087
3093
  exportAs: 'acaContextActions'
3088
3094
  }]
3089
- }], ctorParameters: () => [{ type: i1$2.Store }], propDecorators: { enabled: [{
3095
+ }], ctorParameters: () => [{ type: i2$1.Store }], propDecorators: { enabled: [{
3090
3096
  type: Input,
3091
3097
  args: ['acaContextEnable']
3092
3098
  }], customActions: [{
@@ -3409,71 +3415,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
3409
3415
  }] });
3410
3416
  class LibTestingModule {
3411
3417
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: LibTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3412
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: LibTestingModule, imports: [NoopAnimationsModule,
3413
- CommonModule,
3414
- RouterTestingModule,
3415
- MatIconTestingModule,
3416
- StoreModule,
3417
- OverlayModule, i1$2.StoreRootModule, i2$2.EffectsRootModule, i3$4.TranslateModule], exports: [TranslateModule] });
3418
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: LibTestingModule, imports: [NoopAnimationsModule, NoopTranslateModule, RouterTestingModule, MatIconTestingModule, OverlayModule] });
3418
3419
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: LibTestingModule, providers: [
3419
- { provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock },
3420
- { provide: TranslationService, useClass: TranslationMock },
3421
- provideHttpClient(withInterceptorsFromDi())
3422
- ], imports: [NoopAnimationsModule,
3423
- CommonModule,
3424
- RouterTestingModule,
3425
- MatIconTestingModule,
3426
- StoreModule,
3427
- OverlayModule,
3428
- StoreModule.forRoot({ app: null }, {
3420
+ provideStore({ app: null }, {
3429
3421
  initialState,
3430
3422
  runtimeChecks: {
3431
3423
  strictStateImmutability: false,
3432
3424
  strictActionImmutability: false
3433
3425
  }
3434
3426
  }),
3435
- EffectsModule.forRoot([]),
3436
- TranslateModule.forRoot({
3437
- loader: {
3438
- provide: TranslateLoader,
3439
- useClass: TranslateLoaderService
3440
- }
3441
- }), TranslateModule] });
3427
+ provideEffects([]),
3428
+ { provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock },
3429
+ provideHttpClient(withInterceptorsFromDi())
3430
+ ], imports: [NoopAnimationsModule, NoopTranslateModule, RouterTestingModule, MatIconTestingModule, OverlayModule] });
3442
3431
  }
3443
3432
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: LibTestingModule, decorators: [{
3444
3433
  type: NgModule,
3445
3434
  args: [{
3446
- exports: [TranslateModule],
3447
- imports: [
3448
- NoopAnimationsModule,
3449
- CommonModule,
3450
- RouterTestingModule,
3451
- MatIconTestingModule,
3452
- StoreModule,
3453
- OverlayModule,
3454
- StoreModule.forRoot({ app: null }, {
3435
+ imports: [NoopAnimationsModule, NoopTranslateModule, RouterTestingModule, MatIconTestingModule, OverlayModule],
3436
+ providers: [
3437
+ provideStore({ app: null }, {
3455
3438
  initialState,
3456
3439
  runtimeChecks: {
3457
3440
  strictStateImmutability: false,
3458
3441
  strictActionImmutability: false
3459
3442
  }
3460
3443
  }),
3461
- EffectsModule.forRoot([]),
3462
- TranslateModule.forRoot({
3463
- loader: {
3464
- provide: TranslateLoader,
3465
- useClass: TranslateLoaderService
3466
- }
3467
- })
3468
- ],
3469
- providers: [
3444
+ provideEffects([]),
3470
3445
  { provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock },
3471
- { provide: TranslationService, useClass: TranslationMock },
3472
3446
  provideHttpClient(withInterceptorsFromDi())
3473
3447
  ]
3474
3448
  }]
3475
3449
  }] });
3476
3450
 
3451
+ /*!
3452
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
3453
+ *
3454
+ * Alfresco Example Content Application
3455
+ *
3456
+ * This file is part of the Alfresco Example Content Application.
3457
+ * If the software was purchased under a paid Alfresco license, the terms of
3458
+ * the paid license agreement will prevail. Otherwise, the software is
3459
+ * provided under the following open source license terms:
3460
+ *
3461
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
3462
+ * it under the terms of the GNU Lesser General Public License as published by
3463
+ * the Free Software Foundation, either version 3 of the License, or
3464
+ * (at your option) any later version.
3465
+ *
3466
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
3467
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3468
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3469
+ * GNU Lesser General Public License for more details.
3470
+ *
3471
+ * You should have received a copy of the GNU Lesser General Public License
3472
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
3473
+ */
3474
+ const noWhitespaceValidator = () => {
3475
+ return (control) => {
3476
+ const rawValue = control.value;
3477
+ if (!rawValue) {
3478
+ return null;
3479
+ }
3480
+ const trimmedValue = rawValue.toString().trim();
3481
+ return trimmedValue.length === 0 ? { whitespace: true } : null;
3482
+ };
3483
+ };
3484
+
3477
3485
  /*!
3478
3486
  * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
3479
3487
  *
@@ -3502,5 +3510,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
3502
3510
  * Generated bundle index. Do not edit.
3503
3511
  */
3504
3512
 
3505
- export { AppExtensionService, AppHookService, AppService, AppSettingsService, AppSharedRuleGuard, AutoDownloadService, ContentApiService, ContextActionsDirective, DefaultExtensionLoaderFactory, DefaultMimeTypes, DocumentBasePageService, DocumentBasePageServiceMock, EXTENSION_DATA_LOADERS, ExtensionsDataLoaderGuard, GenericErrorComponent, InfoDrawerComponent, LibTestingModule, LockedByComponent, NavigationHistoryService, NodePermissionService, OpenInAppComponent, PageComponent, PageLayoutComponent, PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent, PageLayoutModule, PaginationDirective, PluginEnabledGuard, RouterExtensionService, ToolbarActionComponent, ToolbarButtonComponent, ToolbarButtonType, ToolbarComponent, ToolbarMenuComponent, ToolbarMenuItemComponent, UserProfileService, discoveryApiServiceMockValue, initialState, isLibrary, isLocked, resetInvoked };
3513
+ export { AppExtensionService, AppHookService, AppService, AppSettingsService, AppSharedRuleGuard, AutoDownloadService, ContentApiService, ContextActionsDirective, DefaultExtensionLoaderFactory, DefaultMimeTypes, DocumentBasePageService, DocumentBasePageServiceMock, EXTENSION_DATA_LOADERS, ExtensionsDataLoaderGuard, GenericErrorComponent, InfoDrawerComponent, LibTestingModule, LockedByComponent, NavigationHistoryService, NodePermissionService, OpenInAppComponent, PageComponent, PageLayoutComponent, PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent, PageLayoutModule, PaginationDirective, PluginEnabledGuard, RouterExtensionService, ToolbarActionComponent, ToolbarButtonComponent, ToolbarButtonType, ToolbarComponent, ToolbarMenuComponent, ToolbarMenuItemComponent, UserProfileService, discoveryApiServiceMockValue, initialState, isLibrary, isLocked, noWhitespaceValidator, provideContentAppExtensions, resetInvoked };
3506
3514
  //# sourceMappingURL=alfresco-aca-shared.mjs.map