@alfresco/aca-content 4.0.0-4895233349
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 +24 -0
- package/about/about.component.d.ts +45 -0
- package/about/aca-about.module.d.ts +39 -0
- package/about/dev-mode.tokens.d.ts +25 -0
- package/about/index.d.ts +5 -0
- package/about/package-json.token.d.ts +25 -0
- package/about/public-api.d.ts +27 -0
- package/assets/app.extensions.json +2626 -0
- package/assets/i18n/ar.json +660 -0
- package/assets/i18n/cs.json +660 -0
- package/assets/i18n/da.json +660 -0
- package/assets/i18n/de.json +660 -0
- package/assets/i18n/en.json +660 -0
- package/assets/i18n/es.json +660 -0
- package/assets/i18n/fi.json +660 -0
- package/assets/i18n/fr.json +660 -0
- package/assets/i18n/it.json +660 -0
- package/assets/i18n/ja.json +660 -0
- package/assets/i18n/nb.json +660 -0
- package/assets/i18n/nl.json +660 -0
- package/assets/i18n/pl.json +660 -0
- package/assets/i18n/pt-BR.json +660 -0
- package/assets/i18n/ru.json +660 -0
- package/assets/i18n/sv.json +660 -0
- package/assets/i18n/zh-CN.json +660 -0
- package/assets/images/Wallpaper-BG-generic.svg +39 -0
- package/assets/images/adf-move-file-24px.svg +1 -0
- package/assets/images/baseline-library_books-24px.svg +2 -0
- package/assets/images/baseline-lock-24px.svg +1 -0
- package/assets/images/join-library.svg +32 -0
- package/esm2020/about/about.component.mjs +77 -0
- package/esm2020/about/aca-about.module.mjs +67 -0
- package/esm2020/about/alfresco-aca-content-about.mjs +5 -0
- package/esm2020/about/dev-mode.tokens.mjs +26 -0
- package/esm2020/about/package-json.token.mjs +26 -0
- package/esm2020/about/public-api.mjs +28 -0
- package/esm2020/alfresco-aca-content.mjs +5 -0
- package/esm2020/lib/aca-content.module.mjs +365 -0
- package/esm2020/lib/aca-content.routes.mjs +581 -0
- package/esm2020/lib/components/common/common.module.mjs +67 -0
- package/esm2020/lib/components/common/language-picker/language-picker.component.mjs +57 -0
- package/esm2020/lib/components/common/location-link/location-link.component.mjs +177 -0
- package/esm2020/lib/components/common/logout/logout.component.mjs +60 -0
- package/esm2020/lib/components/common/toggle-shared/toggle-shared.component.mjs +65 -0
- package/esm2020/lib/components/common/user-info/user-info.component.mjs +86 -0
- package/esm2020/lib/components/context-menu/context-menu-item.component.mjs +58 -0
- package/esm2020/lib/components/context-menu/context-menu-outside-event.directive.mjs +65 -0
- package/esm2020/lib/components/context-menu/context-menu-overlay.mjs +32 -0
- package/esm2020/lib/components/context-menu/context-menu.component.mjs +102 -0
- package/esm2020/lib/components/context-menu/context-menu.module.mjs +76 -0
- package/esm2020/lib/components/context-menu/context-menu.service.mjs +103 -0
- package/esm2020/lib/components/context-menu/direction.token.mjs +29 -0
- package/esm2020/lib/components/context-menu/interfaces.mjs +25 -0
- package/esm2020/lib/components/create-menu/create-menu.component.mjs +73 -0
- package/esm2020/lib/components/create-menu/create-menu.module.mjs +44 -0
- package/esm2020/lib/components/details/details.component.mjs +99 -0
- package/esm2020/lib/components/dl-custom-components/document-list-custom-components.module.mjs +49 -0
- package/esm2020/lib/components/dl-custom-components/name-column/name-column.component.mjs +90 -0
- package/esm2020/lib/components/dl-custom-components/tags-column/tags-column.component.mjs +31 -0
- package/esm2020/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.mjs +51 -0
- package/esm2020/lib/components/favorite-libraries/favorite-libraries.component.mjs +113 -0
- package/esm2020/lib/components/favorites/favorites.component.mjs +98 -0
- package/esm2020/lib/components/files/files.component.mjs +312 -0
- package/esm2020/lib/components/home/home.component.mjs +49 -0
- package/esm2020/lib/components/info-drawer/comments-tab/comments-tab.component.mjs +56 -0
- package/esm2020/lib/components/info-drawer/info.drawer.module.mjs +92 -0
- package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.mjs +143 -0
- package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.mjs +42 -0
- package/esm2020/lib/components/info-drawer/metadata-tab/metadata-tab.component.mjs +88 -0
- package/esm2020/lib/components/info-drawer/versions-tab/versions-tab.component.mjs +95 -0
- package/esm2020/lib/components/libraries/libraries.component.mjs +70 -0
- package/esm2020/lib/components/node-version/node-version-form.component.mjs +70 -0
- package/esm2020/lib/components/node-version/node-version.module.mjs +78 -0
- package/esm2020/lib/components/recent-files/recent-files.component.mjs +81 -0
- package/esm2020/lib/components/search/search-action-menu/search-action-menu.component.mjs +59 -0
- package/esm2020/lib/components/search/search-input/search-input.component.mjs +275 -0
- package/esm2020/lib/components/search/search-input-control/search-input-control.component.mjs +87 -0
- package/esm2020/lib/components/search/search-input.module.mjs +47 -0
- package/esm2020/lib/components/search/search-libraries-results/search-libraries-query-builder.service.mjs +91 -0
- package/esm2020/lib/components/search/search-libraries-results/search-libraries-results.component.mjs +142 -0
- package/esm2020/lib/components/search/search-navigation.service.mjs +60 -0
- package/esm2020/lib/components/search/search-results/search-results.component.mjs +221 -0
- package/esm2020/lib/components/search/search-results-row/search-results-row.component.mjs +101 -0
- package/esm2020/lib/components/search/search-results.module.mjs +88 -0
- package/esm2020/lib/components/shared-files/shared-files.component.mjs +78 -0
- package/esm2020/lib/components/shared-link-view/shared-link-view.component.mjs +81 -0
- package/esm2020/lib/components/shared-link-view/shared-link-view.module.mjs +69 -0
- package/esm2020/lib/components/sidenav/components/button-menu.component.mjs +57 -0
- package/esm2020/lib/components/sidenav/components/expand-menu.component.mjs +53 -0
- package/esm2020/lib/components/sidenav/components/sidenav-header.component.mjs +74 -0
- package/esm2020/lib/components/sidenav/directives/action.directive.mjs +74 -0
- package/esm2020/lib/components/sidenav/directives/active-link.directive.mjs +92 -0
- package/esm2020/lib/components/sidenav/directives/expansion-panel.directive.mjs +101 -0
- package/esm2020/lib/components/sidenav/directives/menu-panel.directive.mjs +98 -0
- package/esm2020/lib/components/sidenav/sidenav.component.mjs +83 -0
- package/esm2020/lib/components/sidenav/sidenav.module.mjs +84 -0
- package/esm2020/lib/components/toolbar/document-display-mode/document-display-mode.component.mjs +84 -0
- package/esm2020/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.mjs +150 -0
- package/esm2020/lib/components/toolbar/toggle-favorite/toggle-favorite.component.mjs +79 -0
- package/esm2020/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.mjs +101 -0
- package/esm2020/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.mjs +75 -0
- package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.mjs +98 -0
- package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.mjs +80 -0
- package/esm2020/lib/components/toolbar/toolbar.module.mjs +88 -0
- package/esm2020/lib/components/toolbar/view-node/view-node.component.mjs +109 -0
- package/esm2020/lib/components/trashcan/trashcan.component.mjs +63 -0
- package/esm2020/lib/components/trashcan/trashcan.module.mjs +74 -0
- package/esm2020/lib/components/upload-files-dialog/upload-files-dialog.component.mjs +50 -0
- package/esm2020/lib/components/view-profile/view-profile.component.mjs +174 -0
- package/esm2020/lib/components/view-profile/view-profile.guard.mjs +47 -0
- package/esm2020/lib/components/view-profile/view-profile.module.mjs +42 -0
- package/esm2020/lib/dialogs/node-template/create-from-template.dialog.mjs +119 -0
- package/esm2020/lib/directives/directives.module.mjs +42 -0
- package/esm2020/lib/directives/document-list.directive.mjs +141 -0
- package/esm2020/lib/extensions/core.extensions.module.mjs +64 -0
- package/esm2020/lib/material.module.mjs +57 -0
- package/esm2020/lib/services/content-management.service.mjs +870 -0
- package/esm2020/lib/services/content-service-extension.service.mjs +63 -0
- package/esm2020/lib/services/content-url.service.mjs +72 -0
- package/esm2020/lib/services/node-actions.service.mjs +600 -0
- package/esm2020/lib/services/node-template.service.mjs +149 -0
- package/esm2020/lib/store/app-store.module.mjs +95 -0
- package/esm2020/lib/store/effects/app.effects.mjs +61 -0
- package/esm2020/lib/store/effects/contextmenu.effects.mjs +55 -0
- package/esm2020/lib/store/effects/download.effects.mjs +159 -0
- package/esm2020/lib/store/effects/favorite.effects.mjs +76 -0
- package/esm2020/lib/store/effects/library.effects.mjs +111 -0
- package/esm2020/lib/store/effects/node.effects.mjs +309 -0
- package/esm2020/lib/store/effects/search.effects.mjs +60 -0
- package/esm2020/lib/store/effects/template.effects.mjs +121 -0
- package/esm2020/lib/store/effects/upload.effects.mjs +169 -0
- package/esm2020/lib/store/effects/viewer.effects.mjs +175 -0
- package/esm2020/lib/store/effects.mjs +35 -0
- package/esm2020/lib/store/initial-state.mjs +62 -0
- package/esm2020/lib/store/reducers/app.reducer.mjs +211 -0
- package/esm2020/public-api.mjs +32 -0
- package/fesm2015/alfresco-aca-content-about.mjs +216 -0
- package/fesm2015/alfresco-aca-content-about.mjs.map +1 -0
- package/fesm2015/alfresco-aca-content.mjs +9771 -0
- package/fesm2015/alfresco-aca-content.mjs.map +1 -0
- package/fesm2020/alfresco-aca-content-about.mjs +214 -0
- package/fesm2020/alfresco-aca-content-about.mjs.map +1 -0
- package/fesm2020/alfresco-aca-content.mjs +9915 -0
- package/fesm2020/alfresco-aca-content.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/aca-content.module.d.ts +47 -0
- package/lib/aca-content.routes.d.ts +27 -0
- package/lib/components/common/common.module.d.ts +17 -0
- package/lib/components/common/language-picker/language-picker.component.d.ts +5 -0
- package/lib/components/common/location-link/location-link.component.d.ts +48 -0
- package/lib/components/common/logout/logout.component.d.ts +10 -0
- package/lib/components/common/toggle-shared/toggle-shared.component.d.ts +43 -0
- package/lib/components/common/user-info/user-info.component.d.ts +44 -0
- package/lib/components/context-menu/context-menu-item.component.d.ts +13 -0
- package/lib/components/context-menu/context-menu-outside-event.directive.d.ts +35 -0
- package/lib/components/context-menu/context-menu-overlay.d.ts +29 -0
- package/lib/components/context-menu/context-menu.component.d.ts +48 -0
- package/lib/components/context-menu/context-menu.module.d.ts +18 -0
- package/lib/components/context-menu/context-menu.service.d.ts +43 -0
- package/lib/components/context-menu/direction.token.d.ts +25 -0
- package/lib/components/context-menu/interfaces.d.ts +30 -0
- package/lib/components/create-menu/create-menu.component.d.ts +42 -0
- package/lib/components/create-menu/create-menu.module.d.ts +10 -0
- package/lib/components/details/details.component.d.ts +46 -0
- package/lib/components/dl-custom-components/document-list-custom-components.module.d.ts +14 -0
- package/lib/components/dl-custom-components/name-column/name-column.component.d.ts +41 -0
- package/lib/components/dl-custom-components/tags-column/tags-column.component.d.ts +35 -0
- package/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.d.ts +17 -0
- package/lib/components/favorite-libraries/favorite-libraries.component.d.ts +54 -0
- package/lib/components/favorites/favorites.component.d.ts +49 -0
- package/lib/components/files/files.component.d.ts +55 -0
- package/lib/components/home/home.component.d.ts +36 -0
- package/lib/components/info-drawer/comments-tab/comments-tab.component.d.ts +11 -0
- package/lib/components/info-drawer/info.drawer.module.d.ts +19 -0
- package/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.d.ts +64 -0
- package/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.d.ts +7 -0
- package/lib/components/info-drawer/metadata-tab/metadata-tab.component.d.ts +49 -0
- package/lib/components/info-drawer/versions-tab/versions-tab.component.d.ts +35 -0
- package/lib/components/libraries/libraries.component.d.ts +44 -0
- package/lib/components/node-version/node-version-form.component.d.ts +46 -0
- package/lib/components/node-version/node-version.module.d.ts +16 -0
- package/lib/components/recent-files/recent-files.component.d.ts +48 -0
- package/lib/components/search/search-action-menu/search-action-menu.component.d.ts +38 -0
- package/lib/components/search/search-input/search-input.component.d.ts +85 -0
- package/lib/components/search/search-input-control/search-input-control.component.d.ts +50 -0
- package/lib/components/search/search-input.module.d.ts +12 -0
- package/lib/components/search/search-libraries-results/search-libraries-query-builder.service.d.ts +56 -0
- package/lib/components/search/search-libraries-results/search-libraries-results.component.d.ts +58 -0
- package/lib/components/search/search-navigation.service.d.ts +13 -0
- package/lib/components/search/search-results/search-results.component.d.ts +69 -0
- package/lib/components/search/search-results-row/search-results-row.component.d.ts +50 -0
- package/lib/components/search/search-results.module.d.ts +21 -0
- package/lib/components/shared-files/shared-files.component.d.ts +47 -0
- package/lib/components/shared-link-view/shared-link-view.component.d.ts +47 -0
- package/lib/components/shared-link-view/shared-link-view.module.d.ts +15 -0
- package/lib/components/sidenav/components/button-menu.component.d.ts +37 -0
- package/lib/components/sidenav/components/expand-menu.component.d.ts +35 -0
- package/lib/components/sidenav/components/sidenav-header.component.d.ts +48 -0
- package/lib/components/sidenav/directives/action.directive.d.ts +14 -0
- package/lib/components/sidenav/directives/active-link.directive.d.ts +45 -0
- package/lib/components/sidenav/directives/expansion-panel.directive.d.ts +44 -0
- package/lib/components/sidenav/directives/menu-panel.directive.d.ts +42 -0
- package/lib/components/sidenav/sidenav.component.d.ts +50 -0
- package/lib/components/sidenav/sidenav.module.d.ts +19 -0
- package/lib/components/toolbar/document-display-mode/document-display-mode.component.d.ts +13 -0
- package/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.d.ts +47 -0
- package/lib/components/toolbar/toggle-favorite/toggle-favorite.component.d.ts +42 -0
- package/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.d.ts +42 -0
- package/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.d.ts +11 -0
- package/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.d.ts +41 -0
- package/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.d.ts +10 -0
- package/lib/components/toolbar/toolbar.module.d.ts +20 -0
- package/lib/components/toolbar/view-node/view-node.component.d.ts +19 -0
- package/lib/components/trashcan/trashcan.component.d.ts +42 -0
- package/lib/components/trashcan/trashcan.module.d.ts +16 -0
- package/lib/components/upload-files-dialog/upload-files-dialog.component.d.ts +37 -0
- package/lib/components/view-profile/view-profile.component.d.ts +59 -0
- package/lib/components/view-profile/view-profile.guard.d.ts +12 -0
- package/lib/components/view-profile/view-profile.module.d.ts +9 -0
- package/lib/dialogs/node-template/create-from-template.dialog.d.ts +49 -0
- package/lib/directives/directives.module.d.ts +9 -0
- package/lib/directives/document-list.directive.d.ts +56 -0
- package/lib/extensions/core.extensions.module.d.ts +14 -0
- package/lib/material.module.d.ts +14 -0
- package/lib/services/content-management.service.d.ts +100 -0
- package/lib/services/content-service-extension.service.d.ts +11 -0
- package/lib/services/content-url.service.d.ts +17 -0
- package/lib/services/node-actions.service.d.ts +93 -0
- package/lib/services/node-template.service.d.ts +34 -0
- package/lib/store/app-store.module.d.ts +10 -0
- package/lib/store/effects/app.effects.d.ts +41 -0
- package/lib/store/effects/contextmenu.effects.d.ts +12 -0
- package/lib/store/effects/download.effects.d.ts +49 -0
- package/lib/store/effects/favorite.effects.d.ts +38 -0
- package/lib/store/effects/library.effects.d.ts +43 -0
- package/lib/store/effects/node.effects.d.ts +56 -0
- package/lib/store/effects/search.effects.d.ts +37 -0
- package/lib/store/effects/template.effects.d.ts +54 -0
- package/lib/store/effects/upload.effects.d.ts +52 -0
- package/lib/store/effects/viewer.effects.d.ts +55 -0
- package/lib/store/effects.d.ts +34 -0
- package/lib/store/initial-state.d.ts +26 -0
- package/lib/store/reducers/app.reducer.d.ts +26 -0
- package/package.json +47 -0
- package/public-api.d.ts +28 -0
- package/ui/application.scss +53 -0
- package/ui/colors.scss +96 -0
- package/ui/custom-theme.scss +34 -0
- package/ui/dynamic-theme/custom-background-color.scss +14 -0
- package/ui/dynamic-theme/custom-palette-creator.scss +132 -0
- package/ui/dynamic-theme/custom-text-color.scss +8 -0
- package/ui/dynamic-theme/custom-theme-palettes.scss +33 -0
- package/ui/dynamic-theme/custom-theme.scss.tpl +72 -0
- package/ui/dynamic-theme/index.scss +1 -0
- package/ui/dynamic-theme/theme-configuration.scss.tpl +14 -0
- package/ui/dynamic-theme/typography.scss +94 -0
- package/ui/mixins.scss +26 -0
- package/ui/overrides/adf-about.theme.scss +38 -0
- package/ui/overrides/adf-pagination.theme.scss +46 -0
- package/ui/overrides/adf-style-fixes.theme.scss +18 -0
- package/ui/overrides/ay11.scss +232 -0
- package/ui/theme.scss +55 -0
- package/ui/variables/font-family.scss +1 -0
- package/ui/variables/variables.scss +92 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { AppStore, NavigateLibraryAction } from '@alfresco/aca-shared/store';
|
|
25
|
+
import { Actions } from '@ngrx/effects';
|
|
26
|
+
import { Store } from '@ngrx/store';
|
|
27
|
+
import { ContentApiService } from '@alfresco/aca-shared';
|
|
28
|
+
import { ContentManagementService } from '../../services/content-management.service';
|
|
29
|
+
import * as i0 from "@angular/core";
|
|
30
|
+
export declare class LibraryEffects {
|
|
31
|
+
private store;
|
|
32
|
+
private actions$;
|
|
33
|
+
private content;
|
|
34
|
+
private contentApi;
|
|
35
|
+
constructor(store: Store<AppStore>, actions$: Actions, content: ContentManagementService, contentApi: ContentApiService);
|
|
36
|
+
deleteLibrary$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
37
|
+
leaveLibrary$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
38
|
+
createLibrary$: import("rxjs").Observable<NavigateLibraryAction> & import("@ngrx/effects").CreateEffectMetadata;
|
|
39
|
+
navigateLibrary$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
40
|
+
updateLibrary$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibraryEffects, never>;
|
|
42
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LibraryEffects>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Actions } from '@ngrx/effects';
|
|
25
|
+
import { Store } from '@ngrx/store';
|
|
26
|
+
import { AppStore } from '@alfresco/aca-shared/store';
|
|
27
|
+
import { ContentManagementService } from '../../services/content-management.service';
|
|
28
|
+
import { RenditionService } from '@alfresco/adf-content-services';
|
|
29
|
+
import * as i0 from "@angular/core";
|
|
30
|
+
export declare class NodeEffects {
|
|
31
|
+
private store;
|
|
32
|
+
private actions$;
|
|
33
|
+
private contentService;
|
|
34
|
+
private renditionViewer;
|
|
35
|
+
constructor(store: Store<AppStore>, actions$: Actions, contentService: ContentManagementService, renditionViewer: RenditionService);
|
|
36
|
+
shareNode$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
37
|
+
unshareNodes$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
38
|
+
purgeDeletedNodes$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
39
|
+
restoreDeletedNodes$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
40
|
+
deleteNodes$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
41
|
+
undoDeleteNodes$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
42
|
+
createFolder$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
43
|
+
editFolder$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
44
|
+
copyNodes$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
45
|
+
moveNodes$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
46
|
+
managePermissions$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
47
|
+
expandInfoDrawer$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
48
|
+
manageVersions$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
49
|
+
printFile$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
50
|
+
unlockWrite$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
51
|
+
aspectList$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
52
|
+
printFile(node: any): void;
|
|
53
|
+
manageRules$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NodeEffects, never>;
|
|
55
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NodeEffects>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Actions } from '@ngrx/effects';
|
|
25
|
+
import { Router } from '@angular/router';
|
|
26
|
+
import { SearchNavigationService } from '../../components/search/search-navigation.service';
|
|
27
|
+
import * as i0 from "@angular/core";
|
|
28
|
+
export declare class SearchEffects {
|
|
29
|
+
private actions$;
|
|
30
|
+
private router;
|
|
31
|
+
private searchNavigationService;
|
|
32
|
+
constructor(actions$: Actions, router: Router, searchNavigationService: SearchNavigationService);
|
|
33
|
+
search$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
34
|
+
searchByTerm$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchEffects, never>;
|
|
36
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SearchEffects>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Actions } from '@ngrx/effects';
|
|
25
|
+
import { Store } from '@ngrx/store';
|
|
26
|
+
import { AppStore } from '@alfresco/aca-shared/store';
|
|
27
|
+
import { NodeTemplateService } from '../../services/node-template.service';
|
|
28
|
+
import { AlfrescoApiService } from '@alfresco/adf-core';
|
|
29
|
+
import { AppHookService } from '@alfresco/aca-shared';
|
|
30
|
+
import { Observable } from 'rxjs';
|
|
31
|
+
import { NodesApi } from '@alfresco/js-api';
|
|
32
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
33
|
+
import * as i0 from "@angular/core";
|
|
34
|
+
export declare class TemplateEffects {
|
|
35
|
+
private matDialog;
|
|
36
|
+
private appHookService;
|
|
37
|
+
private store;
|
|
38
|
+
private apiService;
|
|
39
|
+
private actions$;
|
|
40
|
+
private nodeTemplateService;
|
|
41
|
+
private _nodesApi;
|
|
42
|
+
get nodesApi(): NodesApi;
|
|
43
|
+
constructor(matDialog: MatDialog, appHookService: AppHookService, store: Store<AppStore>, apiService: AlfrescoApiService, actions$: Actions, nodeTemplateService: NodeTemplateService);
|
|
44
|
+
fileFromTemplate$: Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
45
|
+
folderFromTemplate$: Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
46
|
+
createFromTemplate$: Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
47
|
+
createFromTemplateSuccess$: Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
48
|
+
private openDialog;
|
|
49
|
+
private copyNode;
|
|
50
|
+
private updateNode;
|
|
51
|
+
private handleError;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateEffects, never>;
|
|
53
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TemplateEffects>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { AppStore } from '@alfresco/aca-shared/store';
|
|
25
|
+
import { NgZone, RendererFactory2 } from '@angular/core';
|
|
26
|
+
import { Actions } from '@ngrx/effects';
|
|
27
|
+
import { Store } from '@ngrx/store';
|
|
28
|
+
import { ContentManagementService } from '../../services/content-management.service';
|
|
29
|
+
import { UploadService, FileModel } from '@alfresco/adf-content-services';
|
|
30
|
+
import * as i0 from "@angular/core";
|
|
31
|
+
export declare class UploadEffects {
|
|
32
|
+
private store;
|
|
33
|
+
private actions$;
|
|
34
|
+
private ngZone;
|
|
35
|
+
private uploadService;
|
|
36
|
+
private contentService;
|
|
37
|
+
private fileInput;
|
|
38
|
+
private folderInput;
|
|
39
|
+
private fileVersionInput;
|
|
40
|
+
private readonly uploadMenuButtonSelector;
|
|
41
|
+
constructor(store: Store<AppStore>, actions$: Actions, ngZone: NgZone, uploadService: UploadService, rendererFactory: RendererFactory2, contentService: ContentManagementService);
|
|
42
|
+
uploadFiles$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
43
|
+
uploadFolder$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
44
|
+
uploadVersion$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
45
|
+
uploadVersion(): void;
|
|
46
|
+
private upload;
|
|
47
|
+
private uploadQueue;
|
|
48
|
+
uploadAndUnlock(file: FileModel | null): void;
|
|
49
|
+
private registerFocusingElementAfterModalClose;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadEffects, never>;
|
|
51
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UploadEffects>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Actions } from '@ngrx/effects';
|
|
25
|
+
import { AppStore, PluginPreviewAction } from '@alfresco/aca-shared/store';
|
|
26
|
+
import { Router } from '@angular/router';
|
|
27
|
+
import { Store } from '@ngrx/store';
|
|
28
|
+
import { AppExtensionService } from '@alfresco/aca-shared';
|
|
29
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
30
|
+
import * as i0 from "@angular/core";
|
|
31
|
+
export declare const fileToPreview: import("@ngrx/store").MemoizedSelector<AppStore, {
|
|
32
|
+
selection: import("@alfresco/adf-extensions").SelectionState;
|
|
33
|
+
folder: import("@alfresco/js-api").MinimalNode;
|
|
34
|
+
}, import("@ngrx/store").DefaultProjectorFn<{
|
|
35
|
+
selection: import("@alfresco/adf-extensions").SelectionState;
|
|
36
|
+
folder: import("@alfresco/js-api").MinimalNode;
|
|
37
|
+
}>>;
|
|
38
|
+
export declare class ViewerEffects {
|
|
39
|
+
private store;
|
|
40
|
+
private actions$;
|
|
41
|
+
private router;
|
|
42
|
+
private extensions;
|
|
43
|
+
private dialog;
|
|
44
|
+
constructor(store: Store<AppStore>, actions$: Actions, router: Router, extensions: AppExtensionService, dialog: MatDialog);
|
|
45
|
+
fullscreenViewer$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
46
|
+
viewNode$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
47
|
+
viewFile$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
48
|
+
viewNodeVersion$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
|
|
49
|
+
pluginPreview$: import("rxjs").Observable<PluginPreviewAction> & import("@ngrx/effects").CreateEffectMetadata;
|
|
50
|
+
private displayPreview;
|
|
51
|
+
enterFullScreen(): void;
|
|
52
|
+
private getNavigationCommands;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewerEffects, never>;
|
|
54
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ViewerEffects>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
export * from './effects/app.effects';
|
|
25
|
+
export * from './effects/download.effects';
|
|
26
|
+
export * from './effects/favorite.effects';
|
|
27
|
+
export * from './effects/node.effects';
|
|
28
|
+
export * from './effects/viewer.effects';
|
|
29
|
+
export * from './effects/search.effects';
|
|
30
|
+
export * from './effects/library.effects';
|
|
31
|
+
export * from './effects/upload.effects';
|
|
32
|
+
export * from './effects/upload.effects';
|
|
33
|
+
export * from './effects/template.effects';
|
|
34
|
+
export * from './effects/contextmenu.effects';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { AppState, AppStore } from '@alfresco/aca-shared/store';
|
|
25
|
+
export declare const INITIAL_APP_STATE: AppState;
|
|
26
|
+
export declare const INITIAL_STATE: AppStore;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Action } from '@ngrx/store';
|
|
25
|
+
import { AppState } from '@alfresco/aca-shared/store';
|
|
26
|
+
export declare function appReducer(state: AppState, action: Action): AppState;
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@alfresco/aca-content",
|
|
3
|
+
"version": "4.0.0-4895233349",
|
|
4
|
+
"license": "LGPL-3.0",
|
|
5
|
+
"peerDependencies": {
|
|
6
|
+
"@angular/common": "^14.1.0",
|
|
7
|
+
"@angular/core": "^14.1.0"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"tslib": "^2.3.0"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/Alfresco/alfresco-content-app.git"
|
|
18
|
+
},
|
|
19
|
+
"module": "fesm2015/alfresco-aca-content.mjs",
|
|
20
|
+
"es2020": "fesm2020/alfresco-aca-content.mjs",
|
|
21
|
+
"esm2020": "esm2020/alfresco-aca-content.mjs",
|
|
22
|
+
"fesm2020": "fesm2020/alfresco-aca-content.mjs",
|
|
23
|
+
"fesm2015": "fesm2015/alfresco-aca-content.mjs",
|
|
24
|
+
"typings": "index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
"./package.json": {
|
|
27
|
+
"default": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./index.d.ts",
|
|
31
|
+
"esm2020": "./esm2020/alfresco-aca-content.mjs",
|
|
32
|
+
"es2020": "./fesm2020/alfresco-aca-content.mjs",
|
|
33
|
+
"es2015": "./fesm2015/alfresco-aca-content.mjs",
|
|
34
|
+
"node": "./fesm2015/alfresco-aca-content.mjs",
|
|
35
|
+
"default": "./fesm2020/alfresco-aca-content.mjs"
|
|
36
|
+
},
|
|
37
|
+
"./about": {
|
|
38
|
+
"types": "./about/index.d.ts",
|
|
39
|
+
"esm2020": "./esm2020/about/alfresco-aca-content-about.mjs",
|
|
40
|
+
"es2020": "./fesm2020/alfresco-aca-content-about.mjs",
|
|
41
|
+
"es2015": "./fesm2015/alfresco-aca-content-about.mjs",
|
|
42
|
+
"node": "./fesm2015/alfresco-aca-content-about.mjs",
|
|
43
|
+
"default": "./fesm2020/alfresco-aca-content-about.mjs"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"sideEffects": false
|
|
47
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
export * from './lib/aca-content.module';
|
|
25
|
+
export * from './lib/aca-content.routes';
|
|
26
|
+
export * from './lib/extensions/core.extensions.module';
|
|
27
|
+
export * from './lib/store/initial-state';
|
|
28
|
+
export * from './lib/services/content-url.service';
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@import 'mixins';
|
|
4
|
+
@import 'theme';
|
|
5
|
+
@import 'variables/font-family';
|
|
6
|
+
|
|
7
|
+
$foreground: map-get($custom-theme, foreground);
|
|
8
|
+
|
|
9
|
+
html,
|
|
10
|
+
body {
|
|
11
|
+
@include flex-column;
|
|
12
|
+
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
font-family: $default-font-family;
|
|
15
|
+
color: mat.get-color-from-palette($foreground, text, 0.87);
|
|
16
|
+
margin: 0;
|
|
17
|
+
|
|
18
|
+
& > main {
|
|
19
|
+
@include flex-column;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.mat-icon {
|
|
24
|
+
overflow: unset !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[dir='rtl'] .mat-icon {
|
|
28
|
+
transform: scale(-1, 1);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// todo: move this to corresponding component theme files
|
|
32
|
+
.adf-container-full-width {
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
app-root,
|
|
37
|
+
app-shell,
|
|
38
|
+
app-about,
|
|
39
|
+
adf-layout-container,
|
|
40
|
+
aca-search-results,
|
|
41
|
+
ng-component {
|
|
42
|
+
@include flex-column;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media screen and (max-width: 600px) {
|
|
46
|
+
app-root,
|
|
47
|
+
app-about,
|
|
48
|
+
adf-layout-container,
|
|
49
|
+
aca-search-results,
|
|
50
|
+
ng-component {
|
|
51
|
+
height: 100vh;
|
|
52
|
+
}
|
|
53
|
+
}
|
package/ui/colors.scss
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
$aca-primary-blue: (
|
|
2
|
+
50: #e0ebf6,
|
|
3
|
+
100: #b3ccea,
|
|
4
|
+
200: #80aadc,
|
|
5
|
+
300: #4d88cd,
|
|
6
|
+
400: #266fc3,
|
|
7
|
+
500: #0055b8,
|
|
8
|
+
600: #004eb1,
|
|
9
|
+
700: #0044a8,
|
|
10
|
+
800: #003ba0,
|
|
11
|
+
900: #002a91,
|
|
12
|
+
A100: #0055b8,
|
|
13
|
+
A200: #0a1f8f,
|
|
14
|
+
A400: #2a7de1,
|
|
15
|
+
A700: #00c1de,
|
|
16
|
+
contrast: (
|
|
17
|
+
50: $black-87-opacity,
|
|
18
|
+
100: $black-87-opacity,
|
|
19
|
+
200: $black-87-opacity,
|
|
20
|
+
300: $black-87-opacity,
|
|
21
|
+
400: $black-87-opacity,
|
|
22
|
+
500: white,
|
|
23
|
+
600: white,
|
|
24
|
+
700: white,
|
|
25
|
+
800: $white-87-opacity,
|
|
26
|
+
900: $white-87-opacity,
|
|
27
|
+
A100: white,
|
|
28
|
+
A200: white,
|
|
29
|
+
A400: white,
|
|
30
|
+
A700: white
|
|
31
|
+
)
|
|
32
|
+
);
|
|
33
|
+
$aca-accent-green: (
|
|
34
|
+
50: #e7f3e7,
|
|
35
|
+
100: #c2e1c2,
|
|
36
|
+
200: #9acd9a,
|
|
37
|
+
300: #72b971,
|
|
38
|
+
400: #53aa52,
|
|
39
|
+
500: #359b34,
|
|
40
|
+
600: #30932f,
|
|
41
|
+
700: #288927,
|
|
42
|
+
800: #227f21,
|
|
43
|
+
900: #166d15,
|
|
44
|
+
A100: #359b34,
|
|
45
|
+
A200: #00754a,
|
|
46
|
+
A400: #76bc21,
|
|
47
|
+
A700: #c2e76b,
|
|
48
|
+
contrast: (
|
|
49
|
+
50: $black-87-opacity,
|
|
50
|
+
100: $black-87-opacity,
|
|
51
|
+
200: $black-87-opacity,
|
|
52
|
+
300: $black-87-opacity,
|
|
53
|
+
400: $black-87-opacity,
|
|
54
|
+
500: white,
|
|
55
|
+
600: white,
|
|
56
|
+
700: white,
|
|
57
|
+
800: $white-87-opacity,
|
|
58
|
+
900: $white-87-opacity,
|
|
59
|
+
A100: $black-87-opacity,
|
|
60
|
+
A200: white,
|
|
61
|
+
A400: white,
|
|
62
|
+
A700: white
|
|
63
|
+
)
|
|
64
|
+
);
|
|
65
|
+
$aca-warn: (
|
|
66
|
+
50: #f6e1e5,
|
|
67
|
+
100: #eab5bf,
|
|
68
|
+
200: #dc8495,
|
|
69
|
+
300: #cd526a,
|
|
70
|
+
400: #c32d4a,
|
|
71
|
+
500: #b8082a,
|
|
72
|
+
600: #b10725,
|
|
73
|
+
700: #a8061f,
|
|
74
|
+
800: #a00419,
|
|
75
|
+
900: #91020f,
|
|
76
|
+
A100: #b8082a,
|
|
77
|
+
A200: #db0f36,
|
|
78
|
+
A400: #ff5252,
|
|
79
|
+
A700: #ff8a80,
|
|
80
|
+
contrast: (
|
|
81
|
+
50: $black-87-opacity,
|
|
82
|
+
100: $black-87-opacity,
|
|
83
|
+
200: $black-87-opacity,
|
|
84
|
+
300: $black-87-opacity,
|
|
85
|
+
400: $black-87-opacity,
|
|
86
|
+
500: white,
|
|
87
|
+
600: white,
|
|
88
|
+
700: white,
|
|
89
|
+
800: $white-87-opacity,
|
|
90
|
+
900: $white-87-opacity,
|
|
91
|
+
A100: $black-87-opacity,
|
|
92
|
+
A200: white,
|
|
93
|
+
A400: white,
|
|
94
|
+
A700: white
|
|
95
|
+
)
|
|
96
|
+
);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* stylelint-disable value-keyword-case */
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@import './overrides/adf-style-fixes.theme';
|
|
4
|
+
@import './overrides/adf-pagination.theme';
|
|
5
|
+
@import './overrides/ay11';
|
|
6
|
+
@import './overrides/adf-about.theme';
|
|
7
|
+
@import './colors';
|
|
8
|
+
|
|
9
|
+
$mat-primary-palette: mat.define-palette($aca-primary-blue, A100);
|
|
10
|
+
$mat-accent-palette: mat.define-palette($aca-accent-green, A200);
|
|
11
|
+
$mat-warn-palette: mat.define-palette($aca-warn, A100);
|
|
12
|
+
$app-typography: mat.define-typography-config($font-family: 'Open Sans');
|
|
13
|
+
|
|
14
|
+
@include mat.core($app-typography);
|
|
15
|
+
|
|
16
|
+
$custom-theme: mat.define-light-theme(
|
|
17
|
+
(
|
|
18
|
+
color: (
|
|
19
|
+
primary: $mat-primary-palette,
|
|
20
|
+
accent: $mat-accent-palette,
|
|
21
|
+
warn: $mat-warn-palette
|
|
22
|
+
),
|
|
23
|
+
typography: $app-typography
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
@mixin custom-theme($theme) {
|
|
28
|
+
@include mat.all-component-themes($theme);
|
|
29
|
+
@include adf-core-theme($theme);
|
|
30
|
+
@include adf-style-fixes($theme);
|
|
31
|
+
@include adf-pagination-theme($theme);
|
|
32
|
+
@include ay11-theme;
|
|
33
|
+
@include adf-about-theme($theme);
|
|
34
|
+
}
|