@fundamental-ngx/core 0.46.2-rc.12 → 0.46.2-rc.13

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 (244) hide show
  1. package/esm2022/action-bar/action-bar.component.mjs +2 -2
  2. package/esm2022/action-sheet/action-sheet.component.mjs +3 -3
  3. package/esm2022/avatar/avatar.component.mjs +3 -3
  4. package/esm2022/avatar-group/avatar-group.component.mjs +3 -3
  5. package/esm2022/bar/bar.component.mjs +2 -2
  6. package/esm2022/breadcrumb/breadcrumb.component.mjs +3 -3
  7. package/esm2022/busy-indicator/busy-indicator.component.mjs +3 -3
  8. package/esm2022/button/button.component.mjs +3 -3
  9. package/esm2022/calendar/calendar.component.mjs +3 -3
  10. package/esm2022/card/card.component.mjs +3 -3
  11. package/esm2022/carousel/carousel.component.mjs +3 -3
  12. package/esm2022/checkbox/checkbox/checkbox.component.mjs +3 -3
  13. package/esm2022/dialog/dialog.component.mjs +3 -3
  14. package/esm2022/dynamic-page/dynamic-page.component.mjs +3 -3
  15. package/esm2022/dynamic-side-content/dynamic-side-content.component.mjs +3 -3
  16. package/esm2022/facets/facet/facet.component.mjs +3 -3
  17. package/esm2022/feed-input/feed-input.component.mjs +2 -2
  18. package/esm2022/feed-list-item/components/list/feed-list.component.mjs +2 -2
  19. package/esm2022/file-uploader/file-uploader.component.mjs +3 -3
  20. package/esm2022/fixed-card-layout/fixed-card-layout.component.mjs +3 -3
  21. package/esm2022/flexible-column-layout/flexible-column-layout.component.mjs +3 -3
  22. package/esm2022/form/fieldset/fieldset.component.mjs +2 -2
  23. package/esm2022/form/form-control/form-control.component.mjs +3 -3
  24. package/esm2022/form/form-group/form-group.component.mjs +2 -2
  25. package/esm2022/form/form-header/form-header.component.mjs +2 -2
  26. package/esm2022/form/form-item/form-item.component.mjs +2 -2
  27. package/esm2022/form/form-label/form-label.component.mjs +3 -3
  28. package/esm2022/form/form-message/form-message.component.mjs +2 -2
  29. package/esm2022/generic-tag/generic-tag.component.mjs +3 -3
  30. package/esm2022/grid-list/components/grid-list/grid-list.component.mjs +2 -2
  31. package/esm2022/icon/icon.component.mjs +2 -2
  32. package/esm2022/illustrated-message/illustrated-message.component.mjs +3 -3
  33. package/esm2022/info-label/info-label.component.mjs +3 -3
  34. package/esm2022/input-group/input-group.component.mjs +3 -3
  35. package/esm2022/layout-grid/layout-grid.component.mjs +3 -3
  36. package/esm2022/layout-panel/layout-panel.component.mjs +2 -2
  37. package/esm2022/link/link.component.mjs +3 -3
  38. package/esm2022/list/list-navigation-item/list-navigation-item.component.mjs +3 -3
  39. package/esm2022/list/list.component.mjs +2 -2
  40. package/esm2022/menu/menu.component.mjs +2 -2
  41. package/esm2022/message-box/message-box.component.mjs +2 -2
  42. package/esm2022/message-page/message-page.component.mjs +3 -3
  43. package/esm2022/message-strip/message-strip.component.mjs +3 -3
  44. package/esm2022/message-toast/message-toast.component.mjs +3 -3
  45. package/esm2022/micro-process-flow/components/micro-process-flow/micro-process-flow.component.mjs +3 -3
  46. package/esm2022/multi-combobox/multi-combobox.component.mjs +3 -3
  47. package/esm2022/notification/notification/notification.component.mjs +2 -2
  48. package/esm2022/object-identifier/object-identifier.component.mjs +3 -3
  49. package/esm2022/object-marker/object-marker.component.mjs +3 -3
  50. package/esm2022/object-number/object-number.component.mjs +3 -3
  51. package/esm2022/object-status/object-status.component.mjs +3 -3
  52. package/esm2022/pagination/pagination.component.mjs +3 -3
  53. package/esm2022/panel/panel.component.mjs +3 -3
  54. package/esm2022/popover/popover-body/popover-body.component.mjs +3 -3
  55. package/esm2022/product-switch/product-switch-body/product-switch-body.component.mjs +3 -3
  56. package/esm2022/progress-indicator/progress-indicator.component.mjs +3 -3
  57. package/esm2022/quick-view/quick-view/quick-view.component.mjs +2 -2
  58. package/esm2022/radio/radio-button/radio-button.component.mjs +3 -3
  59. package/esm2022/rating-indicator/components/rating-indicator.component.mjs +3 -3
  60. package/esm2022/resizable-card-layout/resizable-card-layout/resizable-card-item/resizable-card-item.component.mjs +3 -3
  61. package/esm2022/resizable-card-layout/resizable-card-layout/resizable-card-layout.component.mjs +2 -2
  62. package/esm2022/segmented-button/segmented-button.component.mjs +2 -2
  63. package/esm2022/select/select.component.mjs +3 -3
  64. package/esm2022/shellbar/shellbar.component.mjs +3 -3
  65. package/esm2022/side-navigation/side-navigation.component.mjs +3 -3
  66. package/esm2022/skeleton/components/skeleton.component.mjs +3 -3
  67. package/esm2022/slider/slider.component.mjs +3 -3
  68. package/esm2022/split-button/split-button.component.mjs +3 -3
  69. package/esm2022/splitter/splitter.component.mjs +2 -2
  70. package/esm2022/status-indicator/status-indicator.component.mjs +3 -3
  71. package/esm2022/step-input/step-input.component.mjs +3 -3
  72. package/esm2022/switch/switch.component.mjs +3 -3
  73. package/esm2022/table/table-wrapper.component.mjs +2 -2
  74. package/esm2022/table/table.component.mjs +2 -2
  75. package/esm2022/tabs/tab-list.component.mjs +3 -3
  76. package/esm2022/tabs/tab-nav/tab-nav.component.mjs +2 -2
  77. package/esm2022/text/text.component.mjs +3 -3
  78. package/esm2022/tile/tile.component.mjs +3 -3
  79. package/esm2022/time/time.component.mjs +3 -3
  80. package/esm2022/title/title.component.mjs +2 -2
  81. package/esm2022/token/token.component.mjs +3 -3
  82. package/esm2022/token/tokenizer.component.mjs +3 -3
  83. package/esm2022/toolbar/toolbar.component.mjs +3 -3
  84. package/esm2022/tree/tree.component.mjs +3 -3
  85. package/esm2022/upload-collection/upload-collection.component.mjs +3 -3
  86. package/esm2022/vertical-navigation/vertical-navigation-main-navigation.component.mjs +3 -3
  87. package/esm2022/vertical-navigation/vertical-navigation.component.mjs +3 -3
  88. package/esm2022/wizard/wizard.component.mjs +3 -3
  89. package/fesm2022/fundamental-ngx-core-action-bar.mjs +2 -2
  90. package/fesm2022/fundamental-ngx-core-action-bar.mjs.map +1 -1
  91. package/fesm2022/fundamental-ngx-core-action-sheet.mjs +2 -2
  92. package/fesm2022/fundamental-ngx-core-action-sheet.mjs.map +1 -1
  93. package/fesm2022/fundamental-ngx-core-avatar-group.mjs +2 -2
  94. package/fesm2022/fundamental-ngx-core-avatar-group.mjs.map +1 -1
  95. package/fesm2022/fundamental-ngx-core-avatar.mjs +2 -2
  96. package/fesm2022/fundamental-ngx-core-avatar.mjs.map +1 -1
  97. package/fesm2022/fundamental-ngx-core-bar.mjs +2 -2
  98. package/fesm2022/fundamental-ngx-core-bar.mjs.map +1 -1
  99. package/fesm2022/fundamental-ngx-core-breadcrumb.mjs +2 -2
  100. package/fesm2022/fundamental-ngx-core-breadcrumb.mjs.map +1 -1
  101. package/fesm2022/fundamental-ngx-core-busy-indicator.mjs +2 -2
  102. package/fesm2022/fundamental-ngx-core-busy-indicator.mjs.map +1 -1
  103. package/fesm2022/fundamental-ngx-core-button.mjs +2 -2
  104. package/fesm2022/fundamental-ngx-core-button.mjs.map +1 -1
  105. package/fesm2022/fundamental-ngx-core-calendar.mjs +2 -2
  106. package/fesm2022/fundamental-ngx-core-calendar.mjs.map +1 -1
  107. package/fesm2022/fundamental-ngx-core-card.mjs +2 -2
  108. package/fesm2022/fundamental-ngx-core-card.mjs.map +1 -1
  109. package/fesm2022/fundamental-ngx-core-carousel.mjs +2 -2
  110. package/fesm2022/fundamental-ngx-core-carousel.mjs.map +1 -1
  111. package/fesm2022/fundamental-ngx-core-checkbox.mjs +2 -2
  112. package/fesm2022/fundamental-ngx-core-checkbox.mjs.map +1 -1
  113. package/fesm2022/fundamental-ngx-core-dialog.mjs +2 -2
  114. package/fesm2022/fundamental-ngx-core-dialog.mjs.map +1 -1
  115. package/fesm2022/fundamental-ngx-core-dynamic-page.mjs +2 -2
  116. package/fesm2022/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
  117. package/fesm2022/fundamental-ngx-core-dynamic-side-content.mjs +2 -2
  118. package/fesm2022/fundamental-ngx-core-dynamic-side-content.mjs.map +1 -1
  119. package/fesm2022/fundamental-ngx-core-facets.mjs +2 -2
  120. package/fesm2022/fundamental-ngx-core-facets.mjs.map +1 -1
  121. package/fesm2022/fundamental-ngx-core-feed-input.mjs +2 -2
  122. package/fesm2022/fundamental-ngx-core-feed-input.mjs.map +1 -1
  123. package/fesm2022/fundamental-ngx-core-feed-list-item.mjs +2 -2
  124. package/fesm2022/fundamental-ngx-core-feed-list-item.mjs.map +1 -1
  125. package/fesm2022/fundamental-ngx-core-file-uploader.mjs +2 -2
  126. package/fesm2022/fundamental-ngx-core-file-uploader.mjs.map +1 -1
  127. package/fesm2022/fundamental-ngx-core-fixed-card-layout.mjs +2 -2
  128. package/fesm2022/fundamental-ngx-core-fixed-card-layout.mjs.map +1 -1
  129. package/fesm2022/fundamental-ngx-core-flexible-column-layout.mjs +2 -2
  130. package/fesm2022/fundamental-ngx-core-flexible-column-layout.mjs.map +1 -1
  131. package/fesm2022/fundamental-ngx-core-form.mjs +14 -14
  132. package/fesm2022/fundamental-ngx-core-form.mjs.map +1 -1
  133. package/fesm2022/fundamental-ngx-core-generic-tag.mjs +2 -2
  134. package/fesm2022/fundamental-ngx-core-generic-tag.mjs.map +1 -1
  135. package/fesm2022/fundamental-ngx-core-grid-list.mjs +2 -2
  136. package/fesm2022/fundamental-ngx-core-grid-list.mjs.map +1 -1
  137. package/fesm2022/fundamental-ngx-core-icon.mjs +2 -2
  138. package/fesm2022/fundamental-ngx-core-icon.mjs.map +1 -1
  139. package/fesm2022/fundamental-ngx-core-illustrated-message.mjs +2 -2
  140. package/fesm2022/fundamental-ngx-core-illustrated-message.mjs.map +1 -1
  141. package/fesm2022/fundamental-ngx-core-info-label.mjs +2 -2
  142. package/fesm2022/fundamental-ngx-core-info-label.mjs.map +1 -1
  143. package/fesm2022/fundamental-ngx-core-input-group.mjs +2 -2
  144. package/fesm2022/fundamental-ngx-core-input-group.mjs.map +1 -1
  145. package/fesm2022/fundamental-ngx-core-layout-grid.mjs +2 -2
  146. package/fesm2022/fundamental-ngx-core-layout-grid.mjs.map +1 -1
  147. package/fesm2022/fundamental-ngx-core-layout-panel.mjs +2 -2
  148. package/fesm2022/fundamental-ngx-core-layout-panel.mjs.map +1 -1
  149. package/fesm2022/fundamental-ngx-core-link.mjs +2 -2
  150. package/fesm2022/fundamental-ngx-core-link.mjs.map +1 -1
  151. package/fesm2022/fundamental-ngx-core-list.mjs +4 -4
  152. package/fesm2022/fundamental-ngx-core-list.mjs.map +1 -1
  153. package/fesm2022/fundamental-ngx-core-menu.mjs +2 -2
  154. package/fesm2022/fundamental-ngx-core-menu.mjs.map +1 -1
  155. package/fesm2022/fundamental-ngx-core-message-box.mjs +2 -2
  156. package/fesm2022/fundamental-ngx-core-message-box.mjs.map +1 -1
  157. package/fesm2022/fundamental-ngx-core-message-page.mjs +2 -2
  158. package/fesm2022/fundamental-ngx-core-message-page.mjs.map +1 -1
  159. package/fesm2022/fundamental-ngx-core-message-strip.mjs +2 -2
  160. package/fesm2022/fundamental-ngx-core-message-strip.mjs.map +1 -1
  161. package/fesm2022/fundamental-ngx-core-message-toast.mjs +2 -2
  162. package/fesm2022/fundamental-ngx-core-message-toast.mjs.map +1 -1
  163. package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs +2 -2
  164. package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs.map +1 -1
  165. package/fesm2022/fundamental-ngx-core-multi-combobox.mjs +2 -2
  166. package/fesm2022/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
  167. package/fesm2022/fundamental-ngx-core-notification.mjs +2 -2
  168. package/fesm2022/fundamental-ngx-core-notification.mjs.map +1 -1
  169. package/fesm2022/fundamental-ngx-core-object-identifier.mjs +2 -2
  170. package/fesm2022/fundamental-ngx-core-object-identifier.mjs.map +1 -1
  171. package/fesm2022/fundamental-ngx-core-object-marker.mjs +2 -2
  172. package/fesm2022/fundamental-ngx-core-object-marker.mjs.map +1 -1
  173. package/fesm2022/fundamental-ngx-core-object-number.mjs +2 -2
  174. package/fesm2022/fundamental-ngx-core-object-number.mjs.map +1 -1
  175. package/fesm2022/fundamental-ngx-core-object-status.mjs +2 -2
  176. package/fesm2022/fundamental-ngx-core-object-status.mjs.map +1 -1
  177. package/fesm2022/fundamental-ngx-core-pagination.mjs +2 -2
  178. package/fesm2022/fundamental-ngx-core-pagination.mjs.map +1 -1
  179. package/fesm2022/fundamental-ngx-core-panel.mjs +2 -2
  180. package/fesm2022/fundamental-ngx-core-panel.mjs.map +1 -1
  181. package/fesm2022/fundamental-ngx-core-popover.mjs +2 -2
  182. package/fesm2022/fundamental-ngx-core-popover.mjs.map +1 -1
  183. package/fesm2022/fundamental-ngx-core-product-switch.mjs +2 -2
  184. package/fesm2022/fundamental-ngx-core-product-switch.mjs.map +1 -1
  185. package/fesm2022/fundamental-ngx-core-progress-indicator.mjs +2 -2
  186. package/fesm2022/fundamental-ngx-core-progress-indicator.mjs.map +1 -1
  187. package/fesm2022/fundamental-ngx-core-quick-view.mjs +2 -2
  188. package/fesm2022/fundamental-ngx-core-quick-view.mjs.map +1 -1
  189. package/fesm2022/fundamental-ngx-core-radio.mjs +2 -2
  190. package/fesm2022/fundamental-ngx-core-radio.mjs.map +1 -1
  191. package/fesm2022/fundamental-ngx-core-rating-indicator.mjs +2 -2
  192. package/fesm2022/fundamental-ngx-core-rating-indicator.mjs.map +1 -1
  193. package/fesm2022/fundamental-ngx-core-resizable-card-layout.mjs +4 -4
  194. package/fesm2022/fundamental-ngx-core-resizable-card-layout.mjs.map +1 -1
  195. package/fesm2022/fundamental-ngx-core-segmented-button.mjs +2 -2
  196. package/fesm2022/fundamental-ngx-core-segmented-button.mjs.map +1 -1
  197. package/fesm2022/fundamental-ngx-core-select.mjs +2 -2
  198. package/fesm2022/fundamental-ngx-core-select.mjs.map +1 -1
  199. package/fesm2022/fundamental-ngx-core-shellbar.mjs +2 -2
  200. package/fesm2022/fundamental-ngx-core-shellbar.mjs.map +1 -1
  201. package/fesm2022/fundamental-ngx-core-side-navigation.mjs +2 -2
  202. package/fesm2022/fundamental-ngx-core-side-navigation.mjs.map +1 -1
  203. package/fesm2022/fundamental-ngx-core-skeleton.mjs +2 -2
  204. package/fesm2022/fundamental-ngx-core-skeleton.mjs.map +1 -1
  205. package/fesm2022/fundamental-ngx-core-slider.mjs +2 -2
  206. package/fesm2022/fundamental-ngx-core-slider.mjs.map +1 -1
  207. package/fesm2022/fundamental-ngx-core-split-button.mjs +2 -2
  208. package/fesm2022/fundamental-ngx-core-split-button.mjs.map +1 -1
  209. package/fesm2022/fundamental-ngx-core-splitter.mjs +2 -2
  210. package/fesm2022/fundamental-ngx-core-splitter.mjs.map +1 -1
  211. package/fesm2022/fundamental-ngx-core-status-indicator.mjs +2 -2
  212. package/fesm2022/fundamental-ngx-core-status-indicator.mjs.map +1 -1
  213. package/fesm2022/fundamental-ngx-core-step-input.mjs +2 -2
  214. package/fesm2022/fundamental-ngx-core-step-input.mjs.map +1 -1
  215. package/fesm2022/fundamental-ngx-core-switch.mjs +2 -2
  216. package/fesm2022/fundamental-ngx-core-switch.mjs.map +1 -1
  217. package/fesm2022/fundamental-ngx-core-table.mjs +4 -4
  218. package/fesm2022/fundamental-ngx-core-table.mjs.map +1 -1
  219. package/fesm2022/fundamental-ngx-core-tabs.mjs +4 -4
  220. package/fesm2022/fundamental-ngx-core-tabs.mjs.map +1 -1
  221. package/fesm2022/fundamental-ngx-core-text.mjs +2 -2
  222. package/fesm2022/fundamental-ngx-core-text.mjs.map +1 -1
  223. package/fesm2022/fundamental-ngx-core-tile.mjs +2 -2
  224. package/fesm2022/fundamental-ngx-core-tile.mjs.map +1 -1
  225. package/fesm2022/fundamental-ngx-core-time.mjs +2 -2
  226. package/fesm2022/fundamental-ngx-core-time.mjs.map +1 -1
  227. package/fesm2022/fundamental-ngx-core-title.mjs +2 -2
  228. package/fesm2022/fundamental-ngx-core-title.mjs.map +1 -1
  229. package/fesm2022/fundamental-ngx-core-token.mjs +4 -4
  230. package/fesm2022/fundamental-ngx-core-token.mjs.map +1 -1
  231. package/fesm2022/fundamental-ngx-core-toolbar.mjs +2 -2
  232. package/fesm2022/fundamental-ngx-core-toolbar.mjs.map +1 -1
  233. package/fesm2022/fundamental-ngx-core-tree.mjs +2 -2
  234. package/fesm2022/fundamental-ngx-core-tree.mjs.map +1 -1
  235. package/fesm2022/fundamental-ngx-core-upload-collection.mjs +2 -2
  236. package/fesm2022/fundamental-ngx-core-upload-collection.mjs.map +1 -1
  237. package/fesm2022/fundamental-ngx-core-vertical-navigation.mjs +4 -4
  238. package/fesm2022/fundamental-ngx-core-vertical-navigation.mjs.map +1 -1
  239. package/fesm2022/fundamental-ngx-core-wizard.mjs +2 -2
  240. package/fesm2022/fundamental-ngx-core-wizard.mjs.map +1 -1
  241. package/fundamental-ngx-core-v0.46.2-rc.13.tgz +0 -0
  242. package/package.json +4 -4
  243. package/schematics/add-dependencies/index.js +6 -6
  244. package/fundamental-ngx-core-v0.46.2-rc.12.tgz +0 -0
@@ -110,7 +110,7 @@ class MessageStripComponent {
110
110
  ];
111
111
  }
112
112
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: MessageStripComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
113
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: MessageStripComponent, isStandalone: true, selector: "fd-message-strip", inputs: { class: "class", dismissible: "dismissible", noIcon: "noIcon", type: "type", id: "id", ariaLabelledBy: "ariaLabelledBy", ariaLabel: "ariaLabel", width: "width", minWidth: "minWidth", marginBottom: "marginBottom", indicationColor: "indicationColor" }, outputs: { onDismiss: "onDismiss" }, host: { attributes: { "role": "alert" }, properties: { "attr.aria-labelledby": "ariaLabelledBy", "attr.aria-label": "ariaLabel", "style.width": "width", "style.min-width": "minWidth", "style.margin-bottom": "marginBottom", "attr.id": "id" } }, queries: [{ propertyName: "icon", first: true, predicate: MessageStripIconDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"shouldShowIcon\">\n <div class=\"fd-message-strip__icon-container\" aria-hidden=\"true\">\n <ng-container *ngIf=\"icon; else typeSpecificIcon\">\n <ng-template [ngTemplateOutlet]=\"icon.templateRef\"></ng-template>\n </ng-container>\n <ng-template #typeSpecificIcon>\n <fd-icon [glyph]=\"typeSpecificIconName\"></fd-icon>\n </ng-template>\n </div>\n</ng-container>\n\n<p class=\"fd-message-strip__text\">\n <ng-content></ng-content>\n</p>\n\n<button\n class=\"fd-message-strip__close\"\n fd-button\n glyph=\"decline\"\n fdType=\"transparent\"\n fdCompact\n *ngIf=\"dismissible\"\n (click)=\"dismiss()\"\n [attr.aria-controls]=\"id\"\n [attr.aria-label]=\"'coreMessageStrip.dismissLabel' | fdTranslate\"\n [attr.title]=\"'coreMessageStrip.dismissLabel' | fdTranslate\"\n></button>\n", styles: ["/*!\n * Fundamental Library Styles v0.30.3-rc.2\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-message-strip{--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Neutral);--fdMessageStrip_Background_Color:var(--sapNeutralBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Neutral);--fdMessageStrip_Text_Color:var(--sapTextColor);--fdMessageStrip_Vertical_Padding:.4375rem;--fdMessageStrip_Left_Padding:2.4375rem;--fdMessageStrip_Right_Padding:.9375rem;-webkit-box-sizing:border-box;background:var(--fdMessageStrip_Background_Color);border:0;border-color:var(--fdMessageStrip_Border_Color);border-radius:var(--fdMessageStrip_Border_Radius);border-style:solid;border-width:var(--fdMessageStrip_Border_Width);box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:auto;line-height:var(--sapContent_LineHeight);margin:0;min-height:2rem;padding:0;padding:var(--fdMessageStrip_Vertical_Padding) var(--fdMessageStrip_Right_Padding) var(--fdMessageStrip_Vertical_Padding) var(--fdMessageStrip_Left_Padding);position:relative}.fd-message-strip:after,.fd-message-strip:before{box-sizing:inherit;font-size:inherit}.fd-message-strip[dir=rtl],[dir=rtl] .fd-message-strip{padding-left:var(--fdMessageStrip_Right_Padding);padding-right:var(--fdMessageStrip_Left_Padding)}.fd-message-strip .fd-message-strip__close{position:absolute;right:.125rem;top:.125rem}.fd-message-strip .fd-message-strip__close[dir=rtl],[dir=rtl] .fd-message-strip .fd-message-strip__close{left:.125rem;right:auto}.fd-message-strip__text{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--fdMessageStrip_Text_Color);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);line-height:1rem;margin:0;padding:0}.fd-message-strip__text:after,.fd-message-strip__text:before{box-sizing:inherit;font-size:inherit}.fd-message-strip__icon-container{-webkit-box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--fdMessageStrip_Icon_Color);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:1rem;font-weight:400;forced-color-adjust:none;justify-content:center;left:0;line-height:var(--sapContent_LineHeight);margin:0;max-width:2.5rem;min-width:2.5rem;padding:0;position:absolute;top:var(--fdMessageStrip_Vertical_Padding);width:2.5rem}.fd-message-strip__icon-container:after,.fd-message-strip__icon-container:before{box-sizing:inherit;font-size:inherit}.fd-message-strip__icon-container[dir=rtl],[dir=rtl] .fd-message-strip__icon-container{left:auto;right:0}.fd-message-strip__icon-container [class*=sap-icon]{-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;color:var(--fdMessageStrip_Icon_Color);display:flex;height:1rem;justify-content:center;line-height:1;max-height:1rem;max-width:1rem;min-height:1rem;min-width:1rem;width:1rem}.fd-message-strip--warning{--fdMessageStrip_Background_Color:var(--sapWarningBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Warning);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Warning)}.fd-message-strip--error{--fdMessageStrip_Background_Color:var(--sapErrorBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Error);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Error)}.fd-message-strip--success{--fdMessageStrip_Background_Color:var(--sapSuccessBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Success);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Success)}.fd-message-strip--information{--fdMessageStrip_Background_Color:var(--sapInformationBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Information);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Informative)}.fd-message-strip--no-icon{--fdMessageStrip_Left_Padding:.9375rem;--fdMessageStrip_Right_Padding:.9375rem}.fd-message-strip--dismissible{--fdMessageStrip_Left_Padding:2.4375rem;--fdMessageStrip_Right_Padding:2.4375rem}.fd-message-strip--dismissible.fd-message-strip--no-icon{--fdMessageStrip_Left_Padding:.9375rem;--fdMessageStrip_Right_Padding:2.4375rem}.fd-message-strip--link a{text-shadow:var(--sapContent_TextShadow)}.fd-message-strip--indication-color-1{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_1_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_1_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_1_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_1_Background)}.fd-message-strip--indication-color-2{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_2_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_2_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_2_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_2_Background)}.fd-message-strip--indication-color-3{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_3_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_3_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_3_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_3_Background)}.fd-message-strip--indication-color-4{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_4_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_4_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_4_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_4_Background)}.fd-message-strip--indication-color-5{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_5_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_5_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_5_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_5_Background)}.fd-message-strip--indication-color-6{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_6_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_6_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_6_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_6_Background)}.fd-message-strip--indication-color-7{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_7_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_7_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_7_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_7_Background)}.fd-message-strip--indication-color-8{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_8_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_8_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_8_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_8_Background)}.fd-message-strip--indication-color-9{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_9_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_9_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_9_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_9_Background)}.fd-message-strip--indication-color-10{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_10_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_10_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_10_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_10_Background)}.fd-message-strip--indication-color-1b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_1);--fdMessageStrip_Text_Color:var(--sapIndicationColor_1);--fdMessageStrip_Border_Color:var(--sapIndicationColor_1b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_1b)}.fd-message-strip--indication-color-2b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_2);--fdMessageStrip_Text_Color:var(--sapIndicationColor_2);--fdMessageStrip_Border_Color:var(--sapIndicationColor_2b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_2b)}.fd-message-strip--indication-color-3b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_3);--fdMessageStrip_Text_Color:var(--sapIndicationColor_3);--fdMessageStrip_Border_Color:var(--sapIndicationColor_3b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_3b)}.fd-message-strip--indication-color-4b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_4);--fdMessageStrip_Text_Color:var(--sapIndicationColor_4);--fdMessageStrip_Border_Color:var(--sapIndicationColor_4b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_4b)}.fd-message-strip--indication-color-5b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_5);--fdMessageStrip_Text_Color:var(--sapIndicationColor_5);--fdMessageStrip_Border_Color:var(--sapIndicationColor_5b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_5b)}.fd-message-strip--indication-color-6b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_6);--fdMessageStrip_Text_Color:var(--sapIndicationColor_6);--fdMessageStrip_Border_Color:var(--sapIndicationColor_6b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_6b)}.fd-message-strip--indication-color-7b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_7);--fdMessageStrip_Text_Color:var(--sapIndicationColor_7);--fdMessageStrip_Border_Color:var(--sapIndicationColor_7b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_7b)}.fd-message-strip--indication-color-8b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_8);--fdMessageStrip_Text_Color:var(--sapIndicationColor_8);--fdMessageStrip_Border_Color:var(--sapIndicationColor_8b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_8b)}.fd-message-strip--indication-color-9b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_9);--fdMessageStrip_Text_Color:var(--sapIndicationColor_9);--fdMessageStrip_Border_Color:var(--sapIndicationColor_9b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_9b)}.fd-message-strip--indication-color-10b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_10);--fdMessageStrip_Text_Color:var(--sapIndicationColor_10);--fdMessageStrip_Border_Color:var(--sapIndicationColor_10b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_10b)}.fd-message-strip,.fd-has-display-block{display:block}.fd-has-display-none{display:none}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1.ButtonComponent, selector: "button[fd-button], a[fd-button]", inputs: ["class"], exportAs: ["fd-button"] }, { kind: "directive", type: ContentDensityDirective, selector: "[fdContentDensity]:not([fdCompact]):not([fdCondensed]):not([fdCozy]), [fdCompact]:not([fdContentDensity]):not([fdCondensed]):not([fdCozy]), [fdCondensed]:not([fdContentDensity]):not([fdCompact]):not([fdCozy]), [fdCozy]:not([fdContentDensity]):not([fdCompact]):not([fdCondensed])", inputs: ["fdContentDensity", "fdCompact", "fdCondensed", "fdCozy"], exportAs: ["fdContentDensity"] }, { kind: "ngmodule", type: I18nModule }, { kind: "pipe", type: i2.FdTranslatePipe, name: "fdTranslate" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: IconModule }, { kind: "component", type: i3.IconComponent, selector: "fd-icon", inputs: ["glyph", "font", "color", "background", "class", "ariaLabel", "ariaHidden"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
113
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: MessageStripComponent, isStandalone: true, selector: "fd-message-strip", inputs: { class: "class", dismissible: "dismissible", noIcon: "noIcon", type: "type", id: "id", ariaLabelledBy: "ariaLabelledBy", ariaLabel: "ariaLabel", width: "width", minWidth: "minWidth", marginBottom: "marginBottom", indicationColor: "indicationColor" }, outputs: { onDismiss: "onDismiss" }, host: { attributes: { "role": "alert" }, properties: { "attr.aria-labelledby": "ariaLabelledBy", "attr.aria-label": "ariaLabel", "style.width": "width", "style.min-width": "minWidth", "style.margin-bottom": "marginBottom", "attr.id": "id" } }, queries: [{ propertyName: "icon", first: true, predicate: MessageStripIconDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"shouldShowIcon\">\n <div class=\"fd-message-strip__icon-container\" aria-hidden=\"true\">\n <ng-container *ngIf=\"icon; else typeSpecificIcon\">\n <ng-template [ngTemplateOutlet]=\"icon.templateRef\"></ng-template>\n </ng-container>\n <ng-template #typeSpecificIcon>\n <fd-icon [glyph]=\"typeSpecificIconName\"></fd-icon>\n </ng-template>\n </div>\n</ng-container>\n\n<p class=\"fd-message-strip__text\">\n <ng-content></ng-content>\n</p>\n\n<button\n class=\"fd-message-strip__close\"\n fd-button\n glyph=\"decline\"\n fdType=\"transparent\"\n fdCompact\n *ngIf=\"dismissible\"\n (click)=\"dismiss()\"\n [attr.aria-controls]=\"id\"\n [attr.aria-label]=\"'coreMessageStrip.dismissLabel' | fdTranslate\"\n [attr.title]=\"'coreMessageStrip.dismissLabel' | fdTranslate\"\n></button>\n", styles: ["/*!\n * Fundamental Library Styles v0.31.0\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-message-strip{--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Neutral);--fdMessageStrip_Background_Color:var(--sapNeutralBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Neutral);--fdMessageStrip_Text_Color:var(--sapTextColor);--fdMessageStrip_Vertical_Padding:.4375rem;--fdMessageStrip_Left_Padding:2.4375rem;--fdMessageStrip_Right_Padding:.9375rem;-webkit-box-sizing:border-box;background:var(--fdMessageStrip_Background_Color);border:0;border-color:var(--fdMessageStrip_Border_Color);border-radius:var(--fdMessageStrip_Border_Radius);border-style:solid;border-width:var(--fdMessageStrip_Border_Width);box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:auto;line-height:var(--sapContent_LineHeight);margin:0;min-height:2rem;padding:0;padding:var(--fdMessageStrip_Vertical_Padding) var(--fdMessageStrip_Right_Padding) var(--fdMessageStrip_Vertical_Padding) var(--fdMessageStrip_Left_Padding);position:relative}.fd-message-strip:after,.fd-message-strip:before{box-sizing:inherit;font-size:inherit}.fd-message-strip[dir=rtl],[dir=rtl] .fd-message-strip{padding-left:var(--fdMessageStrip_Right_Padding);padding-right:var(--fdMessageStrip_Left_Padding)}.fd-message-strip .fd-message-strip__close{position:absolute;right:.125rem;top:.125rem}.fd-message-strip .fd-message-strip__close[dir=rtl],[dir=rtl] .fd-message-strip .fd-message-strip__close{left:.125rem;right:auto}.fd-message-strip__text{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--fdMessageStrip_Text_Color);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);line-height:1rem;margin:0;padding:0}.fd-message-strip__text:after,.fd-message-strip__text:before{box-sizing:inherit;font-size:inherit}.fd-message-strip__icon-container{-webkit-box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--fdMessageStrip_Icon_Color);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:1rem;font-weight:400;forced-color-adjust:none;justify-content:center;left:0;line-height:var(--sapContent_LineHeight);margin:0;max-width:2.5rem;min-width:2.5rem;padding:0;position:absolute;top:var(--fdMessageStrip_Vertical_Padding);width:2.5rem}.fd-message-strip__icon-container:after,.fd-message-strip__icon-container:before{box-sizing:inherit;font-size:inherit}.fd-message-strip__icon-container[dir=rtl],[dir=rtl] .fd-message-strip__icon-container{left:auto;right:0}.fd-message-strip__icon-container [class*=sap-icon]{-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;color:var(--fdMessageStrip_Icon_Color);display:flex;height:1rem;justify-content:center;line-height:1;max-height:1rem;max-width:1rem;min-height:1rem;min-width:1rem;width:1rem}.fd-message-strip--warning{--fdMessageStrip_Background_Color:var(--sapWarningBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Warning);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Warning)}.fd-message-strip--error{--fdMessageStrip_Background_Color:var(--sapErrorBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Error);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Error)}.fd-message-strip--success{--fdMessageStrip_Background_Color:var(--sapSuccessBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Success);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Success)}.fd-message-strip--information{--fdMessageStrip_Background_Color:var(--sapInformationBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Information);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Informative)}.fd-message-strip--no-icon{--fdMessageStrip_Left_Padding:.9375rem;--fdMessageStrip_Right_Padding:.9375rem}.fd-message-strip--dismissible{--fdMessageStrip_Left_Padding:2.4375rem;--fdMessageStrip_Right_Padding:2.4375rem}.fd-message-strip--dismissible.fd-message-strip--no-icon{--fdMessageStrip_Left_Padding:.9375rem;--fdMessageStrip_Right_Padding:2.4375rem}.fd-message-strip--link a{text-shadow:var(--sapContent_TextShadow)}.fd-message-strip--indication-color-1{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_1_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_1_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_1_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_1_Background)}.fd-message-strip--indication-color-2{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_2_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_2_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_2_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_2_Background)}.fd-message-strip--indication-color-3{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_3_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_3_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_3_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_3_Background)}.fd-message-strip--indication-color-4{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_4_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_4_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_4_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_4_Background)}.fd-message-strip--indication-color-5{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_5_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_5_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_5_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_5_Background)}.fd-message-strip--indication-color-6{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_6_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_6_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_6_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_6_Background)}.fd-message-strip--indication-color-7{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_7_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_7_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_7_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_7_Background)}.fd-message-strip--indication-color-8{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_8_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_8_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_8_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_8_Background)}.fd-message-strip--indication-color-9{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_9_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_9_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_9_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_9_Background)}.fd-message-strip--indication-color-10{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_10_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_10_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_10_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_10_Background)}.fd-message-strip--indication-color-1b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_1);--fdMessageStrip_Text_Color:var(--sapIndicationColor_1);--fdMessageStrip_Border_Color:var(--sapIndicationColor_1b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_1b)}.fd-message-strip--indication-color-2b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_2);--fdMessageStrip_Text_Color:var(--sapIndicationColor_2);--fdMessageStrip_Border_Color:var(--sapIndicationColor_2b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_2b)}.fd-message-strip--indication-color-3b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_3);--fdMessageStrip_Text_Color:var(--sapIndicationColor_3);--fdMessageStrip_Border_Color:var(--sapIndicationColor_3b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_3b)}.fd-message-strip--indication-color-4b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_4);--fdMessageStrip_Text_Color:var(--sapIndicationColor_4);--fdMessageStrip_Border_Color:var(--sapIndicationColor_4b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_4b)}.fd-message-strip--indication-color-5b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_5);--fdMessageStrip_Text_Color:var(--sapIndicationColor_5);--fdMessageStrip_Border_Color:var(--sapIndicationColor_5b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_5b)}.fd-message-strip--indication-color-6b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_6);--fdMessageStrip_Text_Color:var(--sapIndicationColor_6);--fdMessageStrip_Border_Color:var(--sapIndicationColor_6b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_6b)}.fd-message-strip--indication-color-7b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_7);--fdMessageStrip_Text_Color:var(--sapIndicationColor_7);--fdMessageStrip_Border_Color:var(--sapIndicationColor_7b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_7b)}.fd-message-strip--indication-color-8b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_8);--fdMessageStrip_Text_Color:var(--sapIndicationColor_8);--fdMessageStrip_Border_Color:var(--sapIndicationColor_8b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_8b)}.fd-message-strip--indication-color-9b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_9);--fdMessageStrip_Text_Color:var(--sapIndicationColor_9);--fdMessageStrip_Border_Color:var(--sapIndicationColor_9b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_9b)}.fd-message-strip--indication-color-10b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_10);--fdMessageStrip_Text_Color:var(--sapIndicationColor_10);--fdMessageStrip_Border_Color:var(--sapIndicationColor_10b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_10b)}.fd-message-strip,.fd-has-display-block{display:block}.fd-has-display-none{display:none}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1.ButtonComponent, selector: "button[fd-button], a[fd-button]", inputs: ["class"], exportAs: ["fd-button"] }, { kind: "directive", type: ContentDensityDirective, selector: "[fdContentDensity]:not([fdCompact]):not([fdCondensed]):not([fdCozy]), [fdCompact]:not([fdContentDensity]):not([fdCondensed]):not([fdCozy]), [fdCondensed]:not([fdContentDensity]):not([fdCompact]):not([fdCozy]), [fdCozy]:not([fdContentDensity]):not([fdCompact]):not([fdCondensed])", inputs: ["fdContentDensity", "fdCompact", "fdCondensed", "fdCozy"], exportAs: ["fdContentDensity"] }, { kind: "ngmodule", type: I18nModule }, { kind: "pipe", type: i2.FdTranslatePipe, name: "fdTranslate" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: IconModule }, { kind: "component", type: i3.IconComponent, selector: "fd-icon", inputs: ["glyph", "font", "color", "background", "class", "ariaLabel", "ariaHidden"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
114
114
  }
115
115
  __decorate([
116
116
  applyCssClass,
@@ -128,7 +128,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImpor
128
128
  '[style.margin-bottom]': 'marginBottom',
129
129
  role: 'alert',
130
130
  '[attr.id]': 'id'
131
- }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, ButtonModule, ContentDensityDirective, I18nModule, NgTemplateOutlet, IconModule], template: "<ng-container *ngIf=\"shouldShowIcon\">\n <div class=\"fd-message-strip__icon-container\" aria-hidden=\"true\">\n <ng-container *ngIf=\"icon; else typeSpecificIcon\">\n <ng-template [ngTemplateOutlet]=\"icon.templateRef\"></ng-template>\n </ng-container>\n <ng-template #typeSpecificIcon>\n <fd-icon [glyph]=\"typeSpecificIconName\"></fd-icon>\n </ng-template>\n </div>\n</ng-container>\n\n<p class=\"fd-message-strip__text\">\n <ng-content></ng-content>\n</p>\n\n<button\n class=\"fd-message-strip__close\"\n fd-button\n glyph=\"decline\"\n fdType=\"transparent\"\n fdCompact\n *ngIf=\"dismissible\"\n (click)=\"dismiss()\"\n [attr.aria-controls]=\"id\"\n [attr.aria-label]=\"'coreMessageStrip.dismissLabel' | fdTranslate\"\n [attr.title]=\"'coreMessageStrip.dismissLabel' | fdTranslate\"\n></button>\n", styles: ["/*!\n * Fundamental Library Styles v0.30.3-rc.2\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-message-strip{--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Neutral);--fdMessageStrip_Background_Color:var(--sapNeutralBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Neutral);--fdMessageStrip_Text_Color:var(--sapTextColor);--fdMessageStrip_Vertical_Padding:.4375rem;--fdMessageStrip_Left_Padding:2.4375rem;--fdMessageStrip_Right_Padding:.9375rem;-webkit-box-sizing:border-box;background:var(--fdMessageStrip_Background_Color);border:0;border-color:var(--fdMessageStrip_Border_Color);border-radius:var(--fdMessageStrip_Border_Radius);border-style:solid;border-width:var(--fdMessageStrip_Border_Width);box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:auto;line-height:var(--sapContent_LineHeight);margin:0;min-height:2rem;padding:0;padding:var(--fdMessageStrip_Vertical_Padding) var(--fdMessageStrip_Right_Padding) var(--fdMessageStrip_Vertical_Padding) var(--fdMessageStrip_Left_Padding);position:relative}.fd-message-strip:after,.fd-message-strip:before{box-sizing:inherit;font-size:inherit}.fd-message-strip[dir=rtl],[dir=rtl] .fd-message-strip{padding-left:var(--fdMessageStrip_Right_Padding);padding-right:var(--fdMessageStrip_Left_Padding)}.fd-message-strip .fd-message-strip__close{position:absolute;right:.125rem;top:.125rem}.fd-message-strip .fd-message-strip__close[dir=rtl],[dir=rtl] .fd-message-strip .fd-message-strip__close{left:.125rem;right:auto}.fd-message-strip__text{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--fdMessageStrip_Text_Color);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);line-height:1rem;margin:0;padding:0}.fd-message-strip__text:after,.fd-message-strip__text:before{box-sizing:inherit;font-size:inherit}.fd-message-strip__icon-container{-webkit-box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--fdMessageStrip_Icon_Color);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:1rem;font-weight:400;forced-color-adjust:none;justify-content:center;left:0;line-height:var(--sapContent_LineHeight);margin:0;max-width:2.5rem;min-width:2.5rem;padding:0;position:absolute;top:var(--fdMessageStrip_Vertical_Padding);width:2.5rem}.fd-message-strip__icon-container:after,.fd-message-strip__icon-container:before{box-sizing:inherit;font-size:inherit}.fd-message-strip__icon-container[dir=rtl],[dir=rtl] .fd-message-strip__icon-container{left:auto;right:0}.fd-message-strip__icon-container [class*=sap-icon]{-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;color:var(--fdMessageStrip_Icon_Color);display:flex;height:1rem;justify-content:center;line-height:1;max-height:1rem;max-width:1rem;min-height:1rem;min-width:1rem;width:1rem}.fd-message-strip--warning{--fdMessageStrip_Background_Color:var(--sapWarningBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Warning);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Warning)}.fd-message-strip--error{--fdMessageStrip_Background_Color:var(--sapErrorBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Error);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Error)}.fd-message-strip--success{--fdMessageStrip_Background_Color:var(--sapSuccessBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Success);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Success)}.fd-message-strip--information{--fdMessageStrip_Background_Color:var(--sapInformationBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Information);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Informative)}.fd-message-strip--no-icon{--fdMessageStrip_Left_Padding:.9375rem;--fdMessageStrip_Right_Padding:.9375rem}.fd-message-strip--dismissible{--fdMessageStrip_Left_Padding:2.4375rem;--fdMessageStrip_Right_Padding:2.4375rem}.fd-message-strip--dismissible.fd-message-strip--no-icon{--fdMessageStrip_Left_Padding:.9375rem;--fdMessageStrip_Right_Padding:2.4375rem}.fd-message-strip--link a{text-shadow:var(--sapContent_TextShadow)}.fd-message-strip--indication-color-1{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_1_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_1_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_1_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_1_Background)}.fd-message-strip--indication-color-2{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_2_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_2_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_2_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_2_Background)}.fd-message-strip--indication-color-3{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_3_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_3_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_3_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_3_Background)}.fd-message-strip--indication-color-4{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_4_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_4_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_4_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_4_Background)}.fd-message-strip--indication-color-5{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_5_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_5_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_5_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_5_Background)}.fd-message-strip--indication-color-6{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_6_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_6_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_6_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_6_Background)}.fd-message-strip--indication-color-7{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_7_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_7_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_7_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_7_Background)}.fd-message-strip--indication-color-8{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_8_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_8_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_8_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_8_Background)}.fd-message-strip--indication-color-9{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_9_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_9_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_9_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_9_Background)}.fd-message-strip--indication-color-10{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_10_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_10_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_10_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_10_Background)}.fd-message-strip--indication-color-1b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_1);--fdMessageStrip_Text_Color:var(--sapIndicationColor_1);--fdMessageStrip_Border_Color:var(--sapIndicationColor_1b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_1b)}.fd-message-strip--indication-color-2b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_2);--fdMessageStrip_Text_Color:var(--sapIndicationColor_2);--fdMessageStrip_Border_Color:var(--sapIndicationColor_2b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_2b)}.fd-message-strip--indication-color-3b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_3);--fdMessageStrip_Text_Color:var(--sapIndicationColor_3);--fdMessageStrip_Border_Color:var(--sapIndicationColor_3b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_3b)}.fd-message-strip--indication-color-4b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_4);--fdMessageStrip_Text_Color:var(--sapIndicationColor_4);--fdMessageStrip_Border_Color:var(--sapIndicationColor_4b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_4b)}.fd-message-strip--indication-color-5b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_5);--fdMessageStrip_Text_Color:var(--sapIndicationColor_5);--fdMessageStrip_Border_Color:var(--sapIndicationColor_5b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_5b)}.fd-message-strip--indication-color-6b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_6);--fdMessageStrip_Text_Color:var(--sapIndicationColor_6);--fdMessageStrip_Border_Color:var(--sapIndicationColor_6b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_6b)}.fd-message-strip--indication-color-7b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_7);--fdMessageStrip_Text_Color:var(--sapIndicationColor_7);--fdMessageStrip_Border_Color:var(--sapIndicationColor_7b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_7b)}.fd-message-strip--indication-color-8b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_8);--fdMessageStrip_Text_Color:var(--sapIndicationColor_8);--fdMessageStrip_Border_Color:var(--sapIndicationColor_8b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_8b)}.fd-message-strip--indication-color-9b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_9);--fdMessageStrip_Text_Color:var(--sapIndicationColor_9);--fdMessageStrip_Border_Color:var(--sapIndicationColor_9b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_9b)}.fd-message-strip--indication-color-10b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_10);--fdMessageStrip_Text_Color:var(--sapIndicationColor_10);--fdMessageStrip_Border_Color:var(--sapIndicationColor_10b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_10b)}.fd-message-strip,.fd-has-display-block{display:block}.fd-has-display-none{display:none}\n"] }]
131
+ }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, ButtonModule, ContentDensityDirective, I18nModule, NgTemplateOutlet, IconModule], template: "<ng-container *ngIf=\"shouldShowIcon\">\n <div class=\"fd-message-strip__icon-container\" aria-hidden=\"true\">\n <ng-container *ngIf=\"icon; else typeSpecificIcon\">\n <ng-template [ngTemplateOutlet]=\"icon.templateRef\"></ng-template>\n </ng-container>\n <ng-template #typeSpecificIcon>\n <fd-icon [glyph]=\"typeSpecificIconName\"></fd-icon>\n </ng-template>\n </div>\n</ng-container>\n\n<p class=\"fd-message-strip__text\">\n <ng-content></ng-content>\n</p>\n\n<button\n class=\"fd-message-strip__close\"\n fd-button\n glyph=\"decline\"\n fdType=\"transparent\"\n fdCompact\n *ngIf=\"dismissible\"\n (click)=\"dismiss()\"\n [attr.aria-controls]=\"id\"\n [attr.aria-label]=\"'coreMessageStrip.dismissLabel' | fdTranslate\"\n [attr.title]=\"'coreMessageStrip.dismissLabel' | fdTranslate\"\n></button>\n", styles: ["/*!\n * Fundamental Library Styles v0.31.0\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-message-strip{--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Neutral);--fdMessageStrip_Background_Color:var(--sapNeutralBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Neutral);--fdMessageStrip_Text_Color:var(--sapTextColor);--fdMessageStrip_Vertical_Padding:.4375rem;--fdMessageStrip_Left_Padding:2.4375rem;--fdMessageStrip_Right_Padding:.9375rem;-webkit-box-sizing:border-box;background:var(--fdMessageStrip_Background_Color);border:0;border-color:var(--fdMessageStrip_Border_Color);border-radius:var(--fdMessageStrip_Border_Radius);border-style:solid;border-width:var(--fdMessageStrip_Border_Width);box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;height:auto;line-height:var(--sapContent_LineHeight);margin:0;min-height:2rem;padding:0;padding:var(--fdMessageStrip_Vertical_Padding) var(--fdMessageStrip_Right_Padding) var(--fdMessageStrip_Vertical_Padding) var(--fdMessageStrip_Left_Padding);position:relative}.fd-message-strip:after,.fd-message-strip:before{box-sizing:inherit;font-size:inherit}.fd-message-strip[dir=rtl],[dir=rtl] .fd-message-strip{padding-left:var(--fdMessageStrip_Right_Padding);padding-right:var(--fdMessageStrip_Left_Padding)}.fd-message-strip .fd-message-strip__close{position:absolute;right:.125rem;top:.125rem}.fd-message-strip .fd-message-strip__close[dir=rtl],[dir=rtl] .fd-message-strip .fd-message-strip__close{left:.125rem;right:auto}.fd-message-strip__text{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--fdMessageStrip_Text_Color);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);line-height:1rem;margin:0;padding:0}.fd-message-strip__text:after,.fd-message-strip__text:before{box-sizing:inherit;font-size:inherit}.fd-message-strip__icon-container{-webkit-box-sizing:border-box;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--fdMessageStrip_Icon_Color);display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-size:1rem;font-weight:400;forced-color-adjust:none;justify-content:center;left:0;line-height:var(--sapContent_LineHeight);margin:0;max-width:2.5rem;min-width:2.5rem;padding:0;position:absolute;top:var(--fdMessageStrip_Vertical_Padding);width:2.5rem}.fd-message-strip__icon-container:after,.fd-message-strip__icon-container:before{box-sizing:inherit;font-size:inherit}.fd-message-strip__icon-container[dir=rtl],[dir=rtl] .fd-message-strip__icon-container{left:auto;right:0}.fd-message-strip__icon-container [class*=sap-icon]{-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;color:var(--fdMessageStrip_Icon_Color);display:flex;height:1rem;justify-content:center;line-height:1;max-height:1rem;max-width:1rem;min-height:1rem;min-width:1rem;width:1rem}.fd-message-strip--warning{--fdMessageStrip_Background_Color:var(--sapWarningBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Warning);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Warning)}.fd-message-strip--error{--fdMessageStrip_Background_Color:var(--sapErrorBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Error);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Error)}.fd-message-strip--success{--fdMessageStrip_Background_Color:var(--sapSuccessBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Success);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Success)}.fd-message-strip--information{--fdMessageStrip_Background_Color:var(--sapInformationBackground);--fdMessageStrip_Icon_Color:var(--fdMessageStrip_Icon_Color_Information);--fdMessageStrip_Border_Color:var(--fdMessageStrip_Border_Color_Informative)}.fd-message-strip--no-icon{--fdMessageStrip_Left_Padding:.9375rem;--fdMessageStrip_Right_Padding:.9375rem}.fd-message-strip--dismissible{--fdMessageStrip_Left_Padding:2.4375rem;--fdMessageStrip_Right_Padding:2.4375rem}.fd-message-strip--dismissible.fd-message-strip--no-icon{--fdMessageStrip_Left_Padding:.9375rem;--fdMessageStrip_Right_Padding:2.4375rem}.fd-message-strip--link a{text-shadow:var(--sapContent_TextShadow)}.fd-message-strip--indication-color-1{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_1_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_1_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_1_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_1_Background)}.fd-message-strip--indication-color-2{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_2_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_2_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_2_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_2_Background)}.fd-message-strip--indication-color-3{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_3_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_3_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_3_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_3_Background)}.fd-message-strip--indication-color-4{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_4_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_4_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_4_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_4_Background)}.fd-message-strip--indication-color-5{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_5_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_5_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_5_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_5_Background)}.fd-message-strip--indication-color-6{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_6_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_6_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_6_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_6_Background)}.fd-message-strip--indication-color-7{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_7_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_7_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_7_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_7_Background)}.fd-message-strip--indication-color-8{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_8_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_8_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_8_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_8_Background)}.fd-message-strip--indication-color-9{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_9_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_9_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_9_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_9_Background)}.fd-message-strip--indication-color-10{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_10_TextColor);--fdMessageStrip_Text_Color:var(--sapIndicationColor_10_TextColor);--fdMessageStrip_Border_Color:var(--sapIndicationColor_10_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_10_Background)}.fd-message-strip--indication-color-1b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_1);--fdMessageStrip_Text_Color:var(--sapIndicationColor_1);--fdMessageStrip_Border_Color:var(--sapIndicationColor_1b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_1b)}.fd-message-strip--indication-color-2b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_2);--fdMessageStrip_Text_Color:var(--sapIndicationColor_2);--fdMessageStrip_Border_Color:var(--sapIndicationColor_2b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_2b)}.fd-message-strip--indication-color-3b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_3);--fdMessageStrip_Text_Color:var(--sapIndicationColor_3);--fdMessageStrip_Border_Color:var(--sapIndicationColor_3b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_3b)}.fd-message-strip--indication-color-4b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_4);--fdMessageStrip_Text_Color:var(--sapIndicationColor_4);--fdMessageStrip_Border_Color:var(--sapIndicationColor_4b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_4b)}.fd-message-strip--indication-color-5b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_5);--fdMessageStrip_Text_Color:var(--sapIndicationColor_5);--fdMessageStrip_Border_Color:var(--sapIndicationColor_5b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_5b)}.fd-message-strip--indication-color-6b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_6);--fdMessageStrip_Text_Color:var(--sapIndicationColor_6);--fdMessageStrip_Border_Color:var(--sapIndicationColor_6b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_6b)}.fd-message-strip--indication-color-7b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_7);--fdMessageStrip_Text_Color:var(--sapIndicationColor_7);--fdMessageStrip_Border_Color:var(--sapIndicationColor_7b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_7b)}.fd-message-strip--indication-color-8b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_8);--fdMessageStrip_Text_Color:var(--sapIndicationColor_8);--fdMessageStrip_Border_Color:var(--sapIndicationColor_8b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_8b)}.fd-message-strip--indication-color-9b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_9);--fdMessageStrip_Text_Color:var(--sapIndicationColor_9);--fdMessageStrip_Border_Color:var(--sapIndicationColor_9b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_9b)}.fd-message-strip--indication-color-10b{--fdMessageStrip_Icon_Color:var(--sapIndicationColor_10);--fdMessageStrip_Text_Color:var(--sapIndicationColor_10);--fdMessageStrip_Border_Color:var(--sapIndicationColor_10b_BorderColor);--fdMessageStrip_Background_Color:var(--sapIndicationColor_10b)}.fd-message-strip,.fd-has-display-block{display:block}.fd-has-display-none{display:none}\n"] }]
132
132
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { class: [{
133
133
  type: Input
134
134
  }], dismissible: [{
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-core-message-strip.mjs","sources":["../../../../libs/core/src/lib/message-strip/message-strip-icon.directive.ts","../../../../libs/core/src/lib/message-strip/message-strip.component.ts","../../../../libs/core/src/lib/message-strip/message-strip.component.html","../../../../libs/core/src/lib/message-strip/auto-dismiss-message-strip.directive.ts","../../../../libs/core/src/lib/message-strip/message-strip.module.ts","../../../../libs/core/src/lib/message-strip/message-strip-indication-color.ts","../../../../libs/core/src/lib/message-strip/alert/message-strip-alert.ref.ts","../../../../libs/core/src/lib/message-strip/alert/tokens.ts","../../../../libs/core/src/lib/message-strip/alert/message-strip-alert/message-strip-alert.component.ts","../../../../libs/core/src/lib/message-strip/alert/message-strip-alert/message-strip-alert.component.html","../../../../libs/core/src/lib/message-strip/alert/message-strip-alert-container-footer/message-strip-alert-container-footer.component.ts","../../../../libs/core/src/lib/message-strip/alert/message-strip-alert-container/message-strip-alert-container.component.ts","../../../../libs/core/src/lib/message-strip/alert/default-config.ts","../../../../libs/core/src/lib/message-strip/alert/message-strip-alert.service.ts","../../../../libs/core/src/lib/message-strip/fundamental-ngx-core-message-strip.ts"],"sourcesContent":["import { Directive, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[fdMessageStripIcon]',\n standalone: true\n})\nexport class MessageStripIconDirective {\n /** @hidden */\n constructor(readonly templateRef: TemplateRef<void>) {}\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ElementRef,\n EventEmitter,\n Input,\n OnChanges,\n OnInit,\n Output,\n ViewEncapsulation\n} from '@angular/core';\nimport { applyCssClass, CssClassBuilder, Nullable } from '@fundamental-ngx/cdk/utils';\nimport { I18nModule } from '@fundamental-ngx/i18n';\nimport { ContentDensityDirective } from '@fundamental-ngx/core/content-density';\nimport { ButtonModule } from '@fundamental-ngx/core/button';\nimport { NgIf, NgTemplateOutlet } from '@angular/common';\nimport { MessageStripType } from './message-strip-type';\nimport { MessageStripIndicationColor } from './message-strip-indication-color';\nimport { MessageStripIconDirective } from './message-strip-icon.directive';\nimport { IconModule } from '@fundamental-ngx/core/icon';\n\nlet messageStripUniqueId = 0;\n\n/**\n * The component that represents a message-strip. It can only be used inline.\n */\n@Component({\n selector: 'fd-message-strip',\n templateUrl: './message-strip.component.html',\n styleUrls: ['./message-strip.component.scss'],\n host: {\n '[attr.aria-labelledby]': 'ariaLabelledBy',\n '[attr.aria-label]': 'ariaLabel',\n '[style.width]': 'width',\n '[style.min-width]': 'minWidth',\n '[style.margin-bottom]': 'marginBottom',\n role: 'alert',\n '[attr.id]': 'id'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [NgIf, ButtonModule, ContentDensityDirective, I18nModule, NgTemplateOutlet, IconModule]\n})\nexport class MessageStripComponent implements OnInit, OnChanges, CssClassBuilder {\n /** User's custom classes */\n @Input() class = '';\n\n /** Whether the message strip is dismissible. */\n @Input() dismissible = true;\n\n /** The default message strip does not have an icon.\n * The other types (warning, success, information and error) have icons by default.\n * To remove the icon set the property to true.\n */\n @Input() noIcon = false;\n\n /** The type of the message strip.\n * Can be one of *warning*, *success*, *information*, *error* or null.\n */\n @Input() type: MessageStripType;\n\n /** Id for the message-strip component. If omitted, a unique one is generated. */\n @Input() id: string = 'fd-message-strip-' + messageStripUniqueId++;\n\n /** Id of the element that labels the message-strip. */\n @Input() ariaLabelledBy: Nullable<string>;\n\n /** Aria label for the message-strip component element. */\n @Input() ariaLabel: Nullable<string>;\n\n /** Width of the message-strip. */\n @Input() width: string;\n\n /** Minimum width of the message-strip. */\n @Input() minWidth: string;\n\n /** Margin bottom of the message-strip. */\n @Input() marginBottom: string;\n\n /** indication color of the message-strip. */\n @Input() indicationColor: MessageStripIndicationColor;\n\n /** Event fired when the message-strip is dismissed. */\n @Output() // eslint-disable-next-line @angular-eslint/no-output-on-prefix\n onDismiss: EventEmitter<void> = new EventEmitter<void>();\n\n /** Custom icon component */\n @ContentChild(MessageStripIconDirective)\n icon: MessageStripIconDirective;\n\n /** @hidden */\n constructor(public readonly elementRef: ElementRef) {}\n\n /** @hidden */\n ngOnInit(): void {\n this.buildComponentCssClass();\n }\n\n /** @hidden */\n ngOnChanges(): void {\n this.buildComponentCssClass();\n }\n\n /** Whether icon container should be shown */\n get shouldShowIcon(): boolean {\n if (this.noIcon) {\n return false;\n }\n return !!this.icon || !!this.type;\n }\n\n /** @hidden */\n get typeSpecificIconName(): string {\n switch (this.type) {\n case 'warning':\n return 'alert';\n case 'success':\n return 'sys-enter-2';\n case 'error':\n return 'error';\n case 'information':\n return 'information';\n default:\n return '';\n }\n }\n\n /**\n * Dismisses the message-strip.\n */\n dismiss(): void {\n this.elementRef.nativeElement.classList.add('fd-has-display-none');\n this.elementRef.nativeElement.classList.remove('fd-has-display-block');\n this.onDismiss.emit();\n }\n\n /** @hidden\n * CssClassBuilder interface implementation\n * function must return single string\n * function is responsible for order which css classes are applied\n */\n @applyCssClass\n buildComponentCssClass(): string[] {\n return [\n 'fd-message-strip',\n this.type ? `fd-message-strip--${this.type}` : '',\n this.dismissible ? 'fd-message-strip--dismissible' : '',\n this.noIcon ? 'fd-message-strip--no-icon' : '',\n this.indicationColor ? `fd-message-strip--indication-color-${this.indicationColor}` : '',\n this.class\n ];\n }\n}\n","<ng-container *ngIf=\"shouldShowIcon\">\n <div class=\"fd-message-strip__icon-container\" aria-hidden=\"true\">\n <ng-container *ngIf=\"icon; else typeSpecificIcon\">\n <ng-template [ngTemplateOutlet]=\"icon.templateRef\"></ng-template>\n </ng-container>\n <ng-template #typeSpecificIcon>\n <fd-icon [glyph]=\"typeSpecificIconName\"></fd-icon>\n </ng-template>\n </div>\n</ng-container>\n\n<p class=\"fd-message-strip__text\">\n <ng-content></ng-content>\n</p>\n\n<button\n class=\"fd-message-strip__close\"\n fd-button\n glyph=\"decline\"\n fdType=\"transparent\"\n fdCompact\n *ngIf=\"dismissible\"\n (click)=\"dismiss()\"\n [attr.aria-controls]=\"id\"\n [attr.aria-label]=\"'coreMessageStrip.dismissLabel' | fdTranslate\"\n [attr.title]=\"'coreMessageStrip.dismissLabel' | fdTranslate\"\n></button>\n","import { DestroyRef, Directive, ElementRef, inject, Input, isDevMode } from '@angular/core';\nimport { MessageStripComponent } from './message-strip.component';\nimport { fromEvent, map, merge, Observable, of, startWith, takeUntil } from 'rxjs';\nimport { switchMap } from 'rxjs/operators';\nimport { destroyObservable } from '@fundamental-ngx/cdk/utils';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'fd-message-strip[mousePersist], fd-message-strip[duration], fd-message-strip[autoDismiss]',\n exportAs: 'fdAutoDismissMessageStrip',\n standalone: true,\n host: {\n '[style.display]': '!opened ? \"none\" : null'\n }\n})\nexport class AutoDismissMessageStripDirective {\n /** Whether the message strip is dismissible */\n @Input() dismissible = true;\n\n /** Whether the alert should be automatically dismissed. */\n @Input() autoDismiss = true;\n\n /** Duration of time *in milliseconds* that the alert will be visible. Set to -1 for indefinite. */\n @Input() duration = 10000;\n\n /** Whether the alert should stay open if the mouse is hovering over it. */\n @Input() mousePersist = false;\n\n /** Whether the message strip is currently opened. */\n opened = false;\n\n /** @hidden */\n private messageStripComponent = inject(MessageStripComponent, { optional: false, host: true });\n\n /** @hidden */\n private autoDismissTimeout?: ReturnType<typeof setTimeout>;\n /** @hidden */\n private elementRef = inject(ElementRef);\n\n /** @hidden */\n private _destroyRef = inject(DestroyRef);\n\n /**\n * Mouse is hovering over the message strip.\n * */\n private mouseIn$ = merge(\n fromEvent(this.elementRef.nativeElement, 'mouseenter').pipe(map(() => true)),\n fromEvent(this.elementRef.nativeElement, 'mouseleave').pipe(map(() => false))\n ).pipe(startWith(false));\n\n /** @hidden */\n open(): void {\n this.opened = true;\n this.elementRef.nativeElement.classList.remove('fd-has-display-block');\n this.elementRef.nativeElement.classList.remove('fd-has-display-none');\n this.stopAutoDismiss();\n if (this.autoDismiss && !this.dismissible && isDevMode()) {\n console.warn(\n 'Auto dismiss is enabled but the message strip is not dismissible. Please set the dismissible input to true.'\n );\n }\n if (this.autoDismiss && this.dismissible) {\n this.startAutoDismiss();\n }\n }\n\n /** @hidden */\n private stopAutoDismiss = (): void => {\n if (this.autoDismissTimeout) {\n clearTimeout(this.autoDismissTimeout);\n this.autoDismissTimeout = undefined;\n }\n };\n\n /** @hidden */\n private startAutoDismiss(): void {\n // eslint-disable-next-line @typescript-eslint/explicit-function-return-type\n const startAutoDismissTimer$ = new Observable((res) => {\n this.autoDismissTimeout = setTimeout(() => {\n this.dismiss();\n res.next();\n }, this.duration);\n return this.stopAutoDismiss;\n });\n if (this.duration > -1) {\n const source$ = this.mousePersist\n ? this.mouseIn$.pipe(\n switchMap((mouseIn) => {\n if (mouseIn) {\n return of(null);\n }\n return startAutoDismissTimer$;\n })\n )\n : startAutoDismissTimer$;\n source$\n .pipe(takeUntil(merge(destroyObservable(this._destroyRef), this.messageStripComponent.onDismiss)))\n .subscribe();\n }\n }\n\n /** @hidden */\n private dismiss = (): void => this.messageStripComponent.dismiss();\n}\n","import { NgModule } from '@angular/core';\n\nimport { MessageStripComponent } from './message-strip.component';\nimport { AutoDismissMessageStripDirective } from './auto-dismiss-message-strip.directive';\nimport { MessageStripIconDirective } from './message-strip-icon.directive';\n\n@NgModule({\n imports: [MessageStripComponent, AutoDismissMessageStripDirective, MessageStripIconDirective],\n exports: [MessageStripComponent, AutoDismissMessageStripDirective, MessageStripIconDirective]\n})\nexport class MessageStripModule {}\n","const messageStripIndicationColors = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10'] as const;\n\nexport type MessageStripIndicationColor =\n | `${(typeof messageStripIndicationColors)[number]}`\n | `${(typeof messageStripIndicationColors)[number]}b`;\n\nexport const _messageStripIndicationColors = messageStripIndicationColors.reduce(\n (acc: MessageStripIndicationColor[], item) => {\n acc.push(item);\n acc.push(`${item}b`);\n return acc;\n },\n []\n) as MessageStripIndicationColor[];\n","import { ComponentPortal } from '@angular/cdk/portal';\nimport { Observable } from 'rxjs';\nimport { MessageStripAlert } from './message-strip-alert/message-strip-alert.interface';\n\nexport abstract class MessageStripAlertRef {\n /** Message strip alert component portal which is rendered in the container */\n abstract portal: ComponentPortal<MessageStripAlert>;\n /**\n * Function, which dismisses the alert, it calls the user-provided function\n * after dismissing the actual alert\n */\n abstract dismiss: () => void;\n /** Observable that emits when the alert is dismissed */\n abstract onDismiss$: Observable<void>;\n}\n","import { InjectionToken, TemplateRef, Type } from '@angular/core';\nimport { MessageStripAlertPosition } from './message-strip-alert.position';\nimport { Observable } from 'rxjs';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\nimport { MessageStripAlertRef } from './message-strip-alert.ref';\nimport { MessageStripConfiguration } from './message-strip-configuration-type';\n\n/**\n * Injection token for getting the position of the message strip alert container.\n * Is available in any of the message strip alert components and in footer component.\n */\nexport const MessageStripAlertContainerPosition = new InjectionToken<MessageStripAlertPosition>(\n 'MessageStripAlertContainerPosition'\n);\n/**\n * Injection token for getting the list of the message strip alert refs\n * in the given container. Is available in the footer component injection\n * context.\n */\nexport const MessageStripAlertContainerAlertRefs = new InjectionToken<Observable<Nullable<MessageStripAlertRef[]>>>(\n 'MessageStripAlertContainerAlertRefs'\n);\n\nexport const MessageStripAlertComponentData = new InjectionToken<{\n content: string | TemplateRef<any> | Type<any>;\n messageStripConfig: MessageStripConfiguration;\n}>('MessageStripAlertComponentData');\n","import {\n AfterViewInit,\n Component,\n inject,\n OnDestroy,\n Renderer2,\n TemplateRef,\n Type,\n ViewChild,\n ViewContainerRef\n} from '@angular/core';\nimport { MessageStripConfiguration } from '../message-strip-configuration-type';\nimport { ComponentPortal, DomPortal, Portal, PortalModule, TemplatePortal } from '@angular/cdk/portal';\nimport { MessageStripComponent } from '../../message-strip.component';\nimport { MessageStripAlertRef } from '../message-strip-alert.ref';\nimport { MessageStripAlertComponentData } from '../tokens';\nimport { AutoDismissMessageStripDirective } from '../../auto-dismiss-message-strip.directive';\nimport { MessageStripAlert } from './message-strip-alert.interface';\n\nexport type MessageStripAlertPortalType<ComponentType> =\n | DomPortal\n | TemplatePortal<{\n $implicit: MessageStripAlertRef;\n }>\n | ComponentPortal<ComponentType>;\n\n/**\n * The wrapper component, which is wrapping the Message Strip and passes\n * configuration to it, also generates the content which will appear in it.\n */\n@Component({\n templateUrl: `./message-strip-alert.component.html`,\n standalone: true,\n imports: [MessageStripComponent, PortalModule, AutoDismissMessageStripDirective]\n})\nexport class MessageStripAlertComponent<ComponentType = unknown>\n implements MessageStripAlert, OnDestroy, AfterViewInit\n{\n /** @hidden */\n @ViewChild(AutoDismissMessageStripDirective)\n autoDismissMessageStripDirective: AutoDismissMessageStripDirective;\n\n /** User provided data. Full of it */\n data = inject(MessageStripAlertComponentData);\n /** Configuration for the message strip appearance */\n messageStripConfig: MessageStripConfiguration;\n /** Portal, which is responsible for correctly rendering user provided content. It can be any type of the portal */\n contentPortal: Portal<unknown>;\n\n /** @hidden */\n private viewContainerRef = inject(ViewContainerRef);\n /** @hidden */\n private renderer2 = inject(Renderer2);\n\n /**\n * Timeout, which is responsible for auto-dismissing the message strip.\n * It should be properly cleared on component destroy.\n */\n private autoDismissTimeout: ReturnType<typeof setTimeout>;\n\n /**\n * Reference to the message strip alert, which is used to close it from the outside, or access the data and/or the component instance\n * */\n readonly alertRef = inject(MessageStripAlertRef);\n\n /** @hidden */\n constructor() {\n this.messageStripConfig = this.data.messageStripConfig;\n this.contentPortal = this.getPortal(this.data.content);\n }\n\n /**\n * Handler for the dismiss button click.\n * */\n onDismissHandler(): void {\n this.messageStripConfig.onDismiss();\n }\n\n /** @hidden */\n ngOnDestroy(): void {\n clearTimeout(this.autoDismissTimeout);\n }\n\n /** @hidden */\n ngAfterViewInit(): void {\n this.autoDismissMessageStripDirective.open();\n }\n\n /**\n * Method, which is responsible for generating the portal, which will be rendered inside the message strip.\n * It can be any type of the portal, depending on the user provided content.\n * */\n private getPortal(\n content:\n | string\n | TemplateRef<{\n $implicit: MessageStripAlertRef;\n }>\n | Type<ComponentType>\n ): MessageStripAlertPortalType<ComponentType> {\n if (typeof content === 'string') {\n const textEl = this.renderer2.createText(content);\n this.renderer2.appendChild(this.viewContainerRef.element.nativeElement, textEl);\n return new DomPortal(textEl);\n }\n if (content instanceof TemplateRef) {\n return new TemplatePortal(content, this.viewContainerRef, { $implicit: this.alertRef });\n }\n return new ComponentPortal(content);\n }\n}\n","<fd-message-strip\n [class]=\"messageStripConfig.class\"\n [dismissible]=\"messageStripConfig.dismissible\"\n [autoDismiss]=\"messageStripConfig.duration > 0\"\n [mousePersist]=\"messageStripConfig.mousePersist\"\n [duration]=\"messageStripConfig.duration\"\n [noIcon]=\"messageStripConfig.noIcon\"\n [type]=\"messageStripConfig.type\"\n [id]=\"messageStripConfig.id\"\n [ariaLabelledBy]=\"messageStripConfig.ariaLabelledBy\"\n [ariaLabel]=\"messageStripConfig.ariaLabel\"\n (onDismiss)=\"onDismissHandler()\"\n>\n <ng-template [cdkPortalOutlet]=\"contentPortal\"></ng-template>\n</fd-message-strip>\n","import { AfterViewInit, Component, DestroyRef, inject, Injector, Input } from '@angular/core';\nimport { MessageStripAlertService } from '../message-strip-alert.service';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\nimport { BehaviorSubject, map, tap } from 'rxjs';\nimport { ComponentPortal, PortalModule } from '@angular/cdk/portal';\nimport { MessageStripAlertRef } from '../message-strip-alert.ref';\nimport { MessageStripAlertContainerAlertRefs, MessageStripAlertContainerPosition } from '../tokens';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n/**\n * The component that represents the footer of the message strip alert container.\n * if user has provided the footer component through service, then this component\n * will render it inside itself.\n * Bear in mind that this component is always created, just sometimes if there is nothing to render\n * it will be empty.\n */\n@Component({\n selector: 'fd-message-strip-alert-container-footer',\n template: ` <ng-template [cdkPortalOutlet]=\"footerComponentPortal\"></ng-template> `,\n styles: [\n `\n :host {\n display: block;\n }\n `\n ],\n standalone: true,\n imports: [PortalModule]\n})\nexport class MessageStripAlertContainerFooterComponent implements AfterViewInit {\n /** @hidden */\n @Input()\n set alertRefs(alertRefs: Nullable<MessageStripAlertRef[]>) {\n this.alertRefs$.next(alertRefs);\n }\n\n /**\n * Reference to the user provided component's portal.\n */\n footerComponentPortal?: ComponentPortal<any>;\n\n /**\n * Position of the overlay in which this component is rendered.\n */\n private position = inject(MessageStripAlertContainerPosition);\n\n /** @hidden */\n private _destroyRef = inject(DestroyRef);\n\n /** @hidden */\n private messageStripAlertService = inject(MessageStripAlertService);\n\n /**\n * Observable that emits the alert references that are currently rendered in the container.\n */\n private alertRefs$ = new BehaviorSubject<Nullable<MessageStripAlertRef[]>>([]);\n\n /** @hidden */\n ngAfterViewInit(): void {\n this.messageStripAlertService.footerComponents$\n .pipe(\n map((components) => components[this.position]),\n tap((footerComponent) => {\n if (footerComponent) {\n this.footerComponentPortal = new ComponentPortal(\n footerComponent,\n null,\n Injector.create({\n providers: [\n {\n provide: MessageStripAlertContainerAlertRefs,\n useValue: this.alertRefs$.pipe(takeUntilDestroyed(this._destroyRef))\n }\n ]\n })\n );\n } else {\n this.footerComponentPortal = undefined;\n }\n }),\n takeUntilDestroyed(this._destroyRef)\n )\n .subscribe();\n }\n}\n","import { AfterViewInit, Component, ComponentRef, QueryList, ViewChildren, ViewEncapsulation } from '@angular/core';\nimport { CdkPortalOutlet, ComponentPortal, PortalModule } from '@angular/cdk/portal';\nimport { ScrollbarDirective } from '@fundamental-ngx/core/scrollbar';\nimport { MessageStripAlertComponent } from '../message-strip-alert/message-strip-alert.component';\nimport { AsyncPipe, NgFor } from '@angular/common';\nimport { MessageStripAlertContainerFooterComponent } from '../message-strip-alert-container-footer/message-strip-alert-container-footer.component';\nimport { map, Observable, startWith } from 'rxjs';\n\nimport { MessageStripAlertRef } from '../message-strip-alert.ref';\nimport { MessageStripAlert } from '../message-strip-alert/message-strip-alert.interface';\n\n/**\n * This will be rendered in the overlay. It is responsible for rendering the alerts and the footer.\n */\n@Component({\n selector: 'fd-message-strip-alert-container',\n template: `\n <div fdScrollbar>\n <ng-container *ngFor=\"let portal of attachedElements\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </ng-container>\n </div>\n <fd-message-strip-alert-container-footer\n [alertRefs]=\"alertRefs$ | async\"\n ></fd-message-strip-alert-container-footer>\n `,\n styleUrls: ['./message-strip-alert-container.component.scss'],\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgFor, PortalModule, ScrollbarDirective, MessageStripAlertContainerFooterComponent, AsyncPipe]\n})\nexport class MessageStripAlertContainerComponent implements AfterViewInit {\n /**\n * The list of the elements that are attached to the container.\n */\n attachedElements: ComponentPortal<MessageStripAlert>[] = [];\n\n /**\n * List of the rendered message strip alerts. It is used in the footer and is injected into the\n * user-provided footer component portal. This way, user has full control over the container alerts.\n */\n alertRefs$!: Observable<MessageStripAlertRef[]>;\n\n /** @hidden */\n @ViewChildren(CdkPortalOutlet)\n portalOutlets: QueryList<CdkPortalOutlet>;\n\n /** @hidden */\n @ViewChildren(MessageStripAlertComponent)\n alerts: QueryList<MessageStripAlert>;\n\n /** @hidden */\n ngAfterViewInit(): void {\n this.alertRefs$ = this.portalOutlets.changes.pipe(\n startWith(this.portalOutlets),\n map(() =>\n this.portalOutlets\n .toArray()\n .map((p) => (p.attachedRef as ComponentRef<MessageStripAlertComponent>)?.instance.alertRef)\n )\n );\n }\n}\n","import { OpenMessageStripAlertConfig } from './open-message-strip-alert.config';\n\nconst defaultConfig: Required<Omit<OpenMessageStripAlertConfig, 'content'>> = {\n position: 'top-middle',\n messageStrip: {}\n};\n\n/**\n * Applies default config to the given config\n */\nexport function applyDefaultConfig<ComponentType = unknown>(\n config: OpenMessageStripAlertConfig<ComponentType>\n): Required<OpenMessageStripAlertConfig<ComponentType>> {\n return { ...defaultConfig, ...config };\n}\n","import { ComponentRef, inject, Injectable, Injector, Type } from '@angular/core';\nimport { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { BehaviorSubject, combineLatest, map, Subject, tap } from 'rxjs';\nimport { ResponsiveBreakpoints, ViewportSizeObservable } from '@fundamental-ngx/cdk/utils';\nimport { MessageStripAlertContainerComponent } from './message-strip-alert-container/message-strip-alert-container.component';\nimport { MessageStripAlertPosition } from './message-strip-alert.position';\nimport { OpenMessageStripAlertConfig } from './open-message-strip-alert.config';\nimport { MessageStripAlertRef } from './message-strip-alert.ref';\nimport { MessageStripAlertComponentData, MessageStripAlertContainerPosition } from './tokens';\nimport { applyDefaultConfig } from './default-config';\nimport { MessageStripAlert } from './message-strip-alert/message-strip-alert.interface';\nimport { MessageStripAlertComponent } from './message-strip-alert/message-strip-alert.component';\nimport { patchLanguage } from '@fundamental-ngx/i18n';\n\n/**\n * Service that is responsible for opening and closing message strip alerts.\n * This should be only created once in entire application.\n * Service is responsible for creating and managing the overlays for the\n * message strip alerts. This also manages the footer components for any\n * given position.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class MessageStripAlertService {\n /** @hidden */\n private injector = inject(Injector);\n\n /** @hidden */\n private readonly _overlay: Overlay = inject(Overlay);\n\n /** @hidden */\n private viewportSize$ = inject(ViewportSizeObservable);\n\n /** @hidden */\n private readonly _messageStripAlertService = inject(MessageStripAlertService, { optional: true, skipSelf: true });\n\n /** @hidden */\n private _messageAlerts$ = new BehaviorSubject<\n Array<\n Required<OpenMessageStripAlertConfig> & {\n portal: ComponentPortal<MessageStripAlert>;\n }\n >\n >([]);\n\n /** @hidden */\n private _overlayRefs: Partial<\n Record<\n MessageStripAlertPosition,\n {\n ref: OverlayRef;\n containerRef: ComponentRef<MessageStripAlertContainerComponent>;\n }\n >\n > = {};\n\n /** @hidden */\n private _messageStripAlertContainerFooters$ = new BehaviorSubject<\n Partial<Record<MessageStripAlertPosition, Type<any>>>\n >({});\n\n /** @hidden */\n footerComponents$ = this._messageStripAlertContainerFooters$.asObservable();\n\n /** @hidden */\n constructor() {\n if (this._messageStripAlertService) {\n throw new Error('MessageStripAlertService is already provided');\n }\n this.listenToItemsChanges();\n }\n\n /**\n * Set the footer component for a given position.\n */\n setFooterComponent(position: MessageStripAlertPosition, component: Type<any>): void {\n this._messageStripAlertContainerFooters$.next({\n ...this._messageStripAlertContainerFooters$.value,\n [position]: component\n });\n }\n\n /**\n * Open a message strip alert with given configuration\n */\n open<ComponentType = unknown>(c: OpenMessageStripAlertConfig<ComponentType>): MessageStripAlertRef {\n const config = applyDefaultConfig<ComponentType>(c);\n const alertRef = this.getMessageStripAlertRef(config);\n this._messageAlerts$.next([{ ...config, portal: alertRef.portal }, ...this._messageAlerts$.value]);\n return alertRef;\n }\n\n /** @hidden */\n private getMessageStripAlertRef<ComponentType = unknown>(\n config: Required<OpenMessageStripAlertConfig<ComponentType>>\n ): MessageStripAlertRef {\n const onDismiss$ = new Subject<void>();\n const alertRef = {\n portal: new ComponentPortal(\n MessageStripAlertComponent<ComponentType>,\n null,\n Injector.create({\n providers: [\n {\n provide: MessageStripAlertComponentData,\n useValue: {\n content: config.content,\n messageStripConfig: {\n ...config.messageStrip,\n onDismiss: () => {\n this._messageAlerts$.next(\n this._messageAlerts$.value.filter((item) => item.portal !== alertRef.portal)\n );\n config.messageStrip &&\n config.messageStrip.onDismiss &&\n config.messageStrip.onDismiss();\n onDismiss$.next();\n }\n }\n }\n },\n {\n provide: MessageStripAlertRef,\n useFactory: () => alertRef\n },\n patchLanguage((lang) => ({\n coreMessageStrip: {\n dismissLabel: config.messageStrip.dismissLabel || lang.coreMessageStrip.dismissLabel\n }\n }))\n ],\n parent: this.injector\n })\n ),\n dismiss: () => {\n this._messageAlerts$.next(this._messageAlerts$.value.filter((item) => item.portal !== alertRef.portal));\n config.messageStrip && config.messageStrip.onDismiss && config.messageStrip.onDismiss();\n onDismiss$.next();\n onDismiss$.complete();\n },\n onDismiss$: onDismiss$.asObservable()\n };\n return alertRef;\n }\n\n /** @hidden */\n private listenToItemsChanges(): void {\n combineLatest([this.viewportSize$, this._messageAlerts$.asObservable()])\n .pipe(\n map(\n ([viewportSize, messageAlerts]): Record<\n MessageStripAlertPosition,\n Array<ComponentPortal<MessageStripAlert>>\n > => {\n if (viewportSize < ResponsiveBreakpoints.M) {\n return messageAlerts.reduce((acc, next) => {\n const position = next.position?.startsWith('top') ? 'top-middle' : 'bottom-middle';\n acc[position] = [...(acc[position] || []), next.portal];\n return acc;\n }, {} as Record<MessageStripAlertPosition, Array<ComponentPortal<MessageStripAlert>>>);\n }\n return messageAlerts.reduce((acc, next) => {\n acc[next.position] = [...(acc[next.position] || []), next.portal];\n return acc;\n }, {} as Record<MessageStripAlertPosition, Array<ComponentPortal<MessageStripAlert>>>);\n }\n ),\n tap(\n (\n messageAlertsByPosition: Partial<\n Record<MessageStripAlertPosition, Array<ComponentPortal<MessageStripAlert>>>\n >\n ) => {\n let topSectionIsOpened = false;\n let bottomSectionIsOpened = false;\n (\n Object.entries(messageAlertsByPosition) as Array<\n [MessageStripAlertPosition, ComponentPortal<MessageStripAlert>[]]\n >\n ).forEach(([position, portals]) => {\n topSectionIsOpened = topSectionIsOpened || position.startsWith('top');\n bottomSectionIsOpened = bottomSectionIsOpened || position.startsWith('bottom');\n const { containerRef } = this.getOverlayRef(position);\n containerRef.instance.attachedElements = portals;\n containerRef.changeDetectorRef.detectChanges();\n });\n this.syncExistingOverlays(messageAlertsByPosition, bottomSectionIsOpened, topSectionIsOpened);\n }\n )\n )\n .subscribe();\n }\n\n /** @hidden */\n private syncExistingOverlays(\n messageAlertsByPosition: Partial<Record<MessageStripAlertPosition, ComponentPortal<MessageStripAlert>[]>>,\n bottomSectionIsOpened: boolean,\n topSectionIsOpened: boolean\n ): void {\n (Object.keys(this._overlayRefs) as MessageStripAlertPosition[]).forEach((position) => {\n if (!messageAlertsByPosition[position]) {\n this._overlayRefs[position]!.ref.dispose();\n delete this._overlayRefs[position];\n } else {\n const ref = this._overlayRefs[position]!.ref;\n if (position.startsWith('top')) {\n if (bottomSectionIsOpened) {\n ref.overlayElement.classList.add('fd-message-strip-alert-overlay--bottom-opened');\n } else {\n ref.overlayElement.classList.remove('fd-message-strip-alert-overlay--bottom-opened');\n }\n }\n if (position.startsWith('bottom')) {\n if (topSectionIsOpened) {\n ref.overlayElement.classList.add('fd-message-strip-alert-overlay--top-opened');\n } else {\n ref.overlayElement.classList.remove('fd-message-strip-alert-overlay--top-opened');\n }\n }\n }\n });\n }\n\n /** @hidden */\n private getOverlayRef(position: MessageStripAlertPosition): {\n ref: OverlayRef;\n containerRef: ComponentRef<MessageStripAlertContainerComponent>;\n } {\n if (!this._overlayRefs[position]) {\n const [verticalPosition, horizontalPosition] = position.split('-');\n const overlayRef = this.createOverlay(verticalPosition, horizontalPosition);\n const containerRef = overlayRef.attach(\n new ComponentPortal(\n MessageStripAlertContainerComponent,\n null,\n Injector.create({\n parent: this.injector,\n providers: [\n {\n provide: MessageStripAlertContainerPosition,\n useValue: position\n }\n ]\n })\n )\n );\n this._overlayRefs[position] = { ref: overlayRef, containerRef };\n }\n return this._overlayRefs[position]!;\n }\n\n /** @hidden */\n private createOverlay(verticalPosition: string, horizontalPosition: string): OverlayRef {\n return this._overlay.create({\n panelClass: [\n 'fd-message-strip-alert-overlay',\n `fd-message-strip-alert-overlay--${verticalPosition}`,\n `fd-message-strip-alert-overlay--${horizontalPosition}`\n ],\n hasBackdrop: false\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;MAMa,yBAAyB,CAAA;;AAElC,IAAA,WAAA,CAAqB,WAA8B,EAAA;QAA9B,IAAW,CAAA,WAAA,GAAX,WAAW,CAAmB;KAAI;8GAF9C,yBAAyB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAJrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,UAAU,EAAE,IAAI;AACnB,iBAAA,CAAA;;;ACiBD,IAAI,oBAAoB,GAAG,CAAC,CAAC;AAE7B;;AAEG;MAmBU,qBAAqB,CAAA;;AAgD9B,IAAA,WAAA,CAA4B,UAAsB,EAAA;QAAtB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAY;;QA9CzC,IAAK,CAAA,KAAA,GAAG,EAAE,CAAC;;QAGX,IAAW,CAAA,WAAA,GAAG,IA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AAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,cAFrB,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAET,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAHpC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,UAAU,EAAE,MAAM;AACrB,iBAAA,CAAA;;;ACxBD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-core-message-strip.mjs","sources":["../../../../libs/core/src/lib/message-strip/message-strip-icon.directive.ts","../../../../libs/core/src/lib/message-strip/message-strip.component.ts","../../../../libs/core/src/lib/message-strip/message-strip.component.html","../../../../libs/core/src/lib/message-strip/auto-dismiss-message-strip.directive.ts","../../../../libs/core/src/lib/message-strip/message-strip.module.ts","../../../../libs/core/src/lib/message-strip/message-strip-indication-color.ts","../../../../libs/core/src/lib/message-strip/alert/message-strip-alert.ref.ts","../../../../libs/core/src/lib/message-strip/alert/tokens.ts","../../../../libs/core/src/lib/message-strip/alert/message-strip-alert/message-strip-alert.component.ts","../../../../libs/core/src/lib/message-strip/alert/message-strip-alert/message-strip-alert.component.html","../../../../libs/core/src/lib/message-strip/alert/message-strip-alert-container-footer/message-strip-alert-container-footer.component.ts","../../../../libs/core/src/lib/message-strip/alert/message-strip-alert-container/message-strip-alert-container.component.ts","../../../../libs/core/src/lib/message-strip/alert/default-config.ts","../../../../libs/core/src/lib/message-strip/alert/message-strip-alert.service.ts","../../../../libs/core/src/lib/message-strip/fundamental-ngx-core-message-strip.ts"],"sourcesContent":["import { Directive, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[fdMessageStripIcon]',\n standalone: true\n})\nexport class MessageStripIconDirective {\n /** @hidden */\n constructor(readonly templateRef: TemplateRef<void>) {}\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ElementRef,\n EventEmitter,\n Input,\n OnChanges,\n OnInit,\n Output,\n ViewEncapsulation\n} from '@angular/core';\nimport { applyCssClass, CssClassBuilder, Nullable } from '@fundamental-ngx/cdk/utils';\nimport { I18nModule } from '@fundamental-ngx/i18n';\nimport { ContentDensityDirective } from '@fundamental-ngx/core/content-density';\nimport { ButtonModule } from '@fundamental-ngx/core/button';\nimport { NgIf, NgTemplateOutlet } from '@angular/common';\nimport { MessageStripType } from './message-strip-type';\nimport { MessageStripIndicationColor } from './message-strip-indication-color';\nimport { MessageStripIconDirective } from './message-strip-icon.directive';\nimport { IconModule } from '@fundamental-ngx/core/icon';\n\nlet messageStripUniqueId = 0;\n\n/**\n * The component that represents a message-strip. It can only be used inline.\n */\n@Component({\n selector: 'fd-message-strip',\n templateUrl: './message-strip.component.html',\n styleUrls: ['./message-strip.component.scss'],\n host: {\n '[attr.aria-labelledby]': 'ariaLabelledBy',\n '[attr.aria-label]': 'ariaLabel',\n '[style.width]': 'width',\n '[style.min-width]': 'minWidth',\n '[style.margin-bottom]': 'marginBottom',\n role: 'alert',\n '[attr.id]': 'id'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [NgIf, ButtonModule, ContentDensityDirective, I18nModule, NgTemplateOutlet, IconModule]\n})\nexport class MessageStripComponent implements OnInit, OnChanges, CssClassBuilder {\n /** User's custom classes */\n @Input() class = '';\n\n /** Whether the message strip is dismissible. */\n @Input() dismissible = true;\n\n /** The default message strip does not have an icon.\n * The other types (warning, success, information and error) have icons by default.\n * To remove the icon set the property to true.\n */\n @Input() noIcon = false;\n\n /** The type of the message strip.\n * Can be one of *warning*, *success*, *information*, *error* or null.\n */\n @Input() type: MessageStripType;\n\n /** Id for the message-strip component. If omitted, a unique one is generated. */\n @Input() id: string = 'fd-message-strip-' + messageStripUniqueId++;\n\n /** Id of the element that labels the message-strip. */\n @Input() ariaLabelledBy: Nullable<string>;\n\n /** Aria label for the message-strip component element. */\n @Input() ariaLabel: Nullable<string>;\n\n /** Width of the message-strip. */\n @Input() width: string;\n\n /** Minimum width of the message-strip. */\n @Input() minWidth: string;\n\n /** Margin bottom of the message-strip. */\n @Input() marginBottom: string;\n\n /** indication color of the message-strip. */\n @Input() indicationColor: MessageStripIndicationColor;\n\n /** Event fired when the message-strip is dismissed. */\n @Output() // eslint-disable-next-line @angular-eslint/no-output-on-prefix\n onDismiss: EventEmitter<void> = new EventEmitter<void>();\n\n /** Custom icon component */\n @ContentChild(MessageStripIconDirective)\n icon: MessageStripIconDirective;\n\n /** @hidden */\n constructor(public readonly elementRef: ElementRef) {}\n\n /** @hidden */\n ngOnInit(): void {\n this.buildComponentCssClass();\n }\n\n /** @hidden */\n ngOnChanges(): void {\n this.buildComponentCssClass();\n }\n\n /** Whether icon container should be shown */\n get shouldShowIcon(): boolean {\n if (this.noIcon) {\n return false;\n }\n return !!this.icon || !!this.type;\n }\n\n /** @hidden */\n get typeSpecificIconName(): string {\n switch (this.type) {\n case 'warning':\n return 'alert';\n case 'success':\n return 'sys-enter-2';\n case 'error':\n return 'error';\n case 'information':\n return 'information';\n default:\n return '';\n }\n }\n\n /**\n * Dismisses the message-strip.\n */\n dismiss(): void {\n this.elementRef.nativeElement.classList.add('fd-has-display-none');\n this.elementRef.nativeElement.classList.remove('fd-has-display-block');\n this.onDismiss.emit();\n }\n\n /** @hidden\n * CssClassBuilder interface implementation\n * function must return single string\n * function is responsible for order which css classes are applied\n */\n @applyCssClass\n buildComponentCssClass(): string[] {\n return [\n 'fd-message-strip',\n this.type ? `fd-message-strip--${this.type}` : '',\n this.dismissible ? 'fd-message-strip--dismissible' : '',\n this.noIcon ? 'fd-message-strip--no-icon' : '',\n this.indicationColor ? `fd-message-strip--indication-color-${this.indicationColor}` : '',\n this.class\n ];\n }\n}\n","<ng-container *ngIf=\"shouldShowIcon\">\n <div class=\"fd-message-strip__icon-container\" aria-hidden=\"true\">\n <ng-container *ngIf=\"icon; else typeSpecificIcon\">\n <ng-template [ngTemplateOutlet]=\"icon.templateRef\"></ng-template>\n </ng-container>\n <ng-template #typeSpecificIcon>\n <fd-icon [glyph]=\"typeSpecificIconName\"></fd-icon>\n </ng-template>\n </div>\n</ng-container>\n\n<p class=\"fd-message-strip__text\">\n <ng-content></ng-content>\n</p>\n\n<button\n class=\"fd-message-strip__close\"\n fd-button\n glyph=\"decline\"\n fdType=\"transparent\"\n fdCompact\n *ngIf=\"dismissible\"\n (click)=\"dismiss()\"\n [attr.aria-controls]=\"id\"\n [attr.aria-label]=\"'coreMessageStrip.dismissLabel' | fdTranslate\"\n [attr.title]=\"'coreMessageStrip.dismissLabel' | fdTranslate\"\n></button>\n","import { DestroyRef, Directive, ElementRef, inject, Input, isDevMode } from '@angular/core';\nimport { MessageStripComponent } from './message-strip.component';\nimport { fromEvent, map, merge, Observable, of, startWith, takeUntil } from 'rxjs';\nimport { switchMap } from 'rxjs/operators';\nimport { destroyObservable } from '@fundamental-ngx/cdk/utils';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'fd-message-strip[mousePersist], fd-message-strip[duration], fd-message-strip[autoDismiss]',\n exportAs: 'fdAutoDismissMessageStrip',\n standalone: true,\n host: {\n '[style.display]': '!opened ? \"none\" : null'\n }\n})\nexport class AutoDismissMessageStripDirective {\n /** Whether the message strip is dismissible */\n @Input() dismissible = true;\n\n /** Whether the alert should be automatically dismissed. */\n @Input() autoDismiss = true;\n\n /** Duration of time *in milliseconds* that the alert will be visible. Set to -1 for indefinite. */\n @Input() duration = 10000;\n\n /** Whether the alert should stay open if the mouse is hovering over it. */\n @Input() mousePersist = false;\n\n /** Whether the message strip is currently opened. */\n opened = false;\n\n /** @hidden */\n private messageStripComponent = inject(MessageStripComponent, { optional: false, host: true });\n\n /** @hidden */\n private autoDismissTimeout?: ReturnType<typeof setTimeout>;\n /** @hidden */\n private elementRef = inject(ElementRef);\n\n /** @hidden */\n private _destroyRef = inject(DestroyRef);\n\n /**\n * Mouse is hovering over the message strip.\n * */\n private mouseIn$ = merge(\n fromEvent(this.elementRef.nativeElement, 'mouseenter').pipe(map(() => true)),\n fromEvent(this.elementRef.nativeElement, 'mouseleave').pipe(map(() => false))\n ).pipe(startWith(false));\n\n /** @hidden */\n open(): void {\n this.opened = true;\n this.elementRef.nativeElement.classList.remove('fd-has-display-block');\n this.elementRef.nativeElement.classList.remove('fd-has-display-none');\n this.stopAutoDismiss();\n if (this.autoDismiss && !this.dismissible && isDevMode()) {\n console.warn(\n 'Auto dismiss is enabled but the message strip is not dismissible. Please set the dismissible input to true.'\n );\n }\n if (this.autoDismiss && this.dismissible) {\n this.startAutoDismiss();\n }\n }\n\n /** @hidden */\n private stopAutoDismiss = (): void => {\n if (this.autoDismissTimeout) {\n clearTimeout(this.autoDismissTimeout);\n this.autoDismissTimeout = undefined;\n }\n };\n\n /** @hidden */\n private startAutoDismiss(): void {\n // eslint-disable-next-line @typescript-eslint/explicit-function-return-type\n const startAutoDismissTimer$ = new Observable((res) => {\n this.autoDismissTimeout = setTimeout(() => {\n this.dismiss();\n res.next();\n }, this.duration);\n return this.stopAutoDismiss;\n });\n if (this.duration > -1) {\n const source$ = this.mousePersist\n ? this.mouseIn$.pipe(\n switchMap((mouseIn) => {\n if (mouseIn) {\n return of(null);\n }\n return startAutoDismissTimer$;\n })\n )\n : startAutoDismissTimer$;\n source$\n .pipe(takeUntil(merge(destroyObservable(this._destroyRef), this.messageStripComponent.onDismiss)))\n .subscribe();\n }\n }\n\n /** @hidden */\n private dismiss = (): void => this.messageStripComponent.dismiss();\n}\n","import { NgModule } from '@angular/core';\n\nimport { MessageStripComponent } from './message-strip.component';\nimport { AutoDismissMessageStripDirective } from './auto-dismiss-message-strip.directive';\nimport { MessageStripIconDirective } from './message-strip-icon.directive';\n\n@NgModule({\n imports: [MessageStripComponent, AutoDismissMessageStripDirective, MessageStripIconDirective],\n exports: [MessageStripComponent, AutoDismissMessageStripDirective, MessageStripIconDirective]\n})\nexport class MessageStripModule {}\n","const messageStripIndicationColors = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10'] as const;\n\nexport type MessageStripIndicationColor =\n | `${(typeof messageStripIndicationColors)[number]}`\n | `${(typeof messageStripIndicationColors)[number]}b`;\n\nexport const _messageStripIndicationColors = messageStripIndicationColors.reduce(\n (acc: MessageStripIndicationColor[], item) => {\n acc.push(item);\n acc.push(`${item}b`);\n return acc;\n },\n []\n) as MessageStripIndicationColor[];\n","import { ComponentPortal } from '@angular/cdk/portal';\nimport { Observable } from 'rxjs';\nimport { MessageStripAlert } from './message-strip-alert/message-strip-alert.interface';\n\nexport abstract class MessageStripAlertRef {\n /** Message strip alert component portal which is rendered in the container */\n abstract portal: ComponentPortal<MessageStripAlert>;\n /**\n * Function, which dismisses the alert, it calls the user-provided function\n * after dismissing the actual alert\n */\n abstract dismiss: () => void;\n /** Observable that emits when the alert is dismissed */\n abstract onDismiss$: Observable<void>;\n}\n","import { InjectionToken, TemplateRef, Type } from '@angular/core';\nimport { MessageStripAlertPosition } from './message-strip-alert.position';\nimport { Observable } from 'rxjs';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\nimport { MessageStripAlertRef } from './message-strip-alert.ref';\nimport { MessageStripConfiguration } from './message-strip-configuration-type';\n\n/**\n * Injection token for getting the position of the message strip alert container.\n * Is available in any of the message strip alert components and in footer component.\n */\nexport const MessageStripAlertContainerPosition = new InjectionToken<MessageStripAlertPosition>(\n 'MessageStripAlertContainerPosition'\n);\n/**\n * Injection token for getting the list of the message strip alert refs\n * in the given container. Is available in the footer component injection\n * context.\n */\nexport const MessageStripAlertContainerAlertRefs = new InjectionToken<Observable<Nullable<MessageStripAlertRef[]>>>(\n 'MessageStripAlertContainerAlertRefs'\n);\n\nexport const MessageStripAlertComponentData = new InjectionToken<{\n content: string | TemplateRef<any> | Type<any>;\n messageStripConfig: MessageStripConfiguration;\n}>('MessageStripAlertComponentData');\n","import {\n AfterViewInit,\n Component,\n inject,\n OnDestroy,\n Renderer2,\n TemplateRef,\n Type,\n ViewChild,\n ViewContainerRef\n} from '@angular/core';\nimport { MessageStripConfiguration } from '../message-strip-configuration-type';\nimport { ComponentPortal, DomPortal, Portal, PortalModule, TemplatePortal } from '@angular/cdk/portal';\nimport { MessageStripComponent } from '../../message-strip.component';\nimport { MessageStripAlertRef } from '../message-strip-alert.ref';\nimport { MessageStripAlertComponentData } from '../tokens';\nimport { AutoDismissMessageStripDirective } from '../../auto-dismiss-message-strip.directive';\nimport { MessageStripAlert } from './message-strip-alert.interface';\n\nexport type MessageStripAlertPortalType<ComponentType> =\n | DomPortal\n | TemplatePortal<{\n $implicit: MessageStripAlertRef;\n }>\n | ComponentPortal<ComponentType>;\n\n/**\n * The wrapper component, which is wrapping the Message Strip and passes\n * configuration to it, also generates the content which will appear in it.\n */\n@Component({\n templateUrl: `./message-strip-alert.component.html`,\n standalone: true,\n imports: [MessageStripComponent, PortalModule, AutoDismissMessageStripDirective]\n})\nexport class MessageStripAlertComponent<ComponentType = unknown>\n implements MessageStripAlert, OnDestroy, AfterViewInit\n{\n /** @hidden */\n @ViewChild(AutoDismissMessageStripDirective)\n autoDismissMessageStripDirective: AutoDismissMessageStripDirective;\n\n /** User provided data. Full of it */\n data = inject(MessageStripAlertComponentData);\n /** Configuration for the message strip appearance */\n messageStripConfig: MessageStripConfiguration;\n /** Portal, which is responsible for correctly rendering user provided content. It can be any type of the portal */\n contentPortal: Portal<unknown>;\n\n /** @hidden */\n private viewContainerRef = inject(ViewContainerRef);\n /** @hidden */\n private renderer2 = inject(Renderer2);\n\n /**\n * Timeout, which is responsible for auto-dismissing the message strip.\n * It should be properly cleared on component destroy.\n */\n private autoDismissTimeout: ReturnType<typeof setTimeout>;\n\n /**\n * Reference to the message strip alert, which is used to close it from the outside, or access the data and/or the component instance\n * */\n readonly alertRef = inject(MessageStripAlertRef);\n\n /** @hidden */\n constructor() {\n this.messageStripConfig = this.data.messageStripConfig;\n this.contentPortal = this.getPortal(this.data.content);\n }\n\n /**\n * Handler for the dismiss button click.\n * */\n onDismissHandler(): void {\n this.messageStripConfig.onDismiss();\n }\n\n /** @hidden */\n ngOnDestroy(): void {\n clearTimeout(this.autoDismissTimeout);\n }\n\n /** @hidden */\n ngAfterViewInit(): void {\n this.autoDismissMessageStripDirective.open();\n }\n\n /**\n * Method, which is responsible for generating the portal, which will be rendered inside the message strip.\n * It can be any type of the portal, depending on the user provided content.\n * */\n private getPortal(\n content:\n | string\n | TemplateRef<{\n $implicit: MessageStripAlertRef;\n }>\n | Type<ComponentType>\n ): MessageStripAlertPortalType<ComponentType> {\n if (typeof content === 'string') {\n const textEl = this.renderer2.createText(content);\n this.renderer2.appendChild(this.viewContainerRef.element.nativeElement, textEl);\n return new DomPortal(textEl);\n }\n if (content instanceof TemplateRef) {\n return new TemplatePortal(content, this.viewContainerRef, { $implicit: this.alertRef });\n }\n return new ComponentPortal(content);\n }\n}\n","<fd-message-strip\n [class]=\"messageStripConfig.class\"\n [dismissible]=\"messageStripConfig.dismissible\"\n [autoDismiss]=\"messageStripConfig.duration > 0\"\n [mousePersist]=\"messageStripConfig.mousePersist\"\n [duration]=\"messageStripConfig.duration\"\n [noIcon]=\"messageStripConfig.noIcon\"\n [type]=\"messageStripConfig.type\"\n [id]=\"messageStripConfig.id\"\n [ariaLabelledBy]=\"messageStripConfig.ariaLabelledBy\"\n [ariaLabel]=\"messageStripConfig.ariaLabel\"\n (onDismiss)=\"onDismissHandler()\"\n>\n <ng-template [cdkPortalOutlet]=\"contentPortal\"></ng-template>\n</fd-message-strip>\n","import { AfterViewInit, Component, DestroyRef, inject, Injector, Input } from '@angular/core';\nimport { MessageStripAlertService } from '../message-strip-alert.service';\nimport { Nullable } from '@fundamental-ngx/cdk/utils';\nimport { BehaviorSubject, map, tap } from 'rxjs';\nimport { ComponentPortal, PortalModule } from '@angular/cdk/portal';\nimport { MessageStripAlertRef } from '../message-strip-alert.ref';\nimport { MessageStripAlertContainerAlertRefs, MessageStripAlertContainerPosition } from '../tokens';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n/**\n * The component that represents the footer of the message strip alert container.\n * if user has provided the footer component through service, then this component\n * will render it inside itself.\n * Bear in mind that this component is always created, just sometimes if there is nothing to render\n * it will be empty.\n */\n@Component({\n selector: 'fd-message-strip-alert-container-footer',\n template: ` <ng-template [cdkPortalOutlet]=\"footerComponentPortal\"></ng-template> `,\n styles: [\n `\n :host {\n display: block;\n }\n `\n ],\n standalone: true,\n imports: [PortalModule]\n})\nexport class MessageStripAlertContainerFooterComponent implements AfterViewInit {\n /** @hidden */\n @Input()\n set alertRefs(alertRefs: Nullable<MessageStripAlertRef[]>) {\n this.alertRefs$.next(alertRefs);\n }\n\n /**\n * Reference to the user provided component's portal.\n */\n footerComponentPortal?: ComponentPortal<any>;\n\n /**\n * Position of the overlay in which this component is rendered.\n */\n private position = inject(MessageStripAlertContainerPosition);\n\n /** @hidden */\n private _destroyRef = inject(DestroyRef);\n\n /** @hidden */\n private messageStripAlertService = inject(MessageStripAlertService);\n\n /**\n * Observable that emits the alert references that are currently rendered in the container.\n */\n private alertRefs$ = new BehaviorSubject<Nullable<MessageStripAlertRef[]>>([]);\n\n /** @hidden */\n ngAfterViewInit(): void {\n this.messageStripAlertService.footerComponents$\n .pipe(\n map((components) => components[this.position]),\n tap((footerComponent) => {\n if (footerComponent) {\n this.footerComponentPortal = new ComponentPortal(\n footerComponent,\n null,\n Injector.create({\n providers: [\n {\n provide: MessageStripAlertContainerAlertRefs,\n useValue: this.alertRefs$.pipe(takeUntilDestroyed(this._destroyRef))\n }\n ]\n })\n );\n } else {\n this.footerComponentPortal = undefined;\n }\n }),\n takeUntilDestroyed(this._destroyRef)\n )\n .subscribe();\n }\n}\n","import { AfterViewInit, Component, ComponentRef, QueryList, ViewChildren, ViewEncapsulation } from '@angular/core';\nimport { CdkPortalOutlet, ComponentPortal, PortalModule } from '@angular/cdk/portal';\nimport { ScrollbarDirective } from '@fundamental-ngx/core/scrollbar';\nimport { MessageStripAlertComponent } from '../message-strip-alert/message-strip-alert.component';\nimport { AsyncPipe, NgFor } from '@angular/common';\nimport { MessageStripAlertContainerFooterComponent } from '../message-strip-alert-container-footer/message-strip-alert-container-footer.component';\nimport { map, Observable, startWith } from 'rxjs';\n\nimport { MessageStripAlertRef } from '../message-strip-alert.ref';\nimport { MessageStripAlert } from '../message-strip-alert/message-strip-alert.interface';\n\n/**\n * This will be rendered in the overlay. It is responsible for rendering the alerts and the footer.\n */\n@Component({\n selector: 'fd-message-strip-alert-container',\n template: `\n <div fdScrollbar>\n <ng-container *ngFor=\"let portal of attachedElements\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </ng-container>\n </div>\n <fd-message-strip-alert-container-footer\n [alertRefs]=\"alertRefs$ | async\"\n ></fd-message-strip-alert-container-footer>\n `,\n styleUrls: ['./message-strip-alert-container.component.scss'],\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgFor, PortalModule, ScrollbarDirective, MessageStripAlertContainerFooterComponent, AsyncPipe]\n})\nexport class MessageStripAlertContainerComponent implements AfterViewInit {\n /**\n * The list of the elements that are attached to the container.\n */\n attachedElements: ComponentPortal<MessageStripAlert>[] = [];\n\n /**\n * List of the rendered message strip alerts. It is used in the footer and is injected into the\n * user-provided footer component portal. This way, user has full control over the container alerts.\n */\n alertRefs$!: Observable<MessageStripAlertRef[]>;\n\n /** @hidden */\n @ViewChildren(CdkPortalOutlet)\n portalOutlets: QueryList<CdkPortalOutlet>;\n\n /** @hidden */\n @ViewChildren(MessageStripAlertComponent)\n alerts: QueryList<MessageStripAlert>;\n\n /** @hidden */\n ngAfterViewInit(): void {\n this.alertRefs$ = this.portalOutlets.changes.pipe(\n startWith(this.portalOutlets),\n map(() =>\n this.portalOutlets\n .toArray()\n .map((p) => (p.attachedRef as ComponentRef<MessageStripAlertComponent>)?.instance.alertRef)\n )\n );\n }\n}\n","import { OpenMessageStripAlertConfig } from './open-message-strip-alert.config';\n\nconst defaultConfig: Required<Omit<OpenMessageStripAlertConfig, 'content'>> = {\n position: 'top-middle',\n messageStrip: {}\n};\n\n/**\n * Applies default config to the given config\n */\nexport function applyDefaultConfig<ComponentType = unknown>(\n config: OpenMessageStripAlertConfig<ComponentType>\n): Required<OpenMessageStripAlertConfig<ComponentType>> {\n return { ...defaultConfig, ...config };\n}\n","import { ComponentRef, inject, Injectable, Injector, Type } from '@angular/core';\nimport { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { BehaviorSubject, combineLatest, map, Subject, tap } from 'rxjs';\nimport { ResponsiveBreakpoints, ViewportSizeObservable } from '@fundamental-ngx/cdk/utils';\nimport { MessageStripAlertContainerComponent } from './message-strip-alert-container/message-strip-alert-container.component';\nimport { MessageStripAlertPosition } from './message-strip-alert.position';\nimport { OpenMessageStripAlertConfig } from './open-message-strip-alert.config';\nimport { MessageStripAlertRef } from './message-strip-alert.ref';\nimport { MessageStripAlertComponentData, MessageStripAlertContainerPosition } from './tokens';\nimport { applyDefaultConfig } from './default-config';\nimport { MessageStripAlert } from './message-strip-alert/message-strip-alert.interface';\nimport { MessageStripAlertComponent } from './message-strip-alert/message-strip-alert.component';\nimport { patchLanguage } from '@fundamental-ngx/i18n';\n\n/**\n * Service that is responsible for opening and closing message strip alerts.\n * This should be only created once in entire application.\n * Service is responsible for creating and managing the overlays for the\n * message strip alerts. This also manages the footer components for any\n * given position.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class MessageStripAlertService {\n /** @hidden */\n private injector = inject(Injector);\n\n /** @hidden */\n private readonly _overlay: Overlay = inject(Overlay);\n\n /** @hidden */\n private viewportSize$ = inject(ViewportSizeObservable);\n\n /** @hidden */\n private readonly _messageStripAlertService = inject(MessageStripAlertService, { optional: true, skipSelf: true });\n\n /** @hidden */\n private _messageAlerts$ = new BehaviorSubject<\n Array<\n Required<OpenMessageStripAlertConfig> & {\n portal: ComponentPortal<MessageStripAlert>;\n }\n >\n >([]);\n\n /** @hidden */\n private _overlayRefs: Partial<\n Record<\n MessageStripAlertPosition,\n {\n ref: OverlayRef;\n containerRef: ComponentRef<MessageStripAlertContainerComponent>;\n }\n >\n > = {};\n\n /** @hidden */\n private _messageStripAlertContainerFooters$ = new BehaviorSubject<\n Partial<Record<MessageStripAlertPosition, Type<any>>>\n >({});\n\n /** @hidden */\n footerComponents$ = this._messageStripAlertContainerFooters$.asObservable();\n\n /** @hidden */\n constructor() {\n if (this._messageStripAlertService) {\n throw new Error('MessageStripAlertService is already provided');\n }\n this.listenToItemsChanges();\n }\n\n /**\n * Set the footer component for a given position.\n */\n setFooterComponent(position: MessageStripAlertPosition, component: Type<any>): void {\n this._messageStripAlertContainerFooters$.next({\n ...this._messageStripAlertContainerFooters$.value,\n [position]: component\n });\n }\n\n /**\n * Open a message strip alert with given configuration\n */\n open<ComponentType = unknown>(c: OpenMessageStripAlertConfig<ComponentType>): MessageStripAlertRef {\n const config = applyDefaultConfig<ComponentType>(c);\n const alertRef = this.getMessageStripAlertRef(config);\n this._messageAlerts$.next([{ ...config, portal: alertRef.portal }, ...this._messageAlerts$.value]);\n return alertRef;\n }\n\n /** @hidden */\n private getMessageStripAlertRef<ComponentType = unknown>(\n config: Required<OpenMessageStripAlertConfig<ComponentType>>\n ): MessageStripAlertRef {\n const onDismiss$ = new Subject<void>();\n const alertRef = {\n portal: new ComponentPortal(\n MessageStripAlertComponent<ComponentType>,\n null,\n Injector.create({\n providers: [\n {\n provide: MessageStripAlertComponentData,\n useValue: {\n content: config.content,\n messageStripConfig: {\n ...config.messageStrip,\n onDismiss: () => {\n this._messageAlerts$.next(\n this._messageAlerts$.value.filter((item) => item.portal !== alertRef.portal)\n );\n config.messageStrip &&\n config.messageStrip.onDismiss &&\n config.messageStrip.onDismiss();\n onDismiss$.next();\n }\n }\n }\n },\n {\n provide: MessageStripAlertRef,\n useFactory: () => alertRef\n },\n patchLanguage((lang) => ({\n coreMessageStrip: {\n dismissLabel: config.messageStrip.dismissLabel || lang.coreMessageStrip.dismissLabel\n }\n }))\n ],\n parent: this.injector\n })\n ),\n dismiss: () => {\n this._messageAlerts$.next(this._messageAlerts$.value.filter((item) => item.portal !== alertRef.portal));\n config.messageStrip && config.messageStrip.onDismiss && config.messageStrip.onDismiss();\n onDismiss$.next();\n onDismiss$.complete();\n },\n onDismiss$: onDismiss$.asObservable()\n };\n return alertRef;\n }\n\n /** @hidden */\n private listenToItemsChanges(): void {\n combineLatest([this.viewportSize$, this._messageAlerts$.asObservable()])\n .pipe(\n map(\n ([viewportSize, messageAlerts]): Record<\n MessageStripAlertPosition,\n Array<ComponentPortal<MessageStripAlert>>\n > => {\n if (viewportSize < ResponsiveBreakpoints.M) {\n return messageAlerts.reduce((acc, next) => {\n const position = next.position?.startsWith('top') ? 'top-middle' : 'bottom-middle';\n acc[position] = [...(acc[position] || []), next.portal];\n return acc;\n }, {} as Record<MessageStripAlertPosition, Array<ComponentPortal<MessageStripAlert>>>);\n }\n return messageAlerts.reduce((acc, next) => {\n acc[next.position] = [...(acc[next.position] || []), next.portal];\n return acc;\n }, {} as Record<MessageStripAlertPosition, Array<ComponentPortal<MessageStripAlert>>>);\n }\n ),\n tap(\n (\n messageAlertsByPosition: Partial<\n Record<MessageStripAlertPosition, Array<ComponentPortal<MessageStripAlert>>>\n >\n ) => {\n let topSectionIsOpened = false;\n let bottomSectionIsOpened = false;\n (\n Object.entries(messageAlertsByPosition) as Array<\n [MessageStripAlertPosition, ComponentPortal<MessageStripAlert>[]]\n >\n ).forEach(([position, portals]) => {\n topSectionIsOpened = topSectionIsOpened || position.startsWith('top');\n bottomSectionIsOpened = bottomSectionIsOpened || position.startsWith('bottom');\n const { containerRef } = this.getOverlayRef(position);\n containerRef.instance.attachedElements = portals;\n containerRef.changeDetectorRef.detectChanges();\n });\n this.syncExistingOverlays(messageAlertsByPosition, bottomSectionIsOpened, topSectionIsOpened);\n }\n )\n )\n .subscribe();\n }\n\n /** @hidden */\n private syncExistingOverlays(\n messageAlertsByPosition: Partial<Record<MessageStripAlertPosition, ComponentPortal<MessageStripAlert>[]>>,\n bottomSectionIsOpened: boolean,\n topSectionIsOpened: boolean\n ): void {\n (Object.keys(this._overlayRefs) as MessageStripAlertPosition[]).forEach((position) => {\n if (!messageAlertsByPosition[position]) {\n this._overlayRefs[position]!.ref.dispose();\n delete this._overlayRefs[position];\n } else {\n const ref = this._overlayRefs[position]!.ref;\n if (position.startsWith('top')) {\n if (bottomSectionIsOpened) {\n ref.overlayElement.classList.add('fd-message-strip-alert-overlay--bottom-opened');\n } else {\n ref.overlayElement.classList.remove('fd-message-strip-alert-overlay--bottom-opened');\n }\n }\n if (position.startsWith('bottom')) {\n if (topSectionIsOpened) {\n ref.overlayElement.classList.add('fd-message-strip-alert-overlay--top-opened');\n } else {\n ref.overlayElement.classList.remove('fd-message-strip-alert-overlay--top-opened');\n }\n }\n }\n });\n }\n\n /** @hidden */\n private getOverlayRef(position: MessageStripAlertPosition): {\n ref: OverlayRef;\n containerRef: ComponentRef<MessageStripAlertContainerComponent>;\n } {\n if (!this._overlayRefs[position]) {\n const [verticalPosition, horizontalPosition] = position.split('-');\n const overlayRef = this.createOverlay(verticalPosition, horizontalPosition);\n const containerRef = overlayRef.attach(\n new ComponentPortal(\n MessageStripAlertContainerComponent,\n null,\n Injector.create({\n parent: this.injector,\n providers: [\n {\n provide: MessageStripAlertContainerPosition,\n useValue: position\n }\n ]\n })\n )\n );\n this._overlayRefs[position] = { ref: overlayRef, containerRef };\n }\n return this._overlayRefs[position]!;\n }\n\n /** @hidden */\n private createOverlay(verticalPosition: string, horizontalPosition: string): OverlayRef {\n return this._overlay.create({\n panelClass: [\n 'fd-message-strip-alert-overlay',\n `fd-message-strip-alert-overlay--${verticalPosition}`,\n `fd-message-strip-alert-overlay--${horizontalPosition}`\n ],\n hasBackdrop: false\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n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;;ACxBD;;AAEG;;;;"}
@@ -80,7 +80,7 @@ class MessageToastComponent extends BaseToastDurationDismissibleContainerCompone
80
80
  super(config);
81
81
  }
82
82
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: MessageToastComponent, deps: [{ token: MessageToastConfig }], target: i0.ɵɵFactoryTarget.Component }); }
83
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: MessageToastComponent, isStandalone: true, selector: "fd-message-toast", host: { properties: { "style.width": "width", "style.min-width": "minWidth", "style.max-width": "maxWidth", "style.height": "height", "style.min-height": "minHeight", "style.max-height": "maxHeight", "attr.aria-label": "ariaLabel", "attr.aria-live": "\"polite\"", "attr.id": "id" }, classAttribute: "fd-message-toast" }, usesInheritance: true, ngImport: i0, template: `<ng-template cdkPortalOutlet></ng-template>`, isInline: true, styles: [".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}/*!\n * Fundamental Library Styles v0.30.3-rc.2\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-message-toast{-webkit-box-sizing:border-box;-webkit-box-shadow:var(--sapContent_Shadow2);background-color:var(--sapList_Background);border:0;border-radius:var(--sapElement_BorderCornerRadius);box-shadow:var(--sapContent_Shadow2);box-sizing:border-box;color:var(--sapTextColor);color:var(--sapList_TextColor);display:inline-flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;max-width:15rem;padding:1rem;text-align:center;width:auto}.fd-message-toast:after,.fd-message-toast:before{box-sizing:inherit;font-size:inherit}.fn-toast-overlay-container .cdk-overlay-pane{max-height:none;height:-moz-fit-content;height:fit-content}\n"], dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [toastAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
83
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.7", type: MessageToastComponent, isStandalone: true, selector: "fd-message-toast", host: { properties: { "style.width": "width", "style.min-width": "minWidth", "style.max-width": "maxWidth", "style.height": "height", "style.min-height": "minHeight", "style.max-height": "maxHeight", "attr.aria-label": "ariaLabel", "attr.aria-live": "\"polite\"", "attr.id": "id" }, classAttribute: "fd-message-toast" }, usesInheritance: true, ngImport: i0, template: `<ng-template cdkPortalOutlet></ng-template>`, isInline: true, styles: [".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}/*!\n * Fundamental Library Styles v0.31.0\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-message-toast{-webkit-box-sizing:border-box;-webkit-box-shadow:var(--sapContent_Shadow2);background-color:var(--sapList_Background);border:0;border-radius:var(--sapElement_BorderCornerRadius);box-shadow:var(--sapContent_Shadow2);box-sizing:border-box;color:var(--sapTextColor);color:var(--sapList_TextColor);display:inline-flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;max-width:15rem;padding:1rem;text-align:center;width:auto}.fd-message-toast:after,.fd-message-toast:before{box-sizing:inherit;font-size:inherit}.fn-toast-overlay-container .cdk-overlay-pane{max-height:none;height:-moz-fit-content;height:fit-content}\n"], dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [toastAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
84
84
  }
85
85
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: MessageToastComponent, decorators: [{
86
86
  type: Component,
@@ -95,7 +95,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImpor
95
95
  '[attr.aria-live]': '"polite"',
96
96
  '[attr.id]': 'id',
97
97
  class: 'fd-message-toast'
98
- }, standalone: true, imports: [PortalModule], styles: [".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}/*!\n * Fundamental Library Styles v0.30.3-rc.2\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-message-toast{-webkit-box-sizing:border-box;-webkit-box-shadow:var(--sapContent_Shadow2);background-color:var(--sapList_Background);border:0;border-radius:var(--sapElement_BorderCornerRadius);box-shadow:var(--sapContent_Shadow2);box-sizing:border-box;color:var(--sapTextColor);color:var(--sapList_TextColor);display:inline-flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;max-width:15rem;padding:1rem;text-align:center;width:auto}.fd-message-toast:after,.fd-message-toast:before{box-sizing:inherit;font-size:inherit}.fn-toast-overlay-container .cdk-overlay-pane{max-height:none;height:-moz-fit-content;height:fit-content}\n"] }]
98
+ }, standalone: true, imports: [PortalModule], styles: [".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}/*!\n * Fundamental Library Styles v0.31.0\n * Copyright (c) 2023 SAP SE or an SAP affiliate company.\n * Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)\n */.fd-message-toast{-webkit-box-sizing:border-box;-webkit-box-shadow:var(--sapContent_Shadow2);background-color:var(--sapList_Background);border:0;border-radius:var(--sapElement_BorderCornerRadius);box-shadow:var(--sapContent_Shadow2);box-sizing:border-box;color:var(--sapTextColor);color:var(--sapList_TextColor);display:inline-flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;forced-color-adjust:none;line-height:var(--sapContent_LineHeight);margin:0;max-width:15rem;padding:1rem;text-align:center;width:auto}.fd-message-toast:after,.fd-message-toast:before{box-sizing:inherit;font-size:inherit}.fn-toast-overlay-container .cdk-overlay-pane{max-height:none;height:-moz-fit-content;height:fit-content}\n"] }]
99
99
  }], ctorParameters: function () { return [{ type: MessageToastConfig }]; } });
100
100
 
101
101
  class MessageToastService extends BaseDismissibleToastService {
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-core-message-toast.mjs","sources":["../../../../libs/core/src/lib/message-toast/constants/message-toast.token.ts","../../../../libs/core/src/lib/message-toast/ref/message-toast.ref.ts","../../../../libs/core/src/lib/message-toast/components/message-toast-text.component.ts","../../../../libs/core/src/lib/message-toast/config/message-toast.config.ts","../../../../libs/core/src/lib/message-toast/constants/message-toast.animation.ts","../../../../libs/core/src/lib/message-toast/message-toast.component.ts","../../../../libs/core/src/lib/message-toast/message-toast.service.ts","../../../../libs/core/src/lib/message-toast/provide-config.ts","../../../../libs/core/src/lib/message-toast/toast-overlay-container.class.ts","../../../../libs/core/src/lib/message-toast/message-toast.module.ts","../../../../libs/core/src/lib/message-toast/fundamental-ngx-core-message-toast.ts"],"sourcesContent":["/** Injection token that can be used to access the data that was passed in to a Message Toast. */\nimport { InjectionToken } from '@angular/core';\nimport { MessageToastConfig } from '../config/message-toast.config';\n\nexport const MESSAGE_TOAST_DATA = new InjectionToken<any>('MessageToastData');\nexport const MESSAGE_TOAST_CONFIG = new InjectionToken<MessageToastConfig>('MessageToastConfig');\n","import { OverlayRef } from '@angular/cdk/overlay';\nimport { BaseToastDurationDismissibleRef, BaseToastPosition } from '@fundamental-ngx/cdk/utils';\nimport { MessageToastConfig } from '../config/message-toast.config';\nimport { MessageToastComponent } from '../message-toast.component';\n\nexport class MessageToastRef<T = any> extends BaseToastDurationDismissibleRef<T, MessageToastConfig> {\n /** Observable that is triggered when the message toast has timed out. */\n afterTimeout = this._afterDismissed$.asObservable();\n\n /** Data passed from the service open method. */\n readonly data: T;\n\n /** @hidden */\n constructor(\n public containerInstance: MessageToastComponent,\n public overlayRef: OverlayRef,\n public positionStrategy: BaseToastPosition\n ) {\n super(containerInstance, overlayRef, positionStrategy);\n\n this.data = this.containerInstance.config.data;\n }\n}\n","import { ChangeDetectionStrategy, Component, Inject, ViewEncapsulation } from '@angular/core';\nimport { ToastTextComponent } from '@fundamental-ngx/cdk/utils';\nimport { MESSAGE_TOAST_DATA } from '../constants/message-toast.token';\nimport { MessageToastRef } from '../ref/message-toast.ref';\n\n@Component({\n selector: 'fd-message-toast-text',\n template: `{{ message }}`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true\n})\nexport class MessageToastTextComponent implements ToastTextComponent {\n /** @hidden */\n constructor(\n public toastRef: MessageToastRef<MessageToastTextComponent>,\n @Inject(MESSAGE_TOAST_DATA) public message: string\n ) {}\n}\n","import { BaseToastDurationDismissibleConfig } from '@fundamental-ngx/cdk/utils';\n\n/**\n * Configuration used when opening a Message Toast.\n */\nexport class MessageToastConfig<T = any> extends BaseToastDurationDismissibleConfig<T> {\n /** Whether the Message Toast should be animated. */\n animated? = false;\n}\n","import { animate, state, style, transition, trigger } from '@angular/animations';\n\nexport const toastAnimation = trigger('state', [\n state(\n 'void, hidden',\n style({\n transform: 'translateY(1rem)',\n opacity: 0\n })\n ),\n state(\n 'visible',\n style({\n transform: 'translateY(0)',\n opacity: 1\n })\n ),\n transition('* => visible', animate('150ms cubic-bezier(0, 0, 0.2, 1)')),\n transition(\n '* => void, * => hidden',\n animate(\n '75ms cubic-bezier(0.4, 0.0, 1, 1)',\n style({\n opacity: 0\n })\n )\n )\n]);\n","import { PortalModule } from '@angular/cdk/portal';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { BaseToastDurationDismissibleContainerComponent } from '@fundamental-ngx/cdk/utils';\nimport { MessageToastConfig } from './config/message-toast.config';\nimport { toastAnimation } from './constants/message-toast.animation';\n\n@Component({\n selector: 'fd-message-toast',\n template: `<ng-template cdkPortalOutlet></ng-template>`,\n styleUrls: ['./message-toast.component.scss'],\n animations: [toastAnimation],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[style.width]': 'width',\n '[style.min-width]': 'minWidth',\n '[style.max-width]': 'maxWidth',\n '[style.height]': 'height',\n '[style.min-height]': 'minHeight',\n '[style.max-height]': 'maxHeight',\n '[attr.aria-label]': 'ariaLabel',\n '[attr.aria-live]': '\"polite\"',\n '[attr.id]': 'id',\n class: 'fd-message-toast'\n },\n standalone: true,\n imports: [PortalModule]\n})\nexport class MessageToastComponent extends BaseToastDurationDismissibleContainerComponent<MessageToastConfig> {\n /** @hidden */\n constructor(config: MessageToastConfig) {\n super(config);\n }\n}\n","import { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { EmbeddedViewRef, Inject, Injectable, Injector, StaticProvider, TemplateRef, Type } from '@angular/core';\nimport { BaseDismissibleToastService, BaseToastPosition, ToastBottomCenterPosition } from '@fundamental-ngx/cdk/utils';\nimport { MessageToastTextComponent } from './components/message-toast-text.component';\nimport { MessageToastConfig } from './config/message-toast.config';\nimport { MESSAGE_TOAST_CONFIG, MESSAGE_TOAST_DATA } from './constants/message-toast.token';\nimport { MessageToastComponent } from './message-toast.component';\nimport { MessageToastRef } from './ref/message-toast.ref';\n\n@Injectable()\nexport class MessageToastService<P = any> extends BaseDismissibleToastService<MessageToastConfig<P>> {\n /** @Hidden */\n protected toastTextComponent = MessageToastTextComponent;\n /** @Hidden */\n protected toastContainerComponent = MessageToastComponent;\n /** @Hidden */\n protected toastDataInjectionToken = MESSAGE_TOAST_DATA;\n /** @Hidden */\n protected toastPositionStrategy = ToastBottomCenterPosition;\n /** @Hidden */\n protected defaultConfig;\n\n /** @hidden */\n constructor(overlay: Overlay, injector: Injector, @Inject(MESSAGE_TOAST_CONFIG) config: MessageToastConfig) {\n super(overlay, injector);\n this.defaultConfig = config;\n }\n\n /**\n * Opens toast with a provided message.\n * @param message Message to display in a Message Toast.\n * @param config Toast configuration.\n * @returns Toast reference.\n */\n open<T = any>(\n message: string | Type<T> | TemplateRef<any>,\n config?: MessageToastConfig<P>\n ): MessageToastRef<MessageToastTextComponent | T | EmbeddedViewRef<any>> {\n const mergedConfig = { ...this.defaultConfig, ...config };\n if (message instanceof TemplateRef) {\n return this.openFromTemplate(message, mergedConfig);\n } else if (typeof message === 'string') {\n return this.openFromString(message, mergedConfig);\n }\n return this.openFromComponent(message, mergedConfig);\n }\n\n /**\n * Opens a Toast with provided message as a content.\n * @param message string to render inside a Toast.\n * @param config Toast configuration\n */\n openFromString(message: string, config?: MessageToastConfig<P>): MessageToastRef<MessageToastTextComponent> {\n const mergedConfig = { ...this.defaultConfig, ...config };\n mergedConfig.data = message;\n return this.openFromComponent(\n this.toastTextComponent,\n mergedConfig\n ) as MessageToastRef<MessageToastTextComponent>;\n }\n\n /**\n * Opens a Toast with provided component inside.\n * @param component Component to render inside a Toast.\n * @param config Toast configuration.\n * @returns Toast reference.\n */\n openFromComponent<T>(component: Type<T>, config: MessageToastConfig<P>): MessageToastRef<T> {\n return this._attach(component, config) as MessageToastRef<T>;\n }\n\n /**\n * Opens a Toast with provided Template Reference.\n * @param template Template Reference to render inside a Toast.\n * @param config Toast configuration.\n * @returns Toast reference.\n */\n openFromTemplate(template: TemplateRef<any>, config: MessageToastConfig<P>): MessageToastRef<EmbeddedViewRef<any>> {\n return this._attach(template, config) as MessageToastRef<EmbeddedViewRef<any>>;\n }\n\n /** @hidden */\n protected getContainerComponentProviders(config: MessageToastConfig<P>): StaticProvider[] {\n return [{ provide: MessageToastConfig, useValue: config }];\n }\n\n /** @hidden */\n protected getContentComponentProviders<T>(\n config: MessageToastConfig<P>,\n messageToastRef: MessageToastRef<T>\n ): StaticProvider[] {\n return [\n { provide: MessageToastRef, useValue: messageToastRef },\n { provide: this.toastDataInjectionToken, useValue: config.data }\n ];\n }\n\n /** @hidden */\n protected getToastRef<T>(\n containerRef: MessageToastComponent,\n overlayRef: OverlayRef,\n positionStrategy: BaseToastPosition = ToastBottomCenterPosition\n ): MessageToastRef<T | EmbeddedViewRef<any>> {\n return new MessageToastRef<T | EmbeddedViewRef<any>>(containerRef, overlayRef, positionStrategy);\n }\n}\n","import { Provider } from '@angular/core';\nimport { MessageToastConfig } from './config/message-toast.config';\nimport { MESSAGE_TOAST_CONFIG } from './constants/message-toast.token';\n\n/**\n * Function allows to provide custom configuration for Message Toast.\n * @param config\n * @returns\n */\nexport function provideMessageToastConfig(config: MessageToastConfig): Provider {\n return {\n provide: MESSAGE_TOAST_CONFIG,\n useValue: config\n };\n}\n","import { OverlayContainer } from '@angular/cdk/overlay';\nimport { Injectable } from '@angular/core';\n\n/**\n * Custom overlay container for CDK Overlay.\n */\n@Injectable()\nexport class ToastOverlayContainer extends OverlayContainer {\n /**\n * This method returns the overlay container element. It will lazily\n * create the element the first time it is called to facilitate using\n * the container in non-browser environments.\n * @returns the container element\n */\n getContainerElement(): HTMLElement {\n const containerElement = super.getContainerElement();\n\n containerElement.classList.add('fd-message-toast-container');\n\n return containerElement;\n }\n}\n","import { OverlayContainer, OverlayModule } from '@angular/cdk/overlay';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { CommonModule } from '@angular/common';\nimport { ModuleWithProviders, NgModule } from '@angular/core';\nimport { MessageToastTextComponent } from './components/message-toast-text.component';\nimport { MessageToastConfig } from './config/message-toast.config';\nimport { MESSAGE_TOAST_CONFIG } from './constants/message-toast.token';\nimport { MessageToastComponent } from './message-toast.component';\nimport { MessageToastService } from './message-toast.service';\nimport { provideMessageToastConfig } from './provide-config';\nimport { ToastOverlayContainer } from './toast-overlay-container.class';\n\n@NgModule({\n imports: [CommonModule, PortalModule, OverlayModule, MessageToastComponent, MessageToastTextComponent],\n exports: [MessageToastComponent],\n providers: [\n MessageToastService,\n { provide: OverlayContainer, useClass: ToastOverlayContainer },\n { provide: MESSAGE_TOAST_CONFIG, useValue: new MessageToastConfig() }\n ]\n})\nexport class MessageToastModule {\n /**\n * Allows configuring module on a global level with custom configuration.\n * @param config User's custom configuration.\n */\n static withConfig(config: MessageToastConfig): ModuleWithProviders<MessageToastModule> {\n return {\n ngModule: MessageToastModule,\n providers: [provideMessageToastConfig(config)]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.MessageToastConfig"],"mappings":";;;;;;;;;;AAAA;MAIa,kBAAkB,GAAG,IAAI,cAAc,CAAM,kBAAkB,EAAE;MACjE,oBAAoB,GAAG,IAAI,cAAc,CAAqB,oBAAoB;;ACAzF,MAAO,eAAyB,SAAQ,+BAAsD,CAAA;;AAQhG,IAAA,WAAA,CACW,iBAAwC,EACxC,UAAsB,EACtB,gBAAmC,EAAA;AAE1C,QAAA,KAAK,CAAC,iBAAiB,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;QAJhD,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAuB;QACxC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAY;QACtB,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAmB;;AAT9C,Q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AAQ,EAAE,IAAI,kBAAkB,EAAE,EAAE;AACxE,SAAA,EAAA,OAAA,EAAA,CANS,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAQjE,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAT9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,yBAAyB,CAAC;oBACtG,OAAO,EAAE,CAAC,qBAAqB,CAAC;AAChC,oBAAA,SAAS,EAAE;wBACP,mBAAmB;AACnB,wBAAA,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,qBAAqB,EAAE;wBAC9D,EAAE,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,kBAAkB,EAAE,EAAE;AACxE,qBAAA;AACJ,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-core-message-toast.mjs","sources":["../../../../libs/core/src/lib/message-toast/constants/message-toast.token.ts","../../../../libs/core/src/lib/message-toast/ref/message-toast.ref.ts","../../../../libs/core/src/lib/message-toast/components/message-toast-text.component.ts","../../../../libs/core/src/lib/message-toast/config/message-toast.config.ts","../../../../libs/core/src/lib/message-toast/constants/message-toast.animation.ts","../../../../libs/core/src/lib/message-toast/message-toast.component.ts","../../../../libs/core/src/lib/message-toast/message-toast.service.ts","../../../../libs/core/src/lib/message-toast/provide-config.ts","../../../../libs/core/src/lib/message-toast/toast-overlay-container.class.ts","../../../../libs/core/src/lib/message-toast/message-toast.module.ts","../../../../libs/core/src/lib/message-toast/fundamental-ngx-core-message-toast.ts"],"sourcesContent":["/** Injection token that can be used to access the data that was passed in to a Message Toast. */\nimport { InjectionToken } from '@angular/core';\nimport { MessageToastConfig } from '../config/message-toast.config';\n\nexport const MESSAGE_TOAST_DATA = new InjectionToken<any>('MessageToastData');\nexport const MESSAGE_TOAST_CONFIG = new InjectionToken<MessageToastConfig>('MessageToastConfig');\n","import { OverlayRef } from '@angular/cdk/overlay';\nimport { BaseToastDurationDismissibleRef, BaseToastPosition } from '@fundamental-ngx/cdk/utils';\nimport { MessageToastConfig } from '../config/message-toast.config';\nimport { MessageToastComponent } from '../message-toast.component';\n\nexport class MessageToastRef<T = any> extends BaseToastDurationDismissibleRef<T, MessageToastConfig> {\n /** Observable that is triggered when the message toast has timed out. */\n afterTimeout = this._afterDismissed$.asObservable();\n\n /** Data passed from the service open method. */\n readonly data: T;\n\n /** @hidden */\n constructor(\n public containerInstance: MessageToastComponent,\n public overlayRef: OverlayRef,\n public positionStrategy: BaseToastPosition\n ) {\n super(containerInstance, overlayRef, positionStrategy);\n\n this.data = this.containerInstance.config.data;\n }\n}\n","import { ChangeDetectionStrategy, Component, Inject, ViewEncapsulation } from '@angular/core';\nimport { ToastTextComponent } from '@fundamental-ngx/cdk/utils';\nimport { MESSAGE_TOAST_DATA } from '../constants/message-toast.token';\nimport { MessageToastRef } from '../ref/message-toast.ref';\n\n@Component({\n selector: 'fd-message-toast-text',\n template: `{{ message }}`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true\n})\nexport class MessageToastTextComponent implements ToastTextComponent {\n /** @hidden */\n constructor(\n public toastRef: MessageToastRef<MessageToastTextComponent>,\n @Inject(MESSAGE_TOAST_DATA) public message: string\n ) {}\n}\n","import { BaseToastDurationDismissibleConfig } from '@fundamental-ngx/cdk/utils';\n\n/**\n * Configuration used when opening a Message Toast.\n */\nexport class MessageToastConfig<T = any> extends BaseToastDurationDismissibleConfig<T> {\n /** Whether the Message Toast should be animated. */\n animated? = false;\n}\n","import { animate, state, style, transition, trigger } from '@angular/animations';\n\nexport const toastAnimation = trigger('state', [\n state(\n 'void, hidden',\n style({\n transform: 'translateY(1rem)',\n opacity: 0\n })\n ),\n state(\n 'visible',\n style({\n transform: 'translateY(0)',\n opacity: 1\n })\n ),\n transition('* => visible', animate('150ms cubic-bezier(0, 0, 0.2, 1)')),\n transition(\n '* => void, * => hidden',\n animate(\n '75ms cubic-bezier(0.4, 0.0, 1, 1)',\n style({\n opacity: 0\n })\n )\n )\n]);\n","import { PortalModule } from '@angular/cdk/portal';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { BaseToastDurationDismissibleContainerComponent } from '@fundamental-ngx/cdk/utils';\nimport { MessageToastConfig } from './config/message-toast.config';\nimport { toastAnimation } from './constants/message-toast.animation';\n\n@Component({\n selector: 'fd-message-toast',\n template: `<ng-template cdkPortalOutlet></ng-template>`,\n styleUrls: ['./message-toast.component.scss'],\n animations: [toastAnimation],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[style.width]': 'width',\n '[style.min-width]': 'minWidth',\n '[style.max-width]': 'maxWidth',\n '[style.height]': 'height',\n '[style.min-height]': 'minHeight',\n '[style.max-height]': 'maxHeight',\n '[attr.aria-label]': 'ariaLabel',\n '[attr.aria-live]': '\"polite\"',\n '[attr.id]': 'id',\n class: 'fd-message-toast'\n },\n standalone: true,\n imports: [PortalModule]\n})\nexport class MessageToastComponent extends BaseToastDurationDismissibleContainerComponent<MessageToastConfig> {\n /** @hidden */\n constructor(config: MessageToastConfig) {\n super(config);\n }\n}\n","import { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { EmbeddedViewRef, Inject, Injectable, Injector, StaticProvider, TemplateRef, Type } from '@angular/core';\nimport { BaseDismissibleToastService, BaseToastPosition, ToastBottomCenterPosition } from '@fundamental-ngx/cdk/utils';\nimport { MessageToastTextComponent } from './components/message-toast-text.component';\nimport { MessageToastConfig } from './config/message-toast.config';\nimport { MESSAGE_TOAST_CONFIG, MESSAGE_TOAST_DATA } from './constants/message-toast.token';\nimport { MessageToastComponent } from './message-toast.component';\nimport { MessageToastRef } from './ref/message-toast.ref';\n\n@Injectable()\nexport class MessageToastService<P = any> extends BaseDismissibleToastService<MessageToastConfig<P>> {\n /** @Hidden */\n protected toastTextComponent = MessageToastTextComponent;\n /** @Hidden */\n protected toastContainerComponent = MessageToastComponent;\n /** @Hidden */\n protected toastDataInjectionToken = MESSAGE_TOAST_DATA;\n /** @Hidden */\n protected toastPositionStrategy = ToastBottomCenterPosition;\n /** @Hidden */\n protected defaultConfig;\n\n /** @hidden */\n constructor(overlay: Overlay, injector: Injector, @Inject(MESSAGE_TOAST_CONFIG) config: MessageToastConfig) {\n super(overlay, injector);\n this.defaultConfig = config;\n }\n\n /**\n * Opens toast with a provided message.\n * @param message Message to display in a Message Toast.\n * @param config Toast configuration.\n * @returns Toast reference.\n */\n open<T = any>(\n message: string | Type<T> | TemplateRef<any>,\n config?: MessageToastConfig<P>\n ): MessageToastRef<MessageToastTextComponent | T | EmbeddedViewRef<any>> {\n const mergedConfig = { ...this.defaultConfig, ...config };\n if (message instanceof TemplateRef) {\n return this.openFromTemplate(message, mergedConfig);\n } else if (typeof message === 'string') {\n return this.openFromString(message, mergedConfig);\n }\n return this.openFromComponent(message, mergedConfig);\n }\n\n /**\n * Opens a Toast with provided message as a content.\n * @param message string to render inside a Toast.\n * @param config Toast configuration\n */\n openFromString(message: string, config?: MessageToastConfig<P>): MessageToastRef<MessageToastTextComponent> {\n const mergedConfig = { ...this.defaultConfig, ...config };\n mergedConfig.data = message;\n return this.openFromComponent(\n this.toastTextComponent,\n mergedConfig\n ) as MessageToastRef<MessageToastTextComponent>;\n }\n\n /**\n * Opens a Toast with provided component inside.\n * @param component Component to render inside a Toast.\n * @param config Toast configuration.\n * @returns Toast reference.\n */\n openFromComponent<T>(component: Type<T>, config: MessageToastConfig<P>): MessageToastRef<T> {\n return this._attach(component, config) as MessageToastRef<T>;\n }\n\n /**\n * Opens a Toast with provided Template Reference.\n * @param template Template Reference to render inside a Toast.\n * @param config Toast configuration.\n * @returns Toast reference.\n */\n openFromTemplate(template: TemplateRef<any>, config: MessageToastConfig<P>): MessageToastRef<EmbeddedViewRef<any>> {\n return this._attach(template, config) as MessageToastRef<EmbeddedViewRef<any>>;\n }\n\n /** @hidden */\n protected getContainerComponentProviders(config: MessageToastConfig<P>): StaticProvider[] {\n return [{ provide: MessageToastConfig, useValue: config }];\n }\n\n /** @hidden */\n protected getContentComponentProviders<T>(\n config: MessageToastConfig<P>,\n messageToastRef: MessageToastRef<T>\n ): StaticProvider[] {\n return [\n { provide: MessageToastRef, useValue: messageToastRef },\n { provide: this.toastDataInjectionToken, useValue: config.data }\n ];\n }\n\n /** @hidden */\n protected getToastRef<T>(\n containerRef: MessageToastComponent,\n overlayRef: OverlayRef,\n positionStrategy: BaseToastPosition = ToastBottomCenterPosition\n ): MessageToastRef<T | EmbeddedViewRef<any>> {\n return new MessageToastRef<T | EmbeddedViewRef<any>>(containerRef, overlayRef, positionStrategy);\n }\n}\n","import { Provider } from '@angular/core';\nimport { MessageToastConfig } from './config/message-toast.config';\nimport { MESSAGE_TOAST_CONFIG } from './constants/message-toast.token';\n\n/**\n * Function allows to provide custom configuration for Message Toast.\n * @param config\n * @returns\n */\nexport function provideMessageToastConfig(config: MessageToastConfig): Provider {\n return {\n provide: MESSAGE_TOAST_CONFIG,\n useValue: config\n };\n}\n","import { OverlayContainer } from '@angular/cdk/overlay';\nimport { Injectable } from '@angular/core';\n\n/**\n * Custom overlay container for CDK Overlay.\n */\n@Injectable()\nexport class ToastOverlayContainer extends OverlayContainer {\n /**\n * This method returns the overlay container element. It will lazily\n * create the element the first time it is called to facilitate using\n * the container in non-browser environments.\n * @returns the container element\n */\n getContainerElement(): HTMLElement {\n const containerElement = super.getContainerElement();\n\n containerElement.classList.add('fd-message-toast-container');\n\n return containerElement;\n }\n}\n","import { OverlayContainer, OverlayModule } from '@angular/cdk/overlay';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { CommonModule } from '@angular/common';\nimport { ModuleWithProviders, NgModule } from '@angular/core';\nimport { MessageToastTextComponent } from './components/message-toast-text.component';\nimport { MessageToastConfig } from './config/message-toast.config';\nimport { MESSAGE_TOAST_CONFIG } from './constants/message-toast.token';\nimport { MessageToastComponent } from './message-toast.component';\nimport { MessageToastService } from './message-toast.service';\nimport { provideMessageToastConfig } from './provide-config';\nimport { ToastOverlayContainer } from './toast-overlay-container.class';\n\n@NgModule({\n imports: [CommonModule, PortalModule, OverlayModule, MessageToastComponent, MessageToastTextComponent],\n exports: [MessageToastComponent],\n providers: [\n MessageToastService,\n { provide: OverlayContainer, useClass: ToastOverlayContainer },\n { provide: MESSAGE_TOAST_CONFIG, useValue: new MessageToastConfig() }\n ]\n})\nexport class MessageToastModule {\n /**\n * Allows configuring module on a global level with custom configuration.\n * @param config User's custom configuration.\n */\n static withConfig(config: MessageToastConfig): ModuleWithProviders<MessageToastModule> {\n return {\n ngModule: MessageToastModule,\n providers: [provideMessageToastConfig(config)]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.MessageToastConfig"],"mappings":";;;;;;;;;;AAAA;MAIa,kBAAkB,GAAG,IAAI,cAAc,CAAM,kBAAkB,EAAE;MACjE,oBAAoB,GAAG,IAAI,cAAc,CAAqB,oBAAoB;;ACAzF,MAAO,eAAyB,SAAQ,+BAAsD,CAAA;;AAQhG,IAAA,WAAA,CACW,iBAAwC,EACxC,UAAsB,EACtB,gBAAmC,EAAA;AAE1C,QAAA,KAAK,CAAC,iBAAiB,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;QAJhD,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAuB;QACxC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAY;QACtB,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAmB;;AAT9C,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC;QAahD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC;KAClD;AACJ;;MCVY,y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