@alfresco/aca-shared 2.0.1 → 4.0.0-A.2-9920
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/README.md +2 -1
- package/{esm2015/alfresco-aca-shared.js → esm2020/alfresco-aca-shared.mjs} +0 -0
- package/esm2020/lib/adf-extensions/extensions-data-loader.guard.mjs +74 -0
- package/esm2020/lib/components/document-base-page/document-base-page.component.mjs +160 -0
- package/esm2020/lib/components/document-base-page/document-base-page.service.mjs +10 -0
- package/esm2020/lib/components/generic-error/generic-error.component.mjs +42 -0
- package/esm2020/lib/components/generic-error/generic-error.module.mjs +45 -0
- package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +124 -0
- package/esm2020/lib/components/info-drawer/shared-info-drawer.module.mjs +47 -0
- package/esm2020/lib/components/locked-by/locked-by.component.mjs +53 -0
- package/esm2020/lib/components/locked-by/locked-by.module.mjs +45 -0
- package/esm2020/lib/components/page-layout/page-layout-content.component.mjs +49 -0
- package/esm2020/lib/components/page-layout/page-layout-error.component.mjs +41 -0
- package/esm2020/lib/components/page-layout/page-layout-header.component.mjs +41 -0
- package/esm2020/lib/components/page-layout/page-layout.component.mjs +41 -0
- package/esm2020/lib/components/page-layout/page-layout.module.mjs +45 -0
- package/esm2020/lib/components/tool-bar/shared-toolbar.module.mjs +47 -0
- package/esm2020/lib/components/tool-bar/toolbar-action/toolbar-action.component.mjs +58 -0
- package/esm2020/lib/components/tool-bar/toolbar-button/toolbar-button.component.mjs +67 -0
- package/esm2020/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.mjs +78 -0
- package/esm2020/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.mjs +69 -0
- package/esm2020/lib/directives/contextmenu/contextmenu.directive.mjs +107 -0
- package/{esm2015/lib/components/info-drawer/shared-info-drawer.module.js → esm2020/lib/directives/contextmenu/contextmenu.module.mjs} +17 -15
- package/esm2020/lib/directives/pagination.directive.mjs +55 -0
- package/esm2020/lib/directives/shared.directives.module.mjs +42 -0
- package/esm2020/lib/models/modal-configuration.mjs +2 -0
- package/{esm2015/lib/models/types.js → esm2020/lib/models/types.mjs} +1 -0
- package/{esm2015/lib/models/viewer.rules.js → esm2020/lib/models/viewer.rules.mjs} +2 -1
- package/esm2020/lib/routing/shared.guard.mjs +49 -0
- package/esm2020/lib/services/alfresco-office-extension.service.mjs +64 -0
- package/esm2020/lib/services/app-hook.service.mjs +88 -0
- package/esm2020/lib/services/app.extension.service.mjs +453 -0
- package/esm2020/lib/services/app.service.mjs +213 -0
- package/esm2020/lib/services/content-api.service.mjs +268 -0
- package/{esm2015/lib/services/node-permission.service.js → esm2020/lib/services/node-permission.service.mjs} +9 -7
- package/esm2020/lib/services/router.extension.service.mjs +106 -0
- package/esm2020/lib/shared.module.mjs +49 -0
- package/esm2020/lib/testing/lib-testing-module.mjs +118 -0
- package/{esm2015/store/actions/contextmenu.actions.js → esm2020/lib/testing/translation.service.mjs} +19 -9
- package/{esm2015/lib/utils/node.utils.js → esm2020/lib/utils/node.utils.mjs} +0 -0
- package/esm2020/public-api.mjs +63 -0
- package/{esm2015/rules/alfresco-aca-shared-rules.js → esm2020/rules/alfresco-aca-shared-rules.mjs} +0 -0
- package/esm2020/rules/app.rules.mjs +503 -0
- package/esm2020/rules/navigation.rules.mjs +152 -0
- package/{esm2015/rules/public-api.js → esm2020/rules/public-api.mjs} +0 -0
- package/{esm2015/store/states/app.state.js → esm2020/rules/repository.rules.mjs} +10 -1
- package/esm2020/rules/user.rules.mjs +30 -0
- package/esm2020/store/actions/app-action-types.mjs +48 -0
- package/esm2020/store/actions/app.actions.mjs +135 -0
- package/esm2020/store/actions/context-menu-action-types.mjs +29 -0
- package/esm2020/store/actions/contextmenu.actions.mjs +32 -0
- package/esm2020/store/actions/library.actions.mjs +64 -0
- package/{esm2015/store/actions/metadata-aspect.actions.js → esm2020/store/actions/metadata-aspect.actions.mjs} +0 -0
- package/esm2020/store/actions/node.actions.mjs +189 -0
- package/{esm2015/lib/components/generic-error/generic-error.module.js → esm2020/store/actions/router-action-types.mjs} +9 -15
- package/esm2020/store/actions/router.actions.mjs +55 -0
- package/esm2020/store/actions/search.actions.mjs +36 -0
- package/esm2020/store/actions/snackbar.actions.mjs +58 -0
- package/esm2020/store/actions/template-action-types.mjs +32 -0
- package/{esm2015/lib/components/generic-error/generic-error.component.js → esm2020/store/actions/template.actions.mjs} +21 -17
- package/esm2020/store/actions/upload.actions.mjs +50 -0
- package/esm2020/store/actions/viewer.actions.mjs +82 -0
- package/{esm2015/store/alfresco-aca-shared-store.js → esm2020/store/alfresco-aca-shared-store.mjs} +0 -0
- package/esm2020/store/effects/dialog.effects.mjs +45 -0
- package/esm2020/store/effects/router.effects.mjs +117 -0
- package/esm2020/store/effects/snackbar.effects.mjs +86 -0
- package/{esm2015/store/models/delete-status.model.js → esm2020/store/models/delete-status.model.mjs} +1 -0
- package/{esm2015/store/models/deleted-node-info.model.js → esm2020/store/models/deleted-node-info.model.mjs} +1 -0
- package/esm2020/store/models/modal-configuration.mjs +2 -0
- package/{esm2015/store/models/node-info.model.js → esm2020/store/models/node-info.model.mjs} +1 -0
- package/{esm2015/store/models/search-option.model.js → esm2020/store/models/search-option.model.mjs} +0 -0
- package/esm2020/store/public-api.mjs +50 -0
- package/esm2020/store/selectors/app.selectors.mjs +60 -0
- package/esm2020/store/states/app.state.mjs +27 -0
- package/esm2020/store/store.module.mjs +43 -0
- package/fesm2015/alfresco-aca-shared-rules.mjs +751 -0
- package/fesm2015/alfresco-aca-shared-rules.mjs.map +1 -0
- package/fesm2015/{alfresco-aca-shared-store.js → alfresco-aca-shared-store.mjs} +302 -276
- package/fesm2015/alfresco-aca-shared-store.mjs.map +1 -0
- package/fesm2015/alfresco-aca-shared.mjs +2726 -0
- package/fesm2015/alfresco-aca-shared.mjs.map +1 -0
- package/{fesm2015/alfresco-aca-shared-rules.js → fesm2020/alfresco-aca-shared-rules.mjs} +220 -150
- package/fesm2020/alfresco-aca-shared-rules.mjs.map +1 -0
- package/fesm2020/alfresco-aca-shared-store.mjs +1406 -0
- package/fesm2020/alfresco-aca-shared-store.mjs.map +1 -0
- package/fesm2020/alfresco-aca-shared.mjs +2841 -0
- package/fesm2020/alfresco-aca-shared.mjs.map +1 -0
- package/{alfresco-aca-shared.d.ts → index.d.ts} +1 -0
- package/lib/adf-extensions/extensions-data-loader.guard.d.ts +4 -1
- package/lib/components/document-base-page/document-base-page.component.d.ts +74 -0
- package/lib/components/document-base-page/document-base-page.service.d.ts +5 -0
- package/lib/components/generic-error/generic-error.component.d.ts +3 -24
- package/lib/components/generic-error/generic-error.module.d.ts +8 -24
- package/lib/components/info-drawer/info-drawer.component.d.ts +6 -0
- package/lib/components/info-drawer/shared-info-drawer.module.d.ts +11 -24
- package/lib/components/locked-by/locked-by.component.d.ts +5 -30
- package/lib/components/locked-by/locked-by.module.d.ts +8 -24
- package/lib/components/page-layout/page-layout-content.component.d.ts +3 -24
- package/lib/components/page-layout/page-layout-error.component.d.ts +3 -24
- package/lib/components/page-layout/page-layout-header.component.d.ts +3 -24
- package/lib/components/page-layout/page-layout.component.d.ts +3 -24
- package/lib/components/page-layout/page-layout.module.d.ts +9 -24
- package/lib/components/tool-bar/shared-toolbar.module.d.ts +11 -24
- package/lib/components/tool-bar/toolbar-action/toolbar-action.component.d.ts +7 -2
- package/lib/components/tool-bar/toolbar-button/toolbar-button.component.d.ts +5 -25
- package/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.d.ts +13 -7
- package/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.d.ts +7 -27
- package/lib/directives/contextmenu/contextmenu.directive.d.ts +5 -1
- package/lib/directives/contextmenu/contextmenu.module.d.ts +5 -24
- package/lib/directives/pagination.directive.d.ts +3 -0
- package/lib/directives/shared.directives.module.d.ts +6 -24
- package/lib/models/modal-configuration.d.ts +3 -0
- package/lib/models/viewer.rules.d.ts +4 -0
- package/lib/routing/shared.guard.d.ts +3 -24
- package/lib/services/alfresco-office-extension.service.d.ts +11 -0
- package/lib/services/app-hook.service.d.ts +55 -0
- package/lib/services/app.extension.service.d.ts +30 -45
- package/lib/services/app.service.d.ts +42 -6
- package/lib/services/content-api.service.d.ts +34 -25
- package/lib/services/node-permission.service.d.ts +3 -24
- package/lib/services/router.extension.service.d.ts +3 -24
- package/lib/shared.module.d.ts +5 -0
- package/lib/testing/lib-testing-module.d.ts +43 -0
- package/lib/testing/translation.service.d.ts +10 -0
- package/package.json +57 -18
- package/public-api.d.ts +7 -1
- package/rules/app.rules.d.ts +104 -30
- package/rules/{alfresco-aca-shared-rules.d.ts → index.d.ts} +1 -0
- package/rules/navigation.rules.d.ts +6 -6
- package/rules/repository.rules.d.ts +2 -1
- package/rules/user.rules.d.ts +1 -1
- package/store/actions/app-action-types.d.ts +46 -0
- package/store/actions/app.actions.d.ts +19 -18
- package/{lib/routing/app.routes.strategy.d.ts → store/actions/context-menu-action-types.d.ts} +2 -15
- package/store/actions/contextmenu.actions.d.ts +1 -3
- package/store/actions/library.actions.d.ts +3 -1
- package/store/actions/node.actions.d.ts +33 -7
- package/store/actions/router-action-types.d.ts +31 -0
- package/store/actions/router.actions.d.ts +5 -6
- package/store/actions/search.actions.d.ts +1 -13
- package/store/actions/snackbar.actions.d.ts +8 -11
- package/store/actions/template-action-types.d.ts +30 -0
- package/store/actions/template.actions.d.ts +1 -6
- package/store/actions/upload.actions.d.ts +3 -1
- package/store/actions/viewer.actions.d.ts +6 -0
- package/store/effects/dialog.effects.d.ts +4 -1
- package/store/effects/router.effects.d.ts +11 -29
- package/store/effects/snackbar.effects.d.ts +6 -3
- package/store/{alfresco-aca-shared-store.d.ts → index.d.ts} +1 -0
- package/store/models/modal-configuration.d.ts +3 -0
- package/store/public-api.d.ts +4 -0
- package/store/selectors/app.selectors.d.ts +6 -1
- package/store/states/app.state.d.ts +8 -1
- package/store/store.module.d.ts +5 -24
- package/alfresco-aca-shared.metadata.json +0 -1
- package/bundles/alfresco-aca-shared-rules.umd.js +0 -745
- package/bundles/alfresco-aca-shared-rules.umd.js.map +0 -1
- package/bundles/alfresco-aca-shared-rules.umd.min.js +0 -125
- package/bundles/alfresco-aca-shared-rules.umd.min.js.map +0 -1
- package/bundles/alfresco-aca-shared-store.umd.js +0 -1784
- package/bundles/alfresco-aca-shared-store.umd.js.map +0 -1
- package/bundles/alfresco-aca-shared-store.umd.min.js +0 -462
- package/bundles/alfresco-aca-shared-store.umd.min.js.map +0 -1
- package/bundles/alfresco-aca-shared.umd.js +0 -2523
- package/bundles/alfresco-aca-shared.umd.js.map +0 -1
- package/bundles/alfresco-aca-shared.umd.min.js +0 -740
- package/bundles/alfresco-aca-shared.umd.min.js.map +0 -1
- package/esm2015/lib/adf-extensions/extensions-data-loader.guard.js +0 -74
- package/esm2015/lib/components/info-drawer/info-drawer.component.js +0 -105
- package/esm2015/lib/components/locked-by/locked-by.component.js +0 -54
- package/esm2015/lib/components/locked-by/locked-by.module.js +0 -38
- package/esm2015/lib/components/page-layout/page-layout-content.component.js +0 -43
- package/esm2015/lib/components/page-layout/page-layout-error.component.js +0 -37
- package/esm2015/lib/components/page-layout/page-layout-header.component.js +0 -37
- package/esm2015/lib/components/page-layout/page-layout.component.js +0 -44
- package/esm2015/lib/components/page-layout/page-layout.module.js +0 -40
- package/esm2015/lib/components/tool-bar/shared-toolbar.module.js +0 -42
- package/esm2015/lib/components/tool-bar/toolbar-action/toolbar-action.component.js +0 -57
- package/esm2015/lib/components/tool-bar/toolbar-button/toolbar-button.component.js +0 -66
- package/esm2015/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.js +0 -55
- package/esm2015/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.js +0 -65
- package/esm2015/lib/directives/contextmenu/contextmenu.directive.js +0 -97
- package/esm2015/lib/directives/contextmenu/contextmenu.module.js +0 -38
- package/esm2015/lib/directives/pagination.directive.js +0 -55
- package/esm2015/lib/directives/shared.directives.module.js +0 -37
- package/esm2015/lib/routing/app.routes.strategy.js +0 -105
- package/esm2015/lib/routing/shared.guard.js +0 -50
- package/esm2015/lib/services/app.extension.service.js +0 -398
- package/esm2015/lib/services/app.service.js +0 -69
- package/esm2015/lib/services/content-api.service.js +0 -205
- package/esm2015/lib/services/router.extension.service.js +0 -110
- package/esm2015/lib/shared.module.js +0 -44
- package/esm2015/public-api.js +0 -57
- package/esm2015/rules/app.rules.js +0 -420
- package/esm2015/rules/navigation.rules.js +0 -164
- package/esm2015/rules/repository.rules.js +0 -32
- package/esm2015/rules/user.rules.js +0 -32
- package/esm2015/store/actions/app.actions.js +0 -130
- package/esm2015/store/actions/library.actions.js +0 -63
- package/esm2015/store/actions/node.actions.js +0 -161
- package/esm2015/store/actions/router.actions.js +0 -56
- package/esm2015/store/actions/search.actions.js +0 -54
- package/esm2015/store/actions/snackbar.actions.js +0 -61
- package/esm2015/store/actions/template.actions.js +0 -54
- package/esm2015/store/actions/upload.actions.js +0 -49
- package/esm2015/store/actions/viewer.actions.js +0 -75
- package/esm2015/store/effects/dialog.effects.js +0 -49
- package/esm2015/store/effects/router.effects.js +0 -132
- package/esm2015/store/effects/snackbar.effects.js +0 -90
- package/esm2015/store/public-api.js +0 -46
- package/esm2015/store/selectors/app.selectors.js +0 -80
- package/esm2015/store/store.module.js +0 -37
- package/fesm2015/alfresco-aca-shared-rules.js.map +0 -1
- package/fesm2015/alfresco-aca-shared-store.js.map +0 -1
- package/fesm2015/alfresco-aca-shared.js +0 -2167
- package/fesm2015/alfresco-aca-shared.js.map +0 -1
- package/rules/alfresco-aca-shared-rules.metadata.json +0 -1
- package/rules/package.json +0 -11
- package/store/alfresco-aca-shared-store.metadata.json +0 -1
- package/store/package.json +0 -11
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Alfresco Example Content Application
|
|
4
|
+
*
|
|
5
|
+
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
+
*
|
|
7
|
+
* This file is part of the Alfresco Example Content Application.
|
|
8
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
+
* provided under the following open source license terms:
|
|
11
|
+
*
|
|
12
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
+
* (at your option) any later version.
|
|
16
|
+
*
|
|
17
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
+
* GNU Lesser General Public License for more details.
|
|
21
|
+
*
|
|
22
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
+
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
+
*/
|
|
25
|
+
import { DocumentListComponent, ShareDataRow } from '@alfresco/adf-content-services';
|
|
26
|
+
import { ShowHeaderMode } from '@alfresco/adf-core';
|
|
27
|
+
import { ContentActionRef, DocumentListPresetRef, SelectionState } from '@alfresco/adf-extensions';
|
|
28
|
+
import { OnDestroy, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
29
|
+
import { Store } from '@ngrx/store';
|
|
30
|
+
import { MinimalNodeEntity, MinimalNodeEntryEntity, NodePaging } from '@alfresco/js-api';
|
|
31
|
+
import { Observable, Subject, Subscription } from 'rxjs';
|
|
32
|
+
import { DocumentBasePageService } from './document-base-page.service';
|
|
33
|
+
import { AppStore, ViewNodeExtras } from '@alfresco/aca-shared/store';
|
|
34
|
+
import { AppExtensionService } from '../../services/app.extension.service';
|
|
35
|
+
import * as i0 from "@angular/core";
|
|
36
|
+
export declare abstract class PageComponent implements OnInit, OnDestroy, OnChanges {
|
|
37
|
+
protected store: Store<AppStore>;
|
|
38
|
+
protected extensions: AppExtensionService;
|
|
39
|
+
protected content: DocumentBasePageService;
|
|
40
|
+
onDestroy$: Subject<boolean>;
|
|
41
|
+
documentList: DocumentListComponent;
|
|
42
|
+
title: string;
|
|
43
|
+
infoDrawerOpened$: Observable<boolean>;
|
|
44
|
+
node: MinimalNodeEntryEntity;
|
|
45
|
+
selection: SelectionState;
|
|
46
|
+
documentDisplayMode$: Observable<string>;
|
|
47
|
+
sharedPreviewUrl$: Observable<string>;
|
|
48
|
+
actions: Array<ContentActionRef>;
|
|
49
|
+
viewerToolbarActions: Array<ContentActionRef>;
|
|
50
|
+
canUpdateNode: boolean;
|
|
51
|
+
canUpload: boolean;
|
|
52
|
+
nodeResult: NodePaging;
|
|
53
|
+
showHeader: ShowHeaderMode;
|
|
54
|
+
filterSorting: string;
|
|
55
|
+
protected subscriptions: Subscription[];
|
|
56
|
+
protected constructor(store: Store<AppStore>, extensions: AppExtensionService, content: DocumentBasePageService);
|
|
57
|
+
ngOnInit(): void;
|
|
58
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
59
|
+
ngOnDestroy(): void;
|
|
60
|
+
showPreview(node: MinimalNodeEntity, extras?: ViewNodeExtras): void;
|
|
61
|
+
getParentNodeId(): string;
|
|
62
|
+
imageResolver(row: ShareDataRow): string | null;
|
|
63
|
+
reload(selectedNode?: MinimalNodeEntity): void;
|
|
64
|
+
trackByActionId(_: number, action: ContentActionRef): string;
|
|
65
|
+
trackById(_: number, obj: {
|
|
66
|
+
id: string;
|
|
67
|
+
}): string;
|
|
68
|
+
trackByColumnId(_: number, obj: DocumentListPresetRef): string;
|
|
69
|
+
private isOutletPreviewUrl;
|
|
70
|
+
onSortingChanged(event: any): void;
|
|
71
|
+
onAllFilterCleared(): void;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
|
|
73
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PageComponent, never, never, {}, {}, never, never, false>;
|
|
74
|
+
}
|
|
@@ -1,27 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
25
2
|
export declare class GenericErrorComponent {
|
|
26
3
|
text: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenericErrorComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GenericErrorComponent, "aca-generic-error", never, { "text": "text"; }, {}, never, never, false>;
|
|
27
6
|
}
|
|
@@ -1,26 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./generic-error.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/icon";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
25
6
|
export declare class GenericErrorModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenericErrorModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GenericErrorModule, [typeof i1.GenericErrorComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.TranslateModule], [typeof i1.GenericErrorComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GenericErrorModule>;
|
|
26
10
|
}
|
|
@@ -29,6 +29,8 @@ import { Store } from '@ngrx/store';
|
|
|
29
29
|
import { AppExtensionService } from '../../services/app.extension.service';
|
|
30
30
|
import { ContentApiService } from '../../services/content-api.service';
|
|
31
31
|
import { Subject } from 'rxjs';
|
|
32
|
+
import { ThemePalette } from '@angular/material/core';
|
|
33
|
+
import * as i0 from "@angular/core";
|
|
32
34
|
export declare class InfoDrawerComponent implements OnChanges, OnInit, OnDestroy {
|
|
33
35
|
private store;
|
|
34
36
|
private contentApi;
|
|
@@ -40,13 +42,17 @@ export declare class InfoDrawerComponent implements OnChanges, OnInit, OnDestroy
|
|
|
40
42
|
tabs: Array<SidebarTabRef>;
|
|
41
43
|
actions: Array<ContentActionRef>;
|
|
42
44
|
onDestroy$: Subject<boolean>;
|
|
45
|
+
preventFromClosing: boolean;
|
|
43
46
|
onEscapeKeyboardEvent(): void;
|
|
44
47
|
constructor(store: Store<any>, contentApi: ContentApiService, extensions: AppExtensionService);
|
|
45
48
|
ngOnInit(): void;
|
|
46
49
|
ngOnDestroy(): void;
|
|
47
50
|
ngOnChanges(): void;
|
|
48
51
|
trackByActionId(_: number, action: ContentActionRef): string;
|
|
52
|
+
getEntryColor(entry: any): ThemePalette;
|
|
49
53
|
private close;
|
|
50
54
|
private loadNodeInfo;
|
|
51
55
|
private setDisplayNode;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InfoDrawerComponent, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InfoDrawerComponent, "aca-info-drawer", never, { "nodeId": "nodeId"; "node": "node"; }, {}, never, never, false>;
|
|
52
58
|
}
|
|
@@ -1,26 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./info-drawer.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@alfresco/adf-core";
|
|
5
|
+
import * as i4 from "@angular/material/progress-bar";
|
|
6
|
+
import * as i5 from "@alfresco/adf-extensions";
|
|
7
|
+
import * as i6 from "../tool-bar/shared-toolbar.module";
|
|
8
|
+
import * as i7 from "@ngx-translate/core";
|
|
25
9
|
export declare class SharedInfoDrawerModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedInfoDrawerModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedInfoDrawerModule, [typeof i1.InfoDrawerComponent], [typeof i2.CommonModule, typeof i3.InfoDrawerModule, typeof i4.MatProgressBarModule, typeof i5.ExtensionsModule, typeof i3.ToolbarModule, typeof i6.SharedToolbarModule, typeof i7.TranslateModule], [typeof i1.InfoDrawerComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedInfoDrawerModule>;
|
|
26
13
|
}
|
|
@@ -1,33 +1,8 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
25
|
-
import { OnInit } from '@angular/core';
|
|
26
1
|
import { NodeEntry } from '@alfresco/js-api';
|
|
27
|
-
|
|
28
|
-
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LockedByComponent {
|
|
29
4
|
node: NodeEntry;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
5
|
+
get text(): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LockedByComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LockedByComponent, "aca-locked-by", never, { "node": "node"; }, {}, never, never, false>;
|
|
33
8
|
}
|
|
@@ -1,26 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./locked-by.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/icon";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
25
6
|
export declare class LockedByModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LockedByModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LockedByModule, [typeof i1.LockedByComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.TranslateModule], [typeof i1.LockedByComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LockedByModule>;
|
|
26
10
|
}
|
|
@@ -1,27 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
25
2
|
export declare class PageLayoutContentComponent {
|
|
26
3
|
scrollable: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageLayoutContentComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageLayoutContentComponent, "aca-page-layout-content", never, { "scrollable": "scrollable"; }, {}, never, ["*"], false>;
|
|
27
6
|
}
|
|
@@ -1,26 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
25
2
|
export declare class PageLayoutErrorComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageLayoutErrorComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageLayoutErrorComponent, "aca-page-layout-error", never, {}, {}, never, ["*"], false>;
|
|
26
5
|
}
|
|
@@ -1,26 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
25
2
|
export declare class PageLayoutHeaderComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageLayoutHeaderComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageLayoutHeaderComponent, "aca-page-layout-header", never, {}, {}, never, ["*"], false>;
|
|
26
5
|
}
|
|
@@ -1,27 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
25
2
|
export declare class PageLayoutComponent {
|
|
26
3
|
hasError: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageLayoutComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageLayoutComponent, "aca-page-layout", never, { "hasError": "hasError"; }, {}, never, ["aca-page-layout-header", "aca-page-layout-error", "aca-page-layout-content"], false>;
|
|
27
6
|
}
|
|
@@ -1,26 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./page-layout-content.component";
|
|
3
|
+
import * as i2 from "./page-layout-error.component";
|
|
4
|
+
import * as i3 from "./page-layout-header.component";
|
|
5
|
+
import * as i4 from "./page-layout.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
25
7
|
export declare class PageLayoutModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageLayoutModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PageLayoutModule, [typeof i1.PageLayoutContentComponent, typeof i2.PageLayoutErrorComponent, typeof i3.PageLayoutHeaderComponent, typeof i4.PageLayoutComponent], [typeof i5.CommonModule], [typeof i1.PageLayoutContentComponent, typeof i2.PageLayoutErrorComponent, typeof i3.PageLayoutHeaderComponent, typeof i4.PageLayoutComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PageLayoutModule>;
|
|
26
11
|
}
|
|
@@ -1,26 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./toolbar-button/toolbar-button.component";
|
|
3
|
+
import * as i2 from "./toolbar-action/toolbar-action.component";
|
|
4
|
+
import * as i3 from "./toolbar-menu-item/toolbar-menu-item.component";
|
|
5
|
+
import * as i4 from "./toolbar-menu/toolbar-menu.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@alfresco/adf-core";
|
|
8
|
+
import * as i7 from "@alfresco/adf-extensions";
|
|
25
9
|
export declare class SharedToolbarModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedToolbarModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedToolbarModule, [typeof i1.ToolbarButtonComponent, typeof i2.ToolbarActionComponent, typeof i3.ToolbarMenuItemComponent, typeof i4.ToolbarMenuComponent], [typeof i5.CommonModule, typeof i6.CoreModule, typeof i7.ExtensionsModule], [typeof i1.ToolbarButtonComponent, typeof i2.ToolbarActionComponent, typeof i3.ToolbarMenuItemComponent, typeof i4.ToolbarMenuComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedToolbarModule>;
|
|
26
13
|
}
|
|
@@ -24,11 +24,16 @@
|
|
|
24
24
|
*/
|
|
25
25
|
import { DoCheck, ChangeDetectorRef } from '@angular/core';
|
|
26
26
|
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
27
|
+
import { ToolbarButtonType } from '../toolbar-button/toolbar-button.component';
|
|
28
|
+
import { ThemePalette } from '@angular/material/core';
|
|
29
|
+
import * as i0 from "@angular/core";
|
|
27
30
|
export declare class ToolbarActionComponent implements DoCheck {
|
|
28
31
|
private cd;
|
|
29
|
-
type:
|
|
30
|
-
color:
|
|
32
|
+
type: ToolbarButtonType;
|
|
33
|
+
color: ThemePalette;
|
|
31
34
|
actionRef: ContentActionRef;
|
|
32
35
|
constructor(cd: ChangeDetectorRef);
|
|
33
36
|
ngDoCheck(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarActionComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarActionComponent, "aca-toolbar-action", never, { "type": "type"; "color": "color"; "actionRef": "actionRef"; }, {}, never, never, false>;
|
|
34
39
|
}
|
|
@@ -1,29 +1,7 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
25
1
|
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
26
2
|
import { AppExtensionService } from '../../../services/app.extension.service';
|
|
3
|
+
import { ThemePalette } from '@angular/material/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
27
5
|
export declare enum ToolbarButtonType {
|
|
28
6
|
ICON_BUTTON = "icon-button",
|
|
29
7
|
MENU_ITEM = "menu-item"
|
|
@@ -31,9 +9,11 @@ export declare enum ToolbarButtonType {
|
|
|
31
9
|
export declare class ToolbarButtonComponent {
|
|
32
10
|
private extensions;
|
|
33
11
|
type: ToolbarButtonType;
|
|
34
|
-
color:
|
|
12
|
+
color: ThemePalette;
|
|
35
13
|
actionRef: ContentActionRef;
|
|
36
14
|
constructor(extensions: AppExtensionService);
|
|
37
15
|
runAction(): void;
|
|
38
16
|
private hasClickAction;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarButtonComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarButtonComponent, "app-toolbar-button", never, { "type": "type"; "color": "color"; "actionRef": "actionRef"; }, {}, never, never, false>;
|
|
39
19
|
}
|
|
@@ -22,15 +22,21 @@
|
|
|
22
22
|
* You should have received a copy of the GNU Lesser General Public License
|
|
23
23
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
24
|
*/
|
|
25
|
+
import { QueryList, AfterViewInit } from '@angular/core';
|
|
25
26
|
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
26
|
-
import { MatMenuTrigger } from '@angular/material/menu';
|
|
27
|
-
|
|
27
|
+
import { MatMenu, MatMenuTrigger } from '@angular/material/menu';
|
|
28
|
+
import { ThemePalette } from '@angular/material/core';
|
|
29
|
+
import { ToolbarMenuItemComponent } from '../toolbar-menu-item/toolbar-menu-item.component';
|
|
30
|
+
import * as i0 from "@angular/core";
|
|
31
|
+
export declare class ToolbarMenuComponent implements AfterViewInit {
|
|
28
32
|
actionRef: ContentActionRef;
|
|
29
|
-
color:
|
|
33
|
+
color: ThemePalette;
|
|
30
34
|
matTrigger: MatMenuTrigger;
|
|
35
|
+
menu: MatMenu;
|
|
36
|
+
toolbarMenuItems: QueryList<ToolbarMenuItemComponent>;
|
|
31
37
|
handleKeydownEscape(): void;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
ngAfterViewInit(): void;
|
|
39
|
+
trackByActionId(_: number, obj: ContentActionRef): string;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarMenuComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarMenuComponent, "app-toolbar-menu", never, { "actionRef": "actionRef"; "color": "color"; }, {}, never, never, false>;
|
|
36
42
|
}
|
|
@@ -1,36 +1,16 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Alfresco Example Content Application
|
|
4
|
-
*
|
|
5
|
-
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
|
6
|
-
*
|
|
7
|
-
* This file is part of the Alfresco Example Content Application.
|
|
8
|
-
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
|
-
* provided under the following open source license terms:
|
|
11
|
-
*
|
|
12
|
-
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
13
|
-
* it under the terms of the GNU Lesser General Public License as published by
|
|
14
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
-
* (at your option) any later version.
|
|
16
|
-
*
|
|
17
|
-
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
-
* GNU Lesser General Public License for more details.
|
|
21
|
-
*
|
|
22
|
-
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
24
|
-
*/
|
|
25
1
|
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
26
2
|
import { AppExtensionService } from '../../../services/app.extension.service';
|
|
3
|
+
import { MatMenuItem } from '@angular/material/menu';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
27
5
|
export declare class ToolbarMenuItemComponent {
|
|
28
6
|
private extensions;
|
|
29
7
|
actionRef: ContentActionRef;
|
|
8
|
+
menuId?: string;
|
|
9
|
+
menuItem: MatMenuItem;
|
|
30
10
|
constructor(extensions: AppExtensionService);
|
|
31
11
|
runAction(): void;
|
|
32
12
|
private hasClickAction;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
13
|
+
trackByActionId(_: number, obj: ContentActionRef): string;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarMenuItemComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarMenuItemComponent, "app-toolbar-menu-item", never, { "actionRef": "actionRef"; "menuId": "menuId"; }, {}, never, never, false>;
|
|
36
16
|
}
|