@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
@@ -1,29 +1,10 @@
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 { ViewContainerRef, TemplateRef } from '@angular/core';
18
- import { VersionCompatibilityService } from './version-compatibility.service';
19
1
  import * as i0 from "@angular/core";
20
2
  export declare class VersionCompatibilityDirective {
21
- private templateRef;
22
- private viewContainer;
23
- private versionCompatibilityService;
3
+ private readonly templateRef;
4
+ private readonly viewContainer;
5
+ private readonly versionCompatibilityService;
24
6
  /** Minimum version required for component to work correctly . */
25
7
  set version(requiredVersion: string);
26
- constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, versionCompatibilityService: VersionCompatibilityService);
27
8
  private validateAcsVersion;
28
9
  static ɵfac: i0.ɵɵFactoryDeclaration<VersionCompatibilityDirective, never>;
29
10
  static ɵdir: i0.ɵɵDirectiveDeclaration<VersionCompatibilityDirective, "[adf-acs-version]", never, { "version": { "alias": "adf-acs-version"; "required": false; }; }, {}, never, never, true, never>;
@@ -1,12 +1,11 @@
1
1
  import { ReplaySubject } from 'rxjs';
2
2
  import { VersionInfo } from '@alfresco/js-api';
3
- import { DiscoveryApiService } from '../common/services/discovery-api.service';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class VersionCompatibilityService {
6
- private discoveryApiService;
5
+ private readonly discoveryApiService;
7
6
  private acsVersion;
8
7
  acsVersionInitialized$: ReplaySubject<void>;
9
- constructor(discoveryApiService: DiscoveryApiService);
8
+ constructor();
10
9
  private initializeAcsVersion;
11
10
  getAcsVersion(): VersionInfo;
12
11
  isVersionSupported(requiredVersion: string): boolean;
@@ -1,12 +1,10 @@
1
- import { AlfrescoApiService } from '../services/alfresco-api.service';
2
1
  import { ContentApi } from '@alfresco/js-api';
3
2
  import { Observable } from 'rxjs';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class ContentVersionService {
6
- private alfrescoApi;
5
+ private readonly alfrescoApi;
7
6
  private _contentApi;
8
7
  get contentApi(): ContentApi;
9
- constructor(alfrescoApi: AlfrescoApiService);
10
8
  /**
11
9
  * Get content URL for the given nodeId and specific version.
12
10
  *
@@ -7,7 +7,6 @@ export declare class VersionComparisonComponent {
7
7
  node: Node;
8
8
  /** New file for updating current version. */
9
9
  newFileVersion: File;
10
- constructor(thumbnailService: ThumbnailService);
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<VersionComparisonComponent, never>;
12
11
  static ɵcmp: i0.ɵɵComponentDeclaration<VersionComparisonComponent, "adf-version-comparison", never, { "node": { "alias": "node"; "required": true; }; "newFileVersion": { "alias": "newFileVersion"; "required": true; }; }, {}, never, never, true, never>;
13
12
  }
@@ -1,24 +1,20 @@
1
- import { AlfrescoApiService } from '../services/alfresco-api.service';
2
1
  import { EventEmitter, OnChanges, OnInit } from '@angular/core';
3
2
  import { ContentApi, ContentPagingQuery, Node, NodeEntry, NodesApi, VersionEntry, VersionsApi } from '@alfresco/js-api';
4
- import { MatDialog } from '@angular/material/dialog';
5
- import { ContentVersionService } from './content-version.service';
6
- import { ContentService } from '../common';
7
3
  import { InfiniteScrollDatasource } from '../infinite-scroll-datasource';
8
4
  import { Observable } from 'rxjs';
9
5
  import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
10
6
  import * as i0 from "@angular/core";
11
7
  export declare class VersionListDataSource extends InfiniteScrollDatasource<VersionEntry> {
12
- private versionsApi;
13
- private node;
8
+ private readonly versionsApi;
9
+ private readonly node;
14
10
  constructor(versionsApi: VersionsApi, node: Node);
15
11
  getNextBatch(pagingOptions: ContentPagingQuery): Observable<VersionEntry[]>;
16
12
  }
17
13
  export declare class VersionListComponent implements OnChanges, OnInit {
18
- private alfrescoApi;
19
- private contentService;
20
- private contentVersionService;
21
- private dialog;
14
+ private readonly alfrescoApi;
15
+ private readonly contentService;
16
+ private readonly contentVersionService;
17
+ private readonly dialog;
22
18
  private _contentApi;
23
19
  get contentApi(): ContentApi;
24
20
  private _versionsApi;
@@ -48,7 +44,6 @@ export declare class VersionListComponent implements OnChanges, OnInit {
48
44
  viewVersion: EventEmitter<string>;
49
45
  viewport: CdkVirtualScrollViewport;
50
46
  private readonly destroyRef;
51
- constructor(alfrescoApi: AlfrescoApiService, contentService: ContentService, contentVersionService: ContentVersionService, dialog: MatDialog);
52
47
  ngOnInit(): void;
53
48
  ngOnChanges(): void;
54
49
  canUpdate(): boolean;
@@ -17,13 +17,11 @@
17
17
  import { EventEmitter, OnInit } from '@angular/core';
18
18
  import { Node } from '@alfresco/js-api';
19
19
  import { VersionListComponent } from './version-list.component';
20
- import { ContentService } from '../common/services/content.service';
21
- import { NodesApiService } from '../common/services/nodes-api.service';
22
20
  import { FileUploadErrorEvent } from '../common/events/file.event';
23
21
  import * as i0 from "@angular/core";
24
22
  export declare class VersionManagerComponent implements OnInit {
25
- private contentService;
26
- private nodesApiService;
23
+ private readonly contentService;
24
+ private readonly nodesApiService;
27
25
  /** Target node to manage version history. */
28
26
  node: Node;
29
27
  /** New file for updating current version. */
@@ -50,7 +48,6 @@ export declare class VersionManagerComponent implements OnInit {
50
48
  viewVersion: EventEmitter<string>;
51
49
  versionListComponent: VersionListComponent;
52
50
  uploadState: string;
53
- constructor(contentService: ContentService, nodesApiService: NodesApiService);
54
51
  ngOnInit(): void;
55
52
  refresh(node: Node): void;
56
53
  onUploadSuccess(event: any): void;
@@ -16,13 +16,11 @@
16
16
  */
17
17
  import { EventEmitter, OnInit } from '@angular/core';
18
18
  import { Node, Version } from '@alfresco/js-api';
19
- import { ContentService } from '../common/services/content.service';
20
- import { UploadService } from '../common/services/upload.service';
21
19
  import { FileUploadErrorEvent, FileUploadEvent } from '../common/events/file.event';
22
20
  import * as i0 from "@angular/core";
23
21
  export declare class VersionUploadComponent implements OnInit {
24
- private contentService;
25
- private uploadService;
22
+ private readonly contentService;
23
+ private readonly uploadService;
26
24
  semanticVersion: string;
27
25
  comment: string;
28
26
  uploadVersion: boolean;
@@ -52,7 +50,6 @@ export declare class VersionUploadComponent implements OnInit {
52
50
  /** Emitted when the upload starts */
53
51
  uploadStarted: EventEmitter<FileUploadEvent>;
54
52
  private readonly destroyRef;
55
- constructor(contentService: ContentService, uploadService: UploadService);
56
53
  ngOnInit(): void;
57
54
  canUpload(): boolean;
58
55
  isMajorVersion(): boolean;
@@ -1,25 +1,5 @@
1
1
  @use '../mat-selectors.scss' as ms;
2
2
 
3
- .adf-new-version-radio-group {
4
- display: inline-flex;
5
- flex-direction: column;
6
- }
7
-
8
- .adf-new-version-radio-button {
9
- margin: 5px;
10
- margin-top: 2px;
11
- margin-left: 5px;
12
- }
13
-
14
- .adf-version-upload-buttons {
15
- padding-top: 18px;
16
- padding-bottom: 5px;
17
- display: flex;
18
- float: right;
19
- justify-content: space-between;
20
- width: 100%;
21
- }
22
-
23
3
  .adf-version-upload {
24
4
  .adf-new-version-max-width {
25
5
  padding-top: 2px;
@@ -39,4 +19,29 @@
39
19
  resize: none;
40
20
  }
41
21
  }
22
+
23
+ .adf-version-type-label {
24
+ margin-bottom: 8px;
25
+ }
26
+
27
+ .adf-new-version-radio-group {
28
+ display: inline-flex;
29
+ flex-direction: column;
30
+ margin-bottom: 10px;
31
+ }
32
+
33
+ .adf-new-version-radio-button {
34
+ margin: 5px;
35
+ margin-top: 2px;
36
+ margin-left: 5px;
37
+ }
38
+
39
+ .adf-version-upload-buttons {
40
+ padding-top: 18px;
41
+ padding-bottom: 5px;
42
+ display: flex;
43
+ float: right;
44
+ justify-content: space-between;
45
+ width: 100%;
46
+ }
42
47
  }
@@ -14,27 +14,21 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
18
- import { CloseButtonPosition, Track, ViewerComponent, ViewerMoreActionsComponent, ViewerOpenWithComponent, ViewerSidebarComponent, ViewerToolbarActionsComponent, ViewerToolbarComponent, ViewUtilService } from '@alfresco/adf-core';
19
- import { AlfrescoApiService } from '../../services/alfresco-api.service';
17
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
18
+ import { CloseButtonPosition, Track, ViewerComponent, ViewerMoreActionsComponent, ViewerOpenWithComponent, ViewerSidebarComponent, ViewerToolbarActionsComponent, ViewerToolbarComponent } from '@alfresco/adf-core';
20
19
  import { ContentApi, Node, NodeEntry, NodesApi, SharedlinksApi, VersionEntry, VersionsApi } from '@alfresco/js-api';
21
- import { RenditionService } from '../../common/services/rendition.service';
22
20
  import { MatDialog } from '@angular/material/dialog';
23
- import { ContentService } from '../../common/services/content.service';
24
- import { NodesApiService } from '../../common/services/nodes-api.service';
25
- import { UploadService } from '../../common/services/upload.service';
26
- import { NodeActionsService } from '../../document-list';
27
21
  import * as i0 from "@angular/core";
28
22
  export declare class AlfrescoViewerComponent implements OnChanges, OnInit {
29
- private apiService;
30
- private nodesApiService;
31
- private renditionService;
32
- private viewUtilService;
33
- private contentService;
34
- private uploadService;
23
+ private readonly apiService;
24
+ private readonly nodesApiService;
25
+ private readonly renditionService;
26
+ private readonly viewUtilService;
27
+ private readonly contentService;
28
+ private readonly uploadService;
35
29
  dialog: MatDialog;
36
- private cdr;
37
- private nodeActionsService;
30
+ private readonly cdr;
31
+ private readonly nodeActionsService;
38
32
  adfViewer: ViewerComponent<{
39
33
  node: Node;
40
34
  }>;
@@ -136,7 +130,7 @@ export declare class AlfrescoViewerComponent implements OnChanges, OnInit {
136
130
  private _contentApi;
137
131
  get contentApi(): ContentApi;
138
132
  private readonly destroyRef;
139
- constructor(apiService: AlfrescoApiService, nodesApiService: NodesApiService, renditionService: RenditionService, viewUtilService: ViewUtilService, contentService: ContentService, uploadService: UploadService, dialog: MatDialog, cdr: ChangeDetectorRef, nodeActionsService: NodeActionsService);
133
+ constructor();
140
134
  ngOnInit(): void;
141
135
  private onNodeUpdated;
142
136
  private getNodeVersionProperty;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alfresco/adf-content-services",
3
3
  "description": "Alfresco ADF content services",
4
- "version": "8.3.0",
4
+ "version": "8.3.1",
5
5
  "author": "Hyland Software, Inc. and its affiliates",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,9 +21,9 @@
21
21
  "@angular/platform-browser": ">=14.1.3",
22
22
  "@angular/platform-browser-dynamic": ">=14.1.3",
23
23
  "@angular/router": ">=14.1.3",
24
- "@alfresco/js-api": ">=9.1.1",
24
+ "@alfresco/js-api": ">=9.3.1",
25
25
  "@ngx-translate/core": ">=16.0.0",
26
- "@alfresco/adf-core": ">=8.2.0"
26
+ "@alfresco/adf-core": ">=8.3.1"
27
27
  },
28
28
  "keywords": [
29
29
  "content-services",
package/public-api.d.ts CHANGED
@@ -35,7 +35,6 @@ export * from './lib/node-comments/index';
35
35
  export * from './lib/new-version-uploader';
36
36
  export * from './lib/interfaces/index';
37
37
  export * from './lib/version-compatibility/index';
38
- export * from './lib/pipes/index';
39
38
  export * from './lib/common/index';
40
39
  export * from './lib/tree/index';
41
40
  export * from './lib/category/index';
@@ -52,4 +51,3 @@ export * from './lib/agent/index';
52
51
  export * from './lib/search-ai/index';
53
52
  export * from './lib/content.module';
54
53
  export * from './lib/material.module';
55
- export * from './lib/testing/content.testing.module';
@@ -1,12 +0,0 @@
1
- import { BreadcrumbComponent } from './breadcrumb.component';
2
- import { DropdownBreadcrumbComponent } from './dropdown-breadcrumb.component';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "./breadcrumb.component";
5
- import * as i2 from "./dropdown-breadcrumb.component";
6
- export declare const BREADCRUMB_DIRECTIVES: readonly [typeof BreadcrumbComponent, typeof DropdownBreadcrumbComponent];
7
- /** @deprecated use `...BREADCRUMB_DIRECTIVES` instead */
8
- export declare class BreadcrumbModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<BreadcrumbModule, never, [typeof i1.BreadcrumbComponent, typeof i2.DropdownBreadcrumbComponent], [typeof i1.BreadcrumbComponent, typeof i2.DropdownBreadcrumbComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<BreadcrumbModule>;
12
- }
@@ -1,18 +0,0 @@
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 { Person } from '@alfresco/js-api';
18
- export declare const fakeEcmUser: Person;
@@ -1,65 +0,0 @@
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 { ChangeDetectorRef, ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
18
- import { NodeEntry } from '@alfresco/js-api';
19
- import { ContentService } from '../common/services/content.service';
20
- import { NodeAllowableOperationSubject } from '../interfaces/node-allowable-operation-subject.interface';
21
- import * as i0 from "@angular/core";
22
- export declare class CheckAllowableOperationDirective implements OnChanges {
23
- private elementRef;
24
- private renderer;
25
- private contentService;
26
- private changeDetector;
27
- private parentComponent?;
28
- /**
29
- * Node permission to check (create, delete, update, updatePermissions,
30
- * !create, !delete, !update, !updatePermissions).
31
- */
32
- permission: string;
33
- /** Nodes to check permission for. */
34
- nodes: NodeEntry[];
35
- constructor(elementRef: ElementRef, renderer: Renderer2, contentService: ContentService, changeDetector: ChangeDetectorRef, parentComponent?: NodeAllowableOperationSubject);
36
- ngOnChanges(changes: SimpleChanges): void;
37
- /**
38
- * Updates disabled state for the decorated element
39
- *
40
- * @returns the new state
41
- */
42
- updateElement(): boolean;
43
- private enable;
44
- private disable;
45
- /**
46
- * Enables decorated element
47
- *
48
- */
49
- enableElement(): void;
50
- /**
51
- * Disables decorated element
52
- *
53
- */
54
- disableElement(): void;
55
- /**
56
- * Checks whether all nodes have a particular permission
57
- *
58
- * @param nodes Node collection to check
59
- * @param permission Permission to check for each node
60
- * @returns `true` if there are allowable operations, otherwise `false`
61
- */
62
- hasAllowableOperations(nodes: NodeEntry[], permission: string): boolean;
63
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckAllowableOperationDirective, [null, null, null, null, { optional: true; host: true; }]>;
64
- static ɵdir: i0.ɵɵDirectiveDeclaration<CheckAllowableOperationDirective, "[adf-check-allowable-operation]", never, { "permission": { "alias": "adf-check-allowable-operation"; "required": false; }; "nodes": { "alias": "adf-nodes"; "required": false; }; }, {}, never, never, true, never>;
65
- }
@@ -1,18 +0,0 @@
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 { InjectionToken } from '@angular/core';
18
- export declare const ADF_DOCUMENT_PARENT_COMPONENT: InjectionToken<unknown>;
@@ -1,26 +0,0 @@
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 { CardViewBaseItemModel, UpdateNotification } from '@alfresco/adf-core';
18
- import { Node } from '@alfresco/js-api';
19
- import { Subject } from 'rxjs';
20
- export interface BaseCardViewContentUpdate {
21
- itemUpdated$: Subject<UpdateNotification>;
22
- updatedAspect$: Subject<Node>;
23
- update(property: CardViewBaseItemModel, newValue: any): any;
24
- updateElement(notification: CardViewBaseItemModel): any;
25
- updateNodeAspect(node: Node): any;
26
- }
@@ -1,19 +0,0 @@
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
- export interface NodeAllowableOperationSubject {
18
- disabled: boolean;
19
- }
@@ -1,20 +0,0 @@
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 { SearchCategory } from '../search/models/search-category.interface';
18
- export declare const mockSearchFilterWithoutDisplayedLabelsByField: SearchCategory;
19
- export declare const mockSearchFilterWithWrongDisplayedLabelsByField: SearchCategory;
20
- export declare const mockSearchFilterWithDisplayedLabelsByField: SearchCategory;
@@ -1,32 +0,0 @@
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
- export declare class FileNode extends NodeEntry {
19
- constructor(name?: string, mimeType?: string, id?: string);
20
- }
21
- export declare class FolderNode extends NodeEntry {
22
- constructor(name?: string);
23
- }
24
- export declare class SmartFolderNode extends NodeEntry {
25
- constructor(name?: string);
26
- }
27
- export declare class RuleFolderNode extends NodeEntry {
28
- constructor(name?: string);
29
- }
30
- export declare class LinkFolderNode extends NodeEntry {
31
- constructor(name?: string);
32
- }