@alfresco/aca-shared 7.4.0-22998710186 → 7.4.0-23057542199
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/fesm2022/alfresco-aca-shared.mjs +4 -76
- package/fesm2022/alfresco-aca-shared.mjs.map +1 -1
- package/lib/services/app.service.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +0 -2
- package/lib/validators/no-leading-trailing-operators.validator.d.ts +0 -25
- package/lib/validators/no-whitespace.validator.d.ts +0 -25
|
@@ -1224,7 +1224,7 @@ class AppService {
|
|
|
1224
1224
|
appNavNarMode$ = new BehaviorSubject('expanded');
|
|
1225
1225
|
toggleAppNavBar$ = new Subject();
|
|
1226
1226
|
hideSidenavConditions = ['/preview/'];
|
|
1227
|
-
minimizeSidenavConditions = [
|
|
1227
|
+
minimizeSidenavConditions = [];
|
|
1228
1228
|
/**
|
|
1229
1229
|
* Whether `withCredentials` mode is enabled.
|
|
1230
1230
|
* Usually means that `Kerberos` mode is used.
|
|
@@ -2438,11 +2438,11 @@ class ToolbarComponent {
|
|
|
2438
2438
|
return action.id;
|
|
2439
2439
|
}
|
|
2440
2440
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2441
|
-
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{
|
|
2441
|
+
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 });
|
|
2442
2442
|
}
|
|
2443
2443
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
2444
2444
|
type: Component,
|
|
2445
|
-
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{
|
|
2445
|
+
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"] }]
|
|
2446
2446
|
}], propDecorators: { items: [{
|
|
2447
2447
|
type: Input,
|
|
2448
2448
|
args: [{ required: true }]
|
|
@@ -3417,78 +3417,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
3417
3417
|
}]
|
|
3418
3418
|
}] });
|
|
3419
3419
|
|
|
3420
|
-
/*!
|
|
3421
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3422
|
-
*
|
|
3423
|
-
* Alfresco Example Content Application
|
|
3424
|
-
*
|
|
3425
|
-
* This file is part of the Alfresco Example Content Application.
|
|
3426
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
3427
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
3428
|
-
* provided under the following open source license terms:
|
|
3429
|
-
*
|
|
3430
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
3431
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
3432
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
3433
|
-
* (at your option) any later version.
|
|
3434
|
-
*
|
|
3435
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
3436
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
3437
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
3438
|
-
* GNU Lesser General Public License for more details.
|
|
3439
|
-
*
|
|
3440
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
3441
|
-
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
3442
|
-
*/
|
|
3443
|
-
const noWhitespaceValidator = () => {
|
|
3444
|
-
return (control) => {
|
|
3445
|
-
const rawValue = control.value;
|
|
3446
|
-
if (!rawValue) {
|
|
3447
|
-
return null;
|
|
3448
|
-
}
|
|
3449
|
-
const trimmedValue = rawValue.toString().trim();
|
|
3450
|
-
return trimmedValue.length === 0 ? { whitespace: true } : null;
|
|
3451
|
-
};
|
|
3452
|
-
};
|
|
3453
|
-
|
|
3454
|
-
/*!
|
|
3455
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3456
|
-
*
|
|
3457
|
-
* Alfresco Example Content Application
|
|
3458
|
-
*
|
|
3459
|
-
* This file is part of the Alfresco Example Content Application.
|
|
3460
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
3461
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
3462
|
-
* provided under the following open source license terms:
|
|
3463
|
-
*
|
|
3464
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
3465
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
3466
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
3467
|
-
* (at your option) any later version.
|
|
3468
|
-
*
|
|
3469
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
3470
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
3471
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
3472
|
-
* GNU Lesser General Public License for more details.
|
|
3473
|
-
*
|
|
3474
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
3475
|
-
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
3476
|
-
*/
|
|
3477
|
-
const isOperator = (word) => {
|
|
3478
|
-
const operators = ['AND', 'OR'];
|
|
3479
|
-
return operators.includes(word.trim());
|
|
3480
|
-
};
|
|
3481
|
-
const noLeadingTrailingOperatorsValidator = () => {
|
|
3482
|
-
return (control) => {
|
|
3483
|
-
const rawValue = control.value;
|
|
3484
|
-
if (!rawValue) {
|
|
3485
|
-
return null;
|
|
3486
|
-
}
|
|
3487
|
-
const words = rawValue.trim().split(/\s+/);
|
|
3488
|
-
return isOperator(words[0]) || isOperator(words[words.length - 1]) ? { operators: true } : null;
|
|
3489
|
-
};
|
|
3490
|
-
};
|
|
3491
|
-
|
|
3492
3420
|
/*!
|
|
3493
3421
|
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3494
3422
|
*
|
|
@@ -3517,5 +3445,5 @@ const noLeadingTrailingOperatorsValidator = () => {
|
|
|
3517
3445
|
* Generated bundle index. Do not edit.
|
|
3518
3446
|
*/
|
|
3519
3447
|
|
|
3520
|
-
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,
|
|
3448
|
+
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 };
|
|
3521
3449
|
//# sourceMappingURL=alfresco-aca-shared.mjs.map
|