@ti-tecnologico-de-monterrey-oficial/ds-ng 1.5.1220 → 1.5.1317-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.
- package/assets/i18n/en.json +122 -0
- package/assets/i18n/es.json +122 -0
- package/assets/styles/main.min.css +1 -1
- package/assets/styles/main.min.css.map +1 -1
- package/esm2022/assets/i18n/en.json +122 -0
- package/esm2022/assets/i18n/es.json +122 -0
- package/esm2022/lib/components/bmb-academic-progress/bmb-academic-progress.component.mjs +87 -0
- package/esm2022/lib/components/bmb-accordion/bmb-accordion.component.mjs +165 -0
- package/esm2022/lib/components/bmb-account-statement/bmb-account-statement.component.mjs +174 -0
- package/esm2022/lib/components/bmb-action-icon/bmb-action-icon.component.mjs +49 -0
- package/esm2022/lib/components/bmb-action-menu/bmb-action-menu.component.mjs +31 -0
- package/esm2022/lib/components/bmb-advertisement-card/bmb-advertisement-card.component.mjs +37 -0
- package/esm2022/lib/components/bmb-advertisement-card/types.mjs +2 -0
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-ads/bmb-alert-center-ads.component.mjs +37 -0
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-empty/bmb-alert-center-empty.component.mjs +19 -0
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-form/bmb-alert-center-form.component.mjs +148 -0
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-list/bmb-alert-center-list.component.mjs +47 -0
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center.component.mjs +202 -0
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center.service.mjs +62 -0
- package/esm2022/lib/components/bmb-alert-center/types.mjs +2 -0
- package/esm2022/lib/components/bmb-badge/bmb-badge.component.mjs +26 -0
- package/esm2022/lib/components/bmb-balance-overview/bmb-balance-overview.component.mjs +32 -0
- package/esm2022/lib/components/bmb-bookmark/bmb-bookmark.component.mjs +27 -0
- package/esm2022/lib/components/bmb-bottom-navigation-bar/bmb-bottom-navigation-bar.component.mjs +42 -0
- package/esm2022/lib/components/bmb-breadcrumb/bmb-breadcrumb.component.mjs +55 -0
- package/esm2022/lib/components/bmb-button-icon/bmb-button-icon.component.mjs +30 -0
- package/esm2022/lib/components/bmb-calendar/bmb-calendar.component.mjs +288 -0
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-header/bmb-calendar-header.component.mjs +101 -0
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-hour-view/bmb-calendar-hour-view.component.mjs +40 -0
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-schedule-cards/bmb-calendar-schedule-cards.component.mjs +68 -0
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-day/bmb-calendar-template-day.component.mjs +43 -0
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-mobile/bmb-calendar-template-mobile.component.mjs +100 -0
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-month/bmb-calendar-template-month.component.mjs +47 -0
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-week/bmb-calendar-template-week.component.mjs +56 -0
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-time-indicator/bmb-calendar-time-indicator.component.mjs +24 -0
- package/esm2022/lib/components/bmb-calendar/types.mjs +2 -0
- package/esm2022/lib/components/bmb-calendar/utils.mjs +96 -0
- package/esm2022/lib/components/bmb-card/bmb-card.component.mjs +159 -0
- package/esm2022/lib/components/bmb-card-button/bmb-card-button.component.mjs +76 -0
- package/esm2022/lib/components/bmb-carousel/bmb-carousel.component.mjs +80 -0
- package/esm2022/lib/components/bmb-chat-bar/bmb-chat-bar.component.mjs +200 -0
- package/esm2022/lib/components/bmb-chat-bar/bot_list.mjs +57 -0
- package/esm2022/lib/components/bmb-chat-bar/types.mjs +2 -0
- package/esm2022/lib/components/bmb-chat-bubbles/bmb-chat-bubbles.component.mjs +56 -0
- package/esm2022/lib/components/bmb-chat-bubbles/types.mjs +2 -0
- package/esm2022/lib/components/bmb-check-external-link-button/bmb-check-external-link-button.component.mjs +46 -0
- package/esm2022/lib/components/bmb-checkbox/bmb-checkbox.component.mjs +80 -0
- package/esm2022/lib/components/bmb-chevron-title-selector/bmb-chevron-title-selector.component.mjs +36 -0
- package/esm2022/lib/components/bmb-container/bmb-container.component.mjs +27 -0
- package/esm2022/lib/components/bmb-container-button/bmb-container-button.component.mjs +92 -0
- package/esm2022/lib/components/bmb-date-range/bmb-date-range.component.mjs +69 -0
- package/esm2022/lib/components/bmb-datepicker/bmb-datepicker-modal/bmb-datepicker-modal.component.mjs +208 -0
- package/esm2022/lib/components/bmb-datepicker/bmb-datepicker.component.mjs +144 -0
- package/esm2022/lib/components/bmb-digital-id/bmb-digital-id.component.mjs +58 -0
- package/esm2022/lib/components/bmb-divider/bmb-divider.component.mjs +25 -0
- package/esm2022/lib/components/bmb-dot-paginator/bmb-dot-paginator.component.mjs +34 -0
- package/esm2022/lib/components/bmb-drawer-overlay/bmb-drawer-overlay.component.mjs +65 -0
- package/esm2022/lib/components/bmb-dropdown/bmb-dropdown.component.mjs +177 -0
- package/esm2022/lib/components/bmb-dropdown-menu/bmb-dropdown-menu.component.mjs +31 -0
- package/esm2022/lib/components/bmb-dropzone/bmb-dropzone.component.mjs +192 -0
- package/esm2022/lib/components/bmb-evaluation-rubric/bmb-evaluation-rubric.component.mjs +76 -0
- package/esm2022/lib/components/bmb-external-link/bmb-external-link.component.mjs +80 -0
- package/esm2022/lib/components/bmb-fab/bmb-fab-.interface.mjs +9 -0
- package/esm2022/lib/components/bmb-fab/bmb-fab.component.mjs +37 -0
- package/esm2022/lib/components/bmb-filter-card/bmb-filter-card.component.mjs +166 -0
- package/esm2022/lib/components/bmb-filter-card/bmb-filter-card.interface.mjs +2 -0
- package/esm2022/lib/components/bmb-focus-element/bmb-focus-element.component.mjs +36 -0
- package/esm2022/lib/components/bmb-form-validator/bmb-form-validator.component.mjs +159 -0
- package/esm2022/lib/components/bmb-frequent-apps-selector/bmb-frequent-apps-selector.component.mjs +29 -0
- package/esm2022/lib/components/bmb-grade-value/bmb-grade-value.component.mjs +22 -0
- package/esm2022/lib/components/bmb-grades/bmb-grades.component.mjs +178 -0
- package/esm2022/lib/components/bmb-grades/types.mjs +2 -0
- package/esm2022/lib/components/bmb-header-mitec/bmb-header-mitec.component.mjs +60 -0
- package/esm2022/lib/components/bmb-header-mobile/bmb-header-mobile.component.mjs +49 -0
- package/esm2022/lib/components/bmb-hito-card/bmb-hito-card.component.mjs +86 -0
- package/esm2022/lib/components/bmb-hito-list/bmb-hito-list.component.mjs +59 -0
- package/esm2022/lib/components/bmb-home-card/bmb-home-card-header/bmb-home-card-header.component.mjs +76 -0
- package/esm2022/lib/components/bmb-home-card/bmb-home-card.component.mjs +41 -0
- package/esm2022/lib/components/bmb-home-card-chat/bmb-home-card-chat.component.mjs +45 -0
- package/esm2022/lib/components/bmb-home-section/bmb-home-section.component.mjs +20 -0
- package/esm2022/lib/components/bmb-icon/bmb-icon.component.mjs +50 -0
- package/esm2022/lib/components/bmb-icon/types.mjs +2 -0
- package/esm2022/lib/components/bmb-icon-item/bmb-icon-item.component.mjs +32 -0
- package/esm2022/lib/components/bmb-icon-status/bmb-icon-status.component.mjs +24 -0
- package/esm2022/lib/components/bmb-iframe/bmb-iframe.component.mjs +19 -0
- package/esm2022/lib/components/bmb-iframe/bmb-iframe.pipe.mjs +21 -0
- package/esm2022/lib/components/bmb-image/bmb-image.component.mjs +33 -0
- package/esm2022/lib/components/bmb-inner-header/bmb-inner-header.component.mjs +79 -0
- package/esm2022/lib/components/bmb-input/bmb-input-content/bmb-input-content.component.mjs +147 -0
- package/esm2022/lib/components/bmb-input/bmb-input-validator/bmb-input-validator.component.mjs +178 -0
- package/esm2022/lib/components/bmb-input/bmb-input.component.mjs +85 -0
- package/esm2022/lib/components/bmb-input-phone-number/bmb-input-phone-number.component.mjs +219 -0
- package/esm2022/lib/components/bmb-input-tags/bmb-input-tags.component.mjs +191 -0
- package/esm2022/lib/components/bmb-interactive-icon/bmb-interactive-icon.component.mjs +54 -0
- package/esm2022/lib/components/bmb-invoice/bmb-invoice.component.mjs +34 -0
- package/esm2022/lib/components/bmb-item/bmb-item.component.mjs +28 -0
- package/esm2022/lib/components/bmb-legend/bmb-legend.component.mjs +23 -0
- package/esm2022/lib/components/bmb-list-group/bmb-list-group-item/bmb-list-group-item.component.mjs +83 -0
- package/esm2022/lib/components/bmb-list-group/bmb-list-group.component.mjs +60 -0
- package/esm2022/lib/components/bmb-list-group/bmb-list-group.service.mjs +55 -0
- package/esm2022/lib/components/bmb-list-group/types.mjs +2 -0
- package/esm2022/lib/components/bmb-list-items/bmb-list-items.component.mjs +83 -0
- package/esm2022/lib/components/bmb-loader/bmb-loader.component.mjs +77 -0
- package/esm2022/lib/components/bmb-login/bmb-login-content/bmb-login-content.component.mjs +55 -0
- package/esm2022/lib/components/bmb-login/bmb-login.component.mjs +68 -0
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-logged/bmb-login-onboarding-logged.component.mjs +40 -0
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-login/bmb-login-onboarding-login.component.mjs +20 -0
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-logout/bmb-login-onboarding-logout.component.mjs +33 -0
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-four.component.mjs +91 -0
- 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
- 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
- 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
- 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
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper.component.mjs +44 -0
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding.component.mjs +67 -0
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding.service.mjs +70 -0
- package/esm2022/lib/components/bmb-login-onboarding/types.mjs +2 -0
- package/esm2022/lib/components/bmb-logo/bmb-logo.component.mjs +43 -0
- package/esm2022/lib/components/bmb-media-card/bmb-media-card.component.mjs +65 -0
- package/esm2022/lib/components/bmb-mitec-logo-animation/bmb-mitec-logo-animation.component.mjs +14 -0
- package/esm2022/lib/components/bmb-mobile-templates/bmb-mobile-templates.component.mjs +88 -0
- package/esm2022/lib/components/bmb-modal/bmb-modal.component.mjs +139 -0
- package/esm2022/lib/components/bmb-modal/bmb-modal.interface.mjs +2 -0
- package/esm2022/lib/components/bmb-modal/bmb-native-modal.component.mjs +121 -0
- package/esm2022/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator-item/bmb-multi-dot-paginator-item.component.mjs +15 -0
- package/esm2022/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator.component.mjs +59 -0
- package/esm2022/lib/components/bmb-navigation-bar/bmb-navigation-bar.component.mjs +30 -0
- package/esm2022/lib/components/bmb-notice-card/bmb-notice-card.component.mjs +45 -0
- package/esm2022/lib/components/bmb-notification-card/bmb-notification-card-modal/bmb-notification-card-modal.component.mjs +29 -0
- package/esm2022/lib/components/bmb-notification-card/bmb-notification-card.component.mjs +114 -0
- package/esm2022/lib/components/bmb-notification-counter/bmb-notification-counter.component.mjs +23 -0
- package/esm2022/lib/components/bmb-overlay/bmb-overlay.component.mjs +22 -0
- package/esm2022/lib/components/bmb-paginator/bmb-paginator.component.mjs +52 -0
- package/esm2022/lib/components/bmb-portal/bmb-portal.component.mjs +58 -0
- package/esm2022/lib/components/bmb-portal/bmb-projected-content/bmb-projected-content.component.mjs +123 -0
- package/esm2022/lib/components/bmb-profile/bmb-profile.component.mjs +153 -0
- package/esm2022/lib/components/bmb-progress-bar/bmb-progress-bar.component.mjs +39 -0
- package/esm2022/lib/components/bmb-progress-cirlce/bmb-progress-circle.component.mjs +180 -0
- package/esm2022/lib/components/bmb-progress-cirlce/bmb-progress-circle.interface.mjs +2 -0
- package/esm2022/lib/components/bmb-pull-wedge/bmb-pull-wedge.component.mjs +88 -0
- package/esm2022/lib/components/bmb-push-notification/bmb-push-notification-item/bmb-push-notification-item.component.mjs +75 -0
- package/esm2022/lib/components/bmb-push-notification/bmb-push-notification.component.mjs +24 -0
- package/esm2022/lib/components/bmb-push-notification/types.mjs +2 -0
- package/esm2022/lib/components/bmb-radial/bmb-radial.component.mjs +78 -0
- package/esm2022/lib/components/bmb-search-input/bmb-search-input.component.mjs +122 -0
- package/esm2022/lib/components/bmb-server-table/bmb-server-table.component.mjs +82 -0
- package/esm2022/lib/components/bmb-sidebar/bmb-sidebar.component.mjs +101 -0
- package/esm2022/lib/components/bmb-sidebar/bmb-sidebar.interface.mjs +2 -0
- package/esm2022/lib/components/bmb-simple-header/bmb-simple-header.component.mjs +64 -0
- package/esm2022/lib/components/bmb-skeleton/bmb-skeleton.component.mjs +16 -0
- package/esm2022/lib/components/bmb-sounds-card/bmb-sounds-card.component.mjs +64 -0
- package/esm2022/lib/components/bmb-stat-counter/bmb-stat-counter.component.mjs +32 -0
- package/esm2022/lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component.mjs +59 -0
- package/esm2022/lib/components/bmb-student-activity-card/bmb-student-activity-card.component.mjs +53 -0
- package/esm2022/lib/components/bmb-student-activity-selector/bmb-student-activity-tab/bmb-student-activity-tab.component.mjs +27 -0
- package/esm2022/lib/components/bmb-switch/bmb-switch.component.mjs +90 -0
- package/esm2022/lib/components/bmb-table-lite/bmb-table-lite.component.mjs +564 -0
- package/esm2022/lib/components/bmb-table-lite/bmb-table-lite.interface.mjs +2 -0
- package/esm2022/lib/components/bmb-tables/bmb-tables.component.mjs +541 -0
- package/esm2022/lib/components/bmb-tables/bmb-tables.interface.mjs +2 -0
- package/esm2022/lib/components/bmb-tabs/bmb-tabs.component.mjs +132 -0
- package/esm2022/lib/components/bmb-tags/bmb-tags.component.mjs +66 -0
- package/esm2022/lib/components/bmb-text-editor/bmb-text-editor.component.mjs +135 -0
- package/esm2022/lib/components/bmb-text-link/bmb-text-link.component.mjs +43 -0
- package/esm2022/lib/components/bmb-theme/bmb-theme.component.mjs +65 -0
- package/esm2022/lib/components/bmb-three-cols/bmb-three-cols.component.mjs +30 -0
- package/esm2022/lib/components/bmb-timestream/bmb-timestream-detail/bmb-timestream-detail.component.mjs +74 -0
- package/esm2022/lib/components/bmb-timestream/bmb-timestream-error/bmb-timestream-error.component.mjs +13 -0
- package/esm2022/lib/components/bmb-timestream/bmb-timestream.component.mjs +236 -0
- package/esm2022/lib/components/bmb-timestream/types.mjs +2 -0
- package/esm2022/lib/components/bmb-timestream-card/bmb-timestream-card.component.mjs +139 -0
- package/esm2022/lib/components/bmb-title-content/bmb-title-content.component.mjs +61 -0
- package/esm2022/lib/components/bmb-toast/bmb-toast.component.mjs +47 -0
- package/esm2022/lib/components/bmb-tooltip/bmb-tooltip.component.mjs +39 -0
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-item/bmb-top-bar-item.component.mjs +31 -0
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-user-section/bmb-top-bar-user-section.component.mjs +94 -0
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar.component.mjs +86 -0
- package/esm2022/lib/components/bmb-top-bar/types.mjs +2 -0
- package/esm2022/lib/components/bmb-totp/bmb-totp.component.mjs +141 -0
- package/esm2022/lib/components/bmb-user-image/bmb-user-image.component.mjs +44 -0
- package/esm2022/lib/components/bmb-user-profile/bmb-user-profile-content/bmb-user-profile-content.component.mjs +19 -0
- package/esm2022/lib/components/bmb-user-profile/bmb-user-profile.component.mjs +77 -0
- package/esm2022/lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component.mjs +64 -0
- package/esm2022/lib/components/bmb-user-summary/bmb-user-summary.component.mjs +34 -0
- package/esm2022/lib/components/bmb-value-counter/bmb-value-counter.component.mjs +23 -0
- package/esm2022/lib/components/bmb-web-templates/bmb-web-templates.component.mjs +85 -0
- package/esm2022/lib/components/bmb-wheel-menu/bmb-wheel-menu.component.mjs +128 -0
- package/esm2022/lib/components/utils/bmb-alert-center-detail/bmb-alert-center-detail.component.mjs +37 -0
- package/esm2022/lib/components/utils/bmb-dropdown-content/bmb-dropdown-content.component.mjs +51 -0
- package/esm2022/lib/directives/bmb-accordion/bmb-accordion-control.directive.mjs +88 -0
- package/esm2022/lib/directives/bmb-button/button.directive.mjs +84 -0
- package/esm2022/lib/directives/bmb-button-group/bmb-button-group.directive.mjs +29 -0
- package/esm2022/lib/directives/bmb-layout/bmb-layout-item.directive.mjs +64 -0
- package/esm2022/lib/directives/bmb-layout/bmb-layout.directive.mjs +41 -0
- package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout-item.directive.mjs +34 -0
- package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout.directive.mjs +37 -0
- package/esm2022/lib/directives/bmb-layout-grid/bmb-layout-grid.directive.mjs +89 -0
- package/esm2022/lib/directives/bmb-selector/bmb-selector.directive.mjs +28 -0
- package/esm2022/lib/directives/utils/clickoutside.directive.mjs +41 -0
- package/esm2022/lib/ds-ng.component.mjs +11 -0
- package/esm2022/lib/ds-ng.service.mjs +14 -0
- package/esm2022/lib/pipes/translations.mjs +22 -0
- package/esm2022/lib/services/calendar/calendar.service.mjs +51 -0
- package/esm2022/lib/services/calendar.service.mjs +51 -0
- package/esm2022/lib/services/index.mjs +3 -0
- package/esm2022/lib/services/modal/native-modal.service.mjs +60 -0
- package/esm2022/lib/services/native-modal.service.mjs +60 -0
- package/esm2022/lib/services/notification/notification.service.mjs +84 -0
- package/esm2022/lib/services/notification.service.mjs +84 -0
- package/esm2022/lib/services/projection/projection.service.mjs +49 -0
- package/esm2022/lib/services/projection.service.mjs +49 -0
- package/esm2022/lib/services/tabs/tabs.service.mjs +30 -0
- package/esm2022/lib/services/tabs.service.mjs +30 -0
- package/esm2022/lib/services/theme/theme.service.mjs +30 -0
- package/esm2022/lib/services/theme.service.mjs +30 -0
- package/esm2022/lib/services/toast/toast.service.mjs +24 -0
- package/esm2022/lib/services/toast.service.mjs +24 -0
- package/esm2022/lib/services/translations/translations.service.mjs +53 -0
- package/esm2022/lib/services/user/profile.service.mjs +26 -0
- package/esm2022/lib/types/colors.mjs +2 -0
- package/esm2022/lib/types/index.mjs +11 -0
- package/esm2022/lib/utils/countryCodes.mjs +1089 -0
- package/esm2022/lib/utils/currencyFormat.mjs +7 -0
- package/esm2022/lib/utils/dropdown.mjs +85 -0
- package/esm2022/lib/utils/formControl.mjs +25 -0
- package/esm2022/lib/utils/timestreamFilters.mjs +32 -0
- package/esm2022/lib/utils/utils.mjs +96 -0
- package/esm2022/public-api.mjs +160 -0
- package/esm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs +5 -0
- package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs +4095 -2957
- package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs.map +1 -1
- package/index.d.ts +5 -3835
- package/lib/components/bmb-academic-progress/bmb-academic-progress.component.d.ts +21 -0
- package/lib/components/bmb-accordion/bmb-accordion.component.d.ts +38 -0
- package/lib/components/bmb-account-statement/bmb-account-statement.component.d.ts +56 -0
- package/lib/components/bmb-action-icon/bmb-action-icon.component.d.ts +23 -0
- package/lib/components/bmb-action-menu/bmb-action-menu.component.d.ts +17 -0
- package/lib/components/bmb-advertisement-card/bmb-advertisement-card.component.d.ts +13 -0
- package/lib/components/bmb-advertisement-card/types.d.ts +21 -0
- package/lib/components/bmb-alert-center/bmb-alert-center-ads/bmb-alert-center-ads.component.d.ts +10 -0
- package/lib/components/bmb-alert-center/bmb-alert-center-empty/bmb-alert-center-empty.component.d.ts +7 -0
- package/lib/components/bmb-alert-center/bmb-alert-center-form/bmb-alert-center-form.component.d.ts +31 -0
- package/lib/components/bmb-alert-center/bmb-alert-center-list/bmb-alert-center-list.component.d.ts +20 -0
- package/lib/components/bmb-alert-center/bmb-alert-center.component.d.ts +48 -0
- package/lib/components/bmb-alert-center/bmb-alert-center.service.d.ts +20 -0
- package/lib/components/bmb-alert-center/types.d.ts +66 -0
- package/lib/components/bmb-badge/bmb-badge.component.d.ts +11 -0
- package/lib/components/bmb-balance-overview/bmb-balance-overview.component.d.ts +15 -0
- package/lib/components/bmb-bookmark/bmb-bookmark.component.d.ts +8 -0
- package/lib/components/bmb-bottom-navigation-bar/bmb-bottom-navigation-bar.component.d.ts +25 -0
- package/lib/components/bmb-breadcrumb/bmb-breadcrumb.component.d.ts +27 -0
- package/lib/components/bmb-button-icon/bmb-button-icon.component.d.ts +16 -0
- package/lib/components/bmb-calendar/bmb-calendar.component.d.ts +69 -0
- package/lib/components/bmb-calendar/common/bmb-calendar-header/bmb-calendar-header.component.d.ts +23 -0
- package/lib/components/bmb-calendar/common/bmb-calendar-hour-view/bmb-calendar-hour-view.component.d.ts +13 -0
- package/lib/components/bmb-calendar/common/bmb-calendar-schedule-cards/bmb-calendar-schedule-cards.component.d.ts +16 -0
- package/lib/components/bmb-calendar/common/bmb-calendar-template-day/bmb-calendar-template-day.component.d.ts +21 -0
- package/lib/components/bmb-calendar/common/bmb-calendar-template-mobile/bmb-calendar-template-mobile.component.d.ts +35 -0
- package/lib/components/bmb-calendar/common/bmb-calendar-template-month/bmb-calendar-template-month.component.d.ts +21 -0
- package/lib/components/bmb-calendar/common/bmb-calendar-template-week/bmb-calendar-template-week.component.d.ts +26 -0
- package/lib/components/bmb-calendar/common/bmb-calendar-time-indicator/bmb-calendar-time-indicator.component.d.ts +9 -0
- package/lib/components/bmb-calendar/types.d.ts +43 -0
- package/lib/components/bmb-calendar/utils.d.ts +12 -0
- package/lib/components/bmb-card/bmb-card.component.d.ts +43 -0
- package/lib/components/bmb-card-button/bmb-card-button.component.d.ts +50 -0
- package/lib/components/bmb-carousel/bmb-carousel.component.d.ts +20 -0
- package/lib/components/bmb-chat-bar/bmb-chat-bar.component.d.ts +62 -0
- package/lib/components/bmb-chat-bar/bot_list.d.ts +6 -0
- package/lib/components/bmb-chat-bar/types.d.ts +9 -0
- package/lib/components/bmb-chat-bubbles/bmb-chat-bubbles.component.d.ts +23 -0
- package/lib/components/bmb-chat-bubbles/types.d.ts +23 -0
- package/lib/components/bmb-check-external-link-button/bmb-check-external-link-button.component.d.ts +21 -0
- package/lib/components/bmb-checkbox/bmb-checkbox.component.d.ts +33 -0
- package/lib/components/bmb-chevron-title-selector/bmb-chevron-title-selector.component.d.ts +17 -0
- package/lib/components/bmb-container/bmb-container.component.d.ts +9 -0
- package/lib/components/bmb-container-button/bmb-container-button.component.d.ts +35 -0
- package/lib/components/bmb-date-range/bmb-date-range.component.d.ts +35 -0
- package/lib/components/bmb-datepicker/bmb-datepicker-modal/bmb-datepicker-modal.component.d.ts +42 -0
- package/lib/components/bmb-datepicker/bmb-datepicker.component.d.ts +51 -0
- package/lib/components/bmb-digital-id/bmb-digital-id.component.d.ts +28 -0
- package/lib/components/bmb-divider/bmb-divider.component.d.ts +8 -0
- package/lib/components/bmb-dot-paginator/bmb-dot-paginator.component.d.ts +17 -0
- package/lib/components/bmb-drawer-overlay/bmb-drawer-overlay.component.d.ts +26 -0
- package/lib/components/bmb-dropdown/bmb-dropdown.component.d.ts +62 -0
- package/lib/components/bmb-dropdown-menu/bmb-dropdown-menu.component.d.ts +13 -0
- package/lib/components/bmb-dropzone/bmb-dropzone.component.d.ts +53 -0
- package/lib/components/bmb-evaluation-rubric/bmb-evaluation-rubric.component.d.ts +45 -0
- package/lib/components/bmb-external-link/bmb-external-link.component.d.ts +25 -0
- package/lib/components/bmb-fab/bmb-fab-.interface.d.ts +10 -0
- package/lib/components/bmb-fab/bmb-fab.component.d.ts +15 -0
- package/lib/components/bmb-filter-card/bmb-filter-card.component.d.ts +34 -0
- package/lib/components/bmb-filter-card/bmb-filter-card.interface.d.ts +12 -0
- package/lib/components/bmb-focus-element/bmb-focus-element.component.d.ts +14 -0
- package/lib/components/bmb-form-validator/bmb-form-validator.component.d.ts +34 -0
- package/lib/components/bmb-frequent-apps-selector/bmb-frequent-apps-selector.component.d.ts +13 -0
- package/lib/components/bmb-grade-value/bmb-grade-value.component.d.ts +11 -0
- package/lib/components/bmb-grades/bmb-grades.component.d.ts +43 -0
- package/lib/components/bmb-grades/types.d.ts +25 -0
- package/lib/components/bmb-header-mitec/bmb-header-mitec.component.d.ts +17 -0
- package/lib/components/bmb-header-mobile/bmb-header-mobile.component.d.ts +23 -0
- package/lib/components/bmb-hito-card/bmb-hito-card.component.d.ts +30 -0
- package/lib/components/bmb-hito-list/bmb-hito-list.component.d.ts +24 -0
- package/lib/components/bmb-home-card/bmb-home-card-header/bmb-home-card-header.component.d.ts +28 -0
- package/lib/components/bmb-home-card/bmb-home-card.component.d.ts +27 -0
- package/lib/components/bmb-home-card-chat/bmb-home-card-chat.component.d.ts +25 -0
- package/lib/components/bmb-home-section/bmb-home-section.component.d.ts +9 -0
- package/lib/components/bmb-icon/bmb-icon.component.d.ts +23 -0
- package/lib/components/bmb-icon/types.d.ts +1 -0
- package/lib/components/bmb-icon-item/bmb-icon-item.component.d.ts +14 -0
- package/lib/components/bmb-icon-status/bmb-icon-status.component.d.ts +10 -0
- package/lib/components/bmb-iframe/bmb-iframe.component.d.ts +11 -0
- package/lib/components/bmb-iframe/bmb-iframe.pipe.d.ts +10 -0
- package/lib/components/bmb-image/bmb-image.component.d.ts +19 -0
- package/lib/components/bmb-inner-header/bmb-inner-header.component.d.ts +31 -0
- package/lib/components/bmb-input/bmb-input-content/bmb-input-content.component.d.ts +52 -0
- package/lib/components/bmb-input/bmb-input-validator/bmb-input-validator.component.d.ts +45 -0
- package/lib/components/bmb-input/bmb-input.component.d.ts +68 -0
- package/lib/components/bmb-input-phone-number/bmb-input-phone-number.component.d.ts +52 -0
- package/lib/components/bmb-input-tags/bmb-input-tags.component.d.ts +55 -0
- package/lib/components/bmb-interactive-icon/bmb-interactive-icon.component.d.ts +23 -0
- package/lib/components/bmb-invoice/bmb-invoice.component.d.ts +31 -0
- package/lib/components/bmb-item/bmb-item.component.d.ts +16 -0
- package/lib/components/bmb-legend/bmb-legend.component.d.ts +9 -0
- package/lib/components/bmb-list-group/bmb-list-group-item/bmb-list-group-item.component.d.ts +33 -0
- package/lib/components/bmb-list-group/bmb-list-group.component.d.ts +27 -0
- package/lib/components/bmb-list-group/bmb-list-group.service.d.ts +18 -0
- package/lib/components/bmb-list-group/types.d.ts +1 -0
- package/lib/components/bmb-list-items/bmb-list-items.component.d.ts +33 -0
- package/lib/components/bmb-loader/bmb-loader.component.d.ts +31 -0
- package/lib/components/bmb-login/bmb-login-content/bmb-login-content.component.d.ts +27 -0
- package/lib/components/bmb-login/bmb-login.component.d.ts +33 -0
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-logged/bmb-login-onboarding-logged.component.d.ts +14 -0
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-login/bmb-login-onboarding-login.component.d.ts +8 -0
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-logout/bmb-login-onboarding-logout.component.d.ts +12 -0
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-four.component.d.ts +19 -0
- 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
- 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
- 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
- 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
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper.component.d.ts +15 -0
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding.component.d.ts +22 -0
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding.service.d.ts +25 -0
- package/lib/components/bmb-login-onboarding/types.d.ts +15 -0
- package/lib/components/bmb-logo/bmb-logo.component.d.ts +19 -0
- package/lib/components/bmb-media-card/bmb-media-card.component.d.ts +35 -0
- package/lib/components/bmb-mitec-logo-animation/bmb-mitec-logo-animation.component.d.ts +6 -0
- package/lib/components/bmb-mobile-templates/bmb-mobile-templates.component.d.ts +47 -0
- package/lib/components/bmb-modal/bmb-modal.component.d.ts +31 -0
- package/lib/components/bmb-modal/bmb-modal.interface.d.ts +44 -0
- package/lib/components/bmb-modal/bmb-native-modal.component.d.ts +45 -0
- package/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator-item/bmb-multi-dot-paginator-item.component.d.ts +7 -0
- package/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator.component.d.ts +15 -0
- package/lib/components/bmb-navigation-bar/bmb-navigation-bar.component.d.ts +13 -0
- package/lib/components/bmb-notice-card/bmb-notice-card.component.d.ts +21 -0
- package/lib/components/bmb-notification-card/bmb-notification-card-modal/bmb-notification-card-modal.component.d.ts +10 -0
- package/lib/components/bmb-notification-card/bmb-notification-card.component.d.ts +35 -0
- package/lib/components/bmb-notification-counter/bmb-notification-counter.component.d.ts +9 -0
- package/lib/components/bmb-overlay/bmb-overlay.component.d.ts +9 -0
- package/lib/components/bmb-paginator/bmb-paginator.component.d.ts +14 -0
- package/lib/components/bmb-portal/bmb-portal.component.d.ts +23 -0
- package/lib/components/bmb-portal/bmb-projected-content/bmb-projected-content.component.d.ts +40 -0
- package/lib/components/bmb-profile/bmb-profile.component.d.ts +34 -0
- package/lib/components/bmb-progress-bar/bmb-progress-bar.component.d.ts +19 -0
- package/lib/components/bmb-progress-cirlce/bmb-progress-circle.component.d.ts +57 -0
- package/lib/components/bmb-progress-cirlce/bmb-progress-circle.interface.d.ts +15 -0
- package/lib/components/bmb-pull-wedge/bmb-pull-wedge.component.d.ts +23 -0
- package/lib/components/bmb-push-notification/bmb-push-notification-item/bmb-push-notification-item.component.d.ts +18 -0
- package/lib/components/bmb-push-notification/bmb-push-notification.component.d.ts +11 -0
- package/lib/components/bmb-push-notification/types.d.ts +46 -0
- package/lib/components/bmb-radial/bmb-radial.component.d.ts +33 -0
- package/lib/components/bmb-search-input/bmb-search-input.component.d.ts +33 -0
- package/lib/components/bmb-server-table/bmb-server-table.component.d.ts +26 -0
- package/lib/components/bmb-sidebar/bmb-sidebar.component.d.ts +35 -0
- package/lib/components/bmb-sidebar/bmb-sidebar.interface.d.ts +10 -0
- package/lib/components/bmb-simple-header/bmb-simple-header.component.d.ts +10 -0
- package/lib/components/bmb-skeleton/bmb-skeleton.component.d.ts +7 -0
- package/lib/components/bmb-sounds-card/bmb-sounds-card.component.d.ts +24 -0
- package/lib/components/bmb-stat-counter/bmb-stat-counter.component.d.ts +11 -0
- package/lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component.d.ts +32 -0
- package/lib/components/bmb-student-activity-card/bmb-student-activity-card.component.d.ts +23 -0
- package/lib/components/bmb-student-activity-selector/bmb-student-activity-tab/bmb-student-activity-tab.component.d.ts +10 -0
- package/lib/components/bmb-switch/bmb-switch.component.d.ts +25 -0
- package/lib/components/bmb-table-lite/bmb-table-lite.component.d.ts +97 -0
- package/lib/components/bmb-table-lite/bmb-table-lite.interface.d.ts +22 -0
- package/lib/components/bmb-tables/bmb-tables.component.d.ts +104 -0
- package/lib/components/bmb-tables/bmb-tables.interface.d.ts +21 -0
- package/lib/components/bmb-tabs/bmb-tabs.component.d.ts +41 -0
- package/lib/components/bmb-tags/bmb-tags.component.d.ts +26 -0
- package/lib/components/bmb-text-editor/bmb-text-editor.component.d.ts +34 -0
- package/lib/components/bmb-text-link/bmb-text-link.component.d.ts +17 -0
- package/lib/components/bmb-theme/bmb-theme.component.d.ts +19 -0
- package/lib/components/bmb-three-cols/bmb-three-cols.component.d.ts +15 -0
- package/lib/components/bmb-timestream/bmb-timestream-detail/bmb-timestream-detail.component.d.ts +25 -0
- package/lib/components/bmb-timestream/bmb-timestream-error/bmb-timestream-error.component.d.ts +5 -0
- package/lib/components/bmb-timestream/bmb-timestream.component.d.ts +67 -0
- package/lib/components/bmb-timestream/types.d.ts +54 -0
- package/lib/components/bmb-timestream-card/bmb-timestream-card.component.d.ts +29 -0
- package/lib/components/bmb-title-content/bmb-title-content.component.d.ts +26 -0
- package/lib/components/bmb-toast/bmb-toast.component.d.ts +16 -0
- package/lib/components/bmb-tooltip/bmb-tooltip.component.d.ts +17 -0
- package/lib/components/bmb-top-bar/bmb-top-bar-item/bmb-top-bar-item.component.d.ts +7 -0
- package/lib/components/bmb-top-bar/bmb-top-bar-user-section/bmb-top-bar-user-section.component.d.ts +32 -0
- package/lib/components/bmb-top-bar/bmb-top-bar.component.d.ts +47 -0
- package/lib/components/bmb-top-bar/types.d.ts +6 -0
- package/lib/components/bmb-totp/bmb-totp.component.d.ts +31 -0
- package/lib/components/bmb-user-image/bmb-user-image.component.d.ts +19 -0
- package/lib/components/bmb-user-profile/bmb-user-profile-content/bmb-user-profile-content.component.d.ts +10 -0
- package/lib/components/bmb-user-profile/bmb-user-profile.component.d.ts +19 -0
- package/lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component.d.ts +28 -0
- package/lib/components/bmb-user-summary/bmb-user-summary.component.d.ts +14 -0
- package/lib/components/bmb-value-counter/bmb-value-counter.component.d.ts +8 -0
- package/lib/components/bmb-web-templates/bmb-web-templates.component.d.ts +42 -0
- package/lib/components/bmb-wheel-menu/bmb-wheel-menu.component.d.ts +40 -0
- package/lib/components/utils/bmb-alert-center-detail/bmb-alert-center-detail.component.d.ts +20 -0
- package/lib/components/utils/bmb-dropdown-content/bmb-dropdown-content.component.d.ts +16 -0
- package/lib/directives/bmb-accordion/bmb-accordion-control.directive.d.ts +22 -0
- package/lib/directives/bmb-button/button.directive.d.ts +29 -0
- package/lib/directives/bmb-button-group/bmb-button-group.directive.d.ts +10 -0
- package/lib/directives/bmb-layout/bmb-layout-item.directive.d.ts +24 -0
- package/lib/directives/bmb-layout/bmb-layout.directive.d.ts +15 -0
- package/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout-item.directive.d.ts +9 -0
- package/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout.directive.d.ts +14 -0
- package/lib/directives/bmb-layout-grid/bmb-layout-grid.directive.d.ts +29 -0
- package/lib/directives/bmb-selector/bmb-selector.directive.d.ts +8 -0
- package/lib/directives/utils/clickoutside.directive.d.ts +15 -0
- package/lib/ds-ng.component.d.ts +5 -0
- package/lib/ds-ng.service.d.ts +6 -0
- package/lib/pipes/translations.d.ts +10 -0
- package/lib/services/calendar/calendar.service.d.ts +15 -0
- package/lib/services/calendar.service.d.ts +15 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/modal/native-modal.service.d.ts +18 -0
- package/lib/services/native-modal.service.d.ts +18 -0
- package/lib/services/notification/notification.service.d.ts +20 -0
- package/lib/services/notification.service.d.ts +20 -0
- package/lib/services/projection/projection.service.d.ts +31 -0
- package/lib/services/projection.service.d.ts +31 -0
- package/lib/services/tabs/tabs.service.d.ts +13 -0
- package/lib/services/tabs.service.d.ts +13 -0
- package/lib/services/theme/theme.service.d.ts +11 -0
- package/lib/services/theme.service.d.ts +11 -0
- package/lib/services/toast/toast.service.d.ts +9 -0
- package/lib/services/toast.service.d.ts +9 -0
- package/lib/services/translations/translations.service.d.ts +22 -0
- package/lib/services/user/profile.service.d.ts +9 -0
- package/lib/types/colors.d.ts +2 -0
- package/lib/types/index.d.ts +128 -0
- package/lib/utils/countryCodes.d.ts +7 -0
- package/lib/utils/currencyFormat.d.ts +1 -0
- package/lib/utils/dropdown.d.ts +6 -0
- package/lib/utils/formControl.d.ts +7 -0
- package/lib/utils/timestreamFilters.d.ts +2 -0
- package/lib/utils/utils.d.ts +17 -0
- package/package.json +8 -5
- package/public-api.d.ts +150 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChildren, input, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { BmbMultiDotPaginatorItemComponent } from './bmb-multi-dot-paginator-item/bmb-multi-dot-paginator-item.component';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { BmbFabComponent } from '../bmb-fab/bmb-fab.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
export class BmbMultiDotPaginatorComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.title = input.required();
|
|
10
|
+
this.subtitle = input('');
|
|
11
|
+
this.numberOfElements = [];
|
|
12
|
+
this.selectedIndex = 0;
|
|
13
|
+
}
|
|
14
|
+
ngAfterContentInit() {
|
|
15
|
+
this.numberOfElements = Array(this.contentChildren.length ?? 0).fill(0);
|
|
16
|
+
this.setClassActive(0);
|
|
17
|
+
}
|
|
18
|
+
selectItem(index) {
|
|
19
|
+
this.setClassActive(index, this.selectedIndex);
|
|
20
|
+
}
|
|
21
|
+
setClassActive(newIndex, oldIndex = 0) {
|
|
22
|
+
const activeItem = this.contentChildren?.get(newIndex);
|
|
23
|
+
const oldItem = this.contentChildren?.get(oldIndex);
|
|
24
|
+
if (!activeItem)
|
|
25
|
+
return;
|
|
26
|
+
const container = activeItem.multiDotPaginatorItem.nativeElement.parentElement
|
|
27
|
+
.parentElement;
|
|
28
|
+
if (oldItem) {
|
|
29
|
+
oldItem.multiDotPaginatorItem.nativeElement.parentElement.classList.remove('bmb_multi-dot-paginator-item-active');
|
|
30
|
+
}
|
|
31
|
+
activeItem.multiDotPaginatorItem.nativeElement.parentElement.classList.add('bmb_multi-dot-paginator-item-active');
|
|
32
|
+
if (newIndex !== oldIndex) {
|
|
33
|
+
container.classList.remove('bounce');
|
|
34
|
+
container.getBoundingClientRect();
|
|
35
|
+
setTimeout(() => {
|
|
36
|
+
container.classList.add('bounce');
|
|
37
|
+
}, 500);
|
|
38
|
+
}
|
|
39
|
+
this.selectedIndex = newIndex;
|
|
40
|
+
}
|
|
41
|
+
setNextItem() {
|
|
42
|
+
if (this.selectedIndex + 1 === this.numberOfElements.length) {
|
|
43
|
+
this.setClassActive(0, this.selectedIndex);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
this.setClassActive(this.selectedIndex + 1, this.selectedIndex);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbMultiDotPaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
50
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BmbMultiDotPaginatorComponent, isStandalone: true, selector: "bmb-multi-dot-paginator", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "contentChildren", predicate: BmbMultiDotPaginatorItemComponent }], ngImport: i0, template: "<div class=\"bmb_multi-dot-paginator\">\n <header class=\"bmb_multi-dot-paginator-header\">\n <h2 class=\"bmb_multi-dot-paginator-title\">\n {{ title() }}\n @if (subtitle()) {\n <h4 class=\"bmb_multi-dot-paginator-subtitle\">{{ subtitle() }}</h4>\n }\n </h2>\n </header>\n <section class=\"bmb_multi-dot-paginator-content\">\n <div\n class=\"bmb_multi-dot-paginator-content-list\"\n [style]=\"\n '--numberOfElements: ' +\n numberOfElements.length +\n '; --selected-child: ' +\n selectedIndex +\n ';'\n \"\n >\n <ng-content />\n <div class=\"bmb_multi-dot-paginator-return\">\n <bmb-fab\n icon=\"keyboard_return\"\n size=\"large\"\n type=\"normal\"\n text=\"Regresar al inicio\"\n [mitec]=\"true\"\n (click)=\"selectItem(0)\"\n />\n </div>\n </div>\n <button\n class=\"bmb_multi-dot-paginator-next\"\n (click)=\"setNextItem()\"\n title=\"Siguiente\"\n >\n Siguiente\n </button>\n </section>\n <footer class=\"bmb_multi-dot-paginator-footer\">\n <ul\n class=\"bmb_multi-dot-paginator-list\"\n [style]=\"'--selected-child: ' + selectedIndex + ';'\"\n >\n @for (dot of numberOfElements; track $index) {\n <li\n class=\"bmb_multi-dot-paginator-list-item\"\n [ngClass]=\"{\n 'bmb_multi-dot-paginator-list-item-active': selectedIndex === $index\n }\"\n >\n <button\n class=\"bmb_multi-dot-paginator-dot\"\n (click)=\"selectItem($index)\"\n [title]=\"$index\"\n [ngClass]=\"{\n 'bmb_multi-dot-paginator-dot-active': selectedIndex === $index\n }\"\n ></button>\n </li>\n }\n </ul>\n </footer>\n</div>\n<!-- *ngFor=\"let i of getDotsArray()\"\n[attr.data-bs-target]=\"targets && targets[i] ? targets[i].target : ''\"\n[attr.data-bs-slide-to]=\"i\"\n[ngClass]=\"{ dot: true, active: activeDotIndex === i }\"\n(click)=\"onDotClicked(i)\" -->\n", styles: ["@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-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}@keyframes bounce{0%{margin-left:0}25%{margin-left:-10px}50%{margin-left:10px}75%{margin-left:-5px}to{margin-left:0}}.bmb_multi-dot-paginator{display:flex;flex-direction:column;height:100%;overflow:hidden;gap:var(--bmb-spacing-m)}.bmb_multi-dot-paginator-title{font-family:Poppins-Regular,sans-serif;font-size:1.125rem;font-weight:300;color:var(--general_contrasts-100)}.bmb_multi-dot-paginator-subtitle{font-family:Poppins-Regular,sans-serif;font-size:1rem;font-weight:300;color:var(--general_contrasts-50)}.bmb_multi-dot-paginator-content{flex:1;overflow:visible;position:relative}.bmb_multi-dot-paginator-content-list{--child-size: calc(100% / var(--numberOfElements) - 6rem);--selected-child: calc(var(--selected-child) + 1);display:flex;margin:0;width:calc(100% * var(--numberOfElements));height:100%;transition:all .5s ease;transform:translate(calc(var(--child-size) * var(--selected-child) * -1))}@media (min-width: 62.5625rem){.bmb_multi-dot-paginator-content-list{--child-size: calc(50% / var(--numberOfElements) - 3rem)}}@media (min-width: 125rem){.bmb_multi-dot-paginator-content-list{--child-size: calc(33.333% / var(--numberOfElements) - 2rem)}}.bmb_multi-dot-paginator-content-list.bounce{animation:bounce .3s ease}.bmb_multi-dot-paginator-footer{display:flex;justify-content:center;padding:var(--bmb-spacing-s) var(--bmb-spacing-m)}.bmb_multi-dot-paginator-list{list-style:none;padding:0;margin:0;display:flex;justify-content:center}@media (min-width: 125rem){.bmb_multi-dot-paginator-list-item:nth-last-child(2) .bmb_multi-dot-paginator-dot:after{width:1.875rem}}@media (min-width: 62.5625rem){.bmb_multi-dot-paginator-list-item:last-child .bmb_multi-dot-paginator-dot:after{width:.875rem}}@media (min-width: 62.5625rem){.bmb_multi-dot-paginator-list-item-active+.bmb_multi-dot-paginator-list-item .bmb_multi-dot-paginator-dot{background-color:var(--general_contrasts-main-selection)}}@media (min-width: 125rem){.bmb_multi-dot-paginator-list-item-active+.bmb_multi-dot-paginator-list-item+.bmb_multi-dot-paginator-list-item .bmb_multi-dot-paginator-dot{background-color:var(--general_contrasts-main-selection)}}.bmb_multi-dot-paginator-return{position:relative;width:18.75rem;display:flex;align-items:center;padding-left:3rem}.bmb_multi-dot-paginator-return .bmb_fab-large-normal{position:initial}.bmb_multi-dot-paginator-next{position:absolute;right:0;height:100%;top:0;width:4rem;padding:0;opacity:0}.bmb_multi-dot-paginator-dot{background-color:RGBA(var(--color-charade-500));border-radius:100%;cursor:pointer;height:.5rem;margin:0 .25rem;width:.5rem;position:relative;padding:0}.bmb_multi-dot-paginator-dot-active{background-color:var(--general_contrasts-main-selection);border-radius:100%;box-shadow:0 0 .25rem 0 var(--general_contrasts-main-selection)}.bmb_multi-dot-paginator-dot-active:after{content:\"\";position:absolute;width:.875rem;border:.0625rem solid var(--general_contrasts-main-selection);left:-.25rem;top:-.25rem;height:.875rem;border-radius:.875rem;box-shadow:0 0 .1875rem 0 inset var(--general_contrasts-main-selection),0 0 .25rem 0 var(--general_contrasts-main-selection);z-index:0}@media (min-width: 62.5625rem){.bmb_multi-dot-paginator-dot-active:after{width:1.875rem}}@media (min-width: 125rem){.bmb_multi-dot-paginator-dot-active:after{width:2.875rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BmbFabComponent, selector: "bmb-fab", inputs: ["icon", "text", "size", "type", "mitec"], outputs: ["fabClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
51
|
+
}
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbMultiDotPaginatorComponent, decorators: [{
|
|
53
|
+
type: Component,
|
|
54
|
+
args: [{ selector: 'bmb-multi-dot-paginator', standalone: true, imports: [CommonModule, BmbFabComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"bmb_multi-dot-paginator\">\n <header class=\"bmb_multi-dot-paginator-header\">\n <h2 class=\"bmb_multi-dot-paginator-title\">\n {{ title() }}\n @if (subtitle()) {\n <h4 class=\"bmb_multi-dot-paginator-subtitle\">{{ subtitle() }}</h4>\n }\n </h2>\n </header>\n <section class=\"bmb_multi-dot-paginator-content\">\n <div\n class=\"bmb_multi-dot-paginator-content-list\"\n [style]=\"\n '--numberOfElements: ' +\n numberOfElements.length +\n '; --selected-child: ' +\n selectedIndex +\n ';'\n \"\n >\n <ng-content />\n <div class=\"bmb_multi-dot-paginator-return\">\n <bmb-fab\n icon=\"keyboard_return\"\n size=\"large\"\n type=\"normal\"\n text=\"Regresar al inicio\"\n [mitec]=\"true\"\n (click)=\"selectItem(0)\"\n />\n </div>\n </div>\n <button\n class=\"bmb_multi-dot-paginator-next\"\n (click)=\"setNextItem()\"\n title=\"Siguiente\"\n >\n Siguiente\n </button>\n </section>\n <footer class=\"bmb_multi-dot-paginator-footer\">\n <ul\n class=\"bmb_multi-dot-paginator-list\"\n [style]=\"'--selected-child: ' + selectedIndex + ';'\"\n >\n @for (dot of numberOfElements; track $index) {\n <li\n class=\"bmb_multi-dot-paginator-list-item\"\n [ngClass]=\"{\n 'bmb_multi-dot-paginator-list-item-active': selectedIndex === $index\n }\"\n >\n <button\n class=\"bmb_multi-dot-paginator-dot\"\n (click)=\"selectItem($index)\"\n [title]=\"$index\"\n [ngClass]=\"{\n 'bmb_multi-dot-paginator-dot-active': selectedIndex === $index\n }\"\n ></button>\n </li>\n }\n </ul>\n </footer>\n</div>\n<!-- *ngFor=\"let i of getDotsArray()\"\n[attr.data-bs-target]=\"targets && targets[i] ? targets[i].target : ''\"\n[attr.data-bs-slide-to]=\"i\"\n[ngClass]=\"{ dot: true, active: activeDotIndex === i }\"\n(click)=\"onDotClicked(i)\" -->\n", styles: ["@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-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}@keyframes bounce{0%{margin-left:0}25%{margin-left:-10px}50%{margin-left:10px}75%{margin-left:-5px}to{margin-left:0}}.bmb_multi-dot-paginator{display:flex;flex-direction:column;height:100%;overflow:hidden;gap:var(--bmb-spacing-m)}.bmb_multi-dot-paginator-title{font-family:Poppins-Regular,sans-serif;font-size:1.125rem;font-weight:300;color:var(--general_contrasts-100)}.bmb_multi-dot-paginator-subtitle{font-family:Poppins-Regular,sans-serif;font-size:1rem;font-weight:300;color:var(--general_contrasts-50)}.bmb_multi-dot-paginator-content{flex:1;overflow:visible;position:relative}.bmb_multi-dot-paginator-content-list{--child-size: calc(100% / var(--numberOfElements) - 6rem);--selected-child: calc(var(--selected-child) + 1);display:flex;margin:0;width:calc(100% * var(--numberOfElements));height:100%;transition:all .5s ease;transform:translate(calc(var(--child-size) * var(--selected-child) * -1))}@media (min-width: 62.5625rem){.bmb_multi-dot-paginator-content-list{--child-size: calc(50% / var(--numberOfElements) - 3rem)}}@media (min-width: 125rem){.bmb_multi-dot-paginator-content-list{--child-size: calc(33.333% / var(--numberOfElements) - 2rem)}}.bmb_multi-dot-paginator-content-list.bounce{animation:bounce .3s ease}.bmb_multi-dot-paginator-footer{display:flex;justify-content:center;padding:var(--bmb-spacing-s) var(--bmb-spacing-m)}.bmb_multi-dot-paginator-list{list-style:none;padding:0;margin:0;display:flex;justify-content:center}@media (min-width: 125rem){.bmb_multi-dot-paginator-list-item:nth-last-child(2) .bmb_multi-dot-paginator-dot:after{width:1.875rem}}@media (min-width: 62.5625rem){.bmb_multi-dot-paginator-list-item:last-child .bmb_multi-dot-paginator-dot:after{width:.875rem}}@media (min-width: 62.5625rem){.bmb_multi-dot-paginator-list-item-active+.bmb_multi-dot-paginator-list-item .bmb_multi-dot-paginator-dot{background-color:var(--general_contrasts-main-selection)}}@media (min-width: 125rem){.bmb_multi-dot-paginator-list-item-active+.bmb_multi-dot-paginator-list-item+.bmb_multi-dot-paginator-list-item .bmb_multi-dot-paginator-dot{background-color:var(--general_contrasts-main-selection)}}.bmb_multi-dot-paginator-return{position:relative;width:18.75rem;display:flex;align-items:center;padding-left:3rem}.bmb_multi-dot-paginator-return .bmb_fab-large-normal{position:initial}.bmb_multi-dot-paginator-next{position:absolute;right:0;height:100%;top:0;width:4rem;padding:0;opacity:0}.bmb_multi-dot-paginator-dot{background-color:RGBA(var(--color-charade-500));border-radius:100%;cursor:pointer;height:.5rem;margin:0 .25rem;width:.5rem;position:relative;padding:0}.bmb_multi-dot-paginator-dot-active{background-color:var(--general_contrasts-main-selection);border-radius:100%;box-shadow:0 0 .25rem 0 var(--general_contrasts-main-selection)}.bmb_multi-dot-paginator-dot-active:after{content:\"\";position:absolute;width:.875rem;border:.0625rem solid var(--general_contrasts-main-selection);left:-.25rem;top:-.25rem;height:.875rem;border-radius:.875rem;box-shadow:0 0 .1875rem 0 inset var(--general_contrasts-main-selection),0 0 .25rem 0 var(--general_contrasts-main-selection);z-index:0}@media (min-width: 62.5625rem){.bmb_multi-dot-paginator-dot-active:after{width:1.875rem}}@media (min-width: 125rem){.bmb_multi-dot-paginator-dot-active:after{width:2.875rem}}\n"] }]
|
|
55
|
+
}], propDecorators: { contentChildren: [{
|
|
56
|
+
type: ContentChildren,
|
|
57
|
+
args: [BmbMultiDotPaginatorItemComponent]
|
|
58
|
+
}] } });
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLW11bHRpLWRvdC1wYWdpbmF0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZHMtbmcvc3JjL2xpYi9jb21wb25lbnRzL2JtYi1tdWx0aS1kb3QtcGFnaW5hdG9yL2JtYi1tdWx0aS1kb3QtcGFnaW5hdG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItbXVsdGktZG90LXBhZ2luYXRvci9ibWItbXVsdGktZG90LXBhZ2luYXRvci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUwsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxlQUFlLEVBRWYsS0FBSyxFQUVMLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsaUNBQWlDLEVBQUUsTUFBTSx1RUFBdUUsQ0FBQztBQUMxSCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL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SW5kZXggPT09ICRpbmRleFxuICAgICAgICAgIH1cIlxuICAgICAgICA+XG4gICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgY2xhc3M9XCJibWJfbXVsdGktZG90LXBhZ2luYXRvci1kb3RcIlxuICAgICAgICAgICAgKGNsaWNrKT1cInNlbGVjdEl0ZW0oJGluZGV4KVwiXG4gICAgICAgICAgICBbdGl0bGVdPVwiJGluZGV4XCJcbiAgICAgICAgICAgIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgJ2JtYl9tdWx0aS1kb3QtcGFnaW5hdG9yLWRvdC1hY3RpdmUnOiBzZWxlY3RlZEluZGV4ID09PSAkaW5kZXhcbiAgICAgICAgICAgIH1cIlxuICAgICAgICAgID48L2J1dHRvbj5cbiAgICAgICAgPC9saT5cbiAgICAgIH1cbiAgICA8L3VsPlxuICA8L2Zvb3Rlcj5cbjwvZGl2PlxuPCEtLSAqbmdGb3I9XCJsZXQgaSBvZiBnZXREb3RzQXJyYXkoKVwiXG5bYXR0ci5kYXRhLWJzLXRhcmdldF09XCJ0YXJnZXRzICYmIHRhcmdldHNbaV0gPyB0YXJnZXRzW2ldLnRhcmdldCA6ICcnXCJcblthdHRyLmRhdGEtYnMtc2xpZGUtdG9dPVwiaVwiXG5bbmdDbGFzc109XCJ7IGRvdDogdHJ1ZSwgYWN0aXZlOiBhY3RpdmVEb3RJbmRleCA9PT0gaSB9XCJcbihjbGljayk9XCJvbkRvdENsaWNrZWQoaSlcIiAtLT5cbiJdfQ==
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, input, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { BmbActionIconComponent } from '../bmb-action-icon/bmb-action-icon.component';
|
|
4
|
+
import { BmbLayoutDirective, } from '../../directives/bmb-layout/bmb-layout.directive';
|
|
5
|
+
import { BmbLayoutItemDirective } from '../../directives/bmb-layout/bmb-layout-item.directive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class BmbNavigationBarComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.actionHeaders = input([]);
|
|
10
|
+
this.iconSize = input();
|
|
11
|
+
this.gapSize = input('m');
|
|
12
|
+
this.justify = input('spaceBetween');
|
|
13
|
+
this.alignItems = input('start');
|
|
14
|
+
}
|
|
15
|
+
handleClick(actionHeader) {
|
|
16
|
+
actionHeader.action();
|
|
17
|
+
}
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNavigationBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BmbNavigationBarComponent, isStandalone: true, selector: "bmb-navigation-bar", inputs: { actionHeaders: { classPropertyName: "actionHeaders", publicName: "actionHeaders", isSignal: true, isRequired: false, transformFunction: null }, iconSize: { classPropertyName: "iconSize", publicName: "iconSize", isSignal: true, isRequired: false, transformFunction: null }, gapSize: { classPropertyName: "gapSize", publicName: "gapSize", isSignal: true, isRequired: false, transformFunction: null }, justify: { classPropertyName: "justify", publicName: "justify", isSignal: true, isRequired: false, transformFunction: null }, alignItems: { classPropertyName: "alignItems", publicName: "alignItems", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<span\n class=\"bmb_navigation-bar\"\n bmbLayout\n margin=\"none\"\n [justify]=\"justify()\"\n [gapSize]=\"gapSize()\"\n [alignItems]=\"alignItems()\"\n [dynamicCols]=\"true\"\n>\n @for (actionHeader of actionHeaders(); track $index) {\n <bmb-action-icon\n class=\"bmb_navigation-bar-icon\"\n bmbLayoutItem\n [isDynamicItem]=\"true\"\n [idElement]=\"$index.toString()\"\n [icon]=\"actionHeader.icon\"\n [alt]=\"actionHeader.alt || actionHeader.icon\"\n [iconSize]=\"iconSize() || actionHeader.iconSize\"\n [toggleIconActive]=\"actionHeader.iconActiveToggle\"\n [(isToggleActive)]=\"actionHeader.isToggleActive\"\n [link]=\"actionHeader.link\"\n [target]=\"actionHeader.target\"\n (buttonClick)=\"handleClick(actionHeader)\"\n />\n }\n</span>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: BmbLayoutDirective, selector: "[bmbLayout]", inputs: ["gapSize", "margin", "dynamicCols", "justify", "alignItems", "isContainerQuery"] }, { kind: "directive", type: BmbLayoutItemDirective, selector: "[bmbLayoutItem]", inputs: ["colSm", "colLg", "marginLeft", "marginRight", "colGrow", "isDynamicItem"] }, { kind: "component", type: BmbActionIconComponent, selector: "bmb-action-icon", inputs: ["idElement", "icon", "alt", "iconSize", "isFill", "toggleIconActive", "isToggleActive", "isAccentColor", "dotNotification", "target", "link", "disabled"], outputs: ["isToggleActiveChange", "isAccentColorChange", "buttonPress", "buttonClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNavigationBarComponent, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{ selector: 'bmb-navigation-bar', standalone: true, imports: [
|
|
24
|
+
CommonModule,
|
|
25
|
+
BmbLayoutDirective,
|
|
26
|
+
BmbLayoutItemDirective,
|
|
27
|
+
BmbActionIconComponent,
|
|
28
|
+
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<span\n class=\"bmb_navigation-bar\"\n bmbLayout\n margin=\"none\"\n [justify]=\"justify()\"\n [gapSize]=\"gapSize()\"\n [alignItems]=\"alignItems()\"\n [dynamicCols]=\"true\"\n>\n @for (actionHeader of actionHeaders(); track $index) {\n <bmb-action-icon\n class=\"bmb_navigation-bar-icon\"\n bmbLayoutItem\n [isDynamicItem]=\"true\"\n [idElement]=\"$index.toString()\"\n [icon]=\"actionHeader.icon\"\n [alt]=\"actionHeader.alt || actionHeader.icon\"\n [iconSize]=\"iconSize() || actionHeader.iconSize\"\n [toggleIconActive]=\"actionHeader.iconActiveToggle\"\n [(isToggleActive)]=\"actionHeader.isToggleActive\"\n [link]=\"actionHeader.link\"\n [target]=\"actionHeader.target\"\n (buttonClick)=\"handleClick(actionHeader)\"\n />\n }\n</span>\n" }]
|
|
29
|
+
}] });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLW5hdmlnYXRpb24tYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItbmF2aWdhdGlvbi1iYXIvYm1iLW5hdmlnYXRpb24tYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItbmF2aWdhdGlvbi1iYXIvYm1iLW5hdmlnYXRpb24tYmFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULEtBQUssRUFDTCxpQkFBaUIsR0FDbEIsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDhDQUE4QyxDQUFDO0FBQ3RGLE9BQU8sRUFDTCxrQkFBa0IsR0FHbkIsTUFBTSxrREFBa0QsQ0FBQztBQUMxRCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx1REFBdUQsQ0FBQzs7QUFnQi9GLE1BQU0sT0FBTyx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WNvblNpemVcIlxuICAgICAgW3RvZ2dsZUljb25BY3RpdmVdPVwiYWN0aW9uSGVhZGVyLmljb25BY3RpdmVUb2dnbGVcIlxuICAgICAgWyhpc1RvZ2dsZUFjdGl2ZSldPVwiYWN0aW9uSGVhZGVyLmlzVG9nZ2xlQWN0aXZlXCJcbiAgICAgIFtsaW5rXT1cImFjdGlvbkhlYWRlci5saW5rXCJcbiAgICAgIFt0YXJnZXRdPVwiYWN0aW9uSGVhZGVyLnRhcmdldFwiXG4gICAgICAoYnV0dG9uQ2xpY2spPVwiaGFuZGxlQ2xpY2soYWN0aW9uSGVhZGVyKVwiXG4gICAgLz5cbiAgfVxuPC9zcGFuPlxuIl19
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, input, output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { BmbActionIconComponent } from '../bmb-action-icon/bmb-action-icon.component';
|
|
3
|
+
import { BmbDividerComponent } from '../bmb-divider/bmb-divider.component';
|
|
4
|
+
import { BmbDotPaginatorComponent } from '../bmb-dot-paginator/bmb-dot-paginator.component';
|
|
5
|
+
import { BmbButtonDirective } from '../../directives/bmb-button/button.directive';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import { TranslatePipe } from '../../pipes/translations';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "@angular/common";
|
|
10
|
+
export class BmbNoticeCardComponent {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.src = input('');
|
|
13
|
+
this.title = input('');
|
|
14
|
+
this.description = input();
|
|
15
|
+
this.buttonText = input();
|
|
16
|
+
this.link = input('');
|
|
17
|
+
this.closeBtnColor = input('white');
|
|
18
|
+
this.onClose = output();
|
|
19
|
+
this.onClickBtn = output();
|
|
20
|
+
this.activeIndex = 0;
|
|
21
|
+
}
|
|
22
|
+
onDotPress(index) {
|
|
23
|
+
this.activeIndex = index;
|
|
24
|
+
}
|
|
25
|
+
handleClose() {
|
|
26
|
+
this.onClose.emit();
|
|
27
|
+
}
|
|
28
|
+
handleClickBtn() {
|
|
29
|
+
this.onClickBtn.emit();
|
|
30
|
+
}
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNoticeCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BmbNoticeCardComponent, isStandalone: true, selector: "bmb-notice-card", inputs: { src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, buttonText: { classPropertyName: "buttonText", publicName: "buttonText", isSignal: true, isRequired: false, transformFunction: null }, link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null }, closeBtnColor: { classPropertyName: "closeBtnColor", publicName: "closeBtnColor", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClose: "onClose", onClickBtn: "onClickBtn" }, ngImport: i0, template: "<section class=\"bmb_notice-card\">\n <section class=\"bmb_notice-card-header\">\n <figure class=\"bmb_notice-card-header-figure\">\n <picture>\n <source media=\"(min-width: 1000px)\" [srcset]=\"src()\" />\n <img\n [loading]=\"'lazy'\"\n class=\"bmb_notice-card-header-image\"\n [srcset]=\"src()\"\n [alt]=\"title()\"\n [loading]=\"'lazy'\"\n />\n </picture>\n </figure>\n <bmb-action-icon\n class=\"bmb_notice-card-header-icon\"\n [ngStyle]=\"{\n color:\n closeBtnColor() == 'white'\n ? 'RGBA(var(--color-charade-50))'\n : 'RGBA(var(--color-charade-950))'\n }\"\n [icon]=\"'close'\"\n [iconSize]=\"28\"\n (buttonClick)=\"handleClose()\"\n />\n </section>\n <section class=\"bmb_notice-card-content\">\n <div class=\"bmb_notice-card-content-title\">\n <h3>{{ title() }}</h3>\n </div>\n @if (activeIndex == 0) {\n <div class=\"bmb_notice-card-content-description-one\">\n <p class=\"bmb_notice-card-content-description-text\">\n {{ description()?.pageOne }}\n </p>\n </div>\n }\n @if (description()!.pageTwo && activeIndex === 1) {\n <div class=\"bmb_notice-card-content-description-two\">\n <p class=\"bmb_notice-card-content-description-text\">\n {{ description()?.pageTwo }}\n </p>\n </div>\n }\n </section>\n <div class=\"bmb_notice-card-divider\">\n <bmb-divider [type]=\"'simple'\"></bmb-divider>\n </div>\n <section class=\"bmb_notice-card-footer\">\n <div class=\"bmb_notice-card-footer-left\">\n @if (description()!.pageTwo && activeIndex === 1) {\n <bmb-action-icon\n [icon]=\"'chevron_left'\"\n [iconSize]=\"28\"\n (buttonClick)=\"onDotPress(0)\"\n />\n }\n </div>\n\n <div class=\"bmb_notice-card-footer-center\">\n @if (\n (description()!.pageTwo && activeIndex === 1) || !description()!.pageTwo\n ) {\n @if (link()) {\n <a\n class=\"bmb_notice-card-footer-center-link\"\n [href]=\"link()\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n <button\n bmbButton\n [appearance]=\"'secondary-outlined'\"\n [size]=\"'large'\"\n (click)=\"handleClickBtn()\"\n >\n {{ buttonText() || ('notice_card.button_text' | translate) }}\n </button>\n </a>\n } @else {\n <button\n bmbButton\n [appearance]=\"'secondary-outlined'\"\n [size]=\"'large'\"\n (click)=\"handleClickBtn()\"\n >\n {{ buttonText() || ('notice_card.button_text' | translate) }}\n </button>\n }\n }\n\n @if (description()!.pageTwo && activeIndex === 0) {\n <bmb-dot-paginator\n [activeDotIndex]=\"activeIndex\"\n [totalDots]=\"2\"\n (onDotPress)=\"onDotPress($event)\"\n ></bmb-dot-paginator>\n }\n </div>\n\n <div class=\"bmb_notice-card-footer-right\">\n @if (description()!.pageTwo && activeIndex === 0) {\n <bmb-action-icon\n class=\"bmb_notice-card-footer-right\"\n [icon]=\"'chevron_right'\"\n [iconSize]=\"28\"\n (buttonClick)=\"onDotPress(1)\"\n />\n }\n </div>\n </section>\n</section>\n", styles: ["@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-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_notice-card{min-width:23.125rem;width:25rem;max-height:34.375rem;height:fit-content;background-color:var(--containers-main);border-radius:1rem 1rem 0 0}@media screen and (max-width: 520px){.bmb_notice-card{width:auto}}.bmb_notice-card-header{position:relative}.bmb_notice-card-header-figure{margin:0;line-height:0;grid-area:1/1/2/2;overflow:hidden;border-radius:1rem 1rem 0 0}.bmb_notice-card-header-image{height:13.75rem;width:100%;aspect-ratio:5/2.5;object-fit:cover}.bmb_notice-card-header-icon{position:absolute;top:.625rem;right:.625rem}.bmb_notice-card-content{height:12.5rem;padding:var(--bmb-padding-l) var(--bmb-padding-l) var(--bmb-padding-m) var(--bmb-padding-l);overflow:hidden}.bmb_notice-card-content-title{font-family:Poppins-Regular,sans-serif;font-size:1rem}.bmb_notice-card-content-description-one,.bmb_notice-card-content-description-two{overflow:hidden;margin-top:.625rem}.bmb_notice-card-content-description-text{font-family:Poppins-Regular,sans-serif;font-size:.875rem;line-height:1.6em}.bmb_notice-card-divider{padding:0 var(--bmb-padding-l)}.bmb_notice-card-footer{display:flex;align-items:center;width:100%;height:5rem;padding:var(--bmb-padding-s) var(--bmb-padding-l) var(--bmb-padding-m) var(--bmb-padding-l);overflow:hidden}.bmb_notice-card-footer-left{display:flex;align-items:center;width:10%}.bmb_notice-card-footer-center{display:flex;align-items:center;justify-content:center;width:80%}.bmb_notice-card-footer-center-link{width:100%}.bmb_notice-card-footer-right{display:flex;align-items:center;width:10%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: BmbActionIconComponent, selector: "bmb-action-icon", inputs: ["idElement", "icon", "alt", "iconSize", "isFill", "toggleIconActive", "isToggleActive", "isAccentColor", "dotNotification", "target", "link", "disabled"], outputs: ["isToggleActiveChange", "isAccentColorChange", "buttonPress", "buttonClick"] }, { kind: "component", type: BmbDividerComponent, selector: "bmb-divider", inputs: ["type"] }, { kind: "component", type: BmbDotPaginatorComponent, selector: "bmb-dot-paginator", inputs: ["activeDotIndex", "totalDots", "targets", "appearance"], outputs: ["activeDotIndexChange", "onDotPress"] }, { kind: "directive", type: BmbButtonDirective, selector: "[bmbButton]", inputs: ["icon", "iconSize", "position", "case", "appearance", "size", "isToggleActive", "enableButtonToggle", "isRounded", "isMobile", "iconAlt"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
33
|
+
}
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNoticeCardComponent, decorators: [{
|
|
35
|
+
type: Component,
|
|
36
|
+
args: [{ selector: 'bmb-notice-card', standalone: true, imports: [
|
|
37
|
+
CommonModule,
|
|
38
|
+
BmbActionIconComponent,
|
|
39
|
+
BmbDividerComponent,
|
|
40
|
+
BmbDotPaginatorComponent,
|
|
41
|
+
BmbButtonDirective,
|
|
42
|
+
TranslatePipe,
|
|
43
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<section class=\"bmb_notice-card\">\n <section class=\"bmb_notice-card-header\">\n <figure class=\"bmb_notice-card-header-figure\">\n <picture>\n <source media=\"(min-width: 1000px)\" [srcset]=\"src()\" />\n <img\n [loading]=\"'lazy'\"\n class=\"bmb_notice-card-header-image\"\n [srcset]=\"src()\"\n [alt]=\"title()\"\n [loading]=\"'lazy'\"\n />\n </picture>\n </figure>\n <bmb-action-icon\n class=\"bmb_notice-card-header-icon\"\n [ngStyle]=\"{\n color:\n closeBtnColor() == 'white'\n ? 'RGBA(var(--color-charade-50))'\n : 'RGBA(var(--color-charade-950))'\n }\"\n [icon]=\"'close'\"\n [iconSize]=\"28\"\n (buttonClick)=\"handleClose()\"\n />\n </section>\n <section class=\"bmb_notice-card-content\">\n <div class=\"bmb_notice-card-content-title\">\n <h3>{{ title() }}</h3>\n </div>\n @if (activeIndex == 0) {\n <div class=\"bmb_notice-card-content-description-one\">\n <p class=\"bmb_notice-card-content-description-text\">\n {{ description()?.pageOne }}\n </p>\n </div>\n }\n @if (description()!.pageTwo && activeIndex === 1) {\n <div class=\"bmb_notice-card-content-description-two\">\n <p class=\"bmb_notice-card-content-description-text\">\n {{ description()?.pageTwo }}\n </p>\n </div>\n }\n </section>\n <div class=\"bmb_notice-card-divider\">\n <bmb-divider [type]=\"'simple'\"></bmb-divider>\n </div>\n <section class=\"bmb_notice-card-footer\">\n <div class=\"bmb_notice-card-footer-left\">\n @if (description()!.pageTwo && activeIndex === 1) {\n <bmb-action-icon\n [icon]=\"'chevron_left'\"\n [iconSize]=\"28\"\n (buttonClick)=\"onDotPress(0)\"\n />\n }\n </div>\n\n <div class=\"bmb_notice-card-footer-center\">\n @if (\n (description()!.pageTwo && activeIndex === 1) || !description()!.pageTwo\n ) {\n @if (link()) {\n <a\n class=\"bmb_notice-card-footer-center-link\"\n [href]=\"link()\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n <button\n bmbButton\n [appearance]=\"'secondary-outlined'\"\n [size]=\"'large'\"\n (click)=\"handleClickBtn()\"\n >\n {{ buttonText() || ('notice_card.button_text' | translate) }}\n </button>\n </a>\n } @else {\n <button\n bmbButton\n [appearance]=\"'secondary-outlined'\"\n [size]=\"'large'\"\n (click)=\"handleClickBtn()\"\n >\n {{ buttonText() || ('notice_card.button_text' | translate) }}\n </button>\n }\n }\n\n @if (description()!.pageTwo && activeIndex === 0) {\n <bmb-dot-paginator\n [activeDotIndex]=\"activeIndex\"\n [totalDots]=\"2\"\n (onDotPress)=\"onDotPress($event)\"\n ></bmb-dot-paginator>\n }\n </div>\n\n <div class=\"bmb_notice-card-footer-right\">\n @if (description()!.pageTwo && activeIndex === 0) {\n <bmb-action-icon\n class=\"bmb_notice-card-footer-right\"\n [icon]=\"'chevron_right'\"\n [iconSize]=\"28\"\n (buttonClick)=\"onDotPress(1)\"\n />\n }\n </div>\n </section>\n</section>\n", styles: ["@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-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_notice-card{min-width:23.125rem;width:25rem;max-height:34.375rem;height:fit-content;background-color:var(--containers-main);border-radius:1rem 1rem 0 0}@media screen and (max-width: 520px){.bmb_notice-card{width:auto}}.bmb_notice-card-header{position:relative}.bmb_notice-card-header-figure{margin:0;line-height:0;grid-area:1/1/2/2;overflow:hidden;border-radius:1rem 1rem 0 0}.bmb_notice-card-header-image{height:13.75rem;width:100%;aspect-ratio:5/2.5;object-fit:cover}.bmb_notice-card-header-icon{position:absolute;top:.625rem;right:.625rem}.bmb_notice-card-content{height:12.5rem;padding:var(--bmb-padding-l) var(--bmb-padding-l) var(--bmb-padding-m) var(--bmb-padding-l);overflow:hidden}.bmb_notice-card-content-title{font-family:Poppins-Regular,sans-serif;font-size:1rem}.bmb_notice-card-content-description-one,.bmb_notice-card-content-description-two{overflow:hidden;margin-top:.625rem}.bmb_notice-card-content-description-text{font-family:Poppins-Regular,sans-serif;font-size:.875rem;line-height:1.6em}.bmb_notice-card-divider{padding:0 var(--bmb-padding-l)}.bmb_notice-card-footer{display:flex;align-items:center;width:100%;height:5rem;padding:var(--bmb-padding-s) var(--bmb-padding-l) var(--bmb-padding-m) var(--bmb-padding-l);overflow:hidden}.bmb_notice-card-footer-left{display:flex;align-items:center;width:10%}.bmb_notice-card-footer-center{display:flex;align-items:center;justify-content:center;width:80%}.bmb_notice-card-footer-center-link{width:100%}.bmb_notice-card-footer-right{display:flex;align-items:center;width:10%}\n"] }]
|
|
44
|
+
}] });
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLW5vdGljZS1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy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WFjdGlvbi1pY29uXG4gICAgICAgICAgW2ljb25dPVwiJ2NoZXZyb25fbGVmdCdcIlxuICAgICAgICAgIFtpY29uU2l6ZV09XCIyOFwiXG4gICAgICAgICAgKGJ1dHRvbkNsaWNrKT1cIm9uRG90UHJlc3MoMClcIlxuICAgICAgICAvPlxuICAgICAgfVxuICAgIDwvZGl2PlxuXG4gICAgPGRpdiBjbGFzcz1cImJtYl9ub3RpY2UtY2FyZC1mb290ZXItY2VudGVyXCI+XG4gICAgICBAaWYgKFxuICAgICAgICAoZGVzY3JpcHRpb24oKSEucGFnZVR3byAmJiBhY3RpdmVJbmRleCA9PT0gMSkgfHwgIWRlc2NyaXB0aW9uKCkhLnBhZ2VUd29cbiAgICAgICkge1xuICAgICAgICBAaWYgKGxpbmsoKSkge1xuICAgICAgICAgIDxhXG4gICAgICAgICAgICBjbGFzcz1cImJtYl9ub3RpY2UtY2FyZC1mb290ZXItY2VudGVyLWxpbmtcIlxuICAgICAgICAgICAgW2hyZWZdPVwibGluaygpXCJcbiAgICAgICAgICAgIHRhcmdldD1cIl9ibGFua1wiXG4gICAgICAgICAgICByZWw9XCJub29wZW5lciBub3JlZmVycmVyXCJcbiAgICAgICAgICA+XG4gICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgIGJtYkJ1dHRvblxuICAgICAgICAgICAgICBbYXBwZWFyYW5jZV09XCInc2Vjb25kYXJ5LW91dGxpbmVkJ1wiXG4gICAgICAgICAgICAgIFtzaXplXT1cIidsYXJnZSdcIlxuICAgICAgICAgICAgICAoY2xpY2spPVwiaGFuZGxlQ2xpY2tCdG4oKVwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIHt7IGJ1dHRvblRleHQoKSB8fCAoJ25vdGljZV9jYXJkLmJ1dHRvbl90ZXh0JyB8IHRyYW5zbGF0ZSkgfX1cbiAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgIDwvYT5cbiAgICAgICAgfSBAZWxzZSB7XG4gICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgYm1iQnV0dG9uXG4gICAgICAgICAgICBbYXBwZWFyYW5jZV09XCInc2Vjb25kYXJ5LW91dGxpbmVkJ1wiXG4gICAgICAgICAgICBbc2l6ZV09XCInbGFyZ2UnXCJcbiAgICAgICAgICAgIChjbGljayk9XCJoYW5kbGVDbGlja0J0bigpXCJcbiAgICAgICAgICA+XG4gICAgICAgICAgICB7eyBidXR0b25UZXh0KCkgfHwgKCdub3RpY2VfY2FyZC5idXR0b25fdGV4dCcgfCB0cmFuc2xhdGUpIH19XG4gICAgICAgICAgPC9idXR0b24+XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgQGlmIChkZXNjcmlwdGlvbigpIS5wYWdlVHdvICYmIGFjdGl2ZUluZGV4ID09PSAwKSB7XG4gICAgICAgIDxibWItZG90LXBhZ2luYXRvclxuICAgICAgICAgIFthY3RpdmVEb3RJbmRleF09XCJhY3RpdmVJbmRleFwiXG4gICAgICAgICAgW3RvdGFsRG90c109XCIyXCJcbiAgICAgICAgICAob25Eb3RQcmVzcyk9XCJvbkRvdFByZXNzKCRldmVudClcIlxuICAgICAgICA+PC9ibWItZG90LXBhZ2luYXRvcj5cbiAgICAgIH1cbiAgICA8L2Rpdj5cblxuICAgIDxkaXYgY2xhc3M9XCJibWJfbm90aWNlLWNhcmQtZm9vdGVyLXJpZ2h0XCI+XG4gICAgICBAaWYgKGRlc2NyaXB0aW9uKCkhLnBhZ2VUd28gJiYgYWN0aXZlSW5kZXggPT09IDApIHtcbiAgICAgICAgPGJtYi1hY3Rpb24taWNvblxuICAgICAgICAgIGNsYXNzPVwiYm1iX25vdGljZS1jYXJkLWZvb3Rlci1yaWdodFwiXG4gICAgICAgICAgW2ljb25dPVwiJ2NoZXZyb25fcmlnaHQnXCJcbiAgICAgICAgICBbaWNvblNpemVdPVwiMjhcIlxuICAgICAgICAgIChidXR0b25DbGljayk9XCJvbkRvdFByZXNzKDEpXCJcbiAgICAgICAgLz5cbiAgICAgIH1cbiAgICA8L2Rpdj5cbiAgPC9zZWN0aW9uPlxuPC9zZWN0aW9uPlxuIl19
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, input, output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { BmbAlertCenterDetailComponent } from '../../utils/bmb-alert-center-detail/bmb-alert-center-detail.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class BmbNotificationCardModalComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.visibleAlert = input(null);
|
|
8
|
+
this.alertEvent = output();
|
|
9
|
+
}
|
|
10
|
+
handleAlertEvent(alert) {
|
|
11
|
+
this.alertEvent.emit(alert);
|
|
12
|
+
}
|
|
13
|
+
getAlert() {
|
|
14
|
+
if (!this.visibleAlert()) {
|
|
15
|
+
throw new Error('No alert visible');
|
|
16
|
+
}
|
|
17
|
+
return this.visibleAlert();
|
|
18
|
+
}
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNotificationCardModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BmbNotificationCardModalComponent, isStandalone: true, selector: "bmb-notification-card-modal", inputs: { visibleAlert: { classPropertyName: "visibleAlert", publicName: "visibleAlert", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { alertEvent: "alertEvent" }, ngImport: i0, template: "@if (visibleAlert() !== null) {\n <bmb-alert-center-detail\n [alert]=\"getAlert()\"\n (alertEvent)=\"handleAlertEvent($event)\"\n />\n}\n", styles: [".bmb_alert-center-content-modal{display:flex;gap:var(--bmb-spacing-m);flex-flow:column}.bmb_alert-center-content-modal p{margin:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: BmbAlertCenterDetailComponent, selector: "bmb-alert-center-detail", inputs: ["alert"], outputs: ["alertEvent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNotificationCardModalComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'bmb-notification-card-modal', standalone: true, imports: [
|
|
25
|
+
CommonModule,
|
|
26
|
+
BmbAlertCenterDetailComponent,
|
|
27
|
+
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (visibleAlert() !== null) {\n <bmb-alert-center-detail\n [alert]=\"getAlert()\"\n (alertEvent)=\"handleAlertEvent($event)\"\n />\n}\n", styles: [".bmb_alert-center-content-modal{display:flex;gap:var(--bmb-spacing-m);flex-flow:column}.bmb_alert-center-content-modal p{margin:0}\n"] }]
|
|
28
|
+
}] });
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLW5vdGlmaWNhdGlvbi1jYXJkLW1vZGFsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItbm90aWZpY2F0aW9uLWNhcmQvYm1iLW5vdGlmaWNhdGlvbi1jYXJkLW1vZGFsL2JtYi1ub3RpZmljYXRpb24tY2FyZC1tb2RhbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kcy1uZy9zcmMvbGliL2NvbXBvbmVudHMvYm1iLW5vdGlmaWNhdGlvbi1jYXJkL2JtYi1ub3RpZmljYXRpb24tY2FyZC1tb2RhbC9ibWItbm90aWZpY2F0a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PSBpbnB1dDxJQm1iRGF0YUFsZXJ0c1BhcnNlZCB8IG51bGw+KG51bGwpO1xuXG4gIGFsZXJ0RXZlbnQgPSBvdXRwdXQ8SUJtYkRhdGFBbGVydHNQYXJzZWQgfCBJQm1iRGF0YUFsZXJ0PigpO1xuXG4gIGhhbmRsZUFsZXJ0RXZlbnQoYWxlcnQ6IElCbWJEYXRhQWxlcnRzUGFyc2VkIHwgSUJtYkRhdGFBbGVydCk6IHZvaWQge1xuICAgIHRoaXMuYWxlcnRFdmVudC5lbWl0KGFsZXJ0KTtcbiAgfVxuXG4gIGdldEFsZXJ0KCk6IElCbWJEYXRhQWxlcnRzUGFyc2VkIHtcbiAgICBpZiAoIXRoaXMudmlzaWJsZUFsZXJ0KCkpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcignTm8gYWxlcnQgdmlzaWJsZScpO1xuICAgIH1cbiAgICByZXR1cm4gdGhpcy52aXNpYmxlQWxlcnQoKSBhcyBJQm1iRGF0YUFsZXJ0c1BhcnNlZDtcbiAgfVxufVxuIiwiQGlmICh2aXNpYmxlQWxlcnQoKSAhPT0gbnVsbCkge1xuICA8Ym1iLWFsZXJ0LWNlbnRlci1kZXRhaWxcbiAgICBbYWxlcnRdPVwiZ2V0QWxlcnQoKVwiXG4gICAgKGFsZXJ0RXZlbnQpPVwiaGFuZGxlQWxlcnRFdmVudCgkZXZlbnQpXCJcbiAgLz5cbn1cbiJdfQ==
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, computed, input, model, output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { BmbHomeCardComponent } from '../bmb-home-card/bmb-home-card.component';
|
|
4
|
+
import { BmbTabsComponent } from '../bmb-tabs/bmb-tabs.component';
|
|
5
|
+
import { BmbAlertCenterAdsComponent } from '../bmb-alert-center/bmb-alert-center-ads/bmb-alert-center-ads.component';
|
|
6
|
+
import { BmbAlertCenterListComponent } from '../bmb-alert-center/bmb-alert-center-list/bmb-alert-center-list.component';
|
|
7
|
+
import { DateTime } from 'luxon';
|
|
8
|
+
import { BmbNotificationCardModalComponent } from './bmb-notification-card-modal/bmb-notification-card-modal.component';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "../../services/translations/translations.service";
|
|
11
|
+
import * as i2 from "../../services/projection/projection.service";
|
|
12
|
+
import * as i3 from "../../services/modal/native-modal.service";
|
|
13
|
+
import * as i4 from "@angular/common";
|
|
14
|
+
export class BmbNotificationCardComponent {
|
|
15
|
+
constructor(translationsService, projectionService, modalService) {
|
|
16
|
+
this.translationsService = translationsService;
|
|
17
|
+
this.projectionService = projectionService;
|
|
18
|
+
this.modalService = modalService;
|
|
19
|
+
this.data = input([]);
|
|
20
|
+
this.advertisements = input([]);
|
|
21
|
+
this.hideExpandBtn = input(false);
|
|
22
|
+
this.maxHeight = input('auto');
|
|
23
|
+
this.emptyStateData = input();
|
|
24
|
+
this.dateFormat = input('dd/MM/yyyy HH:mm');
|
|
25
|
+
this.alertEvent = output();
|
|
26
|
+
this.showAlertDetail = output();
|
|
27
|
+
this.onExpandClick = output();
|
|
28
|
+
this.expanded = false;
|
|
29
|
+
this.activeData = [];
|
|
30
|
+
this.activeTab = 1;
|
|
31
|
+
this.activeDot = 0;
|
|
32
|
+
this.parsedData = computed(() => {
|
|
33
|
+
return this.data().map((alert) => {
|
|
34
|
+
const date = this.dateFormat() === 'iso'
|
|
35
|
+
? DateTime.fromISO(alert.date)
|
|
36
|
+
: DateTime.fromFormat(alert.date, this.dateFormat());
|
|
37
|
+
return {
|
|
38
|
+
...alert,
|
|
39
|
+
pDate: date,
|
|
40
|
+
};
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
this.visibleAlert = null;
|
|
44
|
+
this.selectedTab = model(1);
|
|
45
|
+
this.badgeTabs = computed(() => {
|
|
46
|
+
return [
|
|
47
|
+
this.data().reduce((acc, alert) => {
|
|
48
|
+
if (!alert.isRead)
|
|
49
|
+
return acc + 1;
|
|
50
|
+
return acc;
|
|
51
|
+
}, 0),
|
|
52
|
+
this.advertisements().reduce((acc, advertisement) => {
|
|
53
|
+
if (!advertisement.isRead)
|
|
54
|
+
return acc + 1;
|
|
55
|
+
return acc;
|
|
56
|
+
}, 0),
|
|
57
|
+
];
|
|
58
|
+
});
|
|
59
|
+
this.tabsConfig = computed(() => [
|
|
60
|
+
{
|
|
61
|
+
title: this.translationsService.translate('notification_card.tabs.notifications'),
|
|
62
|
+
isMobile: true,
|
|
63
|
+
isDesktop: true,
|
|
64
|
+
id: 0,
|
|
65
|
+
isActive: true,
|
|
66
|
+
badge: this.badgeTabs()[0],
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
title: this.translationsService.translate('notification_card.tabs.advertisements'),
|
|
70
|
+
isMobile: true,
|
|
71
|
+
isDesktop: true,
|
|
72
|
+
id: 1,
|
|
73
|
+
},
|
|
74
|
+
]);
|
|
75
|
+
}
|
|
76
|
+
getEmptyStateData() {
|
|
77
|
+
if (Object.keys(this.emptyStateData() || {}).length) {
|
|
78
|
+
return this.emptyStateData();
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
primaryText: this.translationsService.translate('notification_card.empty_state.primary_text'),
|
|
82
|
+
showButton: false,
|
|
83
|
+
size: 'large',
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
handleAlertEvent(alert) {
|
|
87
|
+
this.alertEvent.emit(alert);
|
|
88
|
+
}
|
|
89
|
+
handleAlertSelected(alert) {
|
|
90
|
+
this.showAlertDetail.emit(alert);
|
|
91
|
+
this.projectionService.closeContent();
|
|
92
|
+
this.modalService.openModal({
|
|
93
|
+
title: alert.title,
|
|
94
|
+
content: BmbNotificationCardModalComponent,
|
|
95
|
+
size: 'small',
|
|
96
|
+
inputContext: {
|
|
97
|
+
visibleAlert: alert,
|
|
98
|
+
},
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNotificationCardComponent, deps: [{ token: i1.BmbTranslationsService }, { token: i2.BmbProjectionContentService }, { token: i3.BmbNativeModalService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
102
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BmbNotificationCardComponent, isStandalone: true, selector: "bmb-notification-card", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, advertisements: { classPropertyName: "advertisements", publicName: "advertisements", isSignal: true, isRequired: false, transformFunction: null }, hideExpandBtn: { classPropertyName: "hideExpandBtn", publicName: "hideExpandBtn", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, emptyStateData: { classPropertyName: "emptyStateData", publicName: "emptyStateData", isSignal: true, isRequired: false, transformFunction: null }, dateFormat: { classPropertyName: "dateFormat", publicName: "dateFormat", isSignal: true, isRequired: false, transformFunction: null }, selectedTab: { classPropertyName: "selectedTab", publicName: "selectedTab", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { alertEvent: "alertEvent", showAlertDetail: "showAlertDetail", onExpandClick: "onExpandClick", selectedTab: "selectedTabChange" }, ngImport: i0, template: "<section\n class=\"bmb_home-notification-card\"\n [ngStyle]=\"{ '--maxHeight': maxHeight() }\"\n>\n <bmb-home-card\n icon=\"notifications\"\n bgIconAppearance=\"red-primary\"\n title=\"Mis Notificaciones\"\n [isMobile]=\"false\"\n (onExpandClick)=\"onExpandClick.emit()\"\n >\n <div class=\"bmb_home-notification-card-content\">\n <bmb-tabs\n [tabs]=\"tabsConfig()\"\n [(selectedTabId)]=\"selectedTab\"\n ></bmb-tabs>\n @switch (selectedTab()) {\n @case (1) {\n <bmb-alert-center-list\n [alerts]=\"parsedData()\"\n [enableMultipleSelection]=\"false\"\n (alertSelected)=\"handleAlertSelected($event)\"\n />\n }\n @case (2) {\n <bmb-alert-center-ads\n [advertisements]=\"advertisements()\"\n (alertEvent)=\"handleAlertEvent($event)\"\n />\n }\n @default {\n <div>Invalid ID selected</div>\n }\n }\n </div>\n </bmb-home-card>\n</section>\n", styles: ["@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-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_home-notification-card{width:calc(100vw - 2rem);max-width:35rem;height:calc(100dvh - 3rem);max-height:46.875rem}.bmb_home-notification-card bmb-home-card{height:100%;display:block}.bmb_home-notification-card .bmb_home-card{height:100%;--maxHeight: 100%}.bmb_home-notification-card .bmb_home-card-wrapper{max-height:var(--maxHeight);overflow:hidden;display:flex;flex-flow:column;height:100%}.bmb_home-notification-card .bmb_home-card-wrapper .bmb_home-card-container,.bmb_home-notification-card .bmb_home-card-wrapper .bmb_home-card-container .bmb_home-notification-card-content{flex:1;overflow:auto;display:flex;flex-flow:column}.bmb_home-notification-card .bmb_home-card-wrapper .bmb_home-card-container .bmb_home-notification-card-content bmb-alert-center-list{flex:1;overflow:auto}.bmb_home-notification-card .bmb_home-card-wrapper .bmb_home-card-container .bmb_home-notification-card-content bmb-alert-center-ads{flex:1}.bmb_home-notification-card .bmb_home-card-wrapper .bmb_home-card-container .bmb_home-notification-card-content bmb-alert-center-ads .bmb_alert-center-ads{height:100%;overflow:auto}.bmb_home-notification-card .bmb_home-card .bmb_alert-center-content{flex-flow:column;gap:var(--bmb-spacing-m);padding:var(--bmb-spacing-m)}.bmb_home-notification-card .bmb_home-card .bmb_alert-center-content p{margin:0}.bmb_home-notification-card .bmb_home-card .bmb_alert-center-list{padding:var(--bmb-spacing-m)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: BmbTabsComponent, selector: "bmb-tabs", inputs: ["appearanceContrast", "format", "tabs", "selectedTabId"], outputs: ["selectedTabIdChange", "selected"] }, { kind: "component", type: BmbHomeCardComponent, selector: "bmb-home-card", inputs: ["title", "subtitle", "dataLocalNav", "leftIcon", "icon", "iconSize", "bgIconAppearance", "actionHeaders", "isMobile", "contentPadding", "showRightButton", "isExpanded", "useAutoExpand"], outputs: ["isExpandedChange", "onClose", "onBack", "onExpandClick"] }, { kind: "component", type: BmbAlertCenterAdsComponent, selector: "bmb-alert-center-ads", inputs: ["advertisements", "emptyStateData"], outputs: ["alertEvent"] }, { kind: "component", type: BmbAlertCenterListComponent, selector: "bmb-alert-center-list", inputs: ["alerts", "name", "enableMultipleSelection"], outputs: ["alertSelected", "selectedAlert"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
103
|
+
}
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNotificationCardComponent, decorators: [{
|
|
105
|
+
type: Component,
|
|
106
|
+
args: [{ selector: 'bmb-notification-card', standalone: true, imports: [
|
|
107
|
+
CommonModule,
|
|
108
|
+
BmbTabsComponent,
|
|
109
|
+
BmbHomeCardComponent,
|
|
110
|
+
BmbAlertCenterAdsComponent,
|
|
111
|
+
BmbAlertCenterListComponent,
|
|
112
|
+
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\n class=\"bmb_home-notification-card\"\n [ngStyle]=\"{ '--maxHeight': maxHeight() }\"\n>\n <bmb-home-card\n icon=\"notifications\"\n bgIconAppearance=\"red-primary\"\n title=\"Mis Notificaciones\"\n [isMobile]=\"false\"\n (onExpandClick)=\"onExpandClick.emit()\"\n >\n <div class=\"bmb_home-notification-card-content\">\n <bmb-tabs\n [tabs]=\"tabsConfig()\"\n [(selectedTabId)]=\"selectedTab\"\n ></bmb-tabs>\n @switch (selectedTab()) {\n @case (1) {\n <bmb-alert-center-list\n [alerts]=\"parsedData()\"\n [enableMultipleSelection]=\"false\"\n (alertSelected)=\"handleAlertSelected($event)\"\n />\n }\n @case (2) {\n <bmb-alert-center-ads\n [advertisements]=\"advertisements()\"\n (alertEvent)=\"handleAlertEvent($event)\"\n />\n }\n @default {\n <div>Invalid ID selected</div>\n }\n }\n </div>\n </bmb-home-card>\n</section>\n", styles: ["@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-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_home-notification-card{width:calc(100vw - 2rem);max-width:35rem;height:calc(100dvh - 3rem);max-height:46.875rem}.bmb_home-notification-card bmb-home-card{height:100%;display:block}.bmb_home-notification-card .bmb_home-card{height:100%;--maxHeight: 100%}.bmb_home-notification-card .bmb_home-card-wrapper{max-height:var(--maxHeight);overflow:hidden;display:flex;flex-flow:column;height:100%}.bmb_home-notification-card .bmb_home-card-wrapper .bmb_home-card-container,.bmb_home-notification-card .bmb_home-card-wrapper .bmb_home-card-container .bmb_home-notification-card-content{flex:1;overflow:auto;display:flex;flex-flow:column}.bmb_home-notification-card .bmb_home-card-wrapper .bmb_home-card-container .bmb_home-notification-card-content bmb-alert-center-list{flex:1;overflow:auto}.bmb_home-notification-card .bmb_home-card-wrapper .bmb_home-card-container .bmb_home-notification-card-content bmb-alert-center-ads{flex:1}.bmb_home-notification-card .bmb_home-card-wrapper .bmb_home-card-container .bmb_home-notification-card-content bmb-alert-center-ads .bmb_alert-center-ads{height:100%;overflow:auto}.bmb_home-notification-card .bmb_home-card .bmb_alert-center-content{flex-flow:column;gap:var(--bmb-spacing-m);padding:var(--bmb-spacing-m)}.bmb_home-notification-card .bmb_home-card .bmb_alert-center-content p{margin:0}.bmb_home-notification-card .bmb_home-card .bmb_alert-center-list{padding:var(--bmb-spacing-m)}\n"] }]
|
|
113
|
+
}], ctorParameters: () => [{ type: i1.BmbTranslationsService }, { type: i2.BmbProjectionContentService }, { type: i3.BmbNativeModalService }] });
|
|
114
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLW5vdGlmaWNhdGlvbi1jYXJkLmNvbXBvbmVudC5qcyIsInNv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gICAgLz5cbiAgICAgICAgfVxuICAgICAgICBAY2FzZSAoMikge1xuICAgICAgICAgIDxibWItYWxlcnQtY2VudGVyLWFkc1xuICAgICAgICAgICAgW2FkdmVydGlzZW1lbnRzXT1cImFkdmVydGlzZW1lbnRzKClcIlxuICAgICAgICAgICAgKGFsZXJ0RXZlbnQpPVwiaGFuZGxlQWxlcnRFdmVudCgkZXZlbnQpXCJcbiAgICAgICAgICAvPlxuICAgICAgICB9XG4gICAgICAgIEBkZWZhdWx0IHtcbiAgICAgICAgICA8ZGl2PkludmFsaWQgSUQgc2VsZWN0ZWQ8L2Rpdj5cbiAgICAgICAgfVxuICAgICAgfVxuICAgIDwvZGl2PlxuICA8L2JtYi1ob21lLWNhcmQ+XG48L3NlY3Rpb24+XG4iXX0=
|
package/esm2022/lib/components/bmb-notification-counter/bmb-notification-counter.component.mjs
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, input, ViewEncapsulation, } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class BmbNotificationCounterComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.counter = input();
|
|
8
|
+
this.appearance = input('notification');
|
|
9
|
+
}
|
|
10
|
+
getCounter() {
|
|
11
|
+
const _counter = this.counter() > 99 ? '99+' : this.counter()?.toString();
|
|
12
|
+
if (this.appearance() === 'plain')
|
|
13
|
+
return `(${_counter})`;
|
|
14
|
+
return `${_counter}`;
|
|
15
|
+
}
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNotificationCounterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BmbNotificationCounterComponent, isStandalone: true, selector: "bmb-notification-counter", inputs: { counter: { classPropertyName: "counter", publicName: "counter", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (!!counter()) {\n <section class=\"bmb_notification-counter\">\n <ng-content />\n <span\n class=\"bmb_notification-counter-number\"\n [ngClass]=\"{\n 'bmb_notification-counter-bullet bmb_notification-counter-position-bullet':\n appearance() === 'notification',\n 'bmb_notification-counter-plain': appearance() === 'plain'\n }\"\n >\n {{ getCounter() }}\n </span>\n </section>\n}\n", styles: ["@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-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_notification-counter{display:flex;position:relative;cursor:pointer;gap:.25rem;align-items:center}.bmb_notification-counter-number{max-height:.75rem;min-width:.75rem;padding:0 .125rem;width:fit-content;font-family:Poppins-Bold,sans-serif;font-size:.625rem;color:var(--general_contrasts-50);text-align:center;line-height:1.2}.bmb_notification-counter-bullet{display:inline-block;position:absolute;bottom:0;right:0;color:var(--white-primary);background-color:rgb(var(--color-red-light));border-radius:2.5rem}.bmb_notification-counter-plain{display:inline-flex;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
18
|
+
}
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNotificationCounterComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{ selector: 'bmb-notification-counter', standalone: true, imports: [CommonModule], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (!!counter()) {\n <section class=\"bmb_notification-counter\">\n <ng-content />\n <span\n class=\"bmb_notification-counter-number\"\n [ngClass]=\"{\n 'bmb_notification-counter-bullet bmb_notification-counter-position-bullet':\n appearance() === 'notification',\n 'bmb_notification-counter-plain': appearance() === 'plain'\n }\"\n >\n {{ getCounter() }}\n </span>\n </section>\n}\n", styles: ["@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-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_notification-counter{display:flex;position:relative;cursor:pointer;gap:.25rem;align-items:center}.bmb_notification-counter-number{max-height:.75rem;min-width:.75rem;padding:0 .125rem;width:fit-content;font-family:Poppins-Bold,sans-serif;font-size:.625rem;color:var(--general_contrasts-50);text-align:center;line-height:1.2}.bmb_notification-counter-bullet{display:inline-block;position:absolute;bottom:0;right:0;color:var(--white-primary);background-color:rgb(var(--color-red-light));border-radius:2.5rem}.bmb_notification-counter-plain{display:inline-flex;position:relative}\n"] }]
|
|
22
|
+
}] });
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLW5vdGlmaWNhdGlvbi1jb3VudGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItbm90aWZpY2F0aW9uLWNvdW50ZXIvYm1iLW5vdGlmaWNhdGlvbi1jb3VudGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItbm90aWZpY2F0aW9uLWNvdW50ZXIvYm1iLW5vdGlmaWNhdGlvbi1jb3VudGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxLQUFLLEVBQ0wsaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDOzs7Q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