@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
@@ -21,8 +21,7 @@ import { SearchWidgetSettings } from '../../models/search-widget-settings.interf
21
21
  import { SearchQueryBuilderService } from '../../services/search-query-builder.service';
22
22
  import { LiveErrorStateMatcher } from '../../forms/live-error-state-matcher';
23
23
  import { ReplaySubject } from 'rxjs';
24
- import { DatetimeAdapter, MatDatetimepickerInputEvent } from '@mat-datetimepicker/core';
25
- import { DateAdapter } from '@angular/material/core';
24
+ import { MatDatetimepickerInputEvent } from '@mat-datetimepicker/core';
26
25
  import * as i0 from "@angular/core";
27
26
  export interface DatetimeRangeValue {
28
27
  from: string;
@@ -34,8 +33,8 @@ interface FormProps {
34
33
  }
35
34
  export declare const DEFAULT_DATETIME_FORMAT: string;
36
35
  export declare class SearchDatetimeRangeComponent implements SearchWidget, OnInit {
37
- private dateAdapter;
38
- private dateTimeAdapter;
36
+ private readonly dateAdapter;
37
+ private readonly dateTimeAdapter;
39
38
  from: FormControl<Date>;
40
39
  to: FormControl<Date>;
41
40
  form: FormGroup<FormProps>;
@@ -51,7 +50,6 @@ export declare class SearchDatetimeRangeComponent implements SearchWidget, OnIni
51
50
  enableChangeUpdate: boolean;
52
51
  displayValue$: ReplaySubject<string>;
53
52
  private readonly destroyRef;
54
- constructor(dateAdapter: DateAdapter<Date>, dateTimeAdapter: DatetimeAdapter<Date>);
55
53
  getFromValidationMessage(): string;
56
54
  getToValidationMessage(): string;
57
55
  ngOnInit(): void;
@@ -5,9 +5,9 @@ import { FacetWidget } from '../../models/facet-widget.interface';
5
5
  import { Subject } from 'rxjs';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class SearchFacetFieldComponent implements FacetWidget {
8
- private queryBuilder;
9
- private searchFacetFiltersService;
10
- private translationService;
8
+ private readonly queryBuilder;
9
+ private readonly searchFacetFiltersService;
10
+ private readonly translationService;
11
11
  field: FacetField;
12
12
  displayValue$: Subject<string>;
13
13
  get canUpdateOnChange(): boolean;
@@ -18,31 +18,6 @@
18
18
 
19
19
  .adf-facet-result-filter {
20
20
  padding-bottom: 16px;
21
-
22
- .adf-facet-search-container {
23
- border-radius: 6px;
24
- background: var(--theme-background-color);
25
- display: flex;
26
- height: 32px;
27
-
28
- .adf-facet-search-icon {
29
- width: 27px;
30
- margin-top: -3px;
31
-
32
- .adf-search-field-icon {
33
- font-size: var(--theme-subheading-1-font-size);
34
- }
35
- }
36
-
37
- .adf-facet-search-field {
38
- padding: 2px;
39
- flex: 1;
40
- margin-top: -16px;
41
- font-size: var(--theme-body-1-font-size);
42
- line-height: 24px;
43
- letter-spacing: 0.25px;
44
- }
45
- }
46
21
  }
47
22
 
48
23
  .adf-facet-buttons {
@@ -58,6 +33,6 @@
58
33
  }
59
34
 
60
35
  .adf-facet-label {
61
- color: var(--adf-theme-foreground-text-color-054);
36
+ color: var(--adf-theme-foreground-text-color-064);
62
37
  }
63
38
  }
@@ -13,7 +13,7 @@ export declare class SearchFilterComponent {
13
13
  default: boolean;
14
14
  };
15
15
  displayResetButton: boolean;
16
- constructor(queryBuilder: SearchQueryBuilderService, facetFiltersService: SearchFacetFiltersService);
16
+ constructor();
17
17
  shouldExpand(field: FacetField): boolean;
18
18
  getBucketCountDisplay(bucket: FacetFieldBucket): string;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchFilterComponent, never>;
@@ -5,6 +5,6 @@
5
5
  }
6
6
 
7
7
  .adf-search-check-list-label {
8
- color: var(--adf-theme-foreground-text-color-054);
8
+ color: var(--adf-theme-foreground-text-color-064);
9
9
  }
10
10
  }
@@ -20,13 +20,12 @@ import { SearchWidget } from '../../models/search-widget.interface';
20
20
  import { SearchWidgetSettings } from '../../models/search-widget-settings.interface';
21
21
  import { SearchQueryBuilderService } from '../../services/search-query-builder.service';
22
22
  import { SearchFilterList } from '../../models/search-filter-list.model';
23
- import { TagService } from '../../../tag/services/tag.service';
24
- import { CategoryService } from '../../../category/services/category.service';
25
23
  import { AutocompleteOption } from '../../models/autocomplete-option.interface';
26
24
  import * as i0 from "@angular/core";
27
25
  export declare class SearchFilterAutocompleteChipsComponent implements SearchWidget, OnInit {
28
- private tagService;
29
- private categoryService;
26
+ private readonly tagService;
27
+ private readonly categoryService;
28
+ private readonly sitesService;
30
29
  id: string;
31
30
  settings?: SearchWidgetSettings;
32
31
  context?: SearchQueryBuilderService;
@@ -35,12 +34,12 @@ export declare class SearchFilterAutocompleteChipsComponent implements SearchWid
35
34
  displayValue$: ReplaySubject<string>;
36
35
  selectedOptions: AutocompleteOption[];
37
36
  enableChangeUpdate: boolean;
38
- private resetSubject$;
37
+ private readonly resetSubject$;
39
38
  reset$: Observable<void>;
40
- private autocompleteOptionsSubject$;
39
+ private readonly autocompleteOptionsSubject$;
41
40
  autocompleteOptions$: Observable<AutocompleteOption[]>;
42
41
  private readonly destroyRef;
43
- constructor(tagService: TagService, categoryService: CategoryService);
42
+ constructor();
44
43
  ngOnInit(): void;
45
44
  reset(updateContext?: boolean): void;
46
45
  submitValues(): void;
@@ -53,6 +52,7 @@ export declare class SearchFilterAutocompleteChipsComponent implements SearchWid
53
52
  private updateQuery;
54
53
  private setOptions;
55
54
  private searchForExistingCategories;
55
+ private populateSitesOptions;
56
56
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchFilterAutocompleteChipsComponent, never>;
57
57
  static ɵcmp: i0.ɵɵComponentDeclaration<SearchFilterAutocompleteChipsComponent, "adf-search-filter-autocomplete-chips", never, {}, {}, never, never, true, never>;
58
58
  }
@@ -15,20 +15,19 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { ElementRef } from '@angular/core';
18
- import { ConfigurableFocusTrap, ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
18
+ import { ConfigurableFocusTrap } from '@angular/cdk/a11y';
19
19
  import { FacetField } from '../../../models/facet-field.interface';
20
20
  import { MatMenuTrigger } from '@angular/material/menu';
21
21
  import { SearchFacetFieldComponent } from '../../search-facet-field/search-facet-field.component';
22
22
  import * as i0 from "@angular/core";
23
23
  export declare class SearchFacetChipComponent {
24
- private focusTrapFactory;
24
+ private readonly focusTrapFactory;
25
25
  field: FacetField;
26
26
  menuContainer: ElementRef;
27
27
  menuTrigger: MatMenuTrigger;
28
28
  facetFieldComponent: SearchFacetFieldComponent;
29
29
  focusTrap: ConfigurableFocusTrap;
30
30
  chipIcon: string;
31
- constructor(focusTrapFactory: ConfigurableFocusTrapFactory);
32
31
  onMenuOpen(): void;
33
32
  onClosed(): void;
34
33
  onRemove(): void;
@@ -14,26 +14,25 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
18
- import { ConfigurableFocusTrap, ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
17
+ import { ElementRef } from '@angular/core';
18
+ import { ConfigurableFocusTrap } from '@angular/cdk/a11y';
19
19
  import { MatMenuTrigger } from '@angular/material/menu';
20
20
  import { TabbedFacetField } from '../../../models/tabbed-facet-field.interface';
21
21
  import * as i0 from "@angular/core";
22
22
  export declare class SearchFacetChipTabbedComponent {
23
- private focusTrapFactory;
24
- private changeDetectorRef;
23
+ private readonly focusTrapFactory;
24
+ private readonly changeDetectorRef;
25
25
  tabbedFacet: TabbedFacetField;
26
26
  menuContainer: ElementRef;
27
27
  menuTrigger: MatMenuTrigger;
28
- private resetSubject$;
29
- private applySubject$;
28
+ private readonly resetSubject$;
29
+ private readonly applySubject$;
30
30
  displayValue: string;
31
31
  reset$: import("rxjs").Observable<void>;
32
32
  apply$: import("rxjs").Observable<void>;
33
33
  focusTrap: ConfigurableFocusTrap;
34
34
  chipIcon: string;
35
35
  isPopulated: boolean;
36
- constructor(focusTrapFactory: ConfigurableFocusTrapFactory, changeDetectorRef: ChangeDetectorRef);
37
36
  onMenuOpen(): void;
38
37
  onClosed(): void;
39
38
  onRemove(): void;
@@ -21,15 +21,15 @@ import { AutocompleteOption } from '../../../models/autocomplete-option.interfac
21
21
  import { TabbedFacetField } from '../../../models/tabbed-facet-field.interface';
22
22
  import * as i0 from "@angular/core";
23
23
  export declare class SearchFacetTabbedContentComponent implements OnInit, OnChanges, FacetWidget {
24
- private queryBuilder;
25
- private translationService;
26
- private searchFacetFiltersService;
24
+ private readonly queryBuilder;
25
+ private readonly translationService;
26
+ private readonly searchFacetFiltersService;
27
27
  tabbedFacet: TabbedFacetField;
28
28
  onReset$: Observable<void>;
29
29
  onApply$: Observable<void>;
30
30
  isPopulated: EventEmitter<boolean>;
31
31
  displayValue$: EventEmitter<string>;
32
- private resetSubject$;
32
+ private readonly resetSubject$;
33
33
  reset$: Observable<void>;
34
34
  chipIcon: string;
35
35
  autocompleteOptions: {};
@@ -18,8 +18,8 @@ import { OnInit } from '@angular/core';
18
18
  import { FacetField, SearchCategory, TabbedFacetField } from '../../models';
19
19
  import * as i0 from "@angular/core";
20
20
  export declare class SearchFilterChipsComponent implements OnInit {
21
- private queryBuilder;
22
- private facetFiltersService;
21
+ private readonly queryBuilder;
22
+ private readonly facetFiltersService;
23
23
  private readonly destroyRef;
24
24
  /** Toggles whether to show or not the context facet filters. */
25
25
  showContextFacets: boolean;
@@ -44,10 +44,6 @@
44
44
  min-width: 320px;
45
45
  border-radius: 12px;
46
46
 
47
- &:has(.adf-search-properties-file-size-operator) {
48
- min-width: 365px;
49
- }
50
-
51
47
  @include mat.elevation(2);
52
48
  }
53
49
  }
@@ -5,7 +5,7 @@
5
5
  .adf-search-filter-title {
6
6
  display: flex;
7
7
  justify-content: space-between;
8
- color: var(--adf-theme-foreground-text-color-054);
8
+ color: var(--adf-theme-foreground-text-color-064);
9
9
  align-items: center;
10
10
  padding: 16px 12px;
11
11
  height: 32px;
@@ -14,9 +14,9 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
17
+ import { AfterViewInit, ElementRef } from '@angular/core';
18
18
  import { SearchCategory } from '../../../models/search-category.interface';
19
- import { ConfigurableFocusTrap, ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
19
+ import { ConfigurableFocusTrap } from '@angular/cdk/a11y';
20
20
  import { MatMenuTrigger } from '@angular/material/menu';
21
21
  import { SearchWidgetContainerComponent } from '../../search-widget-container/search-widget-container.component';
22
22
  import * as i0 from "@angular/core";
@@ -25,11 +25,11 @@ export declare class SearchWidgetChipComponent implements AfterViewInit {
25
25
  private readonly focusTrapFactory;
26
26
  category: SearchCategory;
27
27
  menuContainer: ElementRef;
28
+ menuTriggerEl: ElementRef;
28
29
  menuTrigger: MatMenuTrigger;
29
30
  widgetContainerComponent: SearchWidgetContainerComponent;
30
31
  focusTrap: ConfigurableFocusTrap;
31
32
  chipIcon: string;
32
- constructor(cd: ChangeDetectorRef, focusTrapFactory: ConfigurableFocusTrapFactory);
33
33
  ngAfterViewInit(): void;
34
34
  onMenuOpen(): void;
35
35
  onClosed(): void;
@@ -15,17 +15,18 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { ElementRef, EventEmitter, OnInit } from '@angular/core';
18
- import { ConfigurableFocusTrap, ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
19
- import { DataColumn, TranslationService } from '@alfresco/adf-core';
18
+ import { ConfigurableFocusTrap } from '@angular/cdk/a11y';
19
+ import { DataColumn } from '@alfresco/adf-core';
20
20
  import { SearchWidgetContainerComponent } from '../search-widget-container/search-widget-container.component';
21
- import { SearchHeaderQueryBuilderService } from '../../services/search-header-query-builder.service';
22
21
  import { SearchCategory } from '../../models/search-category.interface';
23
22
  import { MatMenuTrigger } from '@angular/material/menu';
24
23
  import * as i0 from "@angular/core";
25
24
  export declare class SearchFilterContainerComponent implements OnInit {
26
- private searchFilterQueryBuilder;
27
- private translationService;
28
- private focusTrapFactory;
25
+ private readonly searchFilterQueryBuilder;
26
+ private readonly translationService;
27
+ private readonly focusTrapFactory;
28
+ private readonly matIconRegistry;
29
+ private readonly sanitizer;
29
30
  /** The column the filter will be applied on. */
30
31
  col: DataColumn;
31
32
  /** The column the filter will be applied on. */
@@ -37,7 +38,6 @@ export declare class SearchFilterContainerComponent implements OnInit {
37
38
  category: SearchCategory;
38
39
  focusTrap: ConfigurableFocusTrap;
39
40
  initialValue: any;
40
- constructor(searchFilterQueryBuilder: SearchHeaderQueryBuilderService, translationService: TranslationService, focusTrapFactory: ConfigurableFocusTrapFactory);
41
41
  ngOnInit(): void;
42
42
  onKeyPressed(event: KeyboardEvent, menuTrigger: MatMenuTrigger): void;
43
43
  onApply(): void;
@@ -47,6 +47,7 @@ export declare class SearchFilterContainerComponent implements OnInit {
47
47
  isActive(): boolean;
48
48
  onMenuOpen(): void;
49
49
  onClosed(): void;
50
+ private registerFilterIcon;
50
51
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchFilterContainerComponent, never>;
51
52
  static ɵcmp: i0.ɵɵComponentDeclaration<SearchFilterContainerComponent, "adf-search-filter-container", never, { "col": { "alias": "col"; "required": true; }; "value": { "alias": "value"; "required": false; }; }, { "filterChange": "filterChange"; }, never, never, true, never>;
52
53
  }
@@ -4,22 +4,14 @@
4
4
  .adf-filter {
5
5
  &-button:has(.adf-filter-icon) {
6
6
  margin-left: -7px;
7
+ }
7
8
 
8
- .adf-icon {
9
- opacity: 1;
10
- color: var(--adf-theme-foreground-icon-color);
11
-
12
- &.adf-icon-active {
13
- color: var(--theme-primary-color);
9
+ &-icon {
10
+ opacity: 1;
11
+ color: var(--adf-theme-foreground-icon-color);
14
12
 
15
- span {
16
- border: 2px solid var(--adf-theme-background-card-color);
17
- width: 10px;
18
- height: 10px;
19
- top: -3px;
20
- right: -6px;
21
- }
22
- }
13
+ &-active {
14
+ color: var(--theme-primary-color);
23
15
  }
24
16
  }
25
17
 
@@ -19,7 +19,6 @@ import * as i0 from "@angular/core";
19
19
  export declare class SearchFilterTabDirective {
20
20
  readonly templateRef: TemplateRef<any>;
21
21
  name: string;
22
- constructor(templateRef: TemplateRef<any>);
23
22
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchFilterTabDirective, never>;
24
23
  static ɵdir: i0.ɵɵDirectiveDeclaration<SearchFilterTabDirective, "[adf-search-filter-tab]", never, { "name": { "alias": "adf-search-filter-tab"; "required": false; }; }, {}, never, never, true, never>;
25
24
  }
@@ -14,7 +14,7 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
17
+ import { OnDestroy, OnInit, QueryList } from '@angular/core';
18
18
  import { SearchFilterTabDirective } from './search-filter-tab.directive';
19
19
  import * as i0 from "@angular/core";
20
20
  export declare class SearchFilterTabbedComponent implements OnInit, OnDestroy {
@@ -24,7 +24,6 @@ export declare class SearchFilterTabbedComponent implements OnInit, OnDestroy {
24
24
  selectedIndex: number;
25
25
  private readonly tabGroup;
26
26
  private readonly intersectionObserver;
27
- constructor(element: ElementRef, changeDetector: ChangeDetectorRef);
28
27
  ngOnInit(): void;
29
28
  ngOnDestroy(): void;
30
29
  onTabIndexChanged(index: number): void;
@@ -18,7 +18,7 @@ import { EventEmitter } from '@angular/core';
18
18
  import { SearchForm } from '../../models/search-form.interface';
19
19
  import * as i0 from "@angular/core";
20
20
  export declare class SearchFormComponent {
21
- private queryBuilder;
21
+ private readonly queryBuilder;
22
22
  searchForms$: import("rxjs").ReplaySubject<SearchForm[]>;
23
23
  /** Emitted when the form change */
24
24
  formChange: EventEmitter<SearchForm>;
@@ -1,30 +1,12 @@
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 { AppConfigService } from '@alfresco/adf-core';
18
1
  import { EventEmitter, OnInit } from '@angular/core';
19
2
  import * as i0 from "@angular/core";
20
3
  export declare class SearchInputComponent implements OnInit {
21
- private appConfig;
4
+ private readonly appConfig;
22
5
  value: string;
23
6
  label: string;
24
7
  placeholder: string;
25
8
  fields: string[];
26
9
  changed: EventEmitter<string>;
27
- constructor(appConfig: AppConfigService);
28
10
  ngOnInit(): void;
29
11
  onSearchInputChanged(event: Event): void;
30
12
  private formatSearchQuery;
@@ -19,31 +19,35 @@ import { SearchWidget } from '../../models/search-widget.interface';
19
19
  import { SearchWidgetSettings } from '../../models/search-widget-settings.interface';
20
20
  import { SearchQueryBuilderService } from '../../services/search-query-builder.service';
21
21
  import { ReplaySubject } from 'rxjs';
22
- import { TranslationService } from '@alfresco/adf-core';
23
22
  import * as i0 from "@angular/core";
24
- export declare enum LogicalSearchFields {
25
- MATCH_ALL = "matchAll",
26
- MATCH_ANY = "matchAny",
27
- EXCLUDE = "exclude",
28
- MATCH_EXACT = "matchExact"
29
- }
23
+ export declare const LogicalSearchFields: {
24
+ readonly MATCH_ALL: "matchAll";
25
+ readonly MATCH_ANY: "matchAny";
26
+ readonly EXCLUDE: "exclude";
27
+ readonly MATCH_EXACT: "matchExact";
28
+ };
29
+ export type LogicalSearchFields = (typeof LogicalSearchFields)[keyof typeof LogicalSearchFields];
30
30
  export type LogicalSearchConditionEnumValuedKeys = {
31
31
  [T in LogicalSearchFields]: string;
32
32
  };
33
33
  export interface LogicalSearchCondition extends LogicalSearchConditionEnumValuedKeys {
34
34
  }
35
35
  export declare class SearchLogicalFilterComponent implements SearchWidget, OnInit {
36
- private translationService;
36
+ private readonly translationService;
37
37
  id: string;
38
38
  settings?: SearchWidgetSettings;
39
39
  context?: SearchQueryBuilderService;
40
40
  startValue: string;
41
41
  searchCondition: LogicalSearchCondition;
42
42
  fields: string[];
43
- LogicalSearchFields: typeof LogicalSearchFields;
43
+ LogicalSearchFields: {
44
+ readonly MATCH_ALL: "matchAll";
45
+ readonly MATCH_ANY: "matchAny";
46
+ readonly EXCLUDE: "exclude";
47
+ readonly MATCH_EXACT: "matchExact";
48
+ };
44
49
  displayValue$: ReplaySubject<string>;
45
50
  private readonly destroyRef;
46
- constructor(translationService: TranslationService);
47
51
  ngOnInit(): void;
48
52
  submitValues(updateContext?: boolean): void;
49
53
  hasValidValue(): boolean;
@@ -15,13 +15,10 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { OnInit } from '@angular/core';
18
- import { ContentNodeSelectorPanelService } from '../../../content-node-selector/content-node-selector-panel/content-node-selector-panel.service';
19
- import { SearchQueryBuilderService } from '../../services/search-query-builder.service';
20
18
  import * as i0 from "@angular/core";
21
19
  export declare class SearchPanelComponent implements OnInit {
22
- private contentNodeSelectorPanelService;
23
- private queryBuilderService;
24
- constructor(contentNodeSelectorPanelService: ContentNodeSelectorPanelService, queryBuilderService: SearchQueryBuilderService);
20
+ private readonly contentNodeSelectorPanelService;
21
+ private readonly queryBuilderService;
25
22
  ngOnInit(): void;
26
23
  hasCustomModels(): boolean;
27
24
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchPanelComponent, never>;
@@ -14,8 +14,9 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- export declare enum FileSizeOperator {
18
- AT_LEAST = "SEARCH.SEARCH_PROPERTIES.FILE_SIZE_OPERATOR.AT_LEAST",
19
- AT_MOST = "SEARCH.SEARCH_PROPERTIES.FILE_SIZE_OPERATOR.AT_MOST",
20
- EXACTLY = "SEARCH.SEARCH_PROPERTIES.FILE_SIZE_OPERATOR.EXACTLY"
21
- }
17
+ export declare const FileSizeOperator: {
18
+ readonly AT_LEAST: "SEARCH.SEARCH_PROPERTIES.FILE_SIZE_OPERATOR.AT_LEAST";
19
+ readonly AT_MOST: "SEARCH.SEARCH_PROPERTIES.FILE_SIZE_OPERATOR.AT_MOST";
20
+ readonly EXACTLY: "SEARCH.SEARCH_PROPERTIES.FILE_SIZE_OPERATOR.EXACTLY";
21
+ };
22
+ export type FileSizeOperator = (typeof FileSizeOperator)[keyof typeof FileSizeOperator];
@@ -15,19 +15,16 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { AfterViewChecked, ElementRef, OnInit } from '@angular/core';
18
- import { FormBuilder } from '@angular/forms';
19
18
  import { FileSizeUnit } from './file-size-unit.enum';
20
19
  import { ReplaySubject, Subject } from 'rxjs';
21
20
  import { SearchWidgetSettings } from '../../models/search-widget-settings.interface';
22
21
  import { SearchQueryBuilderService } from '../../services/search-query-builder.service';
23
22
  import { SearchProperties } from './search-properties';
24
- import { TranslateService } from '@ngx-translate/core';
25
23
  import { SearchWidget } from '../../models/search-widget.interface';
26
24
  import { AutocompleteOption } from '../../models/autocomplete-option.interface';
27
25
  import * as i0 from "@angular/core";
28
26
  export declare class SearchPropertiesComponent implements OnInit, AfterViewChecked, SearchWidget {
29
- private formBuilder;
30
- private translateService;
27
+ private readonly translateService;
31
28
  id: string;
32
29
  settings?: SearchWidgetSettings;
33
30
  context?: SearchQueryBuilderService;
@@ -35,13 +32,14 @@ export declare class SearchPropertiesComponent implements OnInit, AfterViewCheck
35
32
  displayValue$: ReplaySubject<string>;
36
33
  autocompleteOptions: AutocompleteOption[];
37
34
  preselectedOptions: AutocompleteOption[];
38
- private _form;
39
- private _fileSizeOperators;
40
- private _fileSizeUnits;
41
- private canvas;
35
+ private readonly formBuilder;
36
+ private readonly _form;
37
+ private readonly _fileSizeOperators;
38
+ private readonly _fileSizeUnits;
39
+ private readonly canvas;
42
40
  private _fileSizeOperatorsMaxWidth;
43
41
  private _selectedExtensions;
44
- private _reset$;
42
+ private readonly _reset$;
45
43
  private sizeField;
46
44
  private nameField;
47
45
  fileSizeOperatorSelectElement: ElementRef;
@@ -53,7 +51,6 @@ export declare class SearchPropertiesComponent implements OnInit, AfterViewCheck
53
51
  get selectedExtensions(): AutocompleteOption[];
54
52
  set selectedExtensions(extensions: AutocompleteOption[]);
55
53
  private readonly destroyRef;
56
- constructor(formBuilder: FormBuilder, translateService: TranslateService);
57
54
  ngOnInit(): void;
58
55
  ngAfterViewChecked(): void;
59
56
  narrowDownAllowedCharacters(event: Event): void;