@ti-tecnologico-de-monterrey-oficial/ds-ng 1.5.1017 → 1.5.1018-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/esm2022/lib/components/bmb-academic-progress/bmb-academic-progress.component.mjs +4 -4
- package/esm2022/lib/components/bmb-accordion/bmb-accordion.component.mjs +4 -4
- package/esm2022/lib/components/bmb-account-statement/bmb-account-statement.component.mjs +4 -4
- package/esm2022/lib/components/bmb-action-icon/bmb-action-icon.component.mjs +4 -4
- package/esm2022/lib/components/bmb-action-menu/bmb-action-menu.component.mjs +3 -3
- package/esm2022/lib/components/bmb-advertisement-card/bmb-advertisement-card.component.mjs +3 -3
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-ads/bmb-alert-center-ads.component.mjs +17 -5
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-empty/bmb-alert-center-empty.component.mjs +5 -5
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-form/bmb-alert-center-form.component.mjs +43 -7
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-list/bmb-alert-center-list.component.mjs +7 -5
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center.component.mjs +45 -20
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center.service.mjs +4 -4
- package/esm2022/lib/components/bmb-alert-center/types.mjs +1 -1
- package/esm2022/lib/components/bmb-badge/bmb-badge.component.mjs +3 -3
- package/esm2022/lib/components/bmb-balance-overview/bmb-balance-overview.component.mjs +3 -3
- package/esm2022/lib/components/bmb-bookmark/bmb-bookmark.component.mjs +3 -3
- package/esm2022/lib/components/bmb-bottom-navigation-bar/bmb-bottom-navigation-bar.component.mjs +4 -4
- package/esm2022/lib/components/bmb-breadcrumb/bmb-breadcrumb.component.mjs +4 -4
- package/esm2022/lib/components/bmb-button-icon/bmb-button-icon.component.mjs +3 -3
- package/esm2022/lib/components/bmb-calendar/bmb-calendar.component.mjs +4 -4
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-header/bmb-calendar-header.component.mjs +4 -4
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-hour-view/bmb-calendar-hour-view.component.mjs +4 -4
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-schedule-cards/bmb-calendar-schedule-cards.component.mjs +4 -4
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-day/bmb-calendar-template-day.component.mjs +3 -3
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-event-list/bmb-calendar-template-event-list.component.mjs +4 -4
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-mobile/bmb-calendar-template-mobile.component.mjs +4 -4
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-month/bmb-calendar-template-month.component.mjs +3 -3
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-week/bmb-calendar-template-week.component.mjs +3 -3
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-time-indicator/bmb-calendar-time-indicator.component.mjs +3 -3
- package/esm2022/lib/components/bmb-calendar/utils.mjs +1 -1
- package/esm2022/lib/components/bmb-card/bmb-card.component.mjs +13 -13
- package/esm2022/lib/components/bmb-card-button/bmb-card-button.component.mjs +4 -4
- package/esm2022/lib/components/bmb-carousel/bmb-carousel.component.mjs +4 -4
- package/esm2022/lib/components/bmb-chat-bar/bmb-chat-bar.component.mjs +5 -5
- package/esm2022/lib/components/bmb-chat-bubbles/bmb-chat-bubbles.component.mjs +3 -3
- package/esm2022/lib/components/bmb-check-external-link-button/bmb-check-external-link-button.component.mjs +3 -3
- package/esm2022/lib/components/bmb-checkbox/bmb-checkbox.component.mjs +5 -5
- package/esm2022/lib/components/bmb-chevron-title-selector/bmb-chevron-title-selector.component.mjs +5 -5
- package/esm2022/lib/components/bmb-container/bmb-container.component.mjs +4 -4
- package/esm2022/lib/components/bmb-container-button/bmb-container-button.component.mjs +4 -4
- package/esm2022/lib/components/bmb-date-range/bmb-date-range.component.mjs +5 -5
- package/esm2022/lib/components/bmb-datepicker/bmb-datepicker-modal/bmb-datepicker-modal.component.mjs +4 -4
- package/esm2022/lib/components/bmb-datepicker/bmb-datepicker.component.mjs +5 -5
- package/esm2022/lib/components/bmb-digital-id/bmb-digital-id.component.mjs +3 -3
- package/esm2022/lib/components/bmb-divider/bmb-divider.component.mjs +4 -4
- package/esm2022/lib/components/bmb-dot-paginator/bmb-dot-paginator.component.mjs +4 -4
- package/esm2022/lib/components/bmb-drawer-overlay/bmb-drawer-overlay.component.mjs +4 -4
- package/esm2022/lib/components/bmb-dropdown/bmb-dropdown.component.mjs +5 -5
- package/esm2022/lib/components/bmb-dropdown-menu/bmb-dropdown-menu.component.mjs +3 -3
- package/esm2022/lib/components/bmb-dropzone/bmb-dropzone.component.mjs +4 -4
- package/esm2022/lib/components/bmb-evaluation-rubric/bmb-evaluation-rubric.component.mjs +4 -4
- package/esm2022/lib/components/bmb-external-link/bmb-external-link.component.mjs +3 -3
- package/esm2022/lib/components/bmb-fab/bmb-fab.component.mjs +4 -4
- package/esm2022/lib/components/bmb-filter-card/bmb-filter-card.component.mjs +4 -4
- package/esm2022/lib/components/bmb-focus-element/bmb-focus-element.component.mjs +3 -3
- package/esm2022/lib/components/bmb-form-validation/bmb-form-validation.component.mjs +4 -4
- package/esm2022/lib/components/bmb-form-validator/bmb-form-validator.component.mjs +11 -11
- package/esm2022/lib/components/bmb-frequent-apps-selector/bmb-frequent-apps-selector.component.mjs +10 -6
- package/esm2022/lib/components/bmb-grade-value/bmb-grade-value.component.mjs +3 -3
- package/esm2022/lib/components/bmb-grades/bmb-grades.component.mjs +4 -4
- package/esm2022/lib/components/bmb-header-mitec/bmb-header-mitec.component.mjs +3 -3
- package/esm2022/lib/components/bmb-header-mobile/bmb-header-mobile.component.mjs +3 -3
- package/esm2022/lib/components/bmb-hito-card/bmb-hito-card.component.mjs +5 -5
- package/esm2022/lib/components/bmb-hito-list/bmb-hito-list.component.mjs +4 -4
- package/esm2022/lib/components/bmb-home-card/bmb-home-card-header/bmb-home-card-header.component.mjs +4 -4
- package/esm2022/lib/components/bmb-home-card/bmb-home-card.component.mjs +5 -5
- package/esm2022/lib/components/bmb-home-card-chat/bmb-home-card-chat.component.mjs +3 -3
- package/esm2022/lib/components/bmb-home-section/bmb-home-section.component.mjs +3 -3
- package/esm2022/lib/components/bmb-icon/bmb-icon.component.mjs +4 -4
- package/esm2022/lib/components/bmb-icon-item/bmb-icon-item.component.mjs +5 -5
- package/esm2022/lib/components/bmb-icon-status/bmb-icon-status.component.mjs +3 -3
- package/esm2022/lib/components/bmb-iframe/bmb-iframe.component.mjs +3 -3
- package/esm2022/lib/components/bmb-iframe/bmb-iframe.pipe.mjs +3 -3
- package/esm2022/lib/components/bmb-image/bmb-image.component.mjs +3 -3
- package/esm2022/lib/components/bmb-inner-header/bmb-inner-header.component.mjs +3 -3
- package/esm2022/lib/components/bmb-input/bmb-input-content/bmb-input-content.component.mjs +5 -5
- package/esm2022/lib/components/bmb-input/bmb-input-validation/bmb-input-validation.component.mjs +4 -4
- package/esm2022/lib/components/bmb-input/bmb-input-validation/bmb-input-validation.service.mjs +4 -4
- package/esm2022/lib/components/bmb-input/bmb-input-validator/bmb-input-validator.component.mjs +10 -10
- package/esm2022/lib/components/bmb-input/bmb-input.component.mjs +5 -5
- package/esm2022/lib/components/bmb-input-phone-number/bmb-input-phone-number.component.mjs +9 -9
- package/esm2022/lib/components/bmb-input-tags/bmb-input-tags.component.mjs +5 -5
- package/esm2022/lib/components/bmb-interactive-icon/bmb-interactive-icon.component.mjs +3 -3
- package/esm2022/lib/components/bmb-invoice/bmb-invoice.component.mjs +3 -3
- package/esm2022/lib/components/bmb-item/bmb-item.component.mjs +3 -3
- package/esm2022/lib/components/bmb-legend/bmb-legend.component.mjs +3 -3
- package/esm2022/lib/components/bmb-list-group/bmb-list-group-item/bmb-list-group-item.component.mjs +4 -4
- package/esm2022/lib/components/bmb-list-group/bmb-list-group.component.mjs +4 -4
- package/esm2022/lib/components/bmb-list-group/bmb-list-group.service.mjs +4 -4
- package/esm2022/lib/components/bmb-list-items/bmb-list-items.component.mjs +4 -4
- package/esm2022/lib/components/bmb-loader/bmb-loader.component.mjs +4 -4
- package/esm2022/lib/components/bmb-login/bmb-login-content/bmb-login-content.component.mjs +4 -4
- package/esm2022/lib/components/bmb-login/bmb-login.component.mjs +4 -4
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-logged/bmb-login-onboarding-logged.component.mjs +3 -3
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-login/bmb-login-onboarding-login.component.mjs +3 -3
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-logout/bmb-login-onboarding-logout.component.mjs +4 -4
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-four.component.mjs +4 -4
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-one.component.mjs +4 -4
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-three.component.mjs +4 -4
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-two.component.mjs +4 -4
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step.component.mjs +4 -4
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper.component.mjs +3 -3
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding.component.mjs +3 -3
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding.service.mjs +3 -3
- package/esm2022/lib/components/bmb-logo/bmb-logo.component.mjs +5 -5
- package/esm2022/lib/components/bmb-media-card/bmb-media-card.component.mjs +3 -3
- package/esm2022/lib/components/bmb-mitec-logo-animation/bmb-mitec-logo-animation.component.mjs +4 -4
- package/esm2022/lib/components/bmb-mobile-templates/bmb-mobile-templates.component.mjs +3 -3
- package/esm2022/lib/components/bmb-modal/bmb-modal.component.mjs +5 -5
- package/esm2022/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator-item/bmb-multi-dot-paginator-item.component.mjs +3 -3
- package/esm2022/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator.component.mjs +4 -4
- package/esm2022/lib/components/bmb-navigation-bar/bmb-navigation-bar.component.mjs +3 -3
- package/esm2022/lib/components/bmb-notice-card/bmb-notice-card.component.mjs +3 -3
- package/esm2022/lib/components/bmb-notification-card/bmb-notification-card.component.mjs +4 -4
- package/esm2022/lib/components/bmb-overlay/bmb-overlay.component.mjs +4 -4
- package/esm2022/lib/components/bmb-paginator/bmb-paginator.component.mjs +4 -4
- package/esm2022/lib/components/bmb-portal/bmb-portal.component.mjs +4 -4
- package/esm2022/lib/components/bmb-profile/bmb-profile.component.mjs +7 -7
- package/esm2022/lib/components/bmb-progress-bar/bmb-progress-bar.component.mjs +5 -5
- package/esm2022/lib/components/bmb-progress-cirlce/bmb-progress-circle.component.mjs +6 -6
- package/esm2022/lib/components/bmb-pull-wedge/bmb-pull-wedge.component.mjs +4 -4
- package/esm2022/lib/components/bmb-push-notification/bmb-push-notification-item/bmb-push-notification-item.component.mjs +4 -4
- package/esm2022/lib/components/bmb-push-notification/bmb-push-notification.component.mjs +4 -4
- package/esm2022/lib/components/bmb-radial/bmb-radial.component.mjs +5 -5
- package/esm2022/lib/components/bmb-search-input/bmb-search-input.component.mjs +5 -5
- package/esm2022/lib/components/bmb-select/bmb-select-item/bmb-select-item.component.mjs +3 -3
- package/esm2022/lib/components/bmb-select/bmb-select.component.mjs +4 -4
- package/esm2022/lib/components/bmb-server-table/bmb-server-table.component.mjs +4 -4
- package/esm2022/lib/components/bmb-sidebar/bmb-sidebar.component.mjs +4 -4
- package/esm2022/lib/components/bmb-simple-header/bmb-simple-header.component.mjs +3 -3
- package/esm2022/lib/components/bmb-skeleton/bmb-skeleton.component.mjs +3 -3
- package/esm2022/lib/components/bmb-sounds-card/bmb-sounds-card.component.mjs +4 -4
- package/esm2022/lib/components/bmb-stat-counter/bmb-stat-counter.component.mjs +3 -3
- package/esm2022/lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component.mjs +4 -4
- package/esm2022/lib/components/bmb-student-activity-card/bmb-student-activity-card.component.mjs +4 -4
- package/esm2022/lib/components/bmb-student-activity-selector/bmb-student-activity-tab/bmb-student-activity-tab.component.mjs +3 -3
- package/esm2022/lib/components/bmb-switch/bmb-switch.component.mjs +5 -5
- package/esm2022/lib/components/bmb-tables/bmb-tables.component.mjs +5 -5
- package/esm2022/lib/components/bmb-tabs/bmb-tabs.component.mjs +4 -4
- package/esm2022/lib/components/bmb-tags/bmb-tags.component.mjs +5 -5
- package/esm2022/lib/components/bmb-text-editor/bmb-text-editor.component.mjs +4 -4
- package/esm2022/lib/components/bmb-text-link/bmb-text-link.component.mjs +3 -3
- package/esm2022/lib/components/bmb-theme/bmb-theme.component.mjs +4 -4
- package/esm2022/lib/components/bmb-three-cols/bmb-three-cols.component.mjs +3 -3
- package/esm2022/lib/components/bmb-timestream/bmb-timestream-detail/bmb-timestream-detail.component.mjs +4 -4
- package/esm2022/lib/components/bmb-timestream/bmb-timestream-error/bmb-timestream-error.component.mjs +3 -3
- package/esm2022/lib/components/bmb-timestream/bmb-timestream.component.mjs +5 -5
- package/esm2022/lib/components/bmb-timestream/types.mjs +1 -1
- package/esm2022/lib/components/bmb-timestream-card/bmb-timestream-card.component.mjs +4 -4
- package/esm2022/lib/components/bmb-title-content/bmb-title-content.component.mjs +4 -4
- package/esm2022/lib/components/bmb-toast/bmb-toast.component.mjs +4 -4
- package/esm2022/lib/components/bmb-tooltip/bmb-tooltip.component.mjs +3 -3
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-item/bmb-top-bar-item.component.mjs +3 -3
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-user-section/bmb-top-bar-user-section.component.mjs +5 -5
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar.component.mjs +5 -5
- package/esm2022/lib/components/bmb-totp/bmb-totp.component.mjs +5 -5
- package/esm2022/lib/components/bmb-user-image/bmb-user-image.component.mjs +3 -3
- package/esm2022/lib/components/bmb-user-profile/bmb-user-profile-content/bmb-user-profile-content.component.mjs +3 -3
- package/esm2022/lib/components/bmb-user-profile/bmb-user-profile.component.mjs +3 -3
- package/esm2022/lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component.mjs +3 -3
- package/esm2022/lib/components/bmb-user-summary/bmb-user-summary.component.mjs +3 -3
- package/esm2022/lib/components/bmb-value-counter/bmb-value-counter.component.mjs +3 -3
- package/esm2022/lib/components/bmb-web-templates/bmb-web-templates.component.mjs +3 -3
- package/esm2022/lib/components/bmb-wheel-menu/bmb-wheel-menu.component.mjs +4 -4
- package/esm2022/lib/components/utils/bmb-dropdown-content/bmb-dropdown-content.component.mjs +4 -4
- package/esm2022/lib/directives/bmb-accordion/bmb-accordion-control.directive.mjs +4 -4
- package/esm2022/lib/directives/bmb-button/button.directive.mjs +4 -4
- package/esm2022/lib/directives/bmb-button-group/bmb-button-group.directive.mjs +3 -3
- package/esm2022/lib/directives/bmb-layout/bmb-layout-item.directive.mjs +4 -4
- package/esm2022/lib/directives/bmb-layout/bmb-layout.directive.mjs +3 -3
- package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout-item.directive.mjs +4 -4
- package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout.directive.mjs +4 -4
- package/esm2022/lib/directives/bmb-layout-grid/bmb-layout-grid.directive.mjs +7 -7
- package/esm2022/lib/directives/utils/clickoutside.directive.mjs +3 -3
- package/esm2022/lib/ds-ng.component.mjs +3 -3
- package/esm2022/lib/ds-ng.service.mjs +3 -3
- package/esm2022/lib/services/calendar.service.mjs +3 -3
- package/esm2022/lib/services/notification.service.mjs +3 -3
- package/esm2022/lib/services/tabs.service.mjs +3 -3
- package/esm2022/lib/services/theme.service.mjs +3 -3
- package/esm2022/lib/services/toast.service.mjs +3 -3
- package/esm2022/lib/services/user/profile.service.mjs +3 -3
- package/esm2022/lib/types/index.mjs +1 -1
- package/esm2022/lib/utils/dropdown.mjs +1 -1
- package/esm2022/lib/utils/formControl.mjs +1 -1
- package/esm2022/lib/utils/timestreamFilters.mjs +1 -1
- package/esm2022/lib/utils/utils.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs +691 -617
- package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs.map +1 -1
- package/lib/components/bmb-alert-center/bmb-alert-center-ads/bmb-alert-center-ads.component.d.ts +3 -2
- package/lib/components/bmb-alert-center/bmb-alert-center-form/bmb-alert-center-form.component.d.ts +6 -3
- package/lib/components/bmb-alert-center/bmb-alert-center.component.d.ts +5 -9
- package/lib/components/bmb-alert-center/types.d.ts +15 -2
- package/lib/components/bmb-frequent-apps-selector/bmb-frequent-apps-selector.component.d.ts +3 -1
- package/lib/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -45,10 +45,10 @@ export class BmbNotificationCardComponent {
|
|
|
45
45
|
handleAlertEvent(alert) {
|
|
46
46
|
this.alertEvent.emit(alert);
|
|
47
47
|
}
|
|
48
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
49
|
-
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 } }, outputs: { alertEvent: "alertEvent" }, ngImport: i0, template: "<section class=\"bmb_home-notification-card\">\n <bmb-home-card\n leftIcon=\"chevron_left\"\n icon=\"notifications\"\n bgIconAppearance=\"red-primary\"\n title=\"Mis Notificaciones\"\n [isMobile]=\"false\"\n >\n <bmb-tabs [tabs]=\"tabs\" (selected)=\"setActiveTab($event)\" />\n <div class=\"bmb_home-notification-card-content\">\n @switch (activeTab) {\n @case (1) {\n <bmb-alert-center [alerts]=\"data()\" [hideTabs]=\"true\" />\n }\n @case (2) {\n <bmb-carousel>\n @for (advertisement of advertisements(); track $index) {\n <div #carouselItem>\n <ng-container\n [ngTemplateOutlet]=\"detailContent\"\n [ngTemplateOutletContext]=\"{ advertisement: advertisement }\"\n />\n </div>\n }\n </bmb-carousel>\n }\n }\n </div>\n </bmb-home-card>\n</section>\n\n<ng-template #detailContent let-advertisement=\"advertisement\">\n <section class=\"bmb_alert-center-content\">\n <h1 class=\"font-bold-7\">{{ advertisement.title }}</h1>\n @for (item of advertisement.description; track $index) {\n @switch (item.type) {\n @case (\"paragraph\") {\n <p [ngClass]=\"'bmb_alert-center-content-' + (item.style ?? 'normal')\">\n {{ item.text }}\n </p>\n }\n @case (\"image\") {\n <bmb-image\n [src]=\"item.href || ''\"\n [alt]=\"item.text\"\n borderRadius=\"none\"\n />\n }\n @case (\"video\") {\n <video [src]=\"item.href\" controls></video>\n }\n @case (\"title\") {\n <h3\n [ngClass]=\"'bmb_alert-center-content-' + (item.style ?? 'normal')\"\n >\n {{ item.text }}\n </h3>\n }\n @case (\"button\") {\n <button\n bmbButton\n [appearance]=\"item.variant ?? 'primary'\"\n (click)=\"\n item.event\n ? item?.event(advertisement.id)\n : handleAlertEvent(advertisement)\n \"\n >\n {{ item.text }}\n </button>\n }\n @case (\"link\") {\n <a\n [ngClass]=\"'bmb_alert-center-content-' + (item.style ?? 'normal')\"\n [href]=\"item.href\"\n >{{ item.text }}</a\n >\n }\n }\n }\n </section>\n</ng-template>\n", styles: ["@font-face{font-family:Poppins-Thin;font-style:normal;font-weight:100;src:url(/assets/fonts/Poppins/Poppins-Thin.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Medium;font-style:normal;font-weight:500;src:url(/assets/fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Semibold;font-style:normal;font-weight:600;src:url(/assets/fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_home-notification-card{width:100%;max-width:35rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: BmbAlertCenterComponent, selector: "bmb-alert-center", inputs: ["dateFormat", "tabsName", "hideTabs", "enableMultipleSelection", "emptyStateData", "alerts", "advertisements"], outputs: ["onChangeAlertStatus", "alertEvent", "showAlertDetail", "closeAlertDetail"] }, { kind: "component", type: BmbTabsComponent, selector: "bmb-tabs", inputs: ["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: BmbCarouselComponent, selector: "bmb-carousel" }, { kind: "directive", type: BmbButtonDirective, selector: "[bmbButton]", inputs: ["icon", "iconSize", "position", "case", "appearance", "size", "isToggleActive", "enableButtonToggle", "isRounded", "isMobile", "iconAlt"] }, { kind: "component", type: BmbImageComponent, selector: "bmb-image", inputs: ["src", "mobileSrc", "alt", "width", "ratio", "borderRadius", "loading", "enableZoom", "isBlurredBackdrop"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbNotificationCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
49
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", 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 } }, outputs: { alertEvent: "alertEvent" }, ngImport: i0, template: "<section class=\"bmb_home-notification-card\">\n <bmb-home-card\n leftIcon=\"chevron_left\"\n icon=\"notifications\"\n bgIconAppearance=\"red-primary\"\n title=\"Mis Notificaciones\"\n [isMobile]=\"false\"\n >\n <bmb-tabs [tabs]=\"tabs\" (selected)=\"setActiveTab($event)\" />\n <div class=\"bmb_home-notification-card-content\">\n @switch (activeTab) {\n @case (1) {\n <bmb-alert-center [alerts]=\"data()\" [hideTabs]=\"true\" />\n }\n @case (2) {\n <bmb-carousel>\n @for (advertisement of advertisements(); track $index) {\n <div #carouselItem>\n <ng-container\n [ngTemplateOutlet]=\"detailContent\"\n [ngTemplateOutletContext]=\"{ advertisement: advertisement }\"\n />\n </div>\n }\n </bmb-carousel>\n }\n }\n </div>\n </bmb-home-card>\n</section>\n\n<ng-template #detailContent let-advertisement=\"advertisement\">\n <section class=\"bmb_alert-center-content\">\n <h1 class=\"font-bold-7\">{{ advertisement.title }}</h1>\n @for (item of advertisement.description; track $index) {\n @switch (item.type) {\n @case (\"paragraph\") {\n <p [ngClass]=\"'bmb_alert-center-content-' + (item.style ?? 'normal')\">\n {{ item.text }}\n </p>\n }\n @case (\"image\") {\n <bmb-image\n [src]=\"item.href || ''\"\n [alt]=\"item.text\"\n borderRadius=\"none\"\n />\n }\n @case (\"video\") {\n <video [src]=\"item.href\" controls></video>\n }\n @case (\"title\") {\n <h3\n [ngClass]=\"'bmb_alert-center-content-' + (item.style ?? 'normal')\"\n >\n {{ item.text }}\n </h3>\n }\n @case (\"button\") {\n <button\n bmbButton\n [appearance]=\"item.variant ?? 'primary'\"\n (click)=\"\n item.event\n ? item?.event(advertisement.id)\n : handleAlertEvent(advertisement)\n \"\n >\n {{ item.text }}\n </button>\n }\n @case (\"link\") {\n <a\n [ngClass]=\"'bmb_alert-center-content-' + (item.style ?? 'normal')\"\n [href]=\"item.href\"\n >{{ item.text }}</a\n >\n }\n }\n }\n </section>\n</ng-template>\n", styles: ["@font-face{font-family:Poppins-Thin;font-style:normal;font-weight:100;src:url(/assets/fonts/Poppins/Poppins-Thin.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Medium;font-style:normal;font-weight:500;src:url(/assets/fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Semibold;font-style:normal;font-weight:600;src:url(/assets/fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_home-notification-card{width:100%;max-width:35rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: BmbAlertCenterComponent, selector: "bmb-alert-center", inputs: ["dateFormat", "tabsName", "hideTabs", "enableMultipleSelection", "emptyStateData", "alerts", "advertisements"], outputs: ["onChangeAlertStatus", "alertEvent", "showAlertDetail", "closeAlertDetail", "navigationBarEvents"] }, { kind: "component", type: BmbTabsComponent, selector: "bmb-tabs", inputs: ["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: BmbCarouselComponent, selector: "bmb-carousel" }, { kind: "directive", type: BmbButtonDirective, selector: "[bmbButton]", inputs: ["icon", "iconSize", "position", "case", "appearance", "size", "isToggleActive", "enableButtonToggle", "isRounded", "isMobile", "iconAlt"] }, { kind: "component", type: BmbImageComponent, selector: "bmb-image", inputs: ["src", "mobileSrc", "alt", "width", "ratio", "borderRadius", "loading", "enableZoom", "isBlurredBackdrop"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
50
50
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbNotificationCardComponent, decorators: [{
|
|
52
52
|
type: Component,
|
|
53
53
|
args: [{ selector: 'bmb-notification-card', standalone: true, imports: [
|
|
54
54
|
CommonModule,
|
|
@@ -60,4 +60,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
60
60
|
BmbImageComponent,
|
|
61
61
|
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"bmb_home-notification-card\">\n <bmb-home-card\n leftIcon=\"chevron_left\"\n icon=\"notifications\"\n bgIconAppearance=\"red-primary\"\n title=\"Mis Notificaciones\"\n [isMobile]=\"false\"\n >\n <bmb-tabs [tabs]=\"tabs\" (selected)=\"setActiveTab($event)\" />\n <div class=\"bmb_home-notification-card-content\">\n @switch (activeTab) {\n @case (1) {\n <bmb-alert-center [alerts]=\"data()\" [hideTabs]=\"true\" />\n }\n @case (2) {\n <bmb-carousel>\n @for (advertisement of advertisements(); track $index) {\n <div #carouselItem>\n <ng-container\n [ngTemplateOutlet]=\"detailContent\"\n [ngTemplateOutletContext]=\"{ advertisement: advertisement }\"\n />\n </div>\n }\n </bmb-carousel>\n }\n }\n </div>\n </bmb-home-card>\n</section>\n\n<ng-template #detailContent let-advertisement=\"advertisement\">\n <section class=\"bmb_alert-center-content\">\n <h1 class=\"font-bold-7\">{{ advertisement.title }}</h1>\n @for (item of advertisement.description; track $index) {\n @switch (item.type) {\n @case (\"paragraph\") {\n <p [ngClass]=\"'bmb_alert-center-content-' + (item.style ?? 'normal')\">\n {{ item.text }}\n </p>\n }\n @case (\"image\") {\n <bmb-image\n [src]=\"item.href || ''\"\n [alt]=\"item.text\"\n borderRadius=\"none\"\n />\n }\n @case (\"video\") {\n <video [src]=\"item.href\" controls></video>\n }\n @case (\"title\") {\n <h3\n [ngClass]=\"'bmb_alert-center-content-' + (item.style ?? 'normal')\"\n >\n {{ item.text }}\n </h3>\n }\n @case (\"button\") {\n <button\n bmbButton\n [appearance]=\"item.variant ?? 'primary'\"\n (click)=\"\n item.event\n ? item?.event(advertisement.id)\n : handleAlertEvent(advertisement)\n \"\n >\n {{ item.text }}\n </button>\n }\n @case (\"link\") {\n <a\n [ngClass]=\"'bmb_alert-center-content-' + (item.style ?? 'normal')\"\n [href]=\"item.href\"\n >{{ item.text }}</a\n >\n }\n }\n }\n </section>\n</ng-template>\n", styles: ["@font-face{font-family:Poppins-Thin;font-style:normal;font-weight:100;src:url(/assets/fonts/Poppins/Poppins-Thin.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Medium;font-style:normal;font-weight:500;src:url(/assets/fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Semibold;font-style:normal;font-weight:600;src:url(/assets/fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_home-notification-card{width:100%;max-width:35rem}\n"] }]
|
|
62
62
|
}] });
|
|
63
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
63
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLW5vdGlmaWNhdGlvbi1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItbm90aWZpY2F0aW9uLWNhcmQvYm1iLW5vdGlmaWNhdGlvbi1jYXJkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItbm90aWZpY2F0aW9uLWNhcmQvYm1iLW5vdGlmaWNhdGlvbi1jYXJkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULEtBQUssRUFFTCxNQUFNLEVBQ04saUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxnREFBZ0QsQ0FBQztBQUV6RixPQUFPLEVBQUUsZ0JBQWdCLEVBQVcsTUFBTSxnQ0FBZ0MsQ0FBQztBQUMzRSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUNoRixPQUFPLEVB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tLnRleHQgfX1cbiAgICAgICAgICA8L2gzPlxuICAgICAgICB9XG4gICAgICAgIEBjYXNlIChcImJ1dHRvblwiKSB7XG4gICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgYm1iQnV0dG9uXG4gICAgICAgICAgICBbYXBwZWFyYW5jZV09XCJpdGVtLnZhcmlhbnQgPz8gJ3ByaW1hcnknXCJcbiAgICAgICAgICAgIChjbGljayk9XCJcbiAgICAgICAgICAgICAgaXRlbS5ldmVudFxuICAgICAgICAgICAgICAgID8gaXRlbT8uZXZlbnQoYWR2ZXJ0aXNlbWVudC5pZClcbiAgICAgICAgICAgICAgICA6IGhhbmRsZUFsZXJ0RXZlbnQoYWR2ZXJ0aXNlbWVudClcbiAgICAgICAgICAgIFwiXG4gICAgICAgICAgPlxuICAgICAgICAgICAge3sgaXRlbS50ZXh0IH19XG4gICAgICAgICAgPC9idXR0b24+XG4gICAgICAgIH1cbiAgICAgICAgQGNhc2UgKFwibGlua1wiKSB7XG4gICAgICAgICAgPGFcbiAgICAgICAgICAgIFtuZ0NsYXNzXT1cIidibWJfYWxlcnQtY2VudGVyLWNvbnRlbnQtJyArIChpdGVtLnN0eWxlID8/ICdub3JtYWwnKVwiXG4gICAgICAgICAgICBbaHJlZl09XCJpdGVtLmhyZWZcIlxuICAgICAgICAgICAgPnt7IGl0ZW0udGV4dCB9fTwvYVxuICAgICAgICAgID5cbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgPC9zZWN0aW9uPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -22,13 +22,13 @@ export class BmbOverlayComponent {
|
|
|
22
22
|
this.displayStyle = 'none';
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
26
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
26
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: BmbOverlayComponent, isStandalone: true, selector: "bmb-overlay", inputs: { active: "active" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"bmb_overlay\" [style.display]=\"this.displayStyle\"></div>\n", styles: [".bmb_overlay{position:fixed;width:100%;height:100%;inset:0;z-index:2;border-style:none;box-shadow:none;background-color:var(--color-black-min)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: OverlayModule }] }); }
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbOverlayComponent, decorators: [{
|
|
29
29
|
type: Component,
|
|
30
30
|
args: [{ selector: 'bmb-overlay', standalone: true, imports: [CommonModule, OverlayModule], template: "<div class=\"bmb_overlay\" [style.display]=\"this.displayStyle\"></div>\n", styles: [".bmb_overlay{position:fixed;width:100%;height:100%;inset:0;z-index:2;border-style:none;box-shadow:none;background-color:var(--color-black-min)}\n"] }]
|
|
31
31
|
}], propDecorators: { active: [{
|
|
32
32
|
type: Input
|
|
33
33
|
}] } });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLW92ZXJsYXkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZHMtbmcvc3JjL2xpYi9jb21wb25lbnRzL2JtYi1vdmVybGF5L2JtYi1vdmVybGF5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4u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pcy5kaXNwbGF5U3R5bGUgPSAnbm9uZSc7XG4gICAgfVxuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwiYm1iX292ZXJsYXlcIiBbc3R5bGUuZGlzcGxheV09XCJ0aGlzLmRpc3BsYXlTdHlsZVwiPjwvZGl2PlxuIl19
|
|
@@ -34,10 +34,10 @@ export class BmbPaginatorComponent {
|
|
|
34
34
|
const endIndex = Math.min(this.currentPage * this.itemsPerPage, this.totalItems);
|
|
35
35
|
return `${startIndex} - ${endIndex} de ${this.totalItems}`;
|
|
36
36
|
}
|
|
37
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
38
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbPaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
38
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: BmbPaginatorComponent, isStandalone: true, selector: "bmb-paginator", inputs: { totalItems: "totalItems", itemsPerPage: "itemsPerPage", currentPage: "currentPage" }, outputs: { pageChange: "pageChange" }, ngImport: i0, template: "<section class=\"bmb_paginator\">\n <span class=\"bmb_paginator-text\">{{ getPaginationText() }}</span>\n <button\n [disabled]=\"currentPage === 1\"\n [ngClass]=\"{\n 'bmb_paginator-btn-disabled': currentPage == 1,\n }\"\n (click)=\"onPageChange(1)\"\n class=\"bmb_paginator-btn\"\n >\n <bmb-icon icon=\"keyboard_double_arrow_left\" class=\"bmb_paginator-icon\" />\n </button>\n <button\n [disabled]=\"currentPage === 1\"\n [ngClass]=\"{\n 'bmb_paginator-btn-disabled': currentPage == 1,\n }\"\n (click)=\"onPageChange(currentPage - 1)\"\n class=\"bmb_paginator-btn\"\n >\n <bmb-icon icon=\"keyboard_arrow_left\" class=\"bmb_paginator-icon\" />\n </button>\n <button\n [disabled]=\"currentPage === totalPages\"\n [ngClass]=\"{\n 'bmb_paginator-btn-disabled': currentPage === totalPages,\n }\"\n (click)=\"onPageChange(currentPage + 1)\"\n class=\"bmb_paginator-btn\"\n >\n <bmb-icon icon=\"keyboard_arrow_right\" class=\"bmb_paginator-icon\" />\n </button>\n <button\n [disabled]=\"currentPage === totalPages\"\n [ngClass]=\"{\n 'bmb_paginator-btn-disabled': currentPage === totalPages,\n }\"\n (click)=\"onPageChange(totalPages)\"\n class=\"bmb_paginator-btn\"\n >\n <bmb-icon icon=\"keyboard_double_arrow_right\" class=\"bmb_paginator-icon\" />\n </button>\n</section>\n", styles: ["@font-face{font-family:Poppins-Thin;font-style:normal;font-weight:100;src:url(/assets/fonts/Poppins/Poppins-Thin.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Medium;font-style:normal;font-weight:500;src:url(/assets/fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Semibold;font-style:normal;font-weight:600;src:url(/assets/fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_paginator{align-items:center;bottom:0;display:flex;height:3rem;justify-content:flex-end;margin:.5rem 0;position:sticky;right:0}.bmb_paginator-text{color:RGBA(var(--color-charade-700));margin-right:2rem;font-family:Poppins-Regular,sans-serif;font-size:.75rem}.bmb_paginator-btn{color:RGBA(var(--color-charade-900));height:3rem;padding:0;width:3rem}.bmb_paginator-btn-disabled{color:RGBA(var(--color-charade-300));cursor:not-allowed}.bmb_paginator-icon{font-size:1.5rem}[data-theme=dark] .bmb_paginator-text,.storybook-dark-theme .bmb_paginator-text{color:RGBA(var(--color-charade-200))}[data-theme=dark] .bmb_paginator-btn,.storybook-dark-theme .bmb_paginator-btn{color:RGBA(var(--color-charade-50))}[data-theme=dark] .bmb_paginator-btn-disabled,.storybook-dark-theme .bmb_paginator-btn-disabled{color:RGBA(var(--color-charade-700))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BmbIconComponent, selector: "bmb-icon", inputs: ["icon", "materialIcon", "styleIcon", "isFill", "fontWeight", "size", "alt", "dotNotification"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbPaginatorComponent, decorators: [{
|
|
41
41
|
type: Component,
|
|
42
42
|
args: [{ selector: 'bmb-paginator', standalone: true, imports: [CommonModule, BmbIconComponent], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<section class=\"bmb_paginator\">\n <span class=\"bmb_paginator-text\">{{ getPaginationText() }}</span>\n <button\n [disabled]=\"currentPage === 1\"\n [ngClass]=\"{\n 'bmb_paginator-btn-disabled': currentPage == 1,\n }\"\n (click)=\"onPageChange(1)\"\n class=\"bmb_paginator-btn\"\n >\n <bmb-icon icon=\"keyboard_double_arrow_left\" class=\"bmb_paginator-icon\" />\n </button>\n <button\n [disabled]=\"currentPage === 1\"\n [ngClass]=\"{\n 'bmb_paginator-btn-disabled': currentPage == 1,\n }\"\n (click)=\"onPageChange(currentPage - 1)\"\n class=\"bmb_paginator-btn\"\n >\n <bmb-icon icon=\"keyboard_arrow_left\" class=\"bmb_paginator-icon\" />\n </button>\n <button\n [disabled]=\"currentPage === totalPages\"\n [ngClass]=\"{\n 'bmb_paginator-btn-disabled': currentPage === totalPages,\n }\"\n (click)=\"onPageChange(currentPage + 1)\"\n class=\"bmb_paginator-btn\"\n >\n <bmb-icon icon=\"keyboard_arrow_right\" class=\"bmb_paginator-icon\" />\n </button>\n <button\n [disabled]=\"currentPage === totalPages\"\n [ngClass]=\"{\n 'bmb_paginator-btn-disabled': currentPage === totalPages,\n }\"\n (click)=\"onPageChange(totalPages)\"\n class=\"bmb_paginator-btn\"\n >\n <bmb-icon icon=\"keyboard_double_arrow_right\" class=\"bmb_paginator-icon\" />\n </button>\n</section>\n", styles: ["@font-face{font-family:Poppins-Thin;font-style:normal;font-weight:100;src:url(/assets/fonts/Poppins/Poppins-Thin.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Medium;font-style:normal;font-weight:500;src:url(/assets/fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Semibold;font-style:normal;font-weight:600;src:url(/assets/fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_paginator{align-items:center;bottom:0;display:flex;height:3rem;justify-content:flex-end;margin:.5rem 0;position:sticky;right:0}.bmb_paginator-text{color:RGBA(var(--color-charade-700));margin-right:2rem;font-family:Poppins-Regular,sans-serif;font-size:.75rem}.bmb_paginator-btn{color:RGBA(var(--color-charade-900));height:3rem;padding:0;width:3rem}.bmb_paginator-btn-disabled{color:RGBA(var(--color-charade-300));cursor:not-allowed}.bmb_paginator-icon{font-size:1.5rem}[data-theme=dark] .bmb_paginator-text,.storybook-dark-theme .bmb_paginator-text{color:RGBA(var(--color-charade-200))}[data-theme=dark] .bmb_paginator-btn,.storybook-dark-theme .bmb_paginator-btn{color:RGBA(var(--color-charade-50))}[data-theme=dark] .bmb_paginator-btn-disabled,.storybook-dark-theme .bmb_paginator-btn-disabled{color:RGBA(var(--color-charade-700))}\n"] }]
|
|
43
43
|
}], propDecorators: { totalItems: [{
|
|
@@ -49,4 +49,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
49
49
|
}], pageChange: [{
|
|
50
50
|
type: Output
|
|
51
51
|
}] } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
52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
|
@@ -21,10 +21,10 @@ export class BmbPortalComponent {
|
|
|
21
21
|
getNotificationPosition() {
|
|
22
22
|
return this.notificationSignal.positionX;
|
|
23
23
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbPortalComponent, deps: [{ token: i1.BmbNotificationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: BmbPortalComponent, isStandalone: true, selector: "bmb-portal", ngImport: i0, template: "<section class=\"bmb_portal\">\n <div class=\"bmb_portal-top-left\">\n <ng-container\n [ngTemplateOutlet]=\"commonTemplate\"\n [ngTemplateOutletContext]=\"{\n notifications: getNotifications(),\n position: 'top-left',\n }\"\n />\n </div>\n <div class=\"bmb_portal-top-center\">\n <ng-container\n [ngTemplateOutlet]=\"commonTemplate\"\n [ngTemplateOutletContext]=\"{\n notifications: getNotifications(),\n position: 'top-center',\n }\"\n />\n </div>\n <div class=\"bmb_portal-top-right\">\n <ng-container\n [ngTemplateOutlet]=\"commonTemplate\"\n [ngTemplateOutletContext]=\"{\n notifications: getNotifications(),\n position: 'top-right',\n }\"\n />\n </div>\n <div class=\"bmb_portal-bottom-left\">\n <ng-container\n [ngTemplateOutlet]=\"commonTemplate\"\n [ngTemplateOutletContext]=\"{\n notifications: getNotifications(),\n position: 'bottom-left',\n }\"\n />\n </div>\n <div class=\"bmb_portal-bottom-center\">\n <ng-container\n [ngTemplateOutlet]=\"commonTemplate\"\n [ngTemplateOutletContext]=\"{\n notifications: getNotifications(),\n position: 'bottom-center',\n }\"\n />\n </div>\n <div class=\"bmb_portal-bottom-right\">\n <ng-container\n [ngTemplateOutlet]=\"commonTemplate\"\n [ngTemplateOutletContext]=\"{\n notifications: getNotifications(),\n position: 'bottom-right',\n }\"\n />\n </div>\n</section>\n\n<ng-template\n #commonTemplate\n let-notifications=\"notifications\"\n let-position=\"position\"\n>\n @for (notification of notifications; track $index) {\n @if (notification.position === position) {\n @if (notification.component === \"toast\") {\n <bmb-toast\n [title]=\"notification.title\"\n [description]=\"notification.content\"\n [appearance]=\"notification.appearance || 'neutral'\"\n [isClosable]=\"true\"\n [id]=\"notification.id || $index\"\n (onClose)=\"closeNotification(notification)\"\n />\n } @else if (notification.component === \"notice-card\") {\n <bmb-notice-card\n [src]=\"notification.media\"\n [title]=\"notification.title\"\n [description]=\"notification.content\"\n [buttonText]=\"notification.buttonText\"\n [link]=\"notification.link\"\n (onClose)=\"closeNotification(notification)\"\n />\n } @else {\n <bmb-push-notification-item\n [notification]=\"notification\"\n (onClose)=\"closeNotification(notification)\"\n />\n }\n }\n }\n</ng-template>\n", styles: [".bmb_portal-top-right{right:1rem;position:absolute;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999;display:flex;gap:1rem;flex-flow:column;top:1rem}.bmb_portal-top-left{left:1rem;position:absolute;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999;display:flex;gap:1rem;flex-flow:column;top:1rem}.bmb_portal-top-center{left:50%;position:absolute;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999;display:flex;gap:1rem;flex-flow:column;top:1rem}.bmb_portal-top-center>*{transform:translate(-50%)}.bmb_portal-bottom-right{right:1rem;position:absolute;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999;display:flex;gap:1rem;flex-flow:column;bottom:1rem}.bmb_portal-bottom-left{left:1rem;position:absolute;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999;display:flex;gap:1rem;flex-flow:column;bottom:1rem}.bmb_portal-bottom-center{left:50%;position:absolute;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999;display:flex;gap:1rem;flex-flow:column;bottom:1rem}.bmb_portal-bottom-center>*{transform:translate(-50%)}\n"], dependencies: [{ kind: "component", type: BmbPushNotificationItemComponent, selector: "bmb-push-notification-item", inputs: ["notification"], outputs: ["onClose"] }, { kind: "component", type: BmbToastComponent, selector: "bmb-toast", inputs: ["appearance", "isClosable", "title", "description", "position", "id"], outputs: ["onClose"] }, { kind: "component", type: BmbNoticeCardComponent, selector: "bmb-notice-card", inputs: ["src", "title", "description", "buttonText", "link", "closeBtnColor"], outputs: ["onClose", "onClickBtn"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbPortalComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{ selector: 'bmb-portal', standalone: true, imports: [
|
|
30
30
|
BmbPushNotificationItemComponent,
|
|
@@ -33,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
33
33
|
CommonModule,
|
|
34
34
|
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"bmb_portal\">\n <div class=\"bmb_portal-top-left\">\n <ng-container\n [ngTemplateOutlet]=\"commonTemplate\"\n [ngTemplateOutletContext]=\"{\n notifications: getNotifications(),\n position: 'top-left',\n }\"\n />\n </div>\n <div class=\"bmb_portal-top-center\">\n <ng-container\n [ngTemplateOutlet]=\"commonTemplate\"\n [ngTemplateOutletContext]=\"{\n notifications: getNotifications(),\n position: 'top-center',\n }\"\n />\n </div>\n <div class=\"bmb_portal-top-right\">\n <ng-container\n [ngTemplateOutlet]=\"commonTemplate\"\n [ngTemplateOutletContext]=\"{\n notifications: getNotifications(),\n position: 'top-right',\n }\"\n />\n </div>\n <div class=\"bmb_portal-bottom-left\">\n <ng-container\n [ngTemplateOutlet]=\"commonTemplate\"\n [ngTemplateOutletContext]=\"{\n notifications: getNotifications(),\n position: 'bottom-left',\n }\"\n />\n </div>\n <div class=\"bmb_portal-bottom-center\">\n <ng-container\n [ngTemplateOutlet]=\"commonTemplate\"\n [ngTemplateOutletContext]=\"{\n notifications: getNotifications(),\n position: 'bottom-center',\n }\"\n />\n </div>\n <div class=\"bmb_portal-bottom-right\">\n <ng-container\n [ngTemplateOutlet]=\"commonTemplate\"\n [ngTemplateOutletContext]=\"{\n notifications: getNotifications(),\n position: 'bottom-right',\n }\"\n />\n </div>\n</section>\n\n<ng-template\n #commonTemplate\n let-notifications=\"notifications\"\n let-position=\"position\"\n>\n @for (notification of notifications; track $index) {\n @if (notification.position === position) {\n @if (notification.component === \"toast\") {\n <bmb-toast\n [title]=\"notification.title\"\n [description]=\"notification.content\"\n [appearance]=\"notification.appearance || 'neutral'\"\n [isClosable]=\"true\"\n [id]=\"notification.id || $index\"\n (onClose)=\"closeNotification(notification)\"\n />\n } @else if (notification.component === \"notice-card\") {\n <bmb-notice-card\n [src]=\"notification.media\"\n [title]=\"notification.title\"\n [description]=\"notification.content\"\n [buttonText]=\"notification.buttonText\"\n [link]=\"notification.link\"\n (onClose)=\"closeNotification(notification)\"\n />\n } @else {\n <bmb-push-notification-item\n [notification]=\"notification\"\n (onClose)=\"closeNotification(notification)\"\n />\n }\n }\n }\n</ng-template>\n", styles: [".bmb_portal-top-right{right:1rem;position:absolute;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999;display:flex;gap:1rem;flex-flow:column;top:1rem}.bmb_portal-top-left{left:1rem;position:absolute;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999;display:flex;gap:1rem;flex-flow:column;top:1rem}.bmb_portal-top-center{left:50%;position:absolute;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999;display:flex;gap:1rem;flex-flow:column;top:1rem}.bmb_portal-top-center>*{transform:translate(-50%)}.bmb_portal-bottom-right{right:1rem;position:absolute;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999;display:flex;gap:1rem;flex-flow:column;bottom:1rem}.bmb_portal-bottom-left{left:1rem;position:absolute;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999;display:flex;gap:1rem;flex-flow:column;bottom:1rem}.bmb_portal-bottom-center{left:50%;position:absolute;width:clamp(6.25rem,100% - 2rem,31.25rem);z-index:9999;display:flex;gap:1rem;flex-flow:column;bottom:1rem}.bmb_portal-bottom-center>*{transform:translate(-50%)}\n"] }]
|
|
35
35
|
}], ctorParameters: () => [{ type: i1.BmbNotificationService }] });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLXBvcnRhbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kcy1uZy9zcmMvbGliL2NvbXBvbmVudHMvYm1iLXBvcnRhbC9ibWItcG9ydGFsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItcG9ydGFsL2JtYi1wb3J0YWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBSVQsaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBR3ZCLE9BQU8sRUFBRSxnQ0FBZ0MsRUFBRSxNQUFNLDBGQUEwRixDQUFDO0FBQzVJLE9BQU8sRUFBRS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0aXRsZV09XCJub3RpZmljYXRpb24udGl0bGVcIlxuICAgICAgICAgIFtkZXNjcmlwdGlvbl09XCJub3RpZmljYXRpb24uY29udGVudFwiXG4gICAgICAgICAgW2FwcGVhcmFuY2VdPVwibm90aWZpY2F0aW9uLmFwcGVhcmFuY2UgfHwgJ25ldXRyYWwnXCJcbiAgICAgICAgICBbaXNDbG9zYWJsZV09XCJ0cnVlXCJcbiAgICAgICAgICBbaWRdPVwibm90aWZpY2F0aW9uLmlkIHx8ICRpbmRleFwiXG4gICAgICAgICAgKG9uQ2xvc2UpPVwiY2xvc2VOb3RpZmljYXRpb24obm90aWZpY2F0aW9uKVwiXG4gICAgICAgIC8+XG4gICAgICB9IEBlbHNlIGlmIChub3RpZmljYXRpb24uY29tcG9uZW50ID09PSBcIm5vdGljZS1jYXJkXCIpIHtcbiAgICAgICAgPGJtYi1ub3RpY2UtY2FyZFxuICAgICAgICAgIFtzcmNdPVwibm90aWZpY2F0aW9uLm1lZGlhXCJcbiAgICAgICAgICBbdGl0bGVdPVwibm90aWZpY2F0aW9uLnRpdGxlXCJcbiAgICAgICAgICBbZGVzY3JpcHRpb25dPVwibm90aWZpY2F0aW9uLmNvbnRlbnRcIlxuICAgICAgICAgIFtidXR0b25UZXh0XT1cIm5vdGlmaWNhdGlvbi5idXR0b25UZXh0XCJcbiAgICAgICAgICBbbGlua109XCJub3RpZmljYXRpb24ubGlua1wiXG4gICAgICAgICAgKG9uQ2xvc2UpPVwiY2xvc2VOb3RpZmljYXRpb24obm90aWZpY2F0aW9uKVwiXG4gICAgICAgIC8+XG4gICAgICB9IEBlbHNlIHtcbiAgICAgICAgPGJtYi1wdXNoLW5vdGlmaWNhdGlvbi1pdGVtXG4gICAgICAgICAgW25vdGlmaWNhdGlvbl09XCJub3RpZmljYXRpb25cIlxuICAgICAgICAgIChvbkNsb3NlKT1cImNsb3NlTm90aWZpY2F0aW9uKG5vdGlmaWNhdGlvbilcIlxuICAgICAgICAvPlxuICAgICAgfVxuICAgIH1cbiAgfVxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|