@ti-tecnologico-de-monterrey-oficial/ds-ng 1.5.1020 → 1.5.1117-a

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 (439) hide show
  1. package/assets/images/gif/mitecLogoIntroMobile.gif +0 -0
  2. package/assets/images/gif/mitecLogoIntroWeb.gif +0 -0
  3. package/assets/images/lang-flags/mx.svg +392 -0
  4. package/assets/images/lang-flags/us.svg +13 -0
  5. package/assets/styles/main.min.css +1 -1
  6. package/assets/styles/main.min.css.map +1 -1
  7. package/assets/svg/neutral_fill.svg +1 -0
  8. package/assets/svg/primary_fill.svg +1 -0
  9. package/esm2022/lib/components/bmb-academic-progress/bmb-academic-progress.component.mjs +87 -0
  10. package/esm2022/lib/components/bmb-accordion/bmb-accordion.component.mjs +159 -0
  11. package/esm2022/lib/components/bmb-account-statement/bmb-account-statement.component.mjs +150 -0
  12. package/esm2022/lib/components/bmb-action-icon/bmb-action-icon.component.mjs +49 -0
  13. package/esm2022/lib/components/bmb-action-menu/bmb-action-menu.component.mjs +31 -0
  14. package/esm2022/lib/components/bmb-advertisement-card/bmb-advertisement-card.component.mjs +35 -0
  15. package/esm2022/lib/components/bmb-advertisement-card/types.mjs +2 -0
  16. package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-ads/bmb-alert-center-ads.component.mjs +40 -0
  17. package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-empty/bmb-alert-center-empty.component.mjs +18 -0
  18. package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-form/bmb-alert-center-form.component.mjs +148 -0
  19. package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-list/bmb-alert-center-list.component.mjs +52 -0
  20. package/esm2022/lib/components/bmb-alert-center/bmb-alert-center.component.mjs +196 -0
  21. package/esm2022/lib/components/bmb-alert-center/bmb-alert-center.service.mjs +62 -0
  22. package/esm2022/lib/components/bmb-alert-center/types.mjs +2 -0
  23. package/esm2022/lib/components/bmb-badge/bmb-badge.component.mjs +26 -0
  24. package/esm2022/lib/components/bmb-balance-overview/bmb-balance-overview.component.mjs +26 -0
  25. package/esm2022/lib/components/bmb-bookmark/bmb-bookmark.component.mjs +27 -0
  26. package/esm2022/lib/components/bmb-bottom-navigation-bar/bmb-bottom-navigation-bar.component.mjs +42 -0
  27. package/esm2022/lib/components/bmb-breadcrumb/bmb-breadcrumb.component.mjs +55 -0
  28. package/esm2022/lib/components/bmb-button-icon/bmb-button-icon.component.mjs +30 -0
  29. package/esm2022/lib/components/bmb-calendar/bmb-calendar.component.mjs +262 -0
  30. package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-header/bmb-calendar-header.component.mjs +96 -0
  31. package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-hour-view/bmb-calendar-hour-view.component.mjs +40 -0
  32. package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-schedule-cards/bmb-calendar-schedule-cards.component.mjs +68 -0
  33. package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-day/bmb-calendar-template-day.component.mjs +41 -0
  34. package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-event-list/bmb-calendar-template-event-list.component.mjs +63 -0
  35. package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-mobile/bmb-calendar-template-mobile.component.mjs +95 -0
  36. package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-month/bmb-calendar-template-month.component.mjs +45 -0
  37. package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-week/bmb-calendar-template-week.component.mjs +54 -0
  38. package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-time-indicator/bmb-calendar-time-indicator.component.mjs +24 -0
  39. package/esm2022/lib/components/bmb-calendar/types.mjs +2 -0
  40. package/esm2022/lib/components/bmb-calendar/utils.mjs +96 -0
  41. package/esm2022/lib/components/bmb-card/bmb-card.component.mjs +154 -0
  42. package/esm2022/lib/components/bmb-card-button/bmb-card-button.component.mjs +76 -0
  43. package/esm2022/lib/components/bmb-carousel/bmb-carousel.component.mjs +80 -0
  44. package/esm2022/lib/components/bmb-chat-bar/bmb-chat-bar.component.mjs +175 -0
  45. package/esm2022/lib/components/bmb-chat-bar/bot_list.mjs +57 -0
  46. package/esm2022/lib/components/bmb-chat-bar/types.mjs +2 -0
  47. package/esm2022/lib/components/bmb-chat-bubbles/bmb-chat-bubbles.component.mjs +56 -0
  48. package/esm2022/lib/components/bmb-chat-bubbles/types.mjs +2 -0
  49. package/esm2022/lib/components/bmb-check-external-link-button/bmb-check-external-link-button.component.mjs +46 -0
  50. package/esm2022/lib/components/bmb-checkbox/bmb-checkbox.component.mjs +80 -0
  51. package/esm2022/lib/components/bmb-chevron-title-selector/bmb-chevron-title-selector.component.mjs +36 -0
  52. package/esm2022/lib/components/bmb-container/bmb-container.component.mjs +27 -0
  53. package/esm2022/lib/components/bmb-container-button/bmb-container-button.component.mjs +96 -0
  54. package/esm2022/lib/components/bmb-date-range/bmb-date-range.component.mjs +69 -0
  55. package/esm2022/lib/components/bmb-datepicker/bmb-datepicker-modal/bmb-datepicker-modal.component.mjs +211 -0
  56. package/esm2022/lib/components/bmb-datepicker/bmb-datepicker.component.mjs +123 -0
  57. package/esm2022/lib/components/bmb-digital-id/bmb-digital-id.component.mjs +54 -0
  58. package/esm2022/lib/components/bmb-divider/bmb-divider.component.mjs +25 -0
  59. package/esm2022/lib/components/bmb-dot-paginator/bmb-dot-paginator.component.mjs +34 -0
  60. package/esm2022/lib/components/bmb-drawer-overlay/bmb-drawer-overlay.component.mjs +54 -0
  61. package/esm2022/lib/components/bmb-dropdown/bmb-dropdown.component.mjs +200 -0
  62. package/esm2022/lib/components/bmb-dropdown-menu/bmb-dropdown-menu.component.mjs +28 -0
  63. package/esm2022/lib/components/bmb-dropzone/bmb-dropzone.component.mjs +175 -0
  64. package/esm2022/lib/components/bmb-evaluation-rubric/bmb-evaluation-rubric.component.mjs +76 -0
  65. package/esm2022/lib/components/bmb-external-link/bmb-external-link.component.mjs +78 -0
  66. package/esm2022/lib/components/bmb-fab/bmb-fab-.interface.mjs +9 -0
  67. package/esm2022/lib/components/bmb-fab/bmb-fab.component.mjs +37 -0
  68. package/esm2022/lib/components/bmb-filter-card/bmb-filter-card.component.mjs +154 -0
  69. package/esm2022/lib/components/bmb-filter-card/bmb-filter-card.interface.mjs +2 -0
  70. package/esm2022/lib/components/bmb-focus-element/bmb-focus-element.component.mjs +36 -0
  71. package/esm2022/lib/components/bmb-form-validation/bmb-form-validation.component.mjs +159 -0
  72. package/esm2022/lib/components/bmb-form-validator/bmb-form-validator.component.mjs +159 -0
  73. package/esm2022/lib/components/bmb-frequent-apps-selector/bmb-frequent-apps-selector.component.mjs +29 -0
  74. package/esm2022/lib/components/bmb-grade-value/bmb-grade-value.component.mjs +22 -0
  75. package/esm2022/lib/components/bmb-grades/bmb-grades.component.mjs +181 -0
  76. package/esm2022/lib/components/bmb-grades/types.mjs +2 -0
  77. package/esm2022/lib/components/bmb-header-mitec/bmb-header-mitec.component.mjs +55 -0
  78. package/esm2022/lib/components/bmb-header-mobile/bmb-header-mobile.component.mjs +49 -0
  79. package/esm2022/lib/components/bmb-hito-card/bmb-hito-card.component.mjs +77 -0
  80. package/esm2022/lib/components/bmb-hito-list/bmb-hito-list.component.mjs +59 -0
  81. package/esm2022/lib/components/bmb-home-card/bmb-home-card-header/bmb-home-card-header.component.mjs +76 -0
  82. package/esm2022/lib/components/bmb-home-card/bmb-home-card.component.mjs +41 -0
  83. package/esm2022/lib/components/bmb-home-card-chat/bmb-home-card-chat.component.mjs +39 -0
  84. package/esm2022/lib/components/bmb-home-section/bmb-home-section.component.mjs +20 -0
  85. package/esm2022/lib/components/bmb-icon/bmb-icon.component.mjs +49 -0
  86. package/esm2022/lib/components/bmb-icon/types.mjs +2 -0
  87. package/esm2022/lib/components/bmb-icon-item/bmb-icon-item.component.mjs +23 -0
  88. package/esm2022/lib/components/bmb-icon-status/bmb-icon-status.component.mjs +24 -0
  89. package/esm2022/lib/components/bmb-iframe/bmb-iframe.component.mjs +19 -0
  90. package/esm2022/lib/components/bmb-iframe/bmb-iframe.pipe.mjs +21 -0
  91. package/esm2022/lib/components/bmb-image/bmb-image.component.mjs +33 -0
  92. package/esm2022/lib/components/bmb-inner-header/bmb-inner-header.component.mjs +77 -0
  93. package/esm2022/lib/components/bmb-input/bmb-input-content/bmb-input-content.component.mjs +147 -0
  94. package/esm2022/lib/components/bmb-input/bmb-input-validation/bmb-input-validation.component.mjs +162 -0
  95. package/esm2022/lib/components/bmb-input/bmb-input-validation/bmb-input-validation.service.mjs +116 -0
  96. package/esm2022/lib/components/bmb-input/bmb-input-validator/bmb-input-validator.component.mjs +178 -0
  97. package/esm2022/lib/components/bmb-input/bmb-input.component.mjs +85 -0
  98. package/esm2022/lib/components/bmb-input-phone-number/bmb-input-phone-number.component.mjs +219 -0
  99. package/esm2022/lib/components/bmb-input-tags/bmb-input-tags.component.mjs +191 -0
  100. package/esm2022/lib/components/bmb-interactive-icon/bmb-interactive-icon.component.mjs +54 -0
  101. package/esm2022/lib/components/bmb-invoice/bmb-invoice.component.mjs +34 -0
  102. package/esm2022/lib/components/bmb-item/bmb-item.component.mjs +28 -0
  103. package/esm2022/lib/components/bmb-legend/bmb-legend.component.mjs +23 -0
  104. package/esm2022/lib/components/bmb-list-group/bmb-list-group-item/bmb-list-group-item.component.mjs +83 -0
  105. package/esm2022/lib/components/bmb-list-group/bmb-list-group.component.mjs +60 -0
  106. package/esm2022/lib/components/bmb-list-group/bmb-list-group.service.mjs +55 -0
  107. package/esm2022/lib/components/bmb-list-group/types.mjs +2 -0
  108. package/esm2022/lib/components/bmb-list-items/bmb-list-items.component.mjs +83 -0
  109. package/esm2022/lib/components/bmb-loader/bmb-loader.component.mjs +77 -0
  110. package/esm2022/lib/components/bmb-login/bmb-login-content/bmb-login-content.component.mjs +55 -0
  111. package/esm2022/lib/components/bmb-login/bmb-login.component.mjs +66 -0
  112. package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-logged/bmb-login-onboarding-logged.component.mjs +40 -0
  113. package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-login/bmb-login-onboarding-login.component.mjs +20 -0
  114. package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-logout/bmb-login-onboarding-logout.component.mjs +33 -0
  115. package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-four.component.mjs +87 -0
  116. package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-one.component.mjs +88 -0
  117. package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-three.component.mjs +57 -0
  118. package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-two.component.mjs +99 -0
  119. package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step.component.mjs +39 -0
  120. package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper.component.mjs +44 -0
  121. package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding.component.mjs +52 -0
  122. package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding.service.mjs +70 -0
  123. package/esm2022/lib/components/bmb-login-onboarding/types.mjs +2 -0
  124. package/esm2022/lib/components/bmb-logo/bmb-logo.component.mjs +43 -0
  125. package/esm2022/lib/components/bmb-media-card/bmb-media-card.component.mjs +64 -0
  126. package/esm2022/lib/components/bmb-mitec-logo-animation/bmb-mitec-logo-animation.component.mjs +14 -0
  127. package/esm2022/lib/components/bmb-mobile-templates/bmb-mobile-templates.component.mjs +88 -0
  128. package/esm2022/lib/components/bmb-modal/bmb-modal.component.mjs +139 -0
  129. package/esm2022/lib/components/bmb-modal/bmb-modal.interface.mjs +2 -0
  130. package/esm2022/lib/components/bmb-modal/bmb-native-modal.component.mjs +113 -0
  131. package/esm2022/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator-item/bmb-multi-dot-paginator-item.component.mjs +15 -0
  132. package/esm2022/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator.component.mjs +59 -0
  133. package/esm2022/lib/components/bmb-navigation-bar/bmb-navigation-bar.component.mjs +30 -0
  134. package/esm2022/lib/components/bmb-notice-card/bmb-notice-card.component.mjs +43 -0
  135. package/esm2022/lib/components/bmb-notification-card/bmb-notification-card.component.mjs +86 -0
  136. package/esm2022/lib/components/bmb-overlay/bmb-overlay.component.mjs +22 -0
  137. package/esm2022/lib/components/bmb-paginator/bmb-paginator.component.mjs +52 -0
  138. package/esm2022/lib/components/bmb-portal/bmb-portal.component.mjs +55 -0
  139. package/esm2022/lib/components/bmb-portal/bmb-projected-content/bmb-projected-content.component.mjs +129 -0
  140. package/esm2022/lib/components/bmb-profile/bmb-profile.component.mjs +153 -0
  141. package/esm2022/lib/components/bmb-progress-bar/bmb-progress-bar.component.mjs +39 -0
  142. package/esm2022/lib/components/bmb-progress-cirlce/bmb-progress-circle.component.mjs +196 -0
  143. package/esm2022/lib/components/bmb-progress-cirlce/bmb-progress-circle.interface.mjs +2 -0
  144. package/esm2022/lib/components/bmb-pull-wedge/bmb-pull-wedge.component.mjs +88 -0
  145. package/esm2022/lib/components/bmb-push-notification/bmb-push-notification-item/bmb-push-notification-item.component.mjs +75 -0
  146. package/esm2022/lib/components/bmb-push-notification/bmb-push-notification.component.mjs +24 -0
  147. package/esm2022/lib/components/bmb-push-notification/types.mjs +2 -0
  148. package/esm2022/lib/components/bmb-radial/bmb-radial.component.mjs +78 -0
  149. package/esm2022/lib/components/bmb-search-input/bmb-search-input.component.mjs +117 -0
  150. package/esm2022/lib/components/bmb-select/bmb-select-item/bmb-select-item.component.mjs +16 -0
  151. package/esm2022/lib/components/bmb-select/bmb-select.component.mjs +55 -0
  152. package/esm2022/lib/components/bmb-server-table/bmb-server-table.component.mjs +82 -0
  153. package/esm2022/lib/components/bmb-sidebar/bmb-sidebar.component.mjs +103 -0
  154. package/esm2022/lib/components/bmb-sidebar/bmb-sidebar.interface.mjs +2 -0
  155. package/esm2022/lib/components/bmb-simple-header/bmb-simple-header.component.mjs +64 -0
  156. package/esm2022/lib/components/bmb-skeleton/bmb-skeleton.component.mjs +16 -0
  157. package/esm2022/lib/components/bmb-sounds-card/bmb-sounds-card.component.mjs +64 -0
  158. package/esm2022/lib/components/bmb-stat-counter/bmb-stat-counter.component.mjs +32 -0
  159. package/esm2022/lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component.mjs +41 -0
  160. package/esm2022/lib/components/bmb-student-activity-card/bmb-student-activity-card.component.mjs +53 -0
  161. package/esm2022/lib/components/bmb-student-activity-selector/bmb-student-activity-tab/bmb-student-activity-tab.component.mjs +27 -0
  162. package/esm2022/lib/components/bmb-switch/bmb-switch.component.mjs +88 -0
  163. package/esm2022/lib/components/bmb-tables/bmb-tables.component.mjs +545 -0
  164. package/esm2022/lib/components/bmb-tables/bmb-tables.interface.mjs +2 -0
  165. package/esm2022/lib/components/bmb-tabs/bmb-tabs.component.mjs +127 -0
  166. package/esm2022/lib/components/bmb-tags/bmb-tags.component.mjs +65 -0
  167. package/esm2022/lib/components/bmb-text-editor/bmb-text-editor.component.mjs +135 -0
  168. package/esm2022/lib/components/bmb-text-link/bmb-text-link.component.mjs +43 -0
  169. package/esm2022/lib/components/bmb-theme/bmb-theme.component.mjs +65 -0
  170. package/esm2022/lib/components/bmb-three-cols/bmb-three-cols.component.mjs +30 -0
  171. package/esm2022/lib/components/bmb-timestream/bmb-timestream-detail/bmb-timestream-detail.component.mjs +74 -0
  172. package/esm2022/lib/components/bmb-timestream/bmb-timestream-error/bmb-timestream-error.component.mjs +13 -0
  173. package/esm2022/lib/components/bmb-timestream/bmb-timestream.component.mjs +238 -0
  174. package/esm2022/lib/components/bmb-timestream/types.mjs +2 -0
  175. package/esm2022/lib/components/bmb-timestream-card/bmb-timestream-card.component.mjs +139 -0
  176. package/esm2022/lib/components/bmb-title-content/bmb-title-content.component.mjs +61 -0
  177. package/esm2022/lib/components/bmb-toast/bmb-toast.component.mjs +47 -0
  178. package/esm2022/lib/components/bmb-tooltip/bmb-tooltip.component.mjs +26 -0
  179. package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-item/bmb-top-bar-item.component.mjs +31 -0
  180. package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-user-section/bmb-top-bar-user-section.component.mjs +56 -0
  181. package/esm2022/lib/components/bmb-top-bar/bmb-top-bar.component.mjs +80 -0
  182. package/esm2022/lib/components/bmb-top-bar/types.mjs +2 -0
  183. package/esm2022/lib/components/bmb-totp/bmb-totp.component.mjs +139 -0
  184. package/esm2022/lib/components/bmb-user-image/bmb-user-image.component.mjs +44 -0
  185. package/esm2022/lib/components/bmb-user-profile/bmb-user-profile-content/bmb-user-profile-content.component.mjs +19 -0
  186. package/esm2022/lib/components/bmb-user-profile/bmb-user-profile.component.mjs +71 -0
  187. package/esm2022/lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component.mjs +51 -0
  188. package/esm2022/lib/components/bmb-user-summary/bmb-user-summary.component.mjs +28 -0
  189. package/esm2022/lib/components/bmb-value-counter/bmb-value-counter.component.mjs +23 -0
  190. package/esm2022/lib/components/bmb-web-templates/bmb-web-templates.component.mjs +85 -0
  191. package/esm2022/lib/components/bmb-wheel-menu/bmb-wheel-menu.component.mjs +128 -0
  192. package/esm2022/lib/components/utils/bmb-dropdown-content/bmb-dropdown-content.component.mjs +55 -0
  193. package/esm2022/lib/directives/bmb-accordion/bmb-accordion-control.directive.mjs +88 -0
  194. package/esm2022/lib/directives/bmb-button/button.directive.mjs +84 -0
  195. package/esm2022/lib/directives/bmb-button-group/bmb-button-group.directive.mjs +29 -0
  196. package/esm2022/lib/directives/bmb-layout/bmb-layout-item.directive.mjs +51 -0
  197. package/esm2022/lib/directives/bmb-layout/bmb-layout.directive.mjs +36 -0
  198. package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout-item.directive.mjs +34 -0
  199. package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout.directive.mjs +37 -0
  200. package/esm2022/lib/directives/bmb-layout-grid/bmb-layout-grid.directive.mjs +89 -0
  201. package/esm2022/lib/directives/utils/clickoutside.directive.mjs +41 -0
  202. package/esm2022/lib/ds-ng.component.mjs +11 -0
  203. package/esm2022/lib/ds-ng.service.mjs +14 -0
  204. package/esm2022/lib/services/calendar.service.mjs +51 -0
  205. package/esm2022/lib/services/index.mjs +3 -0
  206. package/esm2022/lib/services/native-modal.service.mjs +60 -0
  207. package/esm2022/lib/services/notification.service.mjs +77 -0
  208. package/esm2022/lib/services/projection.service.mjs +49 -0
  209. package/esm2022/lib/services/tabs.service.mjs +30 -0
  210. package/esm2022/lib/services/theme.service.mjs +30 -0
  211. package/esm2022/lib/services/toast.service.mjs +24 -0
  212. package/esm2022/lib/services/user/profile.service.mjs +26 -0
  213. package/esm2022/lib/types/colors.mjs +2 -0
  214. package/esm2022/lib/types/index.mjs +11 -0
  215. package/esm2022/lib/utils/countryCodes.mjs +1089 -0
  216. package/esm2022/lib/utils/currencyFormat.mjs +7 -0
  217. package/esm2022/lib/utils/dropdown.mjs +85 -0
  218. package/esm2022/lib/utils/formControl.mjs +25 -0
  219. package/esm2022/lib/utils/timestreamFilters.mjs +32 -0
  220. package/esm2022/lib/utils/utils.mjs +66 -0
  221. package/esm2022/public-api.mjs +152 -0
  222. package/esm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs +5 -0
  223. package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs +3884 -3179
  224. package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs.map +1 -1
  225. package/index.d.ts +5 -3573
  226. package/lib/components/bmb-academic-progress/bmb-academic-progress.component.d.ts +21 -0
  227. package/lib/components/bmb-accordion/bmb-accordion.component.d.ts +37 -0
  228. package/lib/components/bmb-account-statement/bmb-account-statement.component.d.ts +54 -0
  229. package/lib/components/bmb-action-icon/bmb-action-icon.component.d.ts +23 -0
  230. package/lib/components/bmb-action-menu/bmb-action-menu.component.d.ts +17 -0
  231. package/lib/components/bmb-advertisement-card/bmb-advertisement-card.component.d.ts +13 -0
  232. package/lib/components/bmb-advertisement-card/types.d.ts +21 -0
  233. package/lib/components/bmb-alert-center/bmb-alert-center-ads/bmb-alert-center-ads.component.d.ts +10 -0
  234. package/lib/components/bmb-alert-center/bmb-alert-center-empty/bmb-alert-center-empty.component.d.ts +7 -0
  235. package/lib/components/bmb-alert-center/bmb-alert-center-form/bmb-alert-center-form.component.d.ts +31 -0
  236. package/lib/components/bmb-alert-center/bmb-alert-center-list/bmb-alert-center-list.component.d.ts +20 -0
  237. package/lib/components/bmb-alert-center/bmb-alert-center.component.d.ts +46 -0
  238. package/lib/components/bmb-alert-center/bmb-alert-center.service.d.ts +20 -0
  239. package/lib/components/bmb-alert-center/types.d.ts +64 -0
  240. package/lib/components/bmb-badge/bmb-badge.component.d.ts +11 -0
  241. package/lib/components/bmb-balance-overview/bmb-balance-overview.component.d.ts +15 -0
  242. package/lib/components/bmb-bookmark/bmb-bookmark.component.d.ts +8 -0
  243. package/lib/components/bmb-bottom-navigation-bar/bmb-bottom-navigation-bar.component.d.ts +25 -0
  244. package/lib/components/bmb-breadcrumb/bmb-breadcrumb.component.d.ts +27 -0
  245. package/lib/components/bmb-button-icon/bmb-button-icon.component.d.ts +16 -0
  246. package/lib/components/bmb-calendar/bmb-calendar.component.d.ts +65 -0
  247. package/lib/components/bmb-calendar/common/bmb-calendar-header/bmb-calendar-header.component.d.ts +20 -0
  248. package/lib/components/bmb-calendar/common/bmb-calendar-hour-view/bmb-calendar-hour-view.component.d.ts +13 -0
  249. package/lib/components/bmb-calendar/common/bmb-calendar-schedule-cards/bmb-calendar-schedule-cards.component.d.ts +16 -0
  250. package/lib/components/bmb-calendar/common/bmb-calendar-template-day/bmb-calendar-template-day.component.d.ts +18 -0
  251. package/lib/components/bmb-calendar/common/bmb-calendar-template-event-list/bmb-calendar-template-event-list.component.d.ts +17 -0
  252. package/lib/components/bmb-calendar/common/bmb-calendar-template-mobile/bmb-calendar-template-mobile.component.d.ts +31 -0
  253. package/lib/components/bmb-calendar/common/bmb-calendar-template-month/bmb-calendar-template-month.component.d.ts +18 -0
  254. package/lib/components/bmb-calendar/common/bmb-calendar-template-week/bmb-calendar-template-week.component.d.ts +23 -0
  255. package/lib/components/bmb-calendar/common/bmb-calendar-time-indicator/bmb-calendar-time-indicator.component.d.ts +9 -0
  256. package/lib/components/bmb-calendar/types.d.ts +43 -0
  257. package/lib/components/bmb-calendar/utils.d.ts +12 -0
  258. package/lib/components/bmb-card/bmb-card.component.d.ts +42 -0
  259. package/lib/components/bmb-card-button/bmb-card-button.component.d.ts +50 -0
  260. package/lib/components/bmb-carousel/bmb-carousel.component.d.ts +20 -0
  261. package/lib/components/bmb-chat-bar/bmb-chat-bar.component.d.ts +62 -0
  262. package/lib/components/bmb-chat-bar/bot_list.d.ts +6 -0
  263. package/lib/components/bmb-chat-bar/types.d.ts +9 -0
  264. package/lib/components/bmb-chat-bubbles/bmb-chat-bubbles.component.d.ts +23 -0
  265. package/lib/components/bmb-chat-bubbles/types.d.ts +23 -0
  266. package/lib/components/bmb-check-external-link-button/bmb-check-external-link-button.component.d.ts +21 -0
  267. package/lib/components/bmb-checkbox/bmb-checkbox.component.d.ts +33 -0
  268. package/lib/components/bmb-chevron-title-selector/bmb-chevron-title-selector.component.d.ts +17 -0
  269. package/lib/components/bmb-container/bmb-container.component.d.ts +9 -0
  270. package/lib/components/bmb-container-button/bmb-container-button.component.d.ts +39 -0
  271. package/lib/components/bmb-date-range/bmb-date-range.component.d.ts +35 -0
  272. package/lib/components/bmb-datepicker/bmb-datepicker-modal/bmb-datepicker-modal.component.d.ts +40 -0
  273. package/lib/components/bmb-datepicker/bmb-datepicker.component.d.ts +44 -0
  274. package/lib/components/bmb-digital-id/bmb-digital-id.component.d.ts +26 -0
  275. package/lib/components/bmb-divider/bmb-divider.component.d.ts +8 -0
  276. package/lib/components/bmb-dot-paginator/bmb-dot-paginator.component.d.ts +17 -0
  277. package/lib/components/bmb-drawer-overlay/bmb-drawer-overlay.component.d.ts +24 -0
  278. package/lib/components/bmb-dropdown/bmb-dropdown.component.d.ts +61 -0
  279. package/lib/components/bmb-dropdown-menu/bmb-dropdown-menu.component.d.ts +10 -0
  280. package/lib/components/bmb-dropzone/bmb-dropzone.component.d.ts +49 -0
  281. package/lib/components/bmb-evaluation-rubric/bmb-evaluation-rubric.component.d.ts +45 -0
  282. package/lib/components/bmb-external-link/bmb-external-link.component.d.ts +22 -0
  283. package/lib/components/bmb-fab/bmb-fab-.interface.d.ts +10 -0
  284. package/lib/components/bmb-fab/bmb-fab.component.d.ts +15 -0
  285. package/lib/components/bmb-filter-card/bmb-filter-card.component.d.ts +33 -0
  286. package/lib/components/bmb-filter-card/bmb-filter-card.interface.d.ts +10 -0
  287. package/lib/components/bmb-focus-element/bmb-focus-element.component.d.ts +14 -0
  288. package/lib/components/bmb-form-validation/bmb-form-validation.component.d.ts +34 -0
  289. package/lib/components/bmb-form-validator/bmb-form-validator.component.d.ts +34 -0
  290. package/lib/components/bmb-frequent-apps-selector/bmb-frequent-apps-selector.component.d.ts +13 -0
  291. package/lib/components/bmb-grade-value/bmb-grade-value.component.d.ts +11 -0
  292. package/lib/components/bmb-grades/bmb-grades.component.d.ts +43 -0
  293. package/lib/components/bmb-grades/types.d.ts +25 -0
  294. package/lib/components/bmb-header-mitec/bmb-header-mitec.component.d.ts +17 -0
  295. package/lib/components/bmb-header-mobile/bmb-header-mobile.component.d.ts +23 -0
  296. package/lib/components/bmb-hito-card/bmb-hito-card.component.d.ts +23 -0
  297. package/lib/components/bmb-hito-list/bmb-hito-list.component.d.ts +24 -0
  298. package/lib/components/bmb-home-card/bmb-home-card-header/bmb-home-card-header.component.d.ts +28 -0
  299. package/lib/components/bmb-home-card/bmb-home-card.component.d.ts +27 -0
  300. package/lib/components/bmb-home-card-chat/bmb-home-card-chat.component.d.ts +25 -0
  301. package/lib/components/bmb-home-section/bmb-home-section.component.d.ts +9 -0
  302. package/lib/components/bmb-icon/bmb-icon.component.d.ts +23 -0
  303. package/lib/components/bmb-icon/types.d.ts +1 -0
  304. package/lib/components/bmb-icon-item/bmb-icon-item.component.d.ts +13 -0
  305. package/lib/components/bmb-icon-status/bmb-icon-status.component.d.ts +10 -0
  306. package/lib/components/bmb-iframe/bmb-iframe.component.d.ts +11 -0
  307. package/lib/components/bmb-iframe/bmb-iframe.pipe.d.ts +10 -0
  308. package/lib/components/bmb-image/bmb-image.component.d.ts +19 -0
  309. package/lib/components/bmb-inner-header/bmb-inner-header.component.d.ts +29 -0
  310. package/lib/components/bmb-input/bmb-input-content/bmb-input-content.component.d.ts +53 -0
  311. package/lib/components/bmb-input/bmb-input-validation/bmb-input-validation.component.d.ts +46 -0
  312. package/lib/components/bmb-input/bmb-input-validation/bmb-input-validation.service.d.ts +16 -0
  313. package/lib/components/bmb-input/bmb-input-validator/bmb-input-validator.component.d.ts +45 -0
  314. package/lib/components/bmb-input/bmb-input.component.d.ts +68 -0
  315. package/lib/components/bmb-input-phone-number/bmb-input-phone-number.component.d.ts +52 -0
  316. package/lib/components/bmb-input-tags/bmb-input-tags.component.d.ts +55 -0
  317. package/lib/components/bmb-interactive-icon/bmb-interactive-icon.component.d.ts +23 -0
  318. package/lib/components/bmb-invoice/bmb-invoice.component.d.ts +31 -0
  319. package/lib/components/bmb-item/bmb-item.component.d.ts +16 -0
  320. package/lib/components/bmb-legend/bmb-legend.component.d.ts +9 -0
  321. package/lib/components/bmb-list-group/bmb-list-group-item/bmb-list-group-item.component.d.ts +33 -0
  322. package/lib/components/bmb-list-group/bmb-list-group.component.d.ts +27 -0
  323. package/lib/components/bmb-list-group/bmb-list-group.service.d.ts +18 -0
  324. package/lib/components/bmb-list-group/types.d.ts +1 -0
  325. package/lib/components/bmb-list-items/bmb-list-items.component.d.ts +33 -0
  326. package/lib/components/bmb-loader/bmb-loader.component.d.ts +31 -0
  327. package/lib/components/bmb-login/bmb-login-content/bmb-login-content.component.d.ts +27 -0
  328. package/lib/components/bmb-login/bmb-login.component.d.ts +33 -0
  329. package/lib/components/bmb-login-onboarding/bmb-login-onboarding-logged/bmb-login-onboarding-logged.component.d.ts +14 -0
  330. package/lib/components/bmb-login-onboarding/bmb-login-onboarding-login/bmb-login-onboarding-login.component.d.ts +8 -0
  331. package/lib/components/bmb-login-onboarding/bmb-login-onboarding-logout/bmb-login-onboarding-logout.component.d.ts +12 -0
  332. package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-four.component.d.ts +18 -0
  333. package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-one.component.d.ts +17 -0
  334. package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-three.component.d.ts +11 -0
  335. package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-two.component.d.ts +19 -0
  336. package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step.component.d.ts +19 -0
  337. package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper.component.d.ts +15 -0
  338. package/lib/components/bmb-login-onboarding/bmb-login-onboarding.component.d.ts +20 -0
  339. package/lib/components/bmb-login-onboarding/bmb-login-onboarding.service.d.ts +25 -0
  340. package/lib/components/bmb-login-onboarding/types.d.ts +15 -0
  341. package/lib/components/bmb-logo/bmb-logo.component.d.ts +19 -0
  342. package/lib/components/bmb-media-card/bmb-media-card.component.d.ts +34 -0
  343. package/lib/components/bmb-mitec-logo-animation/bmb-mitec-logo-animation.component.d.ts +6 -0
  344. package/lib/components/bmb-mobile-templates/bmb-mobile-templates.component.d.ts +47 -0
  345. package/lib/components/bmb-modal/bmb-modal.component.d.ts +31 -0
  346. package/lib/components/bmb-modal/bmb-modal.interface.d.ts +41 -0
  347. package/lib/components/bmb-modal/bmb-native-modal.component.d.ts +44 -0
  348. package/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator-item/bmb-multi-dot-paginator-item.component.d.ts +7 -0
  349. package/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator.component.d.ts +15 -0
  350. package/lib/components/bmb-navigation-bar/bmb-navigation-bar.component.d.ts +13 -0
  351. package/lib/components/bmb-notice-card/bmb-notice-card.component.d.ts +21 -0
  352. package/lib/components/bmb-notification-card/bmb-notification-card.component.d.ts +27 -0
  353. package/lib/components/bmb-overlay/bmb-overlay.component.d.ts +9 -0
  354. package/lib/components/bmb-paginator/bmb-paginator.component.d.ts +14 -0
  355. package/lib/components/bmb-portal/bmb-portal.component.d.ts +22 -0
  356. package/lib/components/bmb-portal/bmb-projected-content/bmb-projected-content.component.d.ts +42 -0
  357. package/lib/components/bmb-profile/bmb-profile.component.d.ts +34 -0
  358. package/lib/components/bmb-progress-bar/bmb-progress-bar.component.d.ts +19 -0
  359. package/lib/components/bmb-progress-cirlce/bmb-progress-circle.component.d.ts +51 -0
  360. package/lib/components/bmb-progress-cirlce/bmb-progress-circle.interface.d.ts +12 -0
  361. package/lib/components/bmb-pull-wedge/bmb-pull-wedge.component.d.ts +23 -0
  362. package/lib/components/bmb-push-notification/bmb-push-notification-item/bmb-push-notification-item.component.d.ts +18 -0
  363. package/lib/components/bmb-push-notification/bmb-push-notification.component.d.ts +11 -0
  364. package/lib/components/bmb-push-notification/types.d.ts +46 -0
  365. package/lib/components/bmb-radial/bmb-radial.component.d.ts +33 -0
  366. package/lib/components/bmb-search-input/bmb-search-input.component.d.ts +33 -0
  367. package/lib/components/bmb-select/bmb-select-item/bmb-select-item.component.d.ts +6 -0
  368. package/lib/components/bmb-select/bmb-select.component.d.ts +17 -0
  369. package/lib/components/bmb-server-table/bmb-server-table.component.d.ts +26 -0
  370. package/lib/components/bmb-sidebar/bmb-sidebar.component.d.ts +27 -0
  371. package/lib/components/bmb-sidebar/bmb-sidebar.interface.d.ts +10 -0
  372. package/lib/components/bmb-simple-header/bmb-simple-header.component.d.ts +10 -0
  373. package/lib/components/bmb-skeleton/bmb-skeleton.component.d.ts +7 -0
  374. package/lib/components/bmb-sounds-card/bmb-sounds-card.component.d.ts +24 -0
  375. package/lib/components/bmb-stat-counter/bmb-stat-counter.component.d.ts +11 -0
  376. package/lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component.d.ts +20 -0
  377. package/lib/components/bmb-student-activity-card/bmb-student-activity-card.component.d.ts +23 -0
  378. package/lib/components/bmb-student-activity-selector/bmb-student-activity-tab/bmb-student-activity-tab.component.d.ts +10 -0
  379. package/lib/components/bmb-switch/bmb-switch.component.d.ts +25 -0
  380. package/lib/components/bmb-tables/bmb-tables.component.d.ts +104 -0
  381. package/lib/components/bmb-tables/bmb-tables.interface.d.ts +21 -0
  382. package/lib/components/bmb-tabs/bmb-tabs.component.d.ts +41 -0
  383. package/lib/components/bmb-tags/bmb-tags.component.d.ts +25 -0
  384. package/lib/components/bmb-text-editor/bmb-text-editor.component.d.ts +34 -0
  385. package/lib/components/bmb-text-link/bmb-text-link.component.d.ts +17 -0
  386. package/lib/components/bmb-theme/bmb-theme.component.d.ts +19 -0
  387. package/lib/components/bmb-three-cols/bmb-three-cols.component.d.ts +15 -0
  388. package/lib/components/bmb-timestream/bmb-timestream-detail/bmb-timestream-detail.component.d.ts +25 -0
  389. package/lib/components/bmb-timestream/bmb-timestream-error/bmb-timestream-error.component.d.ts +5 -0
  390. package/lib/components/bmb-timestream/bmb-timestream.component.d.ts +67 -0
  391. package/lib/components/bmb-timestream/types.d.ts +54 -0
  392. package/lib/components/bmb-timestream-card/bmb-timestream-card.component.d.ts +29 -0
  393. package/lib/components/bmb-title-content/bmb-title-content.component.d.ts +26 -0
  394. package/lib/components/bmb-toast/bmb-toast.component.d.ts +16 -0
  395. package/lib/components/bmb-tooltip/bmb-tooltip.component.d.ts +15 -0
  396. package/lib/components/bmb-top-bar/bmb-top-bar-item/bmb-top-bar-item.component.d.ts +7 -0
  397. package/lib/components/bmb-top-bar/bmb-top-bar-user-section/bmb-top-bar-user-section.component.d.ts +30 -0
  398. package/lib/components/bmb-top-bar/bmb-top-bar.component.d.ts +44 -0
  399. package/lib/components/bmb-top-bar/types.d.ts +6 -0
  400. package/lib/components/bmb-totp/bmb-totp.component.d.ts +31 -0
  401. package/lib/components/bmb-user-image/bmb-user-image.component.d.ts +19 -0
  402. package/lib/components/bmb-user-profile/bmb-user-profile-content/bmb-user-profile-content.component.d.ts +10 -0
  403. package/lib/components/bmb-user-profile/bmb-user-profile.component.d.ts +19 -0
  404. package/lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component.d.ts +24 -0
  405. package/lib/components/bmb-user-summary/bmb-user-summary.component.d.ts +14 -0
  406. package/lib/components/bmb-value-counter/bmb-value-counter.component.d.ts +8 -0
  407. package/lib/components/bmb-web-templates/bmb-web-templates.component.d.ts +42 -0
  408. package/lib/components/bmb-wheel-menu/bmb-wheel-menu.component.d.ts +40 -0
  409. package/lib/components/utils/bmb-dropdown-content/bmb-dropdown-content.component.d.ts +16 -0
  410. package/lib/directives/bmb-accordion/bmb-accordion-control.directive.d.ts +22 -0
  411. package/lib/directives/bmb-button/button.directive.d.ts +29 -0
  412. package/lib/directives/bmb-button-group/bmb-button-group.directive.d.ts +10 -0
  413. package/lib/directives/bmb-layout/bmb-layout-item.directive.d.ts +20 -0
  414. package/lib/directives/bmb-layout/bmb-layout.directive.d.ts +15 -0
  415. package/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout-item.directive.d.ts +9 -0
  416. package/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout.directive.d.ts +14 -0
  417. package/lib/directives/bmb-layout-grid/bmb-layout-grid.directive.d.ts +29 -0
  418. package/lib/directives/utils/clickoutside.directive.d.ts +15 -0
  419. package/lib/ds-ng.component.d.ts +5 -0
  420. package/lib/ds-ng.service.d.ts +6 -0
  421. package/lib/services/calendar.service.d.ts +15 -0
  422. package/lib/services/index.d.ts +2 -0
  423. package/lib/services/native-modal.service.d.ts +18 -0
  424. package/lib/services/notification.service.d.ts +20 -0
  425. package/lib/services/projection.service.d.ts +30 -0
  426. package/lib/services/tabs.service.d.ts +13 -0
  427. package/lib/services/theme.service.d.ts +11 -0
  428. package/lib/services/toast.service.d.ts +9 -0
  429. package/lib/services/user/profile.service.d.ts +9 -0
  430. package/lib/types/colors.d.ts +2 -0
  431. package/lib/types/index.d.ts +127 -0
  432. package/lib/utils/countryCodes.d.ts +7 -0
  433. package/lib/utils/currencyFormat.d.ts +1 -0
  434. package/lib/utils/dropdown.d.ts +6 -0
  435. package/lib/utils/formControl.d.ts +7 -0
  436. package/lib/utils/timestreamFilters.d.ts +2 -0
  437. package/lib/utils/utils.d.ts +12 -0
  438. package/package.json +4 -2
  439. package/public-api.d.ts +143 -0
@@ -0,0 +1,75 @@
1
+ import { ChangeDetectionStrategy, Component, input, output, ViewEncapsulation, } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { BmbIconComponent } from '../../bmb-icon/bmb-icon.component';
4
+ import { BmbUserImageComponent } from '../../bmb-user-image/bmb-user-image.component';
5
+ import { BmbCheckboxComponent } from '../../bmb-checkbox/bmb-checkbox.component';
6
+ import { BmbButtonDirective } from '../../../directives/bmb-button/button.directive';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "@angular/common";
9
+ export class BmbPushNotificationItemComponent {
10
+ constructor() {
11
+ this.notification = input.required();
12
+ this.onClose = output();
13
+ this.isExpanded = true;
14
+ this.dontAskAgain = false;
15
+ }
16
+ getNotificationClasses() {
17
+ const classList = [
18
+ 'bmb_push-notification-item',
19
+ `bmb_push-notification-item-type-${this.notification()?.type}`,
20
+ ];
21
+ if (this.notification()?.isFullColor)
22
+ classList.push('bmb_push-notification-item-full-color');
23
+ else
24
+ classList.push('bmb_push-notification-item-regular-tmp');
25
+ if (!this.isExpanded)
26
+ classList.push('bmb_push-notification-item-contracted');
27
+ return classList;
28
+ }
29
+ getIconClasses() {
30
+ return [
31
+ 'bmb_push-notification-item-icon',
32
+ `bmb_push-notification-item-icon-${this.notification()?.type}`,
33
+ ];
34
+ }
35
+ handleClose(event) {
36
+ this.onClose.emit(event);
37
+ }
38
+ handleExpandEvent() {
39
+ this.isExpanded = !this.isExpanded;
40
+ }
41
+ getAppIcon() {
42
+ return this.notification().appIcon ?? 'assets/images/tec-logo-mob.svg';
43
+ }
44
+ getAppName() {
45
+ return this.notification().appName ?? 'itesm.com';
46
+ }
47
+ handleDontAskAgain() {
48
+ const notification = this.notification();
49
+ if (notification.dontAskAgainEvent && notification?.id) {
50
+ notification.dontAskAgainEvent(notification?.id);
51
+ }
52
+ }
53
+ handleAction(event, action) {
54
+ const { title, subTitle, content, isFullColor, id } = this.notification();
55
+ if (action.action === 'close') {
56
+ this.onClose.emit(event);
57
+ }
58
+ else {
59
+ action.action({ title, subTitle, content, isFullColor, id });
60
+ }
61
+ }
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbPushNotificationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
63
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BmbPushNotificationItemComponent, isStandalone: true, selector: "bmb-push-notification-item", inputs: { notification: { classPropertyName: "notification", publicName: "notification", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { onClose: "onClose" }, ngImport: i0, template: "<section [ngClass]=\"getNotificationClasses()\">\n @if (!notification().isFullColor) {\n <header class=\"bmb_push-notification-item-header\">\n <img\n class=\"bmb_push-notification-item-header-icon\"\n [src]=\"getAppIcon()\"\n [alt]=\"getAppName()\"\n />\n <span class=\"bmb_push-notification-item-header-name\">{{\n getAppName()\n }}</span>\n <button\n (click)=\"handleExpandEvent()\"\n class=\"bmb_push-notification-item-button bmb_push-notification-item-contract\"\n >\n <bmb-icon icon=\"keyboard_arrow_up\" />\n </button>\n <button\n (click)=\"handleClose($event)\"\n class=\"bmb_push-notification-item-button\"\n >\n <bmb-icon icon=\"close\" />\n </button>\n </header>\n }\n <ul class=\"bmb_push-notification-item-list\">\n <li [ngClass]=\"getIconClasses()\">\n <bmb-icon [icon]=\"notification().icon || 'info'\" />\n </li>\n <li class=\"bmb_push-notification-item-container\">\n <h1 class=\"bmb_push-notification-item-title\">\n <span class=\"bmb_push-notification-item-title-legend\">{{\n notification().title\n }}</span>\n <span class=\"bmb_push-notification-item-title-date\">{{\n notification().date\n }}</span>\n </h1>\n @if (notification().subTitle) {\n <h2 class=\"bmb_push-notification-item-subtitle\">\n {{ notification().subTitle }}\n </h2>\n }\n @if (notification().content) {\n <p class=\"bmb_push-notification-item-content\">\n {{ notification().content }}\n </p>\n }\n @if (notification().dontAskAgainEvent) {\n <div class=\"bmb_push-notification-item-dont-ask-again\">\n <bmb-checkbox\n id=\"dontAskAgainInput\"\n [checked]=\"false\"\n label=\"Don't ask again\"\n labelPosition=\"after\"\n (change)=\"handleDontAskAgain()\"\n />\n <section>\n @for (action of notification().actions; track $index) {\n <button\n bmbButton\n [appearance]=\"action.type ?? 'primary'\"\n (click)=\"handleAction($event, action)\"\n >\n {{ action.title }}\n </button>\n }\n </section>\n </div>\n }\n @if (notification().userAvatar && notification().userName) {\n <section class=\"bmb_push-notification-item-user\">\n <div class=\"bmb_push-notification-item-user-avatar\">\n <bmb-user-image\n [altImage]=\"notification().userName ?? ''\"\n [image]=\"notification().userAvatar ?? ''\"\n size=\"mobile-small\"\n />\n </div>\n <span class=\"bmb_push-notification-item-user-name\">{{\n notification().userName\n }}</span>\n <span class=\"bmb_push-notification-item-user-mail\">{{\n notification().userMail\n }}</span>\n </section>\n }\n @if (!notification().isFullColor && notification().media) {\n <figure class=\"bmb_push-notification-item-media\">\n <img\n class=\"bmb_push-notification-item-media-picture\"\n [src]=\"notification().media\"\n [alt]=\"notification().title\"\n />\n </figure>\n }\n </li>\n @if (notification().isFullColor) {\n <li class=\"bmb_push-notification-item-close\">\n <button\n (click)=\"handleClose($event)\"\n class=\"bmb_push-notification-item-button\"\n >\n <bmb-icon icon=\"close\" />\n </button>\n </li>\n }\n </ul>\n</section>\n", styles: ["@font-face{font-family:Poppins-Thin;font-style:normal;font-weight:100;src:url(/assets/fonts/Poppins/Poppins-Thin.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Medium;font-style:normal;font-weight:500;src:url(/assets/fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Semibold;font-style:normal;font-weight:600;src:url(/assets/fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_push-notification-item{font-family:Poppins-Regular,sans-serif;font-size:.75rem;margin-bottom:var(--bmb-spacing-m);background-color:var(--general_contrasts-5);color:var(--general_contrasts-100);padding:var(--bmb-spacing-m)}.bmb_push-notification-item .bmb_checkbox-label{color:var(--general_contrasts-5)}.bmb_push-notification-item-full-color{border-radius:3.125rem}@media (min-width: 1000px){.bmb_push-notification-item-full-color{border-radius:var(--bmb-radius-s)}}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-tec{background-color:RGBA(var(--color-blue-primary))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-success{background-color:RGBA(var(--color-green-primary))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-info{background-color:RGBA(var(--color-neon-primary))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-neutral{background-color:RGBA(var(--color-charade-300))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-event{background-color:RGBA(var(--color-purple-light))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-error{background-color:RGBA(var(--color-red-primary))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-warning{background-color:RGBA(var(--color-mitec-orange))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-black{background-color:RGBA(var(--color-black-primary))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_violet{background-color:var(--creative-use-violet)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_indigo{background-color:var(--creative-use-indigo)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_emerald{background-color:var(--creative-use-emerald)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_licorice{background-color:var(--creative-use-licorice)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_darkteal{background-color:var(--creative-use-darkteal)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_peach{background-color:var(--creative-use-peach)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_sepia{background-color:var(--creative-use-sepia)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_softred{background-color:var(--creative-use-softred)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_wattle{background-color:var(--creative-use-wattle)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_shipcove{background-color:var(--creative-use-shipcove)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_plantation{background-color:var(--creative-use-plantation)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_rum{background-color:var(--creative-use-rum)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_hibiscus{background-color:var(--creative-use-hibiscus)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_ripelemon{background-color:var(--creative-use-ripelemon)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon{background-color:RGBA(var(--color-white-primary))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-tec{color:RGBA(var(--color-blue-primary))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-success{color:RGBA(var(--color-green-primary))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-info{color:RGBA(var(--color-neon-primary))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-neutral{color:RGBA(var(--color-charade-300))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-event{color:RGBA(var(--color-purple-light))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-error{color:RGBA(var(--color-red-primary))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-warning{color:RGBA(var(--color-mitec-orange))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-black{color:RGBA(var(--color-black-primary))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_violet{color:var(--creative-use-violet)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_indigo{color:var(--creative-use-indigo)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_emerald{color:var(--creative-use-emerald)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_licorice{color:var(--creative-use-licorice)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_darkteal{color:var(--creative-use-darkteal)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_peach{color:var(--creative-use-peach)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_sepia{color:var(--creative-use-sepia)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_softred{color:var(--creative-use-softred)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_wattle{color:var(--creative-use-wattle)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_shipcove{color:var(--creative-use-shipcove)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_plantation{color:var(--creative-use-plantation)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_rum{color:var(--creative-use-rum)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_hibiscus{color:var(--creative-use-hibiscus)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_ripelemon{color:var(--creative-use-ripelemon)}.bmb_push-notification-item-regular-tmp{border-left:.5rem solid;border-radius:var(--bmb-radius-s)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-tec{border-left-color:RGBA(var(--color-blue-primary))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-success{border-left-color:RGBA(var(--color-green-primary))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-info{border-left-color:RGBA(var(--color-neon-primary))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-neutral{border-left-color:RGBA(var(--color-charade-300))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-event{border-left-color:RGBA(var(--color-purple-light))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-error{border-left-color:RGBA(var(--color-red-primary))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-warning{border-left-color:RGBA(var(--color-mitec-orange))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-black{border-left-color:RGBA(var(--color-black-primary))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_violet{border-left-color:var(--creative-use-violet)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_indigo{border-left-color:var(--creative-use-indigo)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_emerald{border-left-color:var(--creative-use-emerald)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_licorice{border-left-color:var(--creative-use-licorice)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_darkteal{border-left-color:var(--creative-use-darkteal)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_peach{border-left-color:var(--creative-use-peach)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_sepia{border-left-color:var(--creative-use-sepia)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_softred{border-left-color:var(--creative-use-softred)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_wattle{border-left-color:var(--creative-use-wattle)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_shipcove{border-left-color:var(--creative-use-shipcove)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_plantation{border-left-color:var(--creative-use-plantation)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_rum{border-left-color:var(--creative-use-rum)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_hibiscus{border-left-color:var(--creative-use-hibiscus)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_ripelemon{border-left-color:var(--creative-use-ripelemon)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-tec{background-color:RGBA(var(--color-blue-primary))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-success{background-color:RGBA(var(--color-green-primary))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-info{background-color:RGBA(var(--color-neon-primary))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-neutral{background-color:RGBA(var(--color-charade-300))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-event{background-color:RGBA(var(--color-purple-light))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-error{background-color:RGBA(var(--color-red-primary))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-warning{background-color:RGBA(var(--color-mitec-orange))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-black{background-color:RGBA(var(--color-black-primary))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_violet{background-color:var(--creative-use-violet)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_indigo{background-color:var(--creative-use-indigo)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_emerald{background-color:var(--creative-use-emerald)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_licorice{background-color:var(--creative-use-licorice)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_darkteal{background-color:var(--creative-use-darkteal)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_peach{background-color:var(--creative-use-peach)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_sepia{background-color:var(--creative-use-sepia)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_softred{background-color:var(--creative-use-softred)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_wattle{background-color:var(--creative-use-wattle)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_shipcove{background-color:var(--creative-use-shipcove)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_plantation{background-color:var(--creative-use-plantation)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_rum{background-color:var(--creative-use-rum)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_hibiscus{background-color:var(--creative-use-hibiscus)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_ripelemon{background-color:var(--creative-use-ripelemon)}.bmb_push-notification-item-list{list-style:none;margin:0;padding:0;display:flex;gap:var(--bmb-spacing-m)}.bmb_push-notification-item-title{font-family:Poppins-Regular,sans-serif;font-size:.875rem;font-weight:500;margin-bottom:var(--bmb-spacing-xs);display:flex;gap:1rem}.bmb_push-notification-item-title-legend{flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (min-width: 1000px){.bmb_push-notification-item-title-legend{white-space:initial;text-overflow:initial}}.bmb_push-notification-item-title-date{width:max-content;color:RGBA(var(--color-white-primary),.75)}.bmb_push-notification-item-subtitle{font-family:Poppins-Regular,sans-serif;font-size:.75rem;font-weight:400;color:RGBA(var(--color-white-primary),.5);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (min-width: 1000px){.bmb_push-notification-item-subtitle{white-space:initial;text-overflow:initial}}.bmb_push-notification-item-subtitle{margin-bottom:var(--bmb-spacing-xs)}.bmb_push-notification-item-content{font-family:Poppins-Regular,sans-serif;font-size:.75rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (min-width: 1000px){.bmb_push-notification-item-content{white-space:initial;text-overflow:initial}}.bmb_push-notification-item-content{margin-bottom:0}.bmb_push-notification-item-icon{font-size:1.5rem;width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;color:RGBA(var(--color-white-primary))}.bmb_push-notification-item-container{flex:1;overflow:auto}.bmb_push-notification-item-close{align-self:flex-start}.bmb_push-notification-item-button{color:var(--general_contrasts-100);font-size:1.5rem}.bmb_push-notification-item-contract{transition:all .3s ease}.bmb_push-notification-item-media{margin:1rem 0 0;overflow:hidden;border-radius:8px;max-height:200px}.bmb_push-notification-item-media-picture{width:100%;height:100%;object-fit:cover}.bmb_push-notification-item-header{display:flex;gap:var(--bmb-spacing-s);align-items:center;margin-bottom:var(--bmb-spacing-s)}.bmb_push-notification-item-header-icon{width:1.5rem;height:1.5rem;object-fit:cover}.bmb_push-notification-item-header-name{flex:1;opacity:0;overflow:hidden;line-height:0;white-space:nowrap}@media (min-width: 1000px){.bmb_push-notification-item-header-name{line-height:inherit;opacity:1;white-space:initial}}.bmb_push-notification-item-contracted .bmb_push-notification-item-subtitle,.bmb_push-notification-item-contracted .bmb_push-notification-item-user,.bmb_push-notification-item-contracted .bmb_push-notification-item-media{display:none}.bmb_push-notification-item-contracted .bmb_push-notification-item-contract{transform:rotate(180deg)}.bmb_push-notification-item-contracted .bmb_push-notification-item-content{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.bmb_push-notification-item-user{display:grid;margin-top:1rem;grid-template-columns:3rem 1fr;grid-template-rows:1fr 1fr;gap:0;grid-template-areas:\"avatar name\" \"avatar mail\";align-items:center}.bmb_push-notification-item-user-avatar{grid-area:avatar}.bmb_push-notification-item-user-name{grid-area:name}.bmb_push-notification-item-user-mail{grid-area:mail;color:RGBA(var(--color-white-primary),.5)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BmbIconComponent, selector: "bmb-icon", inputs: ["icon", "materialIcon", "styleIcon", "isFill", "fontWeight", "size", "alt", "dotNotification"] }, { kind: "component", type: BmbUserImageComponent, selector: "bmb-user-image", inputs: ["size", "image", "altImage", "link", "target", "bordered"], outputs: ["buttonPress", "buttonClick", "buttonKeyPress"] }, { kind: "component", type: BmbCheckboxComponent, selector: "bmb-checkbox", inputs: ["name", "id", "disabled", "required", "value", "label", "labelPosition", "ariaDescribedby", "ariaLabel", "ariaLabelledby", "errorMessage", "helperMessage", "customValidation", "control", "checked", "showError", "indeterminate", "inputId"], outputs: ["controlChange", "checkedChange", "showErrorChange", "indeterminateChange", "inputIdChange", "change"] }, { kind: "directive", type: BmbButtonDirective, selector: "[bmbButton]", inputs: ["icon", "iconSize", "position", "case", "appearance", "size", "isToggleActive", "enableButtonToggle", "isRounded", "isMobile", "iconAlt"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
64
+ }
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbPushNotificationItemComponent, decorators: [{
66
+ type: Component,
67
+ args: [{ selector: 'bmb-push-notification-item', standalone: true, imports: [
68
+ CommonModule,
69
+ BmbIconComponent,
70
+ BmbUserImageComponent,
71
+ BmbCheckboxComponent,
72
+ BmbButtonDirective,
73
+ ], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<section [ngClass]=\"getNotificationClasses()\">\n @if (!notification().isFullColor) {\n <header class=\"bmb_push-notification-item-header\">\n <img\n class=\"bmb_push-notification-item-header-icon\"\n [src]=\"getAppIcon()\"\n [alt]=\"getAppName()\"\n />\n <span class=\"bmb_push-notification-item-header-name\">{{\n getAppName()\n }}</span>\n <button\n (click)=\"handleExpandEvent()\"\n class=\"bmb_push-notification-item-button bmb_push-notification-item-contract\"\n >\n <bmb-icon icon=\"keyboard_arrow_up\" />\n </button>\n <button\n (click)=\"handleClose($event)\"\n class=\"bmb_push-notification-item-button\"\n >\n <bmb-icon icon=\"close\" />\n </button>\n </header>\n }\n <ul class=\"bmb_push-notification-item-list\">\n <li [ngClass]=\"getIconClasses()\">\n <bmb-icon [icon]=\"notification().icon || 'info'\" />\n </li>\n <li class=\"bmb_push-notification-item-container\">\n <h1 class=\"bmb_push-notification-item-title\">\n <span class=\"bmb_push-notification-item-title-legend\">{{\n notification().title\n }}</span>\n <span class=\"bmb_push-notification-item-title-date\">{{\n notification().date\n }}</span>\n </h1>\n @if (notification().subTitle) {\n <h2 class=\"bmb_push-notification-item-subtitle\">\n {{ notification().subTitle }}\n </h2>\n }\n @if (notification().content) {\n <p class=\"bmb_push-notification-item-content\">\n {{ notification().content }}\n </p>\n }\n @if (notification().dontAskAgainEvent) {\n <div class=\"bmb_push-notification-item-dont-ask-again\">\n <bmb-checkbox\n id=\"dontAskAgainInput\"\n [checked]=\"false\"\n label=\"Don't ask again\"\n labelPosition=\"after\"\n (change)=\"handleDontAskAgain()\"\n />\n <section>\n @for (action of notification().actions; track $index) {\n <button\n bmbButton\n [appearance]=\"action.type ?? 'primary'\"\n (click)=\"handleAction($event, action)\"\n >\n {{ action.title }}\n </button>\n }\n </section>\n </div>\n }\n @if (notification().userAvatar && notification().userName) {\n <section class=\"bmb_push-notification-item-user\">\n <div class=\"bmb_push-notification-item-user-avatar\">\n <bmb-user-image\n [altImage]=\"notification().userName ?? ''\"\n [image]=\"notification().userAvatar ?? ''\"\n size=\"mobile-small\"\n />\n </div>\n <span class=\"bmb_push-notification-item-user-name\">{{\n notification().userName\n }}</span>\n <span class=\"bmb_push-notification-item-user-mail\">{{\n notification().userMail\n }}</span>\n </section>\n }\n @if (!notification().isFullColor && notification().media) {\n <figure class=\"bmb_push-notification-item-media\">\n <img\n class=\"bmb_push-notification-item-media-picture\"\n [src]=\"notification().media\"\n [alt]=\"notification().title\"\n />\n </figure>\n }\n </li>\n @if (notification().isFullColor) {\n <li class=\"bmb_push-notification-item-close\">\n <button\n (click)=\"handleClose($event)\"\n class=\"bmb_push-notification-item-button\"\n >\n <bmb-icon icon=\"close\" />\n </button>\n </li>\n }\n </ul>\n</section>\n", styles: ["@font-face{font-family:Poppins-Thin;font-style:normal;font-weight:100;src:url(/assets/fonts/Poppins/Poppins-Thin.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Medium;font-style:normal;font-weight:500;src:url(/assets/fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Semibold;font-style:normal;font-weight:600;src:url(/assets/fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_push-notification-item{font-family:Poppins-Regular,sans-serif;font-size:.75rem;margin-bottom:var(--bmb-spacing-m);background-color:var(--general_contrasts-5);color:var(--general_contrasts-100);padding:var(--bmb-spacing-m)}.bmb_push-notification-item .bmb_checkbox-label{color:var(--general_contrasts-5)}.bmb_push-notification-item-full-color{border-radius:3.125rem}@media (min-width: 1000px){.bmb_push-notification-item-full-color{border-radius:var(--bmb-radius-s)}}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-tec{background-color:RGBA(var(--color-blue-primary))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-success{background-color:RGBA(var(--color-green-primary))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-info{background-color:RGBA(var(--color-neon-primary))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-neutral{background-color:RGBA(var(--color-charade-300))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-event{background-color:RGBA(var(--color-purple-light))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-error{background-color:RGBA(var(--color-red-primary))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-warning{background-color:RGBA(var(--color-mitec-orange))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-black{background-color:RGBA(var(--color-black-primary))}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_violet{background-color:var(--creative-use-violet)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_indigo{background-color:var(--creative-use-indigo)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_emerald{background-color:var(--creative-use-emerald)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_licorice{background-color:var(--creative-use-licorice)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_darkteal{background-color:var(--creative-use-darkteal)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_peach{background-color:var(--creative-use-peach)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_sepia{background-color:var(--creative-use-sepia)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_softred{background-color:var(--creative-use-softred)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_wattle{background-color:var(--creative-use-wattle)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_shipcove{background-color:var(--creative-use-shipcove)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_plantation{background-color:var(--creative-use-plantation)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_rum{background-color:var(--creative-use-rum)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_hibiscus{background-color:var(--creative-use-hibiscus)}.bmb_push-notification-item-full-color.bmb_push-notification-item-type-creative_ripelemon{background-color:var(--creative-use-ripelemon)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon{background-color:RGBA(var(--color-white-primary))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-tec{color:RGBA(var(--color-blue-primary))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-success{color:RGBA(var(--color-green-primary))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-info{color:RGBA(var(--color-neon-primary))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-neutral{color:RGBA(var(--color-charade-300))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-event{color:RGBA(var(--color-purple-light))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-error{color:RGBA(var(--color-red-primary))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-warning{color:RGBA(var(--color-mitec-orange))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-black{color:RGBA(var(--color-black-primary))}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_violet{color:var(--creative-use-violet)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_indigo{color:var(--creative-use-indigo)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_emerald{color:var(--creative-use-emerald)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_licorice{color:var(--creative-use-licorice)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_darkteal{color:var(--creative-use-darkteal)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_peach{color:var(--creative-use-peach)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_sepia{color:var(--creative-use-sepia)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_softred{color:var(--creative-use-softred)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_wattle{color:var(--creative-use-wattle)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_shipcove{color:var(--creative-use-shipcove)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_plantation{color:var(--creative-use-plantation)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_rum{color:var(--creative-use-rum)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_hibiscus{color:var(--creative-use-hibiscus)}.bmb_push-notification-item-full-color .bmb_push-notification-item-icon-creative_ripelemon{color:var(--creative-use-ripelemon)}.bmb_push-notification-item-regular-tmp{border-left:.5rem solid;border-radius:var(--bmb-radius-s)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-tec{border-left-color:RGBA(var(--color-blue-primary))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-success{border-left-color:RGBA(var(--color-green-primary))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-info{border-left-color:RGBA(var(--color-neon-primary))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-neutral{border-left-color:RGBA(var(--color-charade-300))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-event{border-left-color:RGBA(var(--color-purple-light))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-error{border-left-color:RGBA(var(--color-red-primary))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-warning{border-left-color:RGBA(var(--color-mitec-orange))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-black{border-left-color:RGBA(var(--color-black-primary))}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_violet{border-left-color:var(--creative-use-violet)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_indigo{border-left-color:var(--creative-use-indigo)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_emerald{border-left-color:var(--creative-use-emerald)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_licorice{border-left-color:var(--creative-use-licorice)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_darkteal{border-left-color:var(--creative-use-darkteal)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_peach{border-left-color:var(--creative-use-peach)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_sepia{border-left-color:var(--creative-use-sepia)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_softred{border-left-color:var(--creative-use-softred)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_wattle{border-left-color:var(--creative-use-wattle)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_shipcove{border-left-color:var(--creative-use-shipcove)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_plantation{border-left-color:var(--creative-use-plantation)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_rum{border-left-color:var(--creative-use-rum)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_hibiscus{border-left-color:var(--creative-use-hibiscus)}.bmb_push-notification-item-regular-tmp.bmb_push-notification-item-type-creative_ripelemon{border-left-color:var(--creative-use-ripelemon)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-tec{background-color:RGBA(var(--color-blue-primary))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-success{background-color:RGBA(var(--color-green-primary))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-info{background-color:RGBA(var(--color-neon-primary))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-neutral{background-color:RGBA(var(--color-charade-300))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-event{background-color:RGBA(var(--color-purple-light))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-error{background-color:RGBA(var(--color-red-primary))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-warning{background-color:RGBA(var(--color-mitec-orange))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-black{background-color:RGBA(var(--color-black-primary))}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_violet{background-color:var(--creative-use-violet)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_indigo{background-color:var(--creative-use-indigo)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_emerald{background-color:var(--creative-use-emerald)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_licorice{background-color:var(--creative-use-licorice)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_darkteal{background-color:var(--creative-use-darkteal)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_peach{background-color:var(--creative-use-peach)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_sepia{background-color:var(--creative-use-sepia)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_softred{background-color:var(--creative-use-softred)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_wattle{background-color:var(--creative-use-wattle)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_shipcove{background-color:var(--creative-use-shipcove)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_plantation{background-color:var(--creative-use-plantation)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_rum{background-color:var(--creative-use-rum)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_hibiscus{background-color:var(--creative-use-hibiscus)}.bmb_push-notification-item-regular-tmp .bmb_push-notification-item-icon-creative_ripelemon{background-color:var(--creative-use-ripelemon)}.bmb_push-notification-item-list{list-style:none;margin:0;padding:0;display:flex;gap:var(--bmb-spacing-m)}.bmb_push-notification-item-title{font-family:Poppins-Regular,sans-serif;font-size:.875rem;font-weight:500;margin-bottom:var(--bmb-spacing-xs);display:flex;gap:1rem}.bmb_push-notification-item-title-legend{flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (min-width: 1000px){.bmb_push-notification-item-title-legend{white-space:initial;text-overflow:initial}}.bmb_push-notification-item-title-date{width:max-content;color:RGBA(var(--color-white-primary),.75)}.bmb_push-notification-item-subtitle{font-family:Poppins-Regular,sans-serif;font-size:.75rem;font-weight:400;color:RGBA(var(--color-white-primary),.5);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (min-width: 1000px){.bmb_push-notification-item-subtitle{white-space:initial;text-overflow:initial}}.bmb_push-notification-item-subtitle{margin-bottom:var(--bmb-spacing-xs)}.bmb_push-notification-item-content{font-family:Poppins-Regular,sans-serif;font-size:.75rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (min-width: 1000px){.bmb_push-notification-item-content{white-space:initial;text-overflow:initial}}.bmb_push-notification-item-content{margin-bottom:0}.bmb_push-notification-item-icon{font-size:1.5rem;width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;color:RGBA(var(--color-white-primary))}.bmb_push-notification-item-container{flex:1;overflow:auto}.bmb_push-notification-item-close{align-self:flex-start}.bmb_push-notification-item-button{color:var(--general_contrasts-100);font-size:1.5rem}.bmb_push-notification-item-contract{transition:all .3s ease}.bmb_push-notification-item-media{margin:1rem 0 0;overflow:hidden;border-radius:8px;max-height:200px}.bmb_push-notification-item-media-picture{width:100%;height:100%;object-fit:cover}.bmb_push-notification-item-header{display:flex;gap:var(--bmb-spacing-s);align-items:center;margin-bottom:var(--bmb-spacing-s)}.bmb_push-notification-item-header-icon{width:1.5rem;height:1.5rem;object-fit:cover}.bmb_push-notification-item-header-name{flex:1;opacity:0;overflow:hidden;line-height:0;white-space:nowrap}@media (min-width: 1000px){.bmb_push-notification-item-header-name{line-height:inherit;opacity:1;white-space:initial}}.bmb_push-notification-item-contracted .bmb_push-notification-item-subtitle,.bmb_push-notification-item-contracted .bmb_push-notification-item-user,.bmb_push-notification-item-contracted .bmb_push-notification-item-media{display:none}.bmb_push-notification-item-contracted .bmb_push-notification-item-contract{transform:rotate(180deg)}.bmb_push-notification-item-contracted .bmb_push-notification-item-content{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.bmb_push-notification-item-user{display:grid;margin-top:1rem;grid-template-columns:3rem 1fr;grid-template-rows:1fr 1fr;gap:0;grid-template-areas:\"avatar name\" \"avatar mail\";align-items:center}.bmb_push-notification-item-user-avatar{grid-area:avatar}.bmb_push-notification-item-user-name{grid-area:name}.bmb_push-notification-item-user-mail{grid-area:mail;color:RGBA(var(--color-white-primary),.5)}\n"] }]
74
+ }] });
75
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLXB1c2gtbm90aWZpY2F0aW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI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AgfX08L3NwYW4+XG4gICAgICA8L2gxPlxuICAgICAgQGlmIChub3RpZmljYXRpb24oKS5zdWJUaXRsZSkge1xuICAgICAgICA8aDIgY2xhc3M9XCJibWJfcHVzaC1ub3RpZmljYXRpb24taXRlbS1zdWJ0aXRsZVwiPlxuICAgICAgICAgIHt7IG5vdGlmaWNhdGlvbigpLnN1YlRpdGxlIH19XG4gICAgICAgIDwvaDI+XG4gICAgICB9XG4gICAgICBAaWYgKG5vdGlmaWNhdGlvbigpLmNvbnRlbnQpIHtcbiAgICAgICAgPHAgY2xhc3M9XCJibWJfcHVzaC1ub3RpZmljYXRpb24taXRlbS1jb250ZW50XCI+XG4gICAgICAgICAge3sgbm90aWZpY2F0aW9uKCkuY29udGVudCB9fVxuICAgICAgICA8L3A+XG4gICAgICB9XG4gICAgICBAaWYgKG5vdGlmaWNhdGlvbigpLmRvbnRBc2tBZ2FpbkV2ZW50KSB7XG4gICAgICAgIDxkaXYgY2xhc3M9XCJibWJfcHVzaC1ub3RpZmljYXRpb24taXRlbS1kb250LWFzay1hZ2FpblwiPlxuICAgICAgICAgIDxibWItY2hlY2tib3hcbiAgICAgICAgICAgIGlkPVwiZG9udEFza0FnYWluSW5wdXRcIlxuICAgICAgICAgICAgW2NoZWNrZWRdPVwiZmFsc2VcIlxuICAgICAgICAgICAgbGFiZWw9XCJEb24ndCBhc2sgYWdhaW5cIlxuICAgICAgICAgICAgbGFiZWxQb3NpdGlvbj1cImFmdGVyXCJcbiAgICAgICAgICAgIChjaGFuZ2UpPVwiaGFuZGxlRG9udEFza0FnYWluKClcIlxuICAgICAgICAgIC8+XG4gICAgICAgICAgPHNlY3Rpb24+XG4gICAgICAgICAgICBAZm9yIChhY3Rpb24gb2Ygbm90aWZpY2F0aW9uKCkuYWN0aW9uczsgdHJhY2sgJGluZGV4KSB7XG4gICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICBibWJCdXR0b25cbiAgICAgICAgICAgICAgICBbYXBwZWFyYW5jZV09XCJhY3Rpb24udHlwZSA/PyAncHJpbWFyeSdcIlxuICAgICAgICAgICAgICAgIChjbGljayk9XCJoYW5kbGVBY3Rpb24oJGV2ZW50LCBhY3Rpb24pXCJcbiAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIHt7IGFjdGlvbi50aXRsZSB9fVxuICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICA8L3NlY3Rpb24+XG4gICAgICAgIDwvZGl2PlxuICAgICAgfVxuICAgICAgQGlmIChub3RpZmljYXRpb24oKS51c2VyQXZhdGFyICYmIG5vdGlmaWNhdGlvbigpLnVzZXJOYW1lKSB7XG4gICAgICAgIDxzZWN0aW9uIGNsYXNzPVwiYm1iX3B1c2gtbm90aWZpY2F0aW9uLWl0ZW0tdXNlclwiPlxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJibWJfcHVzaC1ub3RpZmljYXRpb24taXRlbS11c2VyLWF2YXRhclwiPlxuICAgICAgICAgICAgPGJtYi11c2VyLWltYWdlXG4gICAgICAgICAgICAgIFthbHRJbWFnZV09XCJub3RpZmljYXRpb24oKS51c2VyTmFtZSA/PyAnJ1wiXG4gICAgICAgICAgICAgIFtpbWFnZV09XCJub3RpZmljYXRpb24oKS51c2VyQXZhdGFyID8/ICcnXCJcbiAgICAgICAgICAgICAgc2l6ZT1cIm1vYmlsZS1zbWFsbFwiXG4gICAgICAgICAgICAvPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDxzcGFuIGNsYXNzPVwiYm1iX3B1c2gtbm90aWZpY2F0aW9uLWl0ZW0tdXNlci1uYW1lXCI+e3tcbiAgICAgICAgICAgIG5vdGlmaWNhdGlvbigpLnVzZXJOYW1lXG4gICAgICAgICAgfX08L3NwYW4+XG4gICAgICAgICAgPHNwYW4gY2xhc3M9XCJibWJfcHVzaC1ub3RpZmljYXRpb24taXRlbS11c2VyLW1haWxcIj57e1xuICAgICAgICAgICAgbm90aWZpY2F0aW9uKCkudXNlck1haWxcbiAgICAgICAgICB9fTwvc3Bhbj5cbiAgICAgICAgPC9zZWN0aW9uPlxuICAgICAgfVxuICAgICAgQGlmICghbm90aWZpY2F0aW9uKCkuaXNGdWxsQ29sb3IgJiYgbm90aWZpY2F0aW9uKCkubWVkaWEpIHtcbiAgICAgICAgPGZpZ3VyZSBjbGFzcz1cImJtYl9wdXNoLW5vdGlmaWNhdGlvbi1pdGVtLW1lZGlhXCI+XG4gICAgICAgICAgPGltZ1xuICAgICAgICAgICAgY2xhc3M9XCJibWJfcHVzaC1ub3RpZmljYXRpb24taXRlbS1tZWRpYS1waWN0dXJlXCJcbiAgICAgICAgICAgIFtzcmNdPVwibm90aWZpY2F0aW9uKCkubWVkaWFcIlxuICAgICAgICAgICAgW2FsdF09XCJub3RpZmljYXRpb24oKS50aXRsZVwiXG4gICAgICAgICAgLz5cbiAgICAgICAgPC9maWd1cmU+XG4gICAgICB9XG4gICAgPC9saT5cbiAgICBAaWYgKG5vdGlmaWNhdGlvbigpLmlzRnVsbENvbG9yKSB7XG4gICAgICA8bGkgY2xhc3M9XCJibWJfcHVzaC1ub3RpZmljYXRpb24taXRlbS1jbG9zZVwiPlxuICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgKGNsaWNrKT1cImhhbmRsZUNsb3NlKCRldmVudClcIlxuICAgICAgICAgIGNsYXNzPVwiYm1iX3B1c2gtbm90aWZpY2F0aW9uLWl0ZW0tYnV0dG9uXCJcbiAgICAgICAgPlxuICAgICAgICAgIDxibWItaWNvbiBpY29uPVwiY2xvc2VcIiAvPlxuICAgICAgICA8L2J1dHRvbj5cbiAgICAgIDwvbGk+XG4gICAgfVxuICA8L3VsPlxuPC9zZWN0aW9uPlxuIl19
@@ -0,0 +1,24 @@
1
+ import { ChangeDetectionStrategy, Component, ViewEncapsulation, } from '@angular/core';
2
+ import { BmbPushNotificationItemComponent } from './bmb-push-notification-item/bmb-push-notification-item.component';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../services/notification.service";
5
+ export class BmbPushNotificationComponent {
6
+ constructor(notificationSignal) {
7
+ this.notificationSignal = notificationSignal;
8
+ }
9
+ getNotifications() {
10
+ return this.notificationSignal.getNotificationList();
11
+ }
12
+ closeNotification(notification) {
13
+ if (notification.id) {
14
+ this.notificationSignal.deleteNotification(notification.id);
15
+ }
16
+ }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbPushNotificationComponent, deps: [{ token: i1.BmbNotificationService }], target: i0.ɵɵFactoryTarget.Component }); }
18
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BmbPushNotificationComponent, isStandalone: true, selector: "bmb-push-notification", ngImport: i0, template: "<section class=\"bmb_push-notifications\">\n @for (notification of getNotifications(); track $index) {\n <bmb-push-notification-item\n [notification]=\"notification\"\n (onClose)=\"closeNotification(notification)\"\n />\n }\n</section>\n", styles: [".bmb_push-notifications{position:absolute;right:1rem;top:1rem;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999}\n"], dependencies: [{ kind: "component", type: BmbPushNotificationItemComponent, selector: "bmb-push-notification-item", inputs: ["notification"], outputs: ["onClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbPushNotificationComponent, decorators: [{
21
+ type: Component,
22
+ args: [{ selector: 'bmb-push-notification', standalone: true, imports: [BmbPushNotificationItemComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"bmb_push-notifications\">\n @for (notification of getNotifications(); track $index) {\n <bmb-push-notification-item\n [notification]=\"notification\"\n (onClose)=\"closeNotification(notification)\"\n />\n }\n</section>\n", styles: [".bmb_push-notifications{position:absolute;right:1rem;top:1rem;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999}\n"] }]
23
+ }], ctorParameters: () => [{ type: i1.BmbNotificationService }] });
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLXB1c2gtbm90aWZpY2F0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItcHVzaC1ub3RpZmljYXRpb24vYm1iLXB1c2gtbm90aWZpY2F0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItcHVzaC1ub3RpZmljYXRpb24vYm1iLXB1c2gtbm90aWZpY2F0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsZ0NBQWdDLEVBQUUsTUFBTSxtRUFBbUUsQ0FBQzs7O0FBYXJILE1BQU0sT0FBTyw0QkFBNEI7SUFDdkMsWUFBb0Isa0JBQTBDO1FBQTFDLHVCQUFrQixHQUFsQixrQkFBa0IsQ0FBd0I7SUFBRyxDQUFDO0lBRWxFLGdCQUFnQjtRQUNkLE9BQU8sSUFBSSxDQUFDLGtCQUFrQixDQUFDLG1CQUFtQixFQUFFLENBQUM7SUFDdkQsQ0FBQztJQUVELGlCQUFpQixDQUFDLFlBQTJCO1FBQzNDLElBQUksWUFBWSxDQUFDLEVBQUUsRUFBRTtZQUNuQixJQUFJLENBQUMsa0JBQWtCLENBQUMsa0JBQWtCLENBQUMsWUFBWSxDQUFDLEVBQUUsQ0FBQyxDQUFDO1NBQzdEO0l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Y2Fwc3VsYXRpb24uTm9uZSxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG59KVxuZXhwb3J0IGNsYXNzIEJtYlB1c2hOb3RpZmljYXRpb25Db21wb25lbnQge1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIG5vdGlmaWNhdGlvblNpZ25hbDogQm1iTm90aWZpY2F0aW9uU2VydmljZSkge31cblxuICBnZXROb3RpZmljYXRpb25zKCkge1xuICAgIHJldHVybiB0aGlzLm5vdGlmaWNhdGlvblNpZ25hbC5nZXROb3RpZmljYXRpb25MaXN0KCk7XG4gIH1cblxuICBjbG9zZU5vdGlmaWNhdGlvbihub3RpZmljYXRpb246IElOb3RpZmljYXRpb24pIHtcbiAgICBpZiAobm90aWZpY2F0aW9uLmlkKSB7XG4gICAgICB0aGlzLm5vdGlmaWNhdGlvblNpZ25hbC5kZWxldGVOb3RpZmljYXRpb24obm90aWZpY2F0aW9uLmlkKTtcbiAgICB9XG4gIH1cbn1cbiIsIjxzZWN0aW9uIGNsYXNzPVwiYm1iX3B1c2gtbm90aWZpY2F0aW9uc1wiPlxuICBAZm9yIChub3RpZmljYXRpb24gb2YgZ2V0Tm90aWZpY2F0aW9ucygpOyB0cmFjayAkaW5kZXgpIHtcbiAgICA8Ym1iLXB1c2gtbm90aWZpY2F0aW9uLWl0ZW1cbiAgICAgIFtub3RpZmljYXRpb25dPVwibm90aWZpY2F0aW9uXCJcbiAgICAgIChvbkNsb3NlKT1cImNsb3NlTm90aWZpY2F0aW9uKG5vdGlmaWNhdGlvbilcIlxuICAgIC8+XG4gIH1cbjwvc2VjdGlvbj5cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wc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AgfCAnbmV1dHJhbCdcbiAgfCAnZXZlbnQnXG4gIHwgJ2Vycm9yJ1xuICB8ICd3YXJuaW5nJ1xuICB8ICdibGFjaydcbiAgfCAnY3JlYXRpdmVfdmlvbGV0J1xuICB8ICdjcmVhdGl2ZV9pbmRpZ28nXG4gIHwgJ2NyZWF0aXZlX2VtZXJhbGQnXG4gIHwgJ2NyZWF0aXZlX2xpY29yaWNlJ1xuICB8ICdjcmVhdGl2ZV9kYXJrdGVhbCdcbiAgfCAnY3JlYXRpdmVfb3JhbmdlJ1xuICB8ICdjcmVhdGl2ZV9wZWFjaCdcbiAgfCAnY3JlYXRpdmVfc2VwaWEnXG4gIHwgJ2NyZWF0aXZlX3NvZnRyZWQnXG4gIHwgJ2NyZWF0aXZlX3dhdHRsZSdcbiAgfCAnY3JlYXRpdmVfc2hpcGNvdmUnXG4gIHwgJ2NyZWF0aXZlX3BsYW50YXRpb24nXG4gIHwgJ2NyZWF0aXZlX3J1bSdcbiAgfCAnY3JlYXRpdmVfaGliaXNjdXMnXG4gIHwgJ2NyZWF0aXZlX3JpcGVsZW1vbic7XG4iXX0=
@@ -0,0 +1,78 @@
1
+ import { Component, ViewEncapsulation, ChangeDetectionStrategy, input, output, model, } from '@angular/core';
2
+ import { ReactiveFormsModule } from '@angular/forms';
3
+ import { BmbInputValidatorComponent } from '../bmb-input/bmb-input-validator/bmb-input-validator.component';
4
+ import { CommonModule } from '@angular/common';
5
+ import { getUUID } from '../../utils/utils';
6
+ import { assignNewFormControl, newFormControlByType, showError, } from '../../utils/formControl';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "@angular/common";
9
+ import * as i2 from "@angular/forms";
10
+ export class BmbRadialComponent {
11
+ constructor() {
12
+ this.id = input(''); //Deprecated
13
+ this.checked = input(false);
14
+ this.disabled = input(false);
15
+ this.value = input('');
16
+ this.name = input(getUUID());
17
+ this.label = input('');
18
+ this.labelPosition = input('after');
19
+ this.ariaDescribedby = input('');
20
+ this.ariaLabel = input('');
21
+ this.ariaLabelledby = input('');
22
+ this.required = input(false);
23
+ this.errorMessage = input('');
24
+ this.helperMessage = input('');
25
+ this.showError = model(false);
26
+ this.control = model(newFormControlByType('radio'));
27
+ this.inputId = model(getUUID());
28
+ this.change = output();
29
+ this.onKeyDown = output();
30
+ this.isControlNull = false;
31
+ }
32
+ ngOnInit() {
33
+ if (!!this.id() && !this.inputId()) {
34
+ this.inputId.set(this.id());
35
+ }
36
+ if (!this.control()) {
37
+ this.control.set(assignNewFormControl(this.name(), this.control(), 'radio'));
38
+ this.isControlNull = true;
39
+ }
40
+ }
41
+ get shouldShowError() {
42
+ return showError(this.control());
43
+ }
44
+ handleRadioChange(event) {
45
+ const target = event.target;
46
+ if (target && target.checked) {
47
+ this.control().setValue(target.value || target.checked);
48
+ target.name = this.name();
49
+ this.change.emit(target);
50
+ }
51
+ event.stopPropagation();
52
+ }
53
+ handleRadioKeyDown(event) {
54
+ const target = event.target;
55
+ if (event.key === 'Enter' || event.key === ' ') {
56
+ if (!target.checked) {
57
+ this.control().setValue(target.value);
58
+ target.name = this.name();
59
+ this.change.emit(target);
60
+ }
61
+ event.preventDefault();
62
+ }
63
+ event.stopPropagation();
64
+ }
65
+ handleKeyPress(event) {
66
+ const target = event.target;
67
+ if (target) {
68
+ this.onKeyDown.emit(event);
69
+ }
70
+ }
71
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbRadialComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
72
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.12", type: BmbRadialComponent, isStandalone: true, selector: "bmb-radial", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, labelPosition: { classPropertyName: "labelPosition", publicName: "labelPosition", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedby: { classPropertyName: "ariaDescribedby", publicName: "ariaDescribedby", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "ariaLabelledby", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, errorMessage: { classPropertyName: "errorMessage", publicName: "errorMessage", isSignal: true, isRequired: false, transformFunction: null }, helperMessage: { classPropertyName: "helperMessage", publicName: "helperMessage", isSignal: true, isRequired: false, transformFunction: null }, showError: { classPropertyName: "showError", publicName: "showError", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { showError: "showErrorChange", control: "controlChange", inputId: "inputIdChange", change: "change", onKeyDown: "onKeyDown" }, ngImport: i0, template: "<bmb-input-validator\n type=\"radio\"\n [inputId]=\"inputId()\"\n [name]=\"name()\"\n [label]=\"label()\"\n [labelPosition]=\"labelPosition()\"\n [checked]=\"checked()\"\n [value]=\"value()\"\n [errorMessage]=\"errorMessage()\"\n [helperMessage]=\"helperMessage()\"\n [isRequired]=\"required()\"\n [isDisabled]=\"disabled()\"\n [control]=\"control()\"\n [showError]=\"shouldShowError\"\n>\n <span class=\"bmb_radio\">\n <input\n class=\"bmb_radio-input\"\n type=\"radio\"\n [id]=\"inputId()\"\n [formControl]=\"control()\"\n [name]=\"name()\"\n [attr.aria-describedby]=\"ariaDescribedby()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.value]=\"value()\"\n [value]=\"value()\"\n [checked]=\"checked()\"\n [required]=\"required()\"\n (change)=\"handleRadioChange($event)\"\n (keydown)=\"handleRadioKeyDown($event)\"\n (keypress)=\"handleKeyPress($event)\"\n [tabindex]=\"disabled() ? -1 : 0\"\n />\n <label\n class=\"bmb_radio-mark\"\n [htmlFor]=\"inputId()\"\n [ngClass]=\"{ 'bmb_radio-mark-error': shouldShowError }\"\n ></label>\n </span>\n</bmb-input-validator>\n", styles: ["@font-face{font-family:Poppins-Thin;font-style:normal;font-weight:100;src:url(/assets/fonts/Poppins/Poppins-Thin.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Medium;font-style:normal;font-weight:500;src:url(/assets/fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Semibold;font-style:normal;font-weight:600;src:url(/assets/fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_radio-input{opacity:0;height:0;width:0;position:absolute}.bmb_radio-input:is(:checked):focus+.bmb_radio-mark:before,.bmb_radio-input:is(:checked):focus-visible+.bmb_radio-mark:before{content:\"\";height:3rem;width:3rem;border-radius:50%;opacity:.1;background-color:var(--buttons-active-switch);position:absolute;z-index:-1;display:block;margin:auto;top:0;right:0;bottom:0;left:-.875rem}.bmb_radio-input:is(:checked)+.bmb_radio-mark{border:.125rem solid var(--buttons-active-switch)}.bmb_radio-input:is(:checked)+.bmb_radio-mark:hover:before{content:\"\";height:3rem;width:3rem;border-radius:50%;opacity:.1;background-color:var(--buttons-active-switch);position:absolute;z-index:-1;display:block;margin:auto;top:0;right:0;bottom:0;left:-.875rem}.bmb_radio-input:is(:checked)+.bmb_radio-mark:after{display:block;position:relative;margin:.125rem auto 0;height:.75rem;width:.75rem;background-color:var(--buttons-active-switch);border-radius:100%}.bmb_radio-input:not(:checked):focus+.bmb_radio-mark:before,.bmb_radio-input:not(:checked):focus-visible+.bmb_radio-mark:before{content:\"\";height:3rem;width:3rem;border-radius:50%;opacity:.1;background-color:rgb(var(--color-charade-900));position:absolute;z-index:-1;display:block;margin:auto;top:0;right:0;bottom:0;left:-.875rem}.bmb_radio-input:not(:checked)+.bmb_radio-mark:hover:before{content:\"\";height:3rem;width:3rem;border-radius:50%;opacity:.1;background-color:rgb(var(--color-charade-900));position:absolute;z-index:-1;display:block;margin:auto;top:0;right:0;bottom:0;left:-.875rem}.bmb_radio-mark{cursor:pointer;display:flex;position:relative;height:1.5rem;width:1.5rem;margin:.375rem;background-color:transparent;border:.125rem solid var(--general_contrasts-100);border-radius:100%}.bmb_radio-mark:after{content:\"\";display:none;position:absolute}.bmb_radio-mark-error{border-color:var(--input-error)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: BmbInputValidatorComponent, selector: "bmb-input-validator", inputs: ["inputId", "type", "appearance", "label", "labelPosition", "name", "value", "checked", "isRequired", "isDisabled", "max", "min", "maxLength", "minLength", "pattern", "jsonFormat", "tooltip", "rows", "tooltipPosition", "showMaxTextLength", "helperMessage", "errorMessage", "customValidation", "showError", "control"], outputs: ["showErrorChange", "controlChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
73
+ }
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbRadialComponent, decorators: [{
75
+ type: Component,
76
+ args: [{ selector: 'bmb-radial', standalone: true, imports: [CommonModule, ReactiveFormsModule, BmbInputValidatorComponent], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<bmb-input-validator\n type=\"radio\"\n [inputId]=\"inputId()\"\n [name]=\"name()\"\n [label]=\"label()\"\n [labelPosition]=\"labelPosition()\"\n [checked]=\"checked()\"\n [value]=\"value()\"\n [errorMessage]=\"errorMessage()\"\n [helperMessage]=\"helperMessage()\"\n [isRequired]=\"required()\"\n [isDisabled]=\"disabled()\"\n [control]=\"control()\"\n [showError]=\"shouldShowError\"\n>\n <span class=\"bmb_radio\">\n <input\n class=\"bmb_radio-input\"\n type=\"radio\"\n [id]=\"inputId()\"\n [formControl]=\"control()\"\n [name]=\"name()\"\n [attr.aria-describedby]=\"ariaDescribedby()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.value]=\"value()\"\n [value]=\"value()\"\n [checked]=\"checked()\"\n [required]=\"required()\"\n (change)=\"handleRadioChange($event)\"\n (keydown)=\"handleRadioKeyDown($event)\"\n (keypress)=\"handleKeyPress($event)\"\n [tabindex]=\"disabled() ? -1 : 0\"\n />\n <label\n class=\"bmb_radio-mark\"\n [htmlFor]=\"inputId()\"\n [ngClass]=\"{ 'bmb_radio-mark-error': shouldShowError }\"\n ></label>\n </span>\n</bmb-input-validator>\n", styles: ["@font-face{font-family:Poppins-Thin;font-style:normal;font-weight:100;src:url(/assets/fonts/Poppins/Poppins-Thin.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Medium;font-style:normal;font-weight:500;src:url(/assets/fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Semibold;font-style:normal;font-weight:600;src:url(/assets/fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_radio-input{opacity:0;height:0;width:0;position:absolute}.bmb_radio-input:is(:checked):focus+.bmb_radio-mark:before,.bmb_radio-input:is(:checked):focus-visible+.bmb_radio-mark:before{content:\"\";height:3rem;width:3rem;border-radius:50%;opacity:.1;background-color:var(--buttons-active-switch);position:absolute;z-index:-1;display:block;margin:auto;top:0;right:0;bottom:0;left:-.875rem}.bmb_radio-input:is(:checked)+.bmb_radio-mark{border:.125rem solid var(--buttons-active-switch)}.bmb_radio-input:is(:checked)+.bmb_radio-mark:hover:before{content:\"\";height:3rem;width:3rem;border-radius:50%;opacity:.1;background-color:var(--buttons-active-switch);position:absolute;z-index:-1;display:block;margin:auto;top:0;right:0;bottom:0;left:-.875rem}.bmb_radio-input:is(:checked)+.bmb_radio-mark:after{display:block;position:relative;margin:.125rem auto 0;height:.75rem;width:.75rem;background-color:var(--buttons-active-switch);border-radius:100%}.bmb_radio-input:not(:checked):focus+.bmb_radio-mark:before,.bmb_radio-input:not(:checked):focus-visible+.bmb_radio-mark:before{content:\"\";height:3rem;width:3rem;border-radius:50%;opacity:.1;background-color:rgb(var(--color-charade-900));position:absolute;z-index:-1;display:block;margin:auto;top:0;right:0;bottom:0;left:-.875rem}.bmb_radio-input:not(:checked)+.bmb_radio-mark:hover:before{content:\"\";height:3rem;width:3rem;border-radius:50%;opacity:.1;background-color:rgb(var(--color-charade-900));position:absolute;z-index:-1;display:block;margin:auto;top:0;right:0;bottom:0;left:-.875rem}.bmb_radio-mark{cursor:pointer;display:flex;position:relative;height:1.5rem;width:1.5rem;margin:.375rem;background-color:transparent;border:.125rem solid var(--general_contrasts-100);border-radius:100%}.bmb_radio-mark:after{content:\"\";display:none;position:absolute}.bmb_radio-mark-error{border-color:var(--input-error)}\n"] }]
77
+ }] });
78
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLXJhZGlhbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kcy1uZy9zcmMvbGliL2NvbXBvbmVudHMvYm1iLXJhZGlhbC9ibWItcmFkaWFsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItcmFkaWFsL2JtYi1yYWRpYWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxpQkFBaUIsRUFDakIsdUJBQXVCLEVBQ3ZCLEtBQUssRUFDTCxNQUFNLEVBQ04sS0FBSyxHQUVOLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBZSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLGdFQUFnRSxDQUFDO0FBQzVHLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFFNUMsT0FBTyxFQUNMLG9CQUFvQixFQUNwQixvQkFBb0IsRUFDcEIsU0FBUyxHQUNWLE1BQU0seUJBQXlCLENBQUM7Ozs7QUFXakMsTUFBTSxPQUFPLGtCQUFrQjtJQVQvQjtRQVVFLE9BQUUsR0FBRyxLQUFLLENBQVMsRUFBRSxD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cbiAgICAgIFt0YWJpbmRleF09XCJkaXNhYmxlZCgpID8gLTEgOiAwXCJcbiAgICAvPlxuICAgIDxsYWJlbFxuICAgICAgY2xhc3M9XCJibWJfcmFkaW8tbWFya1wiXG4gICAgICBbaHRtbEZvcl09XCJpbnB1dElkKClcIlxuICAgICAgW25nQ2xhc3NdPVwieyAnYm1iX3JhZGlvLW1hcmstZXJyb3InOiBzaG91bGRTaG93RXJyb3IgfVwiXG4gICAgPjwvbGFiZWw+XG4gIDwvc3Bhbj5cbjwvYm1iLWlucHV0LXZhbGlkYXRvcj5cbiJdfQ==
@@ -0,0 +1,117 @@
1
+ import { Component, ViewEncapsulation, ChangeDetectionStrategy, input, output, } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FormControl, ReactiveFormsModule } from '@angular/forms';
4
+ import { debounceTime } from 'rxjs/operators';
5
+ import { getUUID } from '../../utils/utils';
6
+ import { BmbDropdownContentComponent } from '../utils/bmb-dropdown-content/bmb-dropdown-content.component';
7
+ import { BmbInputContentComponent } from '../bmb-input/bmb-input-content/bmb-input-content.component';
8
+ import { ClickOutsideDirective } from '../../directives/utils/clickoutside.directive';
9
+ import { convertListToSelectList, filteredValue } from '../../utils/dropdown';
10
+ import * as i0 from "@angular/core";
11
+ export class BmbSearchInputComponent {
12
+ constructor(cdr) {
13
+ this.cdr = cdr;
14
+ this.inputId = input(getUUID());
15
+ this.name = input(getUUID());
16
+ this.data = input([]);
17
+ this.isLoading = input(false);
18
+ this.isServerSideFilter = input(false);
19
+ this.placeholder = input('');
20
+ this.serverSideFilteredData = input([]);
21
+ this.onValueChange = output();
22
+ this.onServerSideFilterEvent = output();
23
+ this.onClearField = output();
24
+ this.value = '';
25
+ this.filteredData = [];
26
+ this.uid = getUUID();
27
+ this.isDialogOpen = false;
28
+ this.filterControl = new FormControl();
29
+ this.items = [];
30
+ }
31
+ ngAfterViewInit() {
32
+ this.filterControl.valueChanges
33
+ .pipe(debounceTime(300))
34
+ .subscribe((value) => {
35
+ this.filteredData = filteredValue(value, this.items);
36
+ this.cdr.detectChanges();
37
+ });
38
+ }
39
+ ngOnChanges(changes) {
40
+ if (changes['serverSideFilteredData'] && this.isServerSideFilter()) {
41
+ this.initOptions(changes['serverSideFilteredData'].currentValue);
42
+ }
43
+ else {
44
+ this.initOptions(this.data());
45
+ }
46
+ if (changes['serverSideFilteredData'] &&
47
+ changes['isLoading'].currentValue) {
48
+ this.isDialogOpen =
49
+ changes['serverSideFilteredData']?.currentValue?.length ||
50
+ changes['isLoading']?.currentValue;
51
+ }
52
+ }
53
+ initOptions(list) {
54
+ this.items = convertListToSelectList(list);
55
+ this.items = this.items.map((element) => {
56
+ return {
57
+ ...element,
58
+ action: () => {
59
+ this.setSelectedValue(element);
60
+ },
61
+ };
62
+ });
63
+ this.filteredData = [...this.items];
64
+ }
65
+ closeList() {
66
+ this.isDialogOpen = false;
67
+ }
68
+ setSelectedValue(element) {
69
+ const value = element.value;
70
+ this.filterControl.setValue(value);
71
+ if (this.isServerSideFilter()) {
72
+ this.onServerSideFilterEvent.emit(value);
73
+ }
74
+ else {
75
+ this.onValueChange.emit(value);
76
+ }
77
+ }
78
+ handleItemClick() {
79
+ this.isDialogOpen = !this.isDialogOpen;
80
+ }
81
+ handleKeyDown(event) {
82
+ const keyboardValuesToOpenDialog = [' ', 'ArrowDown', 'Down'];
83
+ const keyboardValuesToAddOption = ['Enter'];
84
+ if (keyboardValuesToOpenDialog.includes(event.key)) {
85
+ if (!this.isDialogOpen)
86
+ this.handleItemClick();
87
+ if (!this.filteredData.length) {
88
+ event.preventDefault();
89
+ return;
90
+ }
91
+ return;
92
+ }
93
+ if (keyboardValuesToAddOption.includes(event.key)) {
94
+ event.preventDefault();
95
+ if (!!this.filterControl.value) {
96
+ const selectedLength = this.filteredData.length;
97
+ if (!!selectedLength) {
98
+ this.setSelectedValue(this.filteredData[0]);
99
+ }
100
+ }
101
+ return;
102
+ }
103
+ }
104
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbSearchInputComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
105
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.12", type: BmbSearchInputComponent, isStandalone: true, selector: "bmb-search-input", inputs: { inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: true, isRequired: false, transformFunction: null }, isServerSideFilter: { classPropertyName: "isServerSideFilter", publicName: "isServerSideFilter", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, serverSideFilteredData: { classPropertyName: "serverSideFilteredData", publicName: "serverSideFilteredData", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onValueChange: "onValueChange", onServerSideFilterEvent: "onServerSideFilterEvent", onClearField: "onClearField" }, usesOnChanges: true, ngImport: i0, template: "<section class=\"bmb_search-input\">\n <section\n class=\"bmb_search-input-container\"\n clickOutside\n (clickOutside)=\"closeList()\"\n >\n <bmb-input-content\n class=\"bmb_search-input-field\"\n [inputId]=\"inputId()\"\n [name]=\"name()\"\n icon=\"search\"\n [isDisabled]=\"isLoading()\"\n [control]=\"filterControl\"\n [placeholder]=\"placeholder()\"\n [isClearable]=\"true\"\n (keydown)=\"handleKeyDown($event)\"\n (click)=\"handleItemClick()\"\n />\n <bmb-dropdown-content\n class=\"bmb_search-input-dialog\"\n name=\"list\"\n [selectedOption]=\"filterControl.value\"\n [(items)]=\"filteredData\"\n [(isOpen)]=\"isDialogOpen\"\n />\n </section>\n</section>\n", styles: [".bmb_search-input{padding-bottom:var(--bmb-spacing-s)}.bmb_search-input-container{position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: ClickOutsideDirective, selector: "[clickOutside]", outputs: ["clickOutside"] }, { kind: "component", type: BmbInputContentComponent, selector: "bmb-input-content", inputs: ["type", "placeholder", "icon", "appearance", "isDisabled", "isRequired", "name", "spellcheck", "heightTextArea", "maxLength", "minLength", "pattern", "max", "min", "inputId", "autoComplete", "rows", "isReadOnly", "additionalAction", "isClearable", "isError", "isHidden", "showStates", "control"], outputs: ["controlChange", "onFocus", "onBlur", "onChange", "onKeyDown", "onKeyUp"] }, { kind: "component", type: BmbDropdownContentComponent, selector: "bmb-dropdown-content", inputs: ["selectedOption", "items", "isOpen", "isKeyboardEvent"], outputs: ["itemsChange", "isOpenChange", "isKeyboardEventChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
106
+ }
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbSearchInputComponent, decorators: [{
108
+ type: Component,
109
+ args: [{ selector: 'bmb-search-input', standalone: true, imports: [
110
+ CommonModule,
111
+ ReactiveFormsModule,
112
+ ClickOutsideDirective,
113
+ BmbInputContentComponent,
114
+ BmbDropdownContentComponent,
115
+ ], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"bmb_search-input\">\n <section\n class=\"bmb_search-input-container\"\n clickOutside\n (clickOutside)=\"closeList()\"\n >\n <bmb-input-content\n class=\"bmb_search-input-field\"\n [inputId]=\"inputId()\"\n [name]=\"name()\"\n icon=\"search\"\n [isDisabled]=\"isLoading()\"\n [control]=\"filterControl\"\n [placeholder]=\"placeholder()\"\n [isClearable]=\"true\"\n (keydown)=\"handleKeyDown($event)\"\n (click)=\"handleItemClick()\"\n />\n <bmb-dropdown-content\n class=\"bmb_search-input-dialog\"\n name=\"list\"\n [selectedOption]=\"filterControl.value\"\n [(items)]=\"filteredData\"\n [(isOpen)]=\"isDialogOpen\"\n />\n </section>\n</section>\n", styles: [".bmb_search-input{padding-bottom:var(--bmb-spacing-s)}.bmb_search-input-container{position:relative}\n"] }]
116
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }] });
117
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLXNlYXJjaC1pbnB1dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kcy1uZy9zcmMvbGliL2NvbXBvbmVudHMvYm1iLXNlYXJjaC1pbnB1dC9ibWItc2VhcmNoLWlucHV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItc2VhcmNoLWlucHV0L2JtYi1zZWFyY2gtaW5wdXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxpQkFBaUIsRUFDakIsdUJBQXVCLEVBRXZCLEtBQUssRUFDTCxNQUFNLEdBSVAsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxXQUFXLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDOUMsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQzVDLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLDhEQUE4RCxDQUFDO0FBQzNHLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQ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