@ti-tecnologico-de-monterrey-oficial/ds-ng 1.5.1118 → 1.5.1120
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/styles/main.min.css +1 -1
- package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs +1676 -1676
- package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs.map +1 -1
- package/index.d.ts +3744 -5
- package/package.json +1 -3
- package/assets/images/gif/mitecLogoIntroMobile.gif +0 -0
- package/assets/images/gif/mitecLogoIntroWeb.gif +0 -0
- package/assets/images/lang-flags/mx.svg +0 -392
- package/assets/images/lang-flags/us.svg +0 -13
- package/esm2022/lib/components/bmb-academic-progress/bmb-academic-progress.component.mjs +0 -87
- package/esm2022/lib/components/bmb-accordion/bmb-accordion.component.mjs +0 -159
- package/esm2022/lib/components/bmb-account-statement/bmb-account-statement.component.mjs +0 -150
- package/esm2022/lib/components/bmb-action-icon/bmb-action-icon.component.mjs +0 -49
- package/esm2022/lib/components/bmb-action-menu/bmb-action-menu.component.mjs +0 -31
- package/esm2022/lib/components/bmb-advertisement-card/bmb-advertisement-card.component.mjs +0 -35
- package/esm2022/lib/components/bmb-advertisement-card/types.mjs +0 -2
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-ads/bmb-alert-center-ads.component.mjs +0 -40
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-empty/bmb-alert-center-empty.component.mjs +0 -18
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-form/bmb-alert-center-form.component.mjs +0 -148
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-list/bmb-alert-center-list.component.mjs +0 -52
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center.component.mjs +0 -196
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center.service.mjs +0 -62
- package/esm2022/lib/components/bmb-alert-center/types.mjs +0 -2
- package/esm2022/lib/components/bmb-badge/bmb-badge.component.mjs +0 -26
- package/esm2022/lib/components/bmb-balance-overview/bmb-balance-overview.component.mjs +0 -26
- package/esm2022/lib/components/bmb-bookmark/bmb-bookmark.component.mjs +0 -27
- package/esm2022/lib/components/bmb-bottom-navigation-bar/bmb-bottom-navigation-bar.component.mjs +0 -42
- package/esm2022/lib/components/bmb-breadcrumb/bmb-breadcrumb.component.mjs +0 -55
- package/esm2022/lib/components/bmb-button-icon/bmb-button-icon.component.mjs +0 -30
- package/esm2022/lib/components/bmb-calendar/bmb-calendar.component.mjs +0 -262
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-header/bmb-calendar-header.component.mjs +0 -95
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-hour-view/bmb-calendar-hour-view.component.mjs +0 -40
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-schedule-cards/bmb-calendar-schedule-cards.component.mjs +0 -68
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-day/bmb-calendar-template-day.component.mjs +0 -41
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-event-list/bmb-calendar-template-event-list.component.mjs +0 -63
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-mobile/bmb-calendar-template-mobile.component.mjs +0 -95
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-month/bmb-calendar-template-month.component.mjs +0 -45
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-week/bmb-calendar-template-week.component.mjs +0 -54
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-time-indicator/bmb-calendar-time-indicator.component.mjs +0 -24
- package/esm2022/lib/components/bmb-calendar/types.mjs +0 -2
- package/esm2022/lib/components/bmb-calendar/utils.mjs +0 -96
- package/esm2022/lib/components/bmb-card/bmb-card.component.mjs +0 -154
- package/esm2022/lib/components/bmb-card-button/bmb-card-button.component.mjs +0 -76
- package/esm2022/lib/components/bmb-carousel/bmb-carousel.component.mjs +0 -80
- package/esm2022/lib/components/bmb-chat-bar/bmb-chat-bar.component.mjs +0 -175
- package/esm2022/lib/components/bmb-chat-bar/bot_list.mjs +0 -57
- package/esm2022/lib/components/bmb-chat-bar/types.mjs +0 -2
- package/esm2022/lib/components/bmb-chat-bubbles/bmb-chat-bubbles.component.mjs +0 -56
- package/esm2022/lib/components/bmb-chat-bubbles/types.mjs +0 -2
- package/esm2022/lib/components/bmb-check-external-link-button/bmb-check-external-link-button.component.mjs +0 -46
- package/esm2022/lib/components/bmb-checkbox/bmb-checkbox.component.mjs +0 -80
- package/esm2022/lib/components/bmb-chevron-title-selector/bmb-chevron-title-selector.component.mjs +0 -36
- package/esm2022/lib/components/bmb-container/bmb-container.component.mjs +0 -27
- package/esm2022/lib/components/bmb-container-button/bmb-container-button.component.mjs +0 -83
- package/esm2022/lib/components/bmb-date-range/bmb-date-range.component.mjs +0 -69
- package/esm2022/lib/components/bmb-datepicker/bmb-datepicker-modal/bmb-datepicker-modal.component.mjs +0 -211
- package/esm2022/lib/components/bmb-datepicker/bmb-datepicker.component.mjs +0 -123
- package/esm2022/lib/components/bmb-digital-id/bmb-digital-id.component.mjs +0 -54
- package/esm2022/lib/components/bmb-divider/bmb-divider.component.mjs +0 -25
- package/esm2022/lib/components/bmb-dot-paginator/bmb-dot-paginator.component.mjs +0 -34
- package/esm2022/lib/components/bmb-drawer-overlay/bmb-drawer-overlay.component.mjs +0 -54
- package/esm2022/lib/components/bmb-dropdown/bmb-dropdown.component.mjs +0 -200
- package/esm2022/lib/components/bmb-dropdown-menu/bmb-dropdown-menu.component.mjs +0 -28
- package/esm2022/lib/components/bmb-dropzone/bmb-dropzone.component.mjs +0 -175
- package/esm2022/lib/components/bmb-evaluation-rubric/bmb-evaluation-rubric.component.mjs +0 -76
- package/esm2022/lib/components/bmb-external-link/bmb-external-link.component.mjs +0 -78
- package/esm2022/lib/components/bmb-fab/bmb-fab-.interface.mjs +0 -9
- package/esm2022/lib/components/bmb-fab/bmb-fab.component.mjs +0 -37
- package/esm2022/lib/components/bmb-filter-card/bmb-filter-card.component.mjs +0 -154
- package/esm2022/lib/components/bmb-filter-card/bmb-filter-card.interface.mjs +0 -2
- package/esm2022/lib/components/bmb-focus-element/bmb-focus-element.component.mjs +0 -36
- package/esm2022/lib/components/bmb-form-validation/bmb-form-validation.component.mjs +0 -159
- package/esm2022/lib/components/bmb-form-validator/bmb-form-validator.component.mjs +0 -159
- package/esm2022/lib/components/bmb-frequent-apps-selector/bmb-frequent-apps-selector.component.mjs +0 -29
- package/esm2022/lib/components/bmb-grade-value/bmb-grade-value.component.mjs +0 -22
- package/esm2022/lib/components/bmb-grades/bmb-grades.component.mjs +0 -181
- package/esm2022/lib/components/bmb-grades/types.mjs +0 -2
- package/esm2022/lib/components/bmb-header-mitec/bmb-header-mitec.component.mjs +0 -55
- package/esm2022/lib/components/bmb-header-mobile/bmb-header-mobile.component.mjs +0 -49
- package/esm2022/lib/components/bmb-hito-card/bmb-hito-card.component.mjs +0 -77
- package/esm2022/lib/components/bmb-hito-list/bmb-hito-list.component.mjs +0 -59
- package/esm2022/lib/components/bmb-home-card/bmb-home-card-header/bmb-home-card-header.component.mjs +0 -76
- package/esm2022/lib/components/bmb-home-card/bmb-home-card.component.mjs +0 -41
- package/esm2022/lib/components/bmb-home-card-chat/bmb-home-card-chat.component.mjs +0 -39
- package/esm2022/lib/components/bmb-home-section/bmb-home-section.component.mjs +0 -20
- package/esm2022/lib/components/bmb-icon/bmb-icon.component.mjs +0 -49
- package/esm2022/lib/components/bmb-icon/types.mjs +0 -2
- package/esm2022/lib/components/bmb-icon-item/bmb-icon-item.component.mjs +0 -23
- package/esm2022/lib/components/bmb-icon-status/bmb-icon-status.component.mjs +0 -24
- package/esm2022/lib/components/bmb-iframe/bmb-iframe.component.mjs +0 -19
- package/esm2022/lib/components/bmb-iframe/bmb-iframe.pipe.mjs +0 -21
- package/esm2022/lib/components/bmb-image/bmb-image.component.mjs +0 -33
- package/esm2022/lib/components/bmb-inner-header/bmb-inner-header.component.mjs +0 -77
- package/esm2022/lib/components/bmb-input/bmb-input-content/bmb-input-content.component.mjs +0 -147
- package/esm2022/lib/components/bmb-input/bmb-input-validation/bmb-input-validation.component.mjs +0 -162
- package/esm2022/lib/components/bmb-input/bmb-input-validation/bmb-input-validation.service.mjs +0 -116
- package/esm2022/lib/components/bmb-input/bmb-input-validator/bmb-input-validator.component.mjs +0 -178
- package/esm2022/lib/components/bmb-input/bmb-input.component.mjs +0 -85
- package/esm2022/lib/components/bmb-input-phone-number/bmb-input-phone-number.component.mjs +0 -219
- package/esm2022/lib/components/bmb-input-tags/bmb-input-tags.component.mjs +0 -191
- package/esm2022/lib/components/bmb-interactive-icon/bmb-interactive-icon.component.mjs +0 -54
- package/esm2022/lib/components/bmb-invoice/bmb-invoice.component.mjs +0 -34
- package/esm2022/lib/components/bmb-item/bmb-item.component.mjs +0 -28
- package/esm2022/lib/components/bmb-legend/bmb-legend.component.mjs +0 -23
- package/esm2022/lib/components/bmb-list-group/bmb-list-group-item/bmb-list-group-item.component.mjs +0 -83
- package/esm2022/lib/components/bmb-list-group/bmb-list-group.component.mjs +0 -60
- package/esm2022/lib/components/bmb-list-group/bmb-list-group.service.mjs +0 -55
- package/esm2022/lib/components/bmb-list-group/types.mjs +0 -2
- package/esm2022/lib/components/bmb-list-items/bmb-list-items.component.mjs +0 -83
- package/esm2022/lib/components/bmb-loader/bmb-loader.component.mjs +0 -77
- package/esm2022/lib/components/bmb-login/bmb-login-content/bmb-login-content.component.mjs +0 -55
- package/esm2022/lib/components/bmb-login/bmb-login.component.mjs +0 -66
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-logged/bmb-login-onboarding-logged.component.mjs +0 -40
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-login/bmb-login-onboarding-login.component.mjs +0 -20
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-logout/bmb-login-onboarding-logout.component.mjs +0 -33
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-four.component.mjs +0 -87
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-one.component.mjs +0 -88
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-three.component.mjs +0 -57
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-two.component.mjs +0 -99
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step.component.mjs +0 -39
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper.component.mjs +0 -44
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding.component.mjs +0 -52
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding.service.mjs +0 -70
- package/esm2022/lib/components/bmb-login-onboarding/types.mjs +0 -2
- package/esm2022/lib/components/bmb-logo/bmb-logo.component.mjs +0 -43
- package/esm2022/lib/components/bmb-media-card/bmb-media-card.component.mjs +0 -64
- package/esm2022/lib/components/bmb-mitec-logo-animation/bmb-mitec-logo-animation.component.mjs +0 -14
- package/esm2022/lib/components/bmb-mobile-templates/bmb-mobile-templates.component.mjs +0 -88
- package/esm2022/lib/components/bmb-modal/bmb-modal.component.mjs +0 -139
- package/esm2022/lib/components/bmb-modal/bmb-modal.interface.mjs +0 -2
- package/esm2022/lib/components/bmb-modal/bmb-native-modal.component.mjs +0 -84
- package/esm2022/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator-item/bmb-multi-dot-paginator-item.component.mjs +0 -15
- package/esm2022/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator.component.mjs +0 -59
- package/esm2022/lib/components/bmb-navigation-bar/bmb-navigation-bar.component.mjs +0 -30
- package/esm2022/lib/components/bmb-notice-card/bmb-notice-card.component.mjs +0 -43
- package/esm2022/lib/components/bmb-notification-card/bmb-notification-card.component.mjs +0 -86
- package/esm2022/lib/components/bmb-overlay/bmb-overlay.component.mjs +0 -22
- package/esm2022/lib/components/bmb-paginator/bmb-paginator.component.mjs +0 -52
- package/esm2022/lib/components/bmb-portal/bmb-portal.component.mjs +0 -52
- package/esm2022/lib/components/bmb-profile/bmb-profile.component.mjs +0 -153
- package/esm2022/lib/components/bmb-progress-bar/bmb-progress-bar.component.mjs +0 -39
- package/esm2022/lib/components/bmb-progress-cirlce/bmb-progress-circle.component.mjs +0 -196
- package/esm2022/lib/components/bmb-progress-cirlce/bmb-progress-circle.interface.mjs +0 -2
- package/esm2022/lib/components/bmb-pull-wedge/bmb-pull-wedge.component.mjs +0 -88
- package/esm2022/lib/components/bmb-push-notification/bmb-push-notification-item/bmb-push-notification-item.component.mjs +0 -75
- package/esm2022/lib/components/bmb-push-notification/bmb-push-notification.component.mjs +0 -24
- package/esm2022/lib/components/bmb-push-notification/types.mjs +0 -2
- package/esm2022/lib/components/bmb-radial/bmb-radial.component.mjs +0 -78
- package/esm2022/lib/components/bmb-search-input/bmb-search-input.component.mjs +0 -117
- package/esm2022/lib/components/bmb-select/bmb-select-item/bmb-select-item.component.mjs +0 -16
- package/esm2022/lib/components/bmb-select/bmb-select.component.mjs +0 -55
- package/esm2022/lib/components/bmb-server-table/bmb-server-table.component.mjs +0 -82
- package/esm2022/lib/components/bmb-sidebar/bmb-sidebar.component.mjs +0 -103
- package/esm2022/lib/components/bmb-sidebar/bmb-sidebar.interface.mjs +0 -2
- package/esm2022/lib/components/bmb-simple-header/bmb-simple-header.component.mjs +0 -64
- package/esm2022/lib/components/bmb-skeleton/bmb-skeleton.component.mjs +0 -16
- package/esm2022/lib/components/bmb-sounds-card/bmb-sounds-card.component.mjs +0 -64
- package/esm2022/lib/components/bmb-stat-counter/bmb-stat-counter.component.mjs +0 -32
- package/esm2022/lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component.mjs +0 -53
- package/esm2022/lib/components/bmb-student-activity-card/bmb-student-activity-card.component.mjs +0 -53
- package/esm2022/lib/components/bmb-student-activity-selector/bmb-student-activity-tab/bmb-student-activity-tab.component.mjs +0 -27
- package/esm2022/lib/components/bmb-switch/bmb-switch.component.mjs +0 -88
- package/esm2022/lib/components/bmb-tables/bmb-tables.component.mjs +0 -545
- package/esm2022/lib/components/bmb-tables/bmb-tables.interface.mjs +0 -2
- package/esm2022/lib/components/bmb-tabs/bmb-tabs.component.mjs +0 -127
- package/esm2022/lib/components/bmb-tags/bmb-tags.component.mjs +0 -65
- package/esm2022/lib/components/bmb-text-editor/bmb-text-editor.component.mjs +0 -135
- package/esm2022/lib/components/bmb-text-link/bmb-text-link.component.mjs +0 -43
- package/esm2022/lib/components/bmb-theme/bmb-theme.component.mjs +0 -65
- package/esm2022/lib/components/bmb-three-cols/bmb-three-cols.component.mjs +0 -30
- package/esm2022/lib/components/bmb-timestream/bmb-timestream-detail/bmb-timestream-detail.component.mjs +0 -74
- package/esm2022/lib/components/bmb-timestream/bmb-timestream-error/bmb-timestream-error.component.mjs +0 -13
- package/esm2022/lib/components/bmb-timestream/bmb-timestream.component.mjs +0 -238
- package/esm2022/lib/components/bmb-timestream/types.mjs +0 -2
- package/esm2022/lib/components/bmb-timestream-card/bmb-timestream-card.component.mjs +0 -139
- package/esm2022/lib/components/bmb-title-content/bmb-title-content.component.mjs +0 -61
- package/esm2022/lib/components/bmb-toast/bmb-toast.component.mjs +0 -47
- package/esm2022/lib/components/bmb-tooltip/bmb-tooltip.component.mjs +0 -26
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-item/bmb-top-bar-item.component.mjs +0 -31
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-user-section/bmb-top-bar-user-section.component.mjs +0 -70
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar.component.mjs +0 -122
- package/esm2022/lib/components/bmb-top-bar/types.mjs +0 -2
- package/esm2022/lib/components/bmb-totp/bmb-totp.component.mjs +0 -138
- package/esm2022/lib/components/bmb-user-image/bmb-user-image.component.mjs +0 -44
- package/esm2022/lib/components/bmb-user-profile/bmb-user-profile-content/bmb-user-profile-content.component.mjs +0 -19
- package/esm2022/lib/components/bmb-user-profile/bmb-user-profile.component.mjs +0 -71
- package/esm2022/lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component.mjs +0 -51
- package/esm2022/lib/components/bmb-user-summary/bmb-user-summary.component.mjs +0 -28
- package/esm2022/lib/components/bmb-value-counter/bmb-value-counter.component.mjs +0 -23
- package/esm2022/lib/components/bmb-web-templates/bmb-web-templates.component.mjs +0 -85
- package/esm2022/lib/components/bmb-wheel-menu/bmb-wheel-menu.component.mjs +0 -128
- package/esm2022/lib/components/utils/bmb-dropdown-content/bmb-dropdown-content.component.mjs +0 -55
- package/esm2022/lib/directives/bmb-accordion/bmb-accordion-control.directive.mjs +0 -88
- package/esm2022/lib/directives/bmb-button/button.directive.mjs +0 -84
- package/esm2022/lib/directives/bmb-button-group/bmb-button-group.directive.mjs +0 -29
- package/esm2022/lib/directives/bmb-layout/bmb-layout-item.directive.mjs +0 -51
- package/esm2022/lib/directives/bmb-layout/bmb-layout.directive.mjs +0 -36
- package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout-item.directive.mjs +0 -34
- package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout.directive.mjs +0 -37
- package/esm2022/lib/directives/bmb-layout-grid/bmb-layout-grid.directive.mjs +0 -89
- package/esm2022/lib/directives/utils/clickoutside.directive.mjs +0 -41
- package/esm2022/lib/ds-ng.component.mjs +0 -11
- package/esm2022/lib/ds-ng.service.mjs +0 -14
- package/esm2022/lib/services/calendar.service.mjs +0 -51
- package/esm2022/lib/services/index.mjs +0 -3
- package/esm2022/lib/services/native-modal.service.mjs +0 -69
- package/esm2022/lib/services/notification.service.mjs +0 -77
- package/esm2022/lib/services/tabs.service.mjs +0 -30
- package/esm2022/lib/services/theme.service.mjs +0 -30
- package/esm2022/lib/services/toast.service.mjs +0 -24
- package/esm2022/lib/services/user/profile.service.mjs +0 -26
- package/esm2022/lib/types/colors.mjs +0 -2
- package/esm2022/lib/types/index.mjs +0 -11
- package/esm2022/lib/utils/countryCodes.mjs +0 -1089
- package/esm2022/lib/utils/currencyFormat.mjs +0 -7
- package/esm2022/lib/utils/dropdown.mjs +0 -85
- package/esm2022/lib/utils/formControl.mjs +0 -25
- package/esm2022/lib/utils/timestreamFilters.mjs +0 -32
- package/esm2022/lib/utils/utils.mjs +0 -66
- package/esm2022/public-api.mjs +0 -151
- package/esm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs +0 -5
- package/lib/components/bmb-academic-progress/bmb-academic-progress.component.d.ts +0 -21
- package/lib/components/bmb-accordion/bmb-accordion.component.d.ts +0 -37
- package/lib/components/bmb-account-statement/bmb-account-statement.component.d.ts +0 -54
- package/lib/components/bmb-action-icon/bmb-action-icon.component.d.ts +0 -23
- package/lib/components/bmb-action-menu/bmb-action-menu.component.d.ts +0 -17
- package/lib/components/bmb-advertisement-card/bmb-advertisement-card.component.d.ts +0 -13
- package/lib/components/bmb-advertisement-card/types.d.ts +0 -21
- package/lib/components/bmb-alert-center/bmb-alert-center-ads/bmb-alert-center-ads.component.d.ts +0 -10
- package/lib/components/bmb-alert-center/bmb-alert-center-empty/bmb-alert-center-empty.component.d.ts +0 -7
- package/lib/components/bmb-alert-center/bmb-alert-center-form/bmb-alert-center-form.component.d.ts +0 -31
- package/lib/components/bmb-alert-center/bmb-alert-center-list/bmb-alert-center-list.component.d.ts +0 -20
- package/lib/components/bmb-alert-center/bmb-alert-center.component.d.ts +0 -46
- package/lib/components/bmb-alert-center/bmb-alert-center.service.d.ts +0 -20
- package/lib/components/bmb-alert-center/types.d.ts +0 -64
- package/lib/components/bmb-badge/bmb-badge.component.d.ts +0 -11
- package/lib/components/bmb-balance-overview/bmb-balance-overview.component.d.ts +0 -15
- package/lib/components/bmb-bookmark/bmb-bookmark.component.d.ts +0 -8
- package/lib/components/bmb-bottom-navigation-bar/bmb-bottom-navigation-bar.component.d.ts +0 -25
- package/lib/components/bmb-breadcrumb/bmb-breadcrumb.component.d.ts +0 -27
- package/lib/components/bmb-button-icon/bmb-button-icon.component.d.ts +0 -16
- package/lib/components/bmb-calendar/bmb-calendar.component.d.ts +0 -65
- package/lib/components/bmb-calendar/common/bmb-calendar-header/bmb-calendar-header.component.d.ts +0 -20
- package/lib/components/bmb-calendar/common/bmb-calendar-hour-view/bmb-calendar-hour-view.component.d.ts +0 -13
- package/lib/components/bmb-calendar/common/bmb-calendar-schedule-cards/bmb-calendar-schedule-cards.component.d.ts +0 -16
- package/lib/components/bmb-calendar/common/bmb-calendar-template-day/bmb-calendar-template-day.component.d.ts +0 -18
- package/lib/components/bmb-calendar/common/bmb-calendar-template-event-list/bmb-calendar-template-event-list.component.d.ts +0 -17
- package/lib/components/bmb-calendar/common/bmb-calendar-template-mobile/bmb-calendar-template-mobile.component.d.ts +0 -31
- package/lib/components/bmb-calendar/common/bmb-calendar-template-month/bmb-calendar-template-month.component.d.ts +0 -18
- package/lib/components/bmb-calendar/common/bmb-calendar-template-week/bmb-calendar-template-week.component.d.ts +0 -23
- package/lib/components/bmb-calendar/common/bmb-calendar-time-indicator/bmb-calendar-time-indicator.component.d.ts +0 -9
- package/lib/components/bmb-calendar/types.d.ts +0 -43
- package/lib/components/bmb-calendar/utils.d.ts +0 -12
- package/lib/components/bmb-card/bmb-card.component.d.ts +0 -42
- package/lib/components/bmb-card-button/bmb-card-button.component.d.ts +0 -50
- package/lib/components/bmb-carousel/bmb-carousel.component.d.ts +0 -20
- package/lib/components/bmb-chat-bar/bmb-chat-bar.component.d.ts +0 -62
- package/lib/components/bmb-chat-bar/bot_list.d.ts +0 -6
- package/lib/components/bmb-chat-bar/types.d.ts +0 -9
- package/lib/components/bmb-chat-bubbles/bmb-chat-bubbles.component.d.ts +0 -23
- package/lib/components/bmb-chat-bubbles/types.d.ts +0 -23
- package/lib/components/bmb-check-external-link-button/bmb-check-external-link-button.component.d.ts +0 -21
- package/lib/components/bmb-checkbox/bmb-checkbox.component.d.ts +0 -33
- package/lib/components/bmb-chevron-title-selector/bmb-chevron-title-selector.component.d.ts +0 -17
- package/lib/components/bmb-container/bmb-container.component.d.ts +0 -9
- package/lib/components/bmb-container-button/bmb-container-button.component.d.ts +0 -30
- package/lib/components/bmb-date-range/bmb-date-range.component.d.ts +0 -35
- package/lib/components/bmb-datepicker/bmb-datepicker-modal/bmb-datepicker-modal.component.d.ts +0 -40
- package/lib/components/bmb-datepicker/bmb-datepicker.component.d.ts +0 -44
- package/lib/components/bmb-digital-id/bmb-digital-id.component.d.ts +0 -26
- package/lib/components/bmb-divider/bmb-divider.component.d.ts +0 -8
- package/lib/components/bmb-dot-paginator/bmb-dot-paginator.component.d.ts +0 -17
- package/lib/components/bmb-drawer-overlay/bmb-drawer-overlay.component.d.ts +0 -24
- package/lib/components/bmb-dropdown/bmb-dropdown.component.d.ts +0 -61
- package/lib/components/bmb-dropdown-menu/bmb-dropdown-menu.component.d.ts +0 -10
- package/lib/components/bmb-dropzone/bmb-dropzone.component.d.ts +0 -49
- package/lib/components/bmb-evaluation-rubric/bmb-evaluation-rubric.component.d.ts +0 -45
- package/lib/components/bmb-external-link/bmb-external-link.component.d.ts +0 -22
- package/lib/components/bmb-fab/bmb-fab-.interface.d.ts +0 -10
- package/lib/components/bmb-fab/bmb-fab.component.d.ts +0 -15
- package/lib/components/bmb-filter-card/bmb-filter-card.component.d.ts +0 -33
- package/lib/components/bmb-filter-card/bmb-filter-card.interface.d.ts +0 -10
- package/lib/components/bmb-focus-element/bmb-focus-element.component.d.ts +0 -14
- package/lib/components/bmb-form-validation/bmb-form-validation.component.d.ts +0 -34
- package/lib/components/bmb-form-validator/bmb-form-validator.component.d.ts +0 -34
- package/lib/components/bmb-frequent-apps-selector/bmb-frequent-apps-selector.component.d.ts +0 -13
- package/lib/components/bmb-grade-value/bmb-grade-value.component.d.ts +0 -11
- package/lib/components/bmb-grades/bmb-grades.component.d.ts +0 -43
- package/lib/components/bmb-grades/types.d.ts +0 -25
- package/lib/components/bmb-header-mitec/bmb-header-mitec.component.d.ts +0 -17
- package/lib/components/bmb-header-mobile/bmb-header-mobile.component.d.ts +0 -23
- package/lib/components/bmb-hito-card/bmb-hito-card.component.d.ts +0 -23
- package/lib/components/bmb-hito-list/bmb-hito-list.component.d.ts +0 -24
- package/lib/components/bmb-home-card/bmb-home-card-header/bmb-home-card-header.component.d.ts +0 -28
- package/lib/components/bmb-home-card/bmb-home-card.component.d.ts +0 -27
- package/lib/components/bmb-home-card-chat/bmb-home-card-chat.component.d.ts +0 -25
- package/lib/components/bmb-home-section/bmb-home-section.component.d.ts +0 -9
- package/lib/components/bmb-icon/bmb-icon.component.d.ts +0 -23
- package/lib/components/bmb-icon/types.d.ts +0 -1
- package/lib/components/bmb-icon-item/bmb-icon-item.component.d.ts +0 -13
- package/lib/components/bmb-icon-status/bmb-icon-status.component.d.ts +0 -10
- package/lib/components/bmb-iframe/bmb-iframe.component.d.ts +0 -11
- package/lib/components/bmb-iframe/bmb-iframe.pipe.d.ts +0 -10
- package/lib/components/bmb-image/bmb-image.component.d.ts +0 -19
- package/lib/components/bmb-inner-header/bmb-inner-header.component.d.ts +0 -29
- package/lib/components/bmb-input/bmb-input-content/bmb-input-content.component.d.ts +0 -53
- package/lib/components/bmb-input/bmb-input-validation/bmb-input-validation.component.d.ts +0 -46
- package/lib/components/bmb-input/bmb-input-validation/bmb-input-validation.service.d.ts +0 -16
- package/lib/components/bmb-input/bmb-input-validator/bmb-input-validator.component.d.ts +0 -45
- package/lib/components/bmb-input/bmb-input.component.d.ts +0 -68
- package/lib/components/bmb-input-phone-number/bmb-input-phone-number.component.d.ts +0 -52
- package/lib/components/bmb-input-tags/bmb-input-tags.component.d.ts +0 -55
- package/lib/components/bmb-interactive-icon/bmb-interactive-icon.component.d.ts +0 -23
- package/lib/components/bmb-invoice/bmb-invoice.component.d.ts +0 -31
- package/lib/components/bmb-item/bmb-item.component.d.ts +0 -16
- package/lib/components/bmb-legend/bmb-legend.component.d.ts +0 -9
- package/lib/components/bmb-list-group/bmb-list-group-item/bmb-list-group-item.component.d.ts +0 -33
- package/lib/components/bmb-list-group/bmb-list-group.component.d.ts +0 -27
- package/lib/components/bmb-list-group/bmb-list-group.service.d.ts +0 -18
- package/lib/components/bmb-list-group/types.d.ts +0 -1
- package/lib/components/bmb-list-items/bmb-list-items.component.d.ts +0 -33
- package/lib/components/bmb-loader/bmb-loader.component.d.ts +0 -31
- package/lib/components/bmb-login/bmb-login-content/bmb-login-content.component.d.ts +0 -27
- package/lib/components/bmb-login/bmb-login.component.d.ts +0 -33
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-logged/bmb-login-onboarding-logged.component.d.ts +0 -14
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-login/bmb-login-onboarding-login.component.d.ts +0 -8
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-logout/bmb-login-onboarding-logout.component.d.ts +0 -12
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-four.component.d.ts +0 -18
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-one.component.d.ts +0 -17
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-three.component.d.ts +0 -11
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-two.component.d.ts +0 -19
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step.component.d.ts +0 -19
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper.component.d.ts +0 -15
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding.component.d.ts +0 -20
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding.service.d.ts +0 -25
- package/lib/components/bmb-login-onboarding/types.d.ts +0 -15
- package/lib/components/bmb-logo/bmb-logo.component.d.ts +0 -19
- package/lib/components/bmb-media-card/bmb-media-card.component.d.ts +0 -34
- package/lib/components/bmb-mitec-logo-animation/bmb-mitec-logo-animation.component.d.ts +0 -6
- package/lib/components/bmb-mobile-templates/bmb-mobile-templates.component.d.ts +0 -47
- package/lib/components/bmb-modal/bmb-modal.component.d.ts +0 -31
- package/lib/components/bmb-modal/bmb-modal.interface.d.ts +0 -37
- package/lib/components/bmb-modal/bmb-native-modal.component.d.ts +0 -37
- package/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator-item/bmb-multi-dot-paginator-item.component.d.ts +0 -7
- package/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator.component.d.ts +0 -15
- package/lib/components/bmb-navigation-bar/bmb-navigation-bar.component.d.ts +0 -13
- package/lib/components/bmb-notice-card/bmb-notice-card.component.d.ts +0 -21
- package/lib/components/bmb-notification-card/bmb-notification-card.component.d.ts +0 -27
- package/lib/components/bmb-overlay/bmb-overlay.component.d.ts +0 -9
- package/lib/components/bmb-paginator/bmb-paginator.component.d.ts +0 -14
- package/lib/components/bmb-portal/bmb-portal.component.d.ts +0 -18
- package/lib/components/bmb-profile/bmb-profile.component.d.ts +0 -34
- package/lib/components/bmb-progress-bar/bmb-progress-bar.component.d.ts +0 -19
- package/lib/components/bmb-progress-cirlce/bmb-progress-circle.component.d.ts +0 -51
- package/lib/components/bmb-progress-cirlce/bmb-progress-circle.interface.d.ts +0 -12
- package/lib/components/bmb-pull-wedge/bmb-pull-wedge.component.d.ts +0 -23
- package/lib/components/bmb-push-notification/bmb-push-notification-item/bmb-push-notification-item.component.d.ts +0 -18
- package/lib/components/bmb-push-notification/bmb-push-notification.component.d.ts +0 -11
- package/lib/components/bmb-push-notification/types.d.ts +0 -46
- package/lib/components/bmb-radial/bmb-radial.component.d.ts +0 -33
- package/lib/components/bmb-search-input/bmb-search-input.component.d.ts +0 -33
- package/lib/components/bmb-select/bmb-select-item/bmb-select-item.component.d.ts +0 -6
- package/lib/components/bmb-select/bmb-select.component.d.ts +0 -17
- package/lib/components/bmb-server-table/bmb-server-table.component.d.ts +0 -26
- package/lib/components/bmb-sidebar/bmb-sidebar.component.d.ts +0 -27
- package/lib/components/bmb-sidebar/bmb-sidebar.interface.d.ts +0 -10
- package/lib/components/bmb-simple-header/bmb-simple-header.component.d.ts +0 -10
- package/lib/components/bmb-skeleton/bmb-skeleton.component.d.ts +0 -7
- package/lib/components/bmb-sounds-card/bmb-sounds-card.component.d.ts +0 -24
- package/lib/components/bmb-stat-counter/bmb-stat-counter.component.d.ts +0 -11
- package/lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component.d.ts +0 -26
- package/lib/components/bmb-student-activity-card/bmb-student-activity-card.component.d.ts +0 -23
- package/lib/components/bmb-student-activity-selector/bmb-student-activity-tab/bmb-student-activity-tab.component.d.ts +0 -10
- package/lib/components/bmb-switch/bmb-switch.component.d.ts +0 -25
- package/lib/components/bmb-tables/bmb-tables.component.d.ts +0 -104
- package/lib/components/bmb-tables/bmb-tables.interface.d.ts +0 -21
- package/lib/components/bmb-tabs/bmb-tabs.component.d.ts +0 -41
- package/lib/components/bmb-tags/bmb-tags.component.d.ts +0 -25
- package/lib/components/bmb-text-editor/bmb-text-editor.component.d.ts +0 -34
- package/lib/components/bmb-text-link/bmb-text-link.component.d.ts +0 -17
- package/lib/components/bmb-theme/bmb-theme.component.d.ts +0 -19
- package/lib/components/bmb-three-cols/bmb-three-cols.component.d.ts +0 -15
- package/lib/components/bmb-timestream/bmb-timestream-detail/bmb-timestream-detail.component.d.ts +0 -25
- package/lib/components/bmb-timestream/bmb-timestream-error/bmb-timestream-error.component.d.ts +0 -5
- package/lib/components/bmb-timestream/bmb-timestream.component.d.ts +0 -67
- package/lib/components/bmb-timestream/types.d.ts +0 -54
- package/lib/components/bmb-timestream-card/bmb-timestream-card.component.d.ts +0 -29
- package/lib/components/bmb-title-content/bmb-title-content.component.d.ts +0 -26
- package/lib/components/bmb-toast/bmb-toast.component.d.ts +0 -16
- package/lib/components/bmb-tooltip/bmb-tooltip.component.d.ts +0 -15
- package/lib/components/bmb-top-bar/bmb-top-bar-item/bmb-top-bar-item.component.d.ts +0 -7
- package/lib/components/bmb-top-bar/bmb-top-bar-user-section/bmb-top-bar-user-section.component.d.ts +0 -30
- package/lib/components/bmb-top-bar/bmb-top-bar.component.d.ts +0 -45
- package/lib/components/bmb-top-bar/types.d.ts +0 -6
- package/lib/components/bmb-totp/bmb-totp.component.d.ts +0 -30
- package/lib/components/bmb-user-image/bmb-user-image.component.d.ts +0 -19
- package/lib/components/bmb-user-profile/bmb-user-profile-content/bmb-user-profile-content.component.d.ts +0 -10
- package/lib/components/bmb-user-profile/bmb-user-profile.component.d.ts +0 -19
- package/lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component.d.ts +0 -24
- package/lib/components/bmb-user-summary/bmb-user-summary.component.d.ts +0 -14
- package/lib/components/bmb-value-counter/bmb-value-counter.component.d.ts +0 -8
- package/lib/components/bmb-web-templates/bmb-web-templates.component.d.ts +0 -42
- package/lib/components/bmb-wheel-menu/bmb-wheel-menu.component.d.ts +0 -40
- package/lib/components/utils/bmb-dropdown-content/bmb-dropdown-content.component.d.ts +0 -16
- package/lib/directives/bmb-accordion/bmb-accordion-control.directive.d.ts +0 -22
- package/lib/directives/bmb-button/button.directive.d.ts +0 -29
- package/lib/directives/bmb-button-group/bmb-button-group.directive.d.ts +0 -10
- package/lib/directives/bmb-layout/bmb-layout-item.directive.d.ts +0 -20
- package/lib/directives/bmb-layout/bmb-layout.directive.d.ts +0 -15
- package/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout-item.directive.d.ts +0 -9
- package/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout.directive.d.ts +0 -14
- package/lib/directives/bmb-layout-grid/bmb-layout-grid.directive.d.ts +0 -29
- package/lib/directives/utils/clickoutside.directive.d.ts +0 -15
- package/lib/ds-ng.component.d.ts +0 -5
- package/lib/ds-ng.service.d.ts +0 -6
- package/lib/services/calendar.service.d.ts +0 -15
- package/lib/services/index.d.ts +0 -2
- package/lib/services/native-modal.service.d.ts +0 -18
- package/lib/services/notification.service.d.ts +0 -20
- package/lib/services/tabs.service.d.ts +0 -13
- package/lib/services/theme.service.d.ts +0 -11
- package/lib/services/toast.service.d.ts +0 -9
- package/lib/services/user/profile.service.d.ts +0 -9
- package/lib/types/colors.d.ts +0 -2
- package/lib/types/index.d.ts +0 -127
- package/lib/utils/countryCodes.d.ts +0 -7
- package/lib/utils/currencyFormat.d.ts +0 -1
- package/lib/utils/dropdown.d.ts +0 -6
- package/lib/utils/formControl.d.ts +0 -7
- package/lib/utils/timestreamFilters.d.ts +0 -2
- package/lib/utils/utils.d.ts +0 -12
- package/public-api.d.ts +0 -142
|
@@ -1,43 +0,0 @@
|
|
|
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 * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/common";
|
|
9
|
-
export class BmbNoticeCardComponent {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.src = input('');
|
|
12
|
-
this.title = input('');
|
|
13
|
-
this.description = input();
|
|
14
|
-
this.buttonText = input('Enterado');
|
|
15
|
-
this.link = input('');
|
|
16
|
-
this.closeBtnColor = input('white');
|
|
17
|
-
this.onClose = output();
|
|
18
|
-
this.onClickBtn = output();
|
|
19
|
-
this.activeIndex = 0;
|
|
20
|
-
}
|
|
21
|
-
onDotPress(index) {
|
|
22
|
-
this.activeIndex = index;
|
|
23
|
-
}
|
|
24
|
-
handleClose() {
|
|
25
|
-
this.onClose.emit();
|
|
26
|
-
}
|
|
27
|
-
handleClickBtn() {
|
|
28
|
-
this.onClickBtn.emit();
|
|
29
|
-
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbNoticeCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", 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() }}\n </button>\n </a>\n } @else {\n <button\n bmbButton\n [appearance]=\"'secondary-outlined'\"\n [size]=\"'large'\"\n (click)=\"handleClickBtn()\"\n >\n {{ buttonText() }}\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-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_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-Medium,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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
32
|
-
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbNoticeCardComponent, decorators: [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{ selector: 'bmb-notice-card', standalone: true, imports: [
|
|
36
|
-
CommonModule,
|
|
37
|
-
BmbActionIconComponent,
|
|
38
|
-
BmbDividerComponent,
|
|
39
|
-
BmbDotPaginatorComponent,
|
|
40
|
-
BmbButtonDirective,
|
|
41
|
-
], 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() }}\n </button>\n </a>\n } @else {\n <button\n bmbButton\n [appearance]=\"'secondary-outlined'\"\n [size]=\"'large'\"\n (click)=\"handleClickBtn()\"\n >\n {{ buttonText() }}\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-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_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-Medium,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"] }]
|
|
42
|
-
}] });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLW5vdGljZS1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItbm90aWNlLWNhcmQvYm1iLW5vdGljZS1jYXJkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItbm90aWNlLWNhcmQvYm1iLW5vdGljZS1jYXJkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULEtBQUssRUFFTCxNQUFNLEVBQ04saUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDhDQUE4QyxDQUFDO0FBQ3RGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHNDQUFzQyxDQUFDO0FBQzNFL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2FyZC1kaXZpZGVyXCI+XG4gICAgPGJtYi1kaXZpZGVyIFt0eXBlXT1cIidzaW1wbGUnXCI+PC9ibWItZGl2aWRlcj5cbiAgPC9kaXY+XG4gIDxzZWN0aW9uIGNsYXNzPVwiYm1iX25vdGljZS1jYXJkLWZvb3RlclwiPlxuICAgIDxkaXYgY2xhc3M9XCJibWJfbm90aWNlLWNhcmQtZm9vdGVyLWxlZnRcIj5cbiAgICAgIEBpZiAoZGVzY3JpcHRpb24oKSEucGFnZVR3byAmJiBhY3RpdmVJbmRleCA9PT0gMSkge1xuICAgICAgICA8Ym1iLWFjdGlvbi1pY29uXG4gICAgICAgICAgW2ljb25dPVwiJ2NoZXZyb25fbGVmdCdcIlxuICAgICAgICAgIFtpY29uU2l6ZV09XCIyOFwiXG4gICAgICAgICAgKGJ1dHRvbkNsaWNrKT1cIm9uRG90UHJlc3MoMClcIlxuICAgICAgICAvPlxuICAgICAgfVxuICAgIDwvZGl2PlxuXG4gICAgPGRpdiBjbGFzcz1cImJtYl9ub3RpY2UtY2FyZC1mb290ZXItY2VudGVyXCI+XG4gICAgICBAaWYgKFxuICAgICAgICAoZGVzY3JpcHRpb24oKSEucGFnZVR3byAmJiBhY3RpdmVJbmRleCA9PT0gMSkgfHwgIWRlc2NyaXB0aW9uKCkhLnBhZ2VUd29cbiAgICAgICkge1xuICAgICAgICBAaWYgKGxpbmsoKSkge1xuICAgICAgICAgIDxhXG4gICAgICAgICAgICBjbGFzcz1cImJtYl9ub3RpY2UtY2FyZC1mb290ZXItY2VudGVyLWxpbmtcIlxuICAgICAgICAgICAgW2hyZWZdPVwibGluaygpXCJcbiAgICAgICAgICAgIHRhcmdldD1cIl9ibGFua1wiXG4gICAgICAgICAgICByZWw9XCJub29wZW5lciBub3JlZmVycmVyXCJcbiAgICAgICAgICA+XG4gICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgIGJtYkJ1dHRvblxuICAgICAgICAgICAgICBbYXBwZWFyYW5jZV09XCInc2Vjb25kYXJ5LW91dGxpbmVkJ1wiXG4gICAgICAgICAgICAgIFtzaXplXT1cIidsYXJnZSdcIlxuICAgICAgICAgICAgICAoY2xpY2spPVwiaGFuZGxlQ2xpY2tCdG4oKVwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIHt7IGJ1dHRvblRleHQoKSB9fVxuICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgPC9hPlxuICAgICAgICB9IEBlbHNlIHtcbiAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICBibWJCdXR0b25cbiAgICAgICAgICAgIFthcHBlYXJhbmNlXT1cIidzZWNvbmRhcnktb3V0bGluZWQnXCJcbiAgICAgICAgICAgIFtzaXplXT1cIidsYXJnZSdcIlxuICAgICAgICAgICAgKGNsaWNrKT1cImhhbmRsZUNsaWNrQnRuKClcIlxuICAgICAgICAgID5cbiAgICAgICAgICAgIHt7IGJ1dHRvblRleHQoKSB9fVxuICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIEBpZiAoZGVzY3JpcHRpb24oKSEucGFnZVR3byAmJiBhY3RpdmVJbmRleCA9PT0gMCkge1xuICAgICAgICA8Ym1iLWRvdC1wYWdpbmF0b3JcbiAgICAgICAgICBbYWN0aXZlRG90SW5kZXhdPVwiYWN0aXZlSW5kZXhcIlxuICAgICAgICAgIFt0b3RhbERvdHNdPVwiMlwiXG4gICAgICAgICAgKG9uRG90UHJlc3MpPVwib25Eb3RQcmVzcygkZXZlbnQpXCJcbiAgICAgICAgPjwvYm1iLWRvdC1wYWdpbmF0b3I+XG4gICAgICB9XG4gICAgPC9kaXY+XG5cbiAgICA8ZGl2IGNsYXNzPVwiYm1iX25vdGljZS1jYXJkLWZvb3Rlci1yaWdodFwiPlxuICAgICAgQGlmIChkZXNjcmlwdGlvbigpIS5wYWdlVHdvICYmIGFjdGl2ZUluZGV4ID09PSAwKSB7XG4gICAgICAgIDxibWItYWN0aW9uLWljb25cbiAgICAgICAgICBjbGFzcz1cImJtYl9ub3RpY2UtY2FyZC1mb290ZXItcmlnaHRcIlxuICAgICAgICAgIFtpY29uXT1cIidjaGV2cm9uX3JpZ2h0J1wiXG4gICAgICAgICAgW2ljb25TaXplXT1cIjI4XCJcbiAgICAgICAgICAoYnV0dG9uQ2xpY2spPVwib25Eb3RQcmVzcygxKVwiXG4gICAgICAgIC8+XG4gICAgICB9XG4gICAgPC9kaXY+XG4gIDwvc2VjdGlvbj5cbjwvc2VjdGlvbj5cbiJdfQ==
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, input, output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { BmbAlertCenterComponent } from '../bmb-alert-center/bmb-alert-center.component';
|
|
4
|
-
import { BmbHomeCardComponent } from '../bmb-home-card/bmb-home-card.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
export class BmbNotificationCardComponent {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.data = input([]);
|
|
10
|
-
this.advertisements = input([]);
|
|
11
|
-
this.hideExpandBtn = input(false);
|
|
12
|
-
this.maxHeight = input('auto');
|
|
13
|
-
this.alertEvent = output();
|
|
14
|
-
this.showAlertDetail = output();
|
|
15
|
-
this.closeAlertDetail = output();
|
|
16
|
-
this.onExpandClick = output();
|
|
17
|
-
this.expanded = false;
|
|
18
|
-
this.activeData = [];
|
|
19
|
-
this.activeTab = 1;
|
|
20
|
-
this.activeDot = 0;
|
|
21
|
-
this.tabs = computed(() => {
|
|
22
|
-
return [
|
|
23
|
-
{
|
|
24
|
-
id: 1,
|
|
25
|
-
title: 'Notificaciones',
|
|
26
|
-
badge: this.newAlerts(),
|
|
27
|
-
isActive: true,
|
|
28
|
-
},
|
|
29
|
-
{ id: 2, title: 'Anuncios' },
|
|
30
|
-
];
|
|
31
|
-
});
|
|
32
|
-
this.tabsConfig = [
|
|
33
|
-
{
|
|
34
|
-
title: 'Notificaciones',
|
|
35
|
-
isMobile: true,
|
|
36
|
-
isDesktop: true,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
title: 'No leídos',
|
|
40
|
-
isMobile: false,
|
|
41
|
-
isDesktop: false,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
title: 'Favoritos',
|
|
45
|
-
isMobile: false,
|
|
46
|
-
isDesktop: false,
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
title: 'Archivados',
|
|
50
|
-
isMobile: false,
|
|
51
|
-
isDesktop: false,
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
title: 'Anuncios',
|
|
55
|
-
isMobile: true,
|
|
56
|
-
isDesktop: true,
|
|
57
|
-
},
|
|
58
|
-
];
|
|
59
|
-
}
|
|
60
|
-
setActiveTab(tab) {
|
|
61
|
-
this.activeTab = tab.id;
|
|
62
|
-
}
|
|
63
|
-
onDotPress(event) {
|
|
64
|
-
this.activeDot = event;
|
|
65
|
-
}
|
|
66
|
-
setSize(size) {
|
|
67
|
-
this.expanded = size === 'expand' ? true : false;
|
|
68
|
-
}
|
|
69
|
-
newAlerts() {
|
|
70
|
-
return this.data().reduce((acc, alert) => {
|
|
71
|
-
if (!alert.isRead)
|
|
72
|
-
return acc + 1;
|
|
73
|
-
return acc;
|
|
74
|
-
}, 0);
|
|
75
|
-
}
|
|
76
|
-
handleAlertEvent(alert) {
|
|
77
|
-
this.alertEvent.emit(alert);
|
|
78
|
-
}
|
|
79
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbNotificationCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
80
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.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 }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { alertEvent: "alertEvent", showAlertDetail: "showAlertDetail", closeAlertDetail: "closeAlertDetail", onExpandClick: "onExpandClick" }, ngImport: i0, template: "<section\r\n class=\"bmb_home-notification-card\"\r\n [ngStyle]=\"{ '--maxHeight': maxHeight() }\"\r\n>\r\n <bmb-home-card\r\n icon=\"notifications\"\r\n bgIconAppearance=\"red-primary\"\r\n title=\"Mis Notificaciones\"\r\n [isMobile]=\"false\"\r\n (onExpandClick)=\"onExpandClick.emit()\"\r\n >\r\n <div class=\"bmb_home-notification-card-content\">\r\n <bmb-alert-center\r\n [alerts]=\"data()\"\r\n [advertisements]=\"advertisements()\"\r\n [tabsName]=\"tabsConfig\"\r\n [showMobileVersion]=\"true\"\r\n [enableMultipleSelection]=\"false\"\r\n (alertEvent)=\"alertEvent.emit($event)\"\r\n (showAlertDetail)=\"showAlertDetail.emit($event)\"\r\n (closeAlertDetail)=\"closeAlertDetail.emit($event)\"\r\n />\r\n </div>\r\n </bmb-home-card>\r\n</section>\r\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}.bmb_home-notification-card .bmb_home-card-wrapper{max-height:var(--maxHeight);overflow:hidden;display:flex;flex-flow:column}.bmb_home-notification-card .bmb_home-card-wrapper .bmb_home-card-container{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{flex:1;overflow:auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: BmbAlertCenterComponent, selector: "bmb-alert-center", inputs: ["dateFormat", "tabsName", "hideTabs", "enableMultipleSelection", "showMobileVersion", "emptyStateData", "alerts", "advertisements", "selectedTab"], outputs: ["onChangeAlertStatus", "alertEvent", "showAlertDetail", "closeAlertDetail", "navigationBarEvents", "selectedTabChange"] }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
81
|
-
}
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbNotificationCardComponent, decorators: [{
|
|
83
|
-
type: Component,
|
|
84
|
-
args: [{ selector: 'bmb-notification-card', standalone: true, imports: [CommonModule, BmbAlertCenterComponent, BmbHomeCardComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\r\n class=\"bmb_home-notification-card\"\r\n [ngStyle]=\"{ '--maxHeight': maxHeight() }\"\r\n>\r\n <bmb-home-card\r\n icon=\"notifications\"\r\n bgIconAppearance=\"red-primary\"\r\n title=\"Mis Notificaciones\"\r\n [isMobile]=\"false\"\r\n (onExpandClick)=\"onExpandClick.emit()\"\r\n >\r\n <div class=\"bmb_home-notification-card-content\">\r\n <bmb-alert-center\r\n [alerts]=\"data()\"\r\n [advertisements]=\"advertisements()\"\r\n [tabsName]=\"tabsConfig\"\r\n [showMobileVersion]=\"true\"\r\n [enableMultipleSelection]=\"false\"\r\n (alertEvent)=\"alertEvent.emit($event)\"\r\n (showAlertDetail)=\"showAlertDetail.emit($event)\"\r\n (closeAlertDetail)=\"closeAlertDetail.emit($event)\"\r\n />\r\n </div>\r\n </bmb-home-card>\r\n</section>\r\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}.bmb_home-notification-card .bmb_home-card-wrapper{max-height:var(--maxHeight);overflow:hidden;display:flex;flex-flow:column}.bmb_home-notification-card .bmb_home-card-wrapper .bmb_home-card-container{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{flex:1;overflow:auto}\n"] }]
|
|
85
|
-
}] });
|
|
86
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLW5vdGlmaWNhdGlvbi1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItbm90aWZpY2F0aW9uLWNhcmQvYm1iLW5vdGlmaWNhdGlvbi1jYXJkLmNvbXBvbmVudC50c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VZlcnNpb25dPVwidHJ1ZVwiXHJcbiAgICAgICAgW2VuYWJsZU11bHRpcGxlU2VsZWN0aW9uXT1cImZhbHNlXCJcclxuICAgICAgICAoYWxlcnRFdmVudCk9XCJhbGVydEV2ZW50LmVtaXQoJGV2ZW50KVwiXHJcbiAgICAgICAgKHNob3dBbGVydERldGFpbCk9XCJzaG93QWxlcnREZXRhaWwuZW1pdCgkZXZlbnQpXCJcclxuICAgICAgICAoY2xvc2VBbGVydERldGFpbCk9XCJjbG9zZUFsZXJ0RGV0YWlsLmVtaXQoJGV2ZW50KVwiXHJcbiAgICAgIC8+XHJcbiAgICA8L2Rpdj5cclxuICA8L2JtYi1ob21lLWNhcmQ+XHJcbjwvc2VjdGlvbj5cclxuIl19
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, output, input } from '@angular/core';
|
|
3
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
|
4
|
-
import { getUUID } from '../../utils/utils';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class BmbOverlayComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.active = input(false);
|
|
9
|
-
this.onClick = output();
|
|
10
|
-
this.uid = input(getUUID());
|
|
11
|
-
}
|
|
12
|
-
handleClick() {
|
|
13
|
-
this.onClick.emit(this.uid());
|
|
14
|
-
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: BmbOverlayComponent, isStandalone: true, selector: "bmb-overlay", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, uid: { classPropertyName: "uid", publicName: "uid", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClick: "onClick" }, ngImport: i0, template: "@if (active()) {\n <div class=\"bmb_overlay\" (click)=\"handleClick()\"></div>\n}\n", styles: [".bmb_overlay{position:fixed;width:100%;height:100%;inset:0;z-index:90;border-style:none;box-shadow:none;background-color:var(--color-black-min)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: OverlayModule }] }); }
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbOverlayComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{ selector: 'bmb-overlay', standalone: true, imports: [CommonModule, OverlayModule], template: "@if (active()) {\n <div class=\"bmb_overlay\" (click)=\"handleClick()\"></div>\n}\n", styles: [".bmb_overlay{position:fixed;width:100%;height:100%;inset:0;z-index:90;border-style:none;box-shadow:none;background-color:var(--color-black-min)}\n"] }]
|
|
21
|
-
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLW92ZXJsYXkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZHMtbmcvc3JjL2xpYi9jb21wb25lbnRzL2JtYi1vdmVybGF5L2JtYi1vdmVybGF5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItb3ZlcmxheS9ibWItb3ZlcmxheS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFB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XJsYXlNb2R1bGVdLFxyXG4gIHRlbXBsYXRlVXJsOiAnLi9ibWItb3ZlcmxheS5jb21wb25lbnQuaHRtbCcsXHJcbiAgc3R5bGVVcmw6ICcuL2JtYi1vdmVybGF5LmNvbXBvbmVudC5zY3NzJyxcclxufSlcclxuZXhwb3J0IGNsYXNzIEJtYk92ZXJsYXlDb21wb25lbnQge1xyXG4gIGFjdGl2ZSA9IGlucHV0PGJvb2xlYW4+KGZhbHNlKTtcclxuICBvbkNsaWNrID0gb3V0cHV0PHN0cmluZz4oKTtcclxuICB1aWQgPSBpbnB1dDxzdHJpbmc+KGdldFVVSUQoKSk7XHJcblxyXG4gIGhhbmRsZUNsaWNrKCkge1xyXG4gICAgdGhpcy5vbkNsaWNrLmVtaXQodGhpcy51aWQoKSk7XHJcbiAgfVxyXG59XHJcbiIsIkBpZiAoYWN0aXZlKCkpIHtcbiAgPGRpdiBjbGFzcz1cImJtYl9vdmVybGF5XCIgKGNsaWNrKT1cImhhbmRsZUNsaWNrKClcIj48L2Rpdj5cbn1cbiJdfQ==
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy, ViewEncapsulation, } from '@angular/core';
|
|
3
|
-
import { BmbIconComponent } from '../bmb-icon/bmb-icon.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
export class BmbPaginatorComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.totalItems = 0;
|
|
9
|
-
this.itemsPerPage = 5;
|
|
10
|
-
this.currentPage = 1;
|
|
11
|
-
this.pageChange = new EventEmitter();
|
|
12
|
-
}
|
|
13
|
-
get totalPages() {
|
|
14
|
-
return Math.ceil(this.totalItems / this.itemsPerPage);
|
|
15
|
-
}
|
|
16
|
-
onPageChange(page) {
|
|
17
|
-
if (page < 1 || page > this.totalPages)
|
|
18
|
-
return;
|
|
19
|
-
this.currentPage = page;
|
|
20
|
-
this.pageChange.emit(this.currentPage);
|
|
21
|
-
}
|
|
22
|
-
get pages() {
|
|
23
|
-
const pages = [];
|
|
24
|
-
for (let i = 1; i <= this.totalPages; i++) {
|
|
25
|
-
pages.push(i);
|
|
26
|
-
}
|
|
27
|
-
return pages;
|
|
28
|
-
}
|
|
29
|
-
getPaginationText() {
|
|
30
|
-
if (this.totalItems == 0) {
|
|
31
|
-
return `0 de ${this.totalPages || 0}`;
|
|
32
|
-
}
|
|
33
|
-
const startIndex = (this.currentPage - 1) * this.itemsPerPage + 1;
|
|
34
|
-
const endIndex = Math.min(this.currentPage * this.itemsPerPage, this.totalItems);
|
|
35
|
-
return `${startIndex} - ${endIndex} de ${this.totalItems}`;
|
|
36
|
-
}
|
|
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
|
-
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbPaginatorComponent, decorators: [{
|
|
41
|
-
type: Component,
|
|
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
|
-
}], propDecorators: { totalItems: [{
|
|
44
|
-
type: Input
|
|
45
|
-
}], itemsPerPage: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}], currentPage: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}], pageChange: [{
|
|
50
|
-
type: Output
|
|
51
|
-
}] } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm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ncapsulation, } from '@angular/core';
|
|
2
|
-
import { BmbPushNotificationItemComponent } from '../bmb-push-notification/bmb-push-notification-item/bmb-push-notification-item.component';
|
|
3
|
-
import { BmbToastComponent } from '../bmb-toast/bmb-toast.component';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { BmbNoticeCardComponent } from '../bmb-notice-card/bmb-notice-card.component';
|
|
6
|
-
import { BmbNativeModalComponent } from '../bmb-modal/bmb-native-modal.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../../services/notification.service";
|
|
9
|
-
import * as i2 from "../../services/native-modal.service";
|
|
10
|
-
import * as i3 from "@angular/common";
|
|
11
|
-
export class BmbPortalComponent {
|
|
12
|
-
constructor(notificationSignal, modalService) {
|
|
13
|
-
this.notificationSignal = notificationSignal;
|
|
14
|
-
this.modalService = modalService;
|
|
15
|
-
this.modalSignal = computed(() => this.modalService.getModalList());
|
|
16
|
-
}
|
|
17
|
-
getNotifications() {
|
|
18
|
-
return this.notificationSignal.getNotificationList();
|
|
19
|
-
}
|
|
20
|
-
closeNotification(notification) {
|
|
21
|
-
if (notification.id) {
|
|
22
|
-
this.notificationSignal.deleteNotification(notification.id);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
getNotificationPosition() {
|
|
26
|
-
return this.notificationSignal.positionX;
|
|
27
|
-
}
|
|
28
|
-
// getModals() {
|
|
29
|
-
// return this.modalService.getModalList();
|
|
30
|
-
// }
|
|
31
|
-
handleCloseModal(id) {
|
|
32
|
-
this.modalService.closeModal(id);
|
|
33
|
-
}
|
|
34
|
-
handleModalClick(item, event) {
|
|
35
|
-
if (item.closeModalClicked) {
|
|
36
|
-
item.closeModalClicked({ item, event });
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbPortalComponent, deps: [{ token: i1.BmbNotificationService }, { token: i2.BmbNativeModalService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
40
|
-
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\">\r\n <div class=\"bmb_portal-top-left\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"commonTemplate\"\r\n [ngTemplateOutletContext]=\"{\r\n notifications: getNotifications(),\r\n position: 'top-left',\r\n }\"\r\n />\r\n </div>\r\n <div class=\"bmb_portal-top-center\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"commonTemplate\"\r\n [ngTemplateOutletContext]=\"{\r\n notifications: getNotifications(),\r\n position: 'top-center',\r\n }\"\r\n />\r\n </div>\r\n <div class=\"bmb_portal-top-right\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"commonTemplate\"\r\n [ngTemplateOutletContext]=\"{\r\n notifications: getNotifications(),\r\n position: 'top-right',\r\n }\"\r\n />\r\n </div>\r\n <div class=\"bmb_portal-bottom-left\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"commonTemplate\"\r\n [ngTemplateOutletContext]=\"{\r\n notifications: getNotifications(),\r\n position: 'bottom-left',\r\n }\"\r\n />\r\n </div>\r\n <div class=\"bmb_portal-bottom-center\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"commonTemplate\"\r\n [ngTemplateOutletContext]=\"{\r\n notifications: getNotifications(),\r\n position: 'bottom-center',\r\n }\"\r\n />\r\n </div>\r\n <div class=\"bmb_portal-bottom-right\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"commonTemplate\"\r\n [ngTemplateOutletContext]=\"{\r\n notifications: getNotifications(),\r\n position: 'bottom-right',\r\n }\"\r\n />\r\n </div>\r\n</section>\r\n\r\n@for (item of modalSignal(); track $index) {\r\n <bmb-native-modal\r\n [title]=\"item.title || ''\"\r\n [content]=\"item.content || ''\"\r\n [modalId]=\"item.modalId || ''\"\r\n [subtitle]=\"item.subtitle || ''\"\r\n [size]=\"item.size || 'medium'\"\r\n [iconStyle]=\"item.iconStyle\"\r\n [actions]=\"item.actions || []\"\r\n (closeModalClicked)=\"handleModalClick(item, $event)\"\r\n />\r\n}\r\n\r\n<ng-template\r\n #commonTemplate\r\n let-notifications=\"notifications\"\r\n let-position=\"position\"\r\n>\r\n @for (notification of notifications; track $index) {\r\n @if (notification.position === position) {\r\n @if (notification.component === \"toast\") {\r\n <bmb-toast\r\n [title]=\"notification.title\"\r\n [description]=\"notification.content\"\r\n [appearance]=\"notification.appearance || 'neutral'\"\r\n [isClosable]=\"true\"\r\n [id]=\"notification.id || $index\"\r\n (onClose)=\"closeNotification(notification)\"\r\n />\r\n } @else if (notification.component === \"notice-card\") {\r\n <bmb-notice-card\r\n [src]=\"notification.media\"\r\n [title]=\"notification.title\"\r\n [description]=\"notification.content\"\r\n [buttonText]=\"notification.buttonText\"\r\n [link]=\"notification.link\"\r\n (onClose)=\"closeNotification(notification)\"\r\n />\r\n } @else {\r\n <bmb-push-notification-item\r\n [notification]=\"notification\"\r\n (onClose)=\"closeNotification(notification)\"\r\n />\r\n }\r\n }\r\n }\r\n</ng-template>\r\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: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: BmbNativeModalComponent, selector: "bmb-native-modal", inputs: ["title", "subtitle", "content", "actions", "alertIcon", "modalId", "size", "iconStyle", "autoFocus", "disableClose", "hasBackdrop"], outputs: ["actionsClicked", "closeModalClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
41
|
-
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BmbPortalComponent, decorators: [{
|
|
43
|
-
type: Component,
|
|
44
|
-
args: [{ selector: 'bmb-portal', standalone: true, imports: [
|
|
45
|
-
BmbPushNotificationItemComponent,
|
|
46
|
-
BmbToastComponent,
|
|
47
|
-
BmbNoticeCardComponent,
|
|
48
|
-
CommonModule,
|
|
49
|
-
BmbNativeModalComponent,
|
|
50
|
-
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"bmb_portal\">\r\n <div class=\"bmb_portal-top-left\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"commonTemplate\"\r\n [ngTemplateOutletContext]=\"{\r\n notifications: getNotifications(),\r\n position: 'top-left',\r\n }\"\r\n />\r\n </div>\r\n <div class=\"bmb_portal-top-center\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"commonTemplate\"\r\n [ngTemplateOutletContext]=\"{\r\n notifications: getNotifications(),\r\n position: 'top-center',\r\n }\"\r\n />\r\n </div>\r\n <div class=\"bmb_portal-top-right\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"commonTemplate\"\r\n [ngTemplateOutletContext]=\"{\r\n notifications: getNotifications(),\r\n position: 'top-right',\r\n }\"\r\n />\r\n </div>\r\n <div class=\"bmb_portal-bottom-left\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"commonTemplate\"\r\n [ngTemplateOutletContext]=\"{\r\n notifications: getNotifications(),\r\n position: 'bottom-left',\r\n }\"\r\n />\r\n </div>\r\n <div class=\"bmb_portal-bottom-center\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"commonTemplate\"\r\n [ngTemplateOutletContext]=\"{\r\n notifications: getNotifications(),\r\n position: 'bottom-center',\r\n }\"\r\n />\r\n </div>\r\n <div class=\"bmb_portal-bottom-right\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"commonTemplate\"\r\n [ngTemplateOutletContext]=\"{\r\n notifications: getNotifications(),\r\n position: 'bottom-right',\r\n }\"\r\n />\r\n </div>\r\n</section>\r\n\r\n@for (item of modalSignal(); track $index) {\r\n <bmb-native-modal\r\n [title]=\"item.title || ''\"\r\n [content]=\"item.content || ''\"\r\n [modalId]=\"item.modalId || ''\"\r\n [subtitle]=\"item.subtitle || ''\"\r\n [size]=\"item.size || 'medium'\"\r\n [iconStyle]=\"item.iconStyle\"\r\n [actions]=\"item.actions || []\"\r\n (closeModalClicked)=\"handleModalClick(item, $event)\"\r\n />\r\n}\r\n\r\n<ng-template\r\n #commonTemplate\r\n let-notifications=\"notifications\"\r\n let-position=\"position\"\r\n>\r\n @for (notification of notifications; track $index) {\r\n @if (notification.position === position) {\r\n @if (notification.component === \"toast\") {\r\n <bmb-toast\r\n [title]=\"notification.title\"\r\n [description]=\"notification.content\"\r\n [appearance]=\"notification.appearance || 'neutral'\"\r\n [isClosable]=\"true\"\r\n [id]=\"notification.id || $index\"\r\n (onClose)=\"closeNotification(notification)\"\r\n />\r\n } @else if (notification.component === \"notice-card\") {\r\n <bmb-notice-card\r\n [src]=\"notification.media\"\r\n [title]=\"notification.title\"\r\n [description]=\"notification.content\"\r\n [buttonText]=\"notification.buttonText\"\r\n [link]=\"notification.link\"\r\n (onClose)=\"closeNotification(notification)\"\r\n />\r\n } @else {\r\n <bmb-push-notification-item\r\n [notification]=\"notification\"\r\n (onClose)=\"closeNotification(notification)\"\r\n />\r\n }\r\n }\r\n }\r\n</ng-template>\r\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"] }]
|
|
51
|
-
}], ctorParameters: () => [{ type: i1.BmbNotificationService }, { type: i2.BmbNativeModalService }] });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLXBvcnRhbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kcy1uZy9zcmMvbGliL2NvbXBvbmVudHMvYm1iLXBvcnRhbC9ibWItcG9ydGFsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItcG9ydGFsL2JtYi1wb3J0YWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsUUFBUSxFQUdSLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUd2QixPQUFPLEVBQUUsZ0NBQWdDLEVBQUUsTUFBTSwwRkFBMEYsQ0FBQztBQUM1SSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUNyRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sOENBQThDLENBQUM7QUFFdEYsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0seUNBQXlDLENBQUM7Ozs7O0FBa0JsRixNQUFNLE9BQU8sa0JBQWtCO0lBQzdCLFlBQ1Usa0JBQTBDLEVBQzFDLFlBQW1DO1FBRG5DLHVCQUFrQixHQUFsQixrQkFBa0IsQ0FBd0I7UUFDMUMsaUJBQVksR0FBWixZQUFZLENBQXVCO1FBRzdDLGdCQUFXLEdBQUcsUUFBUSxDQUFDLEdBQUcsRUFBRSxDQUFDLElBQUksQ0FBQyxZQU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lIHx8ICduZXV0cmFsJ1wiXHJcbiAgICAgICAgICBbaXNDbG9zYWJsZV09XCJ0cnVlXCJcclxuICAgICAgICAgIFtpZF09XCJub3RpZmljYXRpb24uaWQgfHwgJGluZGV4XCJcclxuICAgICAgICAgIChvbkNsb3NlKT1cImNsb3NlTm90aWZpY2F0aW9uKG5vdGlmaWNhdGlvbilcIlxyXG4gICAgICAgIC8+XHJcbiAgICAgIH0gQGVsc2UgaWYgKG5vdGlmaWNhdGlvbi5jb21wb25lbnQgPT09IFwibm90aWNlLWNhcmRcIikge1xyXG4gICAgICAgIDxibWItbm90aWNlLWNhcmRcclxuICAgICAgICAgIFtzcmNdPVwibm90aWZpY2F0aW9uLm1lZGlhXCJcclxuICAgICAgICAgIFt0aXRsZV09XCJub3RpZmljYXRpb24udGl0bGVcIlxyXG4gICAgICAgICAgW2Rlc2NyaXB0aW9uXT1cIm5vdGlmaWNhdGlvbi5jb250ZW50XCJcclxuICAgICAgICAgIFtidXR0b25UZXh0XT1cIm5vdGlmaWNhdGlvbi5idXR0b25UZXh0XCJcclxuICAgICAgICAgIFtsaW5rXT1cIm5vdGlmaWNhdGlvbi5saW5rXCJcclxuICAgICAgICAgIChvbkNsb3NlKT1cImNsb3NlTm90aWZpY2F0aW9uKG5vdGlmaWNhdGlvbilcIlxyXG4gICAgICAgIC8+XHJcbiAgICAgIH0gQGVsc2Uge1xyXG4gICAgICAgIDxibWItcHVzaC1ub3RpZmljYXRpb24taXRlbVxyXG4gICAgICAgICAgW25vdGlmaWNhdGlvbl09XCJub3RpZmljYXRpb25cIlxyXG4gICAgICAgICAgKG9uQ2xvc2UpPVwiY2xvc2VOb3RpZmljYXRpb24obm90aWZpY2F0aW9uKVwiXHJcbiAgICAgICAgLz5cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|