@alfresco/aca-shared 2.0.1 → 4.0.0-4895381898
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 +7 -6
- package/esm2020/lib/adf-extensions/extensions-data-loader.guard.mjs +73 -0
- package/esm2020/lib/components/document-base-page/document-base-page.component.mjs +176 -0
- package/esm2020/lib/components/document-base-page/document-base-page.service.mjs +26 -0
- package/esm2020/lib/components/generic-error/generic-error.component.mjs +41 -0
- package/esm2020/lib/components/generic-error/generic-error.module.mjs +44 -0
- package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +123 -0
- package/esm2020/lib/components/info-drawer/shared-info-drawer.module.mjs +46 -0
- package/esm2020/lib/components/locked-by/locked-by.component.mjs +52 -0
- package/esm2020/lib/components/locked-by/locked-by.module.mjs +44 -0
- package/esm2020/lib/components/open-in-app/open-in-app.component.mjs +58 -0
- package/esm2020/lib/components/page-layout/page-layout-content.component.mjs +48 -0
- package/esm2020/lib/components/page-layout/page-layout-error.component.mjs +40 -0
- package/esm2020/lib/components/page-layout/page-layout-header.component.mjs +40 -0
- package/esm2020/lib/components/page-layout/page-layout.component.mjs +57 -0
- package/esm2020/lib/components/page-layout/page-layout.module.mjs +47 -0
- package/esm2020/lib/components/tool-bar/shared-toolbar.module.mjs +46 -0
- package/esm2020/lib/components/tool-bar/toolbar-action/toolbar-action.component.mjs +59 -0
- package/esm2020/lib/components/tool-bar/toolbar-button/toolbar-button.component.mjs +69 -0
- package/esm2020/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.mjs +82 -0
- package/esm2020/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.mjs +68 -0
- package/esm2020/lib/directives/contextmenu/contextmenu.directive.mjs +106 -0
- package/esm2020/lib/directives/contextmenu/contextmenu.module.mjs +42 -0
- package/esm2020/lib/directives/pagination.directive.mjs +54 -0
- package/esm2020/lib/directives/shared.directives.module.mjs +41 -0
- package/esm2020/lib/models/modal-configuration.mjs +25 -0
- package/esm2020/lib/models/types.mjs +25 -0
- package/esm2020/lib/models/viewer.rules.mjs +25 -0
- package/esm2020/lib/routing/shared.guard.mjs +48 -0
- package/esm2020/lib/services/aca-file-auto-download.service.mjs +55 -0
- package/esm2020/lib/services/aca-mobile-app-switcher.service.mjs +107 -0
- package/esm2020/lib/services/alfresco-office-extension.service.mjs +63 -0
- package/esm2020/lib/services/app-hook.service.mjs +87 -0
- package/esm2020/lib/services/app.extension.service.mjs +444 -0
- package/esm2020/lib/services/app.service.mjs +223 -0
- package/esm2020/lib/services/content-api.service.mjs +266 -0
- package/esm2020/lib/services/node-permission.service.mjs +89 -0
- package/esm2020/lib/services/router.extension.service.mjs +105 -0
- package/esm2020/lib/shared.module.mjs +54 -0
- package/esm2020/lib/testing/lib-testing-module.mjs +115 -0
- package/esm2020/lib/utils/node.utils.mjs +42 -0
- package/esm2020/public-api.mjs +62 -0
- package/esm2020/rules/app.rules.mjs +526 -0
- package/esm2020/rules/navigation.rules.mjs +156 -0
- package/esm2020/rules/public-api.mjs +28 -0
- package/esm2020/rules/repository.rules.mjs +33 -0
- package/esm2020/rules/user.rules.mjs +29 -0
- package/esm2020/store/actions/app-action-types.mjs +46 -0
- package/esm2020/store/actions/app.actions.mjs +128 -0
- package/esm2020/store/actions/context-menu-action-types.mjs +28 -0
- package/esm2020/store/actions/contextmenu.actions.mjs +31 -0
- package/esm2020/store/actions/library.actions.mjs +63 -0
- package/esm2020/store/actions/metadata-aspect.actions.mjs +31 -0
- package/esm2020/store/actions/node.actions.mjs +188 -0
- package/esm2020/store/actions/router-action-types.mjs +32 -0
- package/esm2020/store/actions/router.actions.mjs +54 -0
- package/esm2020/store/actions/search.actions.mjs +41 -0
- package/esm2020/store/actions/snackbar.actions.mjs +57 -0
- package/esm2020/store/actions/template-action-types.mjs +31 -0
- package/esm2020/store/actions/template.actions.mjs +47 -0
- package/esm2020/store/actions/upload.actions.mjs +49 -0
- package/esm2020/store/actions/viewer.actions.mjs +81 -0
- package/esm2020/store/effects/dialog.effects.mjs +44 -0
- package/esm2020/store/effects/router.effects.mjs +116 -0
- package/esm2020/store/effects/snackbar.effects.mjs +85 -0
- package/esm2020/store/models/delete-status.model.mjs +25 -0
- package/esm2020/store/models/deleted-node-info.model.mjs +25 -0
- package/esm2020/store/models/modal-configuration.mjs +25 -0
- package/esm2020/store/models/node-info.model.mjs +25 -0
- package/esm2020/store/models/search-option.model.mjs +30 -0
- package/esm2020/store/public-api.mjs +49 -0
- package/esm2020/store/selectors/app.selectors.mjs +56 -0
- package/esm2020/store/states/app.state.mjs +26 -0
- package/esm2020/store/store.module.mjs +42 -0
- package/fesm2015/alfresco-aca-shared-rules.mjs +775 -0
- package/fesm2015/alfresco-aca-shared-rules.mjs.map +1 -0
- package/fesm2015/{alfresco-aca-shared-store.js → alfresco-aca-shared-store.mjs} +395 -396
- package/fesm2015/alfresco-aca-shared-store.mjs.map +1 -0
- package/fesm2015/alfresco-aca-shared.mjs +2902 -0
- package/fesm2015/alfresco-aca-shared.mjs.map +1 -0
- package/{fesm2015/alfresco-aca-shared-rules.js → fesm2020/alfresco-aca-shared-rules.mjs} +274 -180
- package/fesm2020/alfresco-aca-shared-rules.mjs.map +1 -0
- package/fesm2020/alfresco-aca-shared-store.mjs +1376 -0
- package/fesm2020/alfresco-aca-shared-store.mjs.map +1 -0
- package/fesm2020/alfresco-aca-shared.mjs +3049 -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 +9 -7
- package/lib/components/document-base-page/document-base-page.component.d.ts +76 -0
- package/lib/components/document-base-page/document-base-page.service.d.ts +28 -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 +11 -6
- 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/open-in-app/open-in-app.component.d.ts +16 -0
- 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 +18 -7
- package/lib/components/page-layout/page-layout.module.d.ts +12 -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 +16 -8
- package/lib/components/tool-bar/toolbar-button/toolbar-button.component.d.ts +10 -25
- package/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.d.ts +23 -13
- package/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.d.ts +7 -27
- package/lib/directives/contextmenu/contextmenu.directive.d.ts +10 -7
- package/lib/directives/contextmenu/contextmenu.module.d.ts +5 -24
- package/lib/directives/pagination.directive.d.ts +8 -6
- package/lib/directives/shared.directives.module.d.ts +6 -24
- package/lib/models/modal-configuration.d.ts +26 -0
- package/lib/models/types.d.ts +5 -6
- package/lib/models/viewer.rules.d.ts +9 -6
- package/lib/routing/shared.guard.d.ts +5 -26
- package/lib/services/aca-file-auto-download.service.d.ts +13 -0
- package/lib/services/aca-mobile-app-switcher.service.d.ts +48 -0
- 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 +51 -12
- 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 +15 -6
- package/lib/testing/lib-testing-module.d.ts +41 -0
- package/lib/utils/node.utils.d.ts +5 -6
- package/package.json +60 -18
- package/public-api.d.ts +12 -7
- package/rules/app.rules.d.ts +128 -36
- package/rules/{alfresco-aca-shared-rules.d.ts → index.d.ts} +1 -0
- package/rules/navigation.rules.d.ts +12 -12
- package/rules/public-api.d.ts +5 -6
- package/rules/repository.rules.d.ts +7 -7
- package/rules/user.rules.d.ts +6 -7
- package/store/actions/app-action-types.d.ts +44 -0
- package/store/actions/app.actions.d.ts +24 -29
- package/store/actions/context-menu-action-types.d.ts +26 -0
- package/store/actions/contextmenu.actions.d.ts +6 -9
- package/store/actions/library.actions.d.ts +8 -7
- package/store/actions/metadata-aspect.actions.d.ts +5 -6
- package/store/actions/node.actions.d.ts +38 -13
- package/store/actions/router-action-types.d.ts +30 -0
- package/store/actions/router.actions.d.ts +10 -12
- package/store/actions/search.actions.d.ts +11 -19
- package/store/actions/snackbar.actions.d.ts +13 -17
- package/store/actions/template-action-types.d.ts +29 -0
- package/store/actions/template.actions.d.ts +6 -12
- package/store/actions/upload.actions.d.ts +8 -7
- package/store/actions/viewer.actions.d.ts +11 -6
- package/store/effects/dialog.effects.d.ts +9 -7
- package/store/effects/router.effects.d.ts +11 -29
- package/store/effects/snackbar.effects.d.ts +11 -9
- package/store/{alfresco-aca-shared-store.d.ts → index.d.ts} +1 -0
- package/store/models/delete-status.model.d.ts +5 -6
- package/store/models/deleted-node-info.model.d.ts +5 -6
- package/store/models/modal-configuration.d.ts +26 -0
- package/store/models/node-info.model.d.ts +5 -6
- package/store/models/search-option.model.d.ts +5 -6
- package/store/public-api.d.ts +9 -6
- package/store/selectors/app.selectors.d.ts +10 -9
- package/store/states/app.state.d.ts +12 -9
- 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/generic-error/generic-error.component.js +0 -44
- package/esm2015/lib/components/generic-error/generic-error.module.js +0 -39
- package/esm2015/lib/components/info-drawer/info-drawer.component.js +0 -105
- package/esm2015/lib/components/info-drawer/shared-info-drawer.module.js +0 -41
- 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/models/types.js +0 -25
- package/esm2015/lib/models/viewer.rules.js +0 -25
- 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/node-permission.service.js +0 -88
- package/esm2015/lib/services/router.extension.service.js +0 -110
- package/esm2015/lib/shared.module.js +0 -44
- package/esm2015/lib/utils/node.utils.js +0 -34
- 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/public-api.js +0 -29
- 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/contextmenu.actions.js +0 -35
- package/esm2015/store/actions/library.actions.js +0 -63
- package/esm2015/store/actions/metadata-aspect.actions.js +0 -32
- 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/models/delete-status.model.js +0 -25
- package/esm2015/store/models/deleted-node-info.model.js +0 -25
- package/esm2015/store/models/node-info.model.js +0 -25
- package/esm2015/store/models/search-option.model.js +0 -31
- package/esm2015/store/public-api.js +0 -46
- package/esm2015/store/selectors/app.selectors.js +0 -80
- package/esm2015/store/states/app.state.js +0 -25
- 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/lib/routing/app.routes.strategy.d.ts +0 -40
- 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
- /package/{esm2015/alfresco-aca-shared.js → esm2020/alfresco-aca-shared.mjs} +0 -0
- /package/{esm2015/rules/alfresco-aca-shared-rules.js → esm2020/rules/alfresco-aca-shared-rules.mjs} +0 -0
- /package/{esm2015/store/alfresco-aca-shared-store.js → esm2020/store/alfresco-aca-shared-store.mjs} +0 -0
|
@@ -1,27 +1,3 @@
|
|
|
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 { Store } from '@ngrx/store';
|
|
26
2
|
import { MatIconRegistry } from '@angular/material/icon';
|
|
27
3
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
@@ -33,31 +9,34 @@ import { RepositoryInfo, NodeEntry } from '@alfresco/js-api';
|
|
|
33
9
|
import { ViewerRules } from '../models/viewer.rules';
|
|
34
10
|
import { SettingsGroupRef } from '../models/types';
|
|
35
11
|
import { NodePermissionService } from '../services/node-permission.service';
|
|
12
|
+
import { ModalConfiguration } from '../models/modal-configuration';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
36
14
|
export declare class AppExtensionService implements RuleContext {
|
|
37
15
|
auth: AuthenticationService;
|
|
38
16
|
protected store: Store<AppStore>;
|
|
39
17
|
protected loader: ExtensionLoaderService;
|
|
40
18
|
protected extensions: ExtensionService;
|
|
41
19
|
permissions: NodePermissionService;
|
|
42
|
-
|
|
20
|
+
appConfig: AppConfigService;
|
|
43
21
|
protected matIconRegistry: MatIconRegistry;
|
|
44
22
|
protected sanitizer: DomSanitizer;
|
|
45
23
|
protected logger: LogService;
|
|
46
24
|
private _references;
|
|
47
|
-
headerActions: Array<ContentActionRef>;
|
|
48
|
-
toolbarActions: Array<ContentActionRef>;
|
|
49
|
-
viewerToolbarActions: Array<ContentActionRef>;
|
|
50
|
-
sharedLinkViewerToolbarActions: Array<ContentActionRef>;
|
|
51
|
-
contextMenuActions: Array<ContentActionRef>;
|
|
52
|
-
openWithActions: Array<ContentActionRef>;
|
|
53
|
-
createActions: Array<ContentActionRef>;
|
|
54
25
|
navbar: Array<NavBarGroupRef>;
|
|
55
26
|
sidebarTabs: Array<SidebarTabRef>;
|
|
56
|
-
sidebarActions: Array<ContentActionRef>;
|
|
57
27
|
contentMetadata: any;
|
|
28
|
+
search: any;
|
|
58
29
|
viewerRules: ViewerRules;
|
|
59
|
-
userActions: Array<ContentActionRef>;
|
|
60
30
|
settingGroups: Array<SettingsGroupRef>;
|
|
31
|
+
private _headerActions;
|
|
32
|
+
private _toolbarActions;
|
|
33
|
+
private _viewerToolbarActions;
|
|
34
|
+
private _sharedLinkViewerToolbarActions;
|
|
35
|
+
private _contextMenuActions;
|
|
36
|
+
private _openWithActions;
|
|
37
|
+
private _createActions;
|
|
38
|
+
private _mainActions;
|
|
39
|
+
private _sidebarActions;
|
|
61
40
|
documentListPresets: {
|
|
62
41
|
files: Array<DocumentListPresetRef>;
|
|
63
42
|
libraries: Array<DocumentListPresetRef>;
|
|
@@ -73,8 +52,8 @@ export declare class AppExtensionService implements RuleContext {
|
|
|
73
52
|
profile: ProfileState;
|
|
74
53
|
repository: RepositoryInfo;
|
|
75
54
|
withCredentials: boolean;
|
|
76
|
-
languagePicker: boolean;
|
|
77
55
|
references$: Observable<ExtensionRef[]>;
|
|
56
|
+
config: ExtensionConfig;
|
|
78
57
|
constructor(auth: AuthenticationService, store: Store<AppStore>, loader: ExtensionLoaderService, extensions: ExtensionService, permissions: NodePermissionService, appConfig: AppConfigService, matIconRegistry: MatIconRegistry, sanitizer: DomSanitizer, logger: LogService);
|
|
79
58
|
load(): Promise<void>;
|
|
80
59
|
setup(config: ExtensionConfig): void;
|
|
@@ -83,6 +62,7 @@ export declare class AppExtensionService implements RuleContext {
|
|
|
83
62
|
protected getDocumentListPreset(config: ExtensionConfig, key: string): DocumentListPresetRef[];
|
|
84
63
|
getApplicationNavigation(elements: any): Array<NavBarGroupRef>;
|
|
85
64
|
loadContentMetadata(config: ExtensionConfig): any;
|
|
65
|
+
loadSearchForms(config: ExtensionConfig): any;
|
|
86
66
|
filterDisabled(object: Array<{
|
|
87
67
|
disabled: boolean;
|
|
88
68
|
}> | {
|
|
@@ -90,23 +70,28 @@ export declare class AppExtensionService implements RuleContext {
|
|
|
90
70
|
}): any;
|
|
91
71
|
getNavigationGroups(): Array<NavBarGroupRef>;
|
|
92
72
|
getSidebarTabs(): Array<SidebarTabRef>;
|
|
93
|
-
|
|
73
|
+
private setActionDisabledFromRule;
|
|
74
|
+
getCreateActions(): Observable<Array<ContentActionRef>>;
|
|
75
|
+
getMainAction(): Observable<ContentActionRef>;
|
|
94
76
|
private buildMenu;
|
|
95
77
|
private getAllowedActions;
|
|
96
|
-
getAllowedSidebarActions(): Array<ContentActionRef
|
|
97
|
-
getAllowedToolbarActions(): Array<ContentActionRef
|
|
98
|
-
getViewerToolbarActions(): Array<ContentActionRef
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
78
|
+
getAllowedSidebarActions(): Observable<Array<ContentActionRef>>;
|
|
79
|
+
getAllowedToolbarActions(): Observable<Array<ContentActionRef>>;
|
|
80
|
+
getViewerToolbarActions(): Observable<Array<ContentActionRef>>;
|
|
81
|
+
getOpenWithActions(): Observable<Array<ContentActionRef>>;
|
|
82
|
+
getSharedLinkViewerToolbarActions(): Observable<Array<ContentActionRef>>;
|
|
83
|
+
getHeaderActions(): Observable<Array<ContentActionRef>>;
|
|
84
|
+
getAllowedContextMenuActions(): Observable<Array<ContentActionRef>>;
|
|
103
85
|
getSettingsGroups(): Array<SettingsGroupRef>;
|
|
104
86
|
copyAction(action: ContentActionRef): ContentActionRef;
|
|
105
|
-
filterVisible(action: ContentActionRef | SettingsGroupRef | SidebarTabRef): boolean;
|
|
87
|
+
filterVisible(action: ContentActionRef | SettingsGroupRef | SidebarTabRef | DocumentListPresetRef): boolean;
|
|
106
88
|
isViewerExtensionDisabled(extension: any): boolean;
|
|
107
|
-
runActionById(id: string): void;
|
|
89
|
+
runActionById(id: string, additionalPayload?: ModalConfiguration): void;
|
|
108
90
|
isRuleDefined(ruleId: string): boolean;
|
|
109
91
|
evaluateRule(ruleId: string, ...args: any[]): boolean;
|
|
110
92
|
getEvaluator(key: string): RuleEvaluator;
|
|
111
93
|
canPreviewNode(node: NodeEntry): boolean;
|
|
94
|
+
canShowViewerNavigation(node: NodeEntry): boolean;
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppExtensionService, never>;
|
|
96
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AppExtensionService>;
|
|
112
97
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
* Alfresco Example Content Application
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
3
|
*
|
|
5
|
-
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
6
5
|
*
|
|
7
6
|
* This file is part of the Alfresco Example Content Application.
|
|
8
7
|
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail.
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
9
|
* provided under the following open source license terms:
|
|
11
10
|
*
|
|
12
11
|
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
@@ -16,24 +15,64 @@
|
|
|
16
15
|
*
|
|
17
16
|
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
17
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
19
|
* GNU Lesser General Public License for more details.
|
|
21
20
|
*
|
|
22
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
*
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
24
23
|
*/
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { SearchQueryBuilderService } from '@alfresco/adf-content-services';
|
|
29
|
-
|
|
24
|
+
import { OnDestroy } from '@angular/core';
|
|
25
|
+
import { AuthenticationService, AppConfigService, AlfrescoApiService, PageTitleService, UserPreferencesService } from '@alfresco/adf-core';
|
|
26
|
+
import { Observable, Subject } from 'rxjs';
|
|
27
|
+
import { GroupService, SearchQueryBuilderService, SharedLinksApiService, UploadService, FileUploadErrorEvent } from '@alfresco/adf-content-services';
|
|
28
|
+
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
29
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
30
|
+
import { AppState, AppStore } from '@alfresco/aca-shared/store';
|
|
31
|
+
import { ContentApiService } from './content-api.service';
|
|
32
|
+
import { RouterExtensionService } from './router.extension.service';
|
|
33
|
+
import { Store } from '@ngrx/store';
|
|
34
|
+
import { AcaMobileAppSwitcherService } from './aca-mobile-app-switcher.service';
|
|
35
|
+
import * as i0 from "@angular/core";
|
|
36
|
+
export declare class AppService implements OnDestroy {
|
|
37
|
+
preferencesService: UserPreferencesService;
|
|
38
|
+
private authenticationService;
|
|
39
|
+
private store;
|
|
40
|
+
private router;
|
|
41
|
+
private activatedRoute;
|
|
30
42
|
private config;
|
|
43
|
+
private pageTitle;
|
|
44
|
+
private alfrescoApiService;
|
|
45
|
+
private uploadService;
|
|
46
|
+
private routerExtensionService;
|
|
47
|
+
private contentApi;
|
|
48
|
+
private sharedLinksApiService;
|
|
49
|
+
private groupService;
|
|
50
|
+
private overlayContainer;
|
|
51
|
+
private initialAppState;
|
|
52
|
+
private acaMobileAppSwitcherService;
|
|
31
53
|
private ready;
|
|
32
54
|
ready$: Observable<boolean>;
|
|
55
|
+
pageHeading$: Observable<string>;
|
|
56
|
+
appNavNarMode$: Subject<'collapsed' | 'expanded'>;
|
|
57
|
+
toggleAppNavBar$: Subject<unknown>;
|
|
58
|
+
hideSidenavConditions: string[];
|
|
59
|
+
minimizeSidenavConditions: string[];
|
|
60
|
+
onDestroy$: Subject<boolean>;
|
|
33
61
|
/**
|
|
34
62
|
* Whether `withCredentials` mode is enabled.
|
|
35
63
|
* Usually means that `Kerberos` mode is used.
|
|
36
64
|
*/
|
|
37
65
|
get withCredentials(): boolean;
|
|
38
|
-
constructor(
|
|
66
|
+
constructor(preferencesService: UserPreferencesService, authenticationService: AuthenticationService, store: Store<AppStore>, router: Router, activatedRoute: ActivatedRoute, config: AppConfigService, pageTitle: PageTitleService, alfrescoApiService: AlfrescoApiService, uploadService: UploadService, routerExtensionService: RouterExtensionService, contentApi: ContentApiService, sharedLinksApiService: SharedLinksApiService, groupService: GroupService, overlayContainer: OverlayContainer, initialAppState: AppState, searchQueryBuilderService: SearchQueryBuilderService, acaMobileAppSwitcherService: AcaMobileAppSwitcherService);
|
|
67
|
+
ngOnDestroy(): void;
|
|
68
|
+
init(): void;
|
|
69
|
+
private loadRepositoryStatus;
|
|
70
|
+
private loadUserProfile;
|
|
71
|
+
loadAppSettings(): void;
|
|
72
|
+
onFileUploadedError(error: FileUploadErrorEvent): void;
|
|
73
|
+
private loadCustomCss;
|
|
74
|
+
private loadCustomWebFont;
|
|
75
|
+
private createLink;
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppService, never>;
|
|
77
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AppService>;
|
|
39
78
|
}
|
|
@@ -1,36 +1,34 @@
|
|
|
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 { AlfrescoApiService, UserPreferencesService } from '@alfresco/adf-core';
|
|
26
2
|
import { Observable } from 'rxjs';
|
|
27
|
-
import { MinimalNodeEntity, NodePaging, Node, DeletedNodesPaging, PersonEntry, NodeEntry, DiscoveryEntry, FavoritePaging, SharedLinkPaging, SearchRequest, ResultSetPaging, SiteBody, SiteEntry, FavoriteEntry } from '@alfresco/js-api';
|
|
3
|
+
import { MinimalNodeEntity, NodePaging, Node, DeletedNodesPaging, PersonEntry, NodeEntry, DiscoveryEntry, FavoritePaging, SharedLinkPaging, SearchRequest, ResultSetPaging, SiteBody, SiteEntry, FavoriteEntry, NodesApi, TrashcanApi, SharedlinksApi, DiscoveryApi, FavoritesApi, ContentApi, SitesApi, SearchApi, PeopleApi, VersionsApi, DirectAccessUrlEntry, VersionPaging } from '@alfresco/js-api';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
28
5
|
export declare class ContentApiService {
|
|
29
6
|
private api;
|
|
30
7
|
private preferences;
|
|
8
|
+
private _nodesApi;
|
|
9
|
+
get nodesApi(): NodesApi;
|
|
10
|
+
private _trashcanApi;
|
|
11
|
+
get trashcanApi(): TrashcanApi;
|
|
12
|
+
private _sharedLinksApi;
|
|
13
|
+
get sharedLinksApi(): SharedlinksApi;
|
|
14
|
+
private _discoveryApi;
|
|
15
|
+
get discoveryApi(): DiscoveryApi;
|
|
16
|
+
private _favoritesApi;
|
|
17
|
+
get favoritesApi(): FavoritesApi;
|
|
18
|
+
private _contentApi;
|
|
19
|
+
get contentApi(): ContentApi;
|
|
20
|
+
private _sitesApi;
|
|
21
|
+
get sitesApi(): SitesApi;
|
|
22
|
+
private _searchApi;
|
|
23
|
+
get searchApi(): SearchApi;
|
|
24
|
+
private _peopleApi;
|
|
25
|
+
get peopleApi(): PeopleApi;
|
|
26
|
+
private _versionsApi;
|
|
27
|
+
get versionsApi(): VersionsApi;
|
|
31
28
|
constructor(api: AlfrescoApiService, preferences: UserPreferencesService);
|
|
32
29
|
/**
|
|
33
30
|
* Moves a node to the trashcan.
|
|
31
|
+
*
|
|
34
32
|
* @param nodeId ID of the target node
|
|
35
33
|
* @param options Optional parameters supported by JS-API
|
|
36
34
|
* @returns Empty result that notifies when the deletion is complete
|
|
@@ -40,6 +38,7 @@ export declare class ContentApiService {
|
|
|
40
38
|
}): Observable<void>;
|
|
41
39
|
/**
|
|
42
40
|
* Gets the stored information about a node.
|
|
41
|
+
*
|
|
43
42
|
* @param nodeId ID of the target node
|
|
44
43
|
* @param options Optional parameters supported by JS-API
|
|
45
44
|
* @returns Node information
|
|
@@ -48,6 +47,7 @@ export declare class ContentApiService {
|
|
|
48
47
|
getNodeInfo(nodeId: string, options?: any): Observable<Node>;
|
|
49
48
|
/**
|
|
50
49
|
* Gets the items contained in a folder node.
|
|
50
|
+
*
|
|
51
51
|
* @param nodeId ID of the target node
|
|
52
52
|
* @param options Optional parameters supported by JS-API
|
|
53
53
|
* @returns List of child items from the folder
|
|
@@ -59,7 +59,9 @@ export declare class ContentApiService {
|
|
|
59
59
|
purgeDeletedNode(nodeId: string): Observable<any>;
|
|
60
60
|
/**
|
|
61
61
|
* Gets information about a user identified by their username.
|
|
62
|
+
*
|
|
62
63
|
* @param personId ID of the target user
|
|
64
|
+
* @param options Api options
|
|
63
65
|
* @returns User information
|
|
64
66
|
*/
|
|
65
67
|
getPerson(personId: string, options?: {
|
|
@@ -71,6 +73,7 @@ export declare class ContentApiService {
|
|
|
71
73
|
* @param nodeId The id of the node to be copied
|
|
72
74
|
* @param targetParentId The id of the folder-node where the node have to be copied to
|
|
73
75
|
* @param name The new name for the copy that would be added on the destination folder
|
|
76
|
+
* @param opts Api options
|
|
74
77
|
*/
|
|
75
78
|
copyNode(nodeId: string, targetParentId: string, name?: string, opts?: {
|
|
76
79
|
include?: Array<string>;
|
|
@@ -78,6 +81,7 @@ export declare class ContentApiService {
|
|
|
78
81
|
}): Observable<NodeEntry>;
|
|
79
82
|
/**
|
|
80
83
|
* Gets product information for Content Services.
|
|
84
|
+
*
|
|
81
85
|
* @returns ProductVersionModel containing product details
|
|
82
86
|
*/
|
|
83
87
|
getRepositoryInformation(): Observable<DiscoveryEntry>;
|
|
@@ -110,4 +114,9 @@ export declare class ContentApiService {
|
|
|
110
114
|
addFavorite(nodes: Array<MinimalNodeEntity>): Observable<FavoriteEntry>;
|
|
111
115
|
removeFavorite(nodes: Array<MinimalNodeEntity>): Observable<any>;
|
|
112
116
|
unlockNode(nodeId: string, opts?: any): Promise<MinimalNodeEntity>;
|
|
117
|
+
getNodeVersions(nodeId: string, opts?: any): Observable<VersionPaging>;
|
|
118
|
+
requestNodeDirectAccessUrl(nodeId: string): Observable<DirectAccessUrlEntry>;
|
|
119
|
+
requestVersionDirectAccessUrl(nodeId: string, versionId: string): Observable<DirectAccessUrlEntry>;
|
|
120
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentApiService, never>;
|
|
121
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContentApiService>;
|
|
113
122
|
}
|
|
@@ -1,29 +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
|
-
*/
|
|
25
1
|
import { NodePermissions } from '@alfresco/adf-extensions';
|
|
26
2
|
import { Node, SharedLinkEntry, NodeEntry } from '@alfresco/js-api';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
27
4
|
export declare type PermissionSource = NodeEntry | SharedLinkEntry | Node;
|
|
28
5
|
export interface PermissionOptions {
|
|
29
6
|
target?: string;
|
|
@@ -35,4 +12,6 @@ export declare class NodePermissionService implements NodePermissions {
|
|
|
35
12
|
check(source: PermissionSource | PermissionSource[], permissions: string[], options?: PermissionOptions): boolean;
|
|
36
13
|
private isOperationAllowed;
|
|
37
14
|
private getAllowableOperations;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NodePermissionService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NodePermissionService>;
|
|
38
17
|
}
|
|
@@ -1,30 +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 { ExtensionService } from '@alfresco/adf-extensions';
|
|
26
2
|
import { ExtensionRoute } from '../models/types';
|
|
27
3
|
import { Router } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
28
5
|
export declare class RouterExtensionService {
|
|
29
6
|
private router;
|
|
30
7
|
protected extensions: ExtensionService;
|
|
@@ -39,4 +16,6 @@ export declare class RouterExtensionService {
|
|
|
39
16
|
private extensionRouteHasChild;
|
|
40
17
|
private convertExtensionRouteToRoute;
|
|
41
18
|
private findRoute;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouterExtensionService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RouterExtensionService>;
|
|
42
21
|
}
|
package/lib/shared.module.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
* Alfresco Example Content Application
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
3
|
*
|
|
5
|
-
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
6
5
|
*
|
|
7
6
|
* This file is part of the Alfresco Example Content Application.
|
|
8
7
|
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail.
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
9
|
* provided under the following open source license terms:
|
|
11
10
|
*
|
|
12
11
|
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
@@ -16,13 +15,23 @@
|
|
|
16
15
|
*
|
|
17
16
|
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
17
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
19
|
* GNU Lesser General Public License for more details.
|
|
21
20
|
*
|
|
22
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
*
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
24
23
|
*/
|
|
25
24
|
import { ModuleWithProviders } from '@angular/core';
|
|
25
|
+
import * as i0 from "@angular/core";
|
|
26
|
+
import * as i1 from "./components/open-in-app/open-in-app.component";
|
|
27
|
+
import * as i2 from "./directives/contextmenu/contextmenu.module";
|
|
28
|
+
import * as i3 from "@angular/material/button";
|
|
29
|
+
import * as i4 from "@angular/material/icon";
|
|
30
|
+
import * as i5 from "@angular/material/dialog";
|
|
31
|
+
import * as i6 from "@ngx-translate/core";
|
|
26
32
|
export declare class SharedModule {
|
|
27
33
|
static forRoot(): ModuleWithProviders<SharedModule>;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.OpenInAppComponent], [typeof i2.ContextActionsModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i5.MatDialogModule, typeof i6.TranslateModule], [typeof i2.ContextActionsModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i5.MatDialogModule, typeof i6.TranslateModule]>;
|
|
36
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
28
37
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/platform-browser/animations";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/common/http";
|
|
5
|
+
import * as i4 from "@angular/router/testing";
|
|
6
|
+
import * as i5 from "@ngrx/store";
|
|
7
|
+
import * as i6 from "@ngrx/effects";
|
|
8
|
+
import * as i7 from "@ngx-translate/core";
|
|
9
|
+
import * as i8 from "@alfresco/adf-core";
|
|
10
|
+
export declare const initialState: {
|
|
11
|
+
app: {
|
|
12
|
+
appName: string;
|
|
13
|
+
logoPath: string;
|
|
14
|
+
sharedUrl: string;
|
|
15
|
+
user: {
|
|
16
|
+
isAdmin: any;
|
|
17
|
+
id: any;
|
|
18
|
+
firstName: string;
|
|
19
|
+
lastName: string;
|
|
20
|
+
};
|
|
21
|
+
selection: {
|
|
22
|
+
nodes: any[];
|
|
23
|
+
libraries: any[];
|
|
24
|
+
isEmpty: boolean;
|
|
25
|
+
count: number;
|
|
26
|
+
};
|
|
27
|
+
navigation: {
|
|
28
|
+
currentFolder: any;
|
|
29
|
+
};
|
|
30
|
+
infoDrawerOpened: boolean;
|
|
31
|
+
infoDrawerMetadataAspect: string;
|
|
32
|
+
showFacetFilter: boolean;
|
|
33
|
+
documentDisplayMode: string;
|
|
34
|
+
repository: any;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export declare class LibTestingModule {
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibTestingModule, never>;
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LibTestingModule, never, [typeof i1.NoopAnimationsModule, typeof i2.CommonModule, typeof i3.HttpClientModule, typeof i4.RouterTestingModule, typeof i5.StoreModule, typeof i6.EffectsRootModule, typeof i7.TranslateModule, typeof i8.PipeModule], never>;
|
|
40
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LibTestingModule>;
|
|
41
|
+
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
* Alfresco Example Content Application
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
3
|
*
|
|
5
|
-
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
6
5
|
*
|
|
7
6
|
* This file is part of the Alfresco Example Content Application.
|
|
8
7
|
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9
|
-
* the paid license agreement will prevail.
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
10
9
|
* provided under the following open source license terms:
|
|
11
10
|
*
|
|
12
11
|
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
@@ -16,11 +15,11 @@
|
|
|
16
15
|
*
|
|
17
16
|
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
18
17
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
19
|
* GNU Lesser General Public License for more details.
|
|
21
20
|
*
|
|
22
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
23
|
-
*
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
24
23
|
*/
|
|
25
24
|
import { Node } from '@alfresco/js-api';
|
|
26
25
|
export declare function isLocked(node: {
|
package/package.json
CHANGED
|
@@ -1,26 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/aca-shared",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-4895381898",
|
|
4
|
+
"commit": "",
|
|
5
|
+
"license": "LGPL-3.0",
|
|
4
6
|
"peerDependencies": {
|
|
5
|
-
"@
|
|
6
|
-
"@
|
|
7
|
-
"@
|
|
8
|
-
"@
|
|
9
|
-
"@
|
|
10
|
-
"@
|
|
11
|
-
"@
|
|
12
|
-
"
|
|
13
|
-
"@
|
|
7
|
+
"@alfresco/adf-content-services": "6.1.0-4893268711",
|
|
8
|
+
"@alfresco/adf-core": "6.1.0-4893268711",
|
|
9
|
+
"@alfresco/adf-extensions": "6.1.0-4893268711",
|
|
10
|
+
"@alfresco/js-api": "6.0.0",
|
|
11
|
+
"@angular/animations": "^14.1.3",
|
|
12
|
+
"@angular/common": "^14.1.3",
|
|
13
|
+
"@angular/compiler": "^14.1.3",
|
|
14
|
+
"@angular/core": "^14.1.3",
|
|
15
|
+
"@angular/flex-layout": "^14.0.0-beta.40",
|
|
16
|
+
"@angular/forms": "^14.1.3",
|
|
17
|
+
"@angular/material": "^14.1.3",
|
|
18
|
+
"@ngrx/effects": "^14.2.0",
|
|
19
|
+
"@ngrx/router-store": "^14.2.0",
|
|
20
|
+
"@ngrx/store": "^14.2.0",
|
|
21
|
+
"@ngx-translate/core": "^14.0.0",
|
|
22
|
+
"rxjs": "6.6.6",
|
|
23
|
+
"zone.js": "0.11.8"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "https://github.com/Alfresco/alfresco-content-app.git"
|
|
28
|
+
},
|
|
29
|
+
"module": "fesm2015/alfresco-aca-shared.mjs",
|
|
30
|
+
"es2020": "fesm2020/alfresco-aca-shared.mjs",
|
|
31
|
+
"esm2020": "esm2020/alfresco-aca-shared.mjs",
|
|
32
|
+
"fesm2020": "fesm2020/alfresco-aca-shared.mjs",
|
|
33
|
+
"fesm2015": "fesm2015/alfresco-aca-shared.mjs",
|
|
34
|
+
"typings": "index.d.ts",
|
|
35
|
+
"exports": {
|
|
36
|
+
"./package.json": {
|
|
37
|
+
"default": "./package.json"
|
|
38
|
+
},
|
|
39
|
+
".": {
|
|
40
|
+
"types": "./index.d.ts",
|
|
41
|
+
"esm2020": "./esm2020/alfresco-aca-shared.mjs",
|
|
42
|
+
"es2020": "./fesm2020/alfresco-aca-shared.mjs",
|
|
43
|
+
"es2015": "./fesm2015/alfresco-aca-shared.mjs",
|
|
44
|
+
"node": "./fesm2015/alfresco-aca-shared.mjs",
|
|
45
|
+
"default": "./fesm2020/alfresco-aca-shared.mjs"
|
|
46
|
+
},
|
|
47
|
+
"./rules": {
|
|
48
|
+
"types": "./rules/index.d.ts",
|
|
49
|
+
"esm2020": "./esm2020/rules/alfresco-aca-shared-rules.mjs",
|
|
50
|
+
"es2020": "./fesm2020/alfresco-aca-shared-rules.mjs",
|
|
51
|
+
"es2015": "./fesm2015/alfresco-aca-shared-rules.mjs",
|
|
52
|
+
"node": "./fesm2015/alfresco-aca-shared-rules.mjs",
|
|
53
|
+
"default": "./fesm2020/alfresco-aca-shared-rules.mjs"
|
|
54
|
+
},
|
|
55
|
+
"./store": {
|
|
56
|
+
"types": "./store/index.d.ts",
|
|
57
|
+
"esm2020": "./esm2020/store/alfresco-aca-shared-store.mjs",
|
|
58
|
+
"es2020": "./fesm2020/alfresco-aca-shared-store.mjs",
|
|
59
|
+
"es2015": "./fesm2015/alfresco-aca-shared-store.mjs",
|
|
60
|
+
"node": "./fesm2015/alfresco-aca-shared-store.mjs",
|
|
61
|
+
"default": "./fesm2020/alfresco-aca-shared-store.mjs"
|
|
62
|
+
}
|
|
14
63
|
},
|
|
15
|
-
"main": "bundles/alfresco-aca-shared.umd.js",
|
|
16
|
-
"module": "fesm2015/alfresco-aca-shared.js",
|
|
17
|
-
"es2015": "fesm2015/alfresco-aca-shared.js",
|
|
18
|
-
"esm2015": "esm2015/alfresco-aca-shared.js",
|
|
19
|
-
"fesm2015": "fesm2015/alfresco-aca-shared.js",
|
|
20
|
-
"typings": "alfresco-aca-shared.d.ts",
|
|
21
|
-
"metadata": "alfresco-aca-shared.metadata.json",
|
|
22
64
|
"sideEffects": false,
|
|
23
65
|
"dependencies": {
|
|
24
66
|
"tslib": "^2.0.0"
|
|
25
67
|
}
|
|
26
|
-
}
|
|
68
|
+
}
|