@alfresco/adf-core 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 (304) hide show
  1. package/api/lib/adf-http-client.service.d.ts +3 -9
  2. package/app.config.schema.json +4 -3
  3. package/auth/authentication-interceptor/authentication.interceptor.d.ts +1 -3
  4. package/breadcrumbs/components/breadcrumb/breadcrumb.component.d.ts +2 -3
  5. package/breadcrumbs/directives/breadcrumb-focus.directive.d.ts +1 -19
  6. package/bundles/assets/adf-core/i18n/ar.json +0 -5
  7. package/bundles/assets/adf-core/i18n/cs.json +0 -5
  8. package/bundles/assets/adf-core/i18n/da.json +0 -5
  9. package/bundles/assets/adf-core/i18n/de.json +30 -13
  10. package/bundles/assets/adf-core/i18n/en.json +34 -17
  11. package/bundles/assets/adf-core/i18n/es.json +30 -13
  12. package/bundles/assets/adf-core/i18n/fi.json +0 -5
  13. package/bundles/assets/adf-core/i18n/fr.json +30 -13
  14. package/bundles/assets/adf-core/i18n/it.json +30 -13
  15. package/bundles/assets/adf-core/i18n/ja.json +0 -5
  16. package/bundles/assets/adf-core/i18n/nb.json +0 -5
  17. package/bundles/assets/adf-core/i18n/nl.json +0 -5
  18. package/bundles/assets/adf-core/i18n/pl.json +30 -13
  19. package/bundles/assets/adf-core/i18n/pt-BR.json +0 -5
  20. package/bundles/assets/adf-core/i18n/pt.json +30 -13
  21. package/bundles/assets/adf-core/i18n/ru.json +0 -5
  22. package/bundles/assets/adf-core/i18n/sv.json +0 -5
  23. package/bundles/assets/adf-core/i18n/zh-CN.json +0 -5
  24. package/custom-theme/material-theme.scss +13 -13
  25. package/custom-theme/theme/custom-palette-creator.scss +25 -27
  26. package/custom-theme/theme/custom-theme-palettes.scss +7 -7
  27. package/custom-theme/theme/theme-data.scss +13 -13
  28. package/custom-theme/theme/typography.scss +5 -5
  29. package/feature-flags/lib/components/feature-override-indicator.component.d.ts +2 -20
  30. package/feature-flags/lib/components/flags/flags.component.d.ts +4 -4
  31. package/feature-flags/lib/directives/features.directive.d.ts +5 -23
  32. package/feature-flags/lib/directives/not-features.directive.d.ts +5 -23
  33. package/feature-flags/lib/guards/is-feature-off.guard.d.ts +1 -3
  34. package/feature-flags/lib/guards/is-feature-on.guard.d.ts +1 -3
  35. package/feature-flags/lib/guards/is-flags-override-on.guard.d.ts +2 -3
  36. package/feature-flags/lib/services/debug-features.service.d.ts +6 -6
  37. package/feature-flags/lib/services/qa-features.helper.d.ts +2 -21
  38. package/feature-flags/lib/services/storage-features.service.d.ts +4 -4
  39. package/fesm2022/adf-core.mjs +4861 -4176
  40. package/fesm2022/adf-core.mjs.map +1 -1
  41. package/fesm2022/alfresco-adf-core-api.mjs +14 -16
  42. package/fesm2022/alfresco-adf-core-api.mjs.map +1 -1
  43. package/fesm2022/alfresco-adf-core-auth.mjs +7 -7
  44. package/fesm2022/alfresco-adf-core-auth.mjs.map +1 -1
  45. package/fesm2022/alfresco-adf-core-breadcrumbs.mjs +21 -20
  46. package/fesm2022/alfresco-adf-core-breadcrumbs.mjs.map +1 -1
  47. package/fesm2022/alfresco-adf-core-feature-flags.mjs +84 -129
  48. package/fesm2022/alfresco-adf-core-feature-flags.mjs.map +1 -1
  49. package/fesm2022/alfresco-adf-core-shell.mjs +24 -32
  50. package/fesm2022/alfresco-adf-core-shell.mjs.map +1 -1
  51. package/lib/about/about-license-list/about-license-list.component.d.ts +2 -1
  52. package/lib/about/about-license-list/about-license-list.component.scss +7 -0
  53. package/lib/about/about-server-settings/about-server-settings.component.d.ts +1 -3
  54. package/lib/about/interfaces.d.ts +1 -1
  55. package/lib/app-config/app-config-storage-prefix.factory.d.ts +3 -5
  56. package/lib/app-config/app-config.pipe.d.ts +1 -3
  57. package/lib/app-config/app-config.service.d.ts +31 -28
  58. package/lib/auth/authentication-interceptor/auth-bearer.interceptor.d.ts +2 -4
  59. package/lib/auth/basic-auth/basic-alfresco-auth.service.d.ts +2 -6
  60. package/lib/auth/basic-auth/content-auth.d.ts +4 -7
  61. package/lib/auth/basic-auth/process-auth.d.ts +4 -7
  62. package/lib/auth/guard/auth-guard.service.d.ts +7 -31
  63. package/lib/auth/models/oauth-config.model.d.ts +0 -1
  64. package/lib/auth/oidc/auth-config.service.d.ts +2 -5
  65. package/lib/auth/oidc/oidc-authentication.service.d.ts +4 -10
  66. package/lib/auth/oidc/redirect-auth.service.d.ts +6 -6
  67. package/lib/auth/oidc/retry-login.service.d.ts +1 -1
  68. package/lib/auth/services/authentication.service.d.ts +1 -19
  69. package/lib/auth/services/base-authentication.service.d.ts +1 -3
  70. package/lib/auth/services/identity-group.service.d.ts +2 -5
  71. package/lib/auth/services/identity-role.service.d.ts +1 -1
  72. package/lib/auth/services/identity-user.service.d.ts +3 -7
  73. package/lib/auth/services/jwt-helper.service.d.ts +1 -1
  74. package/lib/auth/services/oauth2.service.d.ts +1 -3
  75. package/lib/auth/services/time-sync.service.d.ts +3 -5
  76. package/lib/auth/services/user-access.service.d.ts +2 -5
  77. package/lib/card-view/components/card-view/card-view.component.d.ts +1 -3
  78. package/lib/card-view/components/card-view/card-view.component.scss +0 -90
  79. package/lib/card-view/components/card-view-arrayitem/card-view-arrayitem.component.scss +1 -9
  80. package/lib/card-view/components/card-view-boolitem/card-view-boolitem.component.d.ts +4 -2
  81. package/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.d.ts +5 -10
  82. package/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.scss +36 -41
  83. package/lib/card-view/components/card-view-item-dispatcher/card-view-item-dispatcher.component.d.ts +3 -5
  84. package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.d.ts +4 -1
  85. package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.scss +0 -12
  86. package/lib/card-view/components/card-view-selectitem/select-filter-input/select-filter-input.component.d.ts +1 -3
  87. package/lib/card-view/components/card-view-textitem/card-view-textitem.component.d.ts +5 -10
  88. package/lib/card-view/components/card-view-textitem/card-view-textitem.component.scss +18 -19
  89. package/lib/card-view/directives/card-view-property-validator.directive.d.ts +28 -0
  90. package/lib/card-view/models/card-view-dateitem.model.d.ts +0 -2
  91. package/lib/card-view/public-api.d.ts +0 -1
  92. package/lib/card-view/validators/card-view-item-length.validator.d.ts +2 -2
  93. package/lib/card-view/validators/card-view-item-match.validator.d.ts +3 -3
  94. package/lib/card-view/validators/card-view-item-minmax.validator.d.ts +3 -3
  95. package/lib/clipboard/clipboard.directive.d.ts +6 -11
  96. package/lib/clipboard/clipboard.module.d.ts +5 -4
  97. package/lib/clipboard/clipboard.service.d.ts +2 -4
  98. package/lib/comments/comment-list/comment-list.component.d.ts +1 -1
  99. package/lib/comments/comments.component.d.ts +3 -2
  100. package/lib/comments/comments.component.scss +3 -32
  101. package/lib/common/index.d.ts +0 -1
  102. package/lib/common/services/log.service.d.ts +2 -6
  103. package/lib/common/services/page-title.service.d.ts +4 -7
  104. package/lib/common/services/thumbnail.service.d.ts +1 -3
  105. package/lib/common/services/url.service.d.ts +1 -3
  106. package/lib/common/services/user-preferences.service.d.ts +78 -15
  107. package/lib/common/utils/date-fns-adapter.d.ts +3 -5
  108. package/lib/common/utils/date-fns-utils.d.ts +1 -1
  109. package/lib/common/utils/datetime-fns-adapter.d.ts +3 -5
  110. package/lib/common/utils/moment-date-adapter.d.ts +1 -2
  111. package/lib/context-menu/context-menu-list.component.d.ts +8 -8
  112. package/lib/context-menu/context-menu-overlay.d.ts +1 -1
  113. package/lib/context-menu/context-menu-overlay.service.d.ts +2 -21
  114. package/lib/context-menu/context-menu.directive.d.ts +1 -3
  115. package/lib/context-menu/context-menu.tokens.d.ts +2 -1
  116. package/lib/context-menu/interfaces.d.ts +14 -1
  117. package/lib/core.module.d.ts +78 -83
  118. package/lib/datatable/components/amount-cell/amount-cell.component.d.ts +3 -19
  119. package/lib/datatable/components/boolean-cell/boolean-cell.component.d.ts +3 -20
  120. package/lib/datatable/components/columns-selector/columns-search-filter.pipe.d.ts +1 -1
  121. package/lib/datatable/components/columns-selector/columns-selector.component.d.ts +2 -1
  122. package/lib/datatable/components/columns-selector/columns-selector.component.scss +64 -81
  123. package/lib/datatable/components/datatable/datatable.component.d.ts +12 -13
  124. package/lib/datatable/components/datatable/datatable.component.scss +48 -20
  125. package/lib/datatable/components/datatable-cell/datatable-cell.component.d.ts +20 -0
  126. package/lib/datatable/components/datatable-row/datatable-row.component.d.ts +2 -3
  127. package/lib/datatable/components/date-cell/date-cell.component.d.ts +9 -2
  128. package/lib/datatable/components/filesize-cell/filesize-cell.component.d.ts +1 -19
  129. package/lib/datatable/components/icon-cell/icon-cell.component.d.ts +3 -6
  130. package/lib/datatable/components/json-cell/json-cell.component.d.ts +4 -22
  131. package/lib/datatable/components/location-cell/location-cell.component.d.ts +3 -20
  132. package/lib/datatable/components/number-cell/number-cell.component.d.ts +3 -19
  133. package/lib/datatable/data/data-table.schema.d.ts +4 -4
  134. package/lib/datatable/data/datatable-adapter.d.ts +2 -0
  135. package/lib/datatable/data/object-datarow.model.d.ts +1 -1
  136. package/lib/datatable/data-column/data-column-header.component.d.ts +1 -3
  137. package/lib/datatable/directives/drop-zone.directive.d.ts +4 -4
  138. package/lib/datatable/directives/header-filter-template.directive.d.ts +1 -3
  139. package/lib/datatable/directives/loading-template.directive.d.ts +1 -3
  140. package/lib/datatable/directives/main-data-table-action-template.directive.d.ts +1 -3
  141. package/lib/datatable/directives/no-content-template.directive.d.ts +1 -3
  142. package/lib/datatable/directives/no-permission-template.directive.d.ts +1 -3
  143. package/lib/datatable/directives/resizable/resizable.directive.d.ts +8 -3
  144. package/lib/datatable/directives/resizable/resize-handle.directive.d.ts +2 -2
  145. package/lib/dialogs/confirm-dialog/confirm.dialog.d.ts +3 -3
  146. package/lib/dialogs/dialog/dialog.component.d.ts +2 -2
  147. package/lib/dialogs/edit-json/edit-json.dialog.d.ts +1 -2
  148. package/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +1 -3
  149. package/lib/dialogs/unsaved-changes-dialog/unsaved-changes.guard.d.ts +3 -6
  150. package/lib/directives/highlight.directive.d.ts +4 -6
  151. package/lib/directives/infinite-select-scroll.directive.d.ts +1 -3
  152. package/lib/directives/logout.directive.d.ts +6 -10
  153. package/lib/directives/tooltip-card/tooltip-card.component.d.ts +1 -3
  154. package/lib/directives/tooltip-card/tooltip-card.directive.d.ts +4 -6
  155. package/lib/directives/upload.directive.d.ts +7 -7
  156. package/lib/dynamic-chip-list/dynamic-chip-list.component.d.ts +3 -4
  157. package/lib/dynamic-chip-list/dynamic-chip-list.component.scss +1 -1
  158. package/lib/form/components/form-base.component.d.ts +1 -1
  159. package/lib/form/components/form-field/form-field.component.d.ts +5 -0
  160. package/lib/form/components/form-renderer.component.d.ts +7 -7
  161. package/lib/form/components/form-renderer.component.scss +48 -34
  162. package/lib/form/components/widgets/amount/amount.widget.d.ts +26 -6
  163. package/lib/form/components/widgets/base-display-text/base-display-text.widget.d.ts +43 -0
  164. package/lib/form/components/widgets/base-viewer/base-viewer.widget.d.ts +16 -2
  165. package/lib/form/components/widgets/button/button.widget.d.ts +9 -0
  166. package/lib/form/components/widgets/button/button.widget.scss +14 -0
  167. package/lib/form/components/widgets/checkbox/checkbox.widget.d.ts +0 -4
  168. package/lib/form/components/widgets/core/container-column.model.d.ts +2 -0
  169. package/lib/{models/decimal-number.model.d.ts → form/components/widgets/core/container-row.model.d.ts} +9 -5
  170. package/lib/{common/models/user-info-mode.enum.d.ts → form/components/widgets/core/custom-validation-message.token.d.ts} +3 -7
  171. package/lib/form/components/widgets/core/form-field-types.d.ts +5 -0
  172. package/lib/form/components/widgets/core/form-field-validator.d.ts +10 -10
  173. package/lib/form/components/widgets/core/form-field.model.d.ts +29 -2
  174. package/lib/form/components/widgets/core/form.model.d.ts +38 -2
  175. package/lib/{datatable/components/mocks/datatable.mock.d.ts → form/components/widgets/core/handlers/form-field-rule.handler.d.ts} +5 -5
  176. package/lib/{blank-page/public-api.d.ts → form/components/widgets/core/handlers/form-field-visibility-condition.handler.d.ts} +5 -2
  177. package/lib/form/components/widgets/core/index.d.ts +2 -0
  178. package/lib/{login/components/login-dialog/login-dialog-component-data.interface.d.ts → form/components/widgets/core/repeatable-section.model.d.ts} +7 -5
  179. package/lib/form/components/widgets/decimal/decimal.component.d.ts +0 -3
  180. package/lib/form/components/widgets/display-text/display-text.widget.d.ts +5 -5
  181. package/lib/form/components/widgets/error/error.component.d.ts +0 -3
  182. package/lib/form/components/widgets/error/error.component.scss +4 -0
  183. package/lib/form/components/widgets/hyperlink/hyperlink.widget.d.ts +0 -3
  184. package/lib/form/components/widgets/index.d.ts +5 -1
  185. package/lib/form/components/widgets/json/json.widget.d.ts +1 -5
  186. package/lib/form/components/widgets/multiline-text/multiline-text.widget.d.ts +5 -4
  187. package/lib/form/components/widgets/number/number.widget.d.ts +1 -5
  188. package/lib/form/components/widgets/reactive-widget.interface.d.ts +4 -0
  189. package/lib/form/components/widgets/repeat/repeat.widget.d.ts +9 -0
  190. package/lib/form/components/widgets/repeat/repeat.widget.scss +36 -0
  191. package/lib/form/components/widgets/text/text-mask.component.d.ts +6 -7
  192. package/lib/form/components/widgets/text/text.widget.d.ts +13 -4
  193. package/lib/form/components/widgets/unknown/unknown.widget.d.ts +0 -3
  194. package/lib/form/components/widgets/widget.component.d.ts +1 -2
  195. package/lib/form/form-base.module.d.ts +3 -2
  196. package/lib/form/models/widget-visibility.model.d.ts +7 -6
  197. package/lib/form/public-api.d.ts +1 -0
  198. package/lib/form/services/form-expression.service.d.ts +14 -0
  199. package/lib/form/services/form.service.d.ts +3 -3
  200. package/lib/{interface/index.d.ts → icon/icon-alias-map.token.d.ts} +3 -1
  201. package/lib/{interface/public-api.d.ts → icon/icon-alias-map.type.d.ts} +1 -1
  202. package/lib/icon/icon.component.d.ts +31 -4
  203. package/lib/{pipes/multi-value.pipe.d.ts → icon/icon.directive.d.ts} +13 -6
  204. package/lib/icon/icon.module.d.ts +3 -6
  205. package/lib/icon/public-api.d.ts +3 -0
  206. package/lib/info-drawer/info-drawer-layout.component.scss +2 -2
  207. package/lib/info-drawer/info-drawer.component.scss +6 -0
  208. package/lib/language-menu/language-menu.component.d.ts +2 -3
  209. package/lib/language-menu/service/language.service.d.ts +2 -4
  210. package/lib/layout/components/header/header.component.d.ts +1 -3
  211. package/lib/layout/components/sidebar-action/sidebar-action-menu.component.scss +1 -2
  212. package/lib/layout/components/sidenav-layout/sidenav-layout.component.d.ts +3 -5
  213. package/lib/layout/components/sidenav-layout/sidenav-layout.component.scss +4 -4
  214. package/lib/login/components/login/login.component.d.ts +10 -17
  215. package/lib/login/components/login/login.component.scss +6 -8
  216. package/lib/login/directives/login-footer.directive.d.ts +1 -3
  217. package/lib/login/directives/login-header.directive.d.ts +1 -3
  218. package/lib/login/login.module.d.ts +3 -5
  219. package/lib/login/public-api.d.ts +0 -2
  220. package/lib/mock/form/widget-visibility.service.mock.d.ts +1 -0
  221. package/lib/mock/public-api.d.ts +0 -1
  222. package/lib/mock/translation.service.mock.d.ts +2 -2
  223. package/lib/models/public-api.d.ts +0 -2
  224. package/lib/notifications/components/notification-history.component.d.ts +10 -7
  225. package/lib/notifications/models/notification.model.d.ts +7 -6
  226. package/lib/notifications/notification-history.module.d.ts +2 -4
  227. package/lib/notifications/public-api.d.ts +0 -1
  228. package/lib/notifications/services/notification.service.d.ts +3 -5
  229. package/lib/pagination/infinite-pagination.component.d.ts +3 -5
  230. package/lib/pagination/pagination.component.d.ts +6 -9
  231. package/lib/pipes/decimal-number.pipe.d.ts +6 -3
  232. package/lib/pipes/file-size.pipe.d.ts +2 -4
  233. package/lib/pipes/localized-date.pipe.d.ts +3 -6
  234. package/lib/pipes/pipe.module.d.ts +6 -8
  235. package/lib/pipes/public-api.d.ts +0 -1
  236. package/lib/pipes/text-highlight.pipe.d.ts +1 -3
  237. package/lib/pipes/time-ago.pipe.d.ts +1 -2
  238. package/lib/pipes/user-initial.pipe.d.ts +2 -3
  239. package/lib/search-text/models/search-text-input.model.d.ts +5 -4
  240. package/lib/search-text/search-text-input.component.d.ts +4 -5
  241. package/lib/search-text/search-text-input.component.scss +0 -6
  242. package/lib/search-text/search-trigger.directive.d.ts +6 -7
  243. package/lib/snackbar-content/snackbar-content.component.d.ts +1 -1
  244. package/lib/{blank-page/index.d.ts → stories/core-story.providers.d.ts} +7 -1
  245. package/lib/{sorting-picker → stories}/index.d.ts +1 -1
  246. package/lib/styles/_flex.scss +21 -16
  247. package/lib/styles/{material.theme.scss → _globals.scss} +6 -6
  248. package/lib/styles/_index.scss +4 -126
  249. package/lib/styles/_mat-selectors.scss +1 -17
  250. package/lib/templates/empty-content/empty-content.component.scss +2 -5
  251. package/lib/templates/error-content/error-content.component.d.ts +3 -7
  252. package/lib/templates/error-content/error-content.component.scss +1 -1
  253. package/lib/testing/index.d.ts +0 -1
  254. package/lib/testing/noop-translate.module.d.ts +3 -4
  255. package/lib/testing/unit-testing-utils.d.ts +14 -0
  256. package/lib/toolbar/toolbar.component.scss +1 -1
  257. package/lib/translation/provide-i18n.d.ts +5 -0
  258. package/lib/translation/translate-loader.service.d.ts +4 -22
  259. package/lib/translation/translation.service.d.ts +10 -3
  260. package/lib/viewer/components/download-prompt-dialog/download-prompt-dialog.component.d.ts +4 -2
  261. package/lib/viewer/components/img-viewer/img-viewer.component.d.ts +9 -5
  262. package/lib/viewer/components/media-player/media-player.component.d.ts +3 -5
  263. package/lib/viewer/components/pdf-viewer/pdf-viewer-host.component.scss +28 -0
  264. package/lib/viewer/components/pdf-viewer/pdf-viewer.component.d.ts +52 -17
  265. package/lib/viewer/components/pdf-viewer/pdf-viewer.component.scss +4 -2
  266. package/lib/viewer/components/pdf-viewer-password-dialog/pdf-viewer-password-dialog.d.ts +1 -3
  267. package/lib/viewer/components/pdf-viewer-thumb/pdf-viewer-thumb.component.d.ts +3 -5
  268. package/lib/viewer/components/pdf-viewer-thumbnails/pdf-viewer-thumbnails.component.d.ts +7 -8
  269. package/lib/viewer/components/txt-viewer/txt-viewer.component.d.ts +3 -22
  270. package/lib/viewer/components/viewer-render/viewer-render.component.d.ts +8 -8
  271. package/lib/viewer/components/viewer.component.d.ts +16 -14
  272. package/lib/viewer/components/viewer.component.scss +1 -1
  273. package/lib/viewer/directives/viewer-extension.directive.d.ts +7 -6
  274. package/lib/viewer/models/download-prompt.actions.d.ts +5 -4
  275. package/lib/viewer/models/viewer.model.d.ts +5 -4
  276. package/lib/viewer/services/rendering-queue.services.d.ts +35 -12
  277. package/lib/viewer/services/view-util.service.d.ts +4 -5
  278. package/package.json +4 -5
  279. package/public-api.d.ts +1 -6
  280. package/schematics/migrations/schematics/migrations/7_0_0/index.d.ts +1 -2
  281. package/schematics/migrations/schematics/migrations/7_0_0/index.js +44 -59
  282. package/schematics/migrations/schematics/migrations/7_0_0/index.js.map +1 -1
  283. package/schematics/migrations/schematics/migrations/collection.json +0 -5
  284. package/shell/lib/components/shell/shell.component.d.ts +7 -10
  285. package/lib/blank-page/blank-page.component.d.ts +0 -5
  286. package/lib/blank-page/blank-page.module.d.ts +0 -8
  287. package/lib/button/button.component.d.ts +0 -19
  288. package/lib/button/button.component.scss +0 -13
  289. package/lib/clipboard/clipboard.theme.scss +0 -19
  290. package/lib/interface/injection.tokens.d.ts +0 -18
  291. package/lib/landing-page/index.d.ts +0 -17
  292. package/lib/landing-page/provider.d.ts +0 -24
  293. package/lib/landing-page/public-api.d.ts +0 -17
  294. package/lib/login/components/login-dialog/login-dialog.component.d.ts +0 -15
  295. package/lib/login/components/login-dialog/login-dialog.component.scss +0 -4
  296. package/lib/mock/data-column.mock.d.ts +0 -51
  297. package/lib/models/product-version.model.d.ts +0 -24
  298. package/lib/notifications/components/add-notification.stories.component.d.ts +0 -10
  299. package/lib/progress/progress.component.d.ts +0 -36
  300. package/lib/sorting-picker/public-api.d.ts +0 -17
  301. package/lib/sorting-picker/sorting-picker.component.d.ts +0 -38
  302. package/lib/styles/_theming.scss +0 -3
  303. package/lib/styles/_typography.scss +0 -18
  304. package/lib/testing/core.story.module.d.ts +0 -9
@@ -16,7 +16,6 @@
16
16
  */
17
17
  export { CardViewComponent, CardViewBoolItemComponent, CardViewDateItemComponent, CardViewMapItemComponent, CardViewTextItemComponent, CardViewSelectItemComponent, CardViewKeyValuePairsItemComponent, CardViewArrayItemComponent, SelectFilterInputComponent } from './components/card-view.components';
18
18
  export * from './interfaces/card-view.interfaces';
19
- export * from './interfaces/card-view.interfaces';
20
19
  export * from './validators/card-view.validators';
21
20
  export * from './models/card-view.models';
22
21
  export * from './services/card-view.services';
@@ -20,8 +20,8 @@ export interface LengthValidatorParams {
20
20
  maxLength: number;
21
21
  }
22
22
  export declare class CardViewItemLengthValidator implements CardViewItemValidator {
23
- private minLength;
24
- private maxLength;
23
+ private readonly minLength;
24
+ private readonly maxLength;
25
25
  message: string;
26
26
  constructor(minLength: number, maxLength: number);
27
27
  isValid(value: string | string[]): boolean;
@@ -21,9 +21,9 @@ export interface MatchValidatorParams {
21
21
  requiresMatch?: boolean;
22
22
  }
23
23
  export declare class CardViewItemMatchValidator implements CardViewItemValidator {
24
- private expression;
25
- private flags?;
26
- private requiresMatch?;
24
+ private readonly expression;
25
+ private readonly flags?;
26
+ private readonly requiresMatch?;
27
27
  message: string;
28
28
  constructor(expression: string, flags?: string, requiresMatch?: boolean);
29
29
  isValid(value: string | string[]): boolean;
@@ -20,10 +20,10 @@ export interface MinMaxValidatorParams {
20
20
  maxValue: number;
21
21
  }
22
22
  export declare class CardViewItemMinMaxValidator implements CardViewItemValidator {
23
- private minValue;
24
- private maxValue;
23
+ private readonly minValue;
24
+ private readonly maxValue;
25
25
  message: string;
26
- private intValidator;
26
+ private readonly intValidator;
27
27
  constructor(minValue: number, maxValue: number);
28
28
  isValid(value: number | number[] | ''): boolean;
29
29
  private isInRange;
@@ -14,29 +14,24 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { ViewContainerRef, OnInit } from '@angular/core';
18
- import { ClipboardService } from './clipboard.service';
17
+ import { ViewContainerRef } from '@angular/core';
19
18
  import * as i0 from "@angular/core";
19
+ import * as i1 from "@angular/material/tooltip";
20
20
  export declare class ClipboardDirective {
21
- private clipboardService;
21
+ private readonly clipboardService;
22
22
  viewContainerRef: ViewContainerRef;
23
+ private readonly matTooltip;
24
+ private readonly translate;
23
25
  /** Translation key or message for the tooltip. */
24
26
  placeholder: string;
25
27
  /** Reference to the HTML element containing the text to copy. */
26
28
  target: HTMLInputElement | HTMLTextAreaElement;
27
29
  /** Translation key or message for snackbar notification. */
28
30
  message: string;
29
- constructor(clipboardService: ClipboardService, viewContainerRef: ViewContainerRef);
30
31
  showTooltip(): void;
31
32
  closeTooltip(): void;
32
33
  copyToClipboard(event: KeyboardEvent | MouseEvent): void;
33
34
  private copyContentToClipboard;
34
35
  static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardDirective, never>;
35
- static ɵdir: i0.ɵɵDirectiveDeclaration<ClipboardDirective, "[adf-clipboard]", ["adfClipboard"], { "placeholder": { "alias": "adf-clipboard"; "required": false; }; "target": { "alias": "target"; "required": false; }; "message": { "alias": "clipboard-notification"; "required": false; }; }, {}, never, never, true, never>;
36
- }
37
- export declare class ClipboardComponent implements OnInit {
38
- placeholder: string;
39
- ngOnInit(): void;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<ClipboardComponent, "adf-copy-content-tooltip", never, {}, {}, never, never, true, never>;
36
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClipboardDirective, "[adf-clipboard]", ["adfClipboard"], { "placeholder": { "alias": "adf-clipboard"; "required": false; }; "target": { "alias": "target"; "required": false; }; "message": { "alias": "clipboard-notification"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.MatTooltip; inputs: {}; outputs: {}; }]>;
42
37
  }
@@ -1,10 +1,11 @@
1
- import { ClipboardDirective, ClipboardComponent } from './clipboard.directive';
1
+ import { ClipboardDirective } from './clipboard.directive';
2
2
  import * as i0 from "@angular/core";
3
- import * as i1 from "./clipboard.directive";
4
- export declare const CLIPBOARD_DIRECTIVES: readonly [typeof ClipboardDirective, typeof ClipboardComponent];
3
+ import * as i1 from "@angular/material/tooltip";
4
+ import * as i2 from "./clipboard.directive";
5
+ export declare const CLIPBOARD_DIRECTIVES: readonly [typeof ClipboardDirective];
5
6
  /** @deprecated use `...CLIPBOARD_DIRECTIVES` or import standalone directives */
6
7
  export declare class ClipboardModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<ClipboardModule, never, [typeof i1.ClipboardDirective, typeof i1.ClipboardComponent], [typeof i1.ClipboardDirective, typeof i1.ClipboardComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClipboardModule, never, [typeof i1.MatTooltipModule, typeof i2.ClipboardDirective], [typeof i1.MatTooltipModule, typeof i2.ClipboardDirective]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<ClipboardModule>;
10
11
  }
@@ -1,9 +1,7 @@
1
- import { NotificationService } from '../notifications/services/notification.service';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class ClipboardService {
4
- private document;
5
- private notificationService;
6
- constructor(document: any, notificationService: NotificationService);
3
+ private readonly document;
4
+ private readonly notificationService;
7
5
  /**
8
6
  * Checks if the target element can have its text copied.
9
7
  *
@@ -22,7 +22,7 @@ export declare class CommentListComponent {
22
22
  comments: CommentModel[];
23
23
  /** Emitted when the user clicks on one of the comment rows. */
24
24
  clickRow: EventEmitter<CommentModel>;
25
- private commentsService;
25
+ private readonly commentsService;
26
26
  selectComment(comment: CommentModel): void;
27
27
  getUserImage(userId: string): string;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<CommentListComponent, never>;
@@ -15,10 +15,11 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { CommentModel } from '../models/comment.model';
18
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
18
+ import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
19
19
  import { FormControl } from '@angular/forms';
20
20
  import * as i0 from "@angular/core";
21
21
  export declare class CommentsComponent implements OnChanges {
22
+ commentInput: ElementRef<HTMLTextAreaElement>;
22
23
  /** The numeric ID of the task. */
23
24
  id: string;
24
25
  /** Are the comments read only? */
@@ -29,7 +30,7 @@ export declare class CommentsComponent implements OnChanges {
29
30
  commentAdded: EventEmitter<CommentModel>;
30
31
  comments: CommentModel[];
31
32
  beingAdded: boolean;
32
- private commentsService;
33
+ private readonly commentsService;
33
34
  private readonly _commentControl;
34
35
  get commentControl(): FormControl<string>;
35
36
  ngOnChanges(changes: SimpleChanges): void;
@@ -8,35 +8,11 @@ adf-comments {
8
8
 
9
9
  .adf-comments-input-container {
10
10
  width: 100%;
11
- padding-bottom: 8px;
11
+ padding: 10px 0;
12
12
 
13
- #{ms.$mat-form-field} {
13
+ .adf-comments-input-form-field {
14
14
  width: 100%;
15
-
16
- &#{ms.$mat-form-field-invalid} {
17
- #{ms.$mat-input-element} {
18
- &::placeholder,
19
- &:focus::placeholder {
20
- color: var(--theme-warn-color);
21
- }
22
- }
23
- }
24
- }
25
-
26
- #{ms.$mat-form-field-wrapper} {
27
- #{ms.$mat-form-field-flex} {
28
- #{ms.$mat-form-field-infix} {
29
- padding-bottom: 2px;
30
- padding-top: 25px;
31
- }
32
- }
33
-
34
- #{ms.$mat-input-element} {
35
- &:focus::placeholder {
36
- color: var(--theme-primary-color);
37
- -webkit-font-smoothing: subpixel-antialiased;
38
- }
39
- }
15
+ margin-bottom: 10px;
40
16
  }
41
17
 
42
18
  textarea {
@@ -46,10 +22,6 @@ adf-comments {
46
22
  }
47
23
  }
48
24
 
49
- .adf-comments-divider {
50
- border-bottom: 1px solid var(--adf-theme-foreground-divider-color);
51
- }
52
-
53
25
  .adf-comments-header {
54
26
  padding: 10px 0;
55
27
  font-size: var(--theme-body-1-font-size);
@@ -57,7 +29,6 @@ adf-comments {
57
29
  }
58
30
 
59
31
  .adf-comments-input-actions {
60
- padding-top: 16px;
61
32
  display: flex;
62
33
  justify-content: flex-end;
63
34
  }
@@ -27,7 +27,6 @@ export * from './services/sort-by-category.service';
27
27
  export * from './services/download.service';
28
28
  export * from './services/url.service';
29
29
  export * from './models/log-levels.model';
30
- export * from './models/user-info-mode.enum';
31
30
  export * from './models/default-languages.model';
32
31
  export * from './interface/search-component.interface';
33
32
  export * from './mock/app-config.service.mock';
@@ -1,14 +1,10 @@
1
- import { AppConfigService } from '../../app-config/app-config.service';
2
1
  import { Subject } from 'rxjs';
3
2
  import * as i0 from "@angular/core";
4
- /**
5
- * @deprecated This service is deprecated and will be removed in future versions.
6
- */
7
3
  export declare class LogService {
8
- private appConfig;
4
+ private readonly appConfig;
9
5
  get currentLogLevel(): number;
10
6
  onMessage: Subject<any>;
11
- constructor(appConfig: AppConfigService);
7
+ constructor();
12
8
  /**
13
9
  * Logs a message at the "ERROR" level.
14
10
  *
@@ -1,14 +1,11 @@
1
- import { Title } from '@angular/platform-browser';
2
- import { AppConfigService } from '../../app-config/app-config.service';
3
- import { TranslationService } from '../../translation/translation.service';
4
1
  import * as i0 from "@angular/core";
5
2
  export declare class PageTitleService {
6
- private titleService;
7
- private appConfig;
8
- private translationService;
3
+ private readonly titleService;
4
+ private readonly appConfig;
5
+ private readonly translationService;
9
6
  private originalTitle;
10
7
  private translatedTitle;
11
- constructor(titleService: Title, appConfig: AppConfigService, translationService: TranslationService);
8
+ constructor();
12
9
  /**
13
10
  * Sets the page title.
14
11
  *
@@ -1,9 +1,7 @@
1
- import { MatIconRegistry } from '@angular/material/icon';
2
- import { DomSanitizer } from '@angular/platform-browser';
3
1
  import * as i0 from "@angular/core";
4
2
  export declare class ThumbnailService {
5
3
  mimeTypeIcons: any;
6
- constructor(matIconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
4
+ constructor();
7
5
  /**
8
6
  * Gets a thumbnail URL for a MIME type.
9
7
  *
@@ -1,8 +1,6 @@
1
- import { DomSanitizer } from '@angular/platform-browser';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class UrlService {
4
- private sanitizer;
5
- constructor(sanitizer: DomSanitizer);
3
+ private readonly sanitizer;
6
4
  /**
7
5
  * Creates a trusted object URL from the Blob.
8
6
  * WARNING: calling this method with untrusted user data exposes your application to XSS security risks!
@@ -1,21 +1,37 @@
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 { Signal } from '@angular/core';
1
18
  import { TranslateService } from '@ngx-translate/core';
2
19
  import { Observable } from 'rxjs';
3
- import { AppConfigService } from '../../app-config/app-config.service';
4
- import { StorageService } from './storage.service';
5
20
  import * as i0 from "@angular/core";
6
- export declare enum UserPreferenceValues {
7
- PaginationSize = "paginationSize",
8
- Locale = "locale",
9
- SupportedPageSizes = "supportedPageSizes",
10
- ExpandedSideNavStatus = "expandedSidenav"
11
- }
21
+ export declare const UserPreferenceValues: {
22
+ readonly PaginationSize: "paginationSize";
23
+ readonly Locale: "locale";
24
+ readonly SupportedPageSizes: "supportedPageSizes";
25
+ readonly ExpandedSideNavStatus: "expandedSidenav";
26
+ };
27
+ export type UserPreferenceValues = (typeof UserPreferenceValues)[keyof typeof UserPreferenceValues];
12
28
  export declare class UserPreferencesService {
13
29
  translate: TranslateService;
14
- private appConfig;
15
- private storage;
16
- private document;
17
- private rendererFactory;
18
- private directionality;
30
+ private readonly appConfig;
31
+ private readonly storage;
32
+ private readonly document;
33
+ private readonly rendererFactory;
34
+ private readonly directionality;
19
35
  defaults: {
20
36
  paginationSize: number;
21
37
  supportedPageSizes: number[];
@@ -23,10 +39,57 @@ export declare class UserPreferencesService {
23
39
  expandedSidenav: boolean;
24
40
  };
25
41
  private userPreferenceStatus;
26
- private onChangeSubject;
42
+ private readonly onChangeSubject;
27
43
  onChange: Observable<any>;
28
- constructor(translate: TranslateService, appConfig: AppConfigService, storage: StorageService);
44
+ /**
45
+ * Observable that emits the current locale whenever it changes.
46
+ * This is a convenience property that simplifies subscribing to locale changes.
47
+ *
48
+ * @example Observable usage (requires manual unsubscription):
49
+ * ```typescript
50
+ * constructor(private userPreferencesService: UserPreferencesService) {
51
+ * this.userPreferencesService.locale$
52
+ * .pipe(takeUntilDestroyed())
53
+ * .subscribe(locale => {
54
+ * this.currentLocale = locale;
55
+ * });
56
+ * }
57
+ * ```
58
+ *
59
+ * @example Signal usage (automatic cleanup, recommended):
60
+ * ```typescript
61
+ * export class MyComponent {
62
+ * private userPreferencesService = inject(UserPreferencesService);
63
+ * currentLocale = this.userPreferencesService.localeSignal; // Signal - no subscription needed!
64
+ * }
65
+ * ```
66
+ */
67
+ readonly locale$: Observable<string>;
68
+ /**
69
+ * Signal that provides the current locale value.
70
+ * Automatically handles cleanup - no need for takeUntilDestroyed or manual unsubscription.
71
+ * This is the recommended way to access locale in components.
72
+ */
73
+ readonly localeSignal: Signal<string>;
74
+ /**
75
+ * Observable that emits the current pagination size whenever it changes.
76
+ */
77
+ readonly paginationSize$: Observable<number>;
78
+ /**
79
+ * Signal that provides the current pagination size value.
80
+ */
81
+ readonly paginationSizeSignal: Signal<number>;
82
+ /**
83
+ * Observable that emits the supported page sizes whenever they change.
84
+ */
85
+ readonly supportedPageSizes$: Observable<number[]>;
86
+ /**
87
+ * Signal that provides the supported page sizes array.
88
+ */
89
+ readonly supportedPageSizesSignal: Signal<number[]>;
90
+ constructor();
29
91
  private initUserPreferenceStatus;
92
+ private initPaginationPreferences;
30
93
  private initUserLanguage;
31
94
  /**
32
95
  * Sets up a callback to notify when a property has changed.
@@ -16,8 +16,6 @@
16
16
  */
17
17
  import { DateFnsAdapter } from '@angular/material-date-fns-adapter';
18
18
  import { MatDateFormats } from '@angular/material/core';
19
- import { UserPreferencesService } from '../services/user-preferences.service';
20
- import { Locale } from 'date-fns';
21
19
  import * as i0 from "@angular/core";
22
20
  /**
23
21
  * Date-fns adapter with moment-to-date-fns conversion.
@@ -49,14 +47,14 @@ export declare const DEFAULT_DATE_FORMAT = "dd-MM-yyyy";
49
47
  */
50
48
  export declare const ADF_DATE_FORMATS: MatDateFormats;
51
49
  export declare class AdfDateFnsAdapter extends DateFnsAdapter {
52
- private formats;
50
+ private readonly formats;
53
51
  private _displayFormat?;
54
52
  get displayFormat(): string | null;
55
53
  set displayFormat(value: string | null);
56
- constructor(matDateLocale: Locale, formats: MatDateFormats, preferences: UserPreferencesService);
54
+ constructor();
57
55
  parse(value: any, parseFormat: string | string[]): Date;
58
56
  format(date: Date, displayFormat: string): string;
59
57
  private parseAndValidateDate;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<AdfDateFnsAdapter, [{ optional: true; }, { optional: true; }, null]>;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdfDateFnsAdapter, never>;
61
59
  static ɵprov: i0.ɵɵInjectableDeclaration<AdfDateFnsAdapter>;
62
60
  }
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export declare class DateFnsUtils {
18
18
  static getLocaleFromString(locale: string): Locale;
19
- private static momentToDateFnsMap;
19
+ private static readonly momentToDateFnsMap;
20
20
  /**
21
21
  * Converts a Moment.js date format string to the equivalent date-fns format string.
22
22
  *
@@ -1,17 +1,15 @@
1
1
  import { DatetimeAdapter, MatDatetimeFormats } from '@mat-datetimepicker/core';
2
- import { DateAdapter } from '@angular/material/core';
3
- import { Locale } from 'date-fns';
4
2
  import * as i0 from "@angular/core";
5
3
  /**
6
4
  * Material date/time formats for Date-fns (mat-datetimepicker)
7
5
  */
8
6
  export declare const ADF_DATETIME_FORMATS: MatDatetimeFormats;
9
7
  export declare class AdfDateTimeFnsAdapter extends DatetimeAdapter<Date> {
10
- private formats;
8
+ private readonly formats;
11
9
  private _displayFormat?;
12
10
  get displayFormat(): string | null;
13
11
  set displayFormat(value: string | null);
14
- constructor(matDateLocale: Locale, formats: MatDatetimeFormats, dateAdapter: DateAdapter<Date, Locale>);
12
+ constructor();
15
13
  getHour(date: Date): number;
16
14
  getMinute(date: Date): number;
17
15
  getFirstDateOfMonth(date: Date): Date;
@@ -24,6 +22,6 @@ export declare class AdfDateTimeFnsAdapter extends DatetimeAdapter<Date> {
24
22
  private getDateInNextMonth;
25
23
  parse(value: any, parseFormat: any): Date;
26
24
  format(date: Date, displayFormat: any): string;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<AdfDateTimeFnsAdapter, [{ optional: true; }, { optional: true; }, null]>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdfDateTimeFnsAdapter, never>;
28
26
  static ɵprov: i0.ɵɵInjectableDeclaration<AdfDateTimeFnsAdapter>;
29
27
  }
@@ -1,5 +1,4 @@
1
1
  import { DateAdapter } from '@angular/material/core';
2
- import { UserPreferencesService } from '../services/user-preferences.service';
3
2
  import * as i0 from "@angular/core";
4
3
  type Moment = any;
5
4
  /**
@@ -9,7 +8,7 @@ type Moment = any;
9
8
  export declare class MomentDateAdapter extends DateAdapter<Moment> {
10
9
  private localeData;
11
10
  overrideDisplayFormat: string;
12
- constructor(preferences: UserPreferencesService);
11
+ constructor();
13
12
  getYear(date: Moment): number;
14
13
  getMonth(date: Moment): number;
15
14
  getDate(date: Moment): number;
@@ -1,18 +1,18 @@
1
1
  import { MatMenuItem } from '@angular/material/menu';
2
- import { ContextMenuOverlayRef } from './context-menu-overlay';
3
2
  import { AfterViewInit, QueryList } from '@angular/core';
3
+ import { ContextMenuItem } from './interfaces';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ContextMenuListComponent implements AfterViewInit {
6
- private contextMenuOverlayRef;
7
- private data;
6
+ private readonly contextMenuOverlayRef;
7
+ private readonly data;
8
8
  private keyManager;
9
9
  items: QueryList<MatMenuItem>;
10
- links: any[];
11
- handleKeydownEscape(event: KeyboardEvent): void;
10
+ links: ContextMenuItem[];
11
+ handleKeydownEscape(event: Event): void;
12
12
  handleKeydownEvent(event: KeyboardEvent): void;
13
- constructor(contextMenuOverlayRef: ContextMenuOverlayRef, data: any);
14
- onMenuItemClick(event: Event, menuItem: any): void;
13
+ constructor();
14
+ onMenuItemClick(event: Event, menuItem: ContextMenuItem): void;
15
15
  ngAfterViewInit(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuListComponent, [null, { optional: true; }]>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuListComponent, never>;
17
17
  static ɵcmp: i0.ɵɵComponentDeclaration<ContextMenuListComponent, "adf-context-menu", never, {}, {}, never, never, true, never>;
18
18
  }
@@ -16,7 +16,7 @@
16
16
  */
17
17
  import { OverlayRef } from '@angular/cdk/overlay';
18
18
  export declare class ContextMenuOverlayRef {
19
- private overlayRef;
19
+ private readonly overlayRef;
20
20
  constructor(overlayRef: OverlayRef);
21
21
  close(): void;
22
22
  }
@@ -1,28 +1,9 @@
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 { Injector } from '@angular/core';
18
- import { Overlay } from '@angular/cdk/overlay';
19
1
  import { ContextMenuOverlayRef } from './context-menu-overlay';
20
2
  import { ContextMenuOverlayConfig } from './interfaces';
21
3
  import * as i0 from "@angular/core";
22
4
  export declare class ContextMenuOverlayService {
23
- private injector;
24
- private overlay;
25
- constructor(injector: Injector, overlay: Overlay);
5
+ private readonly injector;
6
+ private readonly overlay;
26
7
  open(config: ContextMenuOverlayConfig): ContextMenuOverlayRef;
27
8
  private createOverlay;
28
9
  private attachDialogContainer;
@@ -1,12 +1,10 @@
1
- import { ContextMenuOverlayService } from './context-menu-overlay.service';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class ContextMenuDirective {
4
- private contextMenuService;
3
+ private readonly contextMenuService;
5
4
  /** Items for the menu. */
6
5
  links: any[] | (() => any[]);
7
6
  /** Is the menu enabled? */
8
7
  enabled: boolean;
9
- constructor(contextMenuService: ContextMenuOverlayService);
10
8
  onShowContextMenu(event?: MouseEvent): void;
11
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
12
10
  static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[adf-context-menu]", never, { "links": { "alias": "adf-context-menu"; "required": false; }; "enabled": { "alias": "adf-context-menu-enabled"; "required": false; }; }, {}, never, never, true, never>;
@@ -15,4 +15,5 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { InjectionToken } from '@angular/core';
18
- export declare const CONTEXT_MENU_DATA: InjectionToken<any>;
18
+ import { ContextMenuItem } from './interfaces';
19
+ export declare const CONTEXT_MENU_DATA: InjectionToken<ContextMenuItem[]>;
@@ -19,5 +19,18 @@ export interface ContextMenuOverlayConfig {
19
19
  hasBackdrop?: boolean;
20
20
  backdropClass?: string;
21
21
  source?: MouseEvent;
22
- data?: any;
22
+ data?: ContextMenuItem[];
23
+ }
24
+ export interface ContextMenuItem {
25
+ title?: string;
26
+ model?: {
27
+ title?: string;
28
+ visible?: boolean;
29
+ disabled?: boolean;
30
+ icon?: string;
31
+ tooltip?: string;
32
+ };
33
+ subject: {
34
+ next: (value: ContextMenuItem) => void;
35
+ };
23
36
  }