@eui/components 19.1.1-snapshot-1740477848147 → 19.1.1-snapshot-1741264224607

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 (283) hide show
  1. package/directives/eui-clearable.directive.d.ts.map +1 -1
  2. package/directives/eui-loading.directive.d.ts.map +1 -1
  3. package/directives/eui-maxlength.directive.d.ts.map +1 -1
  4. package/directives/eui-scroll-handler.directive.d.ts.map +1 -1
  5. package/directives/eui-smooth-scroll.directive.d.ts.map +1 -1
  6. package/directives/eui-tooltip/eui-tooltip.directive.d.ts.map +1 -1
  7. package/docs/components/EuiAutocompleteComponent.html +1 -1
  8. package/docs/components/EuiAvatarBadgeComponent.html +52 -0
  9. package/docs/components/EuiAvatarComponent.html +109 -1
  10. package/docs/components/EuiAvatarIconComponent.html +16 -0
  11. package/docs/components/EuiAvatarImageComponent.html +42 -0
  12. package/docs/components/EuiAvatarListComponent.html +45 -0
  13. package/docs/components/EuiAvatarTextComponent.html +38 -0
  14. package/docs/components/EuiDisableContentComponent.html +167 -191
  15. package/docs/components/EuiDiscussionThreadComponent.html +77 -1
  16. package/docs/components/EuiDiscussionThreadItemComponent.html +118 -0
  17. package/docs/components/EuiIconToggleComponent.html +149 -0
  18. package/docs/components/EuiLanguageSelectorComponent.html +1 -5
  19. package/docs/components/EuiListComponent.html +130 -0
  20. package/docs/components/EuiListItemComponent.html +29 -0
  21. package/docs/components/EuiMessageBoxComponent.html +192 -2
  22. package/docs/components/EuiPageColumnComponent.html +0 -10
  23. package/docs/components/EuiPopoverComponent.html +119 -8
  24. package/docs/components/EuiTimebarComponent.html +87 -2
  25. package/docs/components/EuiWizardComponent.html +1 -1
  26. package/docs/dependencies.html +33 -33
  27. package/docs/directives/EuiPopoverArrowPositionDirective.html +29 -0
  28. package/docs/injectables/EuiMessageBoxService.html +49 -3
  29. package/docs/interfaces/EuiDiscussionThreadItem.html +61 -0
  30. package/docs/js/menu-wc.js +48 -50
  31. package/docs/js/menu-wc_es5.js +1 -1
  32. package/docs/js/search/search_index.js +2 -2
  33. package/docs/miscellaneous/typealiases.html +6 -0
  34. package/docs/miscellaneous/variables.html +59 -5
  35. package/docs/modules/EuiAvatarModule.html +25 -4
  36. package/docs/modules/EuiDisableContentModule.html +22 -4
  37. package/docs/modules/EuiDiscussionThreadModule.html +16 -1
  38. package/docs/modules/EuiIconToggleModule.html +23 -11
  39. package/docs/modules/EuiListModule.html +17 -2
  40. package/docs/modules/EuiMessageBoxModule.html +13 -1
  41. package/docs/modules/EuiPopoverModule.html +16 -1
  42. package/docs/modules/EuiTimebarModule.html +23 -14
  43. package/eui-alert/eui-alert.component.d.ts.map +1 -1
  44. package/eui-autocomplete/eui-autocomplete-option/eui-autocomplete-option.component.d.ts.map +1 -1
  45. package/eui-autocomplete/eui-autocomplete.component.d.ts.map +1 -1
  46. package/eui-avatar/avatar-badge/avatar-badge.component.d.ts +37 -0
  47. package/eui-avatar/avatar-badge/avatar-badge.component.d.ts.map +1 -1
  48. package/eui-avatar/avatar-icon/avatar-icon.component.d.ts +18 -0
  49. package/eui-avatar/avatar-icon/avatar-icon.component.d.ts.map +1 -1
  50. package/eui-avatar/avatar-image/avatar-image.component.d.ts +26 -0
  51. package/eui-avatar/avatar-image/avatar-image.component.d.ts.map +1 -1
  52. package/eui-avatar/avatar-list/avatar-list.component.d.ts +30 -0
  53. package/eui-avatar/avatar-list/avatar-list.component.d.ts.map +1 -1
  54. package/eui-avatar/avatar-text/avatar-text.component.d.ts +35 -0
  55. package/eui-avatar/avatar-text/avatar-text.component.d.ts.map +1 -1
  56. package/eui-avatar/eui-avatar.component.d.ts +85 -1
  57. package/eui-avatar/eui-avatar.component.d.ts.map +1 -1
  58. package/eui-avatar/eui-avatar.module.d.ts +33 -10
  59. package/eui-avatar/eui-avatar.module.d.ts.map +1 -1
  60. package/eui-badge/eui-badge.component.d.ts.map +1 -1
  61. package/eui-block-content/eui-block-content.component.d.ts.map +1 -1
  62. package/eui-block-document/eui-block-document.component.d.ts.map +1 -1
  63. package/eui-button/eui-button.component.d.ts.map +1 -1
  64. package/eui-button-group/eui-button-group.component.d.ts.map +1 -1
  65. package/eui-button-v2/eui-button-v2.component.d.ts.map +1 -1
  66. package/eui-card/components/eui-card-header/eui-card-header.component.d.ts.map +1 -1
  67. package/eui-card/eui-card.component.d.ts.map +1 -1
  68. package/eui-chip/eui-chip.component.d.ts.map +1 -1
  69. package/eui-chip-list/eui-chip-list.component.d.ts.map +1 -1
  70. package/eui-dashboard-card/eui-dashboard-card.component.d.ts.map +1 -1
  71. package/eui-date-range-selector/eui-date-range-selector.component.d.ts.map +1 -1
  72. package/eui-datepicker/eui-datepicker.component.d.ts.map +1 -1
  73. package/eui-dialog/eui-dialog.component.d.ts.map +1 -1
  74. package/eui-disable-content/eui-disable-content.component.d.ts +80 -13
  75. package/eui-disable-content/eui-disable-content.component.d.ts.map +1 -1
  76. package/eui-discussion-thread/eui-discussion-thread-item.component.d.ts +65 -0
  77. package/eui-discussion-thread/eui-discussion-thread-item.component.d.ts.map +1 -1
  78. package/eui-discussion-thread/eui-discussion-thread.component.d.ts +51 -0
  79. package/eui-discussion-thread/eui-discussion-thread.component.d.ts.map +1 -1
  80. package/eui-discussion-thread/eui-discussion-thread.module.d.ts +19 -1
  81. package/eui-discussion-thread/eui-discussion-thread.module.d.ts.map +1 -1
  82. package/eui-discussion-thread/models/eui-discussion-thread-item.model.d.ts +45 -0
  83. package/eui-discussion-thread/models/eui-discussion-thread-item.model.d.ts.map +1 -1
  84. package/eui-dropdown/dropdown-item/eui-dropdown-item.component.d.ts.map +1 -1
  85. package/eui-dropdown/eui-dropdown.component.d.ts.map +1 -1
  86. package/eui-feedback-message/eui-feedback-message.component.d.ts.map +1 -1
  87. package/eui-fieldset/eui-fieldset.component.d.ts.map +1 -1
  88. package/eui-file-upload/eui-file-upload.component.d.ts.map +1 -1
  89. package/eui-file-upload/file-preview/file-preview.component.d.ts.map +1 -1
  90. package/eui-growl/eui-growl.component.d.ts.map +1 -1
  91. package/eui-icon/eui-icon-svg.component.d.ts.map +1 -1
  92. package/eui-icon-button/eui-icon-button.component.d.ts.map +1 -1
  93. package/eui-icon-button-expander/eui-icon-button-expander.component.d.ts.map +1 -1
  94. package/eui-icon-input/eui-icon-input.component.d.ts.map +1 -1
  95. package/eui-icon-toggle/eui-icon-toggle.component.d.ts +96 -1
  96. package/eui-icon-toggle/eui-icon-toggle.component.d.ts.map +1 -1
  97. package/eui-icon-toggle/eui-icon-toggle.module.d.ts +19 -4
  98. package/eui-icon-toggle/eui-icon-toggle.module.d.ts.map +1 -1
  99. package/eui-input-number/eui-input-number.component.d.ts.map +1 -1
  100. package/eui-label/eui-label.component.d.ts.map +1 -1
  101. package/eui-language-selector/language-selector.component.d.ts +4 -2
  102. package/eui-language-selector/language-selector.component.d.ts.map +1 -1
  103. package/eui-list/eui-list-item/eui-list-item.component.d.ts +34 -0
  104. package/eui-list/eui-list-item/eui-list-item.component.d.ts.map +1 -1
  105. package/eui-list/eui-list.component.d.ts +56 -0
  106. package/eui-list/eui-list.component.d.ts.map +1 -1
  107. package/eui-list/eui-list.module.d.ts +18 -1
  108. package/eui-list/eui-list.module.d.ts.map +1 -1
  109. package/eui-menu/eui-menu-item.component.d.ts.map +1 -1
  110. package/eui-menu/eui-menu.component.d.ts.map +1 -1
  111. package/eui-message-box/eui-message-box.component.d.ts +148 -2
  112. package/eui-message-box/eui-message-box.component.d.ts.map +1 -1
  113. package/eui-message-box/eui-message-box.module.d.ts +15 -1
  114. package/eui-message-box/eui-message-box.module.d.ts.map +1 -1
  115. package/eui-message-box/services/eui-message-box.service.d.ts +58 -3
  116. package/eui-message-box/services/eui-message-box.service.d.ts.map +1 -1
  117. package/eui-navbar/eui-navbar-item/eui-navbar-item.component.d.ts.map +1 -1
  118. package/eui-overlay/eui-overlay.component.d.ts.map +1 -1
  119. package/eui-page/components/eui-page-column/eui-page-column.component.d.ts.map +1 -1
  120. package/eui-page/components/eui-page-columns/eui-page-columns.component.d.ts.map +1 -1
  121. package/eui-page/components/eui-page-header/eui-page-header.component.d.ts.map +1 -1
  122. package/eui-paginator/eui-paginator.component.d.ts.map +1 -1
  123. package/eui-popover/directives/eui-popover-arrow-position.directive.d.ts +32 -0
  124. package/eui-popover/directives/eui-popover-arrow-position.directive.d.ts.map +1 -1
  125. package/eui-popover/eui-popover.component.d.ts +119 -7
  126. package/eui-popover/eui-popover.component.d.ts.map +1 -1
  127. package/eui-popover/eui-popover.module.d.ts +18 -1
  128. package/eui-popover/eui-popover.module.d.ts.map +1 -1
  129. package/eui-popover/models/eui-popover-position.model.d.ts +26 -0
  130. package/eui-popover/models/eui-popover-position.model.d.ts.map +1 -1
  131. package/eui-progress-circle/eui-progress-circle.component.d.ts.map +1 -1
  132. package/eui-select/eui-select-option.directive.d.ts.map +1 -1
  133. package/eui-select/eui-select.component.d.ts.map +1 -1
  134. package/eui-sidebar-menu/eui-sidebar-menu.component.d.ts.map +1 -1
  135. package/eui-skeleton/eui-skeleton.component.d.ts.map +1 -1
  136. package/eui-slide-toggle/eui-slide-toggle.component.d.ts.map +1 -1
  137. package/eui-table/eui-table.component.d.ts.map +1 -1
  138. package/eui-table/filter/eui-table-filter.component.d.ts.map +1 -1
  139. package/eui-table/selectable-header/eui-table-selectable-header.component.d.ts.map +1 -1
  140. package/eui-table/selectable-row/eui-table-selectable-row.component.d.ts.map +1 -1
  141. package/eui-table/sortable-col/eui-table-sortable-col.component.d.ts.map +1 -1
  142. package/eui-table-v2/eui-table-v2.component.d.ts.map +1 -1
  143. package/eui-table-v2/selectable-header/eui-table-v2-selectable-header.component.d.ts.map +1 -1
  144. package/eui-table-v2/selectable-row/eui-table-v2-selectable-row.component.d.ts.map +1 -1
  145. package/eui-table-v2/sortable-col/eui-table-v2-sortable-col.component.d.ts.map +1 -1
  146. package/eui-tabs/eui-tab/eui-tab.component.d.ts.map +1 -1
  147. package/eui-tabs/eui-tab-content/eui-tab-content.component.d.ts.map +1 -1
  148. package/eui-tabs/eui-tabs.component.d.ts.map +1 -1
  149. package/eui-textarea/auto-resize.directive.d.ts.map +1 -1
  150. package/eui-textarea/eui-textarea.component.d.ts.map +1 -1
  151. package/eui-timebar/eui-timebar-item.model.d.ts +20 -1
  152. package/eui-timebar/eui-timebar-item.model.d.ts.map +1 -1
  153. package/eui-timebar/eui-timebar.component.d.ts +83 -6
  154. package/eui-timebar/eui-timebar.component.d.ts.map +1 -1
  155. package/eui-timeline/eui-timeline-item.component.d.ts.map +1 -1
  156. package/eui-timeline/eui-timeline.component.d.ts.map +1 -1
  157. package/eui-timepicker/eui-timepicker.component.d.ts.map +1 -1
  158. package/eui-tree/eui-tree.component.d.ts.map +1 -1
  159. package/eui-tree-list/eui-tree-list-item.component.d.ts.map +1 -1
  160. package/eui-tree-list/eui-tree-list.component.d.ts.map +1 -1
  161. package/eui-tree-list/toolbar/toolbar.component.d.ts.map +1 -1
  162. package/eui-user-profile/user-profile-card/user-profile-card.component.d.ts.map +1 -1
  163. package/eui-user-profile/user-profile.component.d.ts.map +1 -1
  164. package/eui-wizard/eui-wizard-step.component.d.ts.map +1 -1
  165. package/eui-wizard/eui-wizard.component.d.ts +1 -0
  166. package/eui-wizard/eui-wizard.component.d.ts.map +1 -1
  167. package/externals/eui-editor/counters/eui-editor-counters.component.d.ts.map +1 -1
  168. package/externals/quill/quill-editor.component.d.ts.map +1 -1
  169. package/fesm2022/eui-components-directives.mjs +70 -70
  170. package/fesm2022/eui-components-eui-accordion.mjs +13 -13
  171. package/fesm2022/eui-components-eui-alert.mjs +10 -10
  172. package/fesm2022/eui-components-eui-autocomplete.mjs +15 -14
  173. package/fesm2022/eui-components-eui-autocomplete.mjs.map +1 -1
  174. package/fesm2022/eui-components-eui-avatar.mjs +286 -36
  175. package/fesm2022/eui-components-eui-avatar.mjs.map +1 -1
  176. package/fesm2022/eui-components-eui-badge.mjs +7 -7
  177. package/fesm2022/eui-components-eui-block-content.mjs +7 -7
  178. package/fesm2022/eui-components-eui-block-document.mjs +7 -7
  179. package/fesm2022/eui-components-eui-breadcrumb.mjs +13 -13
  180. package/fesm2022/eui-components-eui-button-group.mjs +7 -7
  181. package/fesm2022/eui-components-eui-button-v2.mjs +7 -7
  182. package/fesm2022/eui-components-eui-button.mjs +7 -7
  183. package/fesm2022/eui-components-eui-card.mjs +49 -49
  184. package/fesm2022/eui-components-eui-chip-group.mjs +7 -7
  185. package/fesm2022/eui-components-eui-chip-list.mjs +13 -13
  186. package/fesm2022/eui-components-eui-chip.mjs +7 -7
  187. package/fesm2022/eui-components-eui-dashboard-button.mjs +13 -13
  188. package/fesm2022/eui-components-eui-dashboard-button.mjs.map +1 -1
  189. package/fesm2022/eui-components-eui-dashboard-card.mjs +13 -13
  190. package/fesm2022/eui-components-eui-dashboard-card.mjs.map +1 -1
  191. package/fesm2022/eui-components-eui-date-range-selector.mjs +10 -10
  192. package/fesm2022/eui-components-eui-datepicker.mjs +19 -19
  193. package/fesm2022/eui-components-eui-dialog.mjs +19 -19
  194. package/fesm2022/eui-components-eui-dimmer.mjs +7 -7
  195. package/fesm2022/eui-components-eui-disable-content.mjs +113 -39
  196. package/fesm2022/eui-components-eui-disable-content.mjs.map +1 -1
  197. package/fesm2022/eui-components-eui-discussion-thread.mjs +113 -12
  198. package/fesm2022/eui-components-eui-discussion-thread.mjs.map +1 -1
  199. package/fesm2022/eui-components-eui-dropdown.mjs +20 -20
  200. package/fesm2022/eui-components-eui-feedback-message.mjs +8 -8
  201. package/fesm2022/eui-components-eui-feedback-message.mjs.map +1 -1
  202. package/fesm2022/eui-components-eui-fieldset.mjs +13 -13
  203. package/fesm2022/eui-components-eui-file-upload.mjs +19 -19
  204. package/fesm2022/eui-components-eui-growl.mjs +7 -7
  205. package/fesm2022/eui-components-eui-icon-button-expander.mjs +7 -7
  206. package/fesm2022/eui-components-eui-icon-button.mjs +7 -7
  207. package/fesm2022/eui-components-eui-icon-color.mjs +7 -7
  208. package/fesm2022/eui-components-eui-icon-input.mjs +7 -7
  209. package/fesm2022/eui-components-eui-icon-state.mjs +7 -7
  210. package/fesm2022/eui-components-eui-icon-toggle.mjs +106 -10
  211. package/fesm2022/eui-components-eui-icon-toggle.mjs.map +1 -1
  212. package/fesm2022/eui-components-eui-icon.mjs +7 -7
  213. package/fesm2022/eui-components-eui-input-checkbox.mjs +7 -7
  214. package/fesm2022/eui-components-eui-input-group.mjs +13 -13
  215. package/fesm2022/eui-components-eui-input-number.mjs +10 -10
  216. package/fesm2022/eui-components-eui-input-radio.mjs +7 -7
  217. package/fesm2022/eui-components-eui-input-text.mjs +7 -7
  218. package/fesm2022/eui-components-eui-label.mjs +8 -8
  219. package/fesm2022/eui-components-eui-label.mjs.map +1 -1
  220. package/fesm2022/eui-components-eui-language-selector.mjs +23 -12
  221. package/fesm2022/eui-components-eui-language-selector.mjs.map +1 -1
  222. package/fesm2022/eui-components-eui-list.mjs +116 -15
  223. package/fesm2022/eui-components-eui-list.mjs.map +1 -1
  224. package/fesm2022/eui-components-eui-menu.mjs +10 -10
  225. package/fesm2022/eui-components-eui-message-box.mjs +208 -20
  226. package/fesm2022/eui-components-eui-message-box.mjs.map +1 -1
  227. package/fesm2022/eui-components-eui-navbar.mjs +10 -10
  228. package/fesm2022/eui-components-eui-overlay.mjs +19 -19
  229. package/fesm2022/eui-components-eui-page.mjs +61 -62
  230. package/fesm2022/eui-components-eui-page.mjs.map +1 -1
  231. package/fesm2022/eui-components-eui-paginator.mjs +7 -7
  232. package/fesm2022/eui-components-eui-popover.mjs +194 -20
  233. package/fesm2022/eui-components-eui-popover.mjs.map +1 -1
  234. package/fesm2022/eui-components-eui-progress-bar.mjs +7 -7
  235. package/fesm2022/eui-components-eui-progress-circle.mjs +7 -7
  236. package/fesm2022/eui-components-eui-select.mjs +19 -19
  237. package/fesm2022/eui-components-eui-sidebar-menu.mjs +7 -7
  238. package/fesm2022/eui-components-eui-skeleton.mjs +7 -7
  239. package/fesm2022/eui-components-eui-slide-toggle.mjs +8 -8
  240. package/fesm2022/eui-components-eui-slide-toggle.mjs.map +1 -1
  241. package/fesm2022/eui-components-eui-split-button.mjs +7 -7
  242. package/fesm2022/eui-components-eui-table-v2.mjs +34 -34
  243. package/fesm2022/eui-components-eui-table.mjs +34 -34
  244. package/fesm2022/eui-components-eui-tabs.mjs +24 -24
  245. package/fesm2022/eui-components-eui-tabs.mjs.map +1 -1
  246. package/fesm2022/eui-components-eui-textarea.mjs +10 -10
  247. package/fesm2022/eui-components-eui-timebar.mjs +82 -10
  248. package/fesm2022/eui-components-eui-timebar.mjs.map +1 -1
  249. package/fesm2022/eui-components-eui-timeline.mjs +10 -10
  250. package/fesm2022/eui-components-eui-timepicker.mjs +7 -7
  251. package/fesm2022/eui-components-eui-tree-list.mjs +25 -25
  252. package/fesm2022/eui-components-eui-tree.mjs +21 -21
  253. package/fesm2022/eui-components-eui-user-profile.mjs +16 -16
  254. package/fesm2022/eui-components-eui-user-profile.mjs.map +1 -1
  255. package/fesm2022/eui-components-eui-wizard.mjs +16 -15
  256. package/fesm2022/eui-components-eui-wizard.mjs.map +1 -1
  257. package/fesm2022/eui-components-externals-charts.mjs +7 -7
  258. package/fesm2022/eui-components-externals-eui-editor.mjs +28 -28
  259. package/fesm2022/eui-components-externals-quill.mjs +10 -10
  260. package/fesm2022/eui-components-layout.mjs +183 -182
  261. package/fesm2022/eui-components-layout.mjs.map +1 -1
  262. package/fesm2022/eui-components-pipes.mjs +14 -14
  263. package/fesm2022/eui-components-shared.mjs +6 -6
  264. package/fesm2022/eui-components.mjs +4 -4
  265. package/layout/eui-app/eui-app-sidebar/sidebar-header-user-profile/sidebar-header-user-profile.component.d.ts.map +1 -1
  266. package/layout/eui-app/eui-app-sidebar/sidebar-menu/sidebar-menu.component.d.ts.map +1 -1
  267. package/layout/eui-app/eui-app-toolbar/toolbar.component.d.ts.map +1 -1
  268. package/layout/eui-app/eui-app-top-message/top-message.component.d.ts.map +1 -1
  269. package/layout/eui-app/eui-app.component.d.ts.map +1 -1
  270. package/layout/eui-footer/footer.component.d.ts.map +1 -1
  271. package/layout/eui-header/header-user-profile/header-user-profile.component.d.ts.map +1 -1
  272. package/layout/eui-notifications/eui-notification-item.component.d.ts.map +1 -1
  273. package/layout/eui-notifications/eui-notifications.component.d.ts.map +1 -1
  274. package/layout/eui-notifications-v2/eui-notification-item.component.d.ts.map +1 -1
  275. package/layout/eui-notifications-v2/eui-notifications.component.d.ts.map +1 -1
  276. package/layout/eui-toolbar/toolbar-items/toolbar-items.component.d.ts.map +1 -1
  277. package/layout/eui-toolbar/toolbar-navbar-item/toolbar-navbar-item.component.d.ts.map +1 -1
  278. package/layout/eui-toolbar/toolbar-search/toolbar-search.component.d.ts.map +1 -1
  279. package/layout/eui-toolbar/toolbar-selector/toolbar-selector.component.d.ts.map +1 -1
  280. package/layout/eui-toolbar/toolbar.component.d.ts.map +1 -1
  281. package/package.json +3 -3
  282. package/shared/base/base-states.directive.d.ts.map +1 -1
  283. package/shared/input.directive.d.ts.map +1 -1
@@ -7,6 +7,22 @@ import { EuiLabelComponent } from '@eui/components/eui-label';
7
7
  import { EuiTemplateDirective, EuiArrowKeyNavigableDirective } from '@eui/components/directives';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "@eui/components/shared";
10
+ /**
11
+ * @description
12
+ * Component that represents a single item within an EuiList.
13
+ * Implements FocusableOption and Highlightable for keyboard navigation and accessibility.
14
+ *
15
+ * This component is designed to work with the EuiListComponent as part of a navigable list.
16
+ * It supports various display states through the BaseStatesDirective, and can contain
17
+ * nested list components, icons, labels, and custom templates.
18
+ *
19
+ * @example
20
+ * <eui-list>
21
+ * <eui-list-item>Simple item</eui-list-item>
22
+ * <eui-list-item [euiPrimary]="true">Primary item</eui-list-item>
23
+ * <eui-list-item [isActive]="true">Active item</eui-list-item>
24
+ * </eui-list>
25
+ */
10
26
  export declare class EuiListItemComponent implements FocusableOption, Highlightable {
11
27
  baseStatesDirective: BaseStatesDirective;
12
28
  private elementRef;
@@ -21,9 +37,27 @@ export declare class EuiListItemComponent implements FocusableOption, Highlighta
21
37
  euiArrowKeyNavigableDirective: EuiArrowKeyNavigableDirective;
22
38
  isActive: boolean;
23
39
  constructor(baseStatesDirective: BaseStatesDirective, elementRef: ElementRef);
40
+ /**
41
+ * Sets focus on the list item element.
42
+ * Used by the FocusKeyManager to handle keyboard navigation within the list.
43
+ */
24
44
  focus(): void;
45
+ /**
46
+ * Programmatically triggers a click event on the list item element.
47
+ * Typically, invoked when the user presses Enter while the item is focused.
48
+ */
25
49
  click(): void;
50
+ /**
51
+ * Applies active styling to the list item.
52
+ * Called by the FocusKeyManager when this item becomes the active item in the list.
53
+ * Sets the isActive flag to true, which adds the 'eui-list-item--active' CSS class.
54
+ */
26
55
  setActiveStyles(): void;
56
+ /**
57
+ * Removes active styling from the list item.
58
+ * Called by the FocusKeyManager when another item becomes the active item.
59
+ * Sets the isActive flag to false, removing the 'eui-list-item--active' CSS class.
60
+ */
27
61
  setInactiveStyles(): void;
28
62
  static ɵfac: i0.ɵɵFactoryDeclaration<EuiListItemComponent, never>;
29
63
  static ɵcmp: i0.ɵɵComponentDeclaration<EuiListItemComponent, "[euiListItem], eui-list-item", never, { "e2eAttr": { "alias": "e2eAttr"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; }, {}, ["euiArrowKeyNavigableDirective", "euiListComponent", "euiIconSvgComponent", "euiLabelComponent", "templates"], ["eui-icon-svg, span[euiIconSvg]", "[eui-label], [euiLabel]", "*", "[eui-list], [euiList]"], false, [{ directive: typeof i1.BaseStatesDirective; inputs: { "euiPrimary": "euiPrimary"; "euiSecondary": "euiSecondary"; "euiSuccess": "euiSuccess"; "euiInfo": "euiInfo"; "euiWarning": "euiWarning"; "euiDanger": "euiDanger"; "euiAccent": "euiAccent"; "euiVariant": "euiVariant"; }; outputs: {}; }]>;
@@ -1 +1 @@
1
- {"version":3,"file":"eui-list-item.component.d.ts","sourceRoot":"","sources":["../../../eui-list/eui-list-item/eui-list-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,SA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AACvB,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;;;AAEjG;;;;;;;;;;;;;;;GAeG;AACH,qBAqBa,oBAAqB,YAAW,eAAe,EAAE,aAAa;IAsB5D,mBAAmB,EAAE,mBAAmB;IAC/C,OAAO,CAAC,UAAU;IAtBtB,IACI,UAAU,IAAI,MAAM,CAKvB;IAEyB,IAAI,SAAc;IACL,OAAO,SAAmB;IACnC,QAAQ,SAAQ;IAE8B,gBAAgB,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC3C,mBAAmB,EAAE,SAAS,CAAC,mBAAmB,CAAC,CAAC;IACtD,iBAAiB,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC7C,SAAS,EAAE,SAAS,CAAC,oBAAoB,CAAC,CAAC;IAC5D,6BAA6B,EAAE,6BAA6B,CAAC;IAEpF,QAAQ,UAAS;gBAG9C,mBAAmB,EAAE,mBAAmB,EACvC,UAAU,EAAE,UAAU;IAIlC;;;OAGG;IACI,KAAK,IAAI,IAAI;IAIpB;;;OAGG;IAEI,KAAK,IAAI,IAAI;IAIpB;;;;OAIG;IACI,eAAe,IAAI,IAAI;IAI9B;;;;OAIG;IACI,iBAAiB,IAAI,IAAI;yCA1DvB,oBAAoB;2CAApB,oBAAoB;uCA8D2gxC,OAAQ;CADnjxC"}
@@ -1,14 +1,70 @@
1
1
  import { AfterContentInit, QueryList } from '@angular/core';
2
2
  import { EuiListItemComponent } from './eui-list-item/eui-list-item.component';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * @description
6
+ * Component that provides a navigable list implementation with keyboard interaction support.
7
+ * Works with Angular CDK's FocusKeyManager to enable keyboard navigation between list items.
8
+ *
9
+ * The component automatically manages focus between nested lists and supports rich content
10
+ * navigation. It can contain multiple EuiListItemComponents as children.
11
+ *
12
+ * @example
13
+ * <eui-list>
14
+ * <eui-list-item>First item</eui-list-item>
15
+ * <eui-list-item>Second item</eui-list-item>
16
+ * <eui-list-item>
17
+ * Item with nested list
18
+ * <eui-list>
19
+ * <eui-list-item>Nested item 1</eui-list-item>
20
+ * <eui-list-item>Nested item 2</eui-list-item>
21
+ * </eui-list>
22
+ * </eui-list-item>
23
+ * </eui-list>
24
+ */
4
25
  export declare class EuiListComponent implements AfterContentInit {
26
+ /**
27
+ * CSS class binding that applies the 'eui-list' class to the host element.
28
+ * This class applies the basic styling for the list component.
29
+ *
30
+ * @returns {string} The CSS class to be applied to the host element
31
+ */
5
32
  get cssClasses(): string;
33
+ /**
34
+ * Binds the 'list' ARIA role to the host element for accessibility.
35
+ * This informs screen readers that this component functions as a list.
36
+ */
6
37
  role: string;
38
+ /**
39
+ * Binds the tabIndex attribute to the host element.
40
+ * Controls whether the list can receive keyboard focus.
41
+ * Set to '0' for top-level lists and '-1' for nested lists.
42
+ */
7
43
  tabIndex: string;
44
+ /**
45
+ * Collection of all list item components that are children of this list.
46
+ * Includes items from nested lists due to the 'descendants: true' option.
47
+ */
8
48
  items: QueryList<EuiListItemComponent>;
9
49
  private focusKeyManager;
50
+ /**
51
+ * Handles keyboard events for navigating the list.
52
+ * Supports Enter key for selection and arrow keys for navigation.
53
+ *
54
+ * @param {KeyboardEvent} event - The keyboard event to handle
55
+ */
10
56
  onKeydown(event: KeyboardEvent): void;
57
+ /**
58
+ * Initializes the component after content (list items) has been initialized.
59
+ * Sets up the FocusKeyManager for keyboard navigation and configures tabindex
60
+ * attributes based on nested list structure.
61
+ */
11
62
  ngAfterContentInit(): void;
63
+ /**
64
+ * Manages focus state of rich content navigation within list items.
65
+ * Handles the focus transition between list item elements and their navigable content.
66
+ * Called when right/left arrow keys are pressed on items with navigable content.
67
+ */
12
68
  checkRichContentFocusState(): void;
13
69
  static ɵfac: i0.ɵɵFactoryDeclaration<EuiListComponent, never>;
14
70
  static ɵcmp: i0.ɵɵComponentDeclaration<EuiListComponent, "[euiList], eui-list", never, {}, {}, ["items"], ["*"], false, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"eui-list.component.d.ts","sourceRoot":"","sources":["../../eui-list/eui-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,gBAAgB,EAGhB,SAAS,EAEZ,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;;AAE/E,qBAOa,gBAAiB,YAAW,gBAAgB;IACrD,IACI,UAAU,IAAI,MAAM,CAEvB;IAEyB,IAAI,SAAU;IACV,QAAQ,EAAE,MAAM,CAAC;IACiC,KAAK,EAAE,SAAS,CAAC,oBAAoB,CAAC,CAAC;IACvH,OAAO,CAAC,eAAe,CAAwC;IAG/D,SAAS,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IA2BrC,kBAAkB,IAAI,IAAI;IAc1B,0BAA0B,IAAI,IAAI;yCArDzB,gBAAgB;2CAAhB,gBAAgB;CAyD5B"}
1
+ {"version":3,"file":"eui-list.component.d.ts","sourceRoot":"","sources":["../../eui-list/eui-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,gBAAgB,EAGhB,SAAS,EAEZ,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;;AAE/E;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAOa,gBAAiB,YAAW,gBAAgB;IACrD;;;;;OAKG;IACH,IACI,UAAU,IAAI,MAAM,CAEvB;IAED;;;OAGG;IACuB,IAAI,SAAU;IACxC;;;;OAIG;IAC2B,QAAQ,EAAE,MAAM,CAAC;IAC/C;;;OAGG;IAC6E,KAAK,EAAE,SAAS,CAAC,oBAAoB,CAAC,CAAC;IACvH,OAAO,CAAC,eAAe,CAAwC;IAE/D;;;;;OAKG;IAEH,SAAS,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IA2BrC;;;;OAIG;IACH,kBAAkB,IAAI,IAAI;IAc1B;;;;OAIG;IACH,0BAA0B,IAAI,IAAI;yCAxFzB,gBAAgB;2CAAhB,gBAAgB;CA8F5B"}
@@ -5,9 +5,26 @@ import * as i3 from "@angular/common";
5
5
  import * as i4 from "@eui/components/eui-icon";
6
6
  import * as i5 from "@eui/components/eui-button";
7
7
  import * as i6 from "@eui/components/eui-label";
8
+ /**
9
+ * Angular module that provides list components for navigation and content organization.
10
+ *
11
+ * This module bundles the EuiListComponent and EuiListItemComponent along with their
12
+ * required dependencies to create accessible, keyboard-navigable list interfaces.
13
+ *
14
+ * @example
15
+ * // Import the module in your application
16
+ * import { EuiListModule } from '@eui/components/eui-list';
17
+ *
18
+ * @NgModule({
19
+ * imports: [
20
+ * EuiListModule
21
+ * ]
22
+ * })
23
+ * export class YourFeatureModule {}
24
+ */
8
25
  export declare class EuiListModule {
9
26
  static ɵfac: i0.ɵɵFactoryDeclaration<EuiListModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<EuiListModule, [typeof i1.EuiListComponent, typeof i2.EuiListItemComponent], [typeof i3.CommonModule, typeof i4.EuiIconModule, typeof i5.EuiButtonModule, typeof i6.EuiLabelModule], [typeof i1.EuiListComponent, typeof i2.EuiListItemComponent]>;
27
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EuiListModule, [typeof i1.EuiListComponent, typeof i2.EuiListItemComponent], [typeof i3.CommonModule, typeof i4.EuiIconModule, typeof i5.EuiButtonComponent, typeof i6.EuiLabelComponent], [typeof i1.EuiListComponent, typeof i2.EuiListItemComponent]>;
11
28
  static ɵinj: i0.ɵɵInjectorDeclaration<EuiListModule>;
12
29
  }
13
30
  //# sourceMappingURL=eui-list.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"eui-list.module.d.ts","sourceRoot":"","sources":["../../eui-list/eui-list.module.ts"],"names":[],"mappings":";;;;;;;AASA,qBAKa,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAAG"}
1
+ {"version":3,"file":"eui-list.module.d.ts","sourceRoot":"","sources":["../../eui-list/eui-list.module.ts"],"names":[],"mappings":";;;;;;;AASA;;;;;;;;;;;;;;;;GAgBG;AACH,qBAKa,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"eui-menu-item.component.d.ts","sourceRoot":"","sources":["../../eui-menu/eui-menu-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAMH,YAAY,EAEZ,MAAM,EACN,SAAS,EACT,aAAa,EAEb,UAAU,EACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;;AAG3D,qBAOa,oBAAqB,YAAW,MAAM,EAAE,SAAS,EAAE,eAAe;IA4C/D,OAAO,CAAC,UAAU;IA1CJ,IAAI,SAAc;IACZ,SAAS,SAAM;IAE/C,IACW,UAAU,IAAI,MAAM,CAE9B;IAC6B,QAAQ,SAAQ;IAC9C,IACI,YAAY,IAAI,OAAO,CAE1B;IACD,IACI,YAAY,IAAI,OAAO,CAE1B;IACD,IACI,YAAY,IAAI,OAAO,CAE1B;IAEQ,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,WAAW,CAAC;IACpB,aAAa,UAAQ;IACpB,YAAY,qCAAmC;IAC/C,SAAS,qCAAmC;IAEtD,eAAe,SAAY;IAC3B,iBAAiB,SAAc;IAE/B,SAAS,UAAS;IAClB,UAAU,UAAS;IACnB,WAAW,UAAS;IACpB,mBAAmB,UAAS;IAEY,OAAO,EAAE,OAAO,CAAC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,GAAG,IAAI;IAIpD;;;;OAIG;IACH,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IACtC,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IASvC;;;;;;;;;OASG;IACH,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO;IAWvD;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IAMzB;;;;;OAKG;IACH,OAAO,CAAC,qBAAqB;IAI7B;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IAIzB;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IAMjC;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAevB;;;;;;OAMG;IACH,OAAO,CAAC,qBAAqB;IAU7B;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAavB;;;;;;OAMG;IACH,OAAO,CAAC,cAAc;IAgCtB;;;;;;;;OAQG;IACH,OAAO,CAAC,oBAAoB;IAkB5B;;;;;;;OAOG;IACH,OAAO,CAAC,mBAAmB;IAO3B;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IAOzB;;;;OAIG;IACH,OAAO,CAAC,WAAW;IAUnB;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAcpB;;;OAGG;IACH,OAAO,CAAC,eAAe;yCAxiBd,gBAAgB;2CAAhB,gBAAgB;0CA4iB69tB,OAAQ;mDAAR,OAAQ;wCAAR,OAAQ;uCAAR,OAAQ;yCAAR,OAAQ;mDAAR,OAAQ;6CAAR,OAAQ;qCAAR,OAAQ;8CAAR,OAAQ;+CAAR,OAAQ;CADjguB"}
@@ -4,43 +4,189 @@ import { BaseStatesDirective } from '@eui/components/shared';
4
4
  import { EuiMessageBoxService } from './services/eui-message-box.service';
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "@eui/components/shared";
7
+ /**
8
+ * @description
9
+ * Component for displaying modal message boxes with structured content and customizable actions.
10
+ * This component provides a user-friendly interface for confirmation dialogs, alerts, and other
11
+ * types of modal messages.
12
+ *
13
+ * The component supports various styling variants through the BaseStatesDirective hostDirective,
14
+ * customizable buttons, and configurable behavior for dialog actions.
15
+ *
16
+ * @example
17
+ * // Basic usage with title and default buttons:
18
+ * <eui-message-box
19
+ * title="Confirmation Required"
20
+ * (accept)="onConfirm()"
21
+ * (dismiss)="onCancel()">
22
+ * Are you sure you want to proceed with this action?
23
+ * </eui-message-box>
24
+ *
25
+ * @example
26
+ * // Custom styled message box with modified button labels:
27
+ * <eui-message-box
28
+ * title="Warning"
29
+ * euiWarning
30
+ * acceptLabel="Proceed Anyway"
31
+ * dismissLabel="Go Back"
32
+ * [isDraggable]="true">
33
+ * This action cannot be undone.
34
+ * </eui-message-box>
35
+ *
36
+ * @example
37
+ * // Message box with custom footer content:
38
+ * <eui-message-box title="Custom Actions">
39
+ * Select an option below.
40
+ * <eui-message-box-footer>
41
+ * <button eui-button (click)="optionOne()">Option 1</button>
42
+ * <button eui-button (click)="optionTwo()">Option 2</button>
43
+ * </eui-message-box-footer>
44
+ * </eui-message-box>
45
+ */
7
46
  export declare class EuiMessageBoxComponent implements AfterViewInit, OnDestroy {
8
47
  private viewContainerRef;
9
48
  private euiMessageBoxService;
10
49
  baseStatesDirective: BaseStatesDirective;
50
+ /**
51
+ * Data attribute for e2e testing purposes.
52
+ * @default 'eui-dialog'
53
+ */
11
54
  e2eAttr: string;
55
+ /**
56
+ * Title text displayed in the message box header.
57
+ */
12
58
  title: string;
59
+ /**
60
+ * Width of the message box.
61
+ * @default '33rem'
62
+ */
13
63
  width: string;
64
+ /**
65
+ * Height of the message box.
66
+ * @default 'auto'
67
+ */
14
68
  height: string;
69
+ /**
70
+ * Whether to show the accept/confirm button.
71
+ * @default true
72
+ */
15
73
  hasAcceptButton: boolean;
74
+ /**
75
+ * Whether to show the dismiss/cancel button.
76
+ * @default true
77
+ */
16
78
  hasDismissButton: boolean;
79
+ /**
80
+ * Label for the accept/confirm button. Can be a translation key.
81
+ * @default 'eui.OK'
82
+ */
17
83
  acceptLabel: string;
84
+ /**
85
+ * Label for the dismiss/cancel button. Can be a translation key.
86
+ * @default 'eui.CANCEL'
87
+ */
18
88
  dismissLabel: string;
89
+ /**
90
+ * Whether to manually handle closing the dialog on dismiss button click.
91
+ * @default false
92
+ */
19
93
  isHandleCloseOnDismiss: boolean;
94
+ /**
95
+ * Whether to manually handle closing the dialog on close button click.
96
+ * @default false
97
+ */
20
98
  isHandleCloseOnClose: boolean;
99
+ /**
100
+ * Whether to manually handle closing the dialog on accept button click.
101
+ * @default false
102
+ */
21
103
  isHandleCloseOnAccept: boolean;
104
+ /**
105
+ * Whether the message box can be dragged around the screen.
106
+ * @default false
107
+ */
22
108
  isDraggable: boolean;
109
+ /**
110
+ * Whether to remove padding from the message box body.
111
+ * @default false
112
+ */
23
113
  hasNoBodyPadding: boolean;
114
+ /**
115
+ * Event emitted when the message box opens.
116
+ */
24
117
  messageBoxOpen: EventEmitter<any>;
118
+ /**
119
+ * Event emitted when the message box closes.
120
+ */
25
121
  messageBoxClose: EventEmitter<any>;
122
+ /**
123
+ * Event emitted when the dismiss/cancel button is clicked.
124
+ */
26
125
  dismiss: EventEmitter<any>;
126
+ /**
127
+ * Event emitted when the accept/confirm button is clicked.
128
+ */
27
129
  accept: EventEmitter<any>;
130
+ /**
131
+ * Reference to the template containing the message box content.
132
+ * This will be used to create a portal for the content section.
133
+ */
28
134
  templateRefContent: TemplateRef<ElementRef>;
135
+ /**
136
+ * Reference to the template containing the message box footer.
137
+ * This will be used to create a portal for the footer section.
138
+ */
29
139
  templateRefFooter: TemplateRef<EuiMessageBoxFooterDirective>;
140
+ /**
141
+ * Reference to any custom footer content provided through the eui-message-box-footer directive.
142
+ * Forward reference is used to resolve the circular dependency between the component and directive.
143
+ */
30
144
  euiMessageBoxFooterDirective: QueryList<EuiMessageBoxFooterDirective>;
145
+ /**
146
+ * Content that will be displayed in the message box body.
147
+ * Can be either a simple string message or a TemplatePortal for more complex content.
148
+ */
31
149
  content: string | TemplatePortal;
150
+ /**
151
+ * Portal instance for the content section of the message box.
152
+ * Created from the templateRefContent template reference.
153
+ */
32
154
  private templatePortalContent;
155
+ /**
156
+ * Portal instance for the footer section of the message box.
157
+ * Created from the templateRefFooter template reference when a custom footer is provided.
158
+ */
33
159
  private templatePortalFooter;
160
+ /**
161
+ * Subject used for cleaning up subscriptions when the component is destroyed.
162
+ */
34
163
  private destroy$;
164
+ /**
165
+ * Creates an instance of EuiMessageBoxComponent.
166
+ *
167
+ * @param viewContainerRef - Reference to the view container for creating portals
168
+ * @param euiMessageBoxService - Service used to open and close message boxes
169
+ * @param baseStatesDirective - Directive that provides styling state management for the component
170
+ */
35
171
  constructor(viewContainerRef: ViewContainerRef, euiMessageBoxService: EuiMessageBoxService, baseStatesDirective: BaseStatesDirective);
172
+ /**
173
+ * Lifecycle hook that's called after Angular has fully initialized the component's view.
174
+ * Creates the template portals for content and footer (if available).
175
+ */
36
176
  ngAfterViewInit(): void;
177
+ /**
178
+ * Lifecycle hook that's called when the component is destroyed.
179
+ * Cleans up any subscriptions to prevent memory leaks.
180
+ */
37
181
  ngOnDestroy(): void;
38
182
  /**
39
- * Open a Message Box.
183
+ * Opens the message box with the current configuration.
184
+ * This method configures and displays the message box using the EuiMessageBoxService.
40
185
  */
41
186
  openMessageBox<HC, HCC, BC, BCC, FC, FCC>(): void;
42
187
  /**
43
- * Close a Message Box.
188
+ * Closes the currently open message box.
189
+ * This method uses the EuiMessageBoxService to close the dialog.
44
190
  */
45
191
  closeMessageBox(): void;
46
192
  static ɵfac: i0.ɵɵFactoryDeclaration<EuiMessageBoxComponent, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"eui-message-box.component.d.ts","sourceRoot":"","sources":["../../eui-message-box/eui-message-box.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2E,WAAW,EAAE,gBAAgB,EAAE,aAAa,EAAE,SAAS,EAAU,YAAY,EACtH,SAAS,EAAE,UAAU,EAAoB,MAAM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,eAAe,IAAI,IAAI;yCA7FrB,sBAAsB;2CAAtB,sBAAsB;8CAsGqurC,OAAQ;+CAAR,OAAQ;qDAAR,OAAQ;mDAAR,OAAQ;oDAAR,OAAQ;0CAAR,OAAQ;+CAAR,OAAQ;CAN/wrC;AAGD,qBACa,4BAA4B;yCAA5B,4BAA4B;2CAA5B,4BAA4B;CAAG"}
1
+ {"version":3,"file":"eui-message-box.component.d.ts","sourceRoot":"","sources":["../../eui-message-box/eui-message-box.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAMH,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,SAAS,EAET,YAAY,EAIZ,SAAS,EACT,UAAU,EAEb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAG7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;;;AAE1E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,qBAsBa,sBAAuB,YAAW,aAAa,EAAE,SAAS;IAmJ/D,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,oBAAoB;IACrB,mBAAmB,EAAE,mBAAmB;IApJnD;;;OAGG;IACM,OAAO,SAAgB;IAEhC;;OAEG;IACM,KAAK,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACM,KAAK,SAAW;IAEzB;;;OAGG;IACM,MAAM,SAAU;IAEzB;;;OAGG;IACqC,eAAe,UAAQ;IAE/D;;;OAGG;IACqC,gBAAgB,UAAQ;IAEhE;;;OAGG;IACM,WAAW,SAAY;IAEhC;;;OAGG;IACM,YAAY,SAAgB;IAErC;;;OAGG;IACqC,sBAAsB,UAAS;IAEvE;;;OAGG;IACqC,oBAAoB,UAAS;IAErE;;;OAGG;IACqC,qBAAqB,UAAS;IAEtE;;;OAGG;IACqC,WAAW,UAAS;IAE5D;;;OAGG;IACqC,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ag-drop";
11
+ /**
12
+ * @description
13
+ * Provides message box functionality for displaying modal dialogs with structured content.
14
+ *
15
+ * @example
16
+ * import { EuiMessageBoxModule } from '@eui/components/eui-message-box';
17
+ *
18
+ * @NgModule({
19
+ * imports: [
20
+ * EuiMessageBoxModule,
21
+ * ],
22
+ * })
23
+ * export class MyFeatureModule {}
24
+ */
11
25
  export declare class EuiMessageBoxModule {
12
26
  static ɵfac: i0.ɵɵFactoryDeclaration<EuiMessageBoxModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<EuiMessageBoxModule, [typeof i1.EuiMessageBoxComponent, typeof i1.EuiMessageBoxFooterDirective], [typeof i2.CommonModule, typeof i3.EuiButtonModule, typeof i4.EuiIconModule, typeof i5.TranslateModule, typeof i6.PortalModule, typeof i7.OverlayModule, typeof i8.A11yModule, typeof i9.DragDropModule], [typeof i1.EuiMessageBoxComponent, typeof i1.EuiMessageBoxFooterDirective]>;
27
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EuiMessageBoxModule, [typeof i1.EuiMessageBoxComponent, typeof i1.EuiMessageBoxFooterDirective], [typeof i2.CommonModule, typeof i3.EuiButtonComponent, typeof i4.EuiIconModule, typeof i5.TranslateModule, typeof i6.PortalModule, typeof i7.OverlayModule, typeof i8.A11yModule, typeof i9.DragDropModule], [typeof i1.EuiMessageBoxComponent, typeof i1.EuiMessageBoxFooterDirective]>;
14
28
  static ɵinj: i0.ɵɵInjectorDeclaration<EuiMessageBoxModule>;
15
29
  }
16
30
  //# sourceMappingURL=eui-message-box.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"eui-message-box.module.d.ts","sourceRoot":"","sources":["../../eui-message-box/eui-message-box.module.ts"],"names":[],"mappings":";;;;;;;;;;AAcA,qBAMa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
1
+ {"version":3,"file":"eui-message-box.module.d.ts","sourceRoot":"","sources":["../../eui-message-box/eui-message-box.module.ts"],"names":[],"mappings":";;;;;;;;;;AAcA;;;;;;;;;;;;;GAaG;AACH,qBAMa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
@@ -1,16 +1,71 @@
1
1
  import { EuiDialogInterface, EuiDialogService } from '@eui/components/eui-dialog';
2
2
  import * as i0 from "@angular/core";
3
+ /**
4
+ * @description
5
+ * Service for programmatically creating, opening, and controlling message boxes in the eui application.
6
+ *
7
+ * The EuiMessageBoxService wraps the EuiDialogService to provide a simplified API specifically
8
+ * for message box functionality. Message boxes are specialized dialog windows typically used
9
+ * for alerts, confirmations, and prompts.
10
+ *
11
+ * The service handles the configuration of common message box properties and delegates to the
12
+ * underlying dialog service for rendering.
13
+ *
14
+ * @example
15
+ * // Basic usage in a component:
16
+ * import { EuiMessageBoxService } from '@eui/components/eui-message-box';
17
+ *
18
+ * @Component({...})
19
+ * export class MyComponent {
20
+ * constructor(private messageBoxService: EuiMessageBoxService) {}
21
+ *
22
+ * showConfirmation() {
23
+ * this.messageBoxService.openMessageBox({
24
+ * title: 'Confirm Action',
25
+ * content: 'Are you sure you want to proceed?',
26
+ * acceptLabel: 'Yes',
27
+ * dismissLabel: 'No',
28
+ * accept: () => this.handleConfirmation(),
29
+ * dismiss: () => console.log('Action cancelled')
30
+ * });
31
+ * }
32
+ *
33
+ * closeActiveMessageBox() {
34
+ * this.messageBoxService.closeMessageBox();
35
+ * }
36
+ * }
37
+ *
38
+ * @see EuiMessageBoxComponent
39
+ * @see EuiDialogService
40
+ */
3
41
  export declare class EuiMessageBoxService {
4
42
  private euiDialogService;
43
+ /**
44
+ * Creates an instance of EuiMessageBoxService.
45
+ *
46
+ * @param euiDialogService - The underlying dialog service used to render message boxes
47
+ */
5
48
  constructor(euiDialogService: EuiDialogService);
6
49
  /**
7
- * Open a Message box.
50
+ * Opens a message box with the specified configuration.
8
51
  *
9
- * @param config Configuration applied to the Message box.
52
+ * This method sets default message box properties and delegates to the dialog service
53
+ * to render the message box. Message boxes don't close on outside click or escape key,
54
+ * and have no header component or close button by default.
55
+ *
56
+ * @param config - Configuration options for the message box
57
+ * @typeParam HC - Header content type
58
+ * @typeParam HCC - Header component context type
59
+ * @typeParam BC - Body content type
60
+ * @typeParam BCC - Body component context type
61
+ * @typeParam FC - Footer content type
62
+ * @typeParam FCC - Footer component context type
10
63
  */
11
64
  openMessageBox<HC, HCC, BC, BCC, FC, FCC>(config?: EuiDialogInterface<HC, HCC, BC, BCC, FC, FCC>): void;
12
65
  /**
13
- * Close a Message box.
66
+ * Closes the currently active message box.
67
+ *
68
+ * This method delegates to the dialog service to close any open dialog.
14
69
  */
15
70
  closeMessageBox(): void;
16
71
  static ɵfac: i0.ɵɵFactoryDeclaration<EuiMessageBoxService, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"eui-message-box.service.d.ts","sourceRoot":"","sources":["../../../eui-message-box/services/eui-message-box.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;;AAElF,qBACa,oBAAoB;IACjB,OAAO,CAAC,gBAAgB;gBAAhB,gBAAgB,EAAE,gBAAgB;IAEtD;;;;OAIG;IACI,cAAc,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,GAAE,kBAAkB,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,CAAM,GAAG,IAAI;IAYlH;;OAEG;IACI,eAAe,IAAI,IAAI;yCAvBrB,oBAAoB;6CAApB,oBAAoB;CA0BhC"}
1
+ {"version":3,"file":"eui-message-box.service.d.ts","sourceRoot":"","sources":["../../../eui-message-box/services/eui-message-box.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;;AAElF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBACa,oBAAoB;IAMjB,OAAO,CAAC,gBAAgB;IALpC;;;;OAIG;gBACiB,gBAAgB,EAAE,gBAAgB;IAEtD;;;;;;;;;;;;;;OAcG;IACI,cAAc,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,GAAE,kBAAkB,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,CAAM,GAAG,IAAI;IAYlH;;;;OAIG;IACI,eAAe,IAAI,IAAI;yCAxCrB,oBAAoB;6CAApB,oBAAoB;CA2ChC"}
@@ -1 +1 @@
1
- {"version":3,"file":"eui-navbar-item.component.d.ts","sourceRoot":"","sources":["../../../eui-navbar/eui-navbar-item/eui-navbar-item.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;;AAE7D,qBAMa,sBAAsB;IAC/B,IACI,UAAU,IAAI,MAAM,CAKvB;IAE6B,QAAQ,SAAK;IAElC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACiB,QAAQ,UAAS;IAEzD,qBAAqB,EAAE,kBAAkB,CAAC;gBAEoC,eAAe,KAAA;IAK7F,SAAS,CAAC,OAAO,IAAI,IAAI;IAKzB,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAW/C,OAAO,CAAC,MAAM;yCAtCL,sBAAsB;2CAAtB,sBAAsB;uCA0Cg7yC,OAAQ;CAD19yC"}
1
+ {"version":3,"file":"eui-navbar-item.component.d.ts","sourceRoot":"","sources":["../../../eui-navbar/eui-navbar-item/eui-navbar-item.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;;AAE7D,qBAMa,sBAAsB;IAC/B,IACI,UAAU,IAAI,MAAM,CAKvB;IAE6B,QAAQ,SAAK;IAElC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACiB,QAAQ,UAAS;IAEzD,qBAAqB,EAAE,kBAAkB,CAAC;gBAEoC,eAAe,KAAA;IAK7F,SAAS,CAAC,OAAO,IAAI,IAAI;IAKzB,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAW/C,OAAO,CAAC,MAAM;yCAtCL,sBAAsB;2CAAtB,sBAAsB;uCA0C0q2C,OAAQ;CADpt2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"eui-overlay.component.d.ts","sourceRoot":"","sources":["../../eui-overlay/eui-overlay.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0E,YAAY,EAAoB,MAAM,eAAe,CAAC;;AAEvI,qBAOa,mBAAmB;IAC5B,IACI,UAAU,IAAI,MAAM,CAYvB;IAEyB,IAAI,SAAY;IACV,YAAY,SAAmB;IAEvB,QAAQ,UAAS;IACjB,cAAc,UAAS;IACvB,uBAAuB,UAAS;IAC/D,QAAQ,SAAW;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IAElB,WAAW,wBAA+B;IAGpD,SAAS,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAOrC,OAAO,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;yCApCvB,mBAAmB;2CAAnB,mBAAmB;uCAuDwpxC,OAAQ;6CAAR,OAAQ;sDAAR,OAAQ;CAD/rxC"}
1
+ {"version":3,"file":"eui-overlay.component.d.ts","sourceRoot":"","sources":["../../eui-overlay/eui-overlay.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0E,YAAY,EAAoB,MAAM,eAAe,CAAC;;AAEvI,qBAOa,mBAAmB;IAC5B,IACI,UAAU,IAAI,MAAM,CAYvB;IAEyB,IAAI,SAAY;IACV,YAAY,SAAmB;IAEvB,QAAQ,UAAS;IACjB,cAAc,UAAS;IACvB,uBAAuB,UAAS;IAC/D,QAAQ,SAAW;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IAElB,WAAW,wBAA+B;IAGpD,SAAS,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAOrC,OAAO,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;yCApCvB,mBAAmB;2CAAnB,mBAAmB;uCAuDk50C,OAAQ;6CAAR,OAAQ;sDAAR,OAAQ;CADz70C"}
@@ -1 +1 @@
1
- {"version":3,"file":"eui-page-column.component.d.ts","sourceRoot":"","sources":["../../../../eui-page/components/eui-page-column/eui-page-column.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAMH,MAAM,EAIN,SAAS,EACT,YAAY,EAKZ,SAAS,EAEZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;;;AAM7D,qBA+Ba,sBAAuB,YAAW,MAAM,EAAE,SAAS;IAiEjD,SAAS,EAAE,kBAAkB;IACpC,SAAS,CAAC,mBAAmB,EAAE,mBAAmB;IAjEtD,IACI,UAAU,IAAI,MAAM,CAYvB;IAEQ,KAAK,MAAC;IACN,QAAQ,MAAC;IACT,uBAAuB,EAAE,MAAM,CAAQ;IACvC,eAAe,SAAY;IAC3B,iBAAiB,SAAc;IAEA,aAAa,UAAS;IACtB,WAAW,UAAS;IACpB,kBAAkB,UAAS;IAC3B,aAAa,UAAS;IACtB,oBAAoB,UAAS;IAC7B,cAAc,UAAS;IACvB,uBAAuB,UAAS;IAChC,4BAA4B,UAAS;IACrC,mBAAmB,UAAS;IAE1D,QAAQ,oBAAsB;IAC9B,cAAc,oBAAsB;IAC9C,QAAQ,UAAS;IAEjB,oBAAoB,UAAS;IAE7B,yBAAyB,UAAS;IAGlC,uBAAuB,EAAE,SAAS,CAAC,uCAAuC,CAAC,CAAC;IAG5E,uBAAuB,EAAE,SAAS,CAAC,uCAAuC,CAAC,CAAC;IAG5E,wBAAwB,EAAE,SAAS,CAAC,wCAAwC,CAAC,CAAC;IAG9E,4BAA4B,EAAE,SAAS,CAAC,4CAA4C,CAAC,CAAC;IAGtF,mBAAmB,EAAE,SAAS,CAAC,mCAAmC,CAAC,CAAC;IAEpE,aAAa,SAAK;IAElB,cAAc,SAAK;IACnB,SAAS,SAAM;IAEf,OAAO,CAAC,iBAAiB,CAA0B;IACnD,OAAO,CAAC,QAAQ,CAA0B;gBAGiC,yBAAyB,EAAE,uBAAuB,EAClH,SAAS,EAAE,kBAAkB,EAC1B,mBAAmB,EAAE,mBAAmB;IAKtD,QAAQ,IAAI,IAAI;IA8BhB,WAAW,IAAI,IAAI;IAKZ,QAAQ,IAAI,IAAI;yCA1Gd,sBAAsB;2CAAtB,sBAAsB;4CA8H4roC,OAAQ;0CAAR,OAAQ;iDAAR,OAAQ;4CAAR,OAAQ;mDAAR,OAAQ;6CAAR,OAAQ;sDAAR,OAAQ;2DAAR,OAAQ;kDAAR,OAAQ;CAhBtuoC;AAGD,qBACa,uCAAuC;yCAAvC,uCAAuC;2CAAvC,uCAAuC;CAAI;AACxD,qBACa,uCAAuC;yCAAvC,uCAAuC;2CAAvC,uCAAuC;CAAI;AACxD,qBACa,wCAAwC;yCAAxC,wCAAwC;2CAAxC,wCAAwC;CAAI;AACzD,qBACa,4CAA4C;yCAA5C,4CAA4C;2CAA5C,4CAA4C;CAAI;AAC7D,qBACa,iCAAiC;yCAAjC,iCAAiC;2CAAjC,iCAAiC;CAAI;AAClD,qBACa,mCAAmC;yCAAnC,mCAAmC;2CAAnC,mCAAmC;CAAI"}
1
+ {"version":3,"file":"eui-page-column.component.d.ts","sourceRoot":"","sources":["../../../../eui-page/components/eui-page-column/eui-page-column.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAMH,MAAM,EAIN,SAAS,EACT,YAAY,EAKZ,SAAS,EAEZ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AmB;IAKtD,QAAQ,IAAI,IAAI;IA2BhB,WAAW,IAAI,IAAI;IAKZ,QAAQ,IAAI,IAAI;yCAvGd,sBAAsB;2CAAtB,sBAAsB;4CA2H66rC,OAAQ;0CAAR,OAAQ;iDAAR,OAAQ;4CAAR,OAAQ;mDAAR,OAAQ;6CAAR,OAAQ;sDAAR,OAAQ;2DAAR,OAAQ;kDAAR,OAAQ;CAhBv9rC;AAGD,qBACa,uCAAuC;yCAAvC,uCAAuC;2CAAvC,uCAAuC;CAAG;AACvD,qBACa,uCAAuC;yCAAvC,uCAAuC;2CAAvC,uCAAuC;CAAG;AACvD,qBACa,wCAAwC;yCAAxC,wCAAwC;2CAAxC,wCAAwC;CAAG;AACxD,qBACa,4CAA4C;yCAA5C,4CAA4C;2CAA5C,4CAA4C;CAAG;AAC5D,qBACa,iCAAiC;yCAAjC,iCAAiC;2CAAjC,iCAAiC;CAAG;AACjD,qBACa,mCAAmC;yCAAnC,mCAAmC;2CAAnC,mCAAmC;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"eui-page-columns.component.d.ts","sourceRoot":"","sources":["../../../../eui-page/components/eui-page-columns/eui-page-columns.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,UAAU,EAAsB,MAAM,EAAE,SAAS,EAAE,MAAM,EAAuC,MAAM,eAAe,CAAC;AACnK,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;;AAK/B,qBAOa,uBAAwB,YAAW,MAAM,EAAE,SAAS;IAejD,OAAO,CAAC,IAAI;IAAc,OAAO,CAAC,IAAI;IAdlD,IACI,UAAU,IAAI,MAAM,CAKvB;IAEuC,yBAAyB,UAAS;IAEnE,KAAK,mBAAe;IAE3B,OAAO,CAAC,QAAQ,CAAC;gBAEG,IAAI,EAAE,UAAU,EAAU,IAAI,EAAE,MAAM;IAE1D,QAAQ,IAAG,IAAI;IASf,WAAW,IAAG,IAAI;yCA1BT,uBAAuB;2CAAvB,uBAAuB;wDA8BqpzC,OAAQ;CADhszC"}
1
+ {"version":3,"file":"eui-page-columns.component.d.ts","sourceRoot":"","sources":["../../../../eui-page/components/eui-page-columns/eui-page-columns.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,UAAU,EAAsB,MAAM,EAAE,SAAS,EAAE,MAAM,EAAuC,MAAM,eAAe,CAAC;AACnK,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;;AAK/B,qBAOa,uBAAwB,YAAW,MAAM,EAAE,SAAS;IAejD,OAAO,CAAC,IAAI;IAAc,OAAO,CAAC,IAAI;IAdlD,IACI,UAAU,IAAI,MAAM,CAKvB;IAEuC,yBAAyB,UAAS;IAEnE,KAAK,mBAAe;IAE3B,OAAO,CAAC,QAAQ,CAAC;gBAEG,IAAI,EAAE,UAAU,EAAU,IAAI,EAAE,MAAM;IAE1D,QAAQ,IAAG,IAAI;IASf,WAAW,IAAG,IAAI;yCA1BT,uBAAuB;2CAAvB,uBAAuB;wDA8B+42C,OAAQ;CAD172C"}
@@ -1 +1 @@
1
- {"version":3,"file":"eui-page-header.component.d.ts","sourceRoot":"","sources":["../../../../eui-page/components/eui-page-header/eui-page-header.component.ts"],"names":[],"mappings":"AACA,OAAO,EAQH,SAAS,EAET,YAAY,EAEf,MAAM,eAAe,CAAC;;AAKvB,qBAaa,sBAAsB;IAC/B,IACI,UAAU,IAAI,MAAM,CASvB;IAEQ,KAAK,MAAC;IACN,QAAQ,MAAC;IACT,YAAY,MAAC;IACb,eAAe,MAAC;IAIe,aAAa,UAAS;IACtB,WAAW,UAAS;IACpB,kBAAkB,UAAS;IAEX,iBAAiB,EAAE,SAAS,CAAC,sBAAsB,CAAC,CAAC;IAEpG,cAAc,SAAM;IACpB,aAAa,SAAM;IAClB,QAAQ,wBAA+B;IAE1C,QAAQ,IAAI,IAAI;yCA9Bd,sBAAsB;2CAAtB,sBAAsB;4CAmC45xC,OAAQ;0CAAR,OAAQ;iDAAR,OAAQ;CADt8xC"}
1
+ {"version":3,"file":"eui-page-header.component.d.ts","sourceRoot":"","sources":["../../../../eui-page/components/eui-page-header/eui-page-header.component.ts"],"names":[],"mappings":"AACA,OAAO,EAQH,SAAS,EAET,YAAY,EAEf,MAAM,eAAe,CAAC;;AAKvB,qBAaa,sBAAsB;IAC/B,IACI,UAAU,IAAI,MAAM,CASvB;IAEQ,KAAK,MAAC;IACN,QAAQ,MAAC;IACT,YAAY,MAAC;IACb,eAAe,MAAC;IAIe,aAAa,UAAS;IACtB,WAAW,UAAS;IACpB,kBAAkB,UAAS;IAEX,iBAAiB,EAAE,SAAS,CAAC,sBAAsB,CAAC,CAAC;IAEpG,cAAc,SAAM;IACpB,aAAa,SAAM;IAClB,QAAQ,wBAA+B;IAE1C,QAAQ,IAAI,IAAI;yCA9Bd,sBAAsB;2CAAtB,sBAAsB;4CAmCsp1C,OAAQ;0CAAR,OAAQ;iDAAR,OAAQ;CADhs1C"}
@@ -1 +1 @@
1
- {"version":3,"file":"eui-paginator.component.d.ts","sourceRoot":"","sources":["../../eui-paginator/eui-paginator.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,MAAM,EAEN,SAAS,EACT,YAAY,EAEZ,SAAS,EACT,aAAa,EAGhB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAW,eAAe,EAAE,MAAM,MAAM,CAAC;AAEhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAOa,qBAAsB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IA6G3D,kBAAkB,EAAE,kBAAkB;IAC7C,OAAO,CAAC,OAAO;IA7GnB;;;;OAIG;IACoC,OAAO,SAAmB;IACjE;;;;OAIG;IACH,IACI,UAAU,IAAI,MAAM,CAKvB;IACD;;;;OAIG;IACM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,UAAU,IAAI,IAAI;IAOzB;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI;IAI9C;;OAEG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAItC;;OAEG;IACI,QAAQ,IAAI,IAAI;IAQvB;;;;;;OAMG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI;yCAlT3D,qBAAqB;2CAArB,qBAAqB;uCAwTg+hC,OAAQ;0CAAR,OAAQ;sDAAR,OAAQ;+CAAR,OAAQ;0CAAR,OAAQ;CADzgiC"}
@@ -2,10 +2,42 @@ import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { EuiPopoverPosition } from '../models/eui-popover-position.model';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * @description
7
+ * Directive that positions an arrow element for a popover relative to its origin element.
8
+ *
9
+ * This directive calculates and applies the appropriate positioning style to ensure
10
+ * the arrow correctly points to the origin element regardless of the popover's position.
11
+ * It adjusts arrow placement dynamically based on the position strategy ('top', 'bottom',
12
+ * 'left', or 'right') and the dimensions and position of the origin element.
13
+ *
14
+ * @example
15
+ * // Basic usage in an arrow element inside a popover:
16
+ * <div class="popover-arrow"
17
+ * [euiPopoverArrowPosition]="positionAndRect$">
18
+ * </div>
19
+ *
20
+ * @example
21
+ * // In the component class:
22
+ * // Position and rect as an Observable
23
+ * positionAndRect$ = new BehaviorSubject<[EuiPopoverPosition, DOMRect]>(['bottom', originRect]);
24
+ *
25
+ * // Update when position changes
26
+ * updatePosition(position: EuiPopoverPosition, rect: DOMRect) {
27
+ * this.positionAndRect$.next([position, rect]);
28
+ * }
29
+ */
5
30
  export declare class EuiPopoverArrowPositionDirective implements OnInit, OnDestroy {
6
31
  private renderer;
7
32
  private elementRef;
8
33
  private document;
34
+ /**
35
+ * Observable that emits a tuple containing the popover position strategy
36
+ * and the DOMRect of the origin element.
37
+ *
38
+ * The directive uses this information to calculate the appropriate
39
+ * position for the arrow element.
40
+ */
9
41
  position$: Observable<[EuiPopoverPosition, DOMRect]>;
10
42
  private destroy$;
11
43
  constructor(renderer: Renderer2, elementRef: ElementRef, document: Document);
@@ -1 +1 @@
1
- {"version":3,"file":"eui-popover-arrow-position.directive.d.ts","sourceRoot":"","sources":["../../../eui-popover/directives/eui-popover-arrow-position.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,UAAU,EAAiB,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACnG,OAAO,EAAE,UAAU,EAAsB,MAAM,MAAM,CAAC;AAEtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;;AAE1E,qBAIa,gCAAiC,YAAW,MAAM,EAAE,SAAS;IAOlE,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,UAAU;IACA,OAAO,CAAC,QAAQ;IAP/B,SAAS,EAAE,UAAU,CAAC,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC,CAAC;IAE5D,OAAO,CAAC,QAAQ,CAAgC;gBAGpC,QAAQ,EAAE,SAAS,EACnB,UAAU,EAAE,UAAU,EACJ,QAAQ,EAAE,QAAQ;IAGhD,QAAQ,IAAI,IAAI;IAMhB,WAAW,IAAI,IAAI;IAKnB,OAAO,CAAC,QAAQ;yCAvBP,gCAAgC;2CAAhC,gCAAgC;CAoD5C"}
1
+ {"version":3,"file":"eui-popover-arrow-position.directive.d.ts","sourceRoot":"","sources":["../../../eui-popover/directives/eui-popover-arrow-position.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,UAAU,EAAiB,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACnG,OAAO,EAAE,UAAU,EAAsB,MAAM,MAAM,CAAC;AAEtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CA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