@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
@@ -3,133 +3,54 @@
3
3
 
4
4
  adf-search-properties {
5
5
  .adf-search-properties-form {
6
- .adf-search-properties-file-size-container {
7
- .adf-search-properties-file-size-label {
8
- margin-top: 4px;
9
- display: block;
10
- }
6
+ fieldset {
7
+ padding: 0;
8
+ margin: 0;
9
+ border: none;
10
+ }
11
11
 
12
- #{ms.$mat-text-field-no-label} {
13
- #{ms.$mat-form-field-infix} {
14
- padding-top: 9px;
15
- padding-bottom: 9px;
16
- display: inline-block;
17
- }
18
- }
12
+ .adf-search-properties-file-size-label {
13
+ margin-top: 4px;
14
+ margin-bottom: 10px;
15
+ display: block;
16
+ }
17
+
18
+ .adf-search-properties-file-type-label {
19
+ margin-top: 10px;
20
+ margin-bottom: 6px;
21
+ }
22
+
23
+ .adf-search-properties-file-size-container {
24
+ width: 370px;
25
+ display: flex;
19
26
 
20
27
  #{ms.$mat-form-field-infix} {
21
28
  height: 37.5px;
22
29
  min-height: 37.5px;
23
- display: inline-block;
24
- }
25
-
26
- #{ms.$mat-select-trigger} {
27
- height: 17.5px;
28
- }
29
-
30
- #{ms.$mat-select-arrow-wrapper} {
31
- width: 16px;
30
+ padding-top: 9px;
32
31
  }
33
32
 
34
- #{ms.$mat-line-ripple} {
35
- &::before {
36
- display: none;
37
- }
38
- }
39
-
40
- #{ms.$mat-select-arrow} {
41
- margin-left: 5px;
42
- }
43
-
44
- #{ms.$mat-form-field} {
45
- margin-bottom: 18px;
46
- }
47
- }
48
-
49
- adf-search-chip-autocomplete-input {
50
- display: block;
51
-
52
33
  #{ms.$mat-text-field-outlined} {
53
- &-start,
54
- &-end {
55
- border-top: 1px solid var(--adf-theme-mat-grey-color-a400);
56
- border-bottom: 1px solid var(--adf-theme-mat-grey-color-a400);
57
- }
34
+ padding: 0 9px;
35
+ }
58
36
 
59
- &-start {
60
- border-left: 1px solid var(--adf-theme-mat-grey-color-a400);
61
- }
37
+ .adf-search-properties-form-field {
38
+ width: 100%;
39
+ display: block;
40
+ flex: 1;
62
41
 
63
- &-end {
64
- border-right: 1px solid var(--adf-theme-mat-grey-color-a400);
42
+ &:nth-child(1) {
43
+ min-width: 115px;
65
44
  }
66
- }
67
45
 
68
- #{ms.$mat-focused} {
69
- #{ms.$mat-text-field-outlined} {
70
- outline: 2px auto -webkit-focus-ring-color;
46
+ &:nth-child(2) {
47
+ margin: 0 8px;
71
48
  }
72
- }
73
49
 
74
- #{ms.$mat-form-field-appearance-outline} {
75
- #{ms.$mat-text-field-outlined-thick} {
76
- #{ms.$mat-text-field-outlined} {
77
- &-start,
78
- &-end {
79
- border-width: 1px;
80
- }
81
- }
50
+ &:nth-child(3) {
51
+ max-width: 90px;
82
52
  }
83
53
  }
84
-
85
- #{ms.$mat-notched-outline-leading} {
86
- border-color: var(--adf-theme-foreground-text-color-027);
87
- }
88
-
89
- #{ms.$mat-notched-outline-trailing} {
90
- border-color: var(--adf-theme-foreground-text-color-027);
91
- }
92
54
  }
93
55
  }
94
-
95
- input,
96
- .mat-form-field-infix.mat-form-field-infix {
97
- height: 25px;
98
- border: 1px solid var(--adf-theme-mat-grey-color-a400);
99
- border-radius: 5px;
100
- margin-top: 5px;
101
- padding: 5px;
102
- font-size: 14px;
103
- color: var(--adf-theme-foreground-text-color);
104
- margin-left: 8px;
105
- margin-right: 8px;
106
- }
107
-
108
- .adf-search-properties-file-size-operator,
109
- .adf-search-properties-file-size-unit {
110
- #{ms.$mat-form-field-infix} {
111
- border: 1px solid var(--adf-theme-mat-grey-color-a400);
112
- border-radius: 5px;
113
- padding: 9px;
114
- }
115
-
116
- &#{ms.$mat-focused} {
117
- #{ms.$mat-form-field-infix} {
118
- outline: 2px auto -webkit-focus-ring-color;
119
- }
120
- }
121
- }
122
-
123
- .adf-search-properties-file-size-unit {
124
- width: 78px;
125
- }
126
-
127
- .adf-search-properties-file-type-label {
128
- margin-top: 10px;
129
- margin-bottom: 6px;
130
- }
131
- }
132
-
133
- .adf-search-filter-chip-menu-panel-properties {
134
- max-width: unset;
135
56
  }
@@ -3,6 +3,7 @@
3
3
 
4
4
  .adf-search-text-form-field {
5
5
  width: 100%;
6
+ margin-top: 10px;
6
7
 
7
8
  &-clear-button {
8
9
  min-width: unset;
@@ -14,13 +14,12 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { ViewContainerRef, OnInit, OnDestroy, ComponentRef, SimpleChanges, OnChanges, Injector } from '@angular/core';
18
- import { SearchFilterService } from '../../services/search-filter.service';
17
+ import { ViewContainerRef, OnInit, OnDestroy, ComponentRef, SimpleChanges, OnChanges } from '@angular/core';
19
18
  import { Observable } from 'rxjs';
20
19
  import * as i0 from "@angular/core";
21
20
  export declare class SearchWidgetContainerComponent implements OnInit, OnDestroy, OnChanges {
22
- private searchFilterService;
23
- private injector;
21
+ private readonly searchFilterService;
22
+ private readonly injector;
24
23
  content: ViewContainerRef;
25
24
  id: string;
26
25
  selector: string;
@@ -29,7 +28,6 @@ export declare class SearchWidgetContainerComponent implements OnInit, OnDestroy
29
28
  value: any;
30
29
  useHeaderQueryBuilder: boolean;
31
30
  componentRef: ComponentRef<any>;
32
- constructor(searchFilterService: SearchFilterService, injector: Injector);
33
31
  ngOnInit(): void;
34
32
  ngOnChanges(changes: SimpleChanges): void;
35
33
  private setupWidget;
@@ -1,28 +1,11 @@
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 { SearchService } from '../services/search.service';
18
1
  import { AfterContentInit, ElementRef, EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
19
2
  import { NodePaging, ResultSetPaging } from '@alfresco/js-api';
20
3
  import { Subject } from 'rxjs';
21
4
  import { SearchComponentInterface } from '@alfresco/adf-core';
22
5
  import * as i0 from "@angular/core";
23
6
  export declare class SearchComponent implements SearchComponentInterface, AfterContentInit, OnChanges {
24
- private searchService;
25
- private _elementRef;
7
+ private readonly searchService;
8
+ private readonly _elementRef;
26
9
  panel: ElementRef;
27
10
  template: TemplateRef<any>;
28
11
  /** Function that maps an option's value to its display value in the trigger. */
@@ -51,7 +34,7 @@ export declare class SearchComponent implements SearchComponentInterface, AfterC
51
34
  _classList: {
52
35
  [key: string]: boolean;
53
36
  };
54
- constructor(searchService: SearchService, _elementRef: ElementRef);
37
+ constructor();
55
38
  ngAfterContentInit(): void;
56
39
  ngOnChanges(changes: SimpleChanges): void;
57
40
  resetResults(): void;
@@ -20,7 +20,9 @@ export interface AutocompleteOption {
20
20
  fullPath?: string;
21
21
  query?: string;
22
22
  }
23
- export declare enum AutocompleteField {
24
- TAG = "TAG",
25
- CATEGORIES = "cm:categories"
26
- }
23
+ export declare const AutocompleteField: {
24
+ readonly TAG: "TAG";
25
+ readonly CATEGORIES: "cm:categories";
26
+ readonly LOCATION: "SITE";
27
+ };
28
+ export type AutocompleteField = (typeof AutocompleteField)[keyof typeof AutocompleteField];
@@ -38,11 +38,13 @@ export interface FacetFieldSettings {
38
38
  bucketSortBy?: FacetBucketSortBy;
39
39
  bucketSortDirection?: FacetBucketSortDirection;
40
40
  }
41
- export declare enum FacetBucketSortBy {
42
- LABEL = "LABEL",
43
- COUNT = "COUNT"
44
- }
45
- export declare enum FacetBucketSortDirection {
46
- ASCENDING = "ASCENDING",
47
- DESCENDING = "DESCENDING"
48
- }
41
+ export declare const FacetBucketSortBy: {
42
+ readonly LABEL: "LABEL";
43
+ readonly COUNT: "COUNT";
44
+ };
45
+ export type FacetBucketSortBy = (typeof FacetBucketSortBy)[keyof typeof FacetBucketSortBy];
46
+ export declare const FacetBucketSortDirection: {
47
+ readonly ASCENDING: "ASCENDING";
48
+ readonly DESCENDING: "DESCENDING";
49
+ };
50
+ export type FacetBucketSortDirection = (typeof FacetBucketSortDirection)[keyof typeof FacetBucketSortDirection];
@@ -21,6 +21,7 @@ import { SearchCategory } from './search-category.interface';
21
21
  import { SearchSortingDefinition } from './search-sorting-definition.interface';
22
22
  import { RequestHighlight } from '@alfresco/js-api';
23
23
  export interface SearchConfiguration {
24
+ id: string;
24
25
  include?: string[];
25
26
  fields?: string[];
26
27
  categories?: SearchCategory[];
@@ -15,6 +15,7 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  export interface SearchForm {
18
+ id: string;
18
19
  index: number;
19
20
  name: string;
20
21
  default: boolean;
@@ -13,7 +13,6 @@ import { SearchSliderComponent } from './components/search-slider/search-slider.
13
13
  import { SearchNumberRangeComponent } from './components/search-number-range/search-number-range.component';
14
14
  import { SearchPanelComponent } from './components/search-panel/search-panel.component';
15
15
  import { SearchCheckListComponent } from './components/search-check-list/search-check-list.component';
16
- import { SearchSortingPickerComponent } from './components/search-sorting-picker/search-sorting-picker.component';
17
16
  import { SearchFilterContainerComponent } from './components/search-filter-container/search-filter-container.component';
18
17
  import { SearchDatetimeRangeComponent } from './components/search-datetime-range/search-datetime-range.component';
19
18
  import { SearchFormComponent } from './components/search-form/search-form.component';
@@ -51,24 +50,23 @@ import * as i16 from "./components/search-filter-chips/search-facet-chip-tabbed/
51
50
  import * as i17 from "./components/search-filter-tabbed/search-filter-tabbed.component";
52
51
  import * as i18 from "./components/search-filter-tabbed/search-filter-tab.directive";
53
52
  import * as i19 from "./components/search-date-range-tabbed/search-date-range-tabbed.component";
54
- import * as i20 from "./components/search-sorting-picker/search-sorting-picker.component";
55
- import * as i21 from "./components/search-slider/search-slider.component";
56
- import * as i22 from "./components/search-number-range/search-number-range.component";
57
- import * as i23 from "./components/search-panel/search-panel.component";
58
- import * as i24 from "./components/search-radio/search-radio.component";
59
- import * as i25 from "./components/search-filter-container/search-filter-container.component";
60
- import * as i26 from "./components/search-form/search-form.component";
61
- import * as i27 from "./components/search-filter-chips/search-filter-chips.component";
62
- import * as i28 from "./components/search-filter-chips/search-widget-chip/search-widget-chip.component";
63
- import * as i29 from "./components/search-filter-chips/search-facet-chip/search-facet-chip.component";
64
- import * as i30 from "./components/search-logical-filter/search-logical-filter.component";
65
- import * as i31 from "./components/search-properties/search-properties.component";
66
- import * as i32 from "./components/search.component";
67
- import * as i33 from "./components/search-control.component";
68
- export declare const CONTENT_SEARCH_DIRECTIVES: readonly [typeof SearchCheckListComponent, typeof SearchChipAutocompleteInputComponent, typeof SearchChipListComponent, typeof EmptySearchResultComponent, typeof SearchFilterComponent, typeof SearchFilterCardComponent, typeof SearchWidgetContainerComponent, typeof SearchTextComponent, typeof SearchFilterAutocompleteChipsComponent, typeof SearchDatetimeRangeComponent, typeof SearchFacetFieldComponent, typeof ResetSearchDirective, typeof SearchDateRangeComponent, typeof SearchFilterMenuCardComponent, typeof SearchFacetChipTabbedComponent, typeof SearchFacetTabbedContentComponent, typeof SearchFilterTabbedComponent, typeof SearchFilterTabDirective, typeof SearchDateRangeTabbedComponent, typeof SearchSortingPickerComponent, typeof SearchSliderComponent, typeof SearchNumberRangeComponent, typeof SearchPanelComponent, typeof SearchRadioComponent, typeof SearchFilterContainerComponent, typeof SearchFormComponent, typeof SearchFilterChipsComponent, typeof SearchWidgetChipComponent, typeof SearchFacetChipComponent, typeof SearchLogicalFilterComponent, typeof SearchPropertiesComponent, typeof SearchComponent, typeof SearchControlComponent];
53
+ import * as i20 from "./components/search-slider/search-slider.component";
54
+ import * as i21 from "./components/search-number-range/search-number-range.component";
55
+ import * as i22 from "./components/search-panel/search-panel.component";
56
+ import * as i23 from "./components/search-radio/search-radio.component";
57
+ import * as i24 from "./components/search-filter-container/search-filter-container.component";
58
+ import * as i25 from "./components/search-form/search-form.component";
59
+ import * as i26 from "./components/search-filter-chips/search-filter-chips.component";
60
+ import * as i27 from "./components/search-filter-chips/search-widget-chip/search-widget-chip.component";
61
+ import * as i28 from "./components/search-filter-chips/search-facet-chip/search-facet-chip.component";
62
+ import * as i29 from "./components/search-logical-filter/search-logical-filter.component";
63
+ import * as i30 from "./components/search-properties/search-properties.component";
64
+ import * as i31 from "./components/search.component";
65
+ import * as i32 from "./components/search-control.component";
66
+ export declare const CONTENT_SEARCH_DIRECTIVES: readonly [typeof SearchCheckListComponent, typeof SearchChipAutocompleteInputComponent, typeof SearchChipListComponent, typeof EmptySearchResultComponent, typeof SearchFilterComponent, typeof SearchFilterCardComponent, typeof SearchWidgetContainerComponent, typeof SearchTextComponent, typeof SearchFilterAutocompleteChipsComponent, typeof SearchDatetimeRangeComponent, typeof SearchFacetFieldComponent, typeof ResetSearchDirective, typeof SearchDateRangeComponent, typeof SearchFilterMenuCardComponent, typeof SearchFacetChipTabbedComponent, typeof SearchFacetTabbedContentComponent, typeof SearchFilterTabbedComponent, typeof SearchFilterTabDirective, typeof SearchDateRangeTabbedComponent, typeof SearchSliderComponent, typeof SearchNumberRangeComponent, typeof SearchPanelComponent, typeof SearchRadioComponent, typeof SearchFilterContainerComponent, typeof SearchFormComponent, typeof SearchFilterChipsComponent, typeof SearchWidgetChipComponent, typeof SearchFacetChipComponent, typeof SearchLogicalFilterComponent, typeof SearchPropertiesComponent, typeof SearchComponent, typeof SearchControlComponent];
69
67
  /** @deprecated use `...CONTENT_SEARCH_DIRECTIVES` or import the specific component */
70
68
  export declare class SearchModule {
71
69
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchModule, never>;
72
- static ɵmod: i0.ɵɵNgModuleDeclaration<SearchModule, never, [typeof i1.SearchCheckListComponent, typeof i2.SearchChipAutocompleteInputComponent, typeof i3.SearchChipListComponent, typeof i4.EmptySearchResultComponent, typeof i5.SearchFilterComponent, typeof i6.SearchFilterCardComponent, typeof i7.SearchWidgetContainerComponent, typeof i8.SearchTextComponent, typeof i9.SearchFilterAutocompleteChipsComponent, typeof i10.SearchDatetimeRangeComponent, typeof i11.SearchFacetFieldComponent, typeof i12.ResetSearchDirective, typeof i13.SearchDateRangeComponent, typeof i14.SearchFilterMenuCardComponent, typeof i15.SearchFacetChipTabbedComponent, typeof i16.SearchFacetTabbedContentComponent, typeof i17.SearchFilterTabbedComponent, typeof i18.SearchFilterTabDirective, typeof i19.SearchDateRangeTabbedComponent, typeof i20.SearchSortingPickerComponent, typeof i21.SearchSliderComponent, typeof i22.SearchNumberRangeComponent, typeof i23.SearchPanelComponent, typeof i24.SearchRadioComponent, typeof i25.SearchFilterContainerComponent, typeof i26.SearchFormComponent, typeof i27.SearchFilterChipsComponent, typeof i28.SearchWidgetChipComponent, typeof i29.SearchFacetChipComponent, typeof i30.SearchLogicalFilterComponent, typeof i31.SearchPropertiesComponent, typeof i32.SearchComponent, typeof i33.SearchControlComponent], [typeof i1.SearchCheckListComponent, typeof i2.SearchChipAutocompleteInputComponent, typeof i3.SearchChipListComponent, typeof i4.EmptySearchResultComponent, typeof i5.SearchFilterComponent, typeof i6.SearchFilterCardComponent, typeof i7.SearchWidgetContainerComponent, typeof i8.SearchTextComponent, typeof i9.SearchFilterAutocompleteChipsComponent, typeof i10.SearchDatetimeRangeComponent, typeof i11.SearchFacetFieldComponent, typeof i12.ResetSearchDirective, typeof i13.SearchDateRangeComponent, typeof i14.SearchFilterMenuCardComponent, typeof i15.SearchFacetChipTabbedComponent, typeof i16.SearchFacetTabbedContentComponent, typeof i17.SearchFilterTabbedComponent, typeof i18.SearchFilterTabDirective, typeof i19.SearchDateRangeTabbedComponent, typeof i20.SearchSortingPickerComponent, typeof i21.SearchSliderComponent, typeof i22.SearchNumberRangeComponent, typeof i23.SearchPanelComponent, typeof i24.SearchRadioComponent, typeof i25.SearchFilterContainerComponent, typeof i26.SearchFormComponent, typeof i27.SearchFilterChipsComponent, typeof i28.SearchWidgetChipComponent, typeof i29.SearchFacetChipComponent, typeof i30.SearchLogicalFilterComponent, typeof i31.SearchPropertiesComponent, typeof i32.SearchComponent, typeof i33.SearchControlComponent]>;
70
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SearchModule, never, [typeof i1.SearchCheckListComponent, typeof i2.SearchChipAutocompleteInputComponent, typeof i3.SearchChipListComponent, typeof i4.EmptySearchResultComponent, typeof i5.SearchFilterComponent, typeof i6.SearchFilterCardComponent, typeof i7.SearchWidgetContainerComponent, typeof i8.SearchTextComponent, typeof i9.SearchFilterAutocompleteChipsComponent, typeof i10.SearchDatetimeRangeComponent, typeof i11.SearchFacetFieldComponent, typeof i12.ResetSearchDirective, typeof i13.SearchDateRangeComponent, typeof i14.SearchFilterMenuCardComponent, typeof i15.SearchFacetChipTabbedComponent, typeof i16.SearchFacetTabbedContentComponent, typeof i17.SearchFilterTabbedComponent, typeof i18.SearchFilterTabDirective, typeof i19.SearchDateRangeTabbedComponent, typeof i20.SearchSliderComponent, typeof i21.SearchNumberRangeComponent, typeof i22.SearchPanelComponent, typeof i23.SearchRadioComponent, typeof i24.SearchFilterContainerComponent, typeof i25.SearchFormComponent, typeof i26.SearchFilterChipsComponent, typeof i27.SearchWidgetChipComponent, typeof i28.SearchFacetChipComponent, typeof i29.SearchLogicalFilterComponent, typeof i30.SearchPropertiesComponent, typeof i31.SearchComponent, typeof i32.SearchControlComponent], [typeof i1.SearchCheckListComponent, typeof i2.SearchChipAutocompleteInputComponent, typeof i3.SearchChipListComponent, typeof i4.EmptySearchResultComponent, typeof i5.SearchFilterComponent, typeof i6.SearchFilterCardComponent, typeof i7.SearchWidgetContainerComponent, typeof i8.SearchTextComponent, typeof i9.SearchFilterAutocompleteChipsComponent, typeof i10.SearchDatetimeRangeComponent, typeof i11.SearchFacetFieldComponent, typeof i12.ResetSearchDirective, typeof i13.SearchDateRangeComponent, typeof i14.SearchFilterMenuCardComponent, typeof i15.SearchFacetChipTabbedComponent, typeof i16.SearchFacetTabbedContentComponent, typeof i17.SearchFilterTabbedComponent, typeof i18.SearchFilterTabDirective, typeof i19.SearchDateRangeTabbedComponent, typeof i20.SearchSliderComponent, typeof i21.SearchNumberRangeComponent, typeof i22.SearchPanelComponent, typeof i23.SearchRadioComponent, typeof i24.SearchFilterContainerComponent, typeof i25.SearchFormComponent, typeof i26.SearchFilterChipsComponent, typeof i27.SearchWidgetChipComponent, typeof i28.SearchFacetChipComponent, typeof i29.SearchLogicalFilterComponent, typeof i30.SearchPropertiesComponent, typeof i31.SearchComponent, typeof i32.SearchControlComponent]>;
73
71
  static ɵinj: i0.ɵɵInjectorDeclaration<SearchModule>;
74
72
  }
@@ -44,10 +44,13 @@ export declare abstract class BaseQueryBuilderService {
44
44
  populateFilters: BehaviorSubject<{
45
45
  [key: string]: any;
46
46
  }>;
47
+ queryFragmentsUpdate: BehaviorSubject<{
48
+ [key: string]: any;
49
+ }>;
50
+ userFacetBucketsUpdate: BehaviorSubject<{
51
+ [key: string]: FacetFieldBucket[];
52
+ }>;
47
53
  categories: SearchCategory[];
48
- queryFragments: {
49
- [id: string]: string;
50
- };
51
54
  filterQueries: FilterQuery[];
52
55
  filterRawParams: {
53
56
  [key: string]: any;
@@ -60,11 +63,20 @@ export declare abstract class BaseQueryBuilderService {
60
63
  sortingOptions: SearchSortingDefinition[];
61
64
  private encodedQuery;
62
65
  private scope;
63
- private selectedConfiguration;
66
+ private selectedConfigurationId;
64
67
  private _userQuery;
68
+ private _queryFragments;
69
+ private readonly selectedConfigurationKey;
70
+ private readonly queryFragmentsHandler;
65
71
  protected userFacetBuckets: {
66
72
  [key: string]: FacetFieldBucket[];
67
73
  };
74
+ get queryFragments(): {
75
+ [key: string]: any;
76
+ };
77
+ set queryFragments(value: {
78
+ [key: string]: any;
79
+ });
68
80
  get userQuery(): string;
69
81
  set userQuery(value: string);
70
82
  config: SearchConfiguration;
@@ -76,7 +88,7 @@ export declare abstract class BaseQueryBuilderService {
76
88
  abstract isFilterServiceActive(): boolean;
77
89
  resetToDefaults(withNavigate?: boolean): void;
78
90
  getDefaultConfiguration(): SearchConfiguration | undefined;
79
- updateSelectedConfiguration(index: number): void;
91
+ updateSelectedConfiguration(id: string): void;
80
92
  private resetSearchOptions;
81
93
  getSearchFormDetails(): SearchForm[];
82
94
  private setUpSearchConfiguration;
@@ -101,6 +113,10 @@ export declare abstract class BaseQueryBuilderService {
101
113
  * @param bucket Bucket to remove
102
114
  */
103
115
  removeUserFacetBucket(field: string, bucket: FacetFieldBucket): void;
116
+ /**
117
+ * Resets an existing bucket list.
118
+ */
119
+ resetUserFacetBucket(): void;
104
120
  /**
105
121
  * Adds a filter query to the current query.
106
122
  *
@@ -209,4 +225,7 @@ export declare abstract class BaseQueryBuilderService {
209
225
  * @param searchUrl search url to navigate to
210
226
  */
211
227
  navigateToSearch(query: string, searchUrl: string): Promise<void>;
228
+ private createQueryFragmentsProxy;
229
+ private setSelectedConfiguration;
230
+ private handleSelectedConfigurationChange;
212
231
  }
@@ -1,9 +1,5 @@
1
1
  import { FacetField } from '../models/facet-field.interface';
2
- import { SearchQueryBuilderService } from './search-query-builder.service';
3
- import { TranslationService } from '@alfresco/adf-core';
4
- import { SearchService } from './search.service';
5
2
  import { FacetFieldBucket } from '../models/facet-field-bucket.interface';
6
- import { CategoryService } from '../../category/services/category.service';
7
3
  import { TabbedFacetField } from '../models/tabbed-facet-field.interface';
8
4
  import * as i0 from "@angular/core";
9
5
  export interface SelectedBucket {
@@ -11,10 +7,10 @@ export interface SelectedBucket {
11
7
  bucket: FacetFieldBucket;
12
8
  }
13
9
  export declare class SearchFacetFiltersService {
14
- private queryBuilder;
15
- private searchService;
16
- private translationService;
17
- private categoryService;
10
+ private readonly queryBuilder;
11
+ private readonly searchService;
12
+ private readonly translationService;
13
+ private readonly categoryService;
18
14
  /**
19
15
  * All facet field items to be displayed in the component. These are updated according to the response.
20
16
  * When a new search is performed, the already existing items are updated with the new bucket count values and
@@ -25,7 +21,7 @@ export declare class SearchFacetFiltersService {
25
21
  /** shows the facet chips */
26
22
  selectedBuckets: SelectedBucket[];
27
23
  private readonly facetQueriesPageSize;
28
- constructor(queryBuilder: SearchQueryBuilderService, searchService: SearchService, translationService: TranslationService, categoryService: CategoryService);
24
+ constructor();
29
25
  onDataLoaded(data: any): void;
30
26
  private parseFacets;
31
27
  private parseFacetItems;
@@ -40,13 +36,13 @@ export declare class SearchFacetFiltersService {
40
36
  private sortFacetBuckets;
41
37
  private getCountValue;
42
38
  getBucketCountDisplay(bucket: FacetFieldBucket): string;
43
- private getFilterByMinCount;
39
+ private readonly getFilterByMinCount;
44
40
  private getCorrespondingFilterQuery;
45
41
  private buildIntervalQuery;
46
42
  private findFacet;
47
43
  private findResponseFacet;
48
44
  private updateExistingBuckets;
49
- private getBucketFilterFunction;
45
+ private readonly getBucketFilterFunction;
50
46
  private loadCategoryNames;
51
47
  unselectFacetBucket(facetField: FacetField, bucket: FacetFieldBucket): void;
52
48
  updateSelectedBuckets(): void;
@@ -1,18 +1,16 @@
1
- import { AppConfigService, DataSorting } from '@alfresco/adf-core';
1
+ import { DataSorting } from '@alfresco/adf-core';
2
2
  import { SearchConfiguration } from '../models/search-configuration.interface';
3
3
  import { BaseQueryBuilderService } from './base-query-builder.service';
4
4
  import { SearchCategory } from '../models/search-category.interface';
5
5
  import { Node } from '@alfresco/js-api';
6
6
  import { Observable } from 'rxjs';
7
7
  import { FilterSearch } from '../models/filter-search.interface';
8
- import { NodesApiService } from '../../common/services/nodes-api.service';
9
- import { AlfrescoApiService } from '../../services/alfresco-api.service';
10
8
  import * as i0 from "@angular/core";
11
9
  export declare class SearchHeaderQueryBuilderService extends BaseQueryBuilderService {
12
- private nodeApiService;
13
- private customSources;
10
+ private readonly nodeApiService;
11
+ private readonly customSources;
14
12
  activeFilters: FilterSearch[];
15
- constructor(appConfig: AppConfigService, alfrescoApiService: AlfrescoApiService, nodeApiService: NodesApiService);
13
+ constructor();
16
14
  isFilterServiceActive(): boolean;
17
15
  loadConfiguration(): SearchConfiguration;
18
16
  setupCurrentPagination(maxItems: number, skipCount: number): void;
@@ -24,6 +22,7 @@ export declare class SearchHeaderQueryBuilderService extends BaseQueryBuilderSer
24
22
  setSorting(dataSorting: DataSorting[]): void;
25
23
  private getSortingFieldFromColumnName;
26
24
  getCategoryForColumn(columnKey: string): SearchCategory;
25
+ getOperatorForFilterId(id: string): string | undefined;
27
26
  setCurrentRootFolderId(currentFolderId: string): void;
28
27
  isCustomSourceNode(currentNodeId: string): boolean;
29
28
  getNodeIdForCustomSource(customSourceId: string): Observable<Node>;
@@ -1,13 +1,11 @@
1
- import { AppConfigService } from '@alfresco/adf-core';
2
1
  import { SearchConfiguration } from '../models/search-configuration.interface';
3
2
  import { BaseQueryBuilderService } from './base-query-builder.service';
4
- import { AlfrescoApiService } from '../../services/alfresco-api.service';
5
3
  import * as i0 from "@angular/core";
6
4
  export declare class SearchQueryBuilderService extends BaseQueryBuilderService {
7
- private configuration?;
5
+ private readonly configuration;
8
6
  isFilterServiceActive(): boolean;
9
- constructor(appConfig: AppConfigService, alfrescoApiService: AlfrescoApiService, configuration?: SearchConfiguration);
7
+ constructor();
10
8
  loadConfiguration(): SearchConfiguration;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchQueryBuilderService, [null, null, { optional: true; }]>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchQueryBuilderService, never>;
12
10
  static ɵprov: i0.ɵɵInjectableDeclaration<SearchQueryBuilderService>;
13
11
  }
@@ -2,8 +2,8 @@ import { NodePaging, QueriesApi, SearchRequest, ResultSetPaging, SearchApi } fro
2
2
  import { Observable, Subject } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SearchService {
5
- private apiService;
6
- private searchConfigurationService;
5
+ private readonly apiService;
6
+ private readonly searchConfigurationService;
7
7
  dataLoaded: Subject<ResultSetPaging>;
8
8
  private _queriesApi;
9
9
  get queriesApi(): QueriesApi;
@@ -1,18 +1,15 @@
1
1
  import { AiAnswerEntry, KnowledgeRetrievalConfigEntry, QuestionModel, QuestionRequest, SearchAiApi } from '@alfresco/js-api';
2
2
  import { Observable } from 'rxjs';
3
3
  import { SelectionState } from '@alfresco/adf-extensions';
4
- import { TranslateService } from '@ngx-translate/core';
5
4
  import { SearchAiInputState } from '../models/search-ai-input-state';
6
- import { AlfrescoApiService } from '../../services';
7
5
  import * as i0 from "@angular/core";
8
6
  export declare class SearchAiService {
9
- private apiService;
10
- private translateService;
11
- private toggleSearchAiInput;
7
+ private readonly apiService;
8
+ private readonly translateService;
9
+ private readonly toggleSearchAiInput;
12
10
  private _searchAiApi;
13
11
  get searchAiApi(): SearchAiApi;
14
12
  toggleSearchAiInput$: Observable<SearchAiInputState>;
15
- constructor(apiService: AlfrescoApiService, translateService: TranslateService);
16
13
  /**
17
14
  * Update the state of the search AI input.
18
15
  *
@@ -2,26 +2,23 @@ import { Observable, Subject } from 'rxjs';
2
2
  import { SecurityControlsGroupResponse } from './models/security-controls-group-response.interface';
3
3
  import { SecurityControlsMarkResponse } from './models/security-controls-mark-response.interface';
4
4
  import { SecurityGroupsApi, SecurityMarksApi, SecurityGroupEntry, SecurityMarkEntry, SecurityGroupBody, SecurityMarkPaging, SecurityMarkBody, AuthorityClearanceApi, AuthorityClearanceGroupPaging, NodeSecurityMarkBody } from '@alfresco/js-api';
5
- import { UserPreferencesService } from '@alfresco/adf-core';
6
- import { AlfrescoApiService } from '../../services/alfresco-api.service';
7
5
  import * as i0 from "@angular/core";
8
6
  export declare class SecurityControlsService {
9
- private apiService;
10
- private userPreferencesService;
11
- private groupsPaginatedSource;
7
+ private readonly apiService;
8
+ private readonly userPreferencesService;
9
+ private readonly groupsPaginatedSource;
12
10
  groupsPaginated$: Observable<SecurityControlsGroupResponse>;
13
- private reloadSecurityControls;
11
+ private readonly reloadSecurityControls;
14
12
  reloadSecurityControls$: Observable<void>;
15
- private _reloadAuthorityClearance;
13
+ private readonly _reloadAuthorityClearance;
16
14
  reloadAuthorityClearance$: Observable<void>;
17
- private marksPaginatedSource;
15
+ private readonly marksPaginatedSource;
18
16
  marksPaginated$: Observable<SecurityControlsMarkResponse>;
19
- private loadingSource;
17
+ private readonly loadingSource;
20
18
  loading$: Observable<boolean>;
21
19
  private securityGroup;
22
20
  private securityMark;
23
21
  private authorityClearance;
24
- constructor(apiService: AlfrescoApiService, userPreferencesService: UserPreferencesService);
25
22
  get groupsApi(): SecurityGroupsApi;
26
23
  get marksApi(): SecurityMarksApi;
27
24
  get authorityClearanceApi(): AuthorityClearanceApi;
@@ -1,26 +1,7 @@
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
- import { AdfHttpClient } from '@alfresco/adf-core/api';
19
1
  import * as i0 from "@angular/core";
20
2
  export declare class SecurityOptionsLoaderService {
21
- private appConfigService;
22
- private adfHttpClient;
23
- constructor(appConfigService: AppConfigService, adfHttpClient: AdfHttpClient);
3
+ private readonly appConfigService;
4
+ private readonly adfHttpClient;
24
5
  load: () => void;
25
6
  static ɵfac: i0.ɵɵFactoryDeclaration<SecurityOptionsLoaderService, never>;
26
7
  static ɵprov: i0.ɵɵInjectableDeclaration<SecurityOptionsLoaderService>;