@alfresco/aca-content 4.0.0-A.2-9984

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 (255) hide show
  1. package/README.md +24 -0
  2. package/assets/app.extensions.json +2496 -0
  3. package/assets/i18n/ar.json +634 -0
  4. package/assets/i18n/cs.json +634 -0
  5. package/assets/i18n/da.json +634 -0
  6. package/assets/i18n/de.json +634 -0
  7. package/assets/i18n/en.json +634 -0
  8. package/assets/i18n/es.json +634 -0
  9. package/assets/i18n/fi.json +634 -0
  10. package/assets/i18n/fr.json +634 -0
  11. package/assets/i18n/it.json +634 -0
  12. package/assets/i18n/ja.json +634 -0
  13. package/assets/i18n/nb.json +634 -0
  14. package/assets/i18n/nl.json +634 -0
  15. package/assets/i18n/pl.json +634 -0
  16. package/assets/i18n/pt-BR.json +634 -0
  17. package/assets/i18n/ru.json +634 -0
  18. package/assets/i18n/sv.json +634 -0
  19. package/assets/i18n/zh-CN.json +634 -0
  20. package/assets/images/Wallpaper-BG-generic.svg +39 -0
  21. package/assets/images/adf-move-file-24px.svg +1 -0
  22. package/assets/images/baseline-library_books-24px.svg +2 -0
  23. package/assets/images/baseline-lock-24px.svg +1 -0
  24. package/assets/images/join-library.svg +32 -0
  25. package/assets/images/mastHead-bg-shapesPattern.svg +53 -0
  26. package/esm2020/alfresco-aca-content.mjs +5 -0
  27. package/esm2020/lib/aca-content.module.mjs +364 -0
  28. package/esm2020/lib/aca-content.routes.mjs +582 -0
  29. package/esm2020/lib/components/common/common.module.mjs +49 -0
  30. package/esm2020/lib/components/common/language-picker/language-picker.component.mjs +58 -0
  31. package/esm2020/lib/components/common/location-link/location-link.component.mjs +178 -0
  32. package/esm2020/lib/components/common/logout/logout.component.mjs +61 -0
  33. package/esm2020/lib/components/common/toggle-shared/toggle-shared.component.mjs +66 -0
  34. package/esm2020/lib/components/context-menu/context-menu-item.component.mjs +59 -0
  35. package/esm2020/lib/components/context-menu/context-menu-outside-event.directive.mjs +66 -0
  36. package/esm2020/lib/components/context-menu/context-menu-overlay.mjs +33 -0
  37. package/esm2020/lib/components/context-menu/context-menu.component.mjs +103 -0
  38. package/esm2020/lib/components/context-menu/context-menu.module.mjs +77 -0
  39. package/esm2020/lib/components/context-menu/context-menu.service.mjs +104 -0
  40. package/esm2020/lib/components/context-menu/direction.token.mjs +30 -0
  41. package/esm2020/lib/components/context-menu/interfaces.mjs +26 -0
  42. package/esm2020/lib/components/create-menu/create-menu.component.mjs +74 -0
  43. package/esm2020/lib/components/create-menu/create-menu.module.mjs +45 -0
  44. package/esm2020/lib/components/details/details.component.mjs +100 -0
  45. package/esm2020/lib/components/dl-custom-components/document-list-custom-components.module.mjs +49 -0
  46. package/esm2020/lib/components/dl-custom-components/name-column/name-column.component.mjs +93 -0
  47. package/esm2020/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.mjs +52 -0
  48. package/esm2020/lib/components/favorite-libraries/favorite-libraries.component.mjs +114 -0
  49. package/esm2020/lib/components/favorites/favorites.component.mjs +99 -0
  50. package/esm2020/lib/components/files/files.component.mjs +312 -0
  51. package/esm2020/lib/components/header/header.component.mjs +98 -0
  52. package/esm2020/lib/components/header/header.module.mjs +46 -0
  53. package/esm2020/lib/components/home/home.component.mjs +50 -0
  54. package/esm2020/lib/components/info-drawer/comments-tab/comments-tab.component.mjs +57 -0
  55. package/esm2020/lib/components/info-drawer/info.drawer.module.mjs +93 -0
  56. package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.mjs +144 -0
  57. package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.mjs +43 -0
  58. package/esm2020/lib/components/info-drawer/metadata-tab/metadata-tab.component.mjs +89 -0
  59. package/esm2020/lib/components/info-drawer/versions-tab/versions-tab.component.mjs +96 -0
  60. package/esm2020/lib/components/layout/app-layout/app-layout.component.mjs +147 -0
  61. package/esm2020/lib/components/layout/layout.module.mjs +75 -0
  62. package/esm2020/lib/components/libraries/libraries.component.mjs +71 -0
  63. package/esm2020/lib/components/main-action/main-action.component.mjs +60 -0
  64. package/esm2020/lib/components/main-action/main-action.module.mjs +46 -0
  65. package/esm2020/lib/components/node-version/node-version-form.component.mjs +71 -0
  66. package/esm2020/lib/components/node-version/node-version.module.mjs +79 -0
  67. package/esm2020/lib/components/recent-files/recent-files.component.mjs +82 -0
  68. package/esm2020/lib/components/search/search-action-menu/search-action-menu.component.mjs +60 -0
  69. package/esm2020/lib/components/search/search-input/search-input.component.mjs +263 -0
  70. package/esm2020/lib/components/search/search-input-control/search-input-control.component.mjs +88 -0
  71. package/esm2020/lib/components/search/search-input.module.mjs +48 -0
  72. package/esm2020/lib/components/search/search-libraries-results/search-libraries-query-builder.service.mjs +92 -0
  73. package/esm2020/lib/components/search/search-libraries-results/search-libraries-results.component.mjs +140 -0
  74. package/esm2020/lib/components/search/search-results/search-results.component.mjs +218 -0
  75. package/esm2020/lib/components/search/search-results-row/search-results-row.component.mjs +94 -0
  76. package/esm2020/lib/components/search/search-results.module.mjs +86 -0
  77. package/esm2020/lib/components/shared-files/shared-files.component.mjs +79 -0
  78. package/esm2020/lib/components/shared-link-view/shared-link-view.component.mjs +81 -0
  79. package/esm2020/lib/components/shared-link-view/shared-link-view.module.mjs +66 -0
  80. package/esm2020/lib/components/sidenav/components/button-menu.component.mjs +58 -0
  81. package/esm2020/lib/components/sidenav/components/expand-menu.component.mjs +54 -0
  82. package/esm2020/lib/components/sidenav/directives/action.directive.mjs +75 -0
  83. package/esm2020/lib/components/sidenav/directives/active-link.directive.mjs +93 -0
  84. package/esm2020/lib/components/sidenav/directives/expansion-panel.directive.mjs +102 -0
  85. package/esm2020/lib/components/sidenav/directives/menu-panel.directive.mjs +99 -0
  86. package/esm2020/lib/components/sidenav/sidenav-wrapper/sidenav-wrapper.component.mjs +45 -0
  87. package/esm2020/lib/components/sidenav/sidenav.component.mjs +76 -0
  88. package/esm2020/lib/components/sidenav/sidenav.module.mjs +104 -0
  89. package/esm2020/lib/components/toolbar/document-display-mode/document-display-mode.component.mjs +85 -0
  90. package/esm2020/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.mjs +151 -0
  91. package/esm2020/lib/components/toolbar/toggle-favorite/toggle-favorite.component.mjs +80 -0
  92. package/esm2020/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.mjs +102 -0
  93. package/esm2020/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.mjs +76 -0
  94. package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.mjs +99 -0
  95. package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.mjs +81 -0
  96. package/esm2020/lib/components/toolbar/toolbar.module.mjs +89 -0
  97. package/esm2020/lib/components/toolbar/view-node/view-node.component.mjs +102 -0
  98. package/esm2020/lib/components/trashcan/trashcan.component.mjs +64 -0
  99. package/esm2020/lib/components/trashcan/trashcan.module.mjs +71 -0
  100. package/esm2020/lib/components/upload-files-dialog/upload-files-dialog.component.mjs +34 -0
  101. package/esm2020/lib/components/view-profile/view-profile.component.mjs +158 -0
  102. package/esm2020/lib/components/view-profile/view-profile.guard.mjs +31 -0
  103. package/esm2020/lib/components/view-profile/view-profile.module.mjs +43 -0
  104. package/esm2020/lib/dialogs/node-template/create-from-template.dialog.mjs +120 -0
  105. package/esm2020/lib/directives/directives.module.mjs +43 -0
  106. package/esm2020/lib/directives/document-list.directive.mjs +142 -0
  107. package/esm2020/lib/extensions/core.extensions.module.mjs +66 -0
  108. package/esm2020/lib/material.module.mjs +58 -0
  109. package/esm2020/lib/services/content-management.service.mjs +871 -0
  110. package/esm2020/lib/services/content-service-extension.service.mjs +47 -0
  111. package/esm2020/lib/services/content-url.service.mjs +73 -0
  112. package/esm2020/lib/services/node-actions.service.mjs +601 -0
  113. package/esm2020/lib/services/node-template.service.mjs +150 -0
  114. package/esm2020/lib/store/app-store.module.mjs +96 -0
  115. package/esm2020/lib/store/effects/app.effects.mjs +62 -0
  116. package/esm2020/lib/store/effects/contextmenu.effects.mjs +56 -0
  117. package/esm2020/lib/store/effects/download.effects.mjs +160 -0
  118. package/esm2020/lib/store/effects/favorite.effects.mjs +77 -0
  119. package/esm2020/lib/store/effects/library.effects.mjs +112 -0
  120. package/esm2020/lib/store/effects/node.effects.mjs +310 -0
  121. package/esm2020/lib/store/effects/search.effects.mjs +55 -0
  122. package/esm2020/lib/store/effects/template.effects.mjs +122 -0
  123. package/esm2020/lib/store/effects/upload.effects.mjs +169 -0
  124. package/esm2020/lib/store/effects/viewer.effects.mjs +176 -0
  125. package/esm2020/lib/store/effects.mjs +36 -0
  126. package/esm2020/lib/store/initial-state.mjs +66 -0
  127. package/esm2020/lib/store/reducers/app.reducer.mjs +218 -0
  128. package/esm2020/public-api.mjs +9 -0
  129. package/fesm2015/alfresco-aca-content.mjs +9937 -0
  130. package/fesm2015/alfresco-aca-content.mjs.map +1 -0
  131. package/fesm2020/alfresco-aca-content.mjs +10103 -0
  132. package/fesm2020/alfresco-aca-content.mjs.map +1 -0
  133. package/index.d.ts +5 -0
  134. package/lib/aca-content.module.d.ts +49 -0
  135. package/lib/aca-content.routes.d.ts +28 -0
  136. package/lib/components/common/common.module.d.ts +14 -0
  137. package/lib/components/common/language-picker/language-picker.component.d.ts +5 -0
  138. package/lib/components/common/location-link/location-link.component.d.ts +49 -0
  139. package/lib/components/common/logout/logout.component.d.ts +10 -0
  140. package/lib/components/common/toggle-shared/toggle-shared.component.d.ts +44 -0
  141. package/lib/components/context-menu/context-menu-item.component.d.ts +13 -0
  142. package/lib/components/context-menu/context-menu-outside-event.directive.d.ts +36 -0
  143. package/lib/components/context-menu/context-menu-overlay.d.ts +30 -0
  144. package/lib/components/context-menu/context-menu.component.d.ts +49 -0
  145. package/lib/components/context-menu/context-menu.module.d.ts +18 -0
  146. package/lib/components/context-menu/context-menu.service.d.ts +44 -0
  147. package/lib/components/context-menu/direction.token.d.ts +26 -0
  148. package/lib/components/context-menu/interfaces.d.ts +31 -0
  149. package/lib/components/create-menu/create-menu.component.d.ts +43 -0
  150. package/lib/components/create-menu/create-menu.module.d.ts +10 -0
  151. package/lib/components/details/details.component.d.ts +47 -0
  152. package/lib/components/dl-custom-components/document-list-custom-components.module.d.ts +13 -0
  153. package/lib/components/dl-custom-components/name-column/name-column.component.d.ts +43 -0
  154. package/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.d.ts +17 -0
  155. package/lib/components/favorite-libraries/favorite-libraries.component.d.ts +55 -0
  156. package/lib/components/favorites/favorites.component.d.ts +50 -0
  157. package/lib/components/files/files.component.d.ts +80 -0
  158. package/lib/components/header/header.component.d.ts +59 -0
  159. package/lib/components/header/header.module.d.ts +11 -0
  160. package/lib/components/home/home.component.d.ts +37 -0
  161. package/lib/components/info-drawer/comments-tab/comments-tab.component.d.ts +11 -0
  162. package/lib/components/info-drawer/info.drawer.module.d.ts +19 -0
  163. package/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.d.ts +65 -0
  164. package/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.d.ts +7 -0
  165. package/lib/components/info-drawer/metadata-tab/metadata-tab.component.d.ts +50 -0
  166. package/lib/components/info-drawer/versions-tab/versions-tab.component.d.ts +36 -0
  167. package/lib/components/layout/app-layout/app-layout.component.d.ts +63 -0
  168. package/lib/components/layout/layout.module.d.ts +16 -0
  169. package/lib/components/libraries/libraries.component.d.ts +45 -0
  170. package/lib/components/main-action/main-action.component.d.ts +42 -0
  171. package/lib/components/main-action/main-action.module.d.ts +11 -0
  172. package/lib/components/node-version/node-version-form.component.d.ts +47 -0
  173. package/lib/components/node-version/node-version.module.d.ts +16 -0
  174. package/lib/components/recent-files/recent-files.component.d.ts +49 -0
  175. package/lib/components/search/search-action-menu/search-action-menu.component.d.ts +39 -0
  176. package/lib/components/search/search-input/search-input.component.d.ts +82 -0
  177. package/lib/components/search/search-input-control/search-input-control.component.d.ts +51 -0
  178. package/lib/components/search/search-input.module.d.ts +12 -0
  179. package/lib/components/search/search-libraries-results/search-libraries-query-builder.service.d.ts +57 -0
  180. package/lib/components/search/search-libraries-results/search-libraries-results.component.d.ts +58 -0
  181. package/lib/components/search/search-results/search-results.component.d.ts +70 -0
  182. package/lib/components/search/search-results-row/search-results-row.component.d.ts +49 -0
  183. package/lib/components/search/search-results.module.d.ts +21 -0
  184. package/lib/components/shared-files/shared-files.component.d.ts +48 -0
  185. package/lib/components/shared-link-view/shared-link-view.component.d.ts +48 -0
  186. package/lib/components/shared-link-view/shared-link-view.module.d.ts +14 -0
  187. package/lib/components/sidenav/components/button-menu.component.d.ts +38 -0
  188. package/lib/components/sidenav/components/expand-menu.component.d.ts +36 -0
  189. package/lib/components/sidenav/directives/action.directive.d.ts +14 -0
  190. package/lib/components/sidenav/directives/active-link.directive.d.ts +46 -0
  191. package/lib/components/sidenav/directives/expansion-panel.directive.d.ts +45 -0
  192. package/lib/components/sidenav/directives/menu-panel.directive.d.ts +43 -0
  193. package/lib/components/sidenav/sidenav-wrapper/sidenav-wrapper.component.d.ts +12 -0
  194. package/lib/components/sidenav/sidenav.component.d.ts +44 -0
  195. package/lib/components/sidenav/sidenav.module.d.ts +21 -0
  196. package/lib/components/toolbar/document-display-mode/document-display-mode.component.d.ts +13 -0
  197. package/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.d.ts +48 -0
  198. package/lib/components/toolbar/toggle-favorite/toggle-favorite.component.d.ts +43 -0
  199. package/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.d.ts +43 -0
  200. package/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.d.ts +11 -0
  201. package/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.d.ts +42 -0
  202. package/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.d.ts +10 -0
  203. package/lib/components/toolbar/toolbar.module.d.ts +20 -0
  204. package/lib/components/toolbar/view-node/view-node.component.d.ts +17 -0
  205. package/lib/components/trashcan/trashcan.component.d.ts +43 -0
  206. package/lib/components/trashcan/trashcan.module.d.ts +15 -0
  207. package/lib/components/upload-files-dialog/upload-files-dialog.component.d.ts +14 -0
  208. package/lib/components/view-profile/view-profile.component.d.ts +36 -0
  209. package/lib/components/view-profile/view-profile.guard.d.ts +12 -0
  210. package/lib/components/view-profile/view-profile.module.d.ts +9 -0
  211. package/lib/dialogs/node-template/create-from-template.dialog.d.ts +50 -0
  212. package/lib/directives/directives.module.d.ts +9 -0
  213. package/lib/directives/document-list.directive.d.ts +57 -0
  214. package/lib/extensions/core.extensions.module.d.ts +14 -0
  215. package/lib/material.module.d.ts +14 -0
  216. package/lib/services/content-management.service.d.ts +101 -0
  217. package/lib/services/content-service-extension.service.d.ts +11 -0
  218. package/lib/services/content-url.service.d.ts +17 -0
  219. package/lib/services/node-actions.service.d.ts +93 -0
  220. package/lib/services/node-template.service.d.ts +34 -0
  221. package/lib/store/app-store.module.d.ts +10 -0
  222. package/lib/store/effects/app.effects.d.ts +42 -0
  223. package/lib/store/effects/contextmenu.effects.d.ts +12 -0
  224. package/lib/store/effects/download.effects.d.ts +50 -0
  225. package/lib/store/effects/favorite.effects.d.ts +39 -0
  226. package/lib/store/effects/library.effects.d.ts +44 -0
  227. package/lib/store/effects/node.effects.d.ts +57 -0
  228. package/lib/store/effects/search.effects.d.ts +35 -0
  229. package/lib/store/effects/template.effects.d.ts +55 -0
  230. package/lib/store/effects/upload.effects.d.ts +53 -0
  231. package/lib/store/effects/viewer.effects.d.ts +56 -0
  232. package/lib/store/effects.d.ts +35 -0
  233. package/lib/store/initial-state.d.ts +27 -0
  234. package/lib/store/reducers/app.reducer.d.ts +27 -0
  235. package/package.json +34 -0
  236. package/public-api.d.ts +5 -0
  237. package/ui/application.scss +49 -0
  238. package/ui/colors.scss +98 -0
  239. package/ui/custom-theme.scss +28 -0
  240. package/ui/dynamic-theme/custom-background-color.scss +16 -0
  241. package/ui/dynamic-theme/custom-palette-creator.scss +138 -0
  242. package/ui/dynamic-theme/custom-text-color.scss +8 -0
  243. package/ui/dynamic-theme/custom-theme-palettes.scss +29 -0
  244. package/ui/dynamic-theme/custom-theme.scss.tpl +60 -0
  245. package/ui/dynamic-theme/index.scss +1 -0
  246. package/ui/dynamic-theme/theme-configuration.scss.tpl +14 -0
  247. package/ui/dynamic-theme/typography.scss +63 -0
  248. package/ui/mixins.scss +26 -0
  249. package/ui/overrides/adf-about.theme.scss +39 -0
  250. package/ui/overrides/adf-pagination.theme.scss +47 -0
  251. package/ui/overrides/adf-style-fixes.theme.scss +18 -0
  252. package/ui/overrides/ay11.scss +204 -0
  253. package/ui/theme.scss +57 -0
  254. package/ui/variables/font-family.scss +1 -0
  255. package/ui/variables/variables.scss +83 -0
@@ -0,0 +1,42 @@
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 { AppExtensionService } from '@alfresco/aca-shared';
26
+ import { ContentActionRef, ContentActionType } from '@alfresco/adf-extensions';
27
+ import { OnDestroy, OnInit } from '@angular/core';
28
+ import { Observable } from 'rxjs';
29
+ import * as i0 from "@angular/core";
30
+ export declare class MainActionComponent implements OnInit, OnDestroy {
31
+ private extensions;
32
+ expanded: boolean;
33
+ mainAction$: Observable<ContentActionRef>;
34
+ actionTypes: typeof ContentActionType;
35
+ private onDestroy$;
36
+ constructor(extensions: AppExtensionService);
37
+ ngOnDestroy(): void;
38
+ ngOnInit(): void;
39
+ runAction(action: string): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<MainActionComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<MainActionComponent, "app-main-action", never, { "expanded": "expanded"; }, {}, never, never, false>;
42
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./main-action.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/button";
5
+ import * as i4 from "@angular/material/icon";
6
+ import * as i5 from "@ngx-translate/core";
7
+ export declare class MainActionModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MainActionModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MainActionModule, [typeof i1.MainActionComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i5.TranslateModule], [typeof i1.MainActionComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<MainActionModule>;
11
+ }
@@ -0,0 +1,47 @@
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 { OnDestroy, OnInit, EventEmitter } from '@angular/core';
26
+ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
27
+ import * as i0 from "@angular/core";
28
+ export interface VersionFormEntry {
29
+ comment: string;
30
+ version: boolean;
31
+ }
32
+ export declare class AppNodeVersionFormComponent implements OnInit, OnDestroy {
33
+ private formBuilder;
34
+ update: EventEmitter<VersionFormEntry>;
35
+ form: UntypedFormGroup;
36
+ private onDestroy$;
37
+ private versionOptions;
38
+ constructor(formBuilder: UntypedFormBuilder);
39
+ ngOnInit(): void;
40
+ get versions(): {
41
+ label: string;
42
+ value: boolean;
43
+ }[];
44
+ ngOnDestroy(): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppNodeVersionFormComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppNodeVersionFormComponent, "app-node-version-form", ["nodeVersionForm"], {}, { "update": "update"; }, never, never, false>;
47
+ }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./node-version-form.component";
3
+ import * as i2 from "@alfresco/adf-core";
4
+ import * as i3 from "@angular/material/button";
5
+ import * as i4 from "@angular/material/dialog";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "@angular/platform-browser";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "@angular/material/radio";
10
+ import * as i9 from "@angular/material/form-field";
11
+ import * as i10 from "@angular/material/input";
12
+ export declare class AppNodeVersionModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppNodeVersionModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AppNodeVersionModule, [typeof i1.AppNodeVersionFormComponent], [typeof i2.CoreModule, typeof i3.MatButtonModule, typeof i4.MatDialogModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.BrowserModule, typeof i7.CommonModule, typeof i8.MatRadioModule, typeof i9.MatFormFieldModule, typeof i10.MatInputModule], [typeof i1.AppNodeVersionFormComponent]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<AppNodeVersionModule>;
16
+ }
@@ -0,0 +1,49 @@
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
+ import { BreakpointObserver } from '@angular/cdk/layout';
27
+ import { MinimalNodeEntity } from '@alfresco/js-api';
28
+ import { ContentManagementService } from '../../services/content-management.service';
29
+ import { Store } from '@ngrx/store';
30
+ import { AppStore } from '@alfresco/aca-shared/store';
31
+ import { UploadService } from '@alfresco/adf-core';
32
+ import { Router } from '@angular/router';
33
+ import { AppExtensionService, PageComponent } from '@alfresco/aca-shared';
34
+ import { DocumentListPresetRef } from '@alfresco/adf-extensions';
35
+ import * as i0 from "@angular/core";
36
+ export declare class RecentFilesComponent extends PageComponent implements OnInit {
37
+ private uploadService;
38
+ private breakpointObserver;
39
+ private router;
40
+ isSmallScreen: boolean;
41
+ columns: DocumentListPresetRef[];
42
+ constructor(store: Store<AppStore>, extensions: AppExtensionService, content: ContentManagementService, uploadService: UploadService, breakpointObserver: BreakpointObserver, router: Router);
43
+ ngOnInit(): void;
44
+ onNodeDoubleClick(node: MinimalNodeEntity): void;
45
+ handleNodeClick(event: Event): void;
46
+ private onFileUploadedEvent;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<RecentFilesComponent, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<RecentFilesComponent, "ng-component", never, {}, {}, never, never, false>;
49
+ }
@@ -0,0 +1,39 @@
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 { SearchQueryBuilderService } from '@alfresco/adf-content-services';
26
+ import { SearchSortingDefinition } from '@alfresco/adf-content-services/lib/search/models/search-sorting-definition.interface';
27
+ import { OnInit, EventEmitter } from '@angular/core';
28
+ import * as i0 from "@angular/core";
29
+ export declare class SearchActionMenuComponent implements OnInit {
30
+ private queryBuilder;
31
+ sortingSelected: EventEmitter<SearchSortingDefinition>;
32
+ options: SearchSortingDefinition[];
33
+ constructor(queryBuilder: SearchQueryBuilderService);
34
+ ngOnInit(): void;
35
+ onAscSortingClicked(option: SearchSortingDefinition): void;
36
+ onDescSortingClicked(option: SearchSortingDefinition): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchActionMenuComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchActionMenuComponent, "aca-search-action-menu", never, {}, { "sortingSelected": "sortingSelected"; }, never, never, false>;
39
+ }
@@ -0,0 +1,82 @@
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 { AppHookService } from '@alfresco/aca-shared';
26
+ import { AppStore, SearchOptionIds, SearchOptionModel } from '@alfresco/aca-shared/store';
27
+ import { SearchQueryBuilderService } from '@alfresco/adf-content-services';
28
+ import { AppConfigService } from '@alfresco/adf-core';
29
+ import { OnDestroy, OnInit } from '@angular/core';
30
+ import { MatMenuTrigger } from '@angular/material/menu';
31
+ import { Router } from '@angular/router';
32
+ import { Store } from '@ngrx/store';
33
+ import { Subject } from 'rxjs';
34
+ import { SearchInputControlComponent } from '../search-input-control/search-input-control.component';
35
+ import { SearchLibrariesQueryBuilderService } from '../search-libraries-results/search-libraries-query-builder.service';
36
+ import * as i0 from "@angular/core";
37
+ export declare class SearchInputComponent implements OnInit, OnDestroy {
38
+ private queryBuilder;
39
+ private queryLibrariesBuilder;
40
+ private config;
41
+ private router;
42
+ private store;
43
+ private appHookService;
44
+ onDestroy$: Subject<boolean>;
45
+ hasOneChange: boolean;
46
+ hasNewChange: boolean;
47
+ navigationTimer: any;
48
+ has400LibraryError: boolean;
49
+ searchOnChange: boolean;
50
+ searchedWord: string;
51
+ searchOptions: Array<SearchOptionModel>;
52
+ searchInputControl: SearchInputControlComponent;
53
+ trigger: MatMenuTrigger;
54
+ constructor(queryBuilder: SearchQueryBuilderService, queryLibrariesBuilder: SearchLibrariesQueryBuilderService, config: AppConfigService, router: Router, store: Store<AppStore>, appHookService: AppHookService);
55
+ ngOnInit(): void;
56
+ showInputValue(): void;
57
+ ngOnDestroy(): void;
58
+ onMenuOpened(): void;
59
+ /**
60
+ * Called when the user submits the search, e.g. hits enter or clicks submit
61
+ *
62
+ * @param event Parameters relating to the search
63
+ */
64
+ onSearchSubmit(event: any): void;
65
+ onSearchChange(searchTerm: string): void;
66
+ searchByOption(): void;
67
+ get onLibrariesSearchResults(): boolean;
68
+ get onSearchResults(): boolean;
69
+ isFilesChecked(): boolean;
70
+ isFoldersChecked(): boolean;
71
+ isLibrariesChecked(): boolean;
72
+ isOptionChecked(optionId: string): boolean;
73
+ isContentChecked(): boolean;
74
+ hasLibraryConstraint(): boolean;
75
+ filterContent(option: SearchOptionIds.Folders | SearchOptionIds.Files): void;
76
+ removeContentFilters(): void;
77
+ syncInputValues(): void;
78
+ getUrlSearchTerm(): string;
79
+ isSameSearchTerm(): boolean;
80
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchInputComponent, never>;
81
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputComponent, "aca-search-input", never, {}, {}, never, never, false>;
82
+ }
@@ -0,0 +1,51 @@
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 { EventEmitter, OnDestroy, ElementRef } from '@angular/core';
26
+ import { Subject } from 'rxjs';
27
+ import * as i0 from "@angular/core";
28
+ export declare class SearchInputControlComponent implements OnDestroy {
29
+ onDestroy$: Subject<boolean>;
30
+ /** Type of the input field to render, e.g. "search" or "text" (default). */
31
+ inputType: string;
32
+ /** Emitted when the search is submitted pressing ENTER button.
33
+ * The search term is provided as value of the event.
34
+ */
35
+ submit: EventEmitter<any>;
36
+ /** Emitted when the search term is changed. The search term is provided
37
+ * in the 'value' property of the returned object. If the term is less
38
+ * than three characters in length then the term is truncated to an empty
39
+ * string.
40
+ */
41
+ searchChange: EventEmitter<string>;
42
+ searchInput: ElementRef;
43
+ searchTerm: string;
44
+ ngOnDestroy(): void;
45
+ searchSubmit(event: any): void;
46
+ inputChange(event: any): void;
47
+ clear(): void;
48
+ isTermTooShort(): boolean;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchInputControlComponent, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputControlComponent, "app-search-input-control", never, { "inputType": "inputType"; }, { "submit": "submit"; "searchChange": "searchChange"; }, never, never, false>;
51
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./search-input/search-input.component";
3
+ import * as i2 from "./search-input-control/search-input-control.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@alfresco/adf-core";
6
+ import * as i5 from "@alfresco/adf-content-services";
7
+ import * as i6 from "@angular/cdk/a11y";
8
+ export declare class AppSearchInputModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppSearchInputModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AppSearchInputModule, [typeof i1.SearchInputComponent, typeof i2.SearchInputControlComponent], [typeof i3.CommonModule, typeof i4.CoreModule, typeof i5.ContentModule, typeof i6.A11yModule], [typeof i1.SearchInputComponent, typeof i2.SearchInputControlComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<AppSearchInputModule>;
12
+ }
@@ -0,0 +1,57 @@
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 { AlfrescoApiService } from '@alfresco/adf-core';
26
+ import { QueriesApi } from '@alfresco/js-api';
27
+ import { Subject } from 'rxjs';
28
+ import * as i0 from "@angular/core";
29
+ export interface LibrarySearchQuery {
30
+ term: string;
31
+ opts: {
32
+ skipCount: number;
33
+ maxItems: number;
34
+ };
35
+ }
36
+ export declare class SearchLibrariesQueryBuilderService {
37
+ private alfrescoApiService;
38
+ _queriesApi: QueriesApi;
39
+ get queriesApi(): QueriesApi;
40
+ private _userQuery;
41
+ updated: Subject<any>;
42
+ executed: Subject<any>;
43
+ hadError: Subject<any>;
44
+ paging: {
45
+ maxItems?: number;
46
+ skipCount?: number;
47
+ };
48
+ get userQuery(): string;
49
+ set userQuery(value: string);
50
+ constructor(alfrescoApiService: AlfrescoApiService);
51
+ update(): void;
52
+ execute(): Promise<void>;
53
+ buildQuery(): LibrarySearchQuery;
54
+ private findLibraries;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchLibrariesQueryBuilderService, never>;
56
+ static ɵprov: i0.ɵɵInjectableDeclaration<SearchLibrariesQueryBuilderService>;
57
+ }
@@ -0,0 +1,58 @@
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 { AppStore } from '@alfresco/aca-shared/store';
26
+ import { NodePaging, Pagination, SiteEntry } from '@alfresco/js-api';
27
+ import { BreakpointObserver } from '@angular/cdk/layout';
28
+ import { OnInit } from '@angular/core';
29
+ import { ActivatedRoute } from '@angular/router';
30
+ import { Store } from '@ngrx/store';
31
+ import { ContentManagementService } from '../../../services/content-management.service';
32
+ import { SearchLibrariesQueryBuilderService } from './search-libraries-query-builder.service';
33
+ import { AppExtensionService, AppHookService, PageComponent } from '@alfresco/aca-shared';
34
+ import { DocumentListPresetRef } from '@alfresco/adf-extensions';
35
+ import * as i0 from "@angular/core";
36
+ export declare class SearchLibrariesResultsComponent extends PageComponent implements OnInit {
37
+ private breakpointObserver;
38
+ private librariesQueryBuilder;
39
+ private route;
40
+ private appHookService;
41
+ isSmallScreen: boolean;
42
+ searchedWord: string;
43
+ queryParamName: string;
44
+ data: NodePaging;
45
+ totalResults: number;
46
+ isLoading: boolean;
47
+ columns: DocumentListPresetRef[];
48
+ constructor(breakpointObserver: BreakpointObserver, librariesQueryBuilder: SearchLibrariesQueryBuilderService, route: ActivatedRoute, appHookService: AppHookService, store: Store<AppStore>, extensions: AppExtensionService, content: ContentManagementService);
49
+ ngOnInit(): void;
50
+ private formatSearchQuery;
51
+ onSearchResultLoaded(nodePaging: NodePaging): void;
52
+ getNumberOfResults(): number;
53
+ onPaginationChanged(pagination: Pagination): void;
54
+ navigateTo(node: SiteEntry): void;
55
+ handleNodeClick(event: Event): void;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchLibrariesResultsComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchLibrariesResultsComponent, "aca-search-results", never, {}, {}, never, never, false>;
58
+ }
@@ -0,0 +1,70 @@
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
+ import { MinimalNodeEntity, Pagination, ResultSetPaging } from '@alfresco/js-api';
27
+ import { ActivatedRoute, Router } from '@angular/router';
28
+ import { SearchQueryBuilderService } from '@alfresco/adf-content-services';
29
+ import { Store } from '@ngrx/store';
30
+ import { AppStore } from '@alfresco/aca-shared/store';
31
+ import { ContentManagementService } from '../../../services/content-management.service';
32
+ import { TranslationService } from '@alfresco/adf-core';
33
+ import { Observable } from 'rxjs';
34
+ import { AppExtensionService, PageComponent } from '@alfresco/aca-shared';
35
+ import { SearchSortingDefinition } from '@alfresco/adf-content-services/lib/search/models/search-sorting-definition.interface';
36
+ import { BreakpointObserver } from '@angular/cdk/layout';
37
+ import * as i0 from "@angular/core";
38
+ export declare class SearchResultsComponent extends PageComponent implements OnInit {
39
+ private queryBuilder;
40
+ private route;
41
+ private translationService;
42
+ private router;
43
+ private breakpointObserver;
44
+ showFacetFilter$: Observable<boolean>;
45
+ infoDrawerPreview$: Observable<boolean>;
46
+ searchedWord: string;
47
+ queryParamName: string;
48
+ data: ResultSetPaging;
49
+ sorting: string[];
50
+ isLoading: boolean;
51
+ isSmallScreen: boolean;
52
+ constructor(queryBuilder: SearchQueryBuilderService, route: ActivatedRoute, store: Store<AppStore>, extensions: AppExtensionService, content: ContentManagementService, translationService: TranslationService, router: Router, breakpointObserver: BreakpointObserver);
53
+ ngOnInit(): void;
54
+ onSearchError(error: {
55
+ message: any;
56
+ }): void;
57
+ private isOperator;
58
+ private formatFields;
59
+ formatSearchQuery(userInput: string, fields?: string[]): string;
60
+ onSearchResultLoaded(nodePaging: ResultSetPaging): void;
61
+ onPaginationChanged(pagination: Pagination): void;
62
+ private getSorting;
63
+ onNodeDoubleClick(node: MinimalNodeEntity): void;
64
+ handleNodeClick(event: Event): void;
65
+ onPreviewClosed(): void;
66
+ onDrawerClosed(): void;
67
+ onSearchSortingUpdate(option: SearchSortingDefinition): void;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchResultsComponent, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchResultsComponent, "aca-search-results", never, {}, {}, never, never, false>;
70
+ }
@@ -0,0 +1,49 @@
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, OnDestroy } from '@angular/core';
26
+ import { Store } from '@ngrx/store';
27
+ import { BehaviorSubject } from 'rxjs';
28
+ import { NodesApiService } from '@alfresco/adf-core';
29
+ import { Router } from '@angular/router';
30
+ import * as i0 from "@angular/core";
31
+ export declare class SearchResultsRowComponent implements OnInit, OnDestroy {
32
+ private store;
33
+ private nodesApiService;
34
+ private router;
35
+ private node;
36
+ private onDestroy$;
37
+ context: any;
38
+ name$: BehaviorSubject<string>;
39
+ title$: BehaviorSubject<string>;
40
+ constructor(store: Store<any>, nodesApiService: NodesApiService, router: Router);
41
+ ngOnInit(): void;
42
+ private updateValues;
43
+ ngOnDestroy(): void;
44
+ get isFile(): boolean;
45
+ showPreview(event: Event): void;
46
+ navigate(event: Event): void;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchResultsRowComponent, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchResultsRowComponent, "aca-search-results-row", never, { "context": "context"; }, {}, never, never, false>;
49
+ }
@@ -0,0 +1,21 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./search-results/search-results.component";
3
+ import * as i2 from "./search-libraries-results/search-libraries-results.component";
4
+ import * as i3 from "./search-results-row/search-results-row.component";
5
+ import * as i4 from "./search-action-menu/search-action-menu.component";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@alfresco/adf-core";
8
+ import * as i7 from "@alfresco/adf-content-services";
9
+ import * as i8 from "../common/common.module";
10
+ import * as i9 from "../info-drawer/info.drawer.module";
11
+ import * as i10 from "../toolbar/toolbar.module";
12
+ import * as i11 from "../../directives/directives.module";
13
+ import * as i12 from "../layout/layout.module";
14
+ import * as i13 from "../context-menu/context-menu.module";
15
+ import * as i14 from "@alfresco/aca-shared";
16
+ import * as i15 from "../dl-custom-components/document-list-custom-components.module";
17
+ export declare class AppSearchResultsModule {
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppSearchResultsModule, never>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AppSearchResultsModule, [typeof i1.SearchResultsComponent, typeof i2.SearchLibrariesResultsComponent, typeof i3.SearchResultsRowComponent, typeof i4.SearchActionMenuComponent], [typeof i5.CommonModule, typeof i6.CoreModule, typeof i7.ContentModule, typeof i8.AppCommonModule, typeof i9.AppInfoDrawerModule, typeof i10.AppToolbarModule, typeof i11.DirectivesModule, typeof i12.AppLayoutModule, typeof i13.ContextMenuModule, typeof i14.LockedByModule, typeof i15.DocumentListCustomComponentsModule], [typeof i1.SearchResultsComponent, typeof i2.SearchLibrariesResultsComponent, typeof i3.SearchResultsRowComponent, typeof i4.SearchActionMenuComponent]>;
20
+ static ɵinj: i0.ɵɵInjectorDeclaration<AppSearchResultsModule>;
21
+ }