@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.
Files changed (264) hide show
  1. package/README.md +24 -0
  2. package/about/about.component.d.ts +45 -0
  3. package/about/aca-about.module.d.ts +39 -0
  4. package/about/dev-mode.tokens.d.ts +25 -0
  5. package/about/index.d.ts +5 -0
  6. package/about/package-json.token.d.ts +25 -0
  7. package/about/public-api.d.ts +27 -0
  8. package/assets/app.extensions.json +2626 -0
  9. package/assets/i18n/ar.json +660 -0
  10. package/assets/i18n/cs.json +660 -0
  11. package/assets/i18n/da.json +660 -0
  12. package/assets/i18n/de.json +660 -0
  13. package/assets/i18n/en.json +660 -0
  14. package/assets/i18n/es.json +660 -0
  15. package/assets/i18n/fi.json +660 -0
  16. package/assets/i18n/fr.json +660 -0
  17. package/assets/i18n/it.json +660 -0
  18. package/assets/i18n/ja.json +660 -0
  19. package/assets/i18n/nb.json +660 -0
  20. package/assets/i18n/nl.json +660 -0
  21. package/assets/i18n/pl.json +660 -0
  22. package/assets/i18n/pt-BR.json +660 -0
  23. package/assets/i18n/ru.json +660 -0
  24. package/assets/i18n/sv.json +660 -0
  25. package/assets/i18n/zh-CN.json +660 -0
  26. package/assets/images/Wallpaper-BG-generic.svg +39 -0
  27. package/assets/images/adf-move-file-24px.svg +1 -0
  28. package/assets/images/baseline-library_books-24px.svg +2 -0
  29. package/assets/images/baseline-lock-24px.svg +1 -0
  30. package/assets/images/join-library.svg +32 -0
  31. package/esm2020/about/about.component.mjs +77 -0
  32. package/esm2020/about/aca-about.module.mjs +67 -0
  33. package/esm2020/about/alfresco-aca-content-about.mjs +5 -0
  34. package/esm2020/about/dev-mode.tokens.mjs +26 -0
  35. package/esm2020/about/package-json.token.mjs +26 -0
  36. package/esm2020/about/public-api.mjs +28 -0
  37. package/esm2020/alfresco-aca-content.mjs +5 -0
  38. package/esm2020/lib/aca-content.module.mjs +365 -0
  39. package/esm2020/lib/aca-content.routes.mjs +581 -0
  40. package/esm2020/lib/components/common/common.module.mjs +67 -0
  41. package/esm2020/lib/components/common/language-picker/language-picker.component.mjs +57 -0
  42. package/esm2020/lib/components/common/location-link/location-link.component.mjs +177 -0
  43. package/esm2020/lib/components/common/logout/logout.component.mjs +60 -0
  44. package/esm2020/lib/components/common/toggle-shared/toggle-shared.component.mjs +65 -0
  45. package/esm2020/lib/components/common/user-info/user-info.component.mjs +86 -0
  46. package/esm2020/lib/components/context-menu/context-menu-item.component.mjs +58 -0
  47. package/esm2020/lib/components/context-menu/context-menu-outside-event.directive.mjs +65 -0
  48. package/esm2020/lib/components/context-menu/context-menu-overlay.mjs +32 -0
  49. package/esm2020/lib/components/context-menu/context-menu.component.mjs +102 -0
  50. package/esm2020/lib/components/context-menu/context-menu.module.mjs +76 -0
  51. package/esm2020/lib/components/context-menu/context-menu.service.mjs +103 -0
  52. package/esm2020/lib/components/context-menu/direction.token.mjs +29 -0
  53. package/esm2020/lib/components/context-menu/interfaces.mjs +25 -0
  54. package/esm2020/lib/components/create-menu/create-menu.component.mjs +73 -0
  55. package/esm2020/lib/components/create-menu/create-menu.module.mjs +44 -0
  56. package/esm2020/lib/components/details/details.component.mjs +99 -0
  57. package/esm2020/lib/components/dl-custom-components/document-list-custom-components.module.mjs +49 -0
  58. package/esm2020/lib/components/dl-custom-components/name-column/name-column.component.mjs +90 -0
  59. package/esm2020/lib/components/dl-custom-components/tags-column/tags-column.component.mjs +31 -0
  60. package/esm2020/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.mjs +51 -0
  61. package/esm2020/lib/components/favorite-libraries/favorite-libraries.component.mjs +113 -0
  62. package/esm2020/lib/components/favorites/favorites.component.mjs +98 -0
  63. package/esm2020/lib/components/files/files.component.mjs +312 -0
  64. package/esm2020/lib/components/home/home.component.mjs +49 -0
  65. package/esm2020/lib/components/info-drawer/comments-tab/comments-tab.component.mjs +56 -0
  66. package/esm2020/lib/components/info-drawer/info.drawer.module.mjs +92 -0
  67. package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.mjs +143 -0
  68. package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.mjs +42 -0
  69. package/esm2020/lib/components/info-drawer/metadata-tab/metadata-tab.component.mjs +88 -0
  70. package/esm2020/lib/components/info-drawer/versions-tab/versions-tab.component.mjs +95 -0
  71. package/esm2020/lib/components/libraries/libraries.component.mjs +70 -0
  72. package/esm2020/lib/components/node-version/node-version-form.component.mjs +70 -0
  73. package/esm2020/lib/components/node-version/node-version.module.mjs +78 -0
  74. package/esm2020/lib/components/recent-files/recent-files.component.mjs +81 -0
  75. package/esm2020/lib/components/search/search-action-menu/search-action-menu.component.mjs +59 -0
  76. package/esm2020/lib/components/search/search-input/search-input.component.mjs +275 -0
  77. package/esm2020/lib/components/search/search-input-control/search-input-control.component.mjs +87 -0
  78. package/esm2020/lib/components/search/search-input.module.mjs +47 -0
  79. package/esm2020/lib/components/search/search-libraries-results/search-libraries-query-builder.service.mjs +91 -0
  80. package/esm2020/lib/components/search/search-libraries-results/search-libraries-results.component.mjs +142 -0
  81. package/esm2020/lib/components/search/search-navigation.service.mjs +60 -0
  82. package/esm2020/lib/components/search/search-results/search-results.component.mjs +221 -0
  83. package/esm2020/lib/components/search/search-results-row/search-results-row.component.mjs +101 -0
  84. package/esm2020/lib/components/search/search-results.module.mjs +88 -0
  85. package/esm2020/lib/components/shared-files/shared-files.component.mjs +78 -0
  86. package/esm2020/lib/components/shared-link-view/shared-link-view.component.mjs +81 -0
  87. package/esm2020/lib/components/shared-link-view/shared-link-view.module.mjs +69 -0
  88. package/esm2020/lib/components/sidenav/components/button-menu.component.mjs +57 -0
  89. package/esm2020/lib/components/sidenav/components/expand-menu.component.mjs +53 -0
  90. package/esm2020/lib/components/sidenav/components/sidenav-header.component.mjs +74 -0
  91. package/esm2020/lib/components/sidenav/directives/action.directive.mjs +74 -0
  92. package/esm2020/lib/components/sidenav/directives/active-link.directive.mjs +92 -0
  93. package/esm2020/lib/components/sidenav/directives/expansion-panel.directive.mjs +101 -0
  94. package/esm2020/lib/components/sidenav/directives/menu-panel.directive.mjs +98 -0
  95. package/esm2020/lib/components/sidenav/sidenav.component.mjs +83 -0
  96. package/esm2020/lib/components/sidenav/sidenav.module.mjs +84 -0
  97. package/esm2020/lib/components/toolbar/document-display-mode/document-display-mode.component.mjs +84 -0
  98. package/esm2020/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.mjs +150 -0
  99. package/esm2020/lib/components/toolbar/toggle-favorite/toggle-favorite.component.mjs +79 -0
  100. package/esm2020/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.mjs +101 -0
  101. package/esm2020/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.mjs +75 -0
  102. package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.mjs +98 -0
  103. package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.mjs +80 -0
  104. package/esm2020/lib/components/toolbar/toolbar.module.mjs +88 -0
  105. package/esm2020/lib/components/toolbar/view-node/view-node.component.mjs +109 -0
  106. package/esm2020/lib/components/trashcan/trashcan.component.mjs +63 -0
  107. package/esm2020/lib/components/trashcan/trashcan.module.mjs +74 -0
  108. package/esm2020/lib/components/upload-files-dialog/upload-files-dialog.component.mjs +50 -0
  109. package/esm2020/lib/components/view-profile/view-profile.component.mjs +174 -0
  110. package/esm2020/lib/components/view-profile/view-profile.guard.mjs +47 -0
  111. package/esm2020/lib/components/view-profile/view-profile.module.mjs +42 -0
  112. package/esm2020/lib/dialogs/node-template/create-from-template.dialog.mjs +119 -0
  113. package/esm2020/lib/directives/directives.module.mjs +42 -0
  114. package/esm2020/lib/directives/document-list.directive.mjs +141 -0
  115. package/esm2020/lib/extensions/core.extensions.module.mjs +64 -0
  116. package/esm2020/lib/material.module.mjs +57 -0
  117. package/esm2020/lib/services/content-management.service.mjs +870 -0
  118. package/esm2020/lib/services/content-service-extension.service.mjs +63 -0
  119. package/esm2020/lib/services/content-url.service.mjs +72 -0
  120. package/esm2020/lib/services/node-actions.service.mjs +600 -0
  121. package/esm2020/lib/services/node-template.service.mjs +149 -0
  122. package/esm2020/lib/store/app-store.module.mjs +95 -0
  123. package/esm2020/lib/store/effects/app.effects.mjs +61 -0
  124. package/esm2020/lib/store/effects/contextmenu.effects.mjs +55 -0
  125. package/esm2020/lib/store/effects/download.effects.mjs +159 -0
  126. package/esm2020/lib/store/effects/favorite.effects.mjs +76 -0
  127. package/esm2020/lib/store/effects/library.effects.mjs +111 -0
  128. package/esm2020/lib/store/effects/node.effects.mjs +309 -0
  129. package/esm2020/lib/store/effects/search.effects.mjs +60 -0
  130. package/esm2020/lib/store/effects/template.effects.mjs +121 -0
  131. package/esm2020/lib/store/effects/upload.effects.mjs +169 -0
  132. package/esm2020/lib/store/effects/viewer.effects.mjs +175 -0
  133. package/esm2020/lib/store/effects.mjs +35 -0
  134. package/esm2020/lib/store/initial-state.mjs +62 -0
  135. package/esm2020/lib/store/reducers/app.reducer.mjs +211 -0
  136. package/esm2020/public-api.mjs +32 -0
  137. package/fesm2015/alfresco-aca-content-about.mjs +216 -0
  138. package/fesm2015/alfresco-aca-content-about.mjs.map +1 -0
  139. package/fesm2015/alfresco-aca-content.mjs +9771 -0
  140. package/fesm2015/alfresco-aca-content.mjs.map +1 -0
  141. package/fesm2020/alfresco-aca-content-about.mjs +214 -0
  142. package/fesm2020/alfresco-aca-content-about.mjs.map +1 -0
  143. package/fesm2020/alfresco-aca-content.mjs +9915 -0
  144. package/fesm2020/alfresco-aca-content.mjs.map +1 -0
  145. package/index.d.ts +5 -0
  146. package/lib/aca-content.module.d.ts +47 -0
  147. package/lib/aca-content.routes.d.ts +27 -0
  148. package/lib/components/common/common.module.d.ts +17 -0
  149. package/lib/components/common/language-picker/language-picker.component.d.ts +5 -0
  150. package/lib/components/common/location-link/location-link.component.d.ts +48 -0
  151. package/lib/components/common/logout/logout.component.d.ts +10 -0
  152. package/lib/components/common/toggle-shared/toggle-shared.component.d.ts +43 -0
  153. package/lib/components/common/user-info/user-info.component.d.ts +44 -0
  154. package/lib/components/context-menu/context-menu-item.component.d.ts +13 -0
  155. package/lib/components/context-menu/context-menu-outside-event.directive.d.ts +35 -0
  156. package/lib/components/context-menu/context-menu-overlay.d.ts +29 -0
  157. package/lib/components/context-menu/context-menu.component.d.ts +48 -0
  158. package/lib/components/context-menu/context-menu.module.d.ts +18 -0
  159. package/lib/components/context-menu/context-menu.service.d.ts +43 -0
  160. package/lib/components/context-menu/direction.token.d.ts +25 -0
  161. package/lib/components/context-menu/interfaces.d.ts +30 -0
  162. package/lib/components/create-menu/create-menu.component.d.ts +42 -0
  163. package/lib/components/create-menu/create-menu.module.d.ts +10 -0
  164. package/lib/components/details/details.component.d.ts +46 -0
  165. package/lib/components/dl-custom-components/document-list-custom-components.module.d.ts +14 -0
  166. package/lib/components/dl-custom-components/name-column/name-column.component.d.ts +41 -0
  167. package/lib/components/dl-custom-components/tags-column/tags-column.component.d.ts +35 -0
  168. package/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.d.ts +17 -0
  169. package/lib/components/favorite-libraries/favorite-libraries.component.d.ts +54 -0
  170. package/lib/components/favorites/favorites.component.d.ts +49 -0
  171. package/lib/components/files/files.component.d.ts +55 -0
  172. package/lib/components/home/home.component.d.ts +36 -0
  173. package/lib/components/info-drawer/comments-tab/comments-tab.component.d.ts +11 -0
  174. package/lib/components/info-drawer/info.drawer.module.d.ts +19 -0
  175. package/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.d.ts +64 -0
  176. package/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.d.ts +7 -0
  177. package/lib/components/info-drawer/metadata-tab/metadata-tab.component.d.ts +49 -0
  178. package/lib/components/info-drawer/versions-tab/versions-tab.component.d.ts +35 -0
  179. package/lib/components/libraries/libraries.component.d.ts +44 -0
  180. package/lib/components/node-version/node-version-form.component.d.ts +46 -0
  181. package/lib/components/node-version/node-version.module.d.ts +16 -0
  182. package/lib/components/recent-files/recent-files.component.d.ts +48 -0
  183. package/lib/components/search/search-action-menu/search-action-menu.component.d.ts +38 -0
  184. package/lib/components/search/search-input/search-input.component.d.ts +85 -0
  185. package/lib/components/search/search-input-control/search-input-control.component.d.ts +50 -0
  186. package/lib/components/search/search-input.module.d.ts +12 -0
  187. package/lib/components/search/search-libraries-results/search-libraries-query-builder.service.d.ts +56 -0
  188. package/lib/components/search/search-libraries-results/search-libraries-results.component.d.ts +58 -0
  189. package/lib/components/search/search-navigation.service.d.ts +13 -0
  190. package/lib/components/search/search-results/search-results.component.d.ts +69 -0
  191. package/lib/components/search/search-results-row/search-results-row.component.d.ts +50 -0
  192. package/lib/components/search/search-results.module.d.ts +21 -0
  193. package/lib/components/shared-files/shared-files.component.d.ts +47 -0
  194. package/lib/components/shared-link-view/shared-link-view.component.d.ts +47 -0
  195. package/lib/components/shared-link-view/shared-link-view.module.d.ts +15 -0
  196. package/lib/components/sidenav/components/button-menu.component.d.ts +37 -0
  197. package/lib/components/sidenav/components/expand-menu.component.d.ts +35 -0
  198. package/lib/components/sidenav/components/sidenav-header.component.d.ts +48 -0
  199. package/lib/components/sidenav/directives/action.directive.d.ts +14 -0
  200. package/lib/components/sidenav/directives/active-link.directive.d.ts +45 -0
  201. package/lib/components/sidenav/directives/expansion-panel.directive.d.ts +44 -0
  202. package/lib/components/sidenav/directives/menu-panel.directive.d.ts +42 -0
  203. package/lib/components/sidenav/sidenav.component.d.ts +50 -0
  204. package/lib/components/sidenav/sidenav.module.d.ts +19 -0
  205. package/lib/components/toolbar/document-display-mode/document-display-mode.component.d.ts +13 -0
  206. package/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.d.ts +47 -0
  207. package/lib/components/toolbar/toggle-favorite/toggle-favorite.component.d.ts +42 -0
  208. package/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.d.ts +42 -0
  209. package/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.d.ts +11 -0
  210. package/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.d.ts +41 -0
  211. package/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.d.ts +10 -0
  212. package/lib/components/toolbar/toolbar.module.d.ts +20 -0
  213. package/lib/components/toolbar/view-node/view-node.component.d.ts +19 -0
  214. package/lib/components/trashcan/trashcan.component.d.ts +42 -0
  215. package/lib/components/trashcan/trashcan.module.d.ts +16 -0
  216. package/lib/components/upload-files-dialog/upload-files-dialog.component.d.ts +37 -0
  217. package/lib/components/view-profile/view-profile.component.d.ts +59 -0
  218. package/lib/components/view-profile/view-profile.guard.d.ts +12 -0
  219. package/lib/components/view-profile/view-profile.module.d.ts +9 -0
  220. package/lib/dialogs/node-template/create-from-template.dialog.d.ts +49 -0
  221. package/lib/directives/directives.module.d.ts +9 -0
  222. package/lib/directives/document-list.directive.d.ts +56 -0
  223. package/lib/extensions/core.extensions.module.d.ts +14 -0
  224. package/lib/material.module.d.ts +14 -0
  225. package/lib/services/content-management.service.d.ts +100 -0
  226. package/lib/services/content-service-extension.service.d.ts +11 -0
  227. package/lib/services/content-url.service.d.ts +17 -0
  228. package/lib/services/node-actions.service.d.ts +93 -0
  229. package/lib/services/node-template.service.d.ts +34 -0
  230. package/lib/store/app-store.module.d.ts +10 -0
  231. package/lib/store/effects/app.effects.d.ts +41 -0
  232. package/lib/store/effects/contextmenu.effects.d.ts +12 -0
  233. package/lib/store/effects/download.effects.d.ts +49 -0
  234. package/lib/store/effects/favorite.effects.d.ts +38 -0
  235. package/lib/store/effects/library.effects.d.ts +43 -0
  236. package/lib/store/effects/node.effects.d.ts +56 -0
  237. package/lib/store/effects/search.effects.d.ts +37 -0
  238. package/lib/store/effects/template.effects.d.ts +54 -0
  239. package/lib/store/effects/upload.effects.d.ts +52 -0
  240. package/lib/store/effects/viewer.effects.d.ts +55 -0
  241. package/lib/store/effects.d.ts +34 -0
  242. package/lib/store/initial-state.d.ts +26 -0
  243. package/lib/store/reducers/app.reducer.d.ts +26 -0
  244. package/package.json +47 -0
  245. package/public-api.d.ts +28 -0
  246. package/ui/application.scss +53 -0
  247. package/ui/colors.scss +96 -0
  248. package/ui/custom-theme.scss +34 -0
  249. package/ui/dynamic-theme/custom-background-color.scss +14 -0
  250. package/ui/dynamic-theme/custom-palette-creator.scss +132 -0
  251. package/ui/dynamic-theme/custom-text-color.scss +8 -0
  252. package/ui/dynamic-theme/custom-theme-palettes.scss +33 -0
  253. package/ui/dynamic-theme/custom-theme.scss.tpl +72 -0
  254. package/ui/dynamic-theme/index.scss +1 -0
  255. package/ui/dynamic-theme/theme-configuration.scss.tpl +14 -0
  256. package/ui/dynamic-theme/typography.scss +94 -0
  257. package/ui/mixins.scss +26 -0
  258. package/ui/overrides/adf-about.theme.scss +38 -0
  259. package/ui/overrides/adf-pagination.theme.scss +46 -0
  260. package/ui/overrides/adf-style-fixes.theme.scss +18 -0
  261. package/ui/overrides/ay11.scss +232 -0
  262. package/ui/theme.scss +55 -0
  263. package/ui/variables/font-family.scss +1 -0
  264. 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
+ }
@@ -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
+ }