@alfresco/aca-shared 2.0.1 → 4.0.0-A.2-9920

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/README.md +2 -1
  2. package/{esm2015/alfresco-aca-shared.js → esm2020/alfresco-aca-shared.mjs} +0 -0
  3. package/esm2020/lib/adf-extensions/extensions-data-loader.guard.mjs +74 -0
  4. package/esm2020/lib/components/document-base-page/document-base-page.component.mjs +160 -0
  5. package/esm2020/lib/components/document-base-page/document-base-page.service.mjs +10 -0
  6. package/esm2020/lib/components/generic-error/generic-error.component.mjs +42 -0
  7. package/esm2020/lib/components/generic-error/generic-error.module.mjs +45 -0
  8. package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +124 -0
  9. package/esm2020/lib/components/info-drawer/shared-info-drawer.module.mjs +47 -0
  10. package/esm2020/lib/components/locked-by/locked-by.component.mjs +53 -0
  11. package/esm2020/lib/components/locked-by/locked-by.module.mjs +45 -0
  12. package/esm2020/lib/components/page-layout/page-layout-content.component.mjs +49 -0
  13. package/esm2020/lib/components/page-layout/page-layout-error.component.mjs +41 -0
  14. package/esm2020/lib/components/page-layout/page-layout-header.component.mjs +41 -0
  15. package/esm2020/lib/components/page-layout/page-layout.component.mjs +41 -0
  16. package/esm2020/lib/components/page-layout/page-layout.module.mjs +45 -0
  17. package/esm2020/lib/components/tool-bar/shared-toolbar.module.mjs +47 -0
  18. package/esm2020/lib/components/tool-bar/toolbar-action/toolbar-action.component.mjs +58 -0
  19. package/esm2020/lib/components/tool-bar/toolbar-button/toolbar-button.component.mjs +67 -0
  20. package/esm2020/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.mjs +78 -0
  21. package/esm2020/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.mjs +69 -0
  22. package/esm2020/lib/directives/contextmenu/contextmenu.directive.mjs +107 -0
  23. package/{esm2015/lib/components/info-drawer/shared-info-drawer.module.js → esm2020/lib/directives/contextmenu/contextmenu.module.mjs} +17 -15
  24. package/esm2020/lib/directives/pagination.directive.mjs +55 -0
  25. package/esm2020/lib/directives/shared.directives.module.mjs +42 -0
  26. package/esm2020/lib/models/modal-configuration.mjs +2 -0
  27. package/{esm2015/lib/models/types.js → esm2020/lib/models/types.mjs} +1 -0
  28. package/{esm2015/lib/models/viewer.rules.js → esm2020/lib/models/viewer.rules.mjs} +2 -1
  29. package/esm2020/lib/routing/shared.guard.mjs +49 -0
  30. package/esm2020/lib/services/alfresco-office-extension.service.mjs +64 -0
  31. package/esm2020/lib/services/app-hook.service.mjs +88 -0
  32. package/esm2020/lib/services/app.extension.service.mjs +453 -0
  33. package/esm2020/lib/services/app.service.mjs +213 -0
  34. package/esm2020/lib/services/content-api.service.mjs +268 -0
  35. package/{esm2015/lib/services/node-permission.service.js → esm2020/lib/services/node-permission.service.mjs} +9 -7
  36. package/esm2020/lib/services/router.extension.service.mjs +106 -0
  37. package/esm2020/lib/shared.module.mjs +49 -0
  38. package/esm2020/lib/testing/lib-testing-module.mjs +118 -0
  39. package/{esm2015/store/actions/contextmenu.actions.js → esm2020/lib/testing/translation.service.mjs} +19 -9
  40. package/{esm2015/lib/utils/node.utils.js → esm2020/lib/utils/node.utils.mjs} +0 -0
  41. package/esm2020/public-api.mjs +63 -0
  42. package/{esm2015/rules/alfresco-aca-shared-rules.js → esm2020/rules/alfresco-aca-shared-rules.mjs} +0 -0
  43. package/esm2020/rules/app.rules.mjs +503 -0
  44. package/esm2020/rules/navigation.rules.mjs +152 -0
  45. package/{esm2015/rules/public-api.js → esm2020/rules/public-api.mjs} +0 -0
  46. package/{esm2015/store/states/app.state.js → esm2020/rules/repository.rules.mjs} +10 -1
  47. package/esm2020/rules/user.rules.mjs +30 -0
  48. package/esm2020/store/actions/app-action-types.mjs +48 -0
  49. package/esm2020/store/actions/app.actions.mjs +135 -0
  50. package/esm2020/store/actions/context-menu-action-types.mjs +29 -0
  51. package/esm2020/store/actions/contextmenu.actions.mjs +32 -0
  52. package/esm2020/store/actions/library.actions.mjs +64 -0
  53. package/{esm2015/store/actions/metadata-aspect.actions.js → esm2020/store/actions/metadata-aspect.actions.mjs} +0 -0
  54. package/esm2020/store/actions/node.actions.mjs +189 -0
  55. package/{esm2015/lib/components/generic-error/generic-error.module.js → esm2020/store/actions/router-action-types.mjs} +9 -15
  56. package/esm2020/store/actions/router.actions.mjs +55 -0
  57. package/esm2020/store/actions/search.actions.mjs +36 -0
  58. package/esm2020/store/actions/snackbar.actions.mjs +58 -0
  59. package/esm2020/store/actions/template-action-types.mjs +32 -0
  60. package/{esm2015/lib/components/generic-error/generic-error.component.js → esm2020/store/actions/template.actions.mjs} +21 -17
  61. package/esm2020/store/actions/upload.actions.mjs +50 -0
  62. package/esm2020/store/actions/viewer.actions.mjs +82 -0
  63. package/{esm2015/store/alfresco-aca-shared-store.js → esm2020/store/alfresco-aca-shared-store.mjs} +0 -0
  64. package/esm2020/store/effects/dialog.effects.mjs +45 -0
  65. package/esm2020/store/effects/router.effects.mjs +117 -0
  66. package/esm2020/store/effects/snackbar.effects.mjs +86 -0
  67. package/{esm2015/store/models/delete-status.model.js → esm2020/store/models/delete-status.model.mjs} +1 -0
  68. package/{esm2015/store/models/deleted-node-info.model.js → esm2020/store/models/deleted-node-info.model.mjs} +1 -0
  69. package/esm2020/store/models/modal-configuration.mjs +2 -0
  70. package/{esm2015/store/models/node-info.model.js → esm2020/store/models/node-info.model.mjs} +1 -0
  71. package/{esm2015/store/models/search-option.model.js → esm2020/store/models/search-option.model.mjs} +0 -0
  72. package/esm2020/store/public-api.mjs +50 -0
  73. package/esm2020/store/selectors/app.selectors.mjs +60 -0
  74. package/esm2020/store/states/app.state.mjs +27 -0
  75. package/esm2020/store/store.module.mjs +43 -0
  76. package/fesm2015/alfresco-aca-shared-rules.mjs +751 -0
  77. package/fesm2015/alfresco-aca-shared-rules.mjs.map +1 -0
  78. package/fesm2015/{alfresco-aca-shared-store.js → alfresco-aca-shared-store.mjs} +302 -276
  79. package/fesm2015/alfresco-aca-shared-store.mjs.map +1 -0
  80. package/fesm2015/alfresco-aca-shared.mjs +2726 -0
  81. package/fesm2015/alfresco-aca-shared.mjs.map +1 -0
  82. package/{fesm2015/alfresco-aca-shared-rules.js → fesm2020/alfresco-aca-shared-rules.mjs} +220 -150
  83. package/fesm2020/alfresco-aca-shared-rules.mjs.map +1 -0
  84. package/fesm2020/alfresco-aca-shared-store.mjs +1406 -0
  85. package/fesm2020/alfresco-aca-shared-store.mjs.map +1 -0
  86. package/fesm2020/alfresco-aca-shared.mjs +2841 -0
  87. package/fesm2020/alfresco-aca-shared.mjs.map +1 -0
  88. package/{alfresco-aca-shared.d.ts → index.d.ts} +1 -0
  89. package/lib/adf-extensions/extensions-data-loader.guard.d.ts +4 -1
  90. package/lib/components/document-base-page/document-base-page.component.d.ts +74 -0
  91. package/lib/components/document-base-page/document-base-page.service.d.ts +5 -0
  92. package/lib/components/generic-error/generic-error.component.d.ts +3 -24
  93. package/lib/components/generic-error/generic-error.module.d.ts +8 -24
  94. package/lib/components/info-drawer/info-drawer.component.d.ts +6 -0
  95. package/lib/components/info-drawer/shared-info-drawer.module.d.ts +11 -24
  96. package/lib/components/locked-by/locked-by.component.d.ts +5 -30
  97. package/lib/components/locked-by/locked-by.module.d.ts +8 -24
  98. package/lib/components/page-layout/page-layout-content.component.d.ts +3 -24
  99. package/lib/components/page-layout/page-layout-error.component.d.ts +3 -24
  100. package/lib/components/page-layout/page-layout-header.component.d.ts +3 -24
  101. package/lib/components/page-layout/page-layout.component.d.ts +3 -24
  102. package/lib/components/page-layout/page-layout.module.d.ts +9 -24
  103. package/lib/components/tool-bar/shared-toolbar.module.d.ts +11 -24
  104. package/lib/components/tool-bar/toolbar-action/toolbar-action.component.d.ts +7 -2
  105. package/lib/components/tool-bar/toolbar-button/toolbar-button.component.d.ts +5 -25
  106. package/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.d.ts +13 -7
  107. package/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.d.ts +7 -27
  108. package/lib/directives/contextmenu/contextmenu.directive.d.ts +5 -1
  109. package/lib/directives/contextmenu/contextmenu.module.d.ts +5 -24
  110. package/lib/directives/pagination.directive.d.ts +3 -0
  111. package/lib/directives/shared.directives.module.d.ts +6 -24
  112. package/lib/models/modal-configuration.d.ts +3 -0
  113. package/lib/models/viewer.rules.d.ts +4 -0
  114. package/lib/routing/shared.guard.d.ts +3 -24
  115. package/lib/services/alfresco-office-extension.service.d.ts +11 -0
  116. package/lib/services/app-hook.service.d.ts +55 -0
  117. package/lib/services/app.extension.service.d.ts +30 -45
  118. package/lib/services/app.service.d.ts +42 -6
  119. package/lib/services/content-api.service.d.ts +34 -25
  120. package/lib/services/node-permission.service.d.ts +3 -24
  121. package/lib/services/router.extension.service.d.ts +3 -24
  122. package/lib/shared.module.d.ts +5 -0
  123. package/lib/testing/lib-testing-module.d.ts +43 -0
  124. package/lib/testing/translation.service.d.ts +10 -0
  125. package/package.json +57 -18
  126. package/public-api.d.ts +7 -1
  127. package/rules/app.rules.d.ts +104 -30
  128. package/rules/{alfresco-aca-shared-rules.d.ts → index.d.ts} +1 -0
  129. package/rules/navigation.rules.d.ts +6 -6
  130. package/rules/repository.rules.d.ts +2 -1
  131. package/rules/user.rules.d.ts +1 -1
  132. package/store/actions/app-action-types.d.ts +46 -0
  133. package/store/actions/app.actions.d.ts +19 -18
  134. package/{lib/routing/app.routes.strategy.d.ts → store/actions/context-menu-action-types.d.ts} +2 -15
  135. package/store/actions/contextmenu.actions.d.ts +1 -3
  136. package/store/actions/library.actions.d.ts +3 -1
  137. package/store/actions/node.actions.d.ts +33 -7
  138. package/store/actions/router-action-types.d.ts +31 -0
  139. package/store/actions/router.actions.d.ts +5 -6
  140. package/store/actions/search.actions.d.ts +1 -13
  141. package/store/actions/snackbar.actions.d.ts +8 -11
  142. package/store/actions/template-action-types.d.ts +30 -0
  143. package/store/actions/template.actions.d.ts +1 -6
  144. package/store/actions/upload.actions.d.ts +3 -1
  145. package/store/actions/viewer.actions.d.ts +6 -0
  146. package/store/effects/dialog.effects.d.ts +4 -1
  147. package/store/effects/router.effects.d.ts +11 -29
  148. package/store/effects/snackbar.effects.d.ts +6 -3
  149. package/store/{alfresco-aca-shared-store.d.ts → index.d.ts} +1 -0
  150. package/store/models/modal-configuration.d.ts +3 -0
  151. package/store/public-api.d.ts +4 -0
  152. package/store/selectors/app.selectors.d.ts +6 -1
  153. package/store/states/app.state.d.ts +8 -1
  154. package/store/store.module.d.ts +5 -24
  155. package/alfresco-aca-shared.metadata.json +0 -1
  156. package/bundles/alfresco-aca-shared-rules.umd.js +0 -745
  157. package/bundles/alfresco-aca-shared-rules.umd.js.map +0 -1
  158. package/bundles/alfresco-aca-shared-rules.umd.min.js +0 -125
  159. package/bundles/alfresco-aca-shared-rules.umd.min.js.map +0 -1
  160. package/bundles/alfresco-aca-shared-store.umd.js +0 -1784
  161. package/bundles/alfresco-aca-shared-store.umd.js.map +0 -1
  162. package/bundles/alfresco-aca-shared-store.umd.min.js +0 -462
  163. package/bundles/alfresco-aca-shared-store.umd.min.js.map +0 -1
  164. package/bundles/alfresco-aca-shared.umd.js +0 -2523
  165. package/bundles/alfresco-aca-shared.umd.js.map +0 -1
  166. package/bundles/alfresco-aca-shared.umd.min.js +0 -740
  167. package/bundles/alfresco-aca-shared.umd.min.js.map +0 -1
  168. package/esm2015/lib/adf-extensions/extensions-data-loader.guard.js +0 -74
  169. package/esm2015/lib/components/info-drawer/info-drawer.component.js +0 -105
  170. package/esm2015/lib/components/locked-by/locked-by.component.js +0 -54
  171. package/esm2015/lib/components/locked-by/locked-by.module.js +0 -38
  172. package/esm2015/lib/components/page-layout/page-layout-content.component.js +0 -43
  173. package/esm2015/lib/components/page-layout/page-layout-error.component.js +0 -37
  174. package/esm2015/lib/components/page-layout/page-layout-header.component.js +0 -37
  175. package/esm2015/lib/components/page-layout/page-layout.component.js +0 -44
  176. package/esm2015/lib/components/page-layout/page-layout.module.js +0 -40
  177. package/esm2015/lib/components/tool-bar/shared-toolbar.module.js +0 -42
  178. package/esm2015/lib/components/tool-bar/toolbar-action/toolbar-action.component.js +0 -57
  179. package/esm2015/lib/components/tool-bar/toolbar-button/toolbar-button.component.js +0 -66
  180. package/esm2015/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.js +0 -55
  181. package/esm2015/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.js +0 -65
  182. package/esm2015/lib/directives/contextmenu/contextmenu.directive.js +0 -97
  183. package/esm2015/lib/directives/contextmenu/contextmenu.module.js +0 -38
  184. package/esm2015/lib/directives/pagination.directive.js +0 -55
  185. package/esm2015/lib/directives/shared.directives.module.js +0 -37
  186. package/esm2015/lib/routing/app.routes.strategy.js +0 -105
  187. package/esm2015/lib/routing/shared.guard.js +0 -50
  188. package/esm2015/lib/services/app.extension.service.js +0 -398
  189. package/esm2015/lib/services/app.service.js +0 -69
  190. package/esm2015/lib/services/content-api.service.js +0 -205
  191. package/esm2015/lib/services/router.extension.service.js +0 -110
  192. package/esm2015/lib/shared.module.js +0 -44
  193. package/esm2015/public-api.js +0 -57
  194. package/esm2015/rules/app.rules.js +0 -420
  195. package/esm2015/rules/navigation.rules.js +0 -164
  196. package/esm2015/rules/repository.rules.js +0 -32
  197. package/esm2015/rules/user.rules.js +0 -32
  198. package/esm2015/store/actions/app.actions.js +0 -130
  199. package/esm2015/store/actions/library.actions.js +0 -63
  200. package/esm2015/store/actions/node.actions.js +0 -161
  201. package/esm2015/store/actions/router.actions.js +0 -56
  202. package/esm2015/store/actions/search.actions.js +0 -54
  203. package/esm2015/store/actions/snackbar.actions.js +0 -61
  204. package/esm2015/store/actions/template.actions.js +0 -54
  205. package/esm2015/store/actions/upload.actions.js +0 -49
  206. package/esm2015/store/actions/viewer.actions.js +0 -75
  207. package/esm2015/store/effects/dialog.effects.js +0 -49
  208. package/esm2015/store/effects/router.effects.js +0 -132
  209. package/esm2015/store/effects/snackbar.effects.js +0 -90
  210. package/esm2015/store/public-api.js +0 -46
  211. package/esm2015/store/selectors/app.selectors.js +0 -80
  212. package/esm2015/store/store.module.js +0 -37
  213. package/fesm2015/alfresco-aca-shared-rules.js.map +0 -1
  214. package/fesm2015/alfresco-aca-shared-store.js.map +0 -1
  215. package/fesm2015/alfresco-aca-shared.js +0 -2167
  216. package/fesm2015/alfresco-aca-shared.js.map +0 -1
  217. package/rules/alfresco-aca-shared-rules.metadata.json +0 -1
  218. package/rules/package.json +0 -11
  219. package/store/alfresco-aca-shared-store.metadata.json +0 -1
  220. package/store/package.json +0 -11
@@ -0,0 +1,74 @@
1
+ /*!
2
+ * @license
3
+ * Alfresco Example Content Application
4
+ *
5
+ * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
+ *
7
+ * This file is part of the Alfresco Example Content Application.
8
+ * If the software was purchased under a paid Alfresco license, the terms of
9
+ * the paid license agreement will prevail. Otherwise, the software is
10
+ * provided under the following open source license terms:
11
+ *
12
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
+ * it under the terms of the GNU Lesser General Public License as published by
14
+ * the Free Software Foundation, either version 3 of the License, or
15
+ * (at your option) any later version.
16
+ *
17
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ * GNU Lesser General Public License for more details.
21
+ *
22
+ * You should have received a copy of the GNU Lesser General Public License
23
+ * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
+ */
25
+ import { DocumentListComponent, ShareDataRow } from '@alfresco/adf-content-services';
26
+ import { ShowHeaderMode } from '@alfresco/adf-core';
27
+ import { ContentActionRef, DocumentListPresetRef, SelectionState } from '@alfresco/adf-extensions';
28
+ import { OnDestroy, OnInit, OnChanges, SimpleChanges } from '@angular/core';
29
+ import { Store } from '@ngrx/store';
30
+ import { MinimalNodeEntity, MinimalNodeEntryEntity, NodePaging } from '@alfresco/js-api';
31
+ import { Observable, Subject, Subscription } from 'rxjs';
32
+ import { DocumentBasePageService } from './document-base-page.service';
33
+ import { AppStore, ViewNodeExtras } from '@alfresco/aca-shared/store';
34
+ import { AppExtensionService } from '../../services/app.extension.service';
35
+ import * as i0 from "@angular/core";
36
+ export declare abstract class PageComponent implements OnInit, OnDestroy, OnChanges {
37
+ protected store: Store<AppStore>;
38
+ protected extensions: AppExtensionService;
39
+ protected content: DocumentBasePageService;
40
+ onDestroy$: Subject<boolean>;
41
+ documentList: DocumentListComponent;
42
+ title: string;
43
+ infoDrawerOpened$: Observable<boolean>;
44
+ node: MinimalNodeEntryEntity;
45
+ selection: SelectionState;
46
+ documentDisplayMode$: Observable<string>;
47
+ sharedPreviewUrl$: Observable<string>;
48
+ actions: Array<ContentActionRef>;
49
+ viewerToolbarActions: Array<ContentActionRef>;
50
+ canUpdateNode: boolean;
51
+ canUpload: boolean;
52
+ nodeResult: NodePaging;
53
+ showHeader: ShowHeaderMode;
54
+ filterSorting: string;
55
+ protected subscriptions: Subscription[];
56
+ protected constructor(store: Store<AppStore>, extensions: AppExtensionService, content: DocumentBasePageService);
57
+ ngOnInit(): void;
58
+ ngOnChanges(changes: SimpleChanges): void;
59
+ ngOnDestroy(): void;
60
+ showPreview(node: MinimalNodeEntity, extras?: ViewNodeExtras): void;
61
+ getParentNodeId(): string;
62
+ imageResolver(row: ShareDataRow): string | null;
63
+ reload(selectedNode?: MinimalNodeEntity): void;
64
+ trackByActionId(_: number, action: ContentActionRef): string;
65
+ trackById(_: number, obj: {
66
+ id: string;
67
+ }): string;
68
+ trackByColumnId(_: number, obj: DocumentListPresetRef): string;
69
+ private isOutletPreviewUrl;
70
+ onSortingChanged(event: any): void;
71
+ onAllFilterCleared(): void;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
73
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PageComponent, never, never, {}, {}, never, never, false>;
74
+ }
@@ -0,0 +1,5 @@
1
+ import { MinimalNodeEntity, MinimalNodeEntryEntity } from '@alfresco/js-api';
2
+ export declare abstract class DocumentBasePageService {
3
+ abstract canUpdateNode(node: MinimalNodeEntity): boolean;
4
+ abstract canUploadContent(node: MinimalNodeEntryEntity): boolean;
5
+ }
@@ -1,27 +1,6 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
25
2
  export declare class GenericErrorComponent {
26
3
  text: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<GenericErrorComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<GenericErrorComponent, "aca-generic-error", never, { "text": "text"; }, {}, never, never, false>;
27
6
  }
@@ -1,26 +1,10 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./generic-error.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/icon";
5
+ import * as i4 from "@ngx-translate/core";
25
6
  export declare class GenericErrorModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<GenericErrorModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GenericErrorModule, [typeof i1.GenericErrorComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.TranslateModule], [typeof i1.GenericErrorComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<GenericErrorModule>;
26
10
  }
@@ -29,6 +29,8 @@ import { Store } from '@ngrx/store';
29
29
  import { AppExtensionService } from '../../services/app.extension.service';
30
30
  import { ContentApiService } from '../../services/content-api.service';
31
31
  import { Subject } from 'rxjs';
32
+ import { ThemePalette } from '@angular/material/core';
33
+ import * as i0 from "@angular/core";
32
34
  export declare class InfoDrawerComponent implements OnChanges, OnInit, OnDestroy {
33
35
  private store;
34
36
  private contentApi;
@@ -40,13 +42,17 @@ export declare class InfoDrawerComponent implements OnChanges, OnInit, OnDestroy
40
42
  tabs: Array<SidebarTabRef>;
41
43
  actions: Array<ContentActionRef>;
42
44
  onDestroy$: Subject<boolean>;
45
+ preventFromClosing: boolean;
43
46
  onEscapeKeyboardEvent(): void;
44
47
  constructor(store: Store<any>, contentApi: ContentApiService, extensions: AppExtensionService);
45
48
  ngOnInit(): void;
46
49
  ngOnDestroy(): void;
47
50
  ngOnChanges(): void;
48
51
  trackByActionId(_: number, action: ContentActionRef): string;
52
+ getEntryColor(entry: any): ThemePalette;
49
53
  private close;
50
54
  private loadNodeInfo;
51
55
  private setDisplayNode;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoDrawerComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfoDrawerComponent, "aca-info-drawer", never, { "nodeId": "nodeId"; "node": "node"; }, {}, never, never, false>;
52
58
  }
@@ -1,26 +1,13 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./info-drawer.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@alfresco/adf-core";
5
+ import * as i4 from "@angular/material/progress-bar";
6
+ import * as i5 from "@alfresco/adf-extensions";
7
+ import * as i6 from "../tool-bar/shared-toolbar.module";
8
+ import * as i7 from "@ngx-translate/core";
25
9
  export declare class SharedInfoDrawerModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedInfoDrawerModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedInfoDrawerModule, [typeof i1.InfoDrawerComponent], [typeof i2.CommonModule, typeof i3.InfoDrawerModule, typeof i4.MatProgressBarModule, typeof i5.ExtensionsModule, typeof i3.ToolbarModule, typeof i6.SharedToolbarModule, typeof i7.TranslateModule], [typeof i1.InfoDrawerComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedInfoDrawerModule>;
26
13
  }
@@ -1,33 +1,8 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
25
- import { OnInit } from '@angular/core';
26
1
  import { NodeEntry } from '@alfresco/js-api';
27
- export declare class LockedByComponent implements OnInit {
28
- context: any;
2
+ import * as i0 from "@angular/core";
3
+ export declare class LockedByComponent {
29
4
  node: NodeEntry;
30
- constructor();
31
- ngOnInit(): void;
32
- writeLockedBy(): any;
5
+ get text(): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<LockedByComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<LockedByComponent, "aca-locked-by", never, { "node": "node"; }, {}, never, never, false>;
33
8
  }
@@ -1,26 +1,10 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./locked-by.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/icon";
5
+ import * as i4 from "@ngx-translate/core";
25
6
  export declare class LockedByModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<LockedByModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LockedByModule, [typeof i1.LockedByComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.TranslateModule], [typeof i1.LockedByComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<LockedByModule>;
26
10
  }
@@ -1,27 +1,6 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
25
2
  export declare class PageLayoutContentComponent {
26
3
  scrollable: boolean;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageLayoutContentComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageLayoutContentComponent, "aca-page-layout-content", never, { "scrollable": "scrollable"; }, {}, never, ["*"], false>;
27
6
  }
@@ -1,26 +1,5 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
25
2
  export declare class PageLayoutErrorComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageLayoutErrorComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageLayoutErrorComponent, "aca-page-layout-error", never, {}, {}, never, ["*"], false>;
26
5
  }
@@ -1,26 +1,5 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
25
2
  export declare class PageLayoutHeaderComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageLayoutHeaderComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageLayoutHeaderComponent, "aca-page-layout-header", never, {}, {}, never, ["*"], false>;
26
5
  }
@@ -1,27 +1,6 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
25
2
  export declare class PageLayoutComponent {
26
3
  hasError: boolean;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageLayoutComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageLayoutComponent, "aca-page-layout", never, { "hasError": "hasError"; }, {}, never, ["aca-page-layout-header", "aca-page-layout-error", "aca-page-layout-content"], false>;
27
6
  }
@@ -1,26 +1,11 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./page-layout-content.component";
3
+ import * as i2 from "./page-layout-error.component";
4
+ import * as i3 from "./page-layout-header.component";
5
+ import * as i4 from "./page-layout.component";
6
+ import * as i5 from "@angular/common";
25
7
  export declare class PageLayoutModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageLayoutModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PageLayoutModule, [typeof i1.PageLayoutContentComponent, typeof i2.PageLayoutErrorComponent, typeof i3.PageLayoutHeaderComponent, typeof i4.PageLayoutComponent], [typeof i5.CommonModule], [typeof i1.PageLayoutContentComponent, typeof i2.PageLayoutErrorComponent, typeof i3.PageLayoutHeaderComponent, typeof i4.PageLayoutComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<PageLayoutModule>;
26
11
  }
@@ -1,26 +1,13 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./toolbar-button/toolbar-button.component";
3
+ import * as i2 from "./toolbar-action/toolbar-action.component";
4
+ import * as i3 from "./toolbar-menu-item/toolbar-menu-item.component";
5
+ import * as i4 from "./toolbar-menu/toolbar-menu.component";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@alfresco/adf-core";
8
+ import * as i7 from "@alfresco/adf-extensions";
25
9
  export declare class SharedToolbarModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedToolbarModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedToolbarModule, [typeof i1.ToolbarButtonComponent, typeof i2.ToolbarActionComponent, typeof i3.ToolbarMenuItemComponent, typeof i4.ToolbarMenuComponent], [typeof i5.CommonModule, typeof i6.CoreModule, typeof i7.ExtensionsModule], [typeof i1.ToolbarButtonComponent, typeof i2.ToolbarActionComponent, typeof i3.ToolbarMenuItemComponent, typeof i4.ToolbarMenuComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedToolbarModule>;
26
13
  }
@@ -24,11 +24,16 @@
24
24
  */
25
25
  import { DoCheck, ChangeDetectorRef } from '@angular/core';
26
26
  import { ContentActionRef } from '@alfresco/adf-extensions';
27
+ import { ToolbarButtonType } from '../toolbar-button/toolbar-button.component';
28
+ import { ThemePalette } from '@angular/material/core';
29
+ import * as i0 from "@angular/core";
27
30
  export declare class ToolbarActionComponent implements DoCheck {
28
31
  private cd;
29
- type: string;
30
- color: string;
32
+ type: ToolbarButtonType;
33
+ color: ThemePalette;
31
34
  actionRef: ContentActionRef;
32
35
  constructor(cd: ChangeDetectorRef);
33
36
  ngDoCheck(): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarActionComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarActionComponent, "aca-toolbar-action", never, { "type": "type"; "color": "color"; "actionRef": "actionRef"; }, {}, never, never, false>;
34
39
  }
@@ -1,29 +1,7 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
25
1
  import { ContentActionRef } from '@alfresco/adf-extensions';
26
2
  import { AppExtensionService } from '../../../services/app.extension.service';
3
+ import { ThemePalette } from '@angular/material/core';
4
+ import * as i0 from "@angular/core";
27
5
  export declare enum ToolbarButtonType {
28
6
  ICON_BUTTON = "icon-button",
29
7
  MENU_ITEM = "menu-item"
@@ -31,9 +9,11 @@ export declare enum ToolbarButtonType {
31
9
  export declare class ToolbarButtonComponent {
32
10
  private extensions;
33
11
  type: ToolbarButtonType;
34
- color: string;
12
+ color: ThemePalette;
35
13
  actionRef: ContentActionRef;
36
14
  constructor(extensions: AppExtensionService);
37
15
  runAction(): void;
38
16
  private hasClickAction;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarButtonComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarButtonComponent, "app-toolbar-button", never, { "type": "type"; "color": "color"; "actionRef": "actionRef"; }, {}, never, never, false>;
39
19
  }
@@ -22,15 +22,21 @@
22
22
  * You should have received a copy of the GNU Lesser General Public License
23
23
  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
24
  */
25
+ import { QueryList, AfterViewInit } from '@angular/core';
25
26
  import { ContentActionRef } from '@alfresco/adf-extensions';
26
- import { MatMenuTrigger } from '@angular/material/menu';
27
- export declare class ToolbarMenuComponent {
27
+ import { MatMenu, MatMenuTrigger } from '@angular/material/menu';
28
+ import { ThemePalette } from '@angular/material/core';
29
+ import { ToolbarMenuItemComponent } from '../toolbar-menu-item/toolbar-menu-item.component';
30
+ import * as i0 from "@angular/core";
31
+ export declare class ToolbarMenuComponent implements AfterViewInit {
28
32
  actionRef: ContentActionRef;
29
- color: string;
33
+ color: ThemePalette;
30
34
  matTrigger: MatMenuTrigger;
35
+ menu: MatMenu;
36
+ toolbarMenuItems: QueryList<ToolbarMenuItemComponent>;
31
37
  handleKeydownEscape(): void;
32
- get hasChildren(): boolean;
33
- trackById(_: number, obj: {
34
- id: string;
35
- }): string;
38
+ ngAfterViewInit(): void;
39
+ trackByActionId(_: number, obj: ContentActionRef): string;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarMenuComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarMenuComponent, "app-toolbar-menu", never, { "actionRef": "actionRef"; "color": "color"; }, {}, never, never, false>;
36
42
  }
@@ -1,36 +1,16 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
25
1
  import { ContentActionRef } from '@alfresco/adf-extensions';
26
2
  import { AppExtensionService } from '../../../services/app.extension.service';
3
+ import { MatMenuItem } from '@angular/material/menu';
4
+ import * as i0 from "@angular/core";
27
5
  export declare class ToolbarMenuItemComponent {
28
6
  private extensions;
29
7
  actionRef: ContentActionRef;
8
+ menuId?: string;
9
+ menuItem: MatMenuItem;
30
10
  constructor(extensions: AppExtensionService);
31
11
  runAction(): void;
32
12
  private hasClickAction;
33
- trackById(_: number, obj: {
34
- id: string;
35
- }): string;
13
+ trackByActionId(_: number, obj: ContentActionRef): string;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarMenuItemComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarMenuItemComponent, "app-toolbar-menu-item", never, { "actionRef": "actionRef"; "menuId": "menuId"; }, {}, never, never, false>;
36
16
  }