@alfresco/aca-shared 4.2.0-5843853699 → 4.2.0-5859424328
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/esm2020/lib/components/document-base-page/document-base-page.component.mjs +2 -3
- package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +5 -20
- package/esm2020/lib/components/toolbar/toolbar-action/toolbar-action.component.mjs +59 -0
- package/esm2020/lib/components/{tool-bar → toolbar}/toolbar-button/toolbar-button.component.mjs +1 -1
- package/esm2020/lib/components/{tool-bar → toolbar}/toolbar-menu/toolbar-menu.component.mjs +1 -1
- package/esm2020/lib/components/{tool-bar → toolbar}/toolbar-menu-item/toolbar-menu-item.component.mjs +1 -1
- package/esm2020/lib/components/toolbar/toolbar.component.mjs +44 -0
- package/esm2020/lib/deprecated/shared-toolbar.module.mjs +5 -5
- package/esm2020/lib/testing/lib-testing-module.mjs +1 -2
- package/esm2020/public-api.mjs +6 -5
- package/esm2020/store/actions/app-action-types.mjs +1 -3
- package/esm2020/store/actions/app.actions.mjs +1 -12
- package/esm2020/store/selectors/app.selectors.mjs +1 -2
- package/esm2020/store/states/app.state.mjs +1 -1
- package/fesm2015/alfresco-aca-shared-store.mjs +1 -15
- package/fesm2015/alfresco-aca-shared-store.mjs.map +1 -1
- package/fesm2015/alfresco-aca-shared.mjs +48 -26
- package/fesm2015/alfresco-aca-shared.mjs.map +1 -1
- package/fesm2020/alfresco-aca-shared-store.mjs +1 -15
- package/fesm2020/alfresco-aca-shared-store.mjs.map +1 -1
- package/fesm2020/alfresco-aca-shared.mjs +48 -26
- package/fesm2020/alfresco-aca-shared.mjs.map +1 -1
- package/lib/components/document-base-page/document-base-page.component.d.ts +0 -1
- package/lib/components/info-drawer/info-drawer.component.d.ts +0 -3
- package/lib/components/toolbar/toolbar.component.d.ts +8 -0
- package/lib/deprecated/shared-toolbar.module.d.ts +4 -4
- package/lib/testing/lib-testing-module.d.ts +0 -1
- package/package.json +1 -1
- package/public-api.d.ts +5 -4
- package/store/actions/app-action-types.d.ts +0 -2
- package/store/actions/app.actions.d.ts +0 -14
- package/store/selectors/app.selectors.d.ts +0 -1
- package/store/states/app.state.d.ts +0 -1
- package/esm2020/lib/components/tool-bar/toolbar-action/toolbar-action.component.mjs +0 -61
- /package/lib/components/{tool-bar → toolbar}/toolbar-action/toolbar-action.component.d.ts +0 -0
- /package/lib/components/{tool-bar → toolbar}/toolbar-button/toolbar-button.component.d.ts +0 -0
- /package/lib/components/{tool-bar → toolbar}/toolbar-menu/toolbar-menu.component.d.ts +0 -0
- /package/lib/components/{tool-bar → toolbar}/toolbar-menu-item/toolbar-menu-item.component.d.ts +0 -0
|
@@ -13,9 +13,9 @@ import { MatIconModule } from '@angular/material/icon';
|
|
|
13
13
|
import { __awaiter } from 'tslib';
|
|
14
14
|
import * as i3 from '@angular/router';
|
|
15
15
|
import { ActivationEnd, NavigationStart, Router } from '@angular/router';
|
|
16
|
-
import { CloseModalDialogsAction, SetCurrentUrlAction, ResetSelectionAction, SnackbarErrorAction, SetRepositoryInfoAction, SetUserProfileAction, SetInitialStateAction, getCustomCssPath, getCustomWebFontPath, STORE_INITIAL_APP_DATA, getRuleContext, infoDrawerPreview, SetInfoDrawerStateAction, ToggleInfoDrawerAction, getSharedUrl, isInfoDrawerOpened,
|
|
16
|
+
import { CloseModalDialogsAction, SetCurrentUrlAction, ResetSelectionAction, SnackbarErrorAction, SetRepositoryInfoAction, SetUserProfileAction, SetInitialStateAction, getCustomCssPath, getCustomWebFontPath, STORE_INITIAL_APP_DATA, getRuleContext, infoDrawerPreview, SetInfoDrawerStateAction, ToggleInfoDrawerAction, getSharedUrl, isInfoDrawerOpened, getAppSelection, getCurrentFolder, SetSelectedNodesAction, ViewNodeAction, ReloadDocumentListAction, ContextMenu, isQuickShareEnabled } from '@alfresco/aca-shared/store';
|
|
17
17
|
import * as i1 from '@alfresco/adf-core';
|
|
18
|
-
import { AppConfigService, IconModule,
|
|
18
|
+
import { AppConfigService, IconModule, InfoDrawerModule, ShowHeaderMode, PipeModule, AlfrescoApiService, AlfrescoApiServiceMock, TranslationService, TranslationMock, TranslateLoaderService, CoreModule } from '@alfresco/adf-core';
|
|
19
19
|
import * as i1$2 from '@ngrx/store';
|
|
20
20
|
import { Store, StoreModule } from '@ngrx/store';
|
|
21
21
|
import * as i4$1 from '@alfresco/adf-content-services';
|
|
@@ -34,13 +34,15 @@ import { MatMenuItem, MatMenuModule, MatMenu } from '@angular/material/menu';
|
|
|
34
34
|
import * as i6$1 from '@angular/material/divider';
|
|
35
35
|
import { MatDividerModule } from '@angular/material/divider';
|
|
36
36
|
import * as i6 from '@angular/platform-browser';
|
|
37
|
+
import * as i2$1 from '@angular/material/toolbar';
|
|
38
|
+
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
37
39
|
import * as i6$2 from '@angular/material/progress-bar';
|
|
38
40
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
39
41
|
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
|
|
40
42
|
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
|
41
43
|
import { HttpClientModule } from '@angular/common/http';
|
|
42
44
|
import { RouterTestingModule } from '@angular/router/testing';
|
|
43
|
-
import * as i2$
|
|
45
|
+
import * as i2$2 from '@ngrx/effects';
|
|
44
46
|
import { EffectsModule } from '@ngrx/effects';
|
|
45
47
|
import { MatIconTestingModule } from '@angular/material/icon/testing';
|
|
46
48
|
|
|
@@ -1840,10 +1842,10 @@ class ToolbarActionComponent {
|
|
|
1840
1842
|
}
|
|
1841
1843
|
}
|
|
1842
1844
|
ToolbarActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarActionComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1843
|
-
ToolbarActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: ToolbarActionComponent, isStandalone: true, selector: "aca-toolbar-action", inputs: { data: "data", type: "type", color: "color", actionRef: "actionRef" }, host: { classAttribute: "aca-toolbar-action" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'default'\">\n <app-toolbar-button [type]=\"type\" [actionRef]=\"actionRef\" [color]=\"color\"> </app-toolbar-button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'button'\">\n <app-toolbar-button [type]=\"data?.buttonType || type\" [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"> </app-toolbar-button>\n </ng-container>\n\n <
|
|
1845
|
+
ToolbarActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: ToolbarActionComponent, isStandalone: true, selector: "aca-toolbar-action", inputs: { data: "data", type: "type", color: "color", actionRef: "actionRef" }, host: { classAttribute: "aca-toolbar-action" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'default'\">\n <app-toolbar-button [type]=\"type\" [actionRef]=\"actionRef\" [color]=\"color\"> </app-toolbar-button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'button'\">\n <app-toolbar-button [type]=\"data?.buttonType || type\" [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"> </app-toolbar-button>\n </ng-container>\n\n <div *ngSwitchCase=\"'separator'\" [id]=\"actionRef.id\" class=\"aca-toolbar-divider\"></div>\n\n <ng-container *ngSwitchCase=\"'menu'\">\n <app-toolbar-menu [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"></app-toolbar-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [data]=\"actionRef.data\" [id]=\"actionRef.component\"></adf-dynamic-component>\n </ng-container>\n</ng-container>\n", styles: [".aca-toolbar-action{margin:0 5px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: ExtensionsModule }, { kind: "component", type: i3$1.DynamicExtensionComponent, selector: "adf-dynamic-component", inputs: ["id", "data"] }, { kind: "component", type: ToolbarButtonComponent, selector: "app-toolbar-button", inputs: ["data", "type", "color", "actionRef"] }, { kind: "component", type: ToolbarMenuComponent, selector: "app-toolbar-menu", inputs: ["actionRef", "color", "data"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1844
1846
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarActionComponent, decorators: [{
|
|
1845
1847
|
type: Component,
|
|
1846
|
-
args: [{ standalone: true, imports: [CommonModule, ExtensionsModule,
|
|
1848
|
+
args: [{ standalone: true, imports: [CommonModule, ExtensionsModule, ToolbarButtonComponent, ToolbarMenuComponent], selector: 'aca-toolbar-action', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'aca-toolbar-action' }, template: "<ng-container [ngSwitch]=\"actionRef.type\">\n <ng-container *ngSwitchCase=\"'default'\">\n <app-toolbar-button [type]=\"type\" [actionRef]=\"actionRef\" [color]=\"color\"> </app-toolbar-button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'button'\">\n <app-toolbar-button [type]=\"data?.buttonType || type\" [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"> </app-toolbar-button>\n </ng-container>\n\n <div *ngSwitchCase=\"'separator'\" [id]=\"actionRef.id\" class=\"aca-toolbar-divider\"></div>\n\n <ng-container *ngSwitchCase=\"'menu'\">\n <app-toolbar-menu [actionRef]=\"actionRef\" [color]=\"color\" [data]=\"actionRef.data\"></app-toolbar-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'custom'\">\n <adf-dynamic-component [data]=\"actionRef.data\" [id]=\"actionRef.component\"></adf-dynamic-component>\n </ng-container>\n</ng-container>\n", styles: [".aca-toolbar-action{margin:0 5px}\n"] }]
|
|
1847
1849
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
|
|
1848
1850
|
type: Input
|
|
1849
1851
|
}], type: [{
|
|
@@ -1854,6 +1856,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
1854
1856
|
type: Input
|
|
1855
1857
|
}] } });
|
|
1856
1858
|
|
|
1859
|
+
/*!
|
|
1860
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1861
|
+
*
|
|
1862
|
+
* Alfresco Example Content Application
|
|
1863
|
+
*
|
|
1864
|
+
* This file is part of the Alfresco Example Content Application.
|
|
1865
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
1866
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
1867
|
+
* provided under the following open source license terms:
|
|
1868
|
+
*
|
|
1869
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
1870
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
1871
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
1872
|
+
* (at your option) any later version.
|
|
1873
|
+
*
|
|
1874
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
1875
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
1876
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
1877
|
+
* GNU Lesser General Public License for more details.
|
|
1878
|
+
*
|
|
1879
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
1880
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1881
|
+
*/
|
|
1882
|
+
class ToolbarComponent {
|
|
1883
|
+
trackByActionId(_, action) {
|
|
1884
|
+
return action.id;
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1888
|
+
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: ToolbarComponent, isStandalone: true, selector: "aca-toolbar", inputs: { items: "items" }, ngImport: i0, template: "<mat-toolbar>\n <ng-container *ngFor=\"let item of items; trackBy: trackByActionId\">\n <aca-toolbar-action [actionRef]=\"item\"></aca-toolbar-action>\n </ng-container>\n</mat-toolbar>\n", styles: ["aca-toolbar .mat-toolbar{min-height:48px;color:var(--adf-theme-foreground-text-color-054);background-color:inherit;border:none;padding:0}aca-toolbar .mat-toolbar-row{height:48px;font-size:var(--theme-body-1-font-size);white-space:normal}aca-toolbar .mat-toolbar-single-row{height:64px}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 });
|
|
1889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
1890
|
+
type: Component,
|
|
1891
|
+
args: [{ selector: 'aca-toolbar', standalone: true, imports: [CommonModule, ToolbarActionComponent, MatToolbarModule], encapsulation: ViewEncapsulation.None, template: "<mat-toolbar>\n <ng-container *ngFor=\"let item of items; trackBy: trackByActionId\">\n <aca-toolbar-action [actionRef]=\"item\"></aca-toolbar-action>\n </ng-container>\n</mat-toolbar>\n", styles: ["aca-toolbar .mat-toolbar{min-height:48px;color:var(--adf-theme-foreground-text-color-054);background-color:inherit;border:none;padding:0}aca-toolbar .mat-toolbar-row{height:48px;font-size:var(--theme-body-1-font-size);white-space:normal}aca-toolbar .mat-toolbar-single-row{height:64px}aca-toolbar .aca-toolbar-divider{height:24px;width:1px;background:var(--adf-theme-foreground-text-color-025);margin-left:5px;margin-right:5px}\n"] }]
|
|
1892
|
+
}], propDecorators: { items: [{
|
|
1893
|
+
type: Input
|
|
1894
|
+
}] } });
|
|
1895
|
+
|
|
1857
1896
|
/*!
|
|
1858
1897
|
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1859
1898
|
*
|
|
@@ -1923,12 +1962,6 @@ class InfoDrawerComponent {
|
|
|
1923
1962
|
return this.loadNodeInfo(id);
|
|
1924
1963
|
}
|
|
1925
1964
|
}
|
|
1926
|
-
trackByActionId(_, action) {
|
|
1927
|
-
return action.id;
|
|
1928
|
-
}
|
|
1929
|
-
getEntryColor(entry) {
|
|
1930
|
-
return entry === null || entry === void 0 ? void 0 : entry.color;
|
|
1931
|
-
}
|
|
1932
1965
|
close() {
|
|
1933
1966
|
this.store.dispatch(new ToggleInfoDrawerAction());
|
|
1934
1967
|
}
|
|
@@ -1946,19 +1979,10 @@ class InfoDrawerComponent {
|
|
|
1946
1979
|
}
|
|
1947
1980
|
}
|
|
1948
1981
|
InfoDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: InfoDrawerComponent, deps: [{ token: i1$2.Store }, { token: ContentApiService }, { token: AppExtensionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1949
|
-
InfoDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: InfoDrawerComponent, isStandalone: true, selector: "aca-info-drawer", inputs: { nodeId: "nodeId", node: "node" }, host: { listeners: { "keydown.escape": "onEscapeKeyboardEvent()" } }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [title]=\"'APP.INFO_DRAWER.TITLE'\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <
|
|
1982
|
+
InfoDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: InfoDrawerComponent, isStandalone: true, selector: "aca-info-drawer", inputs: { nodeId: "nodeId", node: "node" }, host: { listeners: { "keydown.escape": "onEscapeKeyboardEvent()" } }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [title]=\"'APP.INFO_DRAWER.TITLE'\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons></aca-toolbar>\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\"> </adf-dynamic-tab>\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i6$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: InfoDrawerModule }, { kind: "component", type: i1.InfoDrawerTabComponent, selector: "adf-info-drawer-tab", inputs: ["label", "icon"] }, { kind: "component", type: i1.InfoDrawerComponent, selector: "adf-info-drawer", inputs: ["title", "selectedIndex", "showHeader"], outputs: ["currentTab"] }, { kind: "directive", type: i1.InfoDrawerButtonsDirective, selector: "[adf-info-drawer-buttons], [info-drawer-buttons]" }, { kind: "ngmodule", type: ExtensionsModule }, { kind: "component", type: i3$1.DynamicTabComponent, selector: "adf-dynamic-tab", inputs: ["id", "node"] }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i9.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1950
1983
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: InfoDrawerComponent, decorators: [{
|
|
1951
1984
|
type: Component,
|
|
1952
|
-
args: [{ standalone: true, imports: [
|
|
1953
|
-
CommonModule,
|
|
1954
|
-
TranslateModule,
|
|
1955
|
-
MatProgressBarModule,
|
|
1956
|
-
InfoDrawerModule,
|
|
1957
|
-
ExtensionsModule,
|
|
1958
|
-
ToolbarModule,
|
|
1959
|
-
A11yModule,
|
|
1960
|
-
ToolbarActionComponent
|
|
1961
|
-
], selector: 'aca-info-drawer', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [title]=\"'APP.INFO_DRAWER.TITLE'\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <adf-toolbar class=\"adf-toolbar--inline\" info-drawer-buttons>\n <ng-container *ngFor=\"let entry of actions; trackBy: trackByActionId\">\n <aca-toolbar-action [actionRef]=\"entry\" [color]=\"getEntryColor(entry)\"></aca-toolbar-action>\n </ng-container>\n </adf-toolbar>\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\"> </adf-dynamic-tab>\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n" }]
|
|
1985
|
+
args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatProgressBarModule, InfoDrawerModule, ExtensionsModule, A11yModule, ToolbarComponent], selector: 'aca-info-drawer', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [title]=\"'APP.INFO_DRAWER.TITLE'\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons></aca-toolbar>\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\"> </adf-dynamic-tab>\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n" }]
|
|
1962
1986
|
}], ctorParameters: function () { return [{ type: i1$2.Store }, { type: ContentApiService }, { type: AppExtensionService }]; }, propDecorators: { nodeId: [{
|
|
1963
1987
|
type: Input
|
|
1964
1988
|
}], node: [{
|
|
@@ -2139,7 +2163,6 @@ class PageComponent {
|
|
|
2139
2163
|
});
|
|
2140
2164
|
this.sharedPreviewUrl$ = this.store.select(getSharedUrl);
|
|
2141
2165
|
this.infoDrawerOpened$ = this.store.select(isInfoDrawerOpened).pipe(map((infoDrawerState) => !this.isOutletPreviewUrl() && infoDrawerState));
|
|
2142
|
-
this.documentDisplayMode$ = this.store.select(getDocumentDisplayMode);
|
|
2143
2166
|
this.store
|
|
2144
2167
|
.select(getAppSelection)
|
|
2145
2168
|
.pipe(takeUntil(this.onDestroy$))
|
|
@@ -2580,7 +2603,6 @@ const initialState = {
|
|
|
2580
2603
|
infoDrawerOpened: false,
|
|
2581
2604
|
infoDrawerMetadataAspect: '',
|
|
2582
2605
|
showFacetFilter: true,
|
|
2583
|
-
documentDisplayMode: 'list',
|
|
2584
2606
|
repository: {
|
|
2585
2607
|
status: {
|
|
2586
2608
|
isQuickShareEnabled: true
|
|
@@ -2597,7 +2619,7 @@ LibTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
|
|
|
2597
2619
|
RouterTestingModule,
|
|
2598
2620
|
MatIconTestingModule,
|
|
2599
2621
|
StoreModule,
|
|
2600
|
-
OverlayModule, i1$2.StoreRootModule, i2$
|
|
2622
|
+
OverlayModule, i1$2.StoreRootModule, i2$2.EffectsRootModule, i3$2.TranslateModule, PipeModule], exports: [TranslateModule] });
|
|
2601
2623
|
LibTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: LibTestingModule, providers: [
|
|
2602
2624
|
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock },
|
|
2603
2625
|
{ provide: TranslationService, useClass: TranslationMock }
|
|
@@ -2780,5 +2802,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
2780
2802
|
* Generated bundle index. Do not edit.
|
|
2781
2803
|
*/
|
|
2782
2804
|
|
|
2783
|
-
export { AcaFileAutoDownloadService, AppExtensionService, AppHookService, AppService, AppSharedRuleGuard, ContentApiService, ContextActionsDirective, DefaultExtensionLoaderFactory, DocumentBasePageService, EXTENSION_DATA_LOADERS, ExtensionsDataLoaderGuard, GenericErrorComponent, InfoDrawerComponent, LibTestingModule, LockedByComponent, NodePermissionService, OpenInAppComponent, PageComponent, PageLayoutComponent, PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent, PageLayoutModule, PaginationDirective, RouterExtensionService, SharedModule, SharedToolbarModule, ToolbarActionComponent, ToolbarButtonComponent, ToolbarButtonType, ToolbarMenuComponent, ToolbarMenuItemComponent, initialState, isLibrary, isLocked };
|
|
2805
|
+
export { AcaFileAutoDownloadService, AppExtensionService, AppHookService, AppService, AppSharedRuleGuard, ContentApiService, ContextActionsDirective, DefaultExtensionLoaderFactory, DocumentBasePageService, EXTENSION_DATA_LOADERS, ExtensionsDataLoaderGuard, GenericErrorComponent, InfoDrawerComponent, LibTestingModule, LockedByComponent, NodePermissionService, OpenInAppComponent, PageComponent, PageLayoutComponent, PageLayoutContentComponent, PageLayoutErrorComponent, PageLayoutHeaderComponent, PageLayoutModule, PaginationDirective, RouterExtensionService, SharedModule, SharedToolbarModule, ToolbarActionComponent, ToolbarButtonComponent, ToolbarButtonType, ToolbarComponent, ToolbarMenuComponent, ToolbarMenuItemComponent, initialState, isLibrary, isLocked };
|
|
2784
2806
|
//# sourceMappingURL=alfresco-aca-shared.mjs.map
|