@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
|
@@ -0,0 +1,1376 @@
|
|
|
1
|
+
import * as i2 from '@ngrx/effects';
|
|
2
|
+
import { createEffect, ofType, EffectsModule } from '@ngrx/effects';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { Injectable, InjectionToken, NgModule } from '@angular/core';
|
|
5
|
+
import { map } from 'rxjs/operators';
|
|
6
|
+
import * as i2$1 from '@angular/material/dialog';
|
|
7
|
+
import * as i3 from '@angular/router';
|
|
8
|
+
import * as i1 from '@ngrx/store';
|
|
9
|
+
import { createSelector } from '@ngrx/store';
|
|
10
|
+
import * as i4 from '@angular/common';
|
|
11
|
+
import * as i4$1 from '@alfresco/adf-core';
|
|
12
|
+
import { SnackbarContentComponent } from '@alfresco/adf-core';
|
|
13
|
+
import * as i3$1 from '@angular/material/snack-bar';
|
|
14
|
+
|
|
15
|
+
/*!
|
|
16
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
17
|
+
*
|
|
18
|
+
* Alfresco Example Content Application
|
|
19
|
+
*
|
|
20
|
+
* This file is part of the Alfresco Example Content Application.
|
|
21
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
22
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
23
|
+
* provided under the following open source license terms:
|
|
24
|
+
*
|
|
25
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
26
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
27
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
28
|
+
* (at your option) any later version.
|
|
29
|
+
*
|
|
30
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
31
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
32
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
33
|
+
* GNU Lesser General Public License for more details.
|
|
34
|
+
*
|
|
35
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
36
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
37
|
+
*/
|
|
38
|
+
var AppActionTypes;
|
|
39
|
+
(function (AppActionTypes) {
|
|
40
|
+
AppActionTypes["SetSettingsParameter"] = "SET_SETTINGS_PARAMETER";
|
|
41
|
+
AppActionTypes["SetInitialState"] = "SET_INITIAL_STATE";
|
|
42
|
+
AppActionTypes["SetCurrentFolder"] = "SET_CURRENT_FOLDER";
|
|
43
|
+
AppActionTypes["SetCurrentVersion"] = "SET_CURRENT_VERSION";
|
|
44
|
+
AppActionTypes["SetCurrentUrl"] = "SET_CURRENT_URL";
|
|
45
|
+
AppActionTypes["SetUserProfile"] = "SET_USER_PROFILE";
|
|
46
|
+
AppActionTypes["SetRepositoryInfo"] = "SET_REPOSITORY_INFO";
|
|
47
|
+
AppActionTypes["ToggleInfoDrawer"] = "TOGGLE_INFO_DRAWER";
|
|
48
|
+
AppActionTypes["ToggleDocumentDisplayMode"] = "TOGGLE_DOCUMENT_DISPLAY_MODE";
|
|
49
|
+
AppActionTypes["Logout"] = "LOGOUT";
|
|
50
|
+
AppActionTypes["ReloadDocumentList"] = "RELOAD_DOCUMENT_LIST";
|
|
51
|
+
AppActionTypes["ResetSelection"] = "RESET_SELECTION";
|
|
52
|
+
AppActionTypes["SetInfoDrawerState"] = "SET_INFO_DRAWER_STATE";
|
|
53
|
+
AppActionTypes["SetInfoDrawerMetadataAspect"] = "SET_INFO_DRAWER_METADATA_ASPECT";
|
|
54
|
+
AppActionTypes["CloseModalDialogs"] = "CLOSE_MODAL_DIALOGS";
|
|
55
|
+
AppActionTypes["SetFileUploadingDialog"] = "SET_FILE_UPLOADING_DIALOG";
|
|
56
|
+
AppActionTypes["ShowInfoDrawerPreview"] = "SHOW_INFO_DRAWER_PREVIEW";
|
|
57
|
+
AppActionTypes["SetInfoDrawerPreviewState"] = "SET_INFO_DRAWER_PREVIEW_STATE";
|
|
58
|
+
AppActionTypes["ShowLoaderAction"] = "SHOW_LOADER";
|
|
59
|
+
})(AppActionTypes || (AppActionTypes = {}));
|
|
60
|
+
|
|
61
|
+
/*!
|
|
62
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
63
|
+
*
|
|
64
|
+
* Alfresco Example Content Application
|
|
65
|
+
*
|
|
66
|
+
* This file is part of the Alfresco Example Content Application.
|
|
67
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
68
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
69
|
+
* provided under the following open source license terms:
|
|
70
|
+
*
|
|
71
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
72
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
73
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
74
|
+
* (at your option) any later version.
|
|
75
|
+
*
|
|
76
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
77
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
78
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
79
|
+
* GNU Lesser General Public License for more details.
|
|
80
|
+
*
|
|
81
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
82
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
83
|
+
*/
|
|
84
|
+
var ContextMenuActionTypes;
|
|
85
|
+
(function (ContextMenuActionTypes) {
|
|
86
|
+
ContextMenuActionTypes["ContextMenu"] = "CONTEXT_MENU";
|
|
87
|
+
})(ContextMenuActionTypes || (ContextMenuActionTypes = {}));
|
|
88
|
+
|
|
89
|
+
/*!
|
|
90
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
91
|
+
*
|
|
92
|
+
* Alfresco Example Content Application
|
|
93
|
+
*
|
|
94
|
+
* This file is part of the Alfresco Example Content Application.
|
|
95
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
96
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
97
|
+
* provided under the following open source license terms:
|
|
98
|
+
*
|
|
99
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
100
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
101
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
102
|
+
* (at your option) any later version.
|
|
103
|
+
*
|
|
104
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
105
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
106
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
107
|
+
* GNU Lesser General Public License for more details.
|
|
108
|
+
*
|
|
109
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
110
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
111
|
+
*/
|
|
112
|
+
var RouterActionTypes;
|
|
113
|
+
(function (RouterActionTypes) {
|
|
114
|
+
RouterActionTypes["NavigateUrl"] = "NAVIGATE_URL";
|
|
115
|
+
RouterActionTypes["NavigateRoute"] = "NAVIGATE_ROUTE";
|
|
116
|
+
RouterActionTypes["NavigateFolder"] = "NAVIGATE_FOLDER";
|
|
117
|
+
RouterActionTypes["NavigateParentFolder"] = "NAVIGATE_PARENT_FOLDER";
|
|
118
|
+
RouterActionTypes["NavigateToPreviousPage"] = "NAVIGATE_TO_PREVIOUS_PAGE";
|
|
119
|
+
})(RouterActionTypes || (RouterActionTypes = {}));
|
|
120
|
+
|
|
121
|
+
/*!
|
|
122
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
123
|
+
*
|
|
124
|
+
* Alfresco Example Content Application
|
|
125
|
+
*
|
|
126
|
+
* This file is part of the Alfresco Example Content Application.
|
|
127
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
128
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
129
|
+
* provided under the following open source license terms:
|
|
130
|
+
*
|
|
131
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
132
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
133
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
134
|
+
* (at your option) any later version.
|
|
135
|
+
*
|
|
136
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
137
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
138
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
139
|
+
* GNU Lesser General Public License for more details.
|
|
140
|
+
*
|
|
141
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
142
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
143
|
+
*/
|
|
144
|
+
var TemplateActionTypes;
|
|
145
|
+
(function (TemplateActionTypes) {
|
|
146
|
+
TemplateActionTypes["FileFromTemplate"] = "FILE_FROM_TEMPLATE";
|
|
147
|
+
TemplateActionTypes["FolderFromTemplate"] = "FOLDER_FROM_TEMPLATE";
|
|
148
|
+
TemplateActionTypes["CreateFromTemplate"] = "CREATE_FROM_TEMPLATE";
|
|
149
|
+
TemplateActionTypes["CreateFromTemplateSuccess"] = "CREATE_FROM_TEMPLATE_SUCCESS";
|
|
150
|
+
})(TemplateActionTypes || (TemplateActionTypes = {}));
|
|
151
|
+
|
|
152
|
+
/*!
|
|
153
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
154
|
+
*
|
|
155
|
+
* Alfresco Example Content Application
|
|
156
|
+
*
|
|
157
|
+
* This file is part of the Alfresco Example Content Application.
|
|
158
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
159
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
160
|
+
* provided under the following open source license terms:
|
|
161
|
+
*
|
|
162
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
163
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
164
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
165
|
+
* (at your option) any later version.
|
|
166
|
+
*
|
|
167
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
168
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
169
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
170
|
+
* GNU Lesser General Public License for more details.
|
|
171
|
+
*
|
|
172
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
173
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
174
|
+
*/
|
|
175
|
+
class SetSettingsParameterAction {
|
|
176
|
+
constructor(payload) {
|
|
177
|
+
this.payload = payload;
|
|
178
|
+
this.type = AppActionTypes.SetSettingsParameter;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
class SetInitialStateAction {
|
|
182
|
+
constructor(payload) {
|
|
183
|
+
this.payload = payload;
|
|
184
|
+
this.type = AppActionTypes.SetInitialState;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
class SetCurrentFolderAction {
|
|
188
|
+
constructor(payload) {
|
|
189
|
+
this.payload = payload;
|
|
190
|
+
this.type = AppActionTypes.SetCurrentFolder;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
class SetCurrentNodeVersionAction {
|
|
194
|
+
constructor(payload) {
|
|
195
|
+
this.payload = payload;
|
|
196
|
+
this.type = AppActionTypes.SetCurrentVersion;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
class SetCurrentUrlAction {
|
|
200
|
+
constructor(payload) {
|
|
201
|
+
this.payload = payload;
|
|
202
|
+
this.type = AppActionTypes.SetCurrentUrl;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
class SetUserProfileAction {
|
|
206
|
+
constructor(payload) {
|
|
207
|
+
this.payload = payload;
|
|
208
|
+
this.type = AppActionTypes.SetUserProfile;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
class ToggleInfoDrawerAction {
|
|
212
|
+
constructor() {
|
|
213
|
+
this.type = AppActionTypes.ToggleInfoDrawer;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
class ToggleDocumentDisplayMode {
|
|
217
|
+
constructor() {
|
|
218
|
+
this.type = AppActionTypes.ToggleDocumentDisplayMode;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
class LogoutAction {
|
|
222
|
+
constructor() {
|
|
223
|
+
this.type = AppActionTypes.Logout;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
class ReloadDocumentListAction {
|
|
227
|
+
constructor(payload) {
|
|
228
|
+
this.payload = payload;
|
|
229
|
+
this.type = AppActionTypes.ReloadDocumentList;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
class ResetSelectionAction {
|
|
233
|
+
constructor(payload) {
|
|
234
|
+
this.payload = payload;
|
|
235
|
+
this.type = AppActionTypes.ResetSelection;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
class SetInfoDrawerStateAction {
|
|
239
|
+
constructor(payload) {
|
|
240
|
+
this.payload = payload;
|
|
241
|
+
this.type = AppActionTypes.SetInfoDrawerState;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
class CloseModalDialogsAction {
|
|
245
|
+
constructor() {
|
|
246
|
+
this.type = AppActionTypes.CloseModalDialogs;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
class SetRepositoryInfoAction {
|
|
250
|
+
constructor(payload) {
|
|
251
|
+
this.payload = payload;
|
|
252
|
+
this.type = AppActionTypes.SetRepositoryInfo;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
class SetFileUploadingDialogAction {
|
|
256
|
+
constructor(payload) {
|
|
257
|
+
this.payload = payload;
|
|
258
|
+
this.type = AppActionTypes.SetFileUploadingDialog;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
class ShowInfoDrawerPreviewAction {
|
|
262
|
+
constructor() {
|
|
263
|
+
this.type = AppActionTypes.ShowInfoDrawerPreview;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
class SetInfoDrawerPreviewStateAction {
|
|
267
|
+
constructor(payload) {
|
|
268
|
+
this.payload = payload;
|
|
269
|
+
this.type = AppActionTypes.SetInfoDrawerPreviewState;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
class ShowLoaderAction {
|
|
273
|
+
constructor(payload) {
|
|
274
|
+
this.payload = payload;
|
|
275
|
+
this.type = AppActionTypes.ShowLoaderAction;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/*!
|
|
280
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
281
|
+
*
|
|
282
|
+
* Alfresco Example Content Application
|
|
283
|
+
*
|
|
284
|
+
* This file is part of the Alfresco Example Content Application.
|
|
285
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
286
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
287
|
+
* provided under the following open source license terms:
|
|
288
|
+
*
|
|
289
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
290
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
291
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
292
|
+
* (at your option) any later version.
|
|
293
|
+
*
|
|
294
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
295
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
296
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
297
|
+
* GNU Lesser General Public License for more details.
|
|
298
|
+
*
|
|
299
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
300
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
301
|
+
*/
|
|
302
|
+
var LibraryActionTypes;
|
|
303
|
+
(function (LibraryActionTypes) {
|
|
304
|
+
LibraryActionTypes["Delete"] = "DELETE_LIBRARY";
|
|
305
|
+
LibraryActionTypes["Create"] = "CREATE_LIBRARY";
|
|
306
|
+
LibraryActionTypes["Navigate"] = "NAVIGATE_LIBRARY";
|
|
307
|
+
LibraryActionTypes["Update"] = "UPDATE_LIBRARY";
|
|
308
|
+
LibraryActionTypes["Leave"] = "LEAVE_LIBRARY";
|
|
309
|
+
})(LibraryActionTypes || (LibraryActionTypes = {}));
|
|
310
|
+
class DeleteLibraryAction {
|
|
311
|
+
constructor(payload) {
|
|
312
|
+
this.payload = payload;
|
|
313
|
+
this.type = LibraryActionTypes.Delete;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
class CreateLibraryAction {
|
|
317
|
+
constructor() {
|
|
318
|
+
this.type = LibraryActionTypes.Create;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
class NavigateLibraryAction {
|
|
322
|
+
constructor(payload, route) {
|
|
323
|
+
this.payload = payload;
|
|
324
|
+
this.route = route;
|
|
325
|
+
this.type = LibraryActionTypes.Navigate;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
class UpdateLibraryAction {
|
|
329
|
+
constructor(payload) {
|
|
330
|
+
this.payload = payload;
|
|
331
|
+
this.type = LibraryActionTypes.Update;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
class LeaveLibraryAction {
|
|
335
|
+
constructor(payload, configuration) {
|
|
336
|
+
this.payload = payload;
|
|
337
|
+
this.configuration = configuration;
|
|
338
|
+
this.type = LibraryActionTypes.Leave;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/*!
|
|
343
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
344
|
+
*
|
|
345
|
+
* Alfresco Example Content Application
|
|
346
|
+
*
|
|
347
|
+
* This file is part of the Alfresco Example Content Application.
|
|
348
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
349
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
350
|
+
* provided under the following open source license terms:
|
|
351
|
+
*
|
|
352
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
353
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
354
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
355
|
+
* (at your option) any later version.
|
|
356
|
+
*
|
|
357
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
358
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
359
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
360
|
+
* GNU Lesser General Public License for more details.
|
|
361
|
+
*
|
|
362
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
363
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
364
|
+
*/
|
|
365
|
+
var NodeActionTypes;
|
|
366
|
+
(function (NodeActionTypes) {
|
|
367
|
+
NodeActionTypes["SetSelection"] = "SET_SELECTED_NODES";
|
|
368
|
+
NodeActionTypes["Delete"] = "DELETE_NODES";
|
|
369
|
+
NodeActionTypes["UndoDelete"] = "UNDO_DELETE_NODES";
|
|
370
|
+
NodeActionTypes["RestoreDeleted"] = "RESTORE_DELETED_NODES";
|
|
371
|
+
NodeActionTypes["PurgeDeleted"] = "PURGE_DELETED_NODES";
|
|
372
|
+
NodeActionTypes["Download"] = "DOWNLOAD_NODES";
|
|
373
|
+
NodeActionTypes["CreateFolder"] = "CREATE_FOLDER";
|
|
374
|
+
NodeActionTypes["EditFolder"] = "EDIT_FOLDER";
|
|
375
|
+
NodeActionTypes["Share"] = "SHARE_NODE";
|
|
376
|
+
NodeActionTypes["Unshare"] = "UNSHARE_NODES";
|
|
377
|
+
NodeActionTypes["Copy"] = "COPY_NODES";
|
|
378
|
+
NodeActionTypes["Move"] = "MOVE_NODES";
|
|
379
|
+
NodeActionTypes["ManagePermissions"] = "MANAGE_PERMISSIONS";
|
|
380
|
+
NodeActionTypes["PrintFile"] = "PRINT_FILE";
|
|
381
|
+
NodeActionTypes["ManageVersions"] = "MANAGE_VERSIONS";
|
|
382
|
+
NodeActionTypes["EditOffline"] = "EDIT_OFFLINE";
|
|
383
|
+
NodeActionTypes["UnlockForWriting"] = "UNLOCK_WRITE_LOCK";
|
|
384
|
+
NodeActionTypes["AddFavorite"] = "ADD_FAVORITE";
|
|
385
|
+
NodeActionTypes["RemoveFavorite"] = "REMOVE_FAVORITE";
|
|
386
|
+
NodeActionTypes["ChangeAspects"] = "ASPECT_LIST";
|
|
387
|
+
NodeActionTypes["ExpandInfoDrawer"] = "EXPAND_INFO_DRAWER";
|
|
388
|
+
NodeActionTypes["ManageRules"] = "MANAGE_RULES";
|
|
389
|
+
})(NodeActionTypes || (NodeActionTypes = {}));
|
|
390
|
+
class SetSelectedNodesAction {
|
|
391
|
+
constructor(payload = []) {
|
|
392
|
+
this.payload = payload;
|
|
393
|
+
this.type = NodeActionTypes.SetSelection;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
class DeleteNodesAction {
|
|
397
|
+
constructor(payload = []) {
|
|
398
|
+
this.payload = payload;
|
|
399
|
+
this.type = NodeActionTypes.Delete;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
class UndoDeleteNodesAction {
|
|
403
|
+
constructor(payload = []) {
|
|
404
|
+
this.payload = payload;
|
|
405
|
+
this.type = NodeActionTypes.UndoDelete;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
class RestoreDeletedNodesAction {
|
|
409
|
+
constructor(payload) {
|
|
410
|
+
this.payload = payload;
|
|
411
|
+
this.type = NodeActionTypes.RestoreDeleted;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
class PurgeDeletedNodesAction {
|
|
415
|
+
constructor(payload) {
|
|
416
|
+
this.payload = payload;
|
|
417
|
+
this.type = NodeActionTypes.PurgeDeleted;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
class DownloadNodesAction {
|
|
421
|
+
constructor(payload = [], configuration) {
|
|
422
|
+
this.payload = payload;
|
|
423
|
+
this.configuration = configuration;
|
|
424
|
+
this.type = NodeActionTypes.Download;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
class CreateFolderAction {
|
|
428
|
+
constructor(payload) {
|
|
429
|
+
this.payload = payload;
|
|
430
|
+
this.type = NodeActionTypes.CreateFolder;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
class EditFolderAction {
|
|
434
|
+
constructor(payload, configuration) {
|
|
435
|
+
this.payload = payload;
|
|
436
|
+
this.configuration = configuration;
|
|
437
|
+
this.type = NodeActionTypes.EditFolder;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
class ShareNodeAction {
|
|
441
|
+
constructor(payload, configuration) {
|
|
442
|
+
this.payload = payload;
|
|
443
|
+
this.configuration = configuration;
|
|
444
|
+
this.type = NodeActionTypes.Share;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
class UnshareNodesAction {
|
|
448
|
+
constructor(payload) {
|
|
449
|
+
this.payload = payload;
|
|
450
|
+
this.type = NodeActionTypes.Unshare;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
class CopyNodesAction {
|
|
454
|
+
constructor(payload, configuration) {
|
|
455
|
+
this.payload = payload;
|
|
456
|
+
this.configuration = configuration;
|
|
457
|
+
this.type = NodeActionTypes.Copy;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
class MoveNodesAction {
|
|
461
|
+
constructor(payload, configuration) {
|
|
462
|
+
this.payload = payload;
|
|
463
|
+
this.configuration = configuration;
|
|
464
|
+
this.type = NodeActionTypes.Move;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
class ManagePermissionsAction {
|
|
468
|
+
constructor(payload) {
|
|
469
|
+
this.payload = payload;
|
|
470
|
+
this.type = NodeActionTypes.ManagePermissions;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
class ExpandInfoDrawerAction {
|
|
474
|
+
constructor(payload) {
|
|
475
|
+
this.payload = payload;
|
|
476
|
+
this.type = NodeActionTypes.ExpandInfoDrawer;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
class PrintFileAction {
|
|
480
|
+
constructor(payload) {
|
|
481
|
+
this.payload = payload;
|
|
482
|
+
this.type = NodeActionTypes.PrintFile;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
class ManageVersionsAction {
|
|
486
|
+
constructor(payload, configuration) {
|
|
487
|
+
this.payload = payload;
|
|
488
|
+
this.configuration = configuration;
|
|
489
|
+
this.type = NodeActionTypes.ManageVersions;
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
class EditOfflineAction {
|
|
493
|
+
constructor(payload) {
|
|
494
|
+
this.payload = payload;
|
|
495
|
+
this.type = NodeActionTypes.EditOffline;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
class UnlockWriteAction {
|
|
499
|
+
constructor(payload) {
|
|
500
|
+
this.payload = payload;
|
|
501
|
+
this.type = NodeActionTypes.UnlockForWriting;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
class AddFavoriteAction {
|
|
505
|
+
constructor(payload) {
|
|
506
|
+
this.payload = payload;
|
|
507
|
+
this.type = NodeActionTypes.AddFavorite;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
class RemoveFavoriteAction {
|
|
511
|
+
constructor(payload) {
|
|
512
|
+
this.payload = payload;
|
|
513
|
+
this.type = NodeActionTypes.RemoveFavorite;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
class ManageAspectsAction {
|
|
517
|
+
constructor(payload, configuration) {
|
|
518
|
+
this.payload = payload;
|
|
519
|
+
this.configuration = configuration;
|
|
520
|
+
this.type = NodeActionTypes.ChangeAspects;
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
class ManageRulesAction {
|
|
524
|
+
constructor(payload) {
|
|
525
|
+
this.payload = payload;
|
|
526
|
+
this.type = NodeActionTypes.ManageRules;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/*!
|
|
531
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
532
|
+
*
|
|
533
|
+
* Alfresco Example Content Application
|
|
534
|
+
*
|
|
535
|
+
* This file is part of the Alfresco Example Content Application.
|
|
536
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
537
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
538
|
+
* provided under the following open source license terms:
|
|
539
|
+
*
|
|
540
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
541
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
542
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
543
|
+
* (at your option) any later version.
|
|
544
|
+
*
|
|
545
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
546
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
547
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
548
|
+
* GNU Lesser General Public License for more details.
|
|
549
|
+
*
|
|
550
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
551
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
552
|
+
*/
|
|
553
|
+
class NavigateUrlAction {
|
|
554
|
+
constructor(payload) {
|
|
555
|
+
this.payload = payload;
|
|
556
|
+
this.type = RouterActionTypes.NavigateUrl;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
class NavigateRouteAction {
|
|
560
|
+
constructor(payload) {
|
|
561
|
+
this.payload = payload;
|
|
562
|
+
this.type = RouterActionTypes.NavigateRoute;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
class NavigateToFolder {
|
|
566
|
+
constructor(payload) {
|
|
567
|
+
this.payload = payload;
|
|
568
|
+
this.type = RouterActionTypes.NavigateFolder;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
class NavigateToParentFolder {
|
|
572
|
+
constructor(payload) {
|
|
573
|
+
this.payload = payload;
|
|
574
|
+
this.type = RouterActionTypes.NavigateParentFolder;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
class NavigateToPreviousPage {
|
|
578
|
+
constructor() {
|
|
579
|
+
this.type = RouterActionTypes.NavigateToPreviousPage;
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/*!
|
|
584
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
585
|
+
*
|
|
586
|
+
* Alfresco Example Content Application
|
|
587
|
+
*
|
|
588
|
+
* This file is part of the Alfresco Example Content Application.
|
|
589
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
590
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
591
|
+
* provided under the following open source license terms:
|
|
592
|
+
*
|
|
593
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
594
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
595
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
596
|
+
* (at your option) any later version.
|
|
597
|
+
*
|
|
598
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
599
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
600
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
601
|
+
* GNU Lesser General Public License for more details.
|
|
602
|
+
*
|
|
603
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
604
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
605
|
+
*/
|
|
606
|
+
var SearchActionTypes;
|
|
607
|
+
(function (SearchActionTypes) {
|
|
608
|
+
SearchActionTypes["Search"] = "SEARCH";
|
|
609
|
+
SearchActionTypes["SearchByTerm"] = "SEARCH_BY_TERM";
|
|
610
|
+
})(SearchActionTypes || (SearchActionTypes = {}));
|
|
611
|
+
class SearchAction {
|
|
612
|
+
constructor() {
|
|
613
|
+
this.type = SearchActionTypes.Search;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
class SearchByTermAction {
|
|
617
|
+
constructor(payload, searchOptions) {
|
|
618
|
+
this.payload = payload;
|
|
619
|
+
this.searchOptions = searchOptions;
|
|
620
|
+
this.type = SearchActionTypes.SearchByTerm;
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
/*!
|
|
625
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
626
|
+
*
|
|
627
|
+
* Alfresco Example Content Application
|
|
628
|
+
*
|
|
629
|
+
* This file is part of the Alfresco Example Content Application.
|
|
630
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
631
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
632
|
+
* provided under the following open source license terms:
|
|
633
|
+
*
|
|
634
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
635
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
636
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
637
|
+
* (at your option) any later version.
|
|
638
|
+
*
|
|
639
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
640
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
641
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
642
|
+
* GNU Lesser General Public License for more details.
|
|
643
|
+
*
|
|
644
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
645
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
646
|
+
*/
|
|
647
|
+
var SnackbarActionTypes;
|
|
648
|
+
(function (SnackbarActionTypes) {
|
|
649
|
+
SnackbarActionTypes["Info"] = "SNACKBAR_INFO";
|
|
650
|
+
SnackbarActionTypes["Warning"] = "SNACKBAR_WARNING";
|
|
651
|
+
SnackbarActionTypes["Error"] = "SNACKBAR_ERROR";
|
|
652
|
+
})(SnackbarActionTypes || (SnackbarActionTypes = {}));
|
|
653
|
+
class SnackbarUserAction {
|
|
654
|
+
constructor(title, action) {
|
|
655
|
+
this.title = title;
|
|
656
|
+
this.action = action;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
class SnackbarInfoAction {
|
|
660
|
+
constructor(payload, params) {
|
|
661
|
+
this.payload = payload;
|
|
662
|
+
this.params = params;
|
|
663
|
+
this.type = SnackbarActionTypes.Info;
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
class SnackbarWarningAction {
|
|
667
|
+
constructor(payload, params) {
|
|
668
|
+
this.payload = payload;
|
|
669
|
+
this.params = params;
|
|
670
|
+
this.type = SnackbarActionTypes.Warning;
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
class SnackbarErrorAction {
|
|
674
|
+
constructor(payload, params) {
|
|
675
|
+
this.payload = payload;
|
|
676
|
+
this.params = params;
|
|
677
|
+
this.type = SnackbarActionTypes.Error;
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/*!
|
|
682
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
683
|
+
*
|
|
684
|
+
* Alfresco Example Content Application
|
|
685
|
+
*
|
|
686
|
+
* This file is part of the Alfresco Example Content Application.
|
|
687
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
688
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
689
|
+
* provided under the following open source license terms:
|
|
690
|
+
*
|
|
691
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
692
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
693
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
694
|
+
* (at your option) any later version.
|
|
695
|
+
*
|
|
696
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
697
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
698
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
699
|
+
* GNU Lesser General Public License for more details.
|
|
700
|
+
*
|
|
701
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
702
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
703
|
+
*/
|
|
704
|
+
var UploadActionTypes;
|
|
705
|
+
(function (UploadActionTypes) {
|
|
706
|
+
UploadActionTypes["UploadFiles"] = "UPLOAD_FILES";
|
|
707
|
+
UploadActionTypes["UploadFolder"] = "UPLOAD_FOLDER";
|
|
708
|
+
UploadActionTypes["UploadFileVersion"] = "UPLOAD_FILE_VERSION";
|
|
709
|
+
})(UploadActionTypes || (UploadActionTypes = {}));
|
|
710
|
+
class UploadFilesAction {
|
|
711
|
+
constructor(payload) {
|
|
712
|
+
this.payload = payload;
|
|
713
|
+
this.type = UploadActionTypes.UploadFiles;
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
class UploadFolderAction {
|
|
717
|
+
constructor(payload) {
|
|
718
|
+
this.payload = payload;
|
|
719
|
+
this.type = UploadActionTypes.UploadFolder;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
class UploadFileVersionAction {
|
|
723
|
+
constructor(payload, configuration) {
|
|
724
|
+
this.payload = payload;
|
|
725
|
+
this.configuration = configuration;
|
|
726
|
+
this.type = UploadActionTypes.UploadFileVersion;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/*!
|
|
731
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
732
|
+
*
|
|
733
|
+
* Alfresco Example Content Application
|
|
734
|
+
*
|
|
735
|
+
* This file is part of the Alfresco Example Content Application.
|
|
736
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
737
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
738
|
+
* provided under the following open source license terms:
|
|
739
|
+
*
|
|
740
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
741
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
742
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
743
|
+
* (at your option) any later version.
|
|
744
|
+
*
|
|
745
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
746
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
747
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
748
|
+
* GNU Lesser General Public License for more details.
|
|
749
|
+
*
|
|
750
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
751
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
752
|
+
*/
|
|
753
|
+
var ViewerActionTypes;
|
|
754
|
+
(function (ViewerActionTypes) {
|
|
755
|
+
ViewerActionTypes["ViewFile"] = "VIEW_FILE";
|
|
756
|
+
ViewerActionTypes["ViewNode"] = "VIEW_NODE";
|
|
757
|
+
ViewerActionTypes["ViewNodeVersion"] = "VIEW_NODE_VERSION";
|
|
758
|
+
ViewerActionTypes["FullScreen"] = "FULLSCREEN_VIEWER";
|
|
759
|
+
ViewerActionTypes["ClosePreview"] = "CLOSE_PREVIEW";
|
|
760
|
+
ViewerActionTypes["RefreshPreview"] = "REFRESH_PREVIEW";
|
|
761
|
+
ViewerActionTypes["PluginPreview"] = "PLUGIN_PREVIEW";
|
|
762
|
+
})(ViewerActionTypes || (ViewerActionTypes = {}));
|
|
763
|
+
class ViewFileAction {
|
|
764
|
+
constructor(payload, parentId) {
|
|
765
|
+
this.payload = payload;
|
|
766
|
+
this.parentId = parentId;
|
|
767
|
+
this.type = ViewerActionTypes.ViewFile;
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
class ViewNodeAction {
|
|
771
|
+
constructor(nodeId, viewNodeExtras) {
|
|
772
|
+
this.nodeId = nodeId;
|
|
773
|
+
this.viewNodeExtras = viewNodeExtras;
|
|
774
|
+
this.type = ViewerActionTypes.ViewNode;
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
class ViewNodeVersionAction {
|
|
778
|
+
constructor(nodeId, versionId, viewNodeExtras) {
|
|
779
|
+
this.nodeId = nodeId;
|
|
780
|
+
this.versionId = versionId;
|
|
781
|
+
this.viewNodeExtras = viewNodeExtras;
|
|
782
|
+
this.type = ViewerActionTypes.ViewNodeVersion;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
class FullscreenViewerAction {
|
|
786
|
+
constructor(payload) {
|
|
787
|
+
this.payload = payload;
|
|
788
|
+
this.type = ViewerActionTypes.FullScreen;
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
class ClosePreviewAction {
|
|
792
|
+
constructor(payload) {
|
|
793
|
+
this.payload = payload;
|
|
794
|
+
this.type = ViewerActionTypes.ClosePreview;
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
class RefreshPreviewAction {
|
|
798
|
+
constructor(payload) {
|
|
799
|
+
this.payload = payload;
|
|
800
|
+
this.type = ViewerActionTypes.RefreshPreview;
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
class PluginPreviewAction {
|
|
804
|
+
constructor(pluginRoute, nodeId) {
|
|
805
|
+
this.pluginRoute = pluginRoute;
|
|
806
|
+
this.nodeId = nodeId;
|
|
807
|
+
this.type = ViewerActionTypes.PluginPreview;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/*!
|
|
812
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
813
|
+
*
|
|
814
|
+
* Alfresco Example Content Application
|
|
815
|
+
*
|
|
816
|
+
* This file is part of the Alfresco Example Content Application.
|
|
817
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
818
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
819
|
+
* provided under the following open source license terms:
|
|
820
|
+
*
|
|
821
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
822
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
823
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
824
|
+
* (at your option) any later version.
|
|
825
|
+
*
|
|
826
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
827
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
828
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
829
|
+
* GNU Lesser General Public License for more details.
|
|
830
|
+
*
|
|
831
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
832
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
833
|
+
*/
|
|
834
|
+
const SET_INFO_DRAWER_METADATA_ASPECT = 'SET_INFO_DRAWER_METADATA_ASPECT';
|
|
835
|
+
class SetInfoDrawerMetadataAspectAction {
|
|
836
|
+
constructor(payload) {
|
|
837
|
+
this.payload = payload;
|
|
838
|
+
this.type = SET_INFO_DRAWER_METADATA_ASPECT;
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
/*!
|
|
843
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
844
|
+
*
|
|
845
|
+
* Alfresco Example Content Application
|
|
846
|
+
*
|
|
847
|
+
* This file is part of the Alfresco Example Content Application.
|
|
848
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
849
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
850
|
+
* provided under the following open source license terms:
|
|
851
|
+
*
|
|
852
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
853
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
854
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
855
|
+
* (at your option) any later version.
|
|
856
|
+
*
|
|
857
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
858
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
859
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
860
|
+
* GNU Lesser General Public License for more details.
|
|
861
|
+
*
|
|
862
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
863
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
864
|
+
*/
|
|
865
|
+
class FileFromTemplate {
|
|
866
|
+
constructor() {
|
|
867
|
+
this.type = TemplateActionTypes.FileFromTemplate;
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
class FolderFromTemplate {
|
|
871
|
+
constructor() {
|
|
872
|
+
this.type = TemplateActionTypes.FolderFromTemplate;
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
class CreateFromTemplate {
|
|
876
|
+
constructor(payload) {
|
|
877
|
+
this.payload = payload;
|
|
878
|
+
this.type = TemplateActionTypes.CreateFromTemplate;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
class CreateFromTemplateSuccess {
|
|
882
|
+
constructor(node) {
|
|
883
|
+
this.node = node;
|
|
884
|
+
this.type = TemplateActionTypes.CreateFromTemplateSuccess;
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
/*!
|
|
889
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
890
|
+
*
|
|
891
|
+
* Alfresco Example Content Application
|
|
892
|
+
*
|
|
893
|
+
* This file is part of the Alfresco Example Content Application.
|
|
894
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
895
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
896
|
+
* provided under the following open source license terms:
|
|
897
|
+
*
|
|
898
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
899
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
900
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
901
|
+
* (at your option) any later version.
|
|
902
|
+
*
|
|
903
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
904
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
905
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
906
|
+
* GNU Lesser General Public License for more details.
|
|
907
|
+
*
|
|
908
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
909
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
910
|
+
*/
|
|
911
|
+
class ContextMenu {
|
|
912
|
+
constructor(event) {
|
|
913
|
+
this.event = event;
|
|
914
|
+
this.type = ContextMenuActionTypes.ContextMenu;
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
/*!
|
|
919
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
920
|
+
*
|
|
921
|
+
* Alfresco Example Content Application
|
|
922
|
+
*
|
|
923
|
+
* This file is part of the Alfresco Example Content Application.
|
|
924
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
925
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
926
|
+
* provided under the following open source license terms:
|
|
927
|
+
*
|
|
928
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
929
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
930
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
931
|
+
* (at your option) any later version.
|
|
932
|
+
*
|
|
933
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
934
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
935
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
936
|
+
* GNU Lesser General Public License for more details.
|
|
937
|
+
*
|
|
938
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
939
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
940
|
+
*/
|
|
941
|
+
class DialogEffects {
|
|
942
|
+
constructor(actions$, matDialog) {
|
|
943
|
+
this.actions$ = actions$;
|
|
944
|
+
this.matDialog = matDialog;
|
|
945
|
+
this.closeAll$ = createEffect(() => this.actions$.pipe(ofType(AppActionTypes.CloseModalDialogs), map(() => this.matDialog.closeAll())), { dispatch: false });
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
DialogEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DialogEffects, deps: [{ token: i2.Actions }, { token: i2$1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
949
|
+
DialogEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DialogEffects });
|
|
950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DialogEffects, decorators: [{
|
|
951
|
+
type: Injectable
|
|
952
|
+
}], ctorParameters: function () { return [{ type: i2.Actions }, { type: i2$1.MatDialog }]; } });
|
|
953
|
+
|
|
954
|
+
/*!
|
|
955
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
956
|
+
*
|
|
957
|
+
* Alfresco Example Content Application
|
|
958
|
+
*
|
|
959
|
+
* This file is part of the Alfresco Example Content Application.
|
|
960
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
961
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
962
|
+
* provided under the following open source license terms:
|
|
963
|
+
*
|
|
964
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
965
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
966
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
967
|
+
* (at your option) any later version.
|
|
968
|
+
*
|
|
969
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
970
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
971
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
972
|
+
* GNU Lesser General Public License for more details.
|
|
973
|
+
*
|
|
974
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
975
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
976
|
+
*/
|
|
977
|
+
class RouterEffects {
|
|
978
|
+
constructor(store, actions$, router, location) {
|
|
979
|
+
this.store = store;
|
|
980
|
+
this.actions$ = actions$;
|
|
981
|
+
this.router = router;
|
|
982
|
+
this.location = location;
|
|
983
|
+
this.navigateUrl$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateUrl), map((action) => {
|
|
984
|
+
if (action.payload) {
|
|
985
|
+
this.router.navigateByUrl(action.payload);
|
|
986
|
+
}
|
|
987
|
+
})), { dispatch: false });
|
|
988
|
+
this.navigateRoute$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateRoute), map((action) => {
|
|
989
|
+
this.router.navigate(action.payload);
|
|
990
|
+
})), { dispatch: false });
|
|
991
|
+
this.navigateToFolder$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateFolder), map((action) => {
|
|
992
|
+
if (action.payload && action.payload.entry) {
|
|
993
|
+
this.navigateToFolder(action.payload.entry);
|
|
994
|
+
}
|
|
995
|
+
})), { dispatch: false });
|
|
996
|
+
this.navigateToParentFolder$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateParentFolder), map((action) => {
|
|
997
|
+
if (action.payload && action.payload.entry) {
|
|
998
|
+
this.navigateToParentFolder(action.payload.entry);
|
|
999
|
+
}
|
|
1000
|
+
})), { dispatch: false });
|
|
1001
|
+
this.navigateToPreviousPage$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateToPreviousPage), map(() => this.location.back())), { dispatch: false });
|
|
1002
|
+
}
|
|
1003
|
+
navigateToFolder(node) {
|
|
1004
|
+
let link = null;
|
|
1005
|
+
const { path, id } = node;
|
|
1006
|
+
if (path && path.name && path.elements) {
|
|
1007
|
+
const isLibraryPath = this.isLibraryContent(path);
|
|
1008
|
+
const parent = path.elements[path.elements.length - 1];
|
|
1009
|
+
const area = isLibraryPath ? '/libraries' : '/personal-files';
|
|
1010
|
+
if (!isLibraryPath) {
|
|
1011
|
+
link = [area, id];
|
|
1012
|
+
}
|
|
1013
|
+
else {
|
|
1014
|
+
// parent.id could be 'Site' folder or child as 'documentLibrary'
|
|
1015
|
+
link = [area, parent.name === 'Sites' ? {} : id];
|
|
1016
|
+
}
|
|
1017
|
+
setTimeout(() => {
|
|
1018
|
+
this.router.navigate(link);
|
|
1019
|
+
}, 10);
|
|
1020
|
+
}
|
|
1021
|
+
else {
|
|
1022
|
+
this.router.navigate(['/personal-files', node.id]);
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
navigateToParentFolder(node) {
|
|
1026
|
+
let link = null;
|
|
1027
|
+
const { path } = node;
|
|
1028
|
+
if (path && path.name && path.elements) {
|
|
1029
|
+
const isLibraryPath = this.isLibraryContent(path);
|
|
1030
|
+
const parent = path.elements[path.elements.length - 1];
|
|
1031
|
+
const area = isLibraryPath ? '/libraries' : '/personal-files';
|
|
1032
|
+
if (!isLibraryPath) {
|
|
1033
|
+
link = [area, parent.id];
|
|
1034
|
+
}
|
|
1035
|
+
else {
|
|
1036
|
+
// parent.id could be 'Site' folder or child as 'documentLibrary'
|
|
1037
|
+
link = [area, parent.name === 'Sites' ? {} : parent.id];
|
|
1038
|
+
}
|
|
1039
|
+
setTimeout(() => {
|
|
1040
|
+
this.router.navigate(link);
|
|
1041
|
+
}, 10);
|
|
1042
|
+
}
|
|
1043
|
+
else {
|
|
1044
|
+
this.store.dispatch(new SnackbarErrorAction('APP.MESSAGES.ERRORS.CANNOT_NAVIGATE_LOCATION'));
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
isLibraryContent(path) {
|
|
1048
|
+
return path && path.elements.length >= 2 && path.elements[1].name === 'Sites';
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
RouterEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: RouterEffects, deps: [{ token: i1.Store }, { token: i2.Actions }, { token: i3.Router }, { token: i4.Location }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1052
|
+
RouterEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: RouterEffects });
|
|
1053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: RouterEffects, decorators: [{
|
|
1054
|
+
type: Injectable
|
|
1055
|
+
}], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.Actions }, { type: i3.Router }, { type: i4.Location }]; } });
|
|
1056
|
+
|
|
1057
|
+
/*!
|
|
1058
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1059
|
+
*
|
|
1060
|
+
* Alfresco Example Content Application
|
|
1061
|
+
*
|
|
1062
|
+
* This file is part of the Alfresco Example Content Application.
|
|
1063
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
1064
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
1065
|
+
* provided under the following open source license terms:
|
|
1066
|
+
*
|
|
1067
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
1068
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
1069
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
1070
|
+
* (at your option) any later version.
|
|
1071
|
+
*
|
|
1072
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
1073
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
1074
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
1075
|
+
* GNU Lesser General Public License for more details.
|
|
1076
|
+
*
|
|
1077
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
1078
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1079
|
+
*/
|
|
1080
|
+
class SnackbarEffects {
|
|
1081
|
+
constructor(store, actions$, snackBar, translationService) {
|
|
1082
|
+
this.store = store;
|
|
1083
|
+
this.actions$ = actions$;
|
|
1084
|
+
this.snackBar = snackBar;
|
|
1085
|
+
this.translationService = translationService;
|
|
1086
|
+
this.infoEffect = createEffect(() => this.actions$.pipe(ofType(SnackbarActionTypes.Info), map((action) => {
|
|
1087
|
+
this.showSnackBar(action, 'adf-info-snackbar');
|
|
1088
|
+
})), { dispatch: false });
|
|
1089
|
+
this.warningEffect = createEffect(() => this.actions$.pipe(ofType(SnackbarActionTypes.Warning), map((action) => {
|
|
1090
|
+
this.showSnackBar(action, 'adf-warning-snackbar');
|
|
1091
|
+
})), { dispatch: false });
|
|
1092
|
+
this.errorEffect = createEffect(() => this.actions$.pipe(ofType(SnackbarActionTypes.Error), map((action) => {
|
|
1093
|
+
this.showSnackBar(action, 'adf-error-snackbar');
|
|
1094
|
+
})), { dispatch: false });
|
|
1095
|
+
}
|
|
1096
|
+
showSnackBar(action, panelClass) {
|
|
1097
|
+
const message = this.translate(action.payload, action.params);
|
|
1098
|
+
let actionName = null;
|
|
1099
|
+
if (action.userAction) {
|
|
1100
|
+
actionName = this.translate(action.userAction.title);
|
|
1101
|
+
}
|
|
1102
|
+
const snackBarRef = this.snackBar.openFromComponent(SnackbarContentComponent, {
|
|
1103
|
+
...(action.duration !== undefined && action.duration !== null && { duration: action.duration }),
|
|
1104
|
+
panelClass,
|
|
1105
|
+
data: {
|
|
1106
|
+
message,
|
|
1107
|
+
actionLabel: actionName,
|
|
1108
|
+
actionIcon: 'close',
|
|
1109
|
+
actionIconAriaLabel: 'CLOSE',
|
|
1110
|
+
showAction: true,
|
|
1111
|
+
callActionOnIconClick: false
|
|
1112
|
+
}
|
|
1113
|
+
});
|
|
1114
|
+
if (action.userAction) {
|
|
1115
|
+
snackBarRef.onAction().subscribe(() => {
|
|
1116
|
+
this.store.dispatch(action.userAction.action);
|
|
1117
|
+
});
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
translate(message, params) {
|
|
1121
|
+
return this.translationService.instant(message, params);
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
SnackbarEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SnackbarEffects, deps: [{ token: i1.Store }, { token: i2.Actions }, { token: i3$1.MatSnackBar }, { token: i4$1.TranslationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1125
|
+
SnackbarEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SnackbarEffects });
|
|
1126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SnackbarEffects, decorators: [{
|
|
1127
|
+
type: Injectable
|
|
1128
|
+
}], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.Actions }, { type: i3$1.MatSnackBar }, { type: i4$1.TranslationService }]; } });
|
|
1129
|
+
|
|
1130
|
+
/*!
|
|
1131
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1132
|
+
*
|
|
1133
|
+
* Alfresco Example Content Application
|
|
1134
|
+
*
|
|
1135
|
+
* This file is part of the Alfresco Example Content Application.
|
|
1136
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
1137
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
1138
|
+
* provided under the following open source license terms:
|
|
1139
|
+
*
|
|
1140
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
1141
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
1142
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
1143
|
+
* (at your option) any later version.
|
|
1144
|
+
*
|
|
1145
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
1146
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
1147
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
1148
|
+
* GNU Lesser General Public License for more details.
|
|
1149
|
+
*
|
|
1150
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
1151
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1152
|
+
*/
|
|
1153
|
+
|
|
1154
|
+
/*!
|
|
1155
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1156
|
+
*
|
|
1157
|
+
* Alfresco Example Content Application
|
|
1158
|
+
*
|
|
1159
|
+
* This file is part of the Alfresco Example Content Application.
|
|
1160
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
1161
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
1162
|
+
* provided under the following open source license terms:
|
|
1163
|
+
*
|
|
1164
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
1165
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
1166
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
1167
|
+
* (at your option) any later version.
|
|
1168
|
+
*
|
|
1169
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
1170
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
1171
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
1172
|
+
* GNU Lesser General Public License for more details.
|
|
1173
|
+
*
|
|
1174
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
1175
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1176
|
+
*/
|
|
1177
|
+
|
|
1178
|
+
/*!
|
|
1179
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1180
|
+
*
|
|
1181
|
+
* Alfresco Example Content Application
|
|
1182
|
+
*
|
|
1183
|
+
* This file is part of the Alfresco Example Content Application.
|
|
1184
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
1185
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
1186
|
+
* provided under the following open source license terms:
|
|
1187
|
+
*
|
|
1188
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
1189
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
1190
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
1191
|
+
* (at your option) any later version.
|
|
1192
|
+
*
|
|
1193
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
1194
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
1195
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
1196
|
+
* GNU Lesser General Public License for more details.
|
|
1197
|
+
*
|
|
1198
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
1199
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1200
|
+
*/
|
|
1201
|
+
|
|
1202
|
+
/*!
|
|
1203
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1204
|
+
*
|
|
1205
|
+
* Alfresco Example Content Application
|
|
1206
|
+
*
|
|
1207
|
+
* This file is part of the Alfresco Example Content Application.
|
|
1208
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
1209
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
1210
|
+
* provided under the following open source license terms:
|
|
1211
|
+
*
|
|
1212
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
1213
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
1214
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
1215
|
+
* (at your option) any later version.
|
|
1216
|
+
*
|
|
1217
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
1218
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
1219
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
1220
|
+
* GNU Lesser General Public License for more details.
|
|
1221
|
+
*
|
|
1222
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
1223
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1224
|
+
*/
|
|
1225
|
+
var SearchOptionIds;
|
|
1226
|
+
(function (SearchOptionIds) {
|
|
1227
|
+
SearchOptionIds["Files"] = "content";
|
|
1228
|
+
SearchOptionIds["Folders"] = "folder";
|
|
1229
|
+
SearchOptionIds["Libraries"] = "libraries";
|
|
1230
|
+
})(SearchOptionIds || (SearchOptionIds = {}));
|
|
1231
|
+
|
|
1232
|
+
/*!
|
|
1233
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1234
|
+
*
|
|
1235
|
+
* Alfresco Example Content Application
|
|
1236
|
+
*
|
|
1237
|
+
* This file is part of the Alfresco Example Content Application.
|
|
1238
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
1239
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
1240
|
+
* provided under the following open source license terms:
|
|
1241
|
+
*
|
|
1242
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
1243
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
1244
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
1245
|
+
* (at your option) any later version.
|
|
1246
|
+
*
|
|
1247
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
1248
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
1249
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
1250
|
+
* GNU Lesser General Public License for more details.
|
|
1251
|
+
*
|
|
1252
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
1253
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1254
|
+
*/
|
|
1255
|
+
const selectApp = (state) => state.app;
|
|
1256
|
+
const getAppName = createSelector(selectApp, (state) => state.appName);
|
|
1257
|
+
const getLogoPath = createSelector(selectApp, (state) => state.logoPath);
|
|
1258
|
+
const getCustomCssPath = createSelector(selectApp, (state) => state.customCssPath);
|
|
1259
|
+
const getCustomWebFontPath = createSelector(selectApp, (state) => state.webFontPath);
|
|
1260
|
+
const getUserProfile = createSelector(selectApp, (state) => state.user);
|
|
1261
|
+
const getCurrentFolder = createSelector(selectApp, (state) => state.navigation.currentFolder);
|
|
1262
|
+
const getCurrentVersion = createSelector(selectApp, (state) => state.currentNodeVersion);
|
|
1263
|
+
const getAppSelection = createSelector(selectApp, (state) => state.selection);
|
|
1264
|
+
const getSharedUrl = createSelector(selectApp, (state) => state.sharedUrl);
|
|
1265
|
+
const getNavigationState = createSelector(selectApp, (state) => state.navigation);
|
|
1266
|
+
const isInfoDrawerOpened = createSelector(selectApp, (state) => state.infoDrawerOpened);
|
|
1267
|
+
const infoDrawerPreview = createSelector(selectApp, (state) => state.infoDrawerPreview);
|
|
1268
|
+
const showFacetFilter = createSelector(selectApp, (state) => state.showFacetFilter);
|
|
1269
|
+
const getDocumentDisplayMode = createSelector(selectApp, (state) => state.documentDisplayMode);
|
|
1270
|
+
const getRepositoryStatus = createSelector(selectApp, (state) => state.repository);
|
|
1271
|
+
const isQuickShareEnabled = createSelector(getRepositoryStatus, (info) => info.status.isQuickShareEnabled);
|
|
1272
|
+
const isAdmin = createSelector(selectApp, (state) => state.user.isAdmin);
|
|
1273
|
+
const getFileUploadingDialog = createSelector(selectApp, (state) => state.fileUploadingDialog);
|
|
1274
|
+
const showLoaderSelector = createSelector(selectApp, (state) => state.showLoader);
|
|
1275
|
+
const getSideNavState = createSelector(getAppSelection, getNavigationState, (selection, navigation) => ({
|
|
1276
|
+
selection,
|
|
1277
|
+
navigation
|
|
1278
|
+
}));
|
|
1279
|
+
const getRuleContext = createSelector(getAppSelection, getNavigationState, getUserProfile, getRepositoryStatus, (selection, navigation, profile, repository) => ({
|
|
1280
|
+
selection,
|
|
1281
|
+
navigation,
|
|
1282
|
+
profile,
|
|
1283
|
+
repository
|
|
1284
|
+
}));
|
|
1285
|
+
const infoDrawerMetadataAspect = createSelector(selectApp, (state) => state.infoDrawerMetadataAspect);
|
|
1286
|
+
|
|
1287
|
+
/*!
|
|
1288
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1289
|
+
*
|
|
1290
|
+
* Alfresco Example Content Application
|
|
1291
|
+
*
|
|
1292
|
+
* This file is part of the Alfresco Example Content Application.
|
|
1293
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
1294
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
1295
|
+
* provided under the following open source license terms:
|
|
1296
|
+
*
|
|
1297
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
1298
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
1299
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
1300
|
+
* (at your option) any later version.
|
|
1301
|
+
*
|
|
1302
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
1303
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
1304
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
1305
|
+
* GNU Lesser General Public License for more details.
|
|
1306
|
+
*
|
|
1307
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
1308
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1309
|
+
*/
|
|
1310
|
+
const STORE_INITIAL_APP_DATA = new InjectionToken('STORE_INITIAL_APP_DATA');
|
|
1311
|
+
|
|
1312
|
+
/*!
|
|
1313
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1314
|
+
*
|
|
1315
|
+
* Alfresco Example Content Application
|
|
1316
|
+
*
|
|
1317
|
+
* This file is part of the Alfresco Example Content Application.
|
|
1318
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
1319
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
1320
|
+
* provided under the following open source license terms:
|
|
1321
|
+
*
|
|
1322
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
1323
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
1324
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
1325
|
+
* (at your option) any later version.
|
|
1326
|
+
*
|
|
1327
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
1328
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
1329
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
1330
|
+
* GNU Lesser General Public License for more details.
|
|
1331
|
+
*
|
|
1332
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
1333
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1334
|
+
*/
|
|
1335
|
+
class SharedStoreModule {
|
|
1336
|
+
}
|
|
1337
|
+
SharedStoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1338
|
+
SharedStoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: SharedStoreModule, imports: [i2.EffectsFeatureModule] });
|
|
1339
|
+
SharedStoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedStoreModule, imports: [EffectsModule.forFeature([SnackbarEffects, DialogEffects, RouterEffects])] });
|
|
1340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedStoreModule, decorators: [{
|
|
1341
|
+
type: NgModule,
|
|
1342
|
+
args: [{
|
|
1343
|
+
imports: [EffectsModule.forFeature([SnackbarEffects, DialogEffects, RouterEffects])]
|
|
1344
|
+
}]
|
|
1345
|
+
}] });
|
|
1346
|
+
|
|
1347
|
+
/*!
|
|
1348
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1349
|
+
*
|
|
1350
|
+
* Alfresco Example Content Application
|
|
1351
|
+
*
|
|
1352
|
+
* This file is part of the Alfresco Example Content Application.
|
|
1353
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
1354
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
1355
|
+
* provided under the following open source license terms:
|
|
1356
|
+
*
|
|
1357
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
1358
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
1359
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
1360
|
+
* (at your option) any later version.
|
|
1361
|
+
*
|
|
1362
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
1363
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
1364
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
1365
|
+
* GNU Lesser General Public License for more details.
|
|
1366
|
+
*
|
|
1367
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
1368
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
1369
|
+
*/
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* Generated bundle index. Do not edit.
|
|
1373
|
+
*/
|
|
1374
|
+
|
|
1375
|
+
export { AddFavoriteAction, AppActionTypes, CloseModalDialogsAction, ClosePreviewAction, ContextMenu, ContextMenuActionTypes, CopyNodesAction, CreateFolderAction, CreateFromTemplate, CreateFromTemplateSuccess, CreateLibraryAction, DeleteLibraryAction, DeleteNodesAction, DialogEffects, DownloadNodesAction, EditFolderAction, EditOfflineAction, ExpandInfoDrawerAction, FileFromTemplate, FolderFromTemplate, FullscreenViewerAction, LeaveLibraryAction, LibraryActionTypes, LogoutAction, ManageAspectsAction, ManagePermissionsAction, ManageRulesAction, ManageVersionsAction, MoveNodesAction, NavigateLibraryAction, NavigateRouteAction, NavigateToFolder, NavigateToParentFolder, NavigateToPreviousPage, NavigateUrlAction, NodeActionTypes, PluginPreviewAction, PrintFileAction, PurgeDeletedNodesAction, RefreshPreviewAction, ReloadDocumentListAction, RemoveFavoriteAction, ResetSelectionAction, RestoreDeletedNodesAction, RouterActionTypes, RouterEffects, SET_INFO_DRAWER_METADATA_ASPECT, STORE_INITIAL_APP_DATA, SearchAction, SearchActionTypes, SearchByTermAction, SearchOptionIds, SetCurrentFolderAction, SetCurrentNodeVersionAction, SetCurrentUrlAction, SetFileUploadingDialogAction, SetInfoDrawerMetadataAspectAction, SetInfoDrawerPreviewStateAction, SetInfoDrawerStateAction, SetInitialStateAction, SetRepositoryInfoAction, SetSelectedNodesAction, SetSettingsParameterAction, SetUserProfileAction, ShareNodeAction, SharedStoreModule, ShowInfoDrawerPreviewAction, ShowLoaderAction, SnackbarActionTypes, SnackbarEffects, SnackbarErrorAction, SnackbarInfoAction, SnackbarUserAction, SnackbarWarningAction, TemplateActionTypes, ToggleDocumentDisplayMode, ToggleInfoDrawerAction, UndoDeleteNodesAction, UnlockWriteAction, UnshareNodesAction, UpdateLibraryAction, UploadActionTypes, UploadFileVersionAction, UploadFilesAction, UploadFolderAction, ViewFileAction, ViewNodeAction, ViewNodeVersionAction, ViewerActionTypes, getAppName, getAppSelection, getCurrentFolder, getCurrentVersion, getCustomCssPath, getCustomWebFontPath, getDocumentDisplayMode, getFileUploadingDialog, getLogoPath, getNavigationState, getRepositoryStatus, getRuleContext, getSharedUrl, getSideNavState, getUserProfile, infoDrawerMetadataAspect, infoDrawerPreview, isAdmin, isInfoDrawerOpened, isQuickShareEnabled, selectApp, showFacetFilter, showLoaderSelector };
|
|
1376
|
+
//# sourceMappingURL=alfresco-aca-shared-store.mjs.map
|