@alfresco/adf-content-services 8.3.0 → 8.3.1

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 +0 -16
  2. package/bundles/assets/adf-content-services/i18n/de.json +26 -8
  3. package/bundles/assets/adf-content-services/i18n/en.json +30 -12
  4. package/bundles/assets/adf-content-services/i18n/es.json +25 -7
  5. package/bundles/assets/adf-content-services/i18n/fr.json +25 -7
  6. package/bundles/assets/adf-content-services/i18n/it.json +25 -7
  7. package/bundles/assets/adf-content-services/i18n/pl.json +25 -7
  8. package/bundles/assets/adf-content-services/i18n/pt.json +25 -7
  9. package/bundles/assets/images/custom_filter.svg +3 -0
  10. package/bundles/assets/images/custom_filter_filled.svg +4 -0
  11. package/fesm2022/adf-content-services.mjs +2685 -4775
  12. package/fesm2022/adf-content-services.mjs.map +1 -1
  13. package/lib/agent/services/agent.service.d.ts +2 -4
  14. package/lib/api-factories/alfresco-api-no-auth.service.d.ts +0 -19
  15. package/lib/api-factories/alfresco-api-v2-loader.service.d.ts +1 -5
  16. package/lib/aspect-list/aspect-list-dialog.component.d.ts +2 -3
  17. package/lib/aspect-list/aspect-list.component.d.ts +2 -5
  18. package/lib/aspect-list/aspect-list.component.scss +1 -1
  19. package/lib/aspect-list/services/aspect-list.service.d.ts +2 -5
  20. package/lib/aspect-list/services/dialog-aspect-list.service.d.ts +4 -9
  21. package/lib/aspect-list/services/node-aspect.service.d.ts +4 -9
  22. package/lib/auth-loader/content-auth-loader.service.d.ts +0 -2
  23. package/lib/breadcrumb/breadcrumb.component.d.ts +4 -2
  24. package/lib/breadcrumb/breadcrumb.component.scss +2 -2
  25. package/lib/breadcrumb/dropdown-breadcrumb.component.scss +1 -1
  26. package/lib/breadcrumb/public-api.d.ts +0 -1
  27. package/lib/category/categories-management/categories-management-mode.d.ts +5 -4
  28. package/lib/category/categories-management/categories-management.component.d.ts +5 -7
  29. package/lib/category/categories-management/categories-management.component.scss +2 -19
  30. package/lib/category/services/category-tree-datasource.service.d.ts +1 -3
  31. package/lib/category/services/category.service.d.ts +3 -6
  32. package/lib/common/interfaces/saved-searches-strategy.interface.d.ts +63 -0
  33. package/lib/common/models/file.model.d.ts +11 -10
  34. package/lib/common/public-api.d.ts +3 -1
  35. package/lib/common/services/card-view-content-update.service.d.ts +4 -5
  36. package/lib/common/services/content.service.d.ts +2 -3
  37. package/lib/common/services/discovery-api.service.d.ts +3 -4
  38. package/lib/common/services/favorites-api.service.d.ts +2 -5
  39. package/lib/common/services/nodes-api.service.d.ts +14 -22
  40. package/lib/common/services/people-content.service.d.ts +3 -6
  41. package/lib/common/services/rendition.service.d.ts +3 -5
  42. package/lib/common/services/saved-searches-base.service.d.ts +28 -0
  43. package/lib/common/services/saved-searches-legacy.service.d.ts +34 -0
  44. package/lib/common/services/saved-searches.service.d.ts +8 -49
  45. package/lib/common/services/sites.service.d.ts +1 -3
  46. package/lib/content-metadata/components/content-metadata/content-metadata.component.d.ts +25 -27
  47. package/lib/content-metadata/components/content-metadata/content-metadata.component.scss +10 -25
  48. package/lib/content-metadata/components/content-metadata-card/content-metadata-card.component.d.ts +4 -7
  49. package/lib/content-metadata/components/content-metadata-card/content-metadata-card.component.scss +1 -1
  50. package/lib/content-metadata/services/basic-properties.service.d.ts +1 -1
  51. package/lib/content-metadata/services/config/aspect-oriented-config.service.d.ts +1 -1
  52. package/lib/content-metadata/services/config/content-metadata-config.factory.d.ts +2 -4
  53. package/lib/content-metadata/services/config/layout-oriented-config.service.d.ts +1 -1
  54. package/lib/content-metadata/services/content-metadata.service.d.ts +5 -11
  55. package/lib/content-metadata/services/content-type-property.service.d.ts +4 -9
  56. package/lib/{pipes/node-name-tooltip.pipe.d.ts → content-metadata/services/pipes/multi-value.pipe.d.ts} +5 -8
  57. package/lib/content-metadata/services/property-descriptors.service.d.ts +1 -3
  58. package/lib/content-metadata/services/property-groups-translator.service.d.ts +2 -3
  59. package/lib/content-node-selector/content-node-dialog.service.d.ts +6 -28
  60. package/lib/content-node-selector/content-node-selector-panel/content-node-selector-panel.component.d.ts +9 -14
  61. package/lib/content-node-selector/content-node-selector-panel/content-node-selector-panel.component.scss +9 -42
  62. package/lib/content-node-selector/content-node-selector.component.d.ts +7 -12
  63. package/lib/content-node-selector/content-node-selector.component.scss +4 -5
  64. package/lib/content-node-selector/name-location-cell/name-location-cell.component.scss +1 -1
  65. package/lib/content-node-selector/site-dropdown/sites-dropdown.component.d.ts +9 -13
  66. package/lib/content-node-share/content-node-share.dialog.d.ts +6 -11
  67. package/lib/content-node-share/content-node-share.dialog.scss +11 -53
  68. package/lib/content-node-share/content-node-share.directive.d.ts +4 -7
  69. package/lib/content-node-share/services/shared-links-api.service.d.ts +2 -5
  70. package/lib/content-type/content-type-dialog.component.d.ts +3 -5
  71. package/lib/content-type/content-type.service.d.ts +1 -3
  72. package/lib/content.module.d.ts +94 -110
  73. package/lib/dialogs/category-selector/category-selector.dialog.d.ts +3 -6
  74. package/lib/dialogs/download-zip/download-zip.dialog.d.ts +4 -9
  75. package/lib/dialogs/download-zip/services/download-zip.service.d.ts +1 -3
  76. package/lib/dialogs/folder/folder.dialog.d.ts +8 -10
  77. package/lib/dialogs/folder/folder.dialog.scss +3 -16
  78. package/lib/dialogs/library/library.dialog.d.ts +20 -20
  79. package/lib/dialogs/library/library.dialog.scss +1 -44
  80. package/lib/dialogs/node-lock/node-lock.dialog.d.ts +5 -7
  81. package/lib/directives/auto-focus.directive.d.ts +2 -3
  82. package/lib/directives/content-directive.module.d.ts +10 -12
  83. package/lib/directives/library-favorite.directive.d.ts +0 -3
  84. package/lib/directives/library-membership.directive.d.ts +3 -7
  85. package/lib/directives/node-counter.directive.d.ts +2 -3
  86. package/lib/directives/node-delete.directive.d.ts +4 -7
  87. package/lib/directives/node-download.directive.d.ts +3 -7
  88. package/lib/directives/node-favorite.directive.d.ts +0 -3
  89. package/lib/directives/node-lock.directive.d.ts +5 -8
  90. package/lib/directives/node-restore.directive.d.ts +3 -5
  91. package/lib/directives/public-api.d.ts +0 -1
  92. package/lib/document-list/components/content-action/content-action-list.component.d.ts +1 -3
  93. package/lib/document-list/components/content-action/content-action.component.d.ts +3 -7
  94. package/lib/document-list/components/document-list.component.d.ts +27 -21
  95. package/lib/document-list/components/document-list.component.scss +1 -1
  96. package/lib/document-list/components/file-auto-download/file-auto-download.component.d.ts +0 -1
  97. package/lib/document-list/components/filter-header/filter-header.component.d.ts +13 -8
  98. package/lib/document-list/components/library-name-column/library-name-column.component.d.ts +4 -9
  99. package/lib/document-list/components/library-name-column/library-name-column.component.scss +5 -0
  100. package/lib/document-list/components/library-role-column/library-role-column.component.d.ts +3 -5
  101. package/lib/document-list/components/library-status-column/library-status-column.component.d.ts +1 -3
  102. package/lib/document-list/components/name-column/name-column.component.d.ts +4 -5
  103. package/lib/document-list/components/trashcan-name-column/trashcan-name-column.component.d.ts +1 -3
  104. package/lib/document-list/data/share-data-row.model.d.ts +4 -4
  105. package/lib/document-list/data/share-datatable-adapter.d.ts +4 -2
  106. package/lib/document-list/interfaces/document-list-loader.interface.d.ts +1 -1
  107. package/lib/document-list/models/content-action.model.d.ts +6 -5
  108. package/lib/document-list/models/node-action.enum.d.ts +8 -7
  109. package/lib/document-list/public-api.d.ts +1 -0
  110. package/lib/document-list/services/custom-resources.service.d.ts +3 -4
  111. package/lib/document-list/services/document-actions.service.d.ts +6 -27
  112. package/lib/document-list/services/document-list.service.d.ts +7 -6
  113. package/lib/document-list/services/folder-actions.service.d.ts +5 -25
  114. package/lib/document-list/services/lock.service.d.ts +1 -3
  115. package/lib/document-list/services/node-actions.service.d.ts +8 -15
  116. package/lib/document-list/utils/node-tooltip.utils.d.ts +59 -0
  117. package/lib/flex.scss +12 -7
  118. package/lib/group/services/group.service.d.ts +1 -3
  119. package/lib/infinite-scroll-datasource/infinite-scroll-datasource.d.ts +2 -2
  120. package/lib/interfaces/public-api.d.ts +0 -2
  121. package/lib/legal-hold/services/legal-hold.service.d.ts +0 -2
  122. package/lib/mat-selectors.scss +0 -19
  123. package/lib/mock/alfresco-api.service.mock.d.ts +1 -4
  124. package/lib/new-version-uploader/models/new-version-uploader.model.d.ts +9 -8
  125. package/lib/new-version-uploader/new-version-uploader.dialog.d.ts +1 -3
  126. package/lib/new-version-uploader/new-version-uploader.dialog.scss +1 -1
  127. package/lib/new-version-uploader/new-version-uploader.service.d.ts +4 -7
  128. package/lib/node-comments/services/node-comments.service.d.ts +0 -2
  129. package/lib/permission-manager/components/add-permission/add-permission-dialog.component.d.ts +3 -4
  130. package/lib/permission-manager/components/add-permission/add-permission-panel.component.scss +2 -35
  131. package/lib/permission-manager/components/add-permission/add-permission.component.d.ts +2 -5
  132. package/lib/permission-manager/components/add-permission/search-config-permission.service.d.ts +2 -3
  133. package/lib/permission-manager/components/inherited-button.directive.d.ts +2 -5
  134. package/lib/permission-manager/components/permission-container/permission-container.component.scss +4 -4
  135. package/lib/permission-manager/components/permission-list/permission-list.component.d.ts +1 -2
  136. package/lib/permission-manager/components/permission-list/permission-list.service.d.ts +5 -27
  137. package/lib/permission-manager/components/pop-over.directive.d.ts +5 -8
  138. package/lib/permission-manager/components/user-icon-column/user-icon-column.component.d.ts +1 -3
  139. package/lib/permission-manager/components/user-name-column/user-name-column.component.d.ts +1 -3
  140. package/lib/permission-manager/services/node-permission-dialog.service.d.ts +3 -7
  141. package/lib/permission-manager/services/node-permission.service.d.ts +4 -25
  142. package/lib/prediction/services/prediction.service.d.ts +1 -3
  143. package/lib/search/components/index.d.ts +0 -1
  144. package/lib/search/components/reset-search.directive.d.ts +1 -3
  145. package/lib/search/components/search-check-list/search-check-list.component.d.ts +3 -4
  146. package/lib/search/components/search-check-list/search-check-list.component.scss +2 -1
  147. package/lib/search/components/search-chip-list/search-chip-list.component.d.ts +0 -1
  148. package/lib/search/components/search-control.component.d.ts +2 -3
  149. package/lib/search/components/search-date-range-tabbed/search-date-range/date-range-type.d.ts +6 -5
  150. package/lib/search/components/search-date-range-tabbed/search-date-range/in-last-date-type.d.ts +6 -5
  151. package/lib/search/components/search-date-range-tabbed/search-date-range/search-date-range.component.d.ts +25 -15
  152. package/lib/search/components/search-date-range-tabbed/search-date-range/search-date-range.component.scss +3 -9
  153. package/lib/search/components/search-date-range-tabbed/search-date-range/search-date-range.d.ts +1 -1
  154. package/lib/search/components/search-date-range-tabbed/search-date-range-tabbed.component.d.ts +7 -7
  155. package/lib/search/components/search-datetime-range/search-datetime-range.component.d.ts +3 -5
  156. package/lib/search/components/search-facet-field/search-facet-field.component.d.ts +3 -3
  157. package/lib/search/components/search-facet-field/search-facet-field.component.scss +1 -26
  158. package/lib/search/components/search-filter/search-filter.component.d.ts +1 -1
  159. package/lib/search/components/search-filter/search-filter.component.scss +1 -1
  160. package/lib/search/components/search-filter-autocomplete-chips/search-filter-autocomplete-chips.component.d.ts +7 -7
  161. package/lib/search/components/search-filter-chips/search-facet-chip/search-facet-chip.component.d.ts +2 -3
  162. package/lib/search/components/search-filter-chips/search-facet-chip-tabbed/search-facet-chip-tabbed.component.d.ts +6 -7
  163. package/lib/search/components/search-filter-chips/search-facet-chip-tabbed/search-facet-tabbed-content.component.d.ts +4 -4
  164. package/lib/search/components/search-filter-chips/search-filter-chips.component.d.ts +2 -2
  165. package/lib/search/components/search-filter-chips/search-filter-chips.component.scss +0 -4
  166. package/lib/search/components/search-filter-chips/search-filter-menu-card/search-filter-menu-card.component.scss +1 -1
  167. package/lib/search/components/search-filter-chips/search-widget-chip/search-widget-chip.component.d.ts +3 -3
  168. package/lib/search/components/search-filter-container/search-filter-container.component.d.ts +8 -7
  169. package/lib/search/components/search-filter-container/search-filter-container.component.scss +6 -14
  170. package/lib/search/components/search-filter-tabbed/search-filter-tab.directive.d.ts +0 -1
  171. package/lib/search/components/search-filter-tabbed/search-filter-tabbed.component.d.ts +1 -2
  172. package/lib/search/components/search-form/search-form.component.d.ts +1 -1
  173. package/lib/search/components/search-input/search-input.component.d.ts +1 -19
  174. package/lib/search/components/search-logical-filter/search-logical-filter.component.d.ts +14 -10
  175. package/lib/search/components/search-panel/search-panel.component.d.ts +2 -5
  176. package/lib/search/components/search-properties/file-size-operator.enum.d.ts +6 -5
  177. package/lib/search/components/search-properties/search-properties.component.d.ts +7 -10
  178. package/lib/search/components/search-properties/search-properties.component.scss +32 -111
  179. package/lib/search/components/search-text/search-text.component.scss +1 -0
  180. package/lib/search/components/search-widget-container/search-widget-container.component.d.ts +3 -5
  181. package/lib/search/components/search.component.d.ts +3 -20
  182. package/lib/search/models/autocomplete-option.interface.d.ts +6 -4
  183. package/lib/search/models/facet-field.interface.d.ts +10 -8
  184. package/lib/search/models/search-configuration.interface.d.ts +1 -0
  185. package/lib/search/models/search-form.interface.d.ts +1 -0
  186. package/lib/search/search.module.d.ts +15 -17
  187. package/lib/search/services/base-query-builder.service.d.ts +24 -5
  188. package/lib/search/services/search-facet-filters.service.d.ts +7 -11
  189. package/lib/search/services/search-header-query-builder.service.d.ts +5 -6
  190. package/lib/search/services/search-query-builder.service.d.ts +3 -5
  191. package/lib/search/services/search.service.d.ts +2 -2
  192. package/lib/search-ai/services/search-ai.service.d.ts +3 -6
  193. package/lib/security/services/security-controls-groups-marks-security.service.d.ts +7 -10
  194. package/lib/security-options-loader/security-options-loader.service.d.ts +2 -21
  195. package/lib/services/alfresco-api.service.d.ts +3 -5
  196. package/lib/tag/services/tag.service.d.ts +3 -22
  197. package/lib/tag/tag-actions/tag-actions.component.d.ts +2 -21
  198. package/lib/tag/tag-list/tag-list.component.d.ts +2 -3
  199. package/lib/tag/tag-node-list/tag-node-list.component.d.ts +1 -3
  200. package/lib/tag/tags-creator/tags-creator-mode.d.ts +5 -4
  201. package/lib/tag/tags-creator/tags-creator.component.d.ts +8 -10
  202. package/lib/tag/tags-creator/tags-creator.component.scss +2 -13
  203. package/lib/tree/components/tree.component.d.ts +4 -5
  204. package/lib/tree/models/tree-node.interface.d.ts +5 -4
  205. package/lib/tree-view/components/tree-view.component.d.ts +3 -3
  206. package/lib/tree-view/data/tree-view-datasource.d.ts +3 -5
  207. package/lib/tree-view/services/tree-view.service.d.ts +1 -1
  208. package/lib/upload/components/file-uploading-dialog.component.d.ts +6 -25
  209. package/lib/upload/components/file-uploading-dialog.component.scss +2 -2
  210. package/lib/upload/components/file-uploading-list-row.component.d.ts +12 -0
  211. package/lib/upload/components/file-uploading-list.component.d.ts +2 -21
  212. package/lib/upload/components/upload-button.component.d.ts +3 -4
  213. package/lib/upload/components/upload-drag-area.component.d.ts +3 -4
  214. package/lib/upload/components/upload-files.event.d.ts +3 -3
  215. package/lib/upload/components/upload-version-button.component.d.ts +16 -0
  216. package/lib/upload/directives/file-draggable.directive.d.ts +4 -4
  217. package/lib/upload/public-api.d.ts +0 -2
  218. package/lib/upload/upload.module.d.ts +9 -13
  219. package/lib/version-compatibility/version-compatibility.directive.d.ts +3 -22
  220. package/lib/version-compatibility/version-compatibility.service.d.ts +2 -3
  221. package/lib/version-manager/content-version.service.d.ts +1 -3
  222. package/lib/version-manager/version-comparison.component.d.ts +0 -1
  223. package/lib/version-manager/version-list.component.d.ts +6 -11
  224. package/lib/version-manager/version-manager.component.d.ts +2 -5
  225. package/lib/version-manager/version-upload.component.d.ts +2 -5
  226. package/lib/version-manager/version-upload.component.scss +25 -20
  227. package/lib/viewer/components/alfresco-viewer.component.d.ts +11 -17
  228. package/package.json +3 -3
  229. package/public-api.d.ts +0 -2
  230. package/lib/breadcrumb/breadcrumb.module.d.ts +0 -12
  231. package/lib/common/mocks/ecm-user.service.mock.d.ts +0 -18
  232. package/lib/directives/check-allowable-operation.directive.d.ts +0 -65
  233. package/lib/document-list/components/document-list.token.d.ts +0 -18
  234. package/lib/interfaces/base-card-view-content-update.interface.d.ts +0 -26
  235. package/lib/interfaces/node-allowable-operation-subject.interface.d.ts +0 -19
  236. package/lib/mock/date-range-search-filter.mock.d.ts +0 -20
  237. package/lib/mock/document-library.model.mock.d.ts +0 -32
  238. package/lib/mock/document-list.component.mock.d.ts +0 -171
  239. package/lib/mock/index.d.ts +0 -17
  240. package/lib/mock/new-version-uploader.service.mock.d.ts +0 -19
  241. package/lib/mock/public-api.d.ts +0 -26
  242. package/lib/mock/search-filter-mock.d.ts +0 -321
  243. package/lib/mock/search-query.mock.d.ts +0 -18
  244. package/lib/mock/search.component.mock.d.ts +0 -31
  245. package/lib/mock/search.service.mock.d.ts +0 -83
  246. package/lib/mock/sites-dropdown.component.mock.d.ts +0 -22
  247. package/lib/pipes/content-pipe.module.d.ts +0 -12
  248. package/lib/pipes/index.d.ts +0 -17
  249. package/lib/pipes/public-api.d.ts +0 -18
  250. package/lib/search/components/search-sorting-picker/index.d.ts +0 -17
  251. package/lib/search/components/search-sorting-picker/search-sorting-picker.component.d.ts +0 -35
  252. package/lib/search/components/search-sorting-picker/search-sorting-picker.component.scss +0 -5
  253. package/lib/testing/content.testing.module.d.ts +0 -10
  254. package/lib/upload/directives/toggle-icon.directive.d.ts +0 -13
  255. package/lib/upload/pipes/file-upload-error.pipe.d.ts +0 -26
@@ -22,8 +22,8 @@ import { ContentService } from '../../common/services/content.service';
22
22
  export declare const ERR_ROW_NOT_FOUND: string;
23
23
  export declare const ERR_COL_NOT_FOUND: string;
24
24
  export declare class ShareDataTableAdapter implements DataTableAdapter {
25
- private thumbnailService;
26
- private contentService;
25
+ private readonly thumbnailService;
26
+ private readonly contentService;
27
27
  private _sortingMode;
28
28
  private sorting;
29
29
  private rows;
@@ -34,6 +34,7 @@ export declare class ShareDataTableAdapter implements DataTableAdapter {
34
34
  permissionsStyle: PermissionStyleModel[];
35
35
  selectedRow: DataRow;
36
36
  allowDropFiles: boolean;
37
+ allowFocusOnRows: boolean;
37
38
  set sortingMode(value: string);
38
39
  get sortingMode(): string;
39
40
  constructor(thumbnailService: ThumbnailService, contentService: ContentService, schema?: DataColumn[], sorting?: DataSorting, sortingMode?: string, allowDropFiles?: boolean);
@@ -57,6 +58,7 @@ export declare class ShareDataTableAdapter implements DataTableAdapter {
57
58
  sort(key?: string, direction?: string): void;
58
59
  setFilter(filter: RowFilter): void;
59
60
  setImageResolver(resolver: any): void;
61
+ setAllowFocusOnTableRows(allow: boolean): void;
60
62
  private getFolderIcon;
61
63
  isSmartFolder(node: any): boolean;
62
64
  isRuleFolder(node: any): boolean;
@@ -18,5 +18,5 @@ import { PaginationModel } from '@alfresco/adf-core';
18
18
  import { Observable } from 'rxjs';
19
19
  import { DocumentLoaderNode } from '../models/document-folder.model';
20
20
  export interface DocumentListLoader {
21
- loadFolderByNodeId(nodeId: string, pagination: PaginationModel, includeFields: string[], where?: string): Observable<DocumentLoaderNode>;
21
+ loadFolderByNodeId(nodeId: string, pagination: PaginationModel, includeFields: string[], where?: string, filters?: string[]): Observable<DocumentLoaderNode>;
22
22
  }
@@ -26,9 +26,10 @@ export declare class ContentActionModel {
26
26
  visible: boolean | ((...args: any[]) => boolean);
27
27
  constructor(obj?: any);
28
28
  }
29
- export declare enum ContentActionTarget {
30
- Document = "document",
31
- Folder = "folder",
32
- All = "all"
33
- }
29
+ export declare const ContentActionTarget: {
30
+ readonly Document: "document";
31
+ readonly Folder: "folder";
32
+ readonly All: "all";
33
+ };
34
+ export type ContentActionTarget = (typeof ContentActionTarget)[keyof typeof ContentActionTarget];
34
35
  export type ContentActionHandler = (obj: any, target?: any, permission?: string) => any;
@@ -14,10 +14,11 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- export declare enum NodeAction {
18
- ATTACH = "ATTACH",
19
- CHOOSE = "CHOOSE",
20
- COPY = "COPY",
21
- MOVE = "MOVE",
22
- NEXT = "NEXT"
23
- }
17
+ export declare const NodeAction: {
18
+ readonly ATTACH: "ATTACH";
19
+ readonly CHOOSE: "CHOOSE";
20
+ readonly COPY: "COPY";
21
+ readonly MOVE: "MOVE";
22
+ readonly NEXT: "NEXT";
23
+ };
24
+ export type NodeAction = (typeof NodeAction)[keyof typeof NodeAction];
@@ -40,4 +40,5 @@ export * from './models/permissions.model';
40
40
  export * from './models/permissions-style.model';
41
41
  export * from './models/node-action.enum';
42
42
  export * from './interfaces/document-list-loader.interface';
43
+ export * from './utils/node-tooltip.utils';
43
44
  export * from './document-list.module';
@@ -15,12 +15,11 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { PaginationModel } from '@alfresco/adf-core';
18
- import { AlfrescoApiService } from '../../services/alfresco-api.service';
19
18
  import { DeletedNodesPaging, SharedLinkPaging, FavoritePaging, SiteMemberPaging, PeopleApi, SitesApi, SearchApi, FavoritesApi, SharedlinksApi, TrashcanApi, NodesApi, SitePaging, ResultSetPaging } from '@alfresco/js-api';
20
19
  import { Observable } from 'rxjs';
21
20
  import * as i0 from "@angular/core";
22
21
  export declare class CustomResourcesService {
23
- private apiService;
22
+ private readonly apiService;
24
23
  private _peopleApi;
25
24
  get peopleApi(): PeopleApi;
26
25
  private _sitesApi;
@@ -35,7 +34,6 @@ export declare class CustomResourcesService {
35
34
  get favoritesApi(): FavoritesApi;
36
35
  private _nodesApi;
37
36
  get nodesApi(): NodesApi;
38
- constructor(apiService: AlfrescoApiService);
39
37
  /**
40
38
  * Gets files recently accessed by a user.
41
39
  *
@@ -108,9 +106,10 @@ export declare class CustomResourcesService {
108
106
  * @param pagination Specifies how to paginate the results
109
107
  * @param includeFields List of data field names to include in the results
110
108
  * @param where Filters the Node list using the *where* condition of the REST API (for example, isFolder=true). See the REST API documentation for more information.
109
+ * @param filters Specifies additional filters to apply (joined with **AND**). Applied for '-recent-' only.
111
110
  * @returns List of items contained in the folder
112
111
  */
113
- loadFolderByNodeId(nodeId: string, pagination: PaginationModel, includeFields?: string[], where?: string): any;
112
+ loadFolderByNodeId(nodeId: string, pagination: PaginationModel, includeFields?: string[], where?: string, filters?: string[]): any;
114
113
  /**
115
114
  * Gets the contents of one of the well-known aliases in the form of node ID strings.
116
115
  *
@@ -1,40 +1,19 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { TranslationService } from '@alfresco/adf-core';
18
- import { ContentService } from '../../common/services/content.service';
19
1
  import { NodeEntry } from '@alfresco/js-api';
20
2
  import { Subject } from 'rxjs';
21
3
  import { ContentActionHandler } from '../models/content-action.model';
22
4
  import { PermissionModel } from '../models/permissions.model';
23
- import { DocumentListService } from './document-list.service';
24
- import { NodeActionsService } from './node-actions.service';
25
- import { ContentNodeDialogService } from '../../content-node-selector/content-node-dialog.service';
26
5
  import * as i0 from "@angular/core";
27
6
  export declare class DocumentActionsService {
28
- private nodeActionsService;
29
- private contentNodeDialogService;
30
- private translation;
31
- private documentListService?;
32
- private contentService?;
7
+ private readonly nodeActionsService;
8
+ private readonly contentNodeDialogService;
9
+ private readonly translation;
10
+ private readonly documentListService;
11
+ private readonly contentService;
33
12
  permissionEvent: Subject<PermissionModel>;
34
13
  error: Subject<Error>;
35
14
  success: Subject<string>;
36
15
  private handlers;
37
- constructor(nodeActionsService: NodeActionsService, contentNodeDialogService: ContentNodeDialogService, translation: TranslationService, documentListService?: DocumentListService, contentService?: ContentService);
16
+ constructor();
38
17
  /**
39
18
  * Gets the handler for an action.
40
19
  *
@@ -21,13 +21,13 @@ import { Observable } from 'rxjs';
21
21
  import { DocumentListLoader } from '../interfaces/document-list-loader.interface';
22
22
  import * as i0 from "@angular/core";
23
23
  export declare class DocumentListService implements DocumentListLoader {
24
- private nodesApiService;
25
- private apiService;
26
- private customResourcesService;
24
+ private readonly nodesApiService;
25
+ private readonly apiService;
26
+ private readonly customResourcesService;
27
27
  private _nodesApi;
28
28
  get nodes(): NodesApi;
29
- private _reload;
30
- private _resetSelection;
29
+ private readonly _reload;
30
+ private readonly _resetSelection;
31
31
  /** Gets an observable that emits when the document list should be reloaded. */
32
32
  reload$: Observable<void>;
33
33
  /** Gets an observable that emits when the selection should be reset. */
@@ -93,9 +93,10 @@ export declare class DocumentListService implements DocumentListLoader {
93
93
  * @param includeFields List of data field names to include in the results
94
94
  * @param where Optionally filter the list
95
95
  * @param orderBy order by node property
96
+ * @param filters Specifies additional filters to apply (joined with **AND**). Applied for recent files only.
96
97
  * @returns Details of the folder
97
98
  */
98
- loadFolderByNodeId(nodeId: string, pagination: PaginationModel, includeFields: string[], where?: string, orderBy?: string[]): Observable<DocumentLoaderNode>;
99
+ loadFolderByNodeId(nodeId: string, pagination: PaginationModel, includeFields: string[], where?: string, orderBy?: string[], filters?: string[]): Observable<DocumentLoaderNode>;
99
100
  private retrieveDocumentNode;
100
101
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentListService, never>;
101
102
  static ɵprov: i0.ɵɵInjectableDeclaration<DocumentListService>;
@@ -1,38 +1,18 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { TranslationService } from '@alfresco/adf-core';
18
- import { ContentService } from '../../common/services/content.service';
19
1
  import { NodeEntry } from '@alfresco/js-api';
20
2
  import { Subject } from 'rxjs';
21
3
  import { ContentActionHandler } from '../models/content-action.model';
22
4
  import { PermissionModel } from '../models/permissions.model';
23
- import { DocumentListService } from './document-list.service';
24
- import { NodeActionsService } from './node-actions.service';
25
5
  import * as i0 from "@angular/core";
26
6
  export declare class FolderActionsService {
27
- private nodeActionsService;
28
- private documentListService;
29
- private contentService;
30
- private translation;
7
+ private readonly nodeActionsService;
8
+ private readonly documentListService;
9
+ private readonly contentService;
10
+ private readonly translation;
31
11
  permissionEvent: Subject<PermissionModel>;
32
12
  error: Subject<Error>;
33
13
  success: Subject<string>;
34
14
  private handlers;
35
- constructor(nodeActionsService: NodeActionsService, documentListService: DocumentListService, contentService: ContentService, translation: TranslationService);
15
+ constructor();
36
16
  /**
37
17
  * Gets the handler function for an action.
38
18
  *
@@ -1,9 +1,7 @@
1
1
  import { Node } from '@alfresco/js-api';
2
- import { AuthenticationService } from '@alfresco/adf-core';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class LockService {
5
- private authService;
6
- constructor(authService: AuthenticationService);
4
+ private readonly authService;
7
5
  isLocked(node: Node): boolean;
8
6
  private hasLockConfigured;
9
7
  private isReadOnlyLock;
@@ -16,24 +16,17 @@
16
16
  */
17
17
  import { EventEmitter } from '@angular/core';
18
18
  import { Node, NodeEntry } from '@alfresco/js-api';
19
- import { Subject } from 'rxjs';
20
- import { DownloadService } from '@alfresco/adf-core';
19
+ import { Observable } from 'rxjs';
21
20
  import { MatDialog } from '@angular/material/dialog';
22
21
  import { ContentService } from '../../common/services/content.service';
23
- import { AlfrescoApiService } from '../../services/alfresco-api.service';
24
- import { DocumentListService } from './document-list.service';
25
- import { ContentNodeDialogService } from '../../content-node-selector/content-node-dialog.service';
26
22
  import * as i0 from "@angular/core";
27
23
  export declare class NodeActionsService {
28
- private contentDialogService;
24
+ private readonly contentDialogService;
29
25
  dialogRef: MatDialog;
30
26
  content: ContentService;
31
- private documentListService?;
32
- private apiService?;
33
- private dialog?;
34
- private downloadService?;
27
+ private readonly documentListService;
28
+ private readonly injector;
35
29
  error: EventEmitter<any>;
36
- constructor(contentDialogService: ContentNodeDialogService, dialogRef: MatDialog, content: ContentService, documentListService?: DocumentListService, apiService?: AlfrescoApiService, dialog?: MatDialog, downloadService?: DownloadService);
37
30
  downloadNode(node: NodeEntry): void;
38
31
  /**
39
32
  * Copy content node
@@ -42,7 +35,7 @@ export declare class NodeActionsService {
42
35
  * @param permission permission which is needed to apply the action
43
36
  * @returns operation result
44
37
  */
45
- copyContent(contentEntry: Node, permission?: string): Subject<string>;
38
+ copyContent(contentEntry: Node, permission?: string): Observable<string>;
46
39
  /**
47
40
  * Copy folder node
48
41
  *
@@ -50,7 +43,7 @@ export declare class NodeActionsService {
50
43
  * @param permission permission which is needed to apply the action
51
44
  * @returns operation result
52
45
  */
53
- copyFolder(contentEntry: Node, permission?: string): Subject<string>;
46
+ copyFolder(contentEntry: Node, permission?: string): Observable<string>;
54
47
  /**
55
48
  * Move content node
56
49
  *
@@ -58,7 +51,7 @@ export declare class NodeActionsService {
58
51
  * @param permission permission which is needed to apply the action
59
52
  * @returns operation result
60
53
  */
61
- moveContent(contentEntry: Node, permission?: string): Subject<string>;
54
+ moveContent(contentEntry: Node, permission?: string): Observable<string>;
62
55
  /**
63
56
  * Move folder node
64
57
  *
@@ -66,7 +59,7 @@ export declare class NodeActionsService {
66
59
  * @param permission permission which is needed to apply the action
67
60
  * @returns operation result
68
61
  */
69
- moveFolder(contentEntry: Node, permission?: string): Subject<string>;
62
+ moveFolder(contentEntry: Node, permission?: string): Observable<string>;
70
63
  /**
71
64
  * General method for performing the given operation (copy|move)
72
65
  *
@@ -0,0 +1,59 @@
1
+ /*!
2
+ * @license
3
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { NodeEntry } from '@alfresco/js-api';
18
+ /**
19
+ * Utility class for generating node and library tooltips based on node properties
20
+ */
21
+ export declare class NodeTooltipUtils {
22
+ /**
23
+ * Generates a tooltip string for a node based on its name, title, and description properties.
24
+ * The tooltip logic follows these rules:
25
+ * - If both title and description exist: shows "title\ndescription"
26
+ * - If only title exists: shows "name\ntitle"
27
+ * - If only description exists: shows "name\ndescription"
28
+ * - If neither exists: shows "name"
29
+ * - Removes case-insensitive duplicates while preserving order
30
+ *
31
+ * @param node - The node entry to generate tooltip for
32
+ * @returns The tooltip string with newline-separated lines, or null if node is invalid
33
+ */
34
+ static getNodeTooltip(node: NodeEntry): string | null;
35
+ /**
36
+ * Generates a tooltip string for a library (site) node.
37
+ * Returns description if available, otherwise title, otherwise empty string.
38
+ *
39
+ * @param node - The node entry to generate tooltip for
40
+ * @returns The tooltip string, or empty string if no description or title is available
41
+ */
42
+ static getLibraryTooltip(node: NodeEntry): string;
43
+ /**
44
+ * Generates a display title for a library (site) node.
45
+ * If there are duplicate titles in the list, appends the library ID/name in parentheses.
46
+ *
47
+ * @param library - The library entry object
48
+ * @param allEntries - Array of all entries to check for duplicates
49
+ * @returns The display title, with ID/name appended if duplicate exists
50
+ */
51
+ static getLibraryTitle(library: any, allEntries: any[]): string;
52
+ /**
53
+ * Removes case-insensitive duplicate strings from an array while preserving order
54
+ *
55
+ * @param lines - Array of strings to deduplicate
56
+ * @returns Array with duplicates removed
57
+ */
58
+ private static removeDuplicates;
59
+ }
package/lib/flex.scss CHANGED
@@ -1,4 +1,5 @@
1
1
  @charset "UTF-8";
2
+ @use 'sass:map';
2
3
  /* stylelint-disable */
3
4
 
4
5
  // Non-overlapping Material Design breakpoints
@@ -60,22 +61,26 @@ $overlapping-lt: (
60
61
  // background-color: red;
61
62
  // }
62
63
  @mixin layout-bp($bp) {
63
- @if map-has-key($breakpoints, $bp) {
64
- $min: map-get(map-get($breakpoints, $bp), begin);
65
- $max: map-get(map-get($breakpoints, $bp), end);
64
+ @if map.has-key($breakpoints, $bp) {
65
+ $min: map.get(map.get($breakpoints, $bp), begin);
66
+ $max: map.get(map.get($breakpoints, $bp), end);
67
+
66
68
  @media (min-width: $min) and (max-width: $max) {
67
69
  @content;
68
70
  }
69
- } @else if map-has-key($overlapping-gt, $bp) {
70
- $min: map-get($overlapping-gt, $bp);
71
+ } @else if map.has-key($overlapping-gt, $bp) {
72
+ $min: map.get($overlapping-gt, $bp);
73
+
71
74
  @media (min-width: $min) {
72
75
  @content;
73
76
  }
74
- } @else if map-has-key($overlapping-lt, $bp) {
75
- $max: map-get($overlapping-lt, $bp);
77
+ } @else if map.has-key($overlapping-lt, $bp) {
78
+ $max: map.get($overlapping-lt, $bp);
79
+
76
80
  @media (max-width: $max) {
77
81
  @content;
78
82
  }
79
83
  }
80
84
  }
85
+
81
86
  /* stylelint-enable */
@@ -1,12 +1,10 @@
1
1
  import { ContentIncludeQuery, Group, GroupEntry, GroupsApi } from '@alfresco/js-api';
2
- import { AlfrescoApiService } from '../../services/alfresco-api.service';
3
2
  import { Observable } from 'rxjs';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class GroupService {
6
- private alfrescoApiService;
5
+ private readonly alfrescoApiService;
7
6
  private _groupsApi;
8
7
  get groupsApi(): GroupsApi;
9
- constructor(alfrescoApiService: AlfrescoApiService);
10
8
  listAllGroupMembershipsForPerson(personId: string, opts?: any, accumulator?: any[]): Promise<GroupEntry[]>;
11
9
  /**
12
10
  * Returns group for specified id.
@@ -19,8 +19,8 @@ import { CollectionViewer, DataSource } from '@angular/cdk/collections';
19
19
  import { BehaviorSubject, Observable } from 'rxjs';
20
20
  export declare abstract class InfiniteScrollDatasource<T> extends DataSource<T> {
21
21
  protected readonly dataStream: BehaviorSubject<T[]>;
22
- private isLoading$;
23
- private subscription;
22
+ private readonly isLoading$;
23
+ private readonly subscription;
24
24
  private batchesFetched;
25
25
  private _itemsCount;
26
26
  private _firstItem;
@@ -14,9 +14,7 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- export * from './node-allowable-operation-subject.interface';
18
17
  export * from './library-entity.interface';
19
18
  export * from './restore-message-model.interface';
20
19
  export * from './library-membership-error-event.interface';
21
20
  export * from './library-membership-toggle-event.interface';
22
- export * from './base-card-view-content-update.interface';
@@ -16,13 +16,11 @@
16
16
  */
17
17
  import { BulkAssignHoldResponseEntry, ContentPagingQuery, Hold, HoldBody, HoldBulkStatusEntry, HoldEntry, HoldPaging, LegalHoldApi, RequestQuery } from '@alfresco/js-api';
18
18
  import { Observable } from 'rxjs';
19
- import { AlfrescoApiService } from '../../services/alfresco-api.service';
20
19
  import * as i0 from "@angular/core";
21
20
  export declare class LegalHoldService {
22
21
  private readonly apiService;
23
22
  private _legalHoldApi;
24
23
  get legalHoldApi(): LegalHoldApi;
25
- constructor(apiService: AlfrescoApiService);
26
24
  /**
27
25
  * Gets the list of holds available in the file plan.
28
26
  *
@@ -13,16 +13,10 @@ $mat-checkbox-box: '.mdc-checkbox';
13
13
  $mat-button: '.mat-mdc-button';
14
14
  $mat-button-label: '.mdc-button__label';
15
15
  $mat-form-field: '.mat-mdc-form-field';
16
- $mat-form-field-flex: '.mat-mdc-form-field-flex';
17
16
  $mat-form-field-wrapper: '.mat-mdc-text-field-wrapper';
18
- $mat-line-ripple: '.mdc-line-ripple';
19
- $mat-form-field-subscript-wrapper: '.mat-mdc-form-field-subscript-wrapper';
20
17
  $mat-form-text-field-infix: '.mat-mdc-form-text-infix';
21
- $mat-form-field-label: '.mat-mdc-floating-label';
22
18
  $mat-form-field-appearance-outline: '.mat-form-field-appearance-outline';
23
19
  $mat-text-field-outlined: '.mdc-text-field--outlined';
24
- $mat-text-field-outlined-thick: '.mdc-text-field--outlined-thick';
25
- $mat-input-element: '.mat-mdc-input-element';
26
20
  $mat-card: '.mat-mdc-card';
27
21
  $mat-card-content: '.mat-mdc-card-content';
28
22
  $mat-list-item-primary-text: '.mdc-list-item__primary-text';
@@ -30,15 +24,8 @@ $mat-list-item-end: '.mdc-list-item__end';
30
24
  $mat-select: '.mat-mdc-select';
31
25
  $mat-menu-panel: '.mat-mdc-menu-panel';
32
26
  $mat-expansion-panel: '.mat-expansion-panel';
33
- $mat-calendar: '.mat-calendar';
34
- $mat-calendar-header: '.mat-calendar-header';
35
- $mat-toolbar: '.mat-toolbar';
36
- $mat-text-field-no-label: '.mdc-text-field--no-label';
37
27
  $mat-form-field-infix: '.mat-mdc-form-field-infix';
38
28
  $mat-form-field-hide-placeholder: '.mat-form-field-hide-placeholder';
39
- $mat-form-field-hint-wrapper: '.mat-mdc-form-field-hint-wrapper';
40
- $mat-form-field-error-wrapper: '.mat-mdc-form-field-error-wrapper';
41
- $mat-form-field-error: '.mat-mdc-form-field-error';
42
29
  $mat-checkbox-background: '.mdc-checkbox__background';
43
30
  $mat-floating-label: '.mdc-floating-label';
44
31
  $mat-select-arrow-wrapper: '.mat-mdc-select-arrow-wrapper';
@@ -50,14 +37,8 @@ $mat-evolution-chip: '.mdc-evolution-chip';
50
37
  $mat-standard-chip: '.mat-mdc-standard-chip';
51
38
  $mat-notched-outline: '.mdc-notched-outline';
52
39
  $mat-evolution-chip-graphic: '.mdc-evolution-chip__graphic';
53
- $mat-select-trigger: '.mat-mdc-select-trigger';
54
40
  $mat-select-arrow: '.mat-mdc-select-arrow';
55
- $mat-notched-outline-leading: '.mdc-notched-outline__leading';
56
- $mat-notched-outline-trailing: '.mdc-notched-outline__trailing';
57
41
  $mat-evolution-chip-set: '.mdc-evolution-chip-set';
58
42
  $cdk-overlay-pane: '.cdk-overlay-pane';
59
- $mat-form-field-error-wrapper: '.mat-mdc-form-field-error-wrapper';
60
43
  $mat-list-item-disabled: '.mdc-list-item--disabled';
61
44
  $mat-switch: '.mdc-switch';
62
- $mat-list-item: '.mdc-list-item';
63
- $mat-text-field: '.mdc-text-field';
@@ -1,10 +1,7 @@
1
1
  import { AlfrescoApiService } from '../services/alfresco-api.service';
2
- import { AppConfigService, StorageService } from '@alfresco/adf-core';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class AlfrescoApiServiceMock extends AlfrescoApiService {
5
- protected appConfig: AppConfigService;
6
- protected storageService: StorageService;
7
- constructor(appConfig: AppConfigService, storageService: StorageService);
4
+ constructor();
8
5
  initialize(): Promise<any>;
9
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AlfrescoApiServiceMock, never>;
10
7
  static ɵprov: i0.ɵɵInjectableDeclaration<AlfrescoApiServiceMock>;
@@ -29,25 +29,26 @@ export interface NewVersionUploaderDialogData {
29
29
  allowVersionDelete?: boolean;
30
30
  }
31
31
  export type NewVersionUploaderData = VersionManagerUploadData | ViewVersion | RefreshData;
32
- export declare enum NewVersionUploaderDataAction {
33
- refresh = "refresh",
34
- upload = "upload",
35
- view = "view"
36
- }
32
+ export declare const NewVersionUploaderDataAction: {
33
+ readonly refresh: "refresh";
34
+ readonly upload: "upload";
35
+ readonly view: "view";
36
+ };
37
+ export type NewVersionUploaderDataAction = (typeof NewVersionUploaderDataAction)[keyof typeof NewVersionUploaderDataAction];
37
38
  interface BaseData {
38
39
  action: NewVersionUploaderDataAction;
39
40
  }
40
41
  export interface VersionManagerUploadData extends BaseData {
41
- action: NewVersionUploaderDataAction.upload;
42
+ action: 'upload';
42
43
  newVersion: NodeEntityEvent;
43
44
  currentVersion: NodeChildAssociation;
44
45
  }
45
46
  export interface ViewVersion extends BaseData {
46
- action: NewVersionUploaderDataAction.view;
47
+ action: 'view';
47
48
  versionId: string;
48
49
  }
49
50
  export interface RefreshData extends BaseData {
50
- action: NewVersionUploaderDataAction.refresh;
51
+ action: 'refresh';
51
52
  node: Node;
52
53
  }
53
54
  export {};
@@ -16,12 +16,11 @@
16
16
  */
17
17
  import { Node } from '@alfresco/js-api';
18
18
  import { EventEmitter, OnInit } from '@angular/core';
19
- import { MatDialogRef } from '@angular/material/dialog';
20
19
  import { NewVersionUploaderDialogData, NewVersionUploaderData } from './models';
21
20
  import * as i0 from "@angular/core";
22
21
  export declare class NewVersionUploaderDialogComponent implements OnInit {
23
22
  data: NewVersionUploaderDialogData;
24
- private dialogRef;
23
+ private readonly dialogRef;
25
24
  /**
26
25
  * Dialog title to show into the header.
27
26
  * If data.title is not provided, a default title is set
@@ -31,7 +30,6 @@ export declare class NewVersionUploaderDialogComponent implements OnInit {
31
30
  dialogAction: EventEmitter<NewVersionUploaderData>;
32
31
  /** Emitted when an error occurs. */
33
32
  uploadError: EventEmitter<any>;
34
- constructor(data: NewVersionUploaderDialogData, dialogRef: MatDialogRef<NewVersionUploaderDialogComponent>);
35
33
  ngOnInit(): void;
36
34
  private setDialogTitle;
37
35
  handleUpload(newFileVersion: any): void;
@@ -34,7 +34,7 @@
34
34
  padding: 8px 8px 24px 8px;
35
35
  display: flex;
36
36
  justify-content: flex-end;
37
- color: var(--adf-theme-foreground-text-color-054);
37
+ color: var(--adf-theme-foreground-text-color-064);
38
38
  -webkit-font-smoothing: antialiased;
39
39
 
40
40
  button {
@@ -1,17 +1,14 @@
1
- import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
2
- import { AlfrescoApiService } from '../services/alfresco-api.service';
1
+ import { MatDialogConfig } from '@angular/material/dialog';
3
2
  import { VersionsApi } from '@alfresco/js-api';
4
3
  import { NewVersionUploaderData, NewVersionUploaderDialogData } from './models';
5
4
  import { Observable } from 'rxjs';
6
- import { OverlayContainer } from '@angular/cdk/overlay';
7
5
  import * as i0 from "@angular/core";
8
6
  export declare class NewVersionUploaderService {
9
- private apiService;
10
- private dialog;
11
- private overlayContainer;
7
+ private readonly apiService;
8
+ private readonly dialog;
9
+ private readonly overlayContainer;
12
10
  private _versionsApi;
13
11
  get versionsApi(): VersionsApi;
14
- constructor(apiService: AlfrescoApiService, dialog: MatDialog, overlayContainer: OverlayContainer);
15
12
  /**
16
13
  * Open a dialog NewVersionUploaderDialogComponent to display:
17
14
  * - a side by side comparison between the current target node (type, name, icon) and the new file that should update it's version
@@ -17,7 +17,6 @@
17
17
  import { CommentModel, CommentsService } from '@alfresco/adf-core';
18
18
  import { CommentsApi, PeopleApi } from '@alfresco/js-api';
19
19
  import { Observable } from 'rxjs';
20
- import { AlfrescoApiService } from '../../services/alfresco-api.service';
21
20
  import * as i0 from "@angular/core";
22
21
  export declare class NodeCommentsService implements CommentsService {
23
22
  private readonly apiService;
@@ -25,7 +24,6 @@ export declare class NodeCommentsService implements CommentsService {
25
24
  get commentsApi(): CommentsApi;
26
25
  private _peopleApi;
27
26
  get peopleApi(): PeopleApi;
28
- constructor(apiService: AlfrescoApiService);
29
27
  /**
30
28
  * Gets all comments that have been added to a task.
31
29
  *