@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
@@ -15,28 +15,24 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { EventEmitter, OnInit } from '@angular/core';
18
- import { DataSorting, HighlightDirective, InfinitePaginationComponent, PaginatedComponent, ShowHeaderMode, UserPreferencesService } from '@alfresco/adf-core';
19
- import { NodesApiService, SitesService, UploadService } from '../../common';
18
+ import { DataSorting, HighlightDirective, InfinitePaginationComponent, PaginatedComponent } from '@alfresco/adf-core';
20
19
  import { UntypedFormControl } from '@angular/forms';
21
20
  import { Node, NodeEntry, NodePaging, Pagination, SearchRequest, SiteEntry, SitePaging } from '@alfresco/js-api';
22
21
  import { DocumentListComponent } from '../../document-list/components/document-list.component';
23
22
  import { RowFilter } from '../../document-list/data/row-filter.model';
24
23
  import { ImageResolver } from '../../document-list/data/image-resolver.model';
25
- import { CustomResourcesService } from '../../document-list/services/custom-resources.service';
26
24
  import { NodeEntryEvent } from '../../document-list/components/node.event';
27
- import { ContentNodeSelectorPanelService } from './content-node-selector-panel.service';
28
- import { SearchQueryBuilderService } from '../../search/services/search-query-builder.service';
29
25
  import * as i0 from "@angular/core";
30
26
  export type ValidationFunction = (entry: Node) => boolean;
31
27
  export declare const defaultValidation: () => boolean;
32
28
  export declare class ContentNodeSelectorPanelComponent implements OnInit {
33
- private customResourcesService;
34
- private queryBuilderService;
35
- private userPreferencesService;
36
- private nodesApiService;
37
- private uploadService;
38
- private sitesService;
39
- private contentNodeSelectorPanelService;
29
+ private readonly customResourcesService;
30
+ private readonly queryBuilderService;
31
+ private readonly userPreferencesService;
32
+ private readonly nodesApiService;
33
+ private readonly uploadService;
34
+ private readonly sitesService;
35
+ private readonly contentNodeSelectorPanelService;
40
36
  DEFAULT_PAGINATION: Pagination;
41
37
  readonly disableActionFolderList: string[];
42
38
  private showSiteList;
@@ -140,7 +136,7 @@ export declare class ContentNodeSelectorPanelComponent implements OnInit {
140
136
  breadcrumbFolderTitle: string | null;
141
137
  startSiteGuid: string | null;
142
138
  hasValidQuery: boolean;
143
- showHeader: ShowHeaderMode;
139
+ showHeader: "never";
144
140
  infinitePaginationComponent: InfinitePaginationComponent;
145
141
  infiniteScroll: boolean;
146
142
  debounceSearch: number;
@@ -151,7 +147,6 @@ export declare class ContentNodeSelectorPanelComponent implements OnInit {
151
147
  sorting: string[] | DataSorting;
152
148
  searchPanelExpanded: boolean;
153
149
  private readonly destroyRef;
154
- constructor(customResourcesService: CustomResourcesService, queryBuilderService: SearchQueryBuilderService, userPreferencesService: UserPreferencesService, nodesApiService: NodesApiService, uploadService: UploadService, sitesService: SitesService, contentNodeSelectorPanelService: ContentNodeSelectorPanelService);
155
150
  set chosenNode(value: Node[]);
156
151
  get chosenNode(): Node[];
157
152
  get emptyList(): boolean;
@@ -36,60 +36,26 @@ h2.adf-search-results-label {
36
36
  }
37
37
 
38
38
  &-document-list-container {
39
- margin-top: 16px;
40
39
  width: 100%;
41
40
  }
42
41
 
43
42
  &-content {
44
- #{ms.$mat-input-element} {
45
- &:focus::placeholder {
46
- color: var(--theme-primary-color);
47
- }
48
- }
49
-
50
- #{ms.$mat-form-field-wrapper} {
51
- #{ms.$mat-form-field-flex} {
52
- align-items: center;
53
-
54
- #{ms.$mat-form-field-infix} {
55
- padding-bottom: 0;
56
- }
57
- }
58
- }
59
-
60
- .adf-sites-dropdown-form-field {
61
- label {
62
- &#{ms.$mat-form-field-label} {
63
- top: 32px;
64
- }
65
- }
66
- }
67
-
68
- #{ms.$mat-form-field-subscript-wrapper} {
69
- height: 16px;
70
- }
71
-
72
- padding-top: 0;
43
+ padding-top: 10px;
73
44
 
74
45
  &-input {
75
46
  width: 100%;
76
- margin-bottom: 8px;
47
+ margin-bottom: 15px;
77
48
 
78
49
  .adf-content-node-selector-content-input-icon {
79
50
  color: var(--adf-theme-foreground-icon-color-054);
80
- cursor: pointer;
81
- padding: 0 0 8px;
82
- width: 1em;
83
- height: 1em;
84
- font-size: 20px;
85
-
86
- &:hover {
87
- color: var(--adf-theme-foreground-base-color);
88
- }
89
51
  }
90
52
 
91
- #{ms.$mat-form-field-subscript-wrapper} {
92
- display: none;
53
+ .adf-content-node-selector-search-clear-button {
54
+ .adf-content-node-selector-content-input-icon {
55
+ &:hover {
56
+ color: var(--adf-theme-foreground-base-color);
57
+ }
58
+ }
93
59
  }
94
60
  }
95
61
 
@@ -98,6 +64,7 @@ h2.adf-search-results-label {
98
64
 
99
65
  .adf-sites-dropdown-form-field {
100
66
  width: 100%;
67
+ margin-bottom: 15px;
101
68
  }
102
69
  }
103
70
  }
@@ -15,23 +15,18 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { OnInit } from '@angular/core';
18
- import { MatDialogRef } from '@angular/material/dialog';
19
- import { NotificationService, TranslationService } from '@alfresco/adf-core';
20
18
  import { Node } from '@alfresco/js-api';
21
- import { ContentService } from '../common/services/content.service';
22
- import { UploadService } from '../common/services/upload.service';
23
19
  import { ContentNodeSelectorComponentData } from './content-node-selector.component-data.interface';
24
20
  import { NodeEntryEvent } from '../document-list/components/node.event';
25
21
  import { NodeAction } from '../document-list/models/node-action.enum';
26
- import { OverlayContainer } from '@angular/cdk/overlay';
27
22
  import * as i0 from "@angular/core";
28
23
  export declare class ContentNodeSelectorComponent implements OnInit {
29
- private translation;
30
- private contentService;
31
- private notificationService;
32
- private uploadService;
33
- private dialog;
34
- private overlayContainer;
24
+ private readonly translation;
25
+ private readonly contentService;
26
+ private readonly notificationService;
27
+ private readonly uploadService;
28
+ private readonly dialog;
29
+ private readonly overlayContainer;
35
30
  data: ContentNodeSelectorComponentData;
36
31
  title: string;
37
32
  action: NodeAction;
@@ -46,7 +41,7 @@ export declare class ContentNodeSelectorComponent implements OnInit {
46
41
  emptyFolderImageUrl: string;
47
42
  breadcrumbFolderNode: Node;
48
43
  private readonly destroyRef;
49
- constructor(translation: TranslationService, contentService: ContentService, notificationService: NotificationService, uploadService: UploadService, dialog: MatDialogRef<ContentNodeSelectorComponent>, overlayContainer: OverlayContainer, data: ContentNodeSelectorComponentData);
44
+ constructor();
50
45
  ngOnInit(): void;
51
46
  close(): void;
52
47
  onSelect(nodeList: Node[]): void;
@@ -3,15 +3,14 @@
3
3
  adf-content-node-selector {
4
4
  .adf-upload-dialog {
5
5
  box-shadow: none;
6
-
7
- &__content {
8
- max-height: 64%;
9
- }
10
-
11
6
  height: 100%;
12
7
  width: 100%;
13
8
  position: unset;
14
9
  bottom: unset;
10
+
11
+ &__content {
12
+ max-height: 64%;
13
+ }
15
14
  }
16
15
 
17
16
  .adf-upload-dialog-container {
@@ -2,7 +2,7 @@
2
2
  display: grid;
3
3
 
4
4
  &-location {
5
- color: var(--adf-theme-foreground-text-color-054);
5
+ color: var(--adf-theme-foreground-text-color-064);
6
6
  font-size: var(--theme-caption-font-size);
7
7
  }
8
8
  }
@@ -15,22 +15,19 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { EventEmitter, OnInit } from '@angular/core';
18
- import { AuthenticationService } from '@alfresco/adf-core';
19
18
  import { SitePaging, SiteEntry } from '@alfresco/js-api';
20
19
  import { MatSelectChange } from '@angular/material/select';
21
- import { LiveAnnouncer } from '@angular/cdk/a11y';
22
- import { TranslateService } from '@ngx-translate/core';
23
- import { SitesService } from '../../common/services/sites.service';
24
20
  import * as i0 from "@angular/core";
25
- export declare enum Relations {
26
- Members = "members",
27
- Containers = "containers"
28
- }
21
+ export declare const Relations: {
22
+ readonly Members: "members";
23
+ readonly Containers: "containers";
24
+ };
25
+ export type Relations = (typeof Relations)[keyof typeof Relations];
29
26
  export declare class DropdownSitesComponent implements OnInit {
30
- private authService;
31
- private sitesService;
32
- private liveAnnouncer;
33
- private translateService;
27
+ private readonly authService;
28
+ private readonly sitesService;
29
+ private readonly liveAnnouncer;
30
+ private readonly translateService;
34
31
  /** Hide the "My Files" option. */
35
32
  hideMyFiles: boolean;
36
33
  /**
@@ -64,7 +61,6 @@ export declare class DropdownSitesComponent implements OnInit {
64
61
  selected: SiteEntry;
65
62
  MY_FILES_VALUE: string;
66
63
  get isLoading(): boolean;
67
- constructor(authService: AuthenticationService, sitesService: SitesService, liveAnnouncer: LiveAnnouncer, translateService: TranslateService);
68
64
  ngOnInit(): void;
69
65
  loadAllOnScroll(): void;
70
66
  selectedSite(event: MatSelectChange): void;
@@ -15,26 +15,22 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { OnInit } from '@angular/core';
18
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
19
18
  import { MatSlideToggleChange } from '@angular/material/slide-toggle';
20
19
  import { FormControl, FormGroup } from '@angular/forms';
21
- import { ContentService } from '../common/services/content.service';
22
- import { SharedLinksApiService } from './services/shared-links-api.service';
23
20
  import { ContentNodeShareSettings } from './content-node-share.settings';
24
- import { RenditionService } from '../common/services/rendition.service';
25
21
  import * as i0 from "@angular/core";
26
22
  interface SharedDialogFormProps {
27
23
  sharedUrl: FormControl<string>;
28
24
  time: FormControl<Date>;
29
25
  }
30
26
  export declare class ShareDialogComponent implements OnInit {
31
- private sharedLinksApiService;
32
- private dialogRef;
33
- private dialog;
34
- private contentService;
35
- private renditionService;
27
+ private readonly sharedLinksApiService;
28
+ private readonly dialogRef;
29
+ private readonly dialog;
30
+ private readonly contentService;
31
+ private readonly renditionService;
36
32
  data: ContentNodeShareSettings;
37
- private minDateValidator;
33
+ private readonly minDateValidator;
38
34
  minDate: Date;
39
35
  sharedId: string;
40
36
  fileName: string;
@@ -45,7 +41,6 @@ export declare class ShareDialogComponent implements OnInit {
45
41
  form: FormGroup<SharedDialogFormProps>;
46
42
  isExpiryDateToggleChecked: boolean;
47
43
  slideToggleExpirationDate: any;
48
- constructor(sharedLinksApiService: SharedLinksApiService, dialogRef: MatDialogRef<ShareDialogComponent>, dialog: MatDialog, contentService: ContentService, renditionService: RenditionService, data: ContentNodeShareSettings);
49
44
  ngOnInit(): void;
50
45
  onTimeChanged(): void;
51
46
  get time(): FormControl<Date>;
@@ -1,11 +1,7 @@
1
- @use '../mat-selectors.scss' as ms;
1
+ @use '@angular/material' as mat;
2
2
 
3
3
  .adf-share-link-dialog {
4
4
  .adf-share-link {
5
- #{ms.$mat-form-field-flex} {
6
- height: 48px;
7
- }
8
-
9
5
  &__dialog-content {
10
6
  display: flex;
11
7
  flex-direction: column;
@@ -34,20 +30,10 @@
34
30
 
35
31
  &__form {
36
32
  padding-top: 8px;
37
-
38
- #{ms.$mat-form-field-infix}:has(.adf-share-link__input) {
39
- border-top: 0.9375em solid transparent;
40
- border-bottom: 0.9375em solid transparent;
41
- height: 16px;
42
- }
43
-
44
- &--field {
45
- padding-bottom: 16px;
46
- }
47
33
  }
48
34
 
49
35
  &__public-content {
50
- color: var(--adf-theme-foreground-text-color-054);
36
+ color: var(--adf-theme-foreground-text-color-064);
51
37
  font-size: var(--theme-caption-font-size);
52
38
  }
53
39
 
@@ -56,6 +42,14 @@
56
42
  font-size: var(--theme-caption-font-size);
57
43
  }
58
44
 
45
+ &__border-color {
46
+ @include mat.form-field-overrides(
47
+ (
48
+ outlined-outline-color: var(--theme-warn-color-a700)
49
+ )
50
+ );
51
+ }
52
+
59
53
  &--row {
60
54
  display: flex;
61
55
  flex-direction: row;
@@ -65,7 +59,7 @@
65
59
  margin: 8px 0;
66
60
 
67
61
  &-sharable {
68
- margin-bottom: 0;
62
+ margin-bottom: 10px;
69
63
  }
70
64
  }
71
65
 
@@ -82,10 +76,6 @@
82
76
  padding-bottom: 0;
83
77
  }
84
78
 
85
- &__input {
86
- color: var(--adf-theme-foreground-text-color-087);
87
- }
88
-
89
79
  &__separation-line {
90
80
  border: 1px solid var(--theme-grey-background-color);
91
81
  margin: 8px -24px;
@@ -96,12 +86,6 @@
96
86
  margin-left: 12px;
97
87
  }
98
88
 
99
- &__icon {
100
- color: var(--adf-theme-foreground-icon-color-054);
101
- padding-bottom: 0;
102
- padding-right: 0;
103
- }
104
-
105
89
  &__para {
106
90
  margin-top: 8px;
107
91
  margin-bottom: 8px;
@@ -111,30 +95,6 @@
111
95
  font-weight: 700;
112
96
  font-size: var(--theme-subheading-2-font-size);
113
97
  }
114
-
115
- &__copy-icon {
116
- padding-top: 18px;
117
- font-size: 22px;
118
- }
119
-
120
- &__calender-icon {
121
- top: 12px;
122
- position: relative;
123
- right: -6px;
124
-
125
- svg {
126
- height: 18px;
127
- width: 18px;
128
- }
129
- }
130
-
131
- &__date-time-container {
132
- padding-bottom: 20px;
133
- }
134
-
135
- &__border-color {
136
- border: 1px solid var(--theme-warn-color-a700);
137
- }
138
98
  }
139
99
 
140
100
  .adf-input-action {
@@ -143,8 +103,6 @@
143
103
 
144
104
  .adf-full-width {
145
105
  width: 100%;
146
- border-radius: 6px;
147
- margin-top: -6px;
148
106
  }
149
107
 
150
108
  .adf-sharable-link {
@@ -14,15 +14,13 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { NgZone, OnChanges } from '@angular/core';
18
- import { MatDialog } from '@angular/material/dialog';
17
+ import { OnChanges } from '@angular/core';
19
18
  import { NodeEntry, NodesApi } from '@alfresco/js-api';
20
- import { AlfrescoApiService } from '../services/alfresco-api.service';
21
19
  import * as i0 from "@angular/core";
22
20
  export declare class NodeSharedDirective implements OnChanges {
23
- private dialog;
24
- private zone;
25
- private alfrescoApiService;
21
+ private readonly dialog;
22
+ private readonly zone;
23
+ private readonly alfrescoApiService;
26
24
  isFile: boolean;
27
25
  isShared: boolean;
28
26
  /** Node to share. */
@@ -32,7 +30,6 @@ export declare class NodeSharedDirective implements OnChanges {
32
30
  _nodesApi: NodesApi;
33
31
  get nodesApi(): NodesApi;
34
32
  private readonly destroyRef;
35
- constructor(dialog: MatDialog, zone: NgZone, alfrescoApiService: AlfrescoApiService);
36
33
  shareNode(nodeEntry: NodeEntry): void;
37
34
  private getNodeInfo;
38
35
  private openShareLinkDialog;
@@ -1,18 +1,15 @@
1
1
  import { NodePaging, SharedLinkBodyCreate, SharedLinkEntry, SharedlinksApi } from '@alfresco/js-api';
2
2
  import { Observable, Subject } from 'rxjs';
3
- import { UserPreferencesService } from '@alfresco/adf-core';
4
- import { AlfrescoApiService } from '../../services/alfresco-api.service';
5
3
  import * as i0 from "@angular/core";
6
4
  export declare class SharedLinksApiService {
7
- private apiService;
8
- private preferences;
5
+ private readonly apiService;
6
+ private readonly preferences;
9
7
  error: Subject<{
10
8
  statusCode: number;
11
9
  message: string;
12
10
  }>;
13
11
  private _sharedLinksApi;
14
12
  get sharedLinksApi(): SharedlinksApi;
15
- constructor(apiService: AlfrescoApiService, preferences: UserPreferencesService);
16
13
  /**
17
14
  * Gets shared links available to the current user.
18
15
  *
@@ -16,14 +16,12 @@
16
16
  */
17
17
  import { TypeEntry } from '@alfresco/js-api';
18
18
  import { OnInit } from '@angular/core';
19
- import { MatDialogRef } from '@angular/material/dialog';
20
19
  import { ContentTypeDialogComponentData } from './content-type-metadata.interface';
21
- import { ContentTypeService } from './content-type.service';
22
20
  import * as i0 from "@angular/core";
23
21
  export declare class ContentTypeDialogComponent implements OnInit {
24
- private dialog;
22
+ private readonly dialog;
25
23
  data: ContentTypeDialogComponentData;
26
- private contentTypeService;
24
+ private readonly contentTypeService;
27
25
  title: string;
28
26
  description: string;
29
27
  nodeType: string;
@@ -31,7 +29,7 @@ export declare class ContentTypeDialogComponent implements OnInit {
31
29
  currentContentType: TypeEntry;
32
30
  typeProperties: any[];
33
31
  propertyColumns: string[];
34
- constructor(dialog: MatDialogRef<ContentTypeDialogComponent>, data: ContentTypeDialogComponentData, contentTypeService: ContentTypeService);
32
+ constructor();
35
33
  ngOnInit(): void;
36
34
  close(): void;
37
35
  onCancel(): void;
@@ -15,14 +15,12 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { TypeEntry, TypesApi } from '@alfresco/js-api';
18
- import { AlfrescoApiService } from '../services/alfresco-api.service';
19
18
  import { Observable } from 'rxjs';
20
19
  import * as i0 from "@angular/core";
21
20
  export declare class ContentTypeService {
22
- private alfrescoApiService;
21
+ private readonly alfrescoApiService;
23
22
  private _typesApi;
24
23
  get typesApi(): TypesApi;
25
- constructor(alfrescoApiService: AlfrescoApiService);
26
24
  getContentTypeByPrefix(prefixedType: string): Observable<TypeEntry>;
27
25
  getContentTypeChildren(nodeType: string): Observable<TypeEntry[]>;
28
26
  static ɵfac: i0.ɵɵFactoryDeclaration<ContentTypeService, never>;