@alfresco/aca-shared 7.3.0 → 7.4.0-22991957830

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.
@@ -1267,7 +1267,7 @@ class AppService {
1267
1267
  appNavNarMode$ = new BehaviorSubject('expanded');
1268
1268
  toggleAppNavBar$ = new Subject();
1269
1269
  hideSidenavConditions = ['/preview/'];
1270
- minimizeSidenavConditions = ['/search'];
1270
+ minimizeSidenavConditions = [];
1271
1271
  /**
1272
1272
  * Whether `withCredentials` mode is enabled.
1273
1273
  * Usually means that `Kerberos` mode is used.
@@ -2481,11 +2481,11 @@ class ToolbarComponent {
2481
2481
  return action.id;
2482
2482
  }
2483
2483
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2484
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.19", 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-064);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 });
2484
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.19", 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{height:56px;color:var(--adf-theme-foreground-text-color-064);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 });
2485
2485
  }
2486
2486
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ToolbarComponent, decorators: [{
2487
2487
  type: Component,
2488
- args: [{ selector: 'aca-toolbar', imports: [CommonModule, ToolbarActionComponent, MatToolbarModule], encapsulation: ViewEncapsulation.None, 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-064);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"] }]
2488
+ args: [{ selector: 'aca-toolbar', imports: [CommonModule, ToolbarActionComponent, MatToolbarModule], encapsulation: ViewEncapsulation.None, 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{height:56px;color:var(--adf-theme-foreground-text-color-064);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"] }]
2489
2489
  }], propDecorators: { items: [{
2490
2490
  type: Input,
2491
2491
  args: [{ required: true }]
@@ -3460,78 +3460,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
3460
3460
  }]
3461
3461
  }] });
3462
3462
 
3463
- /*!
3464
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
3465
- *
3466
- * Alfresco Example Content Application
3467
- *
3468
- * This file is part of the Alfresco Example Content Application.
3469
- * If the software was purchased under a paid Alfresco license, the terms of
3470
- * the paid license agreement will prevail. Otherwise, the software is
3471
- * provided under the following open source license terms:
3472
- *
3473
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
3474
- * it under the terms of the GNU Lesser General Public License as published by
3475
- * the Free Software Foundation, either version 3 of the License, or
3476
- * (at your option) any later version.
3477
- *
3478
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
3479
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
3480
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3481
- * GNU Lesser General Public License for more details.
3482
- *
3483
- * You should have received a copy of the GNU Lesser General Public License
3484
- * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
3485
- */
3486
- const noWhitespaceValidator = () => {
3487
- return (control) => {
3488
- const rawValue = control.value;
3489
- if (!rawValue) {
3490
- return null;
3491
- }
3492
- const trimmedValue = rawValue.toString().trim();
3493
- return trimmedValue.length === 0 ? { whitespace: true } : null;
3494
- };
3495
- };
3496
-
3497
- /*!
3498
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
3499
- *
3500
- * Alfresco Example Content Application
3501
- *
3502
- * This file is part of the Alfresco Example Content Application.
3503
- * If the software was purchased under a paid Alfresco license, the terms of
3504
- * the paid license agreement will prevail. Otherwise, the software is
3505
- * provided under the following open source license terms:
3506
- *
3507
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
3508
- * it under the terms of the GNU Lesser General Public License as published by
3509
- * the Free Software Foundation, either version 3 of the License, or
3510
- * (at your option) any later version.
3511
- *
3512
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
3513
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
3514
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3515
- * GNU Lesser General Public License for more details.
3516
- *
3517
- * You should have received a copy of the GNU Lesser General Public License
3518
- * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
3519
- */
3520
- const isOperator = (word) => {
3521
- const operators = ['AND', 'OR'];
3522
- return operators.includes(word.trim());
3523
- };
3524
- const noLeadingTrailingOperatorsValidator = () => {
3525
- return (control) => {
3526
- const rawValue = control.value;
3527
- if (!rawValue) {
3528
- return null;
3529
- }
3530
- const words = rawValue.trim().split(/\s+/);
3531
- return isOperator(words[0]) || isOperator(words[words.length - 1]) ? { operators: true } : null;
3532
- };
3533
- };
3534
-
3535
3463
  /*!
3536
3464
  * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
3537
3465
  *
@@ -3560,5 +3488,5 @@ const noLeadingTrailingOperatorsValidator = () => {
3560
3488
  * Generated bundle index. Do not edit.
3561
3489
  */
3562
3490
 
3563
- 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, noLeadingTrailingOperatorsValidator, noWhitespaceValidator, provideContentAppExtensions, resetInvoked };
3491
+ 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, provideContentAppExtensions, resetInvoked };
3564
3492
  //# sourceMappingURL=alfresco-aca-shared.mjs.map